re PR rtl-optimization/35838 (FAIL: 22_locale/num_get/get/char/16.cc execution test...
[official-gcc.git] / libstdc++-v3 / configure
blobb7d74dc3f9e18e4df3cbda58977a6a9444a28e1f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS 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_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1542 ac_config_headers="$ac_config_headers config.h"
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported. Only used at the end of this file.
1549 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:11:0
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559 enableval="$enable_multilib"
1560 case "$enableval" in
1561 yes) multilib=yes ;;
1562 no) multilib=no ;;
1563 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565 { (exit 1); exit 1; }; } ;;
1566 esac
1567 else
1568 multilib=yes
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1575 if test "$srcdir" = "."; then
1576 if test "$with_target_subdir" != "."; then
1577 multi_basedir="$srcdir/$with_multisrctop../.."
1578 else
1579 multi_basedir="$srcdir/$with_multisrctop.."
1581 else
1582 multi_basedir="$srcdir/.."
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589 && test "x${with_multisubdir}" != x ; then
1590 cross_compiling=maybe
1593 ac_config_commands="$ac_config_commands default-1"
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1598 # You will slowly go insane if you do not grok the following fact: when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/. configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf. Therefore, 'target' and
1602 # 'host' will always be the same. This makes sense both for native and
1603 # cross compilers, just think about it for a little while. :-)
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1608 # Do not delete or change the following two lines. For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612 if test -f $ac_dir/install-sh; then
1613 ac_aux_dir=$ac_dir
1614 ac_install_sh="$ac_aux_dir/install-sh -c"
1615 break
1616 elif test -f $ac_dir/install.sh; then
1617 ac_aux_dir=$ac_dir
1618 ac_install_sh="$ac_aux_dir/install.sh -c"
1619 break
1620 elif test -f $ac_dir/shtool; then
1621 ac_aux_dir=$ac_dir
1622 ac_install_sh="$ac_aux_dir/shtool install -c"
1623 break
1625 done
1626 if test -z "$ac_aux_dir"; then
1627 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629 { (exit 1); exit 1; }; }
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646 ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648 ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652 { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672 ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674 ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694 ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696 ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714 test "$program_prefix$program_suffix$program_transform_name" = \
1715 NONENONEs,x,x, &&
1716 program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1722 if test "$build" != "$host"; then
1723 # We are being configured with some form of cross compiler.
1724 GLIBCXX_IS_NATIVE=false
1725 case "$host","$target" in
1726 # Darwin crosses can use the host system's libraries and headers,
1727 # because of the fat library support. Of course, it must be the
1728 # same version of Darwin on both sides. Allow the user to
1729 # just say --target=foo-darwin without a version number to mean
1730 # "the version on this system".
1731 *-*-darwin*,*-*-darwin*)
1732 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734 if test $hostos = $targetos -o $targetos = darwin ; then
1735 GLIBCXX_IS_NATIVE=true
1742 esac
1743 else
1744 GLIBCXX_IS_NATIVE=true
1747 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 # 1.x: minimum required version
1750 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 # of other PACKAGE_* variables will, however, and there's nothing
1752 # we can do about that; they come from AC_INIT).
1753 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1754 # file in the top srcdir, etc, etc), so stop complaining.
1755 # no-dependencies: turns off auto dependency generation (just for now)
1756 # -Wall: turns on all automake warnings...
1757 # -Wno-portability: ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 # Reject install programs that cannot install multiple files.
1773 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1774 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1775 if test -z "$INSTALL"; then
1776 if test "${ac_cv_path_install+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 for as_dir in $PATH
1782 IFS=$as_save_IFS
1783 test -z "$as_dir" && as_dir=.
1784 # Account for people who put trailing slashes in PATH elements.
1785 case $as_dir/ in
1786 ./ | .// | /cC/* | \
1787 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1788 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1789 /usr/ucb/* ) ;;
1791 # OSF1 and SCO ODT 3.0 have their own names for install.
1792 # Don't use installbsd from OSF since it installs stuff as root
1793 # by default.
1794 for ac_prog in ginstall scoinst install; do
1795 for ac_exec_ext in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1797 if test $ac_prog = install &&
1798 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1799 # AIX install. It has an incompatible calling convention.
1801 elif test $ac_prog = install &&
1802 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1803 # program-specific install script used by HP pwplus--don't use.
1805 else
1806 rm -rf conftest.one conftest.two conftest.dir
1807 echo one > conftest.one
1808 echo two > conftest.two
1809 mkdir conftest.dir
1810 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1811 test -s conftest.one && test -s conftest.two &&
1812 test -s conftest.dir/conftest.one &&
1813 test -s conftest.dir/conftest.two
1814 then
1815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1816 break 3
1820 done
1821 done
1823 esac
1824 done
1826 rm -rf conftest.one conftest.two conftest.dir
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1831 else
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1850 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1852 # Just in case
1853 sleep 1
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1859 # directory).
1860 if (
1861 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1863 # -L didn't work.
1864 set X `ls -t $srcdir/configure conftest.file`
1866 rm -f conftest.file
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1881 test "$2" = conftest.file
1883 then
1884 # Ok.
1886 else
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1893 echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6
1895 test "$program_prefix" != NONE &&
1896 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE &&
1899 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF >conftest.sed
1903 s/[\\$]/&&/g;s/;s,x,x,$//
1904 _ACEOF
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906 rm conftest.sed
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run="$MISSING --run "
1915 else
1916 am_missing_run=
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1922 # We used to keeping the `.' as first argument, in order to
1923 # allow $(mkdir_p) to be used without argument. As in
1924 # $(mkdir_p) $(somedir)
1925 # where $(somedir) is conditionally defined. However this is wrong
1926 # for two reasons:
1927 # 1. if the package is installed by a user who cannot write `.'
1928 # make install will fail,
1929 # 2. the above comment should most certainly read
1930 # $(mkdir_p) $(DESTDIR)$(somedir)
1931 # so it does not work when $(somedir) is undefined and
1932 # $(DESTDIR) is not.
1933 # To support the latter case, we have to write
1934 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1935 # so the `.' trick is pointless.
1936 mkdir_p='mkdir -p --'
1937 else
1938 # On NextStep and OpenStep, the `mkdir' command does not
1939 # recognize any option. It will interpret all options as
1940 # directories to create, and then abort because `.' already
1941 # exists.
1942 for d in ./-p ./--version;
1944 test -d $d && rmdir $d
1945 done
1946 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1947 if test -f "$ac_aux_dir/mkinstalldirs"; then
1948 mkdir_p='$(mkinstalldirs)'
1949 else
1950 mkdir_p='$(install_sh) -d'
1954 for ac_prog in gawk mawk nawk awk
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_AWK+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 else
1963 if test -n "$AWK"; then
1964 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1965 else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_AWK="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 break 2
1977 done
1978 done
1982 AWK=$ac_cv_prog_AWK
1983 if test -n "$AWK"; then
1984 echo "$as_me:$LINENO: result: $AWK" >&5
1985 echo "${ECHO_T}$AWK" >&6
1986 else
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1991 test -n "$AWK" && break
1992 done
1994 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1996 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1997 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 cat >conftest.make <<\_ACEOF
2001 all:
2002 @echo 'ac_maketemp="$(MAKE)"'
2003 _ACEOF
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2006 if test -n "$ac_maketemp"; then
2007 eval ac_cv_prog_make_${ac_make}_set=yes
2008 else
2009 eval ac_cv_prog_make_${ac_make}_set=no
2011 rm -f conftest.make
2013 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2014 echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6
2016 SET_MAKE=
2017 else
2018 echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2020 SET_MAKE="MAKE=${MAKE-make}"
2023 rm -rf .tst 2>/dev/null
2024 mkdir .tst 2>/dev/null
2025 if test -d .tst; then
2026 am__leading_dot=.
2027 else
2028 am__leading_dot=_
2030 rmdir .tst 2>/dev/null
2032 # test to see if srcdir already configured
2033 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2034 test -f $srcdir/config.status; then
2035 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2036 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2037 { (exit 1); exit 1; }; }
2040 # test whether we have cygpath
2041 if test -z "$CYGPATH_W"; then
2042 if (cygpath --version) >/dev/null 2>/dev/null; then
2043 CYGPATH_W='cygpath -w'
2044 else
2045 CYGPATH_W=echo
2050 # Define the identity of the package.
2051 PACKAGE='libstdc++'
2052 VERSION='version-unused'
2055 # Some tools Automake needs.
2057 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2066 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2069 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2071 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'. However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086 if test -n "$STRIP"; then
2087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2092 IFS=$as_save_IFS
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 break 2
2100 done
2101 done
2105 STRIP=$ac_cv_prog_STRIP
2106 if test -n "$STRIP"; then
2107 echo "$as_me:$LINENO: result: $STRIP" >&5
2108 echo "${ECHO_T}$STRIP" >&6
2109 else
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2115 if test -z "$ac_cv_prog_STRIP"; then
2116 ac_ct_STRIP=$STRIP
2117 # Extract the first word of "strip", so it can be a program name with args.
2118 set dummy strip; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124 if test -n "$ac_ct_STRIP"; then
2125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_ac_ct_STRIP="strip"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 break 2
2138 done
2139 done
2141 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2145 if test -n "$ac_ct_STRIP"; then
2146 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2147 echo "${ECHO_T}$ac_ct_STRIP" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2153 STRIP=$ac_ct_STRIP
2154 else
2155 STRIP="$ac_cv_prog_STRIP"
2159 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2161 # We need awk for the "check" target. The system "awk" is bad on
2162 # some platforms.
2163 # Always define AMTAR for backward compatibility.
2165 AMTAR=${AMTAR-"${am_missing_run}tar"}
2167 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2178 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2179 # up critical shell variables.
2181 ac_ext=c
2182 ac_cpp='$CPP $CPPFLAGS'
2183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2187 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2188 # On Suns, sometimes $CPP names a directory.
2189 if test -n "$CPP" && test -d "$CPP"; then
2190 CPP=
2192 if test -z "$CPP"; then
2193 if test "${ac_cv_prog_CPP+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196 # Double quotes because CPP needs to be expanded
2197 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2199 ac_preproc_ok=false
2200 for ac_c_preproc_warn_flag in '' yes
2202 # Use a header file that comes with gcc, so configuring glibc
2203 # with a fresh cross-compiler works.
2204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2205 # <limits.h> exists even on freestanding compilers.
2206 # On the NeXT, cc -E runs the code through the compiler's parser,
2207 # not just through cpp. "Syntax error" is here to catch this case.
2208 cat >conftest.$ac_ext <<_ACEOF
2209 /* confdefs.h. */
2210 _ACEOF
2211 cat confdefs.h >>conftest.$ac_ext
2212 cat >>conftest.$ac_ext <<_ACEOF
2213 /* end confdefs.h. */
2214 #ifdef __STDC__
2215 # include <limits.h>
2216 #else
2217 # include <assert.h>
2218 #endif
2219 Syntax error
2220 _ACEOF
2221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2223 ac_status=$?
2224 grep -v '^ *+' conftest.er1 >conftest.err
2225 rm -f conftest.er1
2226 cat conftest.err >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } >/dev/null; then
2229 if test -s conftest.err; then
2230 ac_cpp_err=$ac_c_preproc_warn_flag
2231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2232 else
2233 ac_cpp_err=
2235 else
2236 ac_cpp_err=yes
2238 if test -z "$ac_cpp_err"; then
2240 else
2241 echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 # Broken: fails on valid input.
2245 continue
2247 rm -f conftest.err conftest.$ac_ext
2249 # OK, works on sane cases. Now check whether non-existent headers
2250 # can be detected and how.
2251 cat >conftest.$ac_ext <<_ACEOF
2252 /* confdefs.h. */
2253 _ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2257 #include <ac_nonexistent.h>
2258 _ACEOF
2259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2261 ac_status=$?
2262 grep -v '^ *+' conftest.er1 >conftest.err
2263 rm -f conftest.er1
2264 cat conftest.err >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); } >/dev/null; then
2267 if test -s conftest.err; then
2268 ac_cpp_err=$ac_c_preproc_warn_flag
2269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2270 else
2271 ac_cpp_err=
2273 else
2274 ac_cpp_err=yes
2276 if test -z "$ac_cpp_err"; then
2277 # Broken: success on invalid input.
2278 continue
2279 else
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2283 # Passes both tests.
2284 ac_preproc_ok=:
2285 break
2287 rm -f conftest.err conftest.$ac_ext
2289 done
2290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2291 rm -f conftest.err conftest.$ac_ext
2292 if $ac_preproc_ok; then
2293 break
2296 done
2297 ac_cv_prog_CPP=$CPP
2300 CPP=$ac_cv_prog_CPP
2301 else
2302 ac_cv_prog_CPP=$CPP
2304 echo "$as_me:$LINENO: result: $CPP" >&5
2305 echo "${ECHO_T}$CPP" >&6
2306 ac_preproc_ok=false
2307 for ac_c_preproc_warn_flag in '' yes
2309 # Use a header file that comes with gcc, so configuring glibc
2310 # with a fresh cross-compiler works.
2311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2312 # <limits.h> exists even on freestanding compilers.
2313 # On the NeXT, cc -E runs the code through the compiler's parser,
2314 # not just through cpp. "Syntax error" is here to catch this case.
2315 cat >conftest.$ac_ext <<_ACEOF
2316 /* confdefs.h. */
2317 _ACEOF
2318 cat confdefs.h >>conftest.$ac_ext
2319 cat >>conftest.$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2321 #ifdef __STDC__
2322 # include <limits.h>
2323 #else
2324 # include <assert.h>
2325 #endif
2326 Syntax error
2327 _ACEOF
2328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2330 ac_status=$?
2331 grep -v '^ *+' conftest.er1 >conftest.err
2332 rm -f conftest.er1
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } >/dev/null; then
2336 if test -s conftest.err; then
2337 ac_cpp_err=$ac_c_preproc_warn_flag
2338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2339 else
2340 ac_cpp_err=
2342 else
2343 ac_cpp_err=yes
2345 if test -z "$ac_cpp_err"; then
2347 else
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2351 # Broken: fails on valid input.
2352 continue
2354 rm -f conftest.err conftest.$ac_ext
2356 # OK, works on sane cases. Now check whether non-existent headers
2357 # can be detected and how.
2358 cat >conftest.$ac_ext <<_ACEOF
2359 /* confdefs.h. */
2360 _ACEOF
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h. */
2364 #include <ac_nonexistent.h>
2365 _ACEOF
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2368 ac_status=$?
2369 grep -v '^ *+' conftest.er1 >conftest.err
2370 rm -f conftest.er1
2371 cat conftest.err >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } >/dev/null; then
2374 if test -s conftest.err; then
2375 ac_cpp_err=$ac_c_preproc_warn_flag
2376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2377 else
2378 ac_cpp_err=
2380 else
2381 ac_cpp_err=yes
2383 if test -z "$ac_cpp_err"; then
2384 # Broken: success on invalid input.
2385 continue
2386 else
2387 echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 # Passes both tests.
2391 ac_preproc_ok=:
2392 break
2394 rm -f conftest.err conftest.$ac_ext
2396 done
2397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2398 rm -f conftest.err conftest.$ac_ext
2399 if $ac_preproc_ok; then
2401 else
2402 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2405 See \`config.log' for more details." >&2;}
2406 { (exit 1); exit 1; }; }
2409 ac_ext=c
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416 echo "$as_me:$LINENO: checking for egrep" >&5
2417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2418 if test "${ac_cv_prog_egrep+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2422 then ac_cv_prog_egrep='grep -E'
2423 else ac_cv_prog_egrep='egrep'
2426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2428 EGREP=$ac_cv_prog_egrep
2432 # Keep these sync'd with the list in Makefile.am. The first provides an
2433 # expandable list at autoconf time; the second provides an expandable list
2434 # (i.e., shell variable) at configure time.
2436 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2438 # These need to be absolute paths, yet at the same time need to
2439 # canonicalize only relative paths, because then amd will not unmount
2440 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2441 glibcxx_builddir=`${PWDCMD-pwd}`
2442 case $srcdir in
2443 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2444 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2445 esac
2446 toplevel_srcdir=${glibcxx_srcdir}/..
2451 # We use these options to decide which functions to include. They are
2452 # set from the top level.
2454 # Check whether --with-target-subdir or --without-target-subdir was given.
2455 if test "${with_target_subdir+set}" = set; then
2456 withval="$with_target_subdir"
2461 # Check whether --with-cross-host or --without-cross-host was given.
2462 if test "${with_cross_host+set}" = set; then
2463 withval="$with_cross_host"
2468 # Check whether --with-newlib or --without-newlib was given.
2469 if test "${with_newlib+set}" = set; then
2470 withval="$with_newlib"
2474 # We're almost certainly being configured before anything else which uses
2475 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2476 # we not cache the value of CXX that we "discover" here, because it's set
2477 # to something unique for us and libjava. Other target libraries need to
2478 # find CXX for themselves. We yank the rug out from under the normal AC_*
2479 # process by sneakily renaming the cache variable. This also lets us debug
2480 # the value of "our" CXX in postmortems.
2482 # We must also force CXX to /not/ be a precious variable, otherwise the
2483 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2484 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2485 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2486 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2488 # -fno-builtin must be present here so that a non-conflicting form of
2489 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2494 save_CXXFLAGS="$CXXFLAGS"
2495 CXXFLAGS="$CXXFLAGS -fno-builtin"
2496 ac_ext=c
2497 ac_cpp='$CPP $CPPFLAGS'
2498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2501 if test -n "$ac_tool_prefix"; then
2502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2504 echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC="$CC" # Let the user override the test.
2511 else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2515 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 break 2
2523 done
2524 done
2528 CC=$ac_cv_prog_CC
2529 if test -n "$CC"; then
2530 echo "$as_me:$LINENO: result: $CC" >&5
2531 echo "${ECHO_T}$CC" >&6
2532 else
2533 echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2538 if test -z "$ac_cv_prog_CC"; then
2539 ac_ct_CC=$CC
2540 # Extract the first word of "gcc", so it can be a program name with args.
2541 set dummy gcc; ac_word=$2
2542 echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 if test -n "$ac_ct_CC"; then
2548 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2553 IFS=$as_save_IFS
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 ac_cv_prog_ac_ct_CC="gcc"
2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2561 done
2562 done
2566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2567 if test -n "$ac_ct_CC"; then
2568 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2569 echo "${ECHO_T}$ac_ct_CC" >&6
2570 else
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2575 CC=$ac_ct_CC
2576 else
2577 CC="$ac_cv_prog_CC"
2580 if test -z "$CC"; then
2581 if test -n "$ac_tool_prefix"; then
2582 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2583 set dummy ${ac_tool_prefix}cc; ac_word=$2
2584 echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2586 if test "${ac_cv_prog_CC+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589 if test -n "$CC"; then
2590 ac_cv_prog_CC="$CC" # Let the user override the test.
2591 else
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599 ac_cv_prog_CC="${ac_tool_prefix}cc"
2600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 break 2
2603 done
2604 done
2608 CC=$ac_cv_prog_CC
2609 if test -n "$CC"; then
2610 echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6
2612 else
2613 echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2618 if test -z "$ac_cv_prog_CC"; then
2619 ac_ct_CC=$CC
2620 # Extract the first word of "cc", so it can be a program name with args.
2621 set dummy cc; ac_word=$2
2622 echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 else
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2629 else
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH
2633 IFS=$as_save_IFS
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 ac_cv_prog_ac_ct_CC="cc"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2641 done
2642 done
2646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2647 if test -n "$ac_ct_CC"; then
2648 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2649 echo "${ECHO_T}$ac_ct_CC" >&6
2650 else
2651 echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2655 CC=$ac_ct_CC
2656 else
2657 CC="$ac_cv_prog_CC"
2661 if test -z "$CC"; then
2662 # Extract the first word of "cc", so it can be a program name with args.
2663 set dummy cc; ac_word=$2
2664 echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 else
2672 ac_prog_rejected=no
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 for as_dir in $PATH
2676 IFS=$as_save_IFS
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2681 ac_prog_rejected=yes
2682 continue
2684 ac_cv_prog_CC="cc"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 break 2
2688 done
2689 done
2691 if test $ac_prog_rejected = yes; then
2692 # We found a bogon in the path, so make sure we never use it.
2693 set dummy $ac_cv_prog_CC
2694 shift
2695 if test $# != 0; then
2696 # We chose a different compiler from the bogus one.
2697 # However, it has the same basename, so the bogon will be chosen
2698 # first if we set CC to just the basename; use the full file name.
2699 shift
2700 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705 CC=$ac_cv_prog_CC
2706 if test -n "$CC"; then
2707 echo "$as_me:$LINENO: result: $CC" >&5
2708 echo "${ECHO_T}$CC" >&6
2709 else
2710 echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog in cl
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 else
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2732 IFS=$as_save_IFS
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 break 2
2740 done
2741 done
2745 CC=$ac_cv_prog_CC
2746 if test -n "$CC"; then
2747 echo "$as_me:$LINENO: result: $CC" >&5
2748 echo "${ECHO_T}$CC" >&6
2749 else
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2754 test -n "$CC" && break
2755 done
2757 if test -z "$CC"; then
2758 ac_ct_CC=$CC
2759 for ac_prog in cl
2761 # Extract the first word of "$ac_prog", so it can be a program name with args.
2762 set dummy $ac_prog; ac_word=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 else
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2774 IFS=$as_save_IFS
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_CC="$ac_prog"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 break 2
2782 done
2783 done
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2790 echo "${ECHO_T}$ac_ct_CC" >&6
2791 else
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2796 test -n "$ac_ct_CC" && break
2797 done
2799 CC=$ac_ct_CC
2805 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: no acceptable C compiler found in \$PATH
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2811 # Provide some information about the compiler.
2812 echo "$as_me:$LINENO:" \
2813 "checking for C compiler version" >&5
2814 ac_compiler=`set X $ac_compile; echo $2`
2815 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2816 (eval $ac_compiler --version </dev/null >&5) 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }
2820 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2821 (eval $ac_compiler -v </dev/null >&5) 2>&5
2822 ac_status=$?
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }
2825 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2826 (eval $ac_compiler -V </dev/null >&5) 2>&5
2827 ac_status=$?
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 # FIXME: Cleanup?
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848 (eval $ac_link) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 gcc_no_link=no
2853 else
2854 gcc_no_link=yes
2857 if test x$gcc_no_link = xyes; then
2858 # Setting cross_compile will disable run tests; it will
2859 # also disable AC_CHECK_FILE but that's generally
2860 # correct if we can't link.
2861 cross_compiling=yes
2862 EXEEXT=
2863 else
2864 cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2872 main ()
2876 return 0;
2878 _ACEOF
2879 ac_clean_files_save=$ac_clean_files
2880 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2881 # Try to create an executable without -o first, disregard a.out.
2882 # It will help us diagnose broken compilers, and finding out an intuition
2883 # of exeext.
2884 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2886 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2888 (eval $ac_link_default) 2>&5
2889 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; then
2892 # Find the output, starting from the most likely. This scheme is
2893 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2894 # resort.
2896 # Be careful to initialize this variable, since it used to be cached.
2897 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2898 ac_cv_exeext=
2899 # b.out is created by i960 compilers.
2900 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2902 test -f "$ac_file" || continue
2903 case $ac_file in
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2906 conftest.$ac_ext )
2907 # This is the source file.
2909 [ab].out )
2910 # We found the default executable, but exeext='' is most
2911 # certainly right.
2912 break;;
2913 *.* )
2914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2915 # FIXME: I believe we export ac_cv_exeext for Libtool,
2916 # but it would be cool to find out if it's true. Does anybody
2917 # maintain Libtool? --akim.
2918 export ac_cv_exeext
2919 break;;
2921 break;;
2922 esac
2923 done
2924 else
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2928 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2929 See \`config.log' for more details." >&5
2930 echo "$as_me: error: C compiler cannot create executables
2931 See \`config.log' for more details." >&2;}
2932 { (exit 77); exit 77; }; }
2935 ac_exeext=$ac_cv_exeext
2936 echo "$as_me:$LINENO: result: $ac_file" >&5
2937 echo "${ECHO_T}$ac_file" >&6
2939 # Check the compiler produces executables we can run. If not, either
2940 # the compiler is broken, or we cross compile.
2941 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2942 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2943 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2944 # If not cross compiling, check that we can run a simple program.
2945 if test "$cross_compiling" != yes; then
2946 if { ac_try='./$ac_file'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 (eval $ac_try) 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2952 cross_compiling=no
2953 else
2954 if test "$cross_compiling" = maybe; then
2955 cross_compiling=yes
2956 else
2957 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2958 If you meant to cross compile, use \`--host'.
2959 See \`config.log' for more details." >&5
2960 echo "$as_me: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2970 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2971 ac_clean_files=$ac_clean_files_save
2972 # Check the compiler produces executables we can run. If not, either
2973 # the compiler is broken, or we cross compile.
2974 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2975 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2976 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2977 echo "${ECHO_T}$cross_compiling" >&6
2979 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2980 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2982 (eval $ac_link) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; then
2986 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2987 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2988 # work properly (i.e., refer to `conftest.exe'), while it won't with
2989 # `rm'.
2990 for ac_file in conftest.exe conftest conftest.*; do
2991 test -f "$ac_file" || continue
2992 case $ac_file in
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2994 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2995 export ac_cv_exeext
2996 break;;
2997 * ) break;;
2998 esac
2999 done
3000 else
3001 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3002 See \`config.log' for more details." >&5
3003 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." >&2;}
3005 { (exit 1); exit 1; }; }
3008 rm -f conftest$ac_cv_exeext
3009 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3010 echo "${ECHO_T}$ac_cv_exeext" >&6
3012 rm -f conftest.$ac_ext
3013 EXEEXT=$ac_cv_exeext
3014 ac_exeext=$EXEEXT
3016 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3017 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3018 if test "${ac_cv_objext+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 cat >conftest.$ac_ext <<_ACEOF
3022 /* confdefs.h. */
3023 _ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3029 main ()
3033 return 0;
3035 _ACEOF
3036 rm -f conftest.o conftest.obj
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>&5
3039 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; then
3042 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3043 case $ac_file in
3044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3045 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3046 break;;
3047 esac
3048 done
3049 else
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3053 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3054 See \`config.log' for more details." >&5
3055 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3056 See \`config.log' for more details." >&2;}
3057 { (exit 1); exit 1; }; }
3060 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3062 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3063 echo "${ECHO_T}$ac_cv_objext" >&6
3064 OBJEXT=$ac_cv_objext
3065 ac_objext=$OBJEXT
3066 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3067 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3068 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071 cat >conftest.$ac_ext <<_ACEOF
3072 /* confdefs.h. */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3079 main ()
3081 #ifndef __GNUC__
3082 choke me
3083 #endif
3086 return 0;
3088 _ACEOF
3089 rm -f conftest.$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>conftest.er1
3092 ac_status=$?
3093 grep -v '^ *+' conftest.er1 >conftest.err
3094 rm -f conftest.er1
3095 cat conftest.err >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try='test -z "$ac_c_werror_flag"
3099 || test ! -s conftest.err'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101 (eval $ac_try) 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; } &&
3105 { ac_try='test -s conftest.$ac_objext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 (eval $ac_try) 2>&5
3108 ac_status=$?
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3111 ac_compiler_gnu=yes
3112 else
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 ac_compiler_gnu=no
3118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3122 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3123 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3124 GCC=`test $ac_compiler_gnu = yes && echo yes`
3125 ac_test_CFLAGS=${CFLAGS+set}
3126 ac_save_CFLAGS=$CFLAGS
3127 CFLAGS="-g"
3128 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3129 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3130 if test "${ac_cv_prog_cc_g+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3141 main ()
3145 return 0;
3147 _ACEOF
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>conftest.er1
3151 ac_status=$?
3152 grep -v '^ *+' conftest.er1 >conftest.err
3153 rm -f conftest.er1
3154 cat conftest.err >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } &&
3157 { ac_try='test -z "$ac_c_werror_flag"
3158 || test ! -s conftest.err'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 (eval $ac_try) 2>&5
3161 ac_status=$?
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; } &&
3164 { ac_try='test -s conftest.$ac_objext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 (eval $ac_try) 2>&5
3167 ac_status=$?
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 ac_cv_prog_cc_g=yes
3171 else
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_cv_prog_cc_g=no
3177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3179 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3181 if test "$ac_test_CFLAGS" = set; then
3182 CFLAGS=$ac_save_CFLAGS
3183 elif test $ac_cv_prog_cc_g = yes; then
3184 if test "$GCC" = yes; then
3185 CFLAGS="-g -O2"
3186 else
3187 CFLAGS="-g"
3189 else
3190 if test "$GCC" = yes; then
3191 CFLAGS="-O2"
3192 else
3193 CFLAGS=
3196 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3197 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3198 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201 ac_cv_prog_cc_stdc=no
3202 ac_save_CC=$CC
3203 cat >conftest.$ac_ext <<_ACEOF
3204 /* confdefs.h. */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3209 #include <stdarg.h>
3210 #include <stdio.h>
3211 #include <sys/types.h>
3212 #include <sys/stat.h>
3213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3214 struct buf { int x; };
3215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3216 static char *e (p, i)
3217 char **p;
3218 int i;
3220 return p[i];
3222 static char *f (char * (*g) (char **, int), char **p, ...)
3224 char *s;
3225 va_list v;
3226 va_start (v,p);
3227 s = g (p, va_arg (v,int));
3228 va_end (v);
3229 return s;
3232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3233 function prototypes and stuff, but not '\xHH' hex character constants.
3234 These don't provoke an error unfortunately, instead are silently treated
3235 as 'x'. The following induces an error, until -std1 is added to get
3236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3237 array size at least. It's necessary to write '\x00'==0 to get something
3238 that's true only with -std1. */
3239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3241 int test (int i, double x);
3242 struct s1 {int (*f) (int a);};
3243 struct s2 {int (*f) (double a);};
3244 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3245 int argc;
3246 char **argv;
3248 main ()
3250 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3252 return 0;
3254 _ACEOF
3255 # Don't try gcc -ansi; that turns off useful extensions and
3256 # breaks some systems' header files.
3257 # AIX -qlanglvl=ansi
3258 # Ultrix and OSF/1 -std1
3259 # HP-UX 10.20 and later -Ae
3260 # HP-UX older versions -Aa -D_HPUX_SOURCE
3261 # SVR4 -Xc -D__EXTENSIONS__
3262 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3264 CC="$ac_save_CC $ac_arg"
3265 rm -f conftest.$ac_objext
3266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267 (eval $ac_compile) 2>conftest.er1
3268 ac_status=$?
3269 grep -v '^ *+' conftest.er1 >conftest.err
3270 rm -f conftest.er1
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } &&
3274 { ac_try='test -z "$ac_c_werror_flag"
3275 || test ! -s conftest.err'
3276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 (eval $ac_try) 2>&5
3278 ac_status=$?
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }; } &&
3281 { ac_try='test -s conftest.$ac_objext'
3282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 (eval $ac_try) 2>&5
3284 ac_status=$?
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; }; then
3287 ac_cv_prog_cc_stdc=$ac_arg
3288 break
3289 else
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3294 rm -f conftest.err conftest.$ac_objext
3295 done
3296 rm -f conftest.$ac_ext conftest.$ac_objext
3297 CC=$ac_save_CC
3301 case "x$ac_cv_prog_cc_stdc" in
3302 x|xno)
3303 echo "$as_me:$LINENO: result: none needed" >&5
3304 echo "${ECHO_T}none needed" >&6 ;;
3306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3308 CC="$CC $ac_cv_prog_cc_stdc" ;;
3309 esac
3311 # Some people use a C++ compiler to compile C. Since we use `exit',
3312 # in C++ we need to declare it. In case someone uses the same compiler
3313 # for both compiling C and C++ we need to have the C++ compiler decide
3314 # the declaration of exit, since it's the most demanding environment.
3315 cat >conftest.$ac_ext <<_ACEOF
3316 #ifndef __cplusplus
3317 choke me
3318 #endif
3319 _ACEOF
3320 rm -f conftest.$ac_objext
3321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3322 (eval $ac_compile) 2>conftest.er1
3323 ac_status=$?
3324 grep -v '^ *+' conftest.er1 >conftest.err
3325 rm -f conftest.er1
3326 cat conftest.err >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } &&
3329 { ac_try='test -z "$ac_c_werror_flag"
3330 || test ! -s conftest.err'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 (eval $ac_try) 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; } &&
3336 { ac_try='test -s conftest.$ac_objext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5
3339 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3342 for ac_declaration in \
3343 '' \
3344 'extern "C" void std::exit (int) throw (); using std::exit;' \
3345 'extern "C" void std::exit (int); using std::exit;' \
3346 'extern "C" void exit (int) throw ();' \
3347 'extern "C" void exit (int);' \
3348 'void exit (int);'
3350 cat >conftest.$ac_ext <<_ACEOF
3351 /* confdefs.h. */
3352 _ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3356 $ac_declaration
3357 #include <stdlib.h>
3359 main ()
3361 exit (42);
3363 return 0;
3365 _ACEOF
3366 rm -f conftest.$ac_objext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3368 (eval $ac_compile) 2>conftest.er1
3369 ac_status=$?
3370 grep -v '^ *+' conftest.er1 >conftest.err
3371 rm -f conftest.er1
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } &&
3375 { ac_try='test -z "$ac_c_werror_flag"
3376 || test ! -s conftest.err'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 (eval $ac_try) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; } &&
3382 { ac_try='test -s conftest.$ac_objext'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 (eval $ac_try) 2>&5
3385 ac_status=$?
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; }; then
3389 else
3390 echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3393 continue
3395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3396 cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h. */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3402 $ac_declaration
3404 main ()
3406 exit (42);
3408 return 0;
3410 _ACEOF
3411 rm -f conftest.$ac_objext
3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3413 (eval $ac_compile) 2>conftest.er1
3414 ac_status=$?
3415 grep -v '^ *+' conftest.er1 >conftest.err
3416 rm -f conftest.er1
3417 cat conftest.err >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } &&
3420 { ac_try='test -z "$ac_c_werror_flag"
3421 || test ! -s conftest.err'
3422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 (eval $ac_try) 2>&5
3424 ac_status=$?
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; } &&
3427 { ac_try='test -s conftest.$ac_objext'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 (eval $ac_try) 2>&5
3430 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; }; then
3433 break
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 done
3441 rm -f conftest*
3442 if test -n "$ac_declaration"; then
3443 echo '#ifdef __cplusplus' >>confdefs.h
3444 echo $ac_declaration >>confdefs.h
3445 echo '#endif' >>confdefs.h
3448 else
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_ext=c
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 ac_ext=cc
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3465 if test -n "$ac_tool_prefix"; then
3466 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 if test -n "$CXX"; then
3476 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3481 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 break 2
3489 done
3490 done
3494 CXX=$glibcxx_cv_prog_CXX
3495 if test -n "$CXX"; then
3496 echo "$as_me:$LINENO: result: $CXX" >&5
3497 echo "${ECHO_T}$CXX" >&6
3498 else
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3503 test -n "$CXX" && break
3504 done
3506 if test -z "$CXX"; then
3507 ac_ct_CXX=$CXX
3508 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3510 # Extract the first word of "$ac_prog", so it can be a program name with args.
3511 set dummy $ac_prog; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 else
3517 if test -n "$ac_ct_CXX"; then
3518 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_CXX="$ac_prog"
3528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3531 done
3532 done
3536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3537 if test -n "$ac_ct_CXX"; then
3538 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3539 echo "${ECHO_T}$ac_ct_CXX" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3545 test -n "$ac_ct_CXX" && break
3546 done
3547 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3549 CXX=$ac_ct_CXX
3553 # Provide some information about the compiler.
3554 echo "$as_me:$LINENO:" \
3555 "checking for C++ compiler version" >&5
3556 ac_compiler=`set X $ac_compile; echo $2`
3557 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3558 (eval $ac_compiler --version </dev/null >&5) 2>&5
3559 ac_status=$?
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }
3562 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3563 (eval $ac_compiler -v </dev/null >&5) 2>&5
3564 ac_status=$?
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }
3567 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3568 (eval $ac_compiler -V </dev/null >&5) 2>&5
3569 ac_status=$?
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }
3573 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3574 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3575 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 else
3578 cat >conftest.$ac_ext <<_ACEOF
3579 /* confdefs.h. */
3580 _ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3586 main ()
3588 #ifndef __GNUC__
3589 choke me
3590 #endif
3593 return 0;
3595 _ACEOF
3596 rm -f conftest.$ac_objext
3597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598 (eval $ac_compile) 2>conftest.er1
3599 ac_status=$?
3600 grep -v '^ *+' conftest.er1 >conftest.err
3601 rm -f conftest.er1
3602 cat conftest.err >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } &&
3605 { ac_try='test -z "$ac_cxx_werror_flag"
3606 || test ! -s conftest.err'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 (eval $ac_try) 2>&5
3609 ac_status=$?
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; } &&
3612 { ac_try='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 (eval $ac_try) 2>&5
3615 ac_status=$?
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 ac_compiler_gnu=yes
3619 else
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3623 ac_compiler_gnu=no
3625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3629 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3630 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3631 GXX=`test $ac_compiler_gnu = yes && echo yes`
3632 ac_test_CXXFLAGS=${CXXFLAGS+set}
3633 ac_save_CXXFLAGS=$CXXFLAGS
3634 CXXFLAGS="-g"
3635 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3636 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3637 if test "${ac_cv_prog_cxx_g+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 else
3640 cat >conftest.$ac_ext <<_ACEOF
3641 /* confdefs.h. */
3642 _ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3648 main ()
3652 return 0;
3654 _ACEOF
3655 rm -f conftest.$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 (eval $ac_compile) 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try='test -z "$ac_cxx_werror_flag"
3665 || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667 (eval $ac_try) 2>&5
3668 ac_status=$?
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 (eval $ac_try) 2>&5
3674 ac_status=$?
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_cv_prog_cxx_g=yes
3678 else
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3682 ac_cv_prog_cxx_g=no
3684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3688 if test "$ac_test_CXXFLAGS" = set; then
3689 CXXFLAGS=$ac_save_CXXFLAGS
3690 elif test $ac_cv_prog_cxx_g = yes; then
3691 if test "$GXX" = yes; then
3692 CXXFLAGS="-g -O2"
3693 else
3694 CXXFLAGS="-g"
3696 else
3697 if test "$GXX" = yes; then
3698 CXXFLAGS="-O2"
3699 else
3700 CXXFLAGS=
3703 for ac_declaration in \
3704 '' \
3705 'extern "C" void std::exit (int) throw (); using std::exit;' \
3706 'extern "C" void std::exit (int); using std::exit;' \
3707 'extern "C" void exit (int) throw ();' \
3708 'extern "C" void exit (int);' \
3709 'void exit (int);'
3711 cat >conftest.$ac_ext <<_ACEOF
3712 /* confdefs.h. */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 $ac_declaration
3718 #include <stdlib.h>
3720 main ()
3722 exit (42);
3724 return 0;
3726 _ACEOF
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag"
3737 || test ! -s conftest.err'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 (eval $ac_try) 2>&5
3740 ac_status=$?
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; } &&
3743 { ac_try='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 (eval $ac_try) 2>&5
3746 ac_status=$?
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3750 else
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 continue
3756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3757 cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h. */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3763 $ac_declaration
3765 main ()
3767 exit (42);
3769 return 0;
3771 _ACEOF
3772 rm -f conftest.$ac_objext
3773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3774 (eval $ac_compile) 2>conftest.er1
3775 ac_status=$?
3776 grep -v '^ *+' conftest.er1 >conftest.err
3777 rm -f conftest.er1
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 { ac_try='test -z "$ac_cxx_werror_flag"
3782 || test ! -s conftest.err'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 (eval $ac_try) 2>&5
3785 ac_status=$?
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; } &&
3788 { ac_try='test -s conftest.$ac_objext'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 (eval $ac_try) 2>&5
3791 ac_status=$?
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; }; then
3794 break
3795 else
3796 echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3801 done
3802 rm -f conftest*
3803 if test -n "$ac_declaration"; then
3804 echo '#ifdef __cplusplus' >>confdefs.h
3805 echo $ac_declaration >>confdefs.h
3806 echo '#endif' >>confdefs.h
3809 ac_ext=c
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 CXXFLAGS="$save_CXXFLAGS"
3820 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3821 # available). Uncomment the next line to force a particular method.
3822 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3823 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3824 LN_S=$as_ln_s
3825 if test "$LN_S" = "ln -s"; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3828 else
3829 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3830 echo "${ECHO_T}no, using $LN_S" >&6
3833 #LN_S='cp -p'
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}as; ac_word=$2
3838 echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 if test "${ac_cv_prog_AS+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 else
3843 if test -n "$AS"; then
3844 ac_cv_prog_AS="$AS" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_AS="${ac_tool_prefix}as"
3854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3862 AS=$ac_cv_prog_AS
3863 if test -n "$AS"; then
3864 echo "$as_me:$LINENO: result: $AS" >&5
3865 echo "${ECHO_T}$AS" >&6
3866 else
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3872 if test -z "$ac_cv_prog_AS"; then
3873 ac_ct_AS=$AS
3874 # Extract the first word of "as", so it can be a program name with args.
3875 set dummy as; ac_word=$2
3876 echo "$as_me:$LINENO: checking for $ac_word" >&5
3877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3878 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 else
3881 if test -n "$ac_ct_AS"; then
3882 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_AS="as"
3892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3900 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3901 if test -n "$ac_ct_AS"; then
3902 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3903 echo "${ECHO_T}$ac_ct_AS" >&6
3904 else
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3909 AS=$ac_ct_AS
3910 else
3911 AS="$ac_cv_prog_AS"
3914 if test -n "$ac_tool_prefix"; then
3915 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3916 set dummy ${ac_tool_prefix}ar; ac_word=$2
3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3919 if test "${ac_cv_prog_AR+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 else
3922 if test -n "$AR"; then
3923 ac_cv_prog_AR="$AR" # Let the user override the test.
3924 else
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 for as_dir in $PATH
3928 IFS=$as_save_IFS
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_AR="${ac_tool_prefix}ar"
3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 break 2
3936 done
3937 done
3941 AR=$ac_cv_prog_AR
3942 if test -n "$AR"; then
3943 echo "$as_me:$LINENO: result: $AR" >&5
3944 echo "${ECHO_T}$AR" >&6
3945 else
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3951 if test -z "$ac_cv_prog_AR"; then
3952 ac_ct_AR=$AR
3953 # Extract the first word of "ar", so it can be a program name with args.
3954 set dummy ar; ac_word=$2
3955 echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 else
3960 if test -n "$ac_ct_AR"; then
3961 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3962 else
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 for as_dir in $PATH
3966 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_AR="ar"
3971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 break 2
3974 done
3975 done
3979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3980 if test -n "$ac_ct_AR"; then
3981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3982 echo "${ECHO_T}$ac_ct_AR" >&6
3983 else
3984 echo "$as_me:$LINENO: result: no" >&5
3985 echo "${ECHO_T}no" >&6
3988 AR=$ac_ct_AR
3989 else
3990 AR="$ac_cv_prog_AR"
3993 if test -n "$ac_tool_prefix"; then
3994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3996 echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3998 if test "${ac_cv_prog_RANLIB+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 else
4001 if test -n "$RANLIB"; then
4002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4003 else
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4007 IFS=$as_save_IFS
4008 test -z "$as_dir" && as_dir=.
4009 for ac_exec_ext in '' $ac_executable_extensions; do
4010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 break 2
4015 done
4016 done
4020 RANLIB=$ac_cv_prog_RANLIB
4021 if test -n "$RANLIB"; then
4022 echo "$as_me:$LINENO: result: $RANLIB" >&5
4023 echo "${ECHO_T}$RANLIB" >&6
4024 else
4025 echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6
4030 if test -z "$ac_cv_prog_RANLIB"; then
4031 ac_ct_RANLIB=$RANLIB
4032 # Extract the first word of "ranlib", so it can be a program name with args.
4033 set dummy ranlib; ac_word=$2
4034 echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4036 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 else
4039 if test -n "$ac_ct_RANLIB"; then
4040 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_RANLIB="ranlib"
4050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4056 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4060 if test -n "$ac_ct_RANLIB"; then
4061 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4062 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4063 else
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4068 RANLIB=$ac_ct_RANLIB
4069 else
4070 RANLIB="$ac_cv_prog_RANLIB"
4074 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4075 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4076 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4077 if test "${enable_maintainer_mode+set}" = set; then
4078 enableval="$enable_maintainer_mode"
4079 USE_MAINTAINER_MODE=$enableval
4080 else
4081 USE_MAINTAINER_MODE=no
4083 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4084 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4087 if test $USE_MAINTAINER_MODE = yes; then
4088 MAINTAINER_MODE_TRUE=
4089 MAINTAINER_MODE_FALSE='#'
4090 else
4091 MAINTAINER_MODE_TRUE='#'
4092 MAINTAINER_MODE_FALSE=
4095 MAINT=$MAINTAINER_MODE_TRUE
4099 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4100 # which are themselves conditionally expanded.
4101 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4102 ## other macros from doing the same. This should be automated.) -pme
4103 need_libmath=no
4105 # Check for uClibc since Linux platforms use different configuration
4106 # directories depending on the C library in use.
4107 cat >conftest.$ac_ext <<_ACEOF
4108 /* confdefs.h. */
4109 _ACEOF
4110 cat confdefs.h >>conftest.$ac_ext
4111 cat >>conftest.$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4114 #include <stdio.h>
4115 #if __UCLIBC__
4116 _using_uclibc
4117 #endif
4119 _ACEOF
4120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4121 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4122 uclibc=yes
4123 else
4124 uclibc=no
4126 rm -f conftest*
4129 # Find platform-specific directories containing configuration info.
4130 # Also possibly modify flags used elsewhere, as needed by the platform.
4132 . $glibcxx_srcdir/configure.host
4133 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4134 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4135 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4136 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4140 enable_dlopen=yes
4146 macro_version='2.1a'
4147 macro_revision='1.2435'
4160 ltmain="$ac_aux_dir/ltmain.sh"
4162 # Set options
4165 enable_win32_dll=no
4168 # Check whether --enable-shared or --disable-shared was given.
4169 if test "${enable_shared+set}" = set; then
4170 enableval="$enable_shared"
4171 p=${PACKAGE-default}
4172 case $enableval in
4173 yes) enable_shared=yes ;;
4174 no) enable_shared=no ;;
4176 enable_shared=no
4177 # Look at the argument we got. We use all the common list separators.
4178 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4179 for pkg in $enableval; do
4180 IFS="$lt_save_ifs"
4181 if test "X$pkg" = "X$p"; then
4182 enable_shared=yes
4184 done
4185 IFS="$lt_save_ifs"
4187 esac
4188 else
4189 enable_shared=yes
4199 # Check whether --enable-static or --disable-static was given.
4200 if test "${enable_static+set}" = set; then
4201 enableval="$enable_static"
4202 p=${PACKAGE-default}
4203 case $enableval in
4204 yes) enable_static=yes ;;
4205 no) enable_static=no ;;
4207 enable_static=no
4208 # Look at the argument we got. We use all the common list separators.
4209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210 for pkg in $enableval; do
4211 IFS="$lt_save_ifs"
4212 if test "X$pkg" = "X$p"; then
4213 enable_static=yes
4215 done
4216 IFS="$lt_save_ifs"
4218 esac
4219 else
4220 enable_static=yes
4231 # Check whether --with-pic or --without-pic was given.
4232 if test "${with_pic+set}" = set; then
4233 withval="$with_pic"
4234 pic_mode="$withval"
4235 else
4236 pic_mode=default
4239 test -z "$pic_mode" && pic_mode=default
4247 # Check whether --enable-fast-install or --disable-fast-install was given.
4248 if test "${enable_fast_install+set}" = set; then
4249 enableval="$enable_fast_install"
4250 p=${PACKAGE-default}
4251 case $enableval in
4252 yes) enable_fast_install=yes ;;
4253 no) enable_fast_install=no ;;
4255 enable_fast_install=no
4256 # Look at the argument we got. We use all the common list separators.
4257 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4258 for pkg in $enableval; do
4259 IFS="$lt_save_ifs"
4260 if test "X$pkg" = "X$p"; then
4261 enable_fast_install=yes
4263 done
4264 IFS="$lt_save_ifs"
4266 esac
4267 else
4268 enable_fast_install=yes
4278 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4279 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4280 if test "${lt_cv_path_SED+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 else
4283 # Loop through the user's path and test for sed and gsed.
4284 # Then use that list of sed's as ones to test for truncation.
4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 for as_dir in $PATH
4288 IFS=$as_save_IFS
4289 test -z "$as_dir" && as_dir=.
4290 for lt_ac_prog in sed gsed; do
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4293 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4295 done
4296 done
4297 done
4298 IFS=$as_save_IFS
4299 lt_ac_max=0
4300 lt_ac_count=0
4301 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4302 # along with /bin/sed that truncates output.
4303 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4304 test ! -f $lt_ac_sed && continue
4305 cat /dev/null > conftest.in
4306 lt_ac_count=0
4307 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4308 # Check for GNU sed and select it if it is found.
4309 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4310 lt_cv_path_SED=$lt_ac_sed
4311 break
4313 while true; do
4314 cat conftest.in conftest.in >conftest.tmp
4315 mv conftest.tmp conftest.in
4316 cp conftest.in conftest.nl
4317 echo >>conftest.nl
4318 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4319 cmp -s conftest.out conftest.nl || break
4320 # 10000 chars as input seems more than enough
4321 test $lt_ac_count -gt 10 && break
4322 lt_ac_count=`expr $lt_ac_count + 1`
4323 if test $lt_ac_count -gt $lt_ac_max; then
4324 lt_ac_max=$lt_ac_count
4325 lt_cv_path_SED=$lt_ac_sed
4327 done
4328 done
4332 SED=$lt_cv_path_SED
4334 echo "$as_me:$LINENO: result: $SED" >&5
4335 echo "${ECHO_T}$SED" >&6
4337 test -z "$SED" && SED=sed
4338 Xsed="$SED -e 1s/^X//"
4350 echo "$as_me:$LINENO: checking for fgrep" >&5
4351 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4352 if test "${ac_cv_prog_fgrep+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4356 then ac_cv_prog_fgrep='grep -F'
4357 else ac_cv_prog_fgrep='fgrep'
4360 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4361 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4362 FGREP=$ac_cv_prog_fgrep
4365 test -z "$GREP" && GREP=grep
4385 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4386 if test "${with_gnu_ld+set}" = set; then
4387 withval="$with_gnu_ld"
4388 test "$withval" = no || with_gnu_ld=yes
4389 else
4390 with_gnu_ld=no
4392 ac_prog=ld
4393 if test "$GCC" = yes; then
4394 # Check if gcc -print-prog-name=ld gives a path.
4395 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4396 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4397 case $host in
4398 *-*-mingw*)
4399 # gcc leaves a trailing carriage return which upsets mingw
4400 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4402 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4403 esac
4404 case $ac_prog in
4405 # Accept absolute paths.
4406 [\\/]* | ?:[\\/]*)
4407 re_direlt='/[^/][^/]*/\.\./'
4408 # Canonicalize the pathname of ld
4409 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4410 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4411 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4412 done
4413 test -z "$LD" && LD="$ac_prog"
4416 # If it fails, then pretend we aren't using GCC.
4417 ac_prog=ld
4420 # If it is relative, then search for the first ld in PATH.
4421 with_gnu_ld=unknown
4423 esac
4424 elif test "$with_gnu_ld" = yes; then
4425 echo "$as_me:$LINENO: checking for GNU ld" >&5
4426 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4427 else
4428 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4429 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4431 if test "${lt_cv_path_LD+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 if test -z "$LD"; then
4435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436 for ac_dir in $PATH; do
4437 IFS="$lt_save_ifs"
4438 test -z "$ac_dir" && ac_dir=.
4439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4440 lt_cv_path_LD="$ac_dir/$ac_prog"
4441 # Check to see if the program is GNU ld. I'd rather use --version,
4442 # but apparently some variants of GNU ld only accept -v.
4443 # Break only if it was the GNU/non-GNU ld that we prefer.
4444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4445 *GNU* | *'with BFD'*)
4446 test "$with_gnu_ld" != no && break
4449 test "$with_gnu_ld" != yes && break
4451 esac
4453 done
4454 IFS="$lt_save_ifs"
4455 else
4456 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4460 LD="$lt_cv_path_LD"
4461 if test -n "$LD"; then
4462 echo "$as_me:$LINENO: result: $LD" >&5
4463 echo "${ECHO_T}$LD" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4468 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4469 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4470 { (exit 1); exit 1; }; }
4471 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4472 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 else
4476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4477 case `$LD -v 2>&1 </dev/null` in
4478 *GNU* | *'with BFD'*)
4479 lt_cv_prog_gnu_ld=yes
4482 lt_cv_prog_gnu_ld=no
4484 esac
4486 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4487 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4488 with_gnu_ld=$lt_cv_prog_gnu_ld
4499 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4500 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4501 if test "${lt_cv_path_NM+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504 if test -n "$NM"; then
4505 # Let the user override the test.
4506 lt_cv_path_NM="$NM"
4507 else
4508 lt_nm_to_check="${ac_tool_prefix}nm"
4509 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4510 lt_nm_to_check="$lt_nm_to_check nm"
4512 for lt_tmp_nm in $lt_nm_to_check; do
4513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4514 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4515 IFS="$lt_save_ifs"
4516 test -z "$ac_dir" && ac_dir=.
4517 tmp_nm="$ac_dir/$lt_tmp_nm"
4518 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4519 # Check to see if the nm accepts a BSD-compat flag.
4520 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4521 # nm: unknown option "B" ignored
4522 # Tru64's nm complains that /dev/null is an invalid object file
4523 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4524 */dev/null* | *'Invalid file or object type'*)
4525 lt_cv_path_NM="$tmp_nm -B"
4526 break
4529 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4530 */dev/null*)
4531 lt_cv_path_NM="$tmp_nm -p"
4532 break
4535 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4536 continue # so that we can try to find one that supports BSD flags
4538 esac
4540 esac
4542 done
4543 IFS="$lt_save_ifs"
4544 done
4545 : ${lt_cv_path_NM=no}
4548 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4549 echo "${ECHO_T}$lt_cv_path_NM" >&6
4550 if test "$lt_cv_path_NM" != "no"; then
4551 NM="$lt_cv_path_NM"
4552 else
4553 # Didn't find any BSD compatible name lister, look for dumpbin.
4554 if test -n "$ac_tool_prefix"; then
4555 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 echo "$as_me:$LINENO: checking for $ac_word" >&5
4560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4561 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 else
4564 if test -n "$DUMPBIN"; then
4565 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4566 else
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4570 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 break 2
4578 done
4579 done
4583 DUMPBIN=$ac_cv_prog_DUMPBIN
4584 if test -n "$DUMPBIN"; then
4585 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4586 echo "${ECHO_T}$DUMPBIN" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4592 test -n "$DUMPBIN" && break
4593 done
4595 if test -z "$DUMPBIN"; then
4596 ac_ct_DUMPBIN=$DUMPBIN
4597 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4599 # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4603 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606 if test -n "$ac_ct_DUMPBIN"; then
4607 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 break 2
4620 done
4621 done
4625 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4626 if test -n "$ac_ct_DUMPBIN"; then
4627 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4628 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4634 test -n "$ac_ct_DUMPBIN" && break
4635 done
4636 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4638 DUMPBIN=$ac_ct_DUMPBIN
4642 if test "$DUMPBIN" != ":"; then
4643 NM="$DUMPBIN"
4646 test -z "$NM" && NM=nm
4653 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4654 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4655 if test "${lt_cv_nm_interface+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658 lt_cv_nm_interface="BSD nm"
4659 echo "int some_variable = 0;" > conftest.$ac_ext
4660 (eval echo "\"\$as_me:4660: $ac_compile\"" >&5)
4661 (eval "$ac_compile" 2>conftest.err)
4662 cat conftest.err >&5
4663 (eval echo "\"\$as_me:4663: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4664 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4665 cat conftest.err >&5
4666 (eval echo "\"\$as_me:4666: output\"" >&5)
4667 cat conftest.out >&5
4668 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4669 lt_cv_nm_interface="MS dumpbin"
4671 rm -f conftest*
4673 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4674 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4676 # find the maximum length of command line arguments
4677 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4678 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4679 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4683 teststring="ABCD"
4685 case $build_os in
4686 msdosdjgpp*)
4687 # On DJGPP, this test can blow up pretty badly due to problems in libc
4688 # (any single argument exceeding 2000 bytes causes a buffer overrun
4689 # during glob expansion). Even if it were fixed, the result of this
4690 # check would be larger than it should be.
4691 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4694 gnu*)
4695 # Under GNU Hurd, this test is not required because there is
4696 # no limit to the length of command line arguments.
4697 # Libtool will interpret -1 as no limit whatsoever
4698 lt_cv_sys_max_cmd_len=-1;
4701 cygwin* | mingw*)
4702 # On Win9x/ME, this test blows up -- it succeeds, but takes
4703 # about 5 minutes as the teststring grows exponentially.
4704 # Worse, since 9x/ME are not pre-emptively multitasking,
4705 # you end up with a "frozen" computer, even though with patience
4706 # the test eventually succeeds (with a max line length of 256k).
4707 # Instead, let's just punt: use the minimum linelength reported by
4708 # all of the supported platforms: 8192 (on NT/2K/XP).
4709 lt_cv_sys_max_cmd_len=8192;
4712 amigaos*)
4713 # On AmigaOS with pdksh, this test takes hours, literally.
4714 # So we just punt and use a minimum line length of 8192.
4715 lt_cv_sys_max_cmd_len=8192;
4718 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4719 # This has been around since 386BSD, at least. Likely further.
4720 if test -x /sbin/sysctl; then
4721 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4722 elif test -x /usr/sbin/sysctl; then
4723 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4724 else
4725 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4727 # And add a safety zone
4728 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4729 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4732 interix*)
4733 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4734 lt_cv_sys_max_cmd_len=196608
4737 osf*)
4738 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4739 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4740 # nice to cause kernel panics so lets avoid the loop below.
4741 # First set a reasonable default.
4742 lt_cv_sys_max_cmd_len=16384
4744 if test -x /sbin/sysconfig; then
4745 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4746 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4747 esac
4750 sco3.2v5*)
4751 lt_cv_sys_max_cmd_len=102400
4753 sysv5* | sco5v6* | sysv4.2uw2*)
4754 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4755 if test -n "$kargmax"; then
4756 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4757 else
4758 lt_cv_sys_max_cmd_len=32768
4762 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4763 if test -n $lt_cv_sys_max_cmd_len; then
4764 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4766 else
4767 # Make teststring a little bigger before we do anything with it.
4768 # a 1K string should be a reasonable start.
4769 for i in 1 2 3 4 5 6 7 8 ; do
4770 teststring=$teststring$teststring
4771 done
4772 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4773 # If test is not a shell built-in, we'll probably end up computing a
4774 # maximum length that is only half of the actual maximum length, but
4775 # we can't tell.
4776 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4777 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4778 test $i != 17 # 1/2 MB should be enough
4780 i=`expr $i + 1`
4781 teststring=$teststring$teststring
4782 done
4783 # Only check the string length outside the loop.
4784 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4785 teststring=
4786 # Add a significant safety factor because C++ compilers can tack on
4787 # massive amounts of additional arguments before passing them to the
4788 # linker. It appears as though 1/2 is a usable value.
4789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4792 esac
4796 if test -n $lt_cv_sys_max_cmd_len ; then
4797 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4798 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4799 else
4800 echo "$as_me:$LINENO: result: none" >&5
4801 echo "${ECHO_T}none" >&6
4803 max_cmd_len=$lt_cv_sys_max_cmd_len
4811 : ${CP="cp -f"}
4812 : ${MV="mv -f"}
4813 : ${RM="rm -f"}
4815 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4816 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4817 # Try some XSI features
4818 xsi_shell=no
4819 ( _lt_dummy="a/b/c"
4820 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4821 = c,a/b,, ) >/dev/null 2>&1 \
4822 && xsi_shell=yes
4823 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4824 echo "${ECHO_T}$xsi_shell" >&6
4827 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4828 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4829 lt_shell_append=no
4830 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4831 >/dev/null 2>&1 \
4832 && lt_shell_append=yes
4833 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4834 echo "${ECHO_T}$lt_shell_append" >&6
4837 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4838 lt_unset=unset
4839 else
4840 lt_unset=false
4847 # test EBCDIC or ASCII
4848 case `echo X|tr X '\101'` in
4849 A) # ASCII based system
4850 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4851 lt_SP2NL='tr \040 \012'
4852 lt_NL2SP='tr \015\012 \040\040'
4854 *) # EBCDIC based system
4855 lt_SP2NL='tr \100 \n'
4856 lt_NL2SP='tr \r\n \100\100'
4858 esac
4868 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4869 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4870 if test "${lt_cv_ld_reload_flag+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 lt_cv_ld_reload_flag='-r'
4875 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4876 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4877 reload_flag=$lt_cv_ld_reload_flag
4878 case $reload_flag in
4879 "" | " "*) ;;
4880 *) reload_flag=" $reload_flag" ;;
4881 esac
4882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4883 case $host_os in
4884 darwin*)
4885 if test "$GCC" = yes; then
4886 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4887 else
4888 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4891 esac
4902 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4903 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4904 if test "${lt_cv_deplibs_check_method+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 else
4907 lt_cv_file_magic_cmd='$MAGIC_CMD'
4908 lt_cv_file_magic_test_file=
4909 lt_cv_deplibs_check_method='unknown'
4910 # Need to set the preceding variable on all platforms that support
4911 # interlibrary dependencies.
4912 # 'none' -- dependencies not supported.
4913 # `unknown' -- same as none, but documents that we really don't know.
4914 # 'pass_all' -- all dependencies passed with no checks.
4915 # 'test_compile' -- check by making test program.
4916 # 'file_magic [[regex]]' -- check by looking for files in library path
4917 # which responds to the $file_magic_cmd with a given extended regex.
4918 # If you have `file' or equivalent on your system and you're not sure
4919 # whether `pass_all' will *always* work, you probably want this one.
4921 case $host_os in
4922 aix[4-9]*)
4923 lt_cv_deplibs_check_method=pass_all
4926 beos*)
4927 lt_cv_deplibs_check_method=pass_all
4930 bsdi[45]*)
4931 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4932 lt_cv_file_magic_cmd='/usr/bin/file -L'
4933 lt_cv_file_magic_test_file=/shlib/libc.so
4936 cygwin*)
4937 # func_win32_libid is a shell function defined in ltmain.sh
4938 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4939 lt_cv_file_magic_cmd='func_win32_libid'
4942 mingw* | pw32*)
4943 # Base MSYS/MinGW do not provide the 'file' command needed by
4944 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4945 # unless we find 'file', for example because we are cross-compiling.
4946 if ( file / ) >/dev/null 2>&1; then
4947 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4948 lt_cv_file_magic_cmd='func_win32_libid'
4949 else
4950 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4951 lt_cv_file_magic_cmd='$OBJDUMP -f'
4955 darwin* | rhapsody*)
4956 lt_cv_deplibs_check_method=pass_all
4959 freebsd* | dragonfly*)
4960 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4961 case $host_cpu in
4962 i*86 )
4963 # Not sure whether the presence of OpenBSD here was a mistake.
4964 # Let's accept both of them until this is cleared up.
4965 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4969 esac
4970 else
4971 lt_cv_deplibs_check_method=pass_all
4975 gnu*)
4976 lt_cv_deplibs_check_method=pass_all
4979 hpux10.20* | hpux11*)
4980 lt_cv_file_magic_cmd=/usr/bin/file
4981 case $host_cpu in
4982 ia64*)
4983 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4984 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4986 hppa*64*)
4987 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]'
4988 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4992 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4994 esac
4997 interix[3-9]*)
4998 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5002 irix5* | irix6* | nonstopux*)
5003 case $LD in
5004 *-32|*"-32 ") libmagic=32-bit;;
5005 *-n32|*"-n32 ") libmagic=N32;;
5006 *-64|*"-64 ") libmagic=64-bit;;
5007 *) libmagic=never-match;;
5008 esac
5009 lt_cv_deplibs_check_method=pass_all
5012 # This must be Linux ELF.
5013 linux* | k*bsd*-gnu)
5014 lt_cv_deplibs_check_method=pass_all
5017 netbsd*)
5018 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5020 else
5021 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5025 newos6*)
5026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5027 lt_cv_file_magic_cmd=/usr/bin/file
5028 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5031 *nto* | *qnx*)
5032 lt_cv_deplibs_check_method=pass_all
5035 openbsd*)
5036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5038 else
5039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5043 osf3* | osf4* | osf5*)
5044 lt_cv_deplibs_check_method=pass_all
5047 rdos*)
5048 lt_cv_deplibs_check_method=pass_all
5051 solaris*)
5052 lt_cv_deplibs_check_method=pass_all
5055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5056 lt_cv_deplibs_check_method=pass_all
5059 sysv4 | sysv4.3*)
5060 case $host_vendor in
5061 motorola)
5062 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]'
5063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5065 ncr)
5066 lt_cv_deplibs_check_method=pass_all
5068 sequent)
5069 lt_cv_file_magic_cmd='/bin/file'
5070 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5072 sni)
5073 lt_cv_file_magic_cmd='/bin/file'
5074 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5075 lt_cv_file_magic_test_file=/lib/libc.so
5077 siemens)
5078 lt_cv_deplibs_check_method=pass_all
5081 lt_cv_deplibs_check_method=pass_all
5083 esac
5086 tpf*)
5087 lt_cv_deplibs_check_method=pass_all
5089 esac
5092 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5093 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5094 file_magic_cmd=$lt_cv_file_magic_cmd
5095 deplibs_check_method=$lt_cv_deplibs_check_method
5096 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5109 if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5111 set dummy ${ac_tool_prefix}ar; ac_word=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_prog_AR+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 else
5117 if test -n "$AR"; then
5118 ac_cv_prog_AR="$AR" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_AR="${ac_tool_prefix}ar"
5128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5136 AR=$ac_cv_prog_AR
5137 if test -n "$AR"; then
5138 echo "$as_me:$LINENO: result: $AR" >&5
5139 echo "${ECHO_T}$AR" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5146 if test -z "$ac_cv_prog_AR"; then
5147 ac_ct_AR=$AR
5148 # Extract the first word of "ar", so it can be a program name with args.
5149 set dummy ar; ac_word=$2
5150 echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 else
5155 if test -n "$ac_ct_AR"; then
5156 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_AR="ar"
5166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5172 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5176 if test -n "$ac_ct_AR"; then
5177 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5178 echo "${ECHO_T}$ac_ct_AR" >&6
5179 else
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5184 AR=$ac_ct_AR
5185 else
5186 AR="$ac_cv_prog_AR"
5189 test -z "$AR" && AR=ar
5190 test -z "$AR_FLAGS" && AR_FLAGS=cru
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}strip; ac_word=$2
5205 echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5207 if test "${ac_cv_prog_STRIP+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 else
5210 if test -n "$STRIP"; then
5211 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5229 STRIP=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231 echo "$as_me:$LINENO: result: $STRIP" >&5
5232 echo "${ECHO_T}$STRIP" >&6
5233 else
5234 echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6
5239 if test -z "$ac_cv_prog_STRIP"; then
5240 ac_ct_STRIP=$STRIP
5241 # Extract the first word of "strip", so it can be a program name with args.
5242 set dummy strip; ac_word=$2
5243 echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5245 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 if test -n "$ac_ct_STRIP"; then
5249 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_STRIP="strip"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5265 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5269 if test -n "$ac_ct_STRIP"; then
5270 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5271 echo "${ECHO_T}$ac_ct_STRIP" >&6
5272 else
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5277 STRIP=$ac_ct_STRIP
5278 else
5279 STRIP="$ac_cv_prog_STRIP"
5282 test -z "$STRIP" && STRIP=:
5289 if test -n "$ac_tool_prefix"; then
5290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5292 echo "$as_me:$LINENO: checking for $ac_word" >&5
5293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5294 if test "${ac_cv_prog_RANLIB+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 else
5297 if test -n "$RANLIB"; then
5298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5299 else
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH
5303 IFS=$as_save_IFS
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 break 2
5311 done
5312 done
5316 RANLIB=$ac_cv_prog_RANLIB
5317 if test -n "$RANLIB"; then
5318 echo "$as_me:$LINENO: result: $RANLIB" >&5
5319 echo "${ECHO_T}$RANLIB" >&6
5320 else
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5326 if test -z "$ac_cv_prog_RANLIB"; then
5327 ac_ct_RANLIB=$RANLIB
5328 # Extract the first word of "ranlib", so it can be a program name with args.
5329 set dummy ranlib; ac_word=$2
5330 echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5332 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 else
5335 if test -n "$ac_ct_RANLIB"; then
5336 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_ac_ct_RANLIB="ranlib"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5352 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5356 if test -n "$ac_ct_RANLIB"; then
5357 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5358 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5359 else
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5364 RANLIB=$ac_ct_RANLIB
5365 else
5366 RANLIB="$ac_cv_prog_RANLIB"
5369 test -z "$RANLIB" && RANLIB=:
5376 # Determine commands to create old-style static archives.
5377 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5378 old_postinstall_cmds='chmod 644 $oldlib'
5379 old_postuninstall_cmds=
5381 if test -n "$RANLIB"; then
5382 case $host_os in
5383 openbsd*)
5384 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5387 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5389 esac
5390 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5426 # If no C compiler was specified, use CC.
5427 LTCC=${LTCC-"$CC"}
5429 # If no C compiler flags were specified, use CFLAGS.
5430 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5432 # Allow CC to be a program name with arguments.
5433 compiler=$CC
5436 # Check for command to grab the raw symbol name followed by C symbol from nm.
5437 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5438 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5439 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 else
5443 # These are sane defaults that work on at least a few old systems.
5444 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5446 # Character class describing NM global symbol codes.
5447 symcode='[BCDEGRST]'
5449 # Regexp to match symbols that can be accessed directly from C.
5450 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5452 # Define system-specific variables.
5453 case $host_os in
5454 aix*)
5455 symcode='[BCDT]'
5457 cygwin* | mingw* | pw32*)
5458 symcode='[ABCDGISTW]'
5460 hpux*)
5461 if test "$host_cpu" = ia64; then
5462 symcode='[ABCDEGRST]'
5465 irix* | nonstopux*)
5466 symcode='[BCDEGRST]'
5468 osf*)
5469 symcode='[BCDEGQRST]'
5471 solaris*)
5472 symcode='[BDRT]'
5474 sco3.2v5*)
5475 symcode='[DT]'
5477 sysv4.2uw2*)
5478 symcode='[DT]'
5480 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5481 symcode='[ABDT]'
5483 sysv4)
5484 symcode='[DFNSTU]'
5486 esac
5488 # If we're using GNU nm, then use its standard symbol codes.
5489 case `$NM -V 2>&1` in
5490 *GNU* | *'with BFD'*)
5491 symcode='[ABCDGIRSTW]' ;;
5492 esac
5494 # Transform an extracted symbol line into a proper C declaration.
5495 # Some systems (esp. on ia64) link data and code symbols differently,
5496 # so use this general approach.
5497 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5499 # Transform an extracted symbol line into symbol name and symbol address
5500 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5502 # Handle CRLF in mingw tool chain
5503 opt_cr=
5504 case $build_os in
5505 mingw*)
5506 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5508 esac
5510 # Try without a prefix underscore, then with it.
5511 for ac_symprfx in "" "_"; do
5513 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5514 symxfrm="\\1 $ac_symprfx\\2 \\2"
5516 # Write the raw and C identifiers.
5517 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5518 # Fake it for dumpbin and say T for any non-static function
5519 # and D for any global variable.
5520 # Also find C++ and __fastcall symbols from MSVC++,
5521 # which start with @ or ?.
5522 lt_cv_sys_global_symbol_pipe="$AWK '"\
5523 " {last_section=section; section=\$ 3};"\
5524 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5525 " \$ 0!~/External *\|/{next};"\
5526 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5527 " {if(hide[section]) next};"\
5528 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5529 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5530 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5531 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5532 " ' prfx=^$ac_symprfx"
5533 else
5534 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5537 # Check to see that the pipe works correctly.
5538 pipe_works=no
5540 rm -f conftest*
5541 cat > conftest.$ac_ext <<_LT_EOF
5542 #ifdef __cplusplus
5543 extern "C" {
5544 #endif
5545 char nm_test_var;
5546 void nm_test_func(void);
5547 void nm_test_func(void){}
5548 #ifdef __cplusplus
5550 #endif
5551 int main(){nm_test_var='a';nm_test_func();return(0);}
5552 _LT_EOF
5554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5555 (eval $ac_compile) 2>&5
5556 ac_status=$?
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; then
5559 # Now try to grab the symbols.
5560 nlist=conftest.nm
5561 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5562 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5563 ac_status=$?
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && test -s "$nlist"; then
5566 # Try sorting and uniquifying the output.
5567 if sort "$nlist" | uniq > "$nlist"T; then
5568 mv -f "$nlist"T "$nlist"
5569 else
5570 rm -f "$nlist"T
5573 # Make sure that we snagged all the symbols we need.
5574 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5575 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5576 cat <<_LT_EOF > conftest.$ac_ext
5577 #ifdef __cplusplus
5578 extern "C" {
5579 #endif
5581 _LT_EOF
5582 # Now generate the symbol file.
5583 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5585 cat <<_LT_EOF >> conftest.$ac_ext
5587 /* The mapping between symbol names and symbols. */
5588 const struct {
5589 const char *name;
5590 void *address;
5592 lt__PROGRAM__LTX_preloaded_symbols[] =
5594 { "@PROGRAM@", (void *) 0 },
5595 _LT_EOF
5596 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5597 cat <<\_LT_EOF >> conftest.$ac_ext
5598 {0, (void *) 0}
5601 /* This works around a problem in FreeBSD linker */
5602 #ifdef FREEBSD_WORKAROUND
5603 static const void *lt_preloaded_setup() {
5604 return lt__PROGRAM__LTX_preloaded_symbols;
5606 #endif
5608 #ifdef __cplusplus
5610 #endif
5611 _LT_EOF
5612 # Now try linking the two files.
5613 mv conftest.$ac_objext conftstm.$ac_objext
5614 lt_save_LIBS="$LIBS"
5615 lt_save_CFLAGS="$CFLAGS"
5616 LIBS="conftstm.$ac_objext"
5617 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619 (eval $ac_link) 2>&5
5620 ac_status=$?
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5623 pipe_works=yes
5625 LIBS="$lt_save_LIBS"
5626 CFLAGS="$lt_save_CFLAGS"
5627 else
5628 echo "cannot find nm_test_func in $nlist" >&5
5630 else
5631 echo "cannot find nm_test_var in $nlist" >&5
5633 else
5634 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5636 else
5637 echo "$progname: failed program was:" >&5
5638 cat conftest.$ac_ext >&5
5640 rm -f conftest* conftst*
5642 # Do not use the global_symbol_pipe unless it works.
5643 if test "$pipe_works" = yes; then
5644 break
5645 else
5646 lt_cv_sys_global_symbol_pipe=
5648 done
5652 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5653 lt_cv_sys_global_symbol_to_cdecl=
5655 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5656 echo "$as_me:$LINENO: result: failed" >&5
5657 echo "${ECHO_T}failed" >&6
5658 else
5659 echo "$as_me:$LINENO: result: ok" >&5
5660 echo "${ECHO_T}ok" >&6
5679 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5680 if test "${enable_libtool_lock+set}" = set; then
5681 enableval="$enable_libtool_lock"
5684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5686 # Some flags need to be propagated to the compiler or linker for good
5687 # libtool support.
5688 case $host in
5689 ia64-*-hpux*)
5690 # Find out which ABI we are using.
5691 echo 'int i;' > conftest.$ac_ext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>&5
5694 ac_status=$?
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; then
5697 case `/usr/bin/file conftest.$ac_objext` in
5698 *ELF-32*)
5699 HPUX_IA64_MODE="32"
5701 *ELF-64*)
5702 HPUX_IA64_MODE="64"
5704 esac
5706 rm -rf conftest*
5708 *-*-irix6*)
5709 # Find out which ABI we are using.
5710 echo '#line 5710 "configure"' > conftest.$ac_ext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5713 ac_status=$?
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; then
5716 if test "$lt_cv_prog_gnu_ld" = yes; then
5717 case `/usr/bin/file conftest.$ac_objext` in
5718 *32-bit*)
5719 LD="${LD-ld} -melf32bsmip"
5721 *N32*)
5722 LD="${LD-ld} -melf32bmipn32"
5724 *64-bit*)
5725 LD="${LD-ld} -melf64bmip"
5727 esac
5728 else
5729 case `/usr/bin/file conftest.$ac_objext` in
5730 *32-bit*)
5731 LD="${LD-ld} -32"
5733 *N32*)
5734 LD="${LD-ld} -n32"
5736 *64-bit*)
5737 LD="${LD-ld} -64"
5739 esac
5742 rm -rf conftest*
5745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5747 # Find out which ABI we are using.
5748 echo 'int i;' > conftest.$ac_ext
5749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5750 (eval $ac_compile) 2>&5
5751 ac_status=$?
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; then
5754 case `/usr/bin/file conftest.o` in
5755 *32-bit*)
5756 case $host in
5757 x86_64-*kfreebsd*-gnu)
5758 LD="${LD-ld} -m elf_i386_fbsd"
5760 x86_64-*linux*)
5761 LD="${LD-ld} -m elf_i386"
5763 ppc64-*linux*|powerpc64-*linux*)
5764 LD="${LD-ld} -m elf32ppclinux"
5766 s390x-*linux*)
5767 LD="${LD-ld} -m elf_s390"
5769 sparc64-*linux*)
5770 LD="${LD-ld} -m elf32_sparc"
5772 esac
5774 *64-bit*)
5775 case $host in
5776 x86_64-*kfreebsd*-gnu)
5777 LD="${LD-ld} -m elf_x86_64_fbsd"
5779 x86_64-*linux*)
5780 LD="${LD-ld} -m elf_x86_64"
5782 ppc*-*linux*|powerpc*-*linux*)
5783 LD="${LD-ld} -m elf64ppc"
5785 s390*-*linux*|s390*-*tpf*)
5786 LD="${LD-ld} -m elf64_s390"
5788 sparc*-*linux*)
5789 LD="${LD-ld} -m elf64_sparc"
5791 esac
5793 esac
5795 rm -rf conftest*
5798 *-*-sco3.2v5*)
5799 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5800 SAVE_CFLAGS="$CFLAGS"
5801 CFLAGS="$CFLAGS -belf"
5802 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5803 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5804 if test "${lt_cv_cc_needs_belf+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 else
5807 ac_ext=c
5808 ac_cpp='$CPP $CPPFLAGS'
5809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5813 if test x$gcc_no_link = xyes; then
5814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5816 { (exit 1); exit 1; }; }
5818 cat >conftest.$ac_ext <<_ACEOF
5819 /* confdefs.h. */
5820 _ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5826 main ()
5830 return 0;
5832 _ACEOF
5833 rm -f conftest.$ac_objext conftest$ac_exeext
5834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5835 (eval $ac_link) 2>conftest.er1
5836 ac_status=$?
5837 grep -v '^ *+' conftest.er1 >conftest.err
5838 rm -f conftest.er1
5839 cat conftest.err >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try='test -z "$ac_c_werror_flag"
5843 || test ! -s conftest.err'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 (eval $ac_try) 2>&5
5846 ac_status=$?
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; } &&
5849 { ac_try='test -s conftest$ac_exeext'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 (eval $ac_try) 2>&5
5852 ac_status=$?
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5855 lt_cv_cc_needs_belf=yes
5856 else
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5860 lt_cv_cc_needs_belf=no
5862 rm -f conftest.err conftest.$ac_objext \
5863 conftest$ac_exeext conftest.$ac_ext
5864 ac_ext=c
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5871 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5872 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5873 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5874 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5875 CFLAGS="$SAVE_CFLAGS"
5878 sparc*-*solaris*)
5879 # Find out which ABI we are using.
5880 echo 'int i;' > conftest.$ac_ext
5881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5882 (eval $ac_compile) 2>&5
5883 ac_status=$?
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; then
5886 case `/usr/bin/file conftest.o` in
5887 *64-bit*)
5888 case $lt_cv_prog_gnu_ld in
5889 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5890 *) LD="${LD-ld} -64" ;;
5891 esac
5893 esac
5895 rm -rf conftest*
5897 esac
5899 need_locks="$enable_libtool_lock"
5901 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5902 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5903 if test "${ac_cv_header_stdc+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 else
5906 cat >conftest.$ac_ext <<_ACEOF
5907 /* confdefs.h. */
5908 _ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 #include <stdlib.h>
5913 #include <stdarg.h>
5914 #include <string.h>
5915 #include <float.h>
5918 main ()
5922 return 0;
5924 _ACEOF
5925 rm -f conftest.$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927 (eval $ac_compile) 2>conftest.er1
5928 ac_status=$?
5929 grep -v '^ *+' conftest.er1 >conftest.err
5930 rm -f conftest.er1
5931 cat conftest.err >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } &&
5934 { ac_try='test -z "$ac_c_werror_flag"
5935 || test ! -s conftest.err'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 (eval $ac_try) 2>&5
5938 ac_status=$?
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try='test -s conftest.$ac_objext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 (eval $ac_try) 2>&5
5944 ac_status=$?
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 ac_cv_header_stdc=yes
5948 else
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5952 ac_cv_header_stdc=no
5954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5956 if test $ac_cv_header_stdc = yes; then
5957 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <string.h>
5966 _ACEOF
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "memchr" >/dev/null 2>&1; then
5970 else
5971 ac_cv_header_stdc=no
5973 rm -f conftest*
5977 if test $ac_cv_header_stdc = yes; then
5978 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h. */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <stdlib.h>
5987 _ACEOF
5988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5989 $EGREP "free" >/dev/null 2>&1; then
5991 else
5992 ac_cv_header_stdc=no
5994 rm -f conftest*
5998 if test $ac_cv_header_stdc = yes; then
5999 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6000 if test "$cross_compiling" = yes; then
6002 else
6003 cat >conftest.$ac_ext <<_ACEOF
6004 /* confdefs.h. */
6005 _ACEOF
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6009 #include <ctype.h>
6010 #if ((' ' & 0x0FF) == 0x020)
6011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6013 #else
6014 # define ISLOWER(c) \
6015 (('a' <= (c) && (c) <= 'i') \
6016 || ('j' <= (c) && (c) <= 'r') \
6017 || ('s' <= (c) && (c) <= 'z'))
6018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6019 #endif
6021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6023 main ()
6025 int i;
6026 for (i = 0; i < 256; i++)
6027 if (XOR (islower (i), ISLOWER (i))
6028 || toupper (i) != TOUPPER (i))
6029 exit(2);
6030 exit (0);
6032 _ACEOF
6033 rm -f conftest$ac_exeext
6034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6035 (eval $ac_link) 2>&5
6036 ac_status=$?
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 (eval $ac_try) 2>&5
6041 ac_status=$?
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6045 else
6046 echo "$as_me: program exited with status $ac_status" >&5
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6050 ( exit $ac_status )
6051 ac_cv_header_stdc=no
6053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6057 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6058 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6059 if test $ac_cv_header_stdc = yes; then
6061 cat >>confdefs.h <<\_ACEOF
6062 #define STDC_HEADERS 1
6063 _ACEOF
6067 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6078 inttypes.h stdint.h unistd.h
6080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6081 echo "$as_me:$LINENO: checking for $ac_header" >&5
6082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 else
6086 cat >conftest.$ac_ext <<_ACEOF
6087 /* confdefs.h. */
6088 _ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6092 $ac_includes_default
6094 #include <$ac_header>
6095 _ACEOF
6096 rm -f conftest.$ac_objext
6097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6098 (eval $ac_compile) 2>conftest.er1
6099 ac_status=$?
6100 grep -v '^ *+' conftest.er1 >conftest.err
6101 rm -f conftest.er1
6102 cat conftest.err >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); } &&
6105 { ac_try='test -z "$ac_c_werror_flag"
6106 || test ! -s conftest.err'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 (eval $ac_try) 2>&5
6109 ac_status=$?
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; } &&
6112 { ac_try='test -s conftest.$ac_objext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 (eval $ac_try) 2>&5
6115 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 eval "$as_ac_Header=yes"
6119 else
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 eval "$as_ac_Header=no"
6125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6136 done
6140 for ac_header in dlfcn.h
6142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6143 echo "$as_me:$LINENO: checking for $ac_header" >&5
6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 else
6148 cat >conftest.$ac_ext <<_ACEOF
6149 /* confdefs.h. */
6150 _ACEOF
6151 cat confdefs.h >>conftest.$ac_ext
6152 cat >>conftest.$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6154 $ac_includes_default
6156 #include <$ac_header>
6157 _ACEOF
6158 rm -f conftest.$ac_objext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6160 (eval $ac_compile) 2>conftest.er1
6161 ac_status=$?
6162 grep -v '^ *+' conftest.er1 >conftest.err
6163 rm -f conftest.er1
6164 cat conftest.err >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try='test -z "$ac_c_werror_flag"
6168 || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 (eval $ac_try) 2>&5
6171 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try='test -s conftest.$ac_objext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 (eval $ac_try) 2>&5
6177 ac_status=$?
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 eval "$as_ac_Header=yes"
6181 else
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.$ac_ext >&5
6185 eval "$as_ac_Header=no"
6187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6192 cat >>confdefs.h <<_ACEOF
6193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6194 _ACEOF
6198 done
6202 ac_ext=cc
6203 ac_cpp='$CXXCPP $CPPFLAGS'
6204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6207 if test -n "$ac_tool_prefix"; then
6208 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6211 set dummy $ac_tool_prefix$ac_prog; 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 "${glibcxx_cv_prog_CXX+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$CXX"; then
6218 glibcxx_cv_prog_CXX="$CXX" # 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 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6236 CXX=$glibcxx_cv_prog_CXX
6237 if test -n "$CXX"; then
6238 echo "$as_me:$LINENO: result: $CXX" >&5
6239 echo "${ECHO_T}$CXX" >&6
6240 else
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6245 test -n "$CXX" && break
6246 done
6248 if test -z "$CXX"; then
6249 ac_ct_CXX=$CXX
6250 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; 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_ac_ct_CXX+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$ac_ct_CXX"; then
6260 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_ac_ct_CXX="$ac_prog"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6278 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6279 if test -n "$ac_ct_CXX"; then
6280 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6281 echo "${ECHO_T}$ac_ct_CXX" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6287 test -n "$ac_ct_CXX" && break
6288 done
6289 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6291 CXX=$ac_ct_CXX
6295 # Provide some information about the compiler.
6296 echo "$as_me:$LINENO:" \
6297 "checking for C++ compiler version" >&5
6298 ac_compiler=`set X $ac_compile; echo $2`
6299 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6300 (eval $ac_compiler --version </dev/null >&5) 2>&5
6301 ac_status=$?
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }
6304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6305 (eval $ac_compiler -v </dev/null >&5) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }
6309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6310 (eval $ac_compiler -V </dev/null >&5) 2>&5
6311 ac_status=$?
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }
6315 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6316 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6317 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 else
6320 cat >conftest.$ac_ext <<_ACEOF
6321 /* confdefs.h. */
6322 _ACEOF
6323 cat confdefs.h >>conftest.$ac_ext
6324 cat >>conftest.$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6328 main ()
6330 #ifndef __GNUC__
6331 choke me
6332 #endif
6335 return 0;
6337 _ACEOF
6338 rm -f conftest.$ac_objext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6340 (eval $ac_compile) 2>conftest.er1
6341 ac_status=$?
6342 grep -v '^ *+' conftest.er1 >conftest.err
6343 rm -f conftest.er1
6344 cat conftest.err >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try='test -z "$ac_cxx_werror_flag"
6348 || test ! -s conftest.err'
6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350 (eval $ac_try) 2>&5
6351 ac_status=$?
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); }; } &&
6354 { ac_try='test -s conftest.$ac_objext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356 (eval $ac_try) 2>&5
6357 ac_status=$?
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 ac_compiler_gnu=yes
6361 else
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.$ac_ext >&5
6365 ac_compiler_gnu=no
6367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6368 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6371 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6372 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6373 GXX=`test $ac_compiler_gnu = yes && echo yes`
6374 ac_test_CXXFLAGS=${CXXFLAGS+set}
6375 ac_save_CXXFLAGS=$CXXFLAGS
6376 CXXFLAGS="-g"
6377 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6378 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6379 if test "${ac_cv_prog_cxx_g+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 else
6382 cat >conftest.$ac_ext <<_ACEOF
6383 /* confdefs.h. */
6384 _ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6390 main ()
6394 return 0;
6396 _ACEOF
6397 rm -f conftest.$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399 (eval $ac_compile) 2>conftest.er1
6400 ac_status=$?
6401 grep -v '^ *+' conftest.er1 >conftest.err
6402 rm -f conftest.er1
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try='test -z "$ac_cxx_werror_flag"
6407 || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409 (eval $ac_try) 2>&5
6410 ac_status=$?
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try='test -s conftest.$ac_objext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 (eval $ac_try) 2>&5
6416 ac_status=$?
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6419 ac_cv_prog_cxx_g=yes
6420 else
6421 echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.$ac_ext >&5
6424 ac_cv_prog_cxx_g=no
6426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6428 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6430 if test "$ac_test_CXXFLAGS" = set; then
6431 CXXFLAGS=$ac_save_CXXFLAGS
6432 elif test $ac_cv_prog_cxx_g = yes; then
6433 if test "$GXX" = yes; then
6434 CXXFLAGS="-g -O2"
6435 else
6436 CXXFLAGS="-g"
6438 else
6439 if test "$GXX" = yes; then
6440 CXXFLAGS="-O2"
6441 else
6442 CXXFLAGS=
6445 for ac_declaration in \
6446 '' \
6447 'extern "C" void std::exit (int) throw (); using std::exit;' \
6448 'extern "C" void std::exit (int); using std::exit;' \
6449 'extern "C" void exit (int) throw ();' \
6450 'extern "C" void exit (int);' \
6451 'void exit (int);'
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 $ac_declaration
6460 #include <stdlib.h>
6462 main ()
6464 exit (42);
6466 return 0;
6468 _ACEOF
6469 rm -f conftest.$ac_objext
6470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6471 (eval $ac_compile) 2>conftest.er1
6472 ac_status=$?
6473 grep -v '^ *+' conftest.er1 >conftest.err
6474 rm -f conftest.er1
6475 cat conftest.err >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try='test -z "$ac_cxx_werror_flag"
6479 || test ! -s conftest.err'
6480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 (eval $ac_try) 2>&5
6482 ac_status=$?
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; } &&
6485 { ac_try='test -s conftest.$ac_objext'
6486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 (eval $ac_try) 2>&5
6488 ac_status=$?
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); }; }; then
6492 else
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.$ac_ext >&5
6496 continue
6498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 $ac_declaration
6507 main ()
6509 exit (42);
6511 return 0;
6513 _ACEOF
6514 rm -f conftest.$ac_objext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6516 (eval $ac_compile) 2>conftest.er1
6517 ac_status=$?
6518 grep -v '^ *+' conftest.er1 >conftest.err
6519 rm -f conftest.er1
6520 cat conftest.err >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try='test -z "$ac_cxx_werror_flag"
6524 || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 (eval $ac_try) 2>&5
6527 ac_status=$?
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; } &&
6530 { ac_try='test -s conftest.$ac_objext'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 (eval $ac_try) 2>&5
6533 ac_status=$?
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 break
6537 else
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6543 done
6544 rm -f conftest*
6545 if test -n "$ac_declaration"; then
6546 echo '#ifdef __cplusplus' >>confdefs.h
6547 echo $ac_declaration >>confdefs.h
6548 echo '#endif' >>confdefs.h
6551 ac_ext=c
6552 ac_cpp='$CPP $CPPFLAGS'
6553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6557 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6558 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6559 (test "X$CXX" != "Xg++"))) ; then
6560 ac_ext=cc
6561 ac_cpp='$CXXCPP $CPPFLAGS'
6562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6565 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6566 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6567 if test -z "$CXXCPP"; then
6568 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 else
6571 # Double quotes because CXXCPP needs to be expanded
6572 for CXXCPP in "$CXX -E" "/lib/cpp"
6574 ac_preproc_ok=false
6575 for ac_cxx_preproc_warn_flag in '' yes
6577 # Use a header file that comes with gcc, so configuring glibc
6578 # with a fresh cross-compiler works.
6579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6580 # <limits.h> exists even on freestanding compilers.
6581 # On the NeXT, cc -E runs the code through the compiler's parser,
6582 # not just through cpp. "Syntax error" is here to catch this case.
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 #ifdef __STDC__
6590 # include <limits.h>
6591 #else
6592 # include <assert.h>
6593 #endif
6594 Syntax error
6595 _ACEOF
6596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6598 ac_status=$?
6599 grep -v '^ *+' conftest.er1 >conftest.err
6600 rm -f conftest.er1
6601 cat conftest.err >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } >/dev/null; then
6604 if test -s conftest.err; then
6605 ac_cpp_err=$ac_cxx_preproc_warn_flag
6606 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6607 else
6608 ac_cpp_err=
6610 else
6611 ac_cpp_err=yes
6613 if test -z "$ac_cpp_err"; then
6615 else
6616 echo "$as_me: failed program was:" >&5
6617 sed 's/^/| /' conftest.$ac_ext >&5
6619 # Broken: fails on valid input.
6620 continue
6622 rm -f conftest.err conftest.$ac_ext
6624 # OK, works on sane cases. Now check whether non-existent headers
6625 # can be detected and how.
6626 cat >conftest.$ac_ext <<_ACEOF
6627 /* confdefs.h. */
6628 _ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6632 #include <ac_nonexistent.h>
6633 _ACEOF
6634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6636 ac_status=$?
6637 grep -v '^ *+' conftest.er1 >conftest.err
6638 rm -f conftest.er1
6639 cat conftest.err >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } >/dev/null; then
6642 if test -s conftest.err; then
6643 ac_cpp_err=$ac_cxx_preproc_warn_flag
6644 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6645 else
6646 ac_cpp_err=
6648 else
6649 ac_cpp_err=yes
6651 if test -z "$ac_cpp_err"; then
6652 # Broken: success on invalid input.
6653 continue
6654 else
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6658 # Passes both tests.
6659 ac_preproc_ok=:
6660 break
6662 rm -f conftest.err conftest.$ac_ext
6664 done
6665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6666 rm -f conftest.err conftest.$ac_ext
6667 if $ac_preproc_ok; then
6668 break
6671 done
6672 ac_cv_prog_CXXCPP=$CXXCPP
6675 CXXCPP=$ac_cv_prog_CXXCPP
6676 else
6677 ac_cv_prog_CXXCPP=$CXXCPP
6679 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6680 echo "${ECHO_T}$CXXCPP" >&6
6681 ac_preproc_ok=false
6682 for ac_cxx_preproc_warn_flag in '' yes
6684 # Use a header file that comes with gcc, so configuring glibc
6685 # with a fresh cross-compiler works.
6686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687 # <limits.h> exists even on freestanding compilers.
6688 # On the NeXT, cc -E runs the code through the compiler's parser,
6689 # not just through cpp. "Syntax error" is here to catch this case.
6690 cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h. */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 #ifdef __STDC__
6697 # include <limits.h>
6698 #else
6699 # include <assert.h>
6700 #endif
6701 Syntax error
6702 _ACEOF
6703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6705 ac_status=$?
6706 grep -v '^ *+' conftest.er1 >conftest.err
6707 rm -f conftest.er1
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } >/dev/null; then
6711 if test -s conftest.err; then
6712 ac_cpp_err=$ac_cxx_preproc_warn_flag
6713 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6714 else
6715 ac_cpp_err=
6717 else
6718 ac_cpp_err=yes
6720 if test -z "$ac_cpp_err"; then
6722 else
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6726 # Broken: fails on valid input.
6727 continue
6729 rm -f conftest.err conftest.$ac_ext
6731 # OK, works on sane cases. Now check whether non-existent headers
6732 # can be detected and how.
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 #include <ac_nonexistent.h>
6740 _ACEOF
6741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6743 ac_status=$?
6744 grep -v '^ *+' conftest.er1 >conftest.err
6745 rm -f conftest.er1
6746 cat conftest.err >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } >/dev/null; then
6749 if test -s conftest.err; then
6750 ac_cpp_err=$ac_cxx_preproc_warn_flag
6751 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6752 else
6753 ac_cpp_err=
6755 else
6756 ac_cpp_err=yes
6758 if test -z "$ac_cpp_err"; then
6759 # Broken: success on invalid input.
6760 continue
6761 else
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6765 # Passes both tests.
6766 ac_preproc_ok=:
6767 break
6769 rm -f conftest.err conftest.$ac_ext
6771 done
6772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6773 rm -f conftest.err conftest.$ac_ext
6774 if $ac_preproc_ok; then
6776 else
6777 _lt_caught_CXX_error=yes
6780 ac_ext=c
6781 ac_cpp='$CPP $CPPFLAGS'
6782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6786 else
6787 _lt_caught_CXX_error=yes
6794 # This can be used to rebuild libtool when needed
6795 LIBTOOL_DEPS="$ltmain"
6797 # Always use our own libtool.
6798 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6824 test -z "$LN_S" && LN_S="ln -s"
6839 if test -n "${ZSH_VERSION+set}" ; then
6840 setopt NO_GLOB_SUBST
6843 echo "$as_me:$LINENO: checking for objdir" >&5
6844 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6845 if test "${lt_cv_objdir+set}" = set; then
6846 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 else
6848 rm -f .libs 2>/dev/null
6849 mkdir .libs 2>/dev/null
6850 if test -d .libs; then
6851 lt_cv_objdir=.libs
6852 else
6853 # MS-DOS does not allow filenames that begin with a dot.
6854 lt_cv_objdir=_libs
6856 rmdir .libs 2>/dev/null
6858 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6859 echo "${ECHO_T}$lt_cv_objdir" >&6
6860 objdir=$lt_cv_objdir
6866 cat >>confdefs.h <<_ACEOF
6867 #define LT_OBJDIR "$lt_cv_objdir/"
6868 _ACEOF
6886 case $host_os in
6887 aix3*)
6888 # AIX sometimes has problems with the GCC collect2 program. For some
6889 # reason, if we set the COLLECT_NAMES environment variable, the problems
6890 # vanish in a puff of smoke.
6891 if test "X${COLLECT_NAMES+set}" != Xset; then
6892 COLLECT_NAMES=
6893 export COLLECT_NAMES
6896 esac
6898 # Sed substitution that helps us do robust quoting. It backslashifies
6899 # metacharacters that are still active within double-quoted strings.
6900 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6902 # Same as above, but do not quote variable references.
6903 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6905 # Sed substitution to delay expansion of an escaped shell variable in a
6906 # double_quote_subst'ed string.
6907 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6909 # Sed substitution to delay expansion of an escaped single quote.
6910 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6912 # Sed substitution to avoid accidental globbing in evaled expressions
6913 no_glob_subst='s/\*/\\\*/g'
6915 # Global variables:
6916 ofile=libtool
6917 can_build_shared=yes
6919 # All known linkers require a `.a' archive for static linking (except MSVC,
6920 # which needs '.lib').
6921 libext=a
6923 with_gnu_ld="$lt_cv_prog_gnu_ld"
6925 old_CC="$CC"
6926 old_CFLAGS="$CFLAGS"
6928 # Set sane defaults for various variables
6929 test -z "$CC" && CC=cc
6930 test -z "$LTCC" && LTCC=$CC
6931 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6932 test -z "$LD" && LD=ld
6933 test -z "$ac_objext" && ac_objext=o
6935 for cc_temp in $compiler""; do
6936 case $cc_temp in
6937 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6938 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6939 \-*) ;;
6940 *) break;;
6941 esac
6942 done
6943 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6946 # Only perform the check for file, if the check method requires it
6947 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6948 case $deplibs_check_method in
6949 file_magic*)
6950 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6951 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6952 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6953 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956 case $MAGIC_CMD in
6957 [\\/*] | ?:[\\/]*)
6958 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6961 lt_save_MAGIC_CMD="$MAGIC_CMD"
6962 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6963 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6964 for ac_dir in $ac_dummy; do
6965 IFS="$lt_save_ifs"
6966 test -z "$ac_dir" && ac_dir=.
6967 if test -f $ac_dir/${ac_tool_prefix}file; then
6968 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6969 if test -n "$file_magic_test_file"; then
6970 case $deplibs_check_method in
6971 "file_magic "*)
6972 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6973 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6974 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6975 $EGREP "$file_magic_regex" > /dev/null; then
6977 else
6978 cat <<_LT_EOF 1>&2
6980 *** Warning: the command libtool uses to detect shared libraries,
6981 *** $file_magic_cmd, produces output that libtool cannot recognize.
6982 *** The result is that libtool may fail to recognize shared libraries
6983 *** as such. This will affect the creation of libtool libraries that
6984 *** depend on shared libraries, but programs linked with such libtool
6985 *** libraries will work regardless of this problem. Nevertheless, you
6986 *** may want to report the problem to your system manager and/or to
6987 *** bug-libtool@gnu.org
6989 _LT_EOF
6990 fi ;;
6991 esac
6993 break
6995 done
6996 IFS="$lt_save_ifs"
6997 MAGIC_CMD="$lt_save_MAGIC_CMD"
6999 esac
7002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7003 if test -n "$MAGIC_CMD"; then
7004 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7005 echo "${ECHO_T}$MAGIC_CMD" >&6
7006 else
7007 echo "$as_me:$LINENO: result: no" >&5
7008 echo "${ECHO_T}no" >&6
7015 if test -z "$lt_cv_path_MAGIC_CMD"; then
7016 if test -n "$ac_tool_prefix"; then
7017 echo "$as_me:$LINENO: checking for file" >&5
7018 echo $ECHO_N "checking for file... $ECHO_C" >&6
7019 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 else
7022 case $MAGIC_CMD in
7023 [\\/*] | ?:[\\/]*)
7024 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7027 lt_save_MAGIC_CMD="$MAGIC_CMD"
7028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7030 for ac_dir in $ac_dummy; do
7031 IFS="$lt_save_ifs"
7032 test -z "$ac_dir" && ac_dir=.
7033 if test -f $ac_dir/file; then
7034 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7035 if test -n "$file_magic_test_file"; then
7036 case $deplibs_check_method in
7037 "file_magic "*)
7038 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7040 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7041 $EGREP "$file_magic_regex" > /dev/null; then
7043 else
7044 cat <<_LT_EOF 1>&2
7046 *** Warning: the command libtool uses to detect shared libraries,
7047 *** $file_magic_cmd, produces output that libtool cannot recognize.
7048 *** The result is that libtool may fail to recognize shared libraries
7049 *** as such. This will affect the creation of libtool libraries that
7050 *** depend on shared libraries, but programs linked with such libtool
7051 *** libraries will work regardless of this problem. Nevertheless, you
7052 *** may want to report the problem to your system manager and/or to
7053 *** bug-libtool@gnu.org
7055 _LT_EOF
7056 fi ;;
7057 esac
7059 break
7061 done
7062 IFS="$lt_save_ifs"
7063 MAGIC_CMD="$lt_save_MAGIC_CMD"
7065 esac
7068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7069 if test -n "$MAGIC_CMD"; then
7070 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7071 echo "${ECHO_T}$MAGIC_CMD" >&6
7072 else
7073 echo "$as_me:$LINENO: result: no" >&5
7074 echo "${ECHO_T}no" >&6
7078 else
7079 MAGIC_CMD=:
7085 esac
7087 # Use C for the default configuration in the libtool script
7089 lt_save_CC="$CC"
7090 ac_ext=c
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7097 # Source file extension for C test sources.
7098 ac_ext=c
7100 # Object file extension for compiled C test sources.
7101 objext=o
7102 objext=$objext
7104 # Code to be used in simple compile tests
7105 lt_simple_compile_test_code="int some_variable = 0;"
7107 # Code to be used in simple link tests
7108 lt_simple_link_test_code='int main(){return(0);}'
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7125 # Save the default compiler, since it gets overwritten when the other
7126 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7127 compiler_DEFAULT=$CC
7129 # save warnings/boilerplate of simple test code
7130 ac_outfile=conftest.$ac_objext
7131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7133 _lt_compiler_boilerplate=`cat conftest.err`
7134 $RM conftest*
7136 ac_outfile=conftest.$ac_objext
7137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7139 _lt_linker_boilerplate=`cat conftest.err`
7140 $RM conftest*
7143 ## CAVEAT EMPTOR:
7144 ## There is no encapsulation within the following macros, do not change
7145 ## the running order or otherwise move them around unless you know exactly
7146 ## what you are doing...
7147 if test -n "$compiler"; then
7149 lt_prog_compiler_no_builtin_flag=
7151 if test "$GCC" = yes; then
7152 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7154 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7155 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7156 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 lt_cv_prog_compiler_rtti_exceptions=no
7160 ac_outfile=conftest.$ac_objext
7161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7162 lt_compiler_flag="-fno-rtti -fno-exceptions"
7163 # Insert the option either (1) after the last *FLAGS variable, or
7164 # (2) before a word containing "conftest.", or (3) at the end.
7165 # Note that $ac_compile itself does not contain backslashes and begins
7166 # with a dollar sign (not a hyphen), so the echo should work correctly.
7167 # The option is referenced via a variable to avoid confusing sed.
7168 lt_compile=`echo "$ac_compile" | $SED \
7169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7171 -e 's:$: $lt_compiler_flag:'`
7172 (eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
7173 (eval "$lt_compile" 2>conftest.err)
7174 ac_status=$?
7175 cat conftest.err >&5
7176 echo "$as_me:7176: \$? = $ac_status" >&5
7177 if (exit $ac_status) && test -s "$ac_outfile"; then
7178 # The compiler can only warn and ignore the option if not recognized
7179 # So say no if there are warnings other than the usual output.
7180 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7181 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7182 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7183 lt_cv_prog_compiler_rtti_exceptions=yes
7186 $RM conftest*
7189 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7190 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7192 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7193 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7194 else
7205 lt_prog_compiler_wl=
7206 lt_prog_compiler_pic=
7207 lt_prog_compiler_static=
7209 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7210 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7212 if test "$GCC" = yes; then
7213 lt_prog_compiler_wl='-Wl,'
7214 lt_prog_compiler_static='-static'
7216 case $host_os in
7217 aix*)
7218 # All AIX code is PIC.
7219 if test "$host_cpu" = ia64; then
7220 # AIX 5 now supports IA64 processor
7221 lt_prog_compiler_static='-Bstatic'
7225 amigaos*)
7226 if test "$host_cpu" = m68k; then
7227 # FIXME: we need at least 68020 code to build shared libraries, but
7228 # adding the `-m68020' flag to GCC prevents building anything better,
7229 # like `-m68040'.
7230 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7234 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7235 # PIC is the default for these OSes.
7238 mingw* | cygwin* | pw32* | os2*)
7239 # This hack is so that the source file can tell whether it is being
7240 # built for inclusion in a dll (and should export symbols for example).
7241 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7242 # (--disable-auto-import) libraries
7243 lt_prog_compiler_pic='-DDLL_EXPORT'
7246 darwin* | rhapsody*)
7247 # PIC is the default on this platform
7248 # Common symbols not allowed in MH_DYLIB files
7249 lt_prog_compiler_pic='-fno-common'
7252 hpux*)
7253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7254 # not for PA HP-UX.
7255 case $host_cpu in
7256 hppa*64*|ia64*)
7257 # +Z the default
7260 lt_prog_compiler_pic='-fPIC'
7262 esac
7265 interix[3-9]*)
7266 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7267 # Instead, we relocate shared libraries at runtime.
7270 msdosdjgpp*)
7271 # Just because we use GCC doesn't mean we suddenly get shared libraries
7272 # on systems that don't support them.
7273 lt_prog_compiler_can_build_shared=no
7274 enable_shared=no
7277 *nto* | *qnx*)
7278 # QNX uses GNU C++, but need to define -shared option too, otherwise
7279 # it will coredump.
7280 lt_prog_compiler_pic='-fPIC -shared'
7283 sysv4*MP*)
7284 if test -d /usr/nec; then
7285 lt_prog_compiler_pic=-Kconform_pic
7290 lt_prog_compiler_pic='-fPIC'
7292 esac
7293 else
7294 # PORTME Check for flag to pass linker flags through the system compiler.
7295 case $host_os in
7296 aix*)
7297 lt_prog_compiler_wl='-Wl,'
7298 if test "$host_cpu" = ia64; then
7299 # AIX 5 now supports IA64 processor
7300 lt_prog_compiler_static='-Bstatic'
7301 else
7302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7305 darwin*)
7306 # PIC is the default on this platform
7307 # Common symbols not allowed in MH_DYLIB files
7308 case $cc_basename in
7309 xlc*)
7310 lt_prog_compiler_pic='-qnocommon'
7311 lt_prog_compiler_wl='-Wl,'
7313 esac
7316 mingw* | cygwin* | pw32* | os2*)
7317 # This hack is so that the source file can tell whether it is being
7318 # built for inclusion in a dll (and should export symbols for example).
7319 lt_prog_compiler_pic='-DDLL_EXPORT'
7322 hpux9* | hpux10* | hpux11*)
7323 lt_prog_compiler_wl='-Wl,'
7324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7325 # not for PA HP-UX.
7326 case $host_cpu in
7327 hppa*64*|ia64*)
7328 # +Z the default
7331 lt_prog_compiler_pic='+Z'
7333 esac
7334 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7335 lt_prog_compiler_static='${wl}-a ${wl}archive'
7338 irix5* | irix6* | nonstopux*)
7339 lt_prog_compiler_wl='-Wl,'
7340 # PIC (with -KPIC) is the default.
7341 lt_prog_compiler_static='-non_shared'
7344 linux* | k*bsd*-gnu)
7345 case $cc_basename in
7346 icc* | ecc*)
7347 lt_prog_compiler_wl='-Wl,'
7348 lt_prog_compiler_pic='-KPIC'
7349 lt_prog_compiler_static='-static'
7351 pgcc* | pgf77* | pgf90* | pgf95*)
7352 # Portland Group compilers (*not* the Pentium gcc compiler,
7353 # which looks to be a dead project)
7354 lt_prog_compiler_wl='-Wl,'
7355 lt_prog_compiler_pic='-fpic'
7356 lt_prog_compiler_static='-Bstatic'
7358 ccc*)
7359 lt_prog_compiler_wl='-Wl,'
7360 # All Alpha code is PIC.
7361 lt_prog_compiler_static='-non_shared'
7364 case `$CC -V 2>&1 | sed 5q` in
7365 *Sun\ C*)
7366 # Sun C 5.9
7367 lt_prog_compiler_pic='-KPIC'
7368 lt_prog_compiler_static='-Bstatic'
7369 lt_prog_compiler_wl='-Wl,'
7371 *Sun\ F*)
7372 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7373 lt_prog_compiler_pic='-KPIC'
7374 lt_prog_compiler_static='-Bstatic'
7375 lt_prog_compiler_wl=''
7377 esac
7379 esac
7382 newsos6)
7383 lt_prog_compiler_pic='-KPIC'
7384 lt_prog_compiler_static='-Bstatic'
7387 *nto* | *qnx*)
7388 # QNX uses GNU C++, but need to define -shared option too, otherwise
7389 # it will coredump.
7390 lt_prog_compiler_pic='-fPIC -shared'
7393 osf3* | osf4* | osf5*)
7394 lt_prog_compiler_wl='-Wl,'
7395 # All OSF/1 code is PIC.
7396 lt_prog_compiler_static='-non_shared'
7399 rdos*)
7400 lt_prog_compiler_static='-non_shared'
7403 solaris*)
7404 lt_prog_compiler_pic='-KPIC'
7405 lt_prog_compiler_static='-Bstatic'
7406 case $cc_basename in
7407 f77* | f90* | f95*)
7408 lt_prog_compiler_wl='-Qoption ld ';;
7410 lt_prog_compiler_wl='-Wl,';;
7411 esac
7414 sunos4*)
7415 lt_prog_compiler_wl='-Qoption ld '
7416 lt_prog_compiler_pic='-PIC'
7417 lt_prog_compiler_static='-Bstatic'
7420 sysv4 | sysv4.2uw2* | sysv4.3*)
7421 lt_prog_compiler_wl='-Wl,'
7422 lt_prog_compiler_pic='-KPIC'
7423 lt_prog_compiler_static='-Bstatic'
7426 sysv4*MP*)
7427 if test -d /usr/nec ;then
7428 lt_prog_compiler_pic='-Kconform_pic'
7429 lt_prog_compiler_static='-Bstatic'
7433 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7434 lt_prog_compiler_wl='-Wl,'
7435 lt_prog_compiler_pic='-KPIC'
7436 lt_prog_compiler_static='-Bstatic'
7439 unicos*)
7440 lt_prog_compiler_wl='-Wl,'
7441 lt_prog_compiler_can_build_shared=no
7444 uts4*)
7445 lt_prog_compiler_pic='-pic'
7446 lt_prog_compiler_static='-Bstatic'
7450 lt_prog_compiler_can_build_shared=no
7452 esac
7455 case $host_os in
7456 # For platforms which do not support PIC, -DPIC is meaningless:
7457 *djgpp*)
7458 lt_prog_compiler_pic=
7461 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7463 esac
7464 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7465 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7473 # Check to make sure the PIC flag actually works.
7475 if test -n "$lt_prog_compiler_pic"; then
7476 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7477 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7478 if test "${lt_prog_compiler_pic_works+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 else
7481 lt_prog_compiler_pic_works=no
7482 ac_outfile=conftest.$ac_objext
7483 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7484 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7485 # Insert the option either (1) after the last *FLAGS variable, or
7486 # (2) before a word containing "conftest.", or (3) at the end.
7487 # Note that $ac_compile itself does not contain backslashes and begins
7488 # with a dollar sign (not a hyphen), so the echo should work correctly.
7489 # The option is referenced via a variable to avoid confusing sed.
7490 lt_compile=`echo "$ac_compile" | $SED \
7491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7493 -e 's:$: $lt_compiler_flag:'`
7494 (eval echo "\"\$as_me:7494: $lt_compile\"" >&5)
7495 (eval "$lt_compile" 2>conftest.err)
7496 ac_status=$?
7497 cat conftest.err >&5
7498 echo "$as_me:7498: \$? = $ac_status" >&5
7499 if (exit $ac_status) && test -s "$ac_outfile"; then
7500 # The compiler can only warn and ignore the option if not recognized
7501 # So say no if there are warnings other than the usual output.
7502 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7503 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7504 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7505 lt_prog_compiler_pic_works=yes
7508 $RM conftest*
7511 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7512 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7514 if test x"$lt_prog_compiler_pic_works" = xyes; then
7515 case $lt_prog_compiler_pic in
7516 "" | " "*) ;;
7517 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7518 esac
7519 else
7520 lt_prog_compiler_pic=
7521 lt_prog_compiler_can_build_shared=no
7532 # Check to make sure the static flag actually works.
7534 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7535 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7536 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7537 if test "${lt_prog_compiler_static_works+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7540 lt_prog_compiler_static_works=no
7541 save_LDFLAGS="$LDFLAGS"
7542 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7543 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7544 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7545 # The linker can only warn and ignore the option if not recognized
7546 # So say no if there are warnings
7547 if test -s conftest.err; then
7548 # Append any errors to the config.log.
7549 cat conftest.err 1>&5
7550 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7552 if diff conftest.exp conftest.er2 >/dev/null; then
7553 lt_prog_compiler_static_works=yes
7555 else
7556 lt_prog_compiler_static_works=yes
7559 $RM conftest*
7560 LDFLAGS="$save_LDFLAGS"
7563 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7564 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7566 if test x"$lt_prog_compiler_static_works" = xyes; then
7568 else
7569 lt_prog_compiler_static=
7578 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7579 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6
7582 else
7583 lt_cv_prog_compiler_c_o=no
7584 $RM -r conftest 2>/dev/null
7585 mkdir conftest
7586 cd conftest
7587 mkdir out
7588 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7590 lt_compiler_flag="-o out/conftest2.$ac_objext"
7591 # Insert the option either (1) after the last *FLAGS variable, or
7592 # (2) before a word containing "conftest.", or (3) at the end.
7593 # Note that $ac_compile itself does not contain backslashes and begins
7594 # with a dollar sign (not a hyphen), so the echo should work correctly.
7595 lt_compile=`echo "$ac_compile" | $SED \
7596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7598 -e 's:$: $lt_compiler_flag:'`
7599 (eval echo "\"\$as_me:7599: $lt_compile\"" >&5)
7600 (eval "$lt_compile" 2>out/conftest.err)
7601 ac_status=$?
7602 cat out/conftest.err >&5
7603 echo "$as_me:7603: \$? = $ac_status" >&5
7604 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7605 then
7606 # The compiler can only warn and ignore the option if not recognized
7607 # So say no if there are warnings
7608 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7609 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7610 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7611 lt_cv_prog_compiler_c_o=yes
7614 chmod u+w . 2>&5
7615 $RM conftest*
7616 # SGI C++ compiler will create directory out/ii_files/ for
7617 # template instantiation
7618 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7619 $RM out/* && rmdir out
7620 cd ..
7621 $RM -r conftest
7622 $RM conftest*
7625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7626 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7633 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7634 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7635 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638 lt_cv_prog_compiler_c_o=no
7639 $RM -r conftest 2>/dev/null
7640 mkdir conftest
7641 cd conftest
7642 mkdir out
7643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7645 lt_compiler_flag="-o out/conftest2.$ac_objext"
7646 # Insert the option either (1) after the last *FLAGS variable, or
7647 # (2) before a word containing "conftest.", or (3) at the end.
7648 # Note that $ac_compile itself does not contain backslashes and begins
7649 # with a dollar sign (not a hyphen), so the echo should work correctly.
7650 lt_compile=`echo "$ac_compile" | $SED \
7651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7653 -e 's:$: $lt_compiler_flag:'`
7654 (eval echo "\"\$as_me:7654: $lt_compile\"" >&5)
7655 (eval "$lt_compile" 2>out/conftest.err)
7656 ac_status=$?
7657 cat out/conftest.err >&5
7658 echo "$as_me:7658: \$? = $ac_status" >&5
7659 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7660 then
7661 # The compiler can only warn and ignore the option if not recognized
7662 # So say no if there are warnings
7663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7664 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7665 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7666 lt_cv_prog_compiler_c_o=yes
7669 chmod u+w . 2>&5
7670 $RM conftest*
7671 # SGI C++ compiler will create directory out/ii_files/ for
7672 # template instantiation
7673 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7674 $RM out/* && rmdir out
7675 cd ..
7676 $RM -r conftest
7677 $RM conftest*
7680 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7681 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7686 hard_links="nottested"
7687 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7688 # do not overwrite the value of need_locks provided by the user
7689 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7690 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7691 hard_links=yes
7692 $RM conftest*
7693 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7694 touch conftest.a
7695 ln conftest.a conftest.b 2>&5 || hard_links=no
7696 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7697 echo "$as_me:$LINENO: result: $hard_links" >&5
7698 echo "${ECHO_T}$hard_links" >&6
7699 if test "$hard_links" = no; then
7700 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7701 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7702 need_locks=warn
7704 else
7705 need_locks=no
7713 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7714 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7716 runpath_var=
7717 allow_undefined_flag=
7718 always_export_symbols=no
7719 archive_cmds=
7720 archive_expsym_cmds=
7721 compiler_needs_object=no
7722 enable_shared_with_static_runtimes=no
7723 export_dynamic_flag_spec=
7724 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7725 hardcode_automatic=no
7726 hardcode_direct=no
7727 hardcode_direct_absolute=no
7728 hardcode_libdir_flag_spec=
7729 hardcode_libdir_flag_spec_ld=
7730 hardcode_libdir_separator=
7731 hardcode_minus_L=no
7732 hardcode_shlibpath_var=unsupported
7733 inherit_rpath=no
7734 link_all_deplibs=unknown
7735 module_cmds=
7736 module_expsym_cmds=
7737 old_archive_from_new_cmds=
7738 old_archive_from_expsyms_cmds=
7739 thread_safe_flag_spec=
7740 whole_archive_flag_spec=
7741 # include_expsyms should be a list of space-separated symbols to be *always*
7742 # included in the symbol list
7743 include_expsyms=
7744 # exclude_expsyms can be an extended regexp of symbols to exclude
7745 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7746 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7747 # as well as any symbol that contains `d'.
7748 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7749 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7750 # platforms (ab)use it in PIC code, but their linkers get confused if
7751 # the symbol is explicitly referenced. Since portable code cannot
7752 # rely on this symbol name, it's probably fine to never include it in
7753 # preloaded symbol tables.
7754 extract_expsyms_cmds=
7756 case $host_os in
7757 cygwin* | mingw* | pw32*)
7758 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7759 # When not using gcc, we currently assume that we are using
7760 # Microsoft Visual C++.
7761 if test "$GCC" != yes; then
7762 with_gnu_ld=no
7765 interix*)
7766 # we just hope/assume this is gcc and not c89 (= MSVC++)
7767 with_gnu_ld=yes
7769 openbsd*)
7770 with_gnu_ld=no
7772 esac
7774 ld_shlibs=yes
7775 if test "$with_gnu_ld" = yes; then
7776 # If archive_cmds runs LD, not CC, wlarc should be empty
7777 wlarc='${wl}'
7779 # Set some defaults for GNU ld with shared library support. These
7780 # are reset later if shared libraries are not supported. Putting them
7781 # here allows them to be overridden if necessary.
7782 runpath_var=LD_RUN_PATH
7783 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7784 export_dynamic_flag_spec='${wl}--export-dynamic'
7785 # ancient GNU ld didn't support --whole-archive et. al.
7786 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7787 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7788 else
7789 whole_archive_flag_spec=
7791 supports_anon_versioning=no
7792 case `$LD -v 2>&1` in
7793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7796 *\ 2.11.*) ;; # other 2.11 versions
7797 *) supports_anon_versioning=yes ;;
7798 esac
7800 # See if GNU ld supports shared libraries.
7801 case $host_os in
7802 aix[3-9]*)
7803 # On AIX/PPC, the GNU linker is very broken
7804 if test "$host_cpu" != ia64; then
7805 ld_shlibs=no
7806 cat <<_LT_EOF 1>&2
7808 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7809 *** to be unable to reliably create shared libraries on AIX.
7810 *** Therefore, libtool is disabling shared libraries support. If you
7811 *** really care for shared libraries, you may want to modify your PATH
7812 *** so that a non-GNU linker is found, and then restart.
7814 _LT_EOF
7818 amigaos*)
7819 if test "$host_cpu" = m68k; then
7820 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)'
7821 hardcode_libdir_flag_spec='-L$libdir'
7822 hardcode_minus_L=yes
7825 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7826 # that the semantics of dynamic libraries on AmigaOS, at least up
7827 # to version 4, is to share data among multiple programs linked
7828 # with the same dynamic library. Since this doesn't match the
7829 # behavior of shared libraries on other platforms, we can't use
7830 # them.
7831 ld_shlibs=no
7834 beos*)
7835 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7836 allow_undefined_flag=unsupported
7837 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7838 # support --undefined. This deserves some investigation. FIXME
7839 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7840 else
7841 ld_shlibs=no
7845 cygwin* | mingw* | pw32*)
7846 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7847 # as there is no search path for DLLs.
7848 hardcode_libdir_flag_spec='-L$libdir'
7849 allow_undefined_flag=unsupported
7850 always_export_symbols=no
7851 enable_shared_with_static_runtimes=yes
7852 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7854 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7855 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7856 # If the export-symbols file already is a .def file (1st line
7857 # is EXPORTS), use it as is; otherwise, prepend...
7858 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7859 cp $export_symbols $output_objdir/$soname.def;
7860 else
7861 echo EXPORTS > $output_objdir/$soname.def;
7862 cat $export_symbols >> $output_objdir/$soname.def;
7864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7865 else
7866 ld_shlibs=no
7870 interix[3-9]*)
7871 hardcode_direct=no
7872 hardcode_shlibpath_var=no
7873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7874 export_dynamic_flag_spec='${wl}-E'
7875 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7876 # Instead, shared libraries are loaded at an image base (0x10000000 by
7877 # default) and relocated if they conflict, which is a slow very memory
7878 # consuming and fragmenting process. To avoid this, we pick a random,
7879 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7880 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7881 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7882 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'
7885 gnu* | linux* | tpf* | k*bsd*-gnu)
7886 tmp_diet=no
7887 if test "$host_os" = linux-dietlibc; then
7888 case $cc_basename in
7889 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7890 esac
7892 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7893 && test "$tmp_diet" = no
7894 then
7895 tmp_addflag=
7896 case $cc_basename,$host_cpu in
7897 pgcc*) # Portland Group C compiler
7898 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'
7899 tmp_addflag=' $pic_flag'
7901 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7902 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'
7903 tmp_addflag=' $pic_flag -Mnomain' ;;
7904 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7905 tmp_addflag=' -i_dynamic' ;;
7906 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7907 tmp_addflag=' -i_dynamic -nofor_main' ;;
7908 ifc* | ifort*) # Intel Fortran compiler
7909 tmp_addflag=' -nofor_main' ;;
7910 esac
7911 case `$CC -V 2>&1 | sed 5q` in
7912 *Sun\ C*) # Sun C 5.9
7913 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'
7914 compiler_needs_object=yes
7915 tmp_sharedflag='-G' ;;
7916 *Sun\ F*) # Sun Fortran 8.3
7917 tmp_sharedflag='-G' ;;
7919 tmp_sharedflag='-shared' ;;
7920 esac
7921 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7923 if test "x$supports_anon_versioning" = xyes; then
7924 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7926 echo "local: *; };" >> $output_objdir/$libname.ver~
7927 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7929 else
7930 ld_shlibs=no
7934 netbsd*)
7935 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7936 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7937 wlarc=
7938 else
7939 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7940 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7944 solaris*)
7945 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7946 ld_shlibs=no
7947 cat <<_LT_EOF 1>&2
7949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7950 *** create shared libraries on Solaris systems. Therefore, libtool
7951 *** is disabling shared libraries support. We urge you to upgrade GNU
7952 *** binutils to release 2.9.1 or newer. Another option is to modify
7953 *** your PATH or compiler configuration so that the native linker is
7954 *** used, and then restart.
7956 _LT_EOF
7957 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7958 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7959 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7960 else
7961 ld_shlibs=no
7965 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7966 case `$LD -v 2>&1` in
7967 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7968 ld_shlibs=no
7969 cat <<_LT_EOF 1>&2
7971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7972 *** reliably create shared libraries on SCO systems. Therefore, libtool
7973 *** is disabling shared libraries support. We urge you to upgrade GNU
7974 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7975 *** your PATH or compiler configuration so that the native linker is
7976 *** used, and then restart.
7978 _LT_EOF
7981 # For security reasons, it is highly recommended that you always
7982 # use absolute paths for naming shared libraries, and exclude the
7983 # DT_RUNPATH tag from executables and libraries. But doing so
7984 # requires that you compile everything twice, which is a pain.
7985 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7988 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7989 else
7990 ld_shlibs=no
7993 esac
7996 sunos4*)
7997 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7998 wlarc=
7999 hardcode_direct=yes
8000 hardcode_shlibpath_var=no
8004 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8006 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8007 else
8008 ld_shlibs=no
8011 esac
8013 if test "$ld_shlibs" = no; then
8014 runpath_var=
8015 hardcode_libdir_flag_spec=
8016 export_dynamic_flag_spec=
8017 whole_archive_flag_spec=
8019 else
8020 # PORTME fill in a description of your system's linker (not GNU ld)
8021 case $host_os in
8022 aix3*)
8023 allow_undefined_flag=unsupported
8024 always_export_symbols=yes
8025 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'
8026 # Note: this linker hardcodes the directories in LIBPATH if there
8027 # are no directories specified by -L.
8028 hardcode_minus_L=yes
8029 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8030 # Neither direct hardcoding nor static linking is supported with a
8031 # broken collect2.
8032 hardcode_direct=unsupported
8036 aix[4-9]*)
8037 if test "$host_cpu" = ia64; then
8038 # On IA64, the linker does run time linking by default, so we don't
8039 # have to do anything special.
8040 aix_use_runtimelinking=no
8041 exp_sym_flag='-Bexport'
8042 no_entry_flag=""
8043 else
8044 # If we're using GNU nm, then we don't want the "-C" option.
8045 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8046 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8047 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'
8048 else
8049 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'
8051 aix_use_runtimelinking=no
8053 # Test if we are trying to use run time linking or normal
8054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8055 # need to do runtime linking.
8056 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8057 for ld_flag in $LDFLAGS; do
8058 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8059 aix_use_runtimelinking=yes
8060 break
8062 done
8064 esac
8066 exp_sym_flag='-bexport'
8067 no_entry_flag='-bnoentry'
8070 # When large executables or shared objects are built, AIX ld can
8071 # have problems creating the table of contents. If linking a library
8072 # or program results in "error TOC overflow" add -mminimal-toc to
8073 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8074 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8076 archive_cmds=''
8077 hardcode_direct=yes
8078 hardcode_direct_absolute=yes
8079 hardcode_libdir_separator=':'
8080 link_all_deplibs=yes
8081 file_list_spec='${wl}-f,'
8083 if test "$GCC" = yes; then
8084 case $host_os in aix4.[012]|aix4.[012].*)
8085 # We only want to do this on AIX 4.2 and lower, the check
8086 # below for broken collect2 doesn't work under 4.3+
8087 collect2name=`${CC} -print-prog-name=collect2`
8088 if test -f "$collect2name" &&
8089 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8090 then
8091 # We have reworked collect2
8093 else
8094 # We have old collect2
8095 hardcode_direct=unsupported
8096 # It fails to find uninstalled libraries when the uninstalled
8097 # path is not listed in the libpath. Setting hardcode_minus_L
8098 # to unsupported forces relinking
8099 hardcode_minus_L=yes
8100 hardcode_libdir_flag_spec='-L$libdir'
8101 hardcode_libdir_separator=
8104 esac
8105 shared_flag='-shared'
8106 if test "$aix_use_runtimelinking" = yes; then
8107 shared_flag="$shared_flag "'${wl}-G'
8109 else
8110 # not using gcc
8111 if test "$host_cpu" = ia64; then
8112 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8113 # chokes on -Wl,-G. The following line is correct:
8114 shared_flag='-G'
8115 else
8116 if test "$aix_use_runtimelinking" = yes; then
8117 shared_flag='${wl}-G'
8118 else
8119 shared_flag='${wl}-bM:SRE'
8124 # It seems that -bexpall does not export symbols beginning with
8125 # underscore (_), so it is better to generate a list of symbols to export.
8126 always_export_symbols=yes
8127 if test "$aix_use_runtimelinking" = yes; then
8128 # Warning - without using the other runtime loading flags (-brtl),
8129 # -berok will link without error, but may produce a broken library.
8130 allow_undefined_flag='-berok'
8131 # Determine the default libpath from the value encoded in an
8132 # empty executable.
8133 if test x$gcc_no_link = xyes; then
8134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8136 { (exit 1); exit 1; }; }
8138 cat >conftest.$ac_ext <<_ACEOF
8139 /* confdefs.h. */
8140 _ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8146 main ()
8150 return 0;
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>conftest.er1
8156 ac_status=$?
8157 grep -v '^ *+' conftest.er1 >conftest.err
8158 rm -f conftest.er1
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try='test -z "$ac_c_werror_flag"
8163 || test ! -s conftest.err'
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 (eval $ac_try) 2>&5
8166 ac_status=$?
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; } &&
8169 { ac_try='test -s conftest$ac_exeext'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 (eval $ac_try) 2>&5
8172 ac_status=$?
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8176 lt_aix_libpath_sed='
8177 /Import File Strings/,/^$/ {
8178 /^0/ {
8179 s/^0 *\(.*\)$/\1/
8183 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8184 # Check for a 64-bit object if we didn't find anything.
8185 if test -z "$aix_libpath"; then
8186 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8188 else
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8193 rm -f conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8197 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8198 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"
8199 else
8200 if test "$host_cpu" = ia64; then
8201 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8202 allow_undefined_flag="-z nodefs"
8203 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"
8204 else
8205 # Determine the default libpath from the value encoded in an
8206 # empty executable.
8207 if test x$gcc_no_link = xyes; then
8208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8210 { (exit 1); exit 1; }; }
8212 cat >conftest.$ac_ext <<_ACEOF
8213 /* confdefs.h. */
8214 _ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8220 main ()
8224 return 0;
8226 _ACEOF
8227 rm -f conftest.$ac_objext conftest$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 (eval $ac_try) 2>&5
8240 ac_status=$?
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try='test -s conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8250 lt_aix_libpath_sed='
8251 /Import File Strings/,/^$/ {
8252 /^0/ {
8253 s/^0 *\(.*\)$/\1/
8257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8258 # Check for a 64-bit object if we didn't find anything.
8259 if test -z "$aix_libpath"; then
8260 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8262 else
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8267 rm -f conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8271 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8272 # Warning - without using the other run time loading flags,
8273 # -berok will link without error, but may produce a broken library.
8274 no_undefined_flag=' ${wl}-bernotok'
8275 allow_undefined_flag=' ${wl}-berok'
8276 # Exported symbols can be pulled into shared objects from archives
8277 whole_archive_flag_spec='$convenience'
8278 archive_cmds_need_lc=yes
8279 # This is similar to how AIX traditionally builds its shared libraries.
8280 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'
8285 amigaos*)
8286 if test "$host_cpu" = m68k; then
8287 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)'
8288 hardcode_libdir_flag_spec='-L$libdir'
8289 hardcode_minus_L=yes
8291 # see comment about different semantics on the GNU ld section
8292 ld_shlibs=no
8295 bsdi[45]*)
8296 export_dynamic_flag_spec=-rdynamic
8299 cygwin* | mingw* | pw32*)
8300 # When not using gcc, we currently assume that we are using
8301 # Microsoft Visual C++.
8302 # hardcode_libdir_flag_spec is actually meaningless, as there is
8303 # no search path for DLLs.
8304 hardcode_libdir_flag_spec=' '
8305 allow_undefined_flag=unsupported
8306 # Tell ltmain to make .lib files, not .a files.
8307 libext=lib
8308 # Tell ltmain to make .dll files, not .so files.
8309 shrext_cmds=".dll"
8310 # FIXME: Setting linknames here is a bad hack.
8311 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8312 # The linker will automatically build a .lib file if we build a DLL.
8313 old_archive_from_new_cmds='true'
8314 # FIXME: Should let the user specify the lib program.
8315 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8316 fix_srcfile_path='`cygpath -w "$srcfile"`'
8317 enable_shared_with_static_runtimes=yes
8320 darwin* | rhapsody*)
8321 case $host_os in
8322 rhapsody* | darwin1.[012])
8323 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8325 *) # Darwin 1.3 on
8326 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8327 10.[012])
8328 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8330 10.*)
8331 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8333 esac
8335 esac
8336 archive_cmds_need_lc=no
8337 hardcode_direct=no
8338 hardcode_automatic=yes
8339 hardcode_shlibpath_var=unsupported
8340 whole_archive_flag_spec=''
8341 link_all_deplibs=yes
8342 if test "$GCC" = yes ; then
8343 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346 lt_cv_apple_cc_single_mod=no
8347 if test -z "${LT_MULTI_MODULE}"; then
8348 # By default we will add the -single_module flag. You can override
8349 # by either setting the environment variable LT_MULTI_MODULE
8350 # non-empty at configure time, or by adding -multi-module to the
8351 # link flags.
8352 echo "int foo(void){return 1;}" > conftest.c
8353 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8354 -dynamiclib ${wl}-single_module conftest.c
8355 if test -f libconftest.dylib; then
8356 lt_cv_apple_cc_single_mod=yes
8357 rm libconftest.dylib
8359 rm conftest.$ac_ext
8363 output_verbose_link_cmd=echo
8364 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8365 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8366 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367 else
8368 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8369 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8371 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8372 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8373 else
8374 case $cc_basename in
8375 xlc*)
8376 output_verbose_link_cmd=echo
8377 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8378 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8379 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8380 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8381 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8384 ld_shlibs=no
8386 esac
8390 dgux*)
8391 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8392 hardcode_libdir_flag_spec='-L$libdir'
8393 hardcode_shlibpath_var=no
8396 freebsd1*)
8397 ld_shlibs=no
8400 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8401 # support. Future versions do this automatically, but an explicit c++rt0.o
8402 # does not break anything, and helps significantly (at the cost of a little
8403 # extra space).
8404 freebsd2.2*)
8405 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8406 hardcode_libdir_flag_spec='-R$libdir'
8407 hardcode_direct=yes
8408 hardcode_shlibpath_var=no
8411 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8412 freebsd2*)
8413 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8414 hardcode_direct=yes
8415 hardcode_minus_L=yes
8416 hardcode_shlibpath_var=no
8419 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8420 freebsd* | dragonfly*)
8421 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8422 hardcode_libdir_flag_spec='-R$libdir'
8423 hardcode_direct=yes
8424 hardcode_shlibpath_var=no
8427 hpux9*)
8428 if test "$GCC" = yes; then
8429 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'
8430 else
8431 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'
8433 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8434 hardcode_libdir_separator=:
8435 hardcode_direct=yes
8437 # hardcode_minus_L: Not really in the search PATH,
8438 # but as the default location of the library.
8439 hardcode_minus_L=yes
8440 export_dynamic_flag_spec='${wl}-E'
8443 hpux10*)
8444 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8445 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8446 else
8447 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8449 if test "$with_gnu_ld" = no; then
8450 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8451 hardcode_libdir_flag_spec_ld='+b $libdir'
8452 hardcode_libdir_separator=:
8453 hardcode_direct=yes
8454 hardcode_direct_absolute=yes
8455 export_dynamic_flag_spec='${wl}-E'
8456 # hardcode_minus_L: Not really in the search PATH,
8457 # but as the default location of the library.
8458 hardcode_minus_L=yes
8462 hpux11*)
8463 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8464 case $host_cpu in
8465 hppa*64*)
8466 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 ia64*)
8469 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8472 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8474 esac
8475 else
8476 case $host_cpu in
8477 hppa*64*)
8478 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8480 ia64*)
8481 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8484 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8486 esac
8488 if test "$with_gnu_ld" = no; then
8489 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8490 hardcode_libdir_separator=:
8492 case $host_cpu in
8493 hppa*64*|ia64*)
8494 hardcode_direct=no
8495 hardcode_shlibpath_var=no
8498 hardcode_direct=yes
8499 hardcode_direct_absolute=yes
8500 export_dynamic_flag_spec='${wl}-E'
8502 # hardcode_minus_L: Not really in the search PATH,
8503 # but as the default location of the library.
8504 hardcode_minus_L=yes
8506 esac
8510 irix5* | irix6* | nonstopux*)
8511 if test "$GCC" = yes; then
8512 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'
8513 # Try to use the -exported_symbol ld option, if it does not
8514 # work, assume that -exports_file does not work either and
8515 # implicitly export all symbols.
8516 save_LDFLAGS="$LDFLAGS"
8517 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8518 if test x$gcc_no_link = xyes; then
8519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521 { (exit 1); exit 1; }; }
8523 cat >conftest.$ac_ext <<_ACEOF
8524 int foo(void) {}
8525 _ACEOF
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8528 (eval $ac_link) 2>conftest.er1
8529 ac_status=$?
8530 grep -v '^ *+' conftest.er1 >conftest.err
8531 rm -f conftest.er1
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try='test -z "$ac_c_werror_flag"
8536 || test ! -s conftest.err'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 (eval $ac_try) 2>&5
8539 ac_status=$?
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try='test -s conftest$ac_exeext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 (eval $ac_try) 2>&5
8545 ac_status=$?
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 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'
8550 else
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8555 rm -f conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 LDFLAGS="$save_LDFLAGS"
8558 else
8559 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'
8560 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'
8562 archive_cmds_need_lc='no'
8563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8564 hardcode_libdir_separator=:
8565 inherit_rpath=yes
8566 link_all_deplibs=yes
8569 netbsd*)
8570 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8571 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8572 else
8573 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8575 hardcode_libdir_flag_spec='-R$libdir'
8576 hardcode_direct=yes
8577 hardcode_shlibpath_var=no
8580 newsos6)
8581 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8582 hardcode_direct=yes
8583 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8584 hardcode_libdir_separator=:
8585 hardcode_shlibpath_var=no
8588 *nto* | *qnx*)
8591 openbsd*)
8592 hardcode_direct=yes
8593 hardcode_shlibpath_var=no
8594 hardcode_direct_absolute=yes
8595 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8597 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599 export_dynamic_flag_spec='${wl}-E'
8600 else
8601 case $host_os in
8602 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8604 hardcode_libdir_flag_spec='-R$libdir'
8607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8610 esac
8614 os2*)
8615 hardcode_libdir_flag_spec='-L$libdir'
8616 hardcode_minus_L=yes
8617 allow_undefined_flag=unsupported
8618 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'
8619 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8622 osf3*)
8623 if test "$GCC" = yes; then
8624 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8625 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'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 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'
8630 archive_cmds_need_lc='no'
8631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8632 hardcode_libdir_separator=:
8635 osf4* | osf5*) # as osf3* with the addition of -msym flag
8636 if test "$GCC" = yes; then
8637 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8638 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'
8639 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8640 else
8641 allow_undefined_flag=' -expect_unresolved \*'
8642 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'
8643 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~
8644 $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'
8646 # Both c and cxx compiler support -rpath directly
8647 hardcode_libdir_flag_spec='-rpath $libdir'
8649 archive_cmds_need_lc='no'
8650 hardcode_libdir_separator=:
8653 solaris*)
8654 no_undefined_flag=' -z defs'
8655 if test "$GCC" = yes; then
8656 wlarc='${wl}'
8657 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8659 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 else
8661 case `$CC -V 2>&1` in
8662 *"Compilers 5.0"*)
8663 wlarc=''
8664 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8665 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8666 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8669 wlarc='${wl}'
8670 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8672 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8674 esac
8676 hardcode_libdir_flag_spec='-R$libdir'
8677 hardcode_shlibpath_var=no
8678 case $host_os in
8679 solaris2.[0-5] | solaris2.[0-5].*) ;;
8681 # The compiler driver will combine and reorder linker options,
8682 # but understands `-z linker_flag'. GCC discards it without `$wl',
8683 # but is careful enough not to reorder.
8684 # Supported since Solaris 2.6 (maybe 2.5.1?)
8685 if test "$GCC" = yes; then
8686 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8687 else
8688 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8691 esac
8692 link_all_deplibs=yes
8695 sunos4*)
8696 if test "x$host_vendor" = xsequent; then
8697 # Use $CC to link under sequent, because it throws in some extra .o
8698 # files that make .init and .fini sections work.
8699 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8700 else
8701 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8703 hardcode_libdir_flag_spec='-L$libdir'
8704 hardcode_direct=yes
8705 hardcode_minus_L=yes
8706 hardcode_shlibpath_var=no
8709 sysv4)
8710 case $host_vendor in
8711 sni)
8712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8713 hardcode_direct=yes # is this really true???
8715 siemens)
8716 ## LD is ld it makes a PLAMLIB
8717 ## CC just makes a GrossModule.
8718 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8719 reload_cmds='$CC -r -o $output$reload_objs'
8720 hardcode_direct=no
8722 motorola)
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8726 esac
8727 runpath_var='LD_RUN_PATH'
8728 hardcode_shlibpath_var=no
8731 sysv4.3*)
8732 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8733 hardcode_shlibpath_var=no
8734 export_dynamic_flag_spec='-Bexport'
8737 sysv4*MP*)
8738 if test -d /usr/nec; then
8739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 hardcode_shlibpath_var=no
8741 runpath_var=LD_RUN_PATH
8742 hardcode_runpath_var=yes
8743 ld_shlibs=yes
8747 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8748 no_undefined_flag='${wl}-z,text'
8749 archive_cmds_need_lc=no
8750 hardcode_shlibpath_var=no
8751 runpath_var='LD_RUN_PATH'
8753 if test "$GCC" = yes; then
8754 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8755 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 else
8757 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8758 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8762 sysv5* | sco3.2v5* | sco5v6*)
8763 # Note: We can NOT use -z defs as we might desire, because we do not
8764 # link with -lc, and that would cause any symbols used from libc to
8765 # always be unresolved, which means just about no library would
8766 # ever link correctly. If we're not using GNU ld we use -z text
8767 # though, which does catch some bad symbols but isn't as heavy-handed
8768 # as -z defs.
8769 no_undefined_flag='${wl}-z,text'
8770 allow_undefined_flag='${wl}-z,nodefs'
8771 archive_cmds_need_lc=no
8772 hardcode_shlibpath_var=no
8773 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8774 hardcode_libdir_separator=':'
8775 link_all_deplibs=yes
8776 export_dynamic_flag_spec='${wl}-Bexport'
8777 runpath_var='LD_RUN_PATH'
8779 if test "$GCC" = yes; then
8780 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8782 else
8783 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8788 uts4*)
8789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8790 hardcode_libdir_flag_spec='-L$libdir'
8791 hardcode_shlibpath_var=no
8795 ld_shlibs=no
8797 esac
8799 if test x$host_vendor = xsni; then
8800 case $host in
8801 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8802 export_dynamic_flag_spec='${wl}-Blargedynsym'
8804 esac
8808 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8809 echo "${ECHO_T}$ld_shlibs" >&6
8810 test "$ld_shlibs" = no && can_build_shared=no
8812 with_gnu_ld=$with_gnu_ld
8829 # Do we need to explicitly link libc?
8831 case "x$archive_cmds_need_lc" in
8832 x|xyes)
8833 # Assume -lc should be added
8834 archive_cmds_need_lc=yes
8836 if test "$enable_shared" = yes && test "$GCC" = yes; then
8837 case $archive_cmds in
8838 *'~'*)
8839 # FIXME: we may have to deal with multi-command sequences.
8841 '$CC '*)
8842 # Test whether the compiler implicitly links with -lc since on some
8843 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8844 # to ld, don't add -lc before -lgcc.
8845 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8846 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8847 $RM conftest*
8848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8851 (eval $ac_compile) 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } 2>conftest.err; then
8855 soname=conftest
8856 lib=conftest
8857 libobjs=conftest.$ac_objext
8858 deplibs=
8859 wl=$lt_prog_compiler_wl
8860 pic_flag=$lt_prog_compiler_pic
8861 compiler_flags=-v
8862 linker_flags=-v
8863 verstring=
8864 output_objdir=.
8865 libname=conftest
8866 lt_save_allow_undefined_flag=$allow_undefined_flag
8867 allow_undefined_flag=
8868 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8869 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8870 ac_status=$?
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }
8873 then
8874 archive_cmds_need_lc=no
8875 else
8876 archive_cmds_need_lc=yes
8878 allow_undefined_flag=$lt_save_allow_undefined_flag
8879 else
8880 cat conftest.err 1>&5
8882 $RM conftest*
8883 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8884 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8886 esac
8889 esac
9047 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9048 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9049 withGCC=$GCC
9050 if test "$withGCC" = yes; then
9051 case $host_os in
9052 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9053 *) lt_awk_arg="/^libraries:/" ;;
9054 esac
9055 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9056 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9057 # if the path contains ";" then we assume it to be the separator
9058 # otherwise default to the standard path separator (i.e. ":") - it is
9059 # assumed that no part of a normal pathname contains ";" but that should
9060 # okay in the real world where ";" in dirpaths is itself problematic.
9061 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9062 else
9063 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9065 # Ok, now we have the path, separated by spaces, we can step through it
9066 # and add multilib dir if necessary.
9067 lt_tmp_lt_search_path_spec=
9068 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9069 for lt_sys_path in $lt_search_path_spec; do
9070 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9071 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9072 else
9073 test -d "$lt_sys_path" && \
9074 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9076 done
9077 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9078 BEGIN {RS=" "; FS="/|\n";} {
9079 lt_foo="";
9080 lt_count=0;
9081 for (lt_i = NF; lt_i > 0; lt_i--) {
9082 if ($lt_i != "" && $lt_i != ".") {
9083 if ($lt_i == "..") {
9084 lt_count++;
9085 } else {
9086 if (lt_count == 0) {
9087 lt_foo="/" $lt_i lt_foo;
9088 } else {
9089 lt_count--;
9094 if (lt_foo != "") { lt_freq[lt_foo]++; }
9095 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9097 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9098 else
9099 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9101 library_names_spec=
9102 libname_spec='lib$name'
9103 soname_spec=
9104 shrext_cmds=".so"
9105 postinstall_cmds=
9106 postuninstall_cmds=
9107 finish_cmds=
9108 finish_eval=
9109 shlibpath_var=
9110 shlibpath_overrides_runpath=unknown
9111 version_type=none
9112 dynamic_linker="$host_os ld.so"
9113 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9114 need_lib_prefix=unknown
9115 hardcode_into_libs=no
9117 # when you set need_version to no, make sure it does not cause -set_version
9118 # flags to be left without arguments
9119 need_version=unknown
9121 case $host_os in
9122 aix3*)
9123 version_type=linux
9124 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9125 shlibpath_var=LIBPATH
9127 # AIX 3 has no versioning support, so we append a major version to the name.
9128 soname_spec='${libname}${release}${shared_ext}$major'
9131 aix[4-9]*)
9132 version_type=linux
9133 need_lib_prefix=no
9134 need_version=no
9135 hardcode_into_libs=yes
9136 if test "$host_cpu" = ia64; then
9137 # AIX 5 supports IA64
9138 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9139 shlibpath_var=LD_LIBRARY_PATH
9140 else
9141 # With GCC up to 2.95.x, collect2 would create an import file
9142 # for dependence libraries. The import file would start with
9143 # the line `#! .'. This would cause the generated library to
9144 # depend on `.', always an invalid library. This was fixed in
9145 # development snapshots of GCC prior to 3.0.
9146 case $host_os in
9147 aix4 | aix4.[01] | aix4.[01].*)
9148 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9149 echo ' yes '
9150 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9152 else
9153 can_build_shared=no
9156 esac
9157 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9158 # soname into executable. Probably we can add versioning support to
9159 # collect2, so additional links can be useful in future.
9160 if test "$aix_use_runtimelinking" = yes; then
9161 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9162 # instead of lib<name>.a to let people know that these are not
9163 # typical AIX shared libraries.
9164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9165 else
9166 # We preserve .a as extension for shared libraries through AIX4.2
9167 # and later when we are not doing run time linking.
9168 library_names_spec='${libname}${release}.a $libname.a'
9169 soname_spec='${libname}${release}${shared_ext}$major'
9171 shlibpath_var=LIBPATH
9175 amigaos*)
9176 if test "$host_cpu" = m68k; then
9177 library_names_spec='$libname.ixlibrary $libname.a'
9178 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9179 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'
9180 else
9181 dynamic_linker=no
9185 beos*)
9186 library_names_spec='${libname}${shared_ext}'
9187 dynamic_linker="$host_os ld.so"
9188 shlibpath_var=LIBRARY_PATH
9191 bsdi[45]*)
9192 version_type=linux
9193 need_version=no
9194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9195 soname_spec='${libname}${release}${shared_ext}$major'
9196 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9197 shlibpath_var=LD_LIBRARY_PATH
9198 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9199 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9200 # the default ld.so.conf also contains /usr/contrib/lib and
9201 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9202 # libtool to hard-code these into programs
9205 cygwin* | mingw* | pw32*)
9206 version_type=windows
9207 shrext_cmds=".dll"
9208 need_version=no
9209 need_lib_prefix=no
9211 case $withGCC,$host_os in
9212 yes,cygwin* | yes,mingw* | yes,pw32*)
9213 library_names_spec='$libname.dll.a'
9214 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9215 postinstall_cmds='base_file=`basename \${file}`~
9216 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9217 dldir=$destdir/`dirname \$dlpath`~
9218 test -d \$dldir || mkdir -p \$dldir~
9219 $install_prog $dir/$dlname \$dldir/$dlname~
9220 chmod a+x \$dldir/$dlname~
9221 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9222 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9224 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9225 dlpath=$dir/\$dldll~
9226 $RM \$dlpath'
9227 shlibpath_overrides_runpath=yes
9229 case $host_os in
9230 cygwin*)
9231 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9232 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9233 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9235 mingw*)
9236 # MinGW DLLs use traditional 'lib' prefix
9237 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9238 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9239 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9240 # It is most probably a Windows format PATH printed by
9241 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9242 # path with ; separators, and with drive letters. We can handle the
9243 # drive letters (cygwin fileutils understands them), so leave them,
9244 # especially as we might pass files found there to a mingw objdump,
9245 # which wouldn't understand a cygwinified path. Ahh.
9246 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9247 else
9248 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9251 pw32*)
9252 # pw32 DLLs use 'pw' prefix rather than 'lib'
9253 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9255 esac
9259 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9261 esac
9262 dynamic_linker='Win32 ld.exe'
9263 # FIXME: first we should search . and the directory the executable is in
9264 shlibpath_var=PATH
9267 darwin* | rhapsody*)
9268 dynamic_linker="$host_os dyld"
9269 version_type=darwin
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9273 soname_spec='${libname}${release}${major}$shared_ext'
9274 shlibpath_overrides_runpath=yes
9275 shlibpath_var=DYLD_LIBRARY_PATH
9276 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9278 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9279 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9282 dgux*)
9283 version_type=linux
9284 need_lib_prefix=no
9285 need_version=no
9286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9287 soname_spec='${libname}${release}${shared_ext}$major'
9288 shlibpath_var=LD_LIBRARY_PATH
9291 freebsd1*)
9292 dynamic_linker=no
9295 freebsd* | dragonfly*)
9296 # DragonFly does not have aout. When/if they implement a new
9297 # versioning mechanism, adjust this.
9298 if test -x /usr/bin/objformat; then
9299 objformat=`/usr/bin/objformat`
9300 else
9301 case $host_os in
9302 freebsd[123]*) objformat=aout ;;
9303 *) objformat=elf ;;
9304 esac
9306 version_type=freebsd-$objformat
9307 case $version_type in
9308 freebsd-elf*)
9309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9310 need_version=no
9311 need_lib_prefix=no
9313 freebsd-*)
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9315 need_version=yes
9317 esac
9318 shlibpath_var=LD_LIBRARY_PATH
9319 case $host_os in
9320 freebsd2*)
9321 shlibpath_overrides_runpath=yes
9323 freebsd3.[01]* | freebsdelf3.[01]*)
9324 shlibpath_overrides_runpath=yes
9325 hardcode_into_libs=yes
9327 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9328 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9329 shlibpath_overrides_runpath=no
9330 hardcode_into_libs=yes
9332 *) # from 4.6 on, and DragonFly
9333 shlibpath_overrides_runpath=yes
9334 hardcode_into_libs=yes
9336 esac
9339 gnu*)
9340 version_type=linux
9341 need_lib_prefix=no
9342 need_version=no
9343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9344 soname_spec='${libname}${release}${shared_ext}$major'
9345 shlibpath_var=LD_LIBRARY_PATH
9346 hardcode_into_libs=yes
9349 hpux9* | hpux10* | hpux11*)
9350 # Give a soname corresponding to the major version so that dld.sl refuses to
9351 # link against other versions.
9352 version_type=sunos
9353 need_lib_prefix=no
9354 need_version=no
9355 case $host_cpu in
9356 ia64*)
9357 shrext_cmds='.so'
9358 hardcode_into_libs=yes
9359 dynamic_linker="$host_os dld.so"
9360 shlibpath_var=LD_LIBRARY_PATH
9361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9363 soname_spec='${libname}${release}${shared_ext}$major'
9364 if test "X$HPUX_IA64_MODE" = X32; then
9365 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9366 else
9367 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9369 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9371 hppa*64*)
9372 shrext_cmds='.sl'
9373 hardcode_into_libs=yes
9374 dynamic_linker="$host_os dld.sl"
9375 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378 soname_spec='${libname}${release}${shared_ext}$major'
9379 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9380 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9383 shrext_cmds='.sl'
9384 dynamic_linker="$host_os dld.sl"
9385 shlibpath_var=SHLIB_PATH
9386 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388 soname_spec='${libname}${release}${shared_ext}$major'
9390 esac
9391 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9392 postinstall_cmds='chmod 555 $lib'
9395 interix[3-9]*)
9396 version_type=linux
9397 need_lib_prefix=no
9398 need_version=no
9399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9400 soname_spec='${libname}${release}${shared_ext}$major'
9401 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9402 shlibpath_var=LD_LIBRARY_PATH
9403 shlibpath_overrides_runpath=no
9404 hardcode_into_libs=yes
9407 irix5* | irix6* | nonstopux*)
9408 case $host_os in
9409 nonstopux*) version_type=nonstopux ;;
9411 if test "$lt_cv_prog_gnu_ld" = yes; then
9412 version_type=linux
9413 else
9414 version_type=irix
9415 fi ;;
9416 esac
9417 need_lib_prefix=no
9418 need_version=no
9419 soname_spec='${libname}${release}${shared_ext}$major'
9420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9421 case $host_os in
9422 irix5* | nonstopux*)
9423 libsuff= shlibsuff=
9426 case $LD in # libtool.m4 will add one of these switches to LD
9427 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9428 libsuff= shlibsuff= libmagic=32-bit;;
9429 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9430 libsuff=32 shlibsuff=N32 libmagic=N32;;
9431 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9432 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9433 *) libsuff= shlibsuff= libmagic=never-match;;
9434 esac
9436 esac
9437 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9438 shlibpath_overrides_runpath=no
9439 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9440 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9441 hardcode_into_libs=yes
9444 # No shared lib support for Linux oldld, aout, or coff.
9445 linux*oldld* | linux*aout* | linux*coff*)
9446 dynamic_linker=no
9449 # This must be Linux ELF.
9450 linux* | k*bsd*-gnu)
9451 version_type=linux
9452 need_lib_prefix=no
9453 need_version=no
9454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9455 soname_spec='${libname}${release}${shared_ext}$major'
9456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9457 shlibpath_var=LD_LIBRARY_PATH
9458 shlibpath_overrides_runpath=no
9459 # Some binutils ld are patched to set DT_RUNPATH
9460 save_LDFLAGS=$LDFLAGS
9461 save_libdir=$libdir
9462 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9463 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9464 if test x$gcc_no_link = xyes; then
9465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9467 { (exit 1); exit 1; }; }
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h. */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9477 main ()
9481 return 0;
9483 _ACEOF
9484 rm -f conftest.$ac_objext conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9487 ac_status=$?
9488 grep -v '^ *+' conftest.er1 >conftest.err
9489 rm -f conftest.er1
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try='test -z "$ac_c_werror_flag"
9494 || test ! -s conftest.err'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 (eval $ac_try) 2>&5
9497 ac_status=$?
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest$ac_exeext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 (eval $ac_try) 2>&5
9503 ac_status=$?
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9507 shlibpath_overrides_runpath=yes
9510 else
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9515 rm -f conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LDFLAGS=$save_LDFLAGS
9518 libdir=$save_libdir
9520 # This implies no fast_install, which is unacceptable.
9521 # Some rework will be needed to allow for fast_install
9522 # before this can be enabled.
9523 hardcode_into_libs=yes
9525 # Append ld.so.conf contents to the search path
9526 if test -f /etc/ld.so.conf; then
9527 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9528 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9531 # We used to test for /lib/ld.so.1 and disable shared libraries on
9532 # powerpc, because MkLinux only supported shared libraries with the
9533 # GNU dynamic linker. Since this was broken with cross compilers,
9534 # most powerpc-linux boxes support dynamic linking these days and
9535 # people can always --disable-shared, the test was removed, and we
9536 # assume the GNU/Linux dynamic linker is in use.
9537 dynamic_linker='GNU/Linux ld.so'
9540 netbsd*)
9541 version_type=sunos
9542 need_lib_prefix=no
9543 need_version=no
9544 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9547 dynamic_linker='NetBSD (a.out) ld.so'
9548 else
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 dynamic_linker='NetBSD ld.elf_so'
9553 shlibpath_var=LD_LIBRARY_PATH
9554 shlibpath_overrides_runpath=yes
9555 hardcode_into_libs=yes
9558 newsos6)
9559 version_type=linux
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561 shlibpath_var=LD_LIBRARY_PATH
9562 shlibpath_overrides_runpath=yes
9565 *nto* | *qnx*)
9566 version_type=qnx
9567 need_lib_prefix=no
9568 need_version=no
9569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9570 soname_spec='${libname}${release}${shared_ext}$major'
9571 shlibpath_var=LD_LIBRARY_PATH
9572 shlibpath_overrides_runpath=no
9573 hardcode_into_libs=yes
9574 dynamic_linker='ldqnx.so'
9577 openbsd*)
9578 version_type=sunos
9579 sys_lib_dlsearch_path_spec="/usr/lib"
9580 need_lib_prefix=no
9581 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9582 case $host_os in
9583 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9584 *) need_version=no ;;
9585 esac
9586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9588 shlibpath_var=LD_LIBRARY_PATH
9589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9590 case $host_os in
9591 openbsd2.[89] | openbsd2.[89].*)
9592 shlibpath_overrides_runpath=no
9595 shlibpath_overrides_runpath=yes
9597 esac
9598 else
9599 shlibpath_overrides_runpath=yes
9603 os2*)
9604 libname_spec='$name'
9605 shrext_cmds=".dll"
9606 need_lib_prefix=no
9607 library_names_spec='$libname${shared_ext} $libname.a'
9608 dynamic_linker='OS/2 ld.exe'
9609 shlibpath_var=LIBPATH
9612 osf3* | osf4* | osf5*)
9613 version_type=osf
9614 need_lib_prefix=no
9615 need_version=no
9616 soname_spec='${libname}${release}${shared_ext}$major'
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 shlibpath_var=LD_LIBRARY_PATH
9619 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9620 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9623 rdos*)
9624 dynamic_linker=no
9627 solaris*)
9628 version_type=linux
9629 need_lib_prefix=no
9630 need_version=no
9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9632 soname_spec='${libname}${release}${shared_ext}$major'
9633 shlibpath_var=LD_LIBRARY_PATH
9634 shlibpath_overrides_runpath=yes
9635 hardcode_into_libs=yes
9636 # ldd complains unless libraries are executable
9637 postinstall_cmds='chmod +x $lib'
9640 sunos4*)
9641 version_type=sunos
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9643 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath=yes
9646 if test "$with_gnu_ld" = yes; then
9647 need_lib_prefix=no
9649 need_version=yes
9652 sysv4 | sysv4.3*)
9653 version_type=linux
9654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9655 soname_spec='${libname}${release}${shared_ext}$major'
9656 shlibpath_var=LD_LIBRARY_PATH
9657 case $host_vendor in
9658 sni)
9659 shlibpath_overrides_runpath=no
9660 need_lib_prefix=no
9661 runpath_var=LD_RUN_PATH
9663 siemens)
9664 need_lib_prefix=no
9666 motorola)
9667 need_lib_prefix=no
9668 need_version=no
9669 shlibpath_overrides_runpath=no
9670 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9672 esac
9675 sysv4*MP*)
9676 if test -d /usr/nec ;then
9677 version_type=linux
9678 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9679 soname_spec='$libname${shared_ext}.$major'
9680 shlibpath_var=LD_LIBRARY_PATH
9684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9685 version_type=freebsd-elf
9686 need_lib_prefix=no
9687 need_version=no
9688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9689 soname_spec='${libname}${release}${shared_ext}$major'
9690 shlibpath_var=LD_LIBRARY_PATH
9691 shlibpath_overrides_runpath=yes
9692 hardcode_into_libs=yes
9693 if test "$with_gnu_ld" = yes; then
9694 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9695 else
9696 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9697 case $host_os in
9698 sco3.2v5*)
9699 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9701 esac
9703 sys_lib_dlsearch_path_spec='/usr/lib'
9706 tpf*)
9707 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9708 version_type=linux
9709 need_lib_prefix=no
9710 need_version=no
9711 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9712 shlibpath_var=LD_LIBRARY_PATH
9713 shlibpath_overrides_runpath=no
9714 hardcode_into_libs=yes
9717 uts4*)
9718 version_type=linux
9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9720 soname_spec='${libname}${release}${shared_ext}$major'
9721 shlibpath_var=LD_LIBRARY_PATH
9725 dynamic_linker=no
9727 esac
9728 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9729 echo "${ECHO_T}$dynamic_linker" >&6
9730 test "$dynamic_linker" = no && can_build_shared=no
9732 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9733 if test "$GCC" = yes; then
9734 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9823 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9824 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9825 hardcode_action=
9826 if test -n "$hardcode_libdir_flag_spec" ||
9827 test -n "$runpath_var" ||
9828 test "X$hardcode_automatic" = "Xyes" ; then
9830 # We can hardcode non-existent directories.
9831 if test "$hardcode_direct" != no &&
9832 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9833 # have to relink, otherwise we might link with an installed library
9834 # when we should be linking with a yet-to-be-installed one
9835 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9836 test "$hardcode_minus_L" != no; then
9837 # Linking always hardcodes the temporary library directory.
9838 hardcode_action=relink
9839 else
9840 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9841 hardcode_action=immediate
9843 else
9844 # We cannot hardcode anything, or else we can only hardcode existing
9845 # directories.
9846 hardcode_action=unsupported
9848 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9849 echo "${ECHO_T}$hardcode_action" >&6
9851 if test "$hardcode_action" = relink ||
9852 test "$inherit_rpath" = yes; then
9853 # Fast installation is not supported
9854 enable_fast_install=no
9855 elif test "$shlibpath_overrides_runpath" = yes ||
9856 test "$enable_shared" = no; then
9857 # Fast installation is not necessary
9858 enable_fast_install=needless
9866 if test "x$enable_dlopen" != xyes; then
9867 enable_dlopen=unknown
9868 enable_dlopen_self=unknown
9869 enable_dlopen_self_static=unknown
9870 else
9871 lt_cv_dlopen=no
9872 lt_cv_dlopen_libs=
9874 case $host_os in
9875 beos*)
9876 lt_cv_dlopen="load_add_on"
9877 lt_cv_dlopen_libs=
9878 lt_cv_dlopen_self=yes
9881 mingw* | pw32*)
9882 lt_cv_dlopen="LoadLibrary"
9883 lt_cv_dlopen_libs=
9886 cygwin*)
9887 lt_cv_dlopen="dlopen"
9888 lt_cv_dlopen_libs=
9891 darwin*)
9892 # if libdl is installed we need to link against it
9893 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9894 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 else
9898 ac_check_lib_save_LIBS=$LIBS
9899 LIBS="-ldl $LIBS"
9900 if test x$gcc_no_link = xyes; then
9901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9903 { (exit 1); exit 1; }; }
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h. */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any gcc2 internal prototype to avoid an error. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9918 char dlopen ();
9920 main ()
9922 dlopen ();
9924 return 0;
9926 _ACEOF
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9929 (eval $ac_link) 2>conftest.er1
9930 ac_status=$?
9931 grep -v '^ *+' conftest.er1 >conftest.err
9932 rm -f conftest.er1
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } &&
9936 { ac_try='test -z "$ac_c_werror_flag"
9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 (eval $ac_try) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try='test -s conftest$ac_exeext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 (eval $ac_try) 2>&5
9946 ac_status=$?
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9949 ac_cv_lib_dl_dlopen=yes
9950 else
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9954 ac_cv_lib_dl_dlopen=no
9956 rm -f conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_lib_save_LIBS
9960 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9961 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9962 if test $ac_cv_lib_dl_dlopen = yes; then
9963 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9964 else
9966 lt_cv_dlopen="dyld"
9967 lt_cv_dlopen_libs=
9968 lt_cv_dlopen_self=yes
9975 echo "$as_me:$LINENO: checking for shl_load" >&5
9976 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9977 if test "${ac_cv_func_shl_load+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 else
9980 if test x$gcc_no_link = xyes; then
9981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9983 { (exit 1); exit 1; }; }
9985 cat >conftest.$ac_ext <<_ACEOF
9986 /* confdefs.h. */
9987 _ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9991 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9993 #define shl_load innocuous_shl_load
9995 /* System header to define __stub macros and hopefully few prototypes,
9996 which can conflict with char shl_load (); below.
9997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9998 <limits.h> exists even on freestanding compilers. */
10000 #ifdef __STDC__
10001 # include <limits.h>
10002 #else
10003 # include <assert.h>
10004 #endif
10006 #undef shl_load
10008 /* Override any gcc2 internal prototype to avoid an error. */
10009 #ifdef __cplusplus
10010 extern "C"
10012 #endif
10013 /* We use char because int might match the return type of a gcc2
10014 builtin and then its argument prototype would still apply. */
10015 char shl_load ();
10016 /* The GNU C library defines this for functions which it implements
10017 to always fail with ENOSYS. Some functions are actually named
10018 something starting with __ and the normal name is an alias. */
10019 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10020 choke me
10021 #else
10022 char (*f) () = shl_load;
10023 #endif
10024 #ifdef __cplusplus
10026 #endif
10029 main ()
10031 return f != shl_load;
10033 return 0;
10035 _ACEOF
10036 rm -f conftest.$ac_objext conftest$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>conftest.er1
10039 ac_status=$?
10040 grep -v '^ *+' conftest.er1 >conftest.err
10041 rm -f conftest.er1
10042 cat conftest.err >&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10049 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10055 ac_status=$?
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_func_shl_load=yes
10059 else
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 ac_cv_func_shl_load=no
10065 rm -f conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10068 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10069 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10070 if test $ac_cv_func_shl_load = yes; then
10071 lt_cv_dlopen="shl_load"
10072 else
10073 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10074 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10075 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 else
10078 ac_check_lib_save_LIBS=$LIBS
10079 LIBS="-ldld $LIBS"
10080 if test x$gcc_no_link = xyes; then
10081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10083 { (exit 1); exit 1; }; }
10085 cat >conftest.$ac_ext <<_ACEOF
10086 /* confdefs.h. */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10092 /* Override any gcc2 internal prototype to avoid an error. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10098 char shl_load ();
10100 main ()
10102 shl_load ();
10104 return 0;
10106 _ACEOF
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10110 ac_status=$?
10111 grep -v '^ *+' conftest.er1 >conftest.err
10112 rm -f conftest.er1
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10120 ac_status=$?
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_cv_lib_dld_shl_load=yes
10130 else
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 ac_cv_lib_dld_shl_load=no
10136 rm -f conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10141 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10142 if test $ac_cv_lib_dld_shl_load = yes; then
10143 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10144 else
10145 echo "$as_me:$LINENO: checking for dlopen" >&5
10146 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10147 if test "${ac_cv_func_dlopen+set}" = set; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 else
10150 if test x$gcc_no_link = xyes; then
10151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10153 { (exit 1); exit 1; }; }
10155 cat >conftest.$ac_ext <<_ACEOF
10156 /* confdefs.h. */
10157 _ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10163 #define dlopen innocuous_dlopen
10165 /* System header to define __stub macros and hopefully few prototypes,
10166 which can conflict with char dlopen (); below.
10167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10168 <limits.h> exists even on freestanding compilers. */
10170 #ifdef __STDC__
10171 # include <limits.h>
10172 #else
10173 # include <assert.h>
10174 #endif
10176 #undef dlopen
10178 /* Override any gcc2 internal prototype to avoid an error. */
10179 #ifdef __cplusplus
10180 extern "C"
10182 #endif
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10185 char dlopen ();
10186 /* The GNU C library defines this for functions which it implements
10187 to always fail with ENOSYS. Some functions are actually named
10188 something starting with __ and the normal name is an alias. */
10189 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10190 choke me
10191 #else
10192 char (*f) () = dlopen;
10193 #endif
10194 #ifdef __cplusplus
10196 #endif
10199 main ()
10201 return f != dlopen;
10203 return 0;
10205 _ACEOF
10206 rm -f conftest.$ac_objext conftest$ac_exeext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10208 (eval $ac_link) 2>conftest.er1
10209 ac_status=$?
10210 grep -v '^ *+' conftest.er1 >conftest.err
10211 rm -f conftest.er1
10212 cat conftest.err >&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } &&
10215 { ac_try='test -z "$ac_c_werror_flag"
10216 || test ! -s conftest.err'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10219 ac_status=$?
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; } &&
10222 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
10228 ac_cv_func_dlopen=yes
10229 else
10230 echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.$ac_ext >&5
10233 ac_cv_func_dlopen=no
10235 rm -f conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10238 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10239 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10240 if test $ac_cv_func_dlopen = yes; then
10241 lt_cv_dlopen="dlopen"
10242 else
10243 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10244 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10245 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 else
10248 ac_check_lib_save_LIBS=$LIBS
10249 LIBS="-ldl $LIBS"
10250 if test x$gcc_no_link = xyes; then
10251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10253 { (exit 1); exit 1; }; }
10255 cat >conftest.$ac_ext <<_ACEOF
10256 /* confdefs.h. */
10257 _ACEOF
10258 cat confdefs.h >>conftest.$ac_ext
10259 cat >>conftest.$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10262 /* Override any gcc2 internal prototype to avoid an error. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267 builtin and then its argument prototype would still apply. */
10268 char dlopen ();
10270 main ()
10272 dlopen ();
10274 return 0;
10276 _ACEOF
10277 rm -f conftest.$ac_objext conftest$ac_exeext
10278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10279 (eval $ac_link) 2>conftest.er1
10280 ac_status=$?
10281 grep -v '^ *+' conftest.er1 >conftest.err
10282 rm -f conftest.er1
10283 cat conftest.err >&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); } &&
10286 { ac_try='test -z "$ac_c_werror_flag"
10287 || test ! -s conftest.err'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10290 ac_status=$?
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; } &&
10293 { ac_try='test -s conftest$ac_exeext'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10296 ac_status=$?
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; }; then
10299 ac_cv_lib_dl_dlopen=yes
10300 else
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10304 ac_cv_lib_dl_dlopen=no
10306 rm -f conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10311 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10312 if test $ac_cv_lib_dl_dlopen = yes; then
10313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10314 else
10315 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10316 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10317 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 else
10320 ac_check_lib_save_LIBS=$LIBS
10321 LIBS="-lsvld $LIBS"
10322 if test x$gcc_no_link = xyes; then
10323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10325 { (exit 1); exit 1; }; }
10327 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h. */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10334 /* Override any gcc2 internal prototype to avoid an error. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10340 char dlopen ();
10342 main ()
10344 dlopen ();
10346 return 0;
10348 _ACEOF
10349 rm -f conftest.$ac_objext conftest$ac_exeext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10351 (eval $ac_link) 2>conftest.er1
10352 ac_status=$?
10353 grep -v '^ *+' conftest.er1 >conftest.err
10354 rm -f conftest.er1
10355 cat conftest.err >&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } &&
10358 { ac_try='test -z "$ac_c_werror_flag"
10359 || test ! -s conftest.err'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try='test -s conftest$ac_exeext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10368 ac_status=$?
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 ac_cv_lib_svld_dlopen=yes
10372 else
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.$ac_ext >&5
10376 ac_cv_lib_svld_dlopen=no
10378 rm -f conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 LIBS=$ac_check_lib_save_LIBS
10382 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10383 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10384 if test $ac_cv_lib_svld_dlopen = yes; then
10385 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10386 else
10387 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10388 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10389 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10391 else
10392 ac_check_lib_save_LIBS=$LIBS
10393 LIBS="-ldld $LIBS"
10394 if test x$gcc_no_link = xyes; then
10395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10397 { (exit 1); exit 1; }; }
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h. */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 /* Override any gcc2 internal prototype to avoid an error. */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 /* We use char because int might match the return type of a gcc2
10411 builtin and then its argument prototype would still apply. */
10412 char dld_link ();
10414 main ()
10416 dld_link ();
10418 return 0;
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>conftest.er1
10424 ac_status=$?
10425 grep -v '^ *+' conftest.er1 >conftest.err
10426 rm -f conftest.er1
10427 cat conftest.err >&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_cv_lib_dld_dld_link=yes
10444 else
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 ac_cv_lib_dld_dld_link=no
10450 rm -f conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_lib_save_LIBS
10454 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10455 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10456 if test $ac_cv_lib_dld_dld_link = yes; then
10457 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10476 esac
10478 if test "x$lt_cv_dlopen" != xno; then
10479 enable_dlopen=yes
10480 else
10481 enable_dlopen=no
10484 case $lt_cv_dlopen in
10485 dlopen)
10486 save_CPPFLAGS="$CPPFLAGS"
10487 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10489 save_LDFLAGS="$LDFLAGS"
10490 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10492 save_LIBS="$LIBS"
10493 LIBS="$lt_cv_dlopen_libs $LIBS"
10495 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10496 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10497 if test "${lt_cv_dlopen_self+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500 if test "$cross_compiling" = yes; then :
10501 lt_cv_dlopen_self=cross
10502 else
10503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10504 lt_status=$lt_dlunknown
10505 cat > conftest.$ac_ext <<_LT_EOF
10506 #line 10506 "configure"
10507 #include "confdefs.h"
10509 #if HAVE_DLFCN_H
10510 #include <dlfcn.h>
10511 #endif
10513 #include <stdio.h>
10515 #ifdef RTLD_GLOBAL
10516 # define LT_DLGLOBAL RTLD_GLOBAL
10517 #else
10518 # ifdef DL_GLOBAL
10519 # define LT_DLGLOBAL DL_GLOBAL
10520 # else
10521 # define LT_DLGLOBAL 0
10522 # endif
10523 #endif
10525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10526 find out it does not work in some platform. */
10527 #ifndef LT_DLLAZY_OR_NOW
10528 # ifdef RTLD_LAZY
10529 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10530 # else
10531 # ifdef DL_LAZY
10532 # define LT_DLLAZY_OR_NOW DL_LAZY
10533 # else
10534 # ifdef RTLD_NOW
10535 # define LT_DLLAZY_OR_NOW RTLD_NOW
10536 # else
10537 # ifdef DL_NOW
10538 # define LT_DLLAZY_OR_NOW DL_NOW
10539 # else
10540 # define LT_DLLAZY_OR_NOW 0
10541 # endif
10542 # endif
10543 # endif
10544 # endif
10545 #endif
10547 #ifdef __cplusplus
10548 extern "C" void exit (int);
10549 #endif
10551 void fnord() { int i=42;}
10552 int main ()
10554 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10555 int status = $lt_dlunknown;
10557 if (self)
10559 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10560 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10561 /* dlclose (self); */
10563 else
10564 puts (dlerror ());
10566 exit (status);
10568 _LT_EOF
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 (eval $ac_link) 2>&5
10571 ac_status=$?
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10574 (./conftest; exit; ) >&5 2>/dev/null
10575 lt_status=$?
10576 case x$lt_status in
10577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10579 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10580 esac
10581 else :
10582 # compilation failed
10583 lt_cv_dlopen_self=no
10586 rm -fr conftest*
10590 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10591 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10593 if test "x$lt_cv_dlopen_self" = xyes; then
10594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10595 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10596 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10597 if test "${lt_cv_dlopen_self_static+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 else
10600 if test "$cross_compiling" = yes; then :
10601 lt_cv_dlopen_self_static=cross
10602 else
10603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10604 lt_status=$lt_dlunknown
10605 cat > conftest.$ac_ext <<_LT_EOF
10606 #line 10606 "configure"
10607 #include "confdefs.h"
10609 #if HAVE_DLFCN_H
10610 #include <dlfcn.h>
10611 #endif
10613 #include <stdio.h>
10615 #ifdef RTLD_GLOBAL
10616 # define LT_DLGLOBAL RTLD_GLOBAL
10617 #else
10618 # ifdef DL_GLOBAL
10619 # define LT_DLGLOBAL DL_GLOBAL
10620 # else
10621 # define LT_DLGLOBAL 0
10622 # endif
10623 #endif
10625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10626 find out it does not work in some platform. */
10627 #ifndef LT_DLLAZY_OR_NOW
10628 # ifdef RTLD_LAZY
10629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10630 # else
10631 # ifdef DL_LAZY
10632 # define LT_DLLAZY_OR_NOW DL_LAZY
10633 # else
10634 # ifdef RTLD_NOW
10635 # define LT_DLLAZY_OR_NOW RTLD_NOW
10636 # else
10637 # ifdef DL_NOW
10638 # define LT_DLLAZY_OR_NOW DL_NOW
10639 # else
10640 # define LT_DLLAZY_OR_NOW 0
10641 # endif
10642 # endif
10643 # endif
10644 # endif
10645 #endif
10647 #ifdef __cplusplus
10648 extern "C" void exit (int);
10649 #endif
10651 void fnord() { int i=42;}
10652 int main ()
10654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10655 int status = $lt_dlunknown;
10657 if (self)
10659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10660 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10661 /* dlclose (self); */
10663 else
10664 puts (dlerror ());
10666 exit (status);
10668 _LT_EOF
10669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10670 (eval $ac_link) 2>&5
10671 ac_status=$?
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10674 (./conftest; exit; ) >&5 2>/dev/null
10675 lt_status=$?
10676 case x$lt_status in
10677 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10678 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10679 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10680 esac
10681 else :
10682 # compilation failed
10683 lt_cv_dlopen_self_static=no
10686 rm -fr conftest*
10690 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10691 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10694 CPPFLAGS="$save_CPPFLAGS"
10695 LDFLAGS="$save_LDFLAGS"
10696 LIBS="$save_LIBS"
10698 esac
10700 case $lt_cv_dlopen_self in
10701 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10702 *) enable_dlopen_self=unknown ;;
10703 esac
10705 case $lt_cv_dlopen_self_static in
10706 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10707 *) enable_dlopen_self_static=unknown ;;
10708 esac
10727 striplib=
10728 old_striplib=
10729 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10730 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10731 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10732 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10733 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10734 echo "$as_me:$LINENO: result: yes" >&5
10735 echo "${ECHO_T}yes" >&6
10736 else
10737 # FIXME - insert some real tests, host_os isn't really good enough
10738 case $host_os in
10739 darwin*)
10740 if test -n "$STRIP" ; then
10741 striplib="$STRIP -x"
10742 old_striplib="$STRIP -S"
10743 echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6
10745 else
10746 echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6
10751 echo "$as_me:$LINENO: result: no" >&5
10752 echo "${ECHO_T}no" >&6
10754 esac
10768 # Report which library types will actually be built
10769 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10770 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10771 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10772 echo "${ECHO_T}$can_build_shared" >&6
10774 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10775 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10776 test "$can_build_shared" = "no" && enable_shared=no
10778 # On AIX, shared libraries and static libraries use the same namespace, and
10779 # are all built from PIC.
10780 case $host_os in
10781 aix3*)
10782 test "$enable_shared" = yes && enable_static=no
10783 if test -n "$RANLIB"; then
10784 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10785 postinstall_cmds='$RANLIB $lib'
10789 aix[4-9]*)
10790 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10791 test "$enable_shared" = yes && enable_static=no
10794 esac
10795 echo "$as_me:$LINENO: result: $enable_shared" >&5
10796 echo "${ECHO_T}$enable_shared" >&6
10798 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10799 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10800 # Make sure either enable_shared or enable_static is yes.
10801 test "$enable_shared" = yes || enable_static=yes
10802 echo "$as_me:$LINENO: result: $enable_static" >&5
10803 echo "${ECHO_T}$enable_static" >&6
10809 ac_ext=c
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10815 CC="$lt_save_CC"
10818 ac_ext=cc
10819 ac_cpp='$CXXCPP $CPPFLAGS'
10820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10824 archive_cmds_need_lc_CXX=no
10825 allow_undefined_flag_CXX=
10826 always_export_symbols_CXX=no
10827 archive_expsym_cmds_CXX=
10828 compiler_needs_object_CXX=no
10829 export_dynamic_flag_spec_CXX=
10830 hardcode_direct_CXX=no
10831 hardcode_direct_absolute_CXX=no
10832 hardcode_libdir_flag_spec_CXX=
10833 hardcode_libdir_flag_spec_ld_CXX=
10834 hardcode_libdir_separator_CXX=
10835 hardcode_minus_L_CXX=no
10836 hardcode_shlibpath_var_CXX=unsupported
10837 hardcode_automatic_CXX=no
10838 inherit_rpath_CXX=no
10839 module_cmds_CXX=
10840 module_expsym_cmds_CXX=
10841 link_all_deplibs_CXX=unknown
10842 old_archive_cmds_CXX=$old_archive_cmds
10843 no_undefined_flag_CXX=
10844 whole_archive_flag_spec_CXX=
10845 enable_shared_with_static_runtimes_CXX=no
10847 # Source file extension for C++ test sources.
10848 ac_ext=cpp
10850 # Object file extension for compiled C++ test sources.
10851 objext=o
10852 objext_CXX=$objext
10854 # No sense in running all these tests if we already determined that
10855 # the CXX compiler isn't working. Some variables (like enable_shared)
10856 # are currently assumed to apply to all compilers on this platform,
10857 # and will be corrupted by setting them based on a non-working compiler.
10858 if test "$_lt_caught_CXX_error" != yes; then
10859 # Code to be used in simple compile tests
10860 lt_simple_compile_test_code="int some_variable = 0;"
10862 # Code to be used in simple link tests
10863 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10865 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10872 # If no C compiler was specified, use CC.
10873 LTCC=${LTCC-"$CC"}
10875 # If no C compiler flags were specified, use CFLAGS.
10876 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10878 # Allow CC to be a program name with arguments.
10879 compiler=$CC
10882 # save warnings/boilerplate of simple test code
10883 ac_outfile=conftest.$ac_objext
10884 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10885 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10886 _lt_compiler_boilerplate=`cat conftest.err`
10887 $RM conftest*
10889 ac_outfile=conftest.$ac_objext
10890 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10891 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10892 _lt_linker_boilerplate=`cat conftest.err`
10893 $RM conftest*
10896 # Allow CC to be a program name with arguments.
10897 lt_save_CC=$CC
10898 lt_save_LD=$LD
10899 lt_save_GCC=$GCC
10900 GCC=$GXX
10901 lt_save_with_gnu_ld=$with_gnu_ld
10902 lt_save_path_LD=$lt_cv_path_LD
10903 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10904 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10905 else
10906 $as_unset lt_cv_prog_gnu_ld
10908 if test -n "${lt_cv_path_LDCXX+set}"; then
10909 lt_cv_path_LD=$lt_cv_path_LDCXX
10910 else
10911 $as_unset lt_cv_path_LD
10913 test -z "${LDCXX+set}" || LD=$LDCXX
10914 CC=${CXX-"c++"}
10915 compiler=$CC
10916 compiler_CXX=$CC
10917 for cc_temp in $compiler""; do
10918 case $cc_temp in
10919 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10920 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10921 \-*) ;;
10922 *) break;;
10923 esac
10924 done
10925 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10928 if test -n "$compiler"; then
10929 # We don't want -fno-exception when compiling C++ code, so set the
10930 # no_builtin_flag separately
10931 if test "$GXX" = yes; then
10932 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10933 else
10934 lt_prog_compiler_no_builtin_flag_CXX=
10937 if test "$GXX" = yes; then
10938 # Set up default GNU C++ configuration
10942 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10943 if test "${with_gnu_ld+set}" = set; then
10944 withval="$with_gnu_ld"
10945 test "$withval" = no || with_gnu_ld=yes
10946 else
10947 with_gnu_ld=no
10949 ac_prog=ld
10950 if test "$GCC" = yes; then
10951 # Check if gcc -print-prog-name=ld gives a path.
10952 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10953 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10954 case $host in
10955 *-*-mingw*)
10956 # gcc leaves a trailing carriage return which upsets mingw
10957 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10959 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10960 esac
10961 case $ac_prog in
10962 # Accept absolute paths.
10963 [\\/]* | ?:[\\/]*)
10964 re_direlt='/[^/][^/]*/\.\./'
10965 # Canonicalize the pathname of ld
10966 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10967 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10968 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10969 done
10970 test -z "$LD" && LD="$ac_prog"
10973 # If it fails, then pretend we aren't using GCC.
10974 ac_prog=ld
10977 # If it is relative, then search for the first ld in PATH.
10978 with_gnu_ld=unknown
10980 esac
10981 elif test "$with_gnu_ld" = yes; then
10982 echo "$as_me:$LINENO: checking for GNU ld" >&5
10983 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10984 else
10985 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10986 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10988 if test "${lt_cv_path_LD+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991 if test -z "$LD"; then
10992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10993 for ac_dir in $PATH; do
10994 IFS="$lt_save_ifs"
10995 test -z "$ac_dir" && ac_dir=.
10996 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10997 lt_cv_path_LD="$ac_dir/$ac_prog"
10998 # Check to see if the program is GNU ld. I'd rather use --version,
10999 # but apparently some variants of GNU ld only accept -v.
11000 # Break only if it was the GNU/non-GNU ld that we prefer.
11001 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11002 *GNU* | *'with BFD'*)
11003 test "$with_gnu_ld" != no && break
11006 test "$with_gnu_ld" != yes && break
11008 esac
11010 done
11011 IFS="$lt_save_ifs"
11012 else
11013 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11017 LD="$lt_cv_path_LD"
11018 if test -n "$LD"; then
11019 echo "$as_me:$LINENO: result: $LD" >&5
11020 echo "${ECHO_T}$LD" >&6
11021 else
11022 echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11025 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11026 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11027 { (exit 1); exit 1; }; }
11028 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11029 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11030 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11034 case `$LD -v 2>&1 </dev/null` in
11035 *GNU* | *'with BFD'*)
11036 lt_cv_prog_gnu_ld=yes
11039 lt_cv_prog_gnu_ld=no
11041 esac
11043 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11044 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11045 with_gnu_ld=$lt_cv_prog_gnu_ld
11053 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11054 # archiving commands below assume that GNU ld is being used.
11055 if test "$with_gnu_ld" = yes; then
11056 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11057 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'
11059 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11060 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11062 # If archive_cmds runs LD, not CC, wlarc should be empty
11063 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11064 # investigate it a little bit more. (MM)
11065 wlarc='${wl}'
11067 # ancient GNU ld didn't support --whole-archive et. al.
11068 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11069 $GREP 'no-whole-archive' > /dev/null; then
11070 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11071 else
11072 whole_archive_flag_spec_CXX=
11074 else
11075 with_gnu_ld=no
11076 wlarc=
11078 # A generic and very simple default shared library creation
11079 # command for GNU C++ for the case where it uses the native
11080 # linker, instead of GNU ld. If possible, this setting should
11081 # overridden to take advantage of the native linker features on
11082 # the platform it is being used on.
11083 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11086 # Commands to make compiler produce verbose output that lists
11087 # what "hidden" libraries, object files and flags are used when
11088 # linking a shared library.
11089 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11091 else
11092 GXX=no
11093 with_gnu_ld=no
11094 wlarc=
11097 # PORTME: fill in a description of your system's C++ link characteristics
11098 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11099 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11100 ld_shlibs_CXX=yes
11101 case $host_os in
11102 aix3*)
11103 # FIXME: insert proper C++ library support
11104 ld_shlibs_CXX=no
11106 aix[4-9]*)
11107 if test "$host_cpu" = ia64; then
11108 # On IA64, the linker does run time linking by default, so we don't
11109 # have to do anything special.
11110 aix_use_runtimelinking=no
11111 exp_sym_flag='-Bexport'
11112 no_entry_flag=""
11113 else
11114 aix_use_runtimelinking=no
11116 # Test if we are trying to use run time linking or normal
11117 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11118 # need to do runtime linking.
11119 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11120 for ld_flag in $LDFLAGS; do
11121 case $ld_flag in
11122 *-brtl*)
11123 aix_use_runtimelinking=yes
11124 break
11126 esac
11127 done
11129 esac
11131 exp_sym_flag='-bexport'
11132 no_entry_flag='-bnoentry'
11135 # When large executables or shared objects are built, AIX ld can
11136 # have problems creating the table of contents. If linking a library
11137 # or program results in "error TOC overflow" add -mminimal-toc to
11138 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11139 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11141 archive_cmds_CXX=''
11142 hardcode_direct_CXX=yes
11143 hardcode_direct_absolute_CXX=yes
11144 hardcode_libdir_separator_CXX=':'
11145 link_all_deplibs_CXX=yes
11146 file_list_spec_CXX='${wl}-f,'
11148 if test "$GXX" = yes; then
11149 case $host_os in aix4.[012]|aix4.[012].*)
11150 # We only want to do this on AIX 4.2 and lower, the check
11151 # below for broken collect2 doesn't work under 4.3+
11152 collect2name=`${CC} -print-prog-name=collect2`
11153 if test -f "$collect2name" &&
11154 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11155 then
11156 # We have reworked collect2
11158 else
11159 # We have old collect2
11160 hardcode_direct_CXX=unsupported
11161 # It fails to find uninstalled libraries when the uninstalled
11162 # path is not listed in the libpath. Setting hardcode_minus_L
11163 # to unsupported forces relinking
11164 hardcode_minus_L_CXX=yes
11165 hardcode_libdir_flag_spec_CXX='-L$libdir'
11166 hardcode_libdir_separator_CXX=
11168 esac
11169 shared_flag='-shared'
11170 if test "$aix_use_runtimelinking" = yes; then
11171 shared_flag="$shared_flag "'${wl}-G'
11173 else
11174 # not using gcc
11175 if test "$host_cpu" = ia64; then
11176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11177 # chokes on -Wl,-G. The following line is correct:
11178 shared_flag='-G'
11179 else
11180 if test "$aix_use_runtimelinking" = yes; then
11181 shared_flag='${wl}-G'
11182 else
11183 shared_flag='${wl}-bM:SRE'
11188 # It seems that -bexpall does not export symbols beginning with
11189 # underscore (_), so it is better to generate a list of symbols to
11190 # export.
11191 always_export_symbols_CXX=yes
11192 if test "$aix_use_runtimelinking" = yes; then
11193 # Warning - without using the other runtime loading flags (-brtl),
11194 # -berok will link without error, but may produce a broken library.
11195 allow_undefined_flag_CXX='-berok'
11196 # Determine the default libpath from the value encoded in an empty
11197 # executable.
11198 if test x$gcc_no_link = xyes; then
11199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11201 { (exit 1); exit 1; }; }
11203 cat >conftest.$ac_ext <<_ACEOF
11204 /* confdefs.h. */
11205 _ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11211 main ()
11215 return 0;
11217 _ACEOF
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11220 (eval $ac_link) 2>conftest.er1
11221 ac_status=$?
11222 grep -v '^ *+' conftest.er1 >conftest.err
11223 rm -f conftest.er1
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -z "$ac_cxx_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest$ac_exeext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11241 lt_aix_libpath_sed='
11242 /Import File Strings/,/^$/ {
11243 /^0/ {
11244 s/^0 *\(.*\)$/\1/
11248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11249 # Check for a 64-bit object if we didn't find anything.
11250 if test -z "$aix_libpath"; then
11251 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11253 else
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11258 rm -f conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11262 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11264 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"
11265 else
11266 if test "$host_cpu" = ia64; then
11267 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11268 allow_undefined_flag_CXX="-z nodefs"
11269 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"
11270 else
11271 # Determine the default libpath from the value encoded in an
11272 # empty executable.
11273 if test x$gcc_no_link = xyes; then
11274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11276 { (exit 1); exit 1; }; }
11278 cat >conftest.$ac_ext <<_ACEOF
11279 /* confdefs.h. */
11280 _ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11286 main ()
11290 return 0;
11292 _ACEOF
11293 rm -f conftest.$ac_objext conftest$ac_exeext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11295 (eval $ac_link) 2>conftest.er1
11296 ac_status=$?
11297 grep -v '^ *+' conftest.er1 >conftest.err
11298 rm -f conftest.er1
11299 cat conftest.err >&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } &&
11302 { ac_try='test -z "$ac_cxx_werror_flag"
11303 || test ! -s conftest.err'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; } &&
11309 { ac_try='test -s conftest$ac_exeext'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11312 ac_status=$?
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11316 lt_aix_libpath_sed='
11317 /Import File Strings/,/^$/ {
11318 /^0/ {
11319 s/^0 *\(.*\)$/\1/
11323 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11324 # Check for a 64-bit object if we didn't find anything.
11325 if test -z "$aix_libpath"; then
11326 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11328 else
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.$ac_ext >&5
11333 rm -f conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11337 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11338 # Warning - without using the other run time loading flags,
11339 # -berok will link without error, but may produce a broken library.
11340 no_undefined_flag_CXX=' ${wl}-bernotok'
11341 allow_undefined_flag_CXX=' ${wl}-berok'
11342 # Exported symbols can be pulled into shared objects from archives
11343 whole_archive_flag_spec_CXX='$convenience'
11344 archive_cmds_need_lc_CXX=yes
11345 # This is similar to how AIX traditionally builds its shared
11346 # libraries.
11347 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'
11352 beos*)
11353 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11354 allow_undefined_flag_CXX=unsupported
11355 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11356 # support --undefined. This deserves some investigation. FIXME
11357 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11358 else
11359 ld_shlibs_CXX=no
11363 chorus*)
11364 case $cc_basename in
11366 # FIXME: insert proper C++ library support
11367 ld_shlibs_CXX=no
11369 esac
11372 cygwin* | mingw* | pw32*)
11373 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11374 # as there is no search path for DLLs.
11375 hardcode_libdir_flag_spec_CXX='-L$libdir'
11376 allow_undefined_flag_CXX=unsupported
11377 always_export_symbols_CXX=no
11378 enable_shared_with_static_runtimes_CXX=yes
11380 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11381 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'
11382 # If the export-symbols file already is a .def file (1st line
11383 # is EXPORTS), use it as is; otherwise, prepend...
11384 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11385 cp $export_symbols $output_objdir/$soname.def;
11386 else
11387 echo EXPORTS > $output_objdir/$soname.def;
11388 cat $export_symbols >> $output_objdir/$soname.def;
11390 $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'
11391 else
11392 ld_shlibs_CXX=no
11395 darwin* | rhapsody*)
11396 case $host_os in
11397 rhapsody* | darwin1.[012])
11398 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11400 *) # Darwin 1.3 on
11401 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11402 10.[012])
11403 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11405 10.*)
11406 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11408 esac
11410 esac
11411 archive_cmds_need_lc_CXX=no
11412 hardcode_direct_CXX=no
11413 hardcode_automatic_CXX=yes
11414 hardcode_shlibpath_var_CXX=unsupported
11415 whole_archive_flag_spec_CXX=''
11416 link_all_deplibs_CXX=yes
11418 if test "$GXX" = yes ; then
11419 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422 lt_cv_apple_cc_single_mod=no
11423 if test -z "${LT_MULTI_MODULE}"; then
11424 # By default we will add the -single_module flag. You can override
11425 # by either setting the environment variable LT_MULTI_MODULE
11426 # non-empty at configure time, or by adding -multi-module to the
11427 # link flags.
11428 echo "int foo(void){return 1;}" > conftest.c
11429 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11430 -dynamiclib ${wl}-single_module conftest.c
11431 if test -f libconftest.dylib; then
11432 lt_cv_apple_cc_single_mod=yes
11433 rm libconftest.dylib
11435 rm conftest.$ac_ext
11439 output_verbose_link_cmd=echo
11440 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11441 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11442 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11443 else
11444 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'
11445 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11447 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11448 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11449 else
11450 case $cc_basename in
11451 xlc*)
11452 output_verbose_link_cmd=echo
11453 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11454 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11455 # Don't fix this by using the ld -exported_symbols_list flag,
11456 # it doesn't exist in older darwin lds
11457 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11458 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11461 ld_shlibs_CXX=no
11463 esac
11467 dgux*)
11468 case $cc_basename in
11469 ec++*)
11470 # FIXME: insert proper C++ library support
11471 ld_shlibs_CXX=no
11473 ghcx*)
11474 # Green Hills C++ Compiler
11475 # FIXME: insert proper C++ library support
11476 ld_shlibs_CXX=no
11479 # FIXME: insert proper C++ library support
11480 ld_shlibs_CXX=no
11482 esac
11485 freebsd[12]*)
11486 # C++ shared libraries reported to be fairly broken before
11487 # switch to ELF
11488 ld_shlibs_CXX=no
11491 freebsd-elf*)
11492 archive_cmds_need_lc_CXX=no
11495 freebsd* | dragonfly*)
11496 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11497 # conventions
11498 ld_shlibs_CXX=yes
11501 gnu*)
11504 hpux9*)
11505 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11506 hardcode_libdir_separator_CXX=:
11507 export_dynamic_flag_spec_CXX='${wl}-E'
11508 hardcode_direct_CXX=yes
11509 hardcode_minus_L_CXX=yes # Not in the search PATH,
11510 # but as the default
11511 # location of the library.
11513 case $cc_basename in
11514 CC*)
11515 # FIXME: insert proper C++ library support
11516 ld_shlibs_CXX=no
11518 aCC*)
11519 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'
11520 # Commands to make compiler produce verbose output that lists
11521 # what "hidden" libraries, object files and flags are used when
11522 # linking a shared library.
11524 # There doesn't appear to be a way to prevent this compiler from
11525 # explicitly linking system object files so we need to strip them
11526 # from the output so that they don't get included in the library
11527 # dependencies.
11528 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'
11531 if test "$GXX" = yes; then
11532 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'
11533 else
11534 # FIXME: insert proper C++ library support
11535 ld_shlibs_CXX=no
11538 esac
11541 hpux10*|hpux11*)
11542 if test $with_gnu_ld = no; then
11543 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11544 hardcode_libdir_separator_CXX=:
11546 case $host_cpu in
11547 hppa*64*|ia64*)
11550 export_dynamic_flag_spec_CXX='${wl}-E'
11552 esac
11554 case $host_cpu in
11555 hppa*64*|ia64*)
11556 hardcode_direct_CXX=no
11557 hardcode_shlibpath_var_CXX=no
11560 hardcode_direct_CXX=yes
11561 hardcode_direct_absolute_CXX=yes
11562 hardcode_minus_L_CXX=yes # Not in the search PATH,
11563 # but as the default
11564 # location of the library.
11566 esac
11568 case $cc_basename in
11569 CC*)
11570 # FIXME: insert proper C++ library support
11571 ld_shlibs_CXX=no
11573 aCC*)
11574 case $host_cpu in
11575 hppa*64*)
11576 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11578 ia64*)
11579 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11584 esac
11585 # Commands to make compiler produce verbose output that lists
11586 # what "hidden" libraries, object files and flags are used when
11587 # linking a shared library.
11589 # There doesn't appear to be a way to prevent this compiler from
11590 # explicitly linking system object files so we need to strip them
11591 # from the output so that they don't get included in the library
11592 # dependencies.
11593 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'
11596 if test "$GXX" = yes; then
11597 if test $with_gnu_ld = no; then
11598 case $host_cpu in
11599 hppa*64*)
11600 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11602 ia64*)
11603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11606 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'
11608 esac
11610 else
11611 # FIXME: insert proper C++ library support
11612 ld_shlibs_CXX=no
11615 esac
11618 interix[3-9]*)
11619 hardcode_direct_CXX=no
11620 hardcode_shlibpath_var_CXX=no
11621 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11622 export_dynamic_flag_spec_CXX='${wl}-E'
11623 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11624 # Instead, shared libraries are loaded at an image base (0x10000000 by
11625 # default) and relocated if they conflict, which is a slow very memory
11626 # consuming and fragmenting process. To avoid this, we pick a random,
11627 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11628 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11629 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'
11630 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'
11632 irix5* | irix6*)
11633 case $cc_basename in
11634 CC*)
11635 # SGI C++
11636 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'
11638 # Archives containing C++ object files must be created using
11639 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11640 # necessary to make sure instantiated templates are included
11641 # in the archive.
11642 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11645 if test "$GXX" = yes; then
11646 if test "$with_gnu_ld" = no; then
11647 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'
11648 else
11649 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'
11652 link_all_deplibs_CXX=yes
11654 esac
11655 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11656 hardcode_libdir_separator_CXX=:
11657 inherit_rpath_CXX=yes
11660 linux* | k*bsd*-gnu)
11661 case $cc_basename in
11662 KCC*)
11663 # Kuck and Associates, Inc. (KAI) C++ Compiler
11665 # KCC will only create a shared library if the output file
11666 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11667 # to its proper name (with version) after linking.
11668 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'
11669 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'
11670 # Commands to make compiler produce verbose output that lists
11671 # what "hidden" libraries, object files and flags are used when
11672 # linking a shared library.
11674 # There doesn't appear to be a way to prevent this compiler from
11675 # explicitly linking system object files so we need to strip them
11676 # from the output so that they don't get included in the library
11677 # dependencies.
11678 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'
11680 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11681 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11683 # Archives containing C++ object files must be created using
11684 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11685 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11687 icpc* | ecpc* )
11688 # Intel C++
11689 with_gnu_ld=yes
11690 # version 8.0 and above of icpc choke on multiply defined symbols
11691 # if we add $predep_objects and $postdep_objects, however 7.1 and
11692 # earlier do not add the objects themselves.
11693 case `$CC -V 2>&1` in
11694 *"Version 7."*)
11695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11696 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'
11698 *) # Version 8.0 or newer
11699 tmp_idyn=
11700 case $host_cpu in
11701 ia64*) tmp_idyn=' -i_dynamic';;
11702 esac
11703 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11704 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'
11706 esac
11707 archive_cmds_need_lc_CXX=no
11708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11709 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11710 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11712 pgCC*)
11713 # Portland Group C++ compiler
11714 case `$CC -V` in
11715 *pgCC\ [1-5]*)
11716 prelink_cmds_CXX='tpldir=Template.dir~
11717 rm -rf $tpldir~
11718 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11719 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11720 old_archive_cmds_CXX='tpldir=Template.dir~
11721 rm -rf $tpldir~
11722 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11723 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11724 $RANLIB $oldlib'
11725 archive_cmds_CXX='tpldir=Template.dir~
11726 rm -rf $tpldir~
11727 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11728 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11729 archive_expsym_cmds_CXX='tpldir=Template.dir~
11730 rm -rf $tpldir~
11731 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11732 $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'
11734 *) # Version 6 will use weak symbols
11735 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11736 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'
11738 esac
11740 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11741 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11742 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'
11744 cxx*)
11745 # Compaq C++
11746 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11747 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'
11749 runpath_var=LD_RUN_PATH
11750 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11751 hardcode_libdir_separator_CXX=:
11753 # Commands to make compiler produce verbose output that lists
11754 # what "hidden" libraries, object files and flags are used when
11755 # linking a shared library.
11757 # There doesn't appear to be a way to prevent this compiler from
11758 # explicitly linking system object files so we need to strip them
11759 # from the output so that they don't get included in the library
11760 # dependencies.
11761 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'
11764 case `$CC -V 2>&1 | sed 5q` in
11765 *Sun\ C*)
11766 # Sun C++ 5.9
11767 no_undefined_flag_CXX=' -zdefs'
11768 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11769 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'
11770 hardcode_libdir_flag_spec_CXX='-R$libdir'
11771 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'
11772 compiler_needs_object_CXX=yes
11774 # Not sure whether something based on
11775 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11776 # would be better.
11777 output_verbose_link_cmd='echo'
11779 # Archives containing C++ object files must be created using
11780 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11781 # necessary to make sure instantiated templates are included
11782 # in the archive.
11783 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11785 esac
11787 esac
11790 lynxos*)
11791 # FIXME: insert proper C++ library support
11792 ld_shlibs_CXX=no
11795 m88k*)
11796 # FIXME: insert proper C++ library support
11797 ld_shlibs_CXX=no
11800 mvs*)
11801 case $cc_basename in
11802 cxx*)
11803 # FIXME: insert proper C++ library support
11804 ld_shlibs_CXX=no
11807 # FIXME: insert proper C++ library support
11808 ld_shlibs_CXX=no
11810 esac
11813 netbsd*)
11814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11815 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11816 wlarc=
11817 hardcode_libdir_flag_spec_CXX='-R$libdir'
11818 hardcode_direct_CXX=yes
11819 hardcode_shlibpath_var_CXX=no
11821 # Workaround some broken pre-1.5 toolchains
11822 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11825 *nto* | *qnx*)
11826 ld_shlibs_CXX=yes
11829 openbsd2*)
11830 # C++ shared libraries are fairly broken
11831 ld_shlibs_CXX=no
11834 openbsd*)
11835 hardcode_direct_CXX=yes
11836 hardcode_shlibpath_var_CXX=no
11837 hardcode_direct_absolute_CXX=yes
11838 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11840 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11841 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11842 export_dynamic_flag_spec_CXX='${wl}-E'
11843 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11845 output_verbose_link_cmd=echo
11848 osf3* | osf4* | osf5*)
11849 case $cc_basename in
11850 KCC*)
11851 # Kuck and Associates, Inc. (KAI) C++ Compiler
11853 # KCC will only create a shared library if the output file
11854 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11855 # to its proper name (with version) after linking.
11856 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'
11858 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11859 hardcode_libdir_separator_CXX=:
11861 # Archives containing C++ object files must be created using
11862 # the KAI C++ compiler.
11863 case $host in
11864 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11865 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11866 esac
11868 RCC*)
11869 # Rational C++ 2.4.1
11870 # FIXME: insert proper C++ library support
11871 ld_shlibs_CXX=no
11873 cxx*)
11874 case $host in
11875 osf3*)
11876 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11877 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'
11878 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11881 allow_undefined_flag_CXX=' -expect_unresolved \*'
11882 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'
11883 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11884 echo "-hidden">> $lib.exp~
11885 $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~
11886 $RM $lib.exp'
11887 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11889 esac
11891 hardcode_libdir_separator_CXX=:
11893 # Commands to make compiler produce verbose output that lists
11894 # what "hidden" libraries, object files and flags are used when
11895 # linking a shared library.
11897 # There doesn't appear to be a way to prevent this compiler from
11898 # explicitly linking system object files so we need to strip them
11899 # from the output so that they don't get included in the library
11900 # dependencies.
11901 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'
11904 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11905 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11906 case $host in
11907 osf3*)
11908 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'
11911 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'
11913 esac
11915 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11916 hardcode_libdir_separator_CXX=:
11918 # Commands to make compiler produce verbose output that lists
11919 # what "hidden" libraries, object files and flags are used when
11920 # linking a shared library.
11921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11923 else
11924 # FIXME: insert proper C++ library support
11925 ld_shlibs_CXX=no
11928 esac
11931 psos*)
11932 # FIXME: insert proper C++ library support
11933 ld_shlibs_CXX=no
11936 sunos4*)
11937 case $cc_basename in
11938 CC*)
11939 # Sun C++ 4.x
11940 # FIXME: insert proper C++ library support
11941 ld_shlibs_CXX=no
11943 lcc*)
11944 # Lucid
11945 # FIXME: insert proper C++ library support
11946 ld_shlibs_CXX=no
11949 # FIXME: insert proper C++ library support
11950 ld_shlibs_CXX=no
11952 esac
11955 solaris*)
11956 case $cc_basename in
11957 CC*)
11958 # Sun C++ 4.2, 5.x and Centerline C++
11959 archive_cmds_need_lc_CXX=yes
11960 no_undefined_flag_CXX=' -zdefs'
11961 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11962 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11963 $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'
11965 hardcode_libdir_flag_spec_CXX='-R$libdir'
11966 hardcode_shlibpath_var_CXX=no
11967 case $host_os in
11968 solaris2.[0-5] | solaris2.[0-5].*) ;;
11970 # The compiler driver will combine and reorder linker options,
11971 # but understands `-z linker_flag'.
11972 # Supported since Solaris 2.6 (maybe 2.5.1?)
11973 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11975 esac
11976 link_all_deplibs_CXX=yes
11978 output_verbose_link_cmd='echo'
11980 # Archives containing C++ object files must be created using
11981 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11982 # necessary to make sure instantiated templates are included
11983 # in the archive.
11984 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11986 gcx*)
11987 # Green Hills C++ Compiler
11988 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11990 # The C++ compiler must be used to create the archive.
11991 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11994 # GNU C++ compiler with Solaris linker
11995 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11996 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11997 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11998 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12000 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12002 # Commands to make compiler produce verbose output that lists
12003 # what "hidden" libraries, object files and flags are used when
12004 # linking a shared library.
12005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12006 else
12007 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12008 # platform.
12009 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12013 # Commands to make compiler produce verbose output that lists
12014 # what "hidden" libraries, object files and flags are used when
12015 # linking a shared library.
12016 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12019 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12020 case $host_os in
12021 solaris2.[0-5] | solaris2.[0-5].*) ;;
12023 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12025 esac
12028 esac
12031 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12032 no_undefined_flag_CXX='${wl}-z,text'
12033 archive_cmds_need_lc_CXX=no
12034 hardcode_shlibpath_var_CXX=no
12035 runpath_var='LD_RUN_PATH'
12037 case $cc_basename in
12038 CC*)
12039 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12040 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12043 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12044 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12046 esac
12049 sysv5* | sco3.2v5* | sco5v6*)
12050 # Note: We can NOT use -z defs as we might desire, because we do not
12051 # link with -lc, and that would cause any symbols used from libc to
12052 # always be unresolved, which means just about no library would
12053 # ever link correctly. If we're not using GNU ld we use -z text
12054 # though, which does catch some bad symbols but isn't as heavy-handed
12055 # as -z defs.
12056 no_undefined_flag_CXX='${wl}-z,text'
12057 allow_undefined_flag_CXX='${wl}-z,nodefs'
12058 archive_cmds_need_lc_CXX=no
12059 hardcode_shlibpath_var_CXX=no
12060 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12061 hardcode_libdir_separator_CXX=':'
12062 link_all_deplibs_CXX=yes
12063 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12064 runpath_var='LD_RUN_PATH'
12066 case $cc_basename in
12067 CC*)
12068 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12069 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12072 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12073 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 esac
12078 tandem*)
12079 case $cc_basename in
12080 NCC*)
12081 # NonStop-UX NCC 3.20
12082 # FIXME: insert proper C++ library support
12083 ld_shlibs_CXX=no
12086 # FIXME: insert proper C++ library support
12087 ld_shlibs_CXX=no
12089 esac
12092 vxworks*)
12093 # FIXME: insert proper C++ library support
12094 ld_shlibs_CXX=no
12098 # FIXME: insert proper C++ library support
12099 ld_shlibs_CXX=no
12101 esac
12103 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12104 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12105 test "$ld_shlibs_CXX" = no && can_build_shared=no
12107 GCC_CXX="$GXX"
12108 LD_CXX="$LD"
12110 ## CAVEAT EMPTOR:
12111 ## There is no encapsulation within the following macros, do not change
12112 ## the running order or otherwise move them around unless you know exactly
12113 ## what you are doing...
12114 # Dependencies to place before and after the object being linked:
12115 predep_objects_CXX=
12116 postdep_objects_CXX=
12117 predeps_CXX=
12118 postdeps_CXX=
12119 compiler_lib_search_path_CXX=
12121 cat > conftest.$ac_ext <<_LT_EOF
12122 class Foo
12124 public:
12125 Foo (void) { a = 0; }
12126 private:
12127 int a;
12129 _LT_EOF
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; then
12136 # Parse the compiler output and extract the necessary
12137 # objects, libraries and library flags.
12139 # Sentinel used to keep track of whether or not we are before
12140 # the conftest object file.
12141 pre_test_object_deps_done=no
12143 # The `*' in the case matches for architectures that use `case' in
12144 # $output_verbose_cmd can trigger glob expansion during the loop
12145 # eval without this substitution.
12146 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12148 for p in `eval $output_verbose_link_cmd`; do
12149 case $p in
12151 -L* | -R* | -l*)
12152 # Some compilers place space between "-{L,R}" and the path.
12153 # Remove the space.
12154 if test $p = "-L" ||
12155 test $p = "-R"; then
12156 prev=$p
12157 continue
12158 else
12159 prev=
12162 if test "$pre_test_object_deps_done" = no; then
12163 case $p in
12164 -L* | -R*)
12165 # Internal compiler library paths should come after those
12166 # provided the user. The postdeps already come after the
12167 # user supplied libs so there is no need to process them.
12168 if test -z "$compiler_lib_search_path_CXX"; then
12169 compiler_lib_search_path_CXX="${prev}${p}"
12170 else
12171 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12174 # The "-l" case would never come before the object being
12175 # linked, so don't bother handling this case.
12176 esac
12177 else
12178 if test -z "$postdeps_CXX"; then
12179 postdeps_CXX="${prev}${p}"
12180 else
12181 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12186 *.$objext)
12187 # This assumes that the test object file only shows up
12188 # once in the compiler output.
12189 if test "$p" = "conftest.$objext"; then
12190 pre_test_object_deps_done=yes
12191 continue
12194 if test "$pre_test_object_deps_done" = no; then
12195 if test -z "$predep_objects_CXX"; then
12196 predep_objects_CXX="$p"
12197 else
12198 predep_objects_CXX="$predep_objects_CXX $p"
12200 else
12201 if test -z "$postdep_objects_CXX"; then
12202 postdep_objects_CXX="$p"
12203 else
12204 postdep_objects_CXX="$postdep_objects_CXX $p"
12209 *) ;; # Ignore the rest.
12211 esac
12212 done
12214 # Clean up.
12215 rm -f a.out a.exe
12216 else
12217 echo "libtool.m4: error: problem compiling CXX test program"
12220 $RM -f confest.$objext
12222 # PORTME: override above test on systems where it is broken
12223 case $host_os in
12224 interix[3-9]*)
12225 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12226 # hack all around it, let's just trust "g++" to DTRT.
12227 predep_objects_CXX=
12228 postdep_objects_CXX=
12229 postdeps_CXX=
12232 linux*)
12233 case `$CC -V 2>&1 | sed 5q` in
12234 *Sun\ C*)
12235 # Sun C++ 5.9
12237 # The more standards-conforming stlport4 library is
12238 # incompatible with the Cstd library. Avoid specifying
12239 # it if it's in CXXFLAGS. Ignore libCrun as
12240 # -library=stlport4 depends on it.
12241 case " $CXX $CXXFLAGS " in
12242 *" -library=stlport4 "*)
12243 solaris_use_stlport4=yes
12245 esac
12247 if test "$solaris_use_stlport4" != yes; then
12248 postdeps_CXX='-library=Cstd -library=Crun'
12251 esac
12254 solaris*)
12255 case $cc_basename in
12256 CC*)
12257 # The more standards-conforming stlport4 library is
12258 # incompatible with the Cstd library. Avoid specifying
12259 # it if it's in CXXFLAGS. Ignore libCrun as
12260 # -library=stlport4 depends on it.
12261 case " $CXX $CXXFLAGS " in
12262 *" -library=stlport4 "*)
12263 solaris_use_stlport4=yes
12265 esac
12267 # Adding this requires a known-good setup of shared libraries for
12268 # Sun compiler versions before 5.6, else PIC objects from an old
12269 # archive will be linked into the output, leading to subtle bugs.
12270 if test "$solaris_use_stlport4" != yes; then
12271 postdeps_CXX='-library=Cstd -library=Crun'
12274 esac
12276 esac
12279 case " $postdeps_CXX " in
12280 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12281 esac
12308 lt_prog_compiler_wl_CXX=
12309 lt_prog_compiler_pic_CXX=
12310 lt_prog_compiler_static_CXX=
12312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12315 # C++ specific cases for pic, static, wl, etc.
12316 if test "$GXX" = yes; then
12317 lt_prog_compiler_wl_CXX='-Wl,'
12318 lt_prog_compiler_static_CXX='-static'
12320 case $host_os in
12321 aix*)
12322 # All AIX code is PIC.
12323 if test "$host_cpu" = ia64; then
12324 # AIX 5 now supports IA64 processor
12325 lt_prog_compiler_static_CXX='-Bstatic'
12328 amigaos*)
12329 if test "$host_cpu" = m68k; then
12330 # FIXME: we need at least 68020 code to build shared libraries, but
12331 # adding the `-m68020' flag to GCC prevents building anything better,
12332 # like `-m68040'.
12333 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12336 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12337 # PIC is the default for these OSes.
12339 mingw* | cygwin* | os2* | pw32*)
12340 # This hack is so that the source file can tell whether it is being
12341 # built for inclusion in a dll (and should export symbols for example).
12342 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12343 # (--disable-auto-import) libraries
12344 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12346 darwin* | rhapsody*)
12347 # PIC is the default on this platform
12348 # Common symbols not allowed in MH_DYLIB files
12349 lt_prog_compiler_pic_CXX='-fno-common'
12351 *djgpp*)
12352 # DJGPP does not support shared libraries at all
12353 lt_prog_compiler_pic_CXX=
12355 interix[3-9]*)
12356 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12357 # Instead, we relocate shared libraries at runtime.
12359 sysv4*MP*)
12360 if test -d /usr/nec; then
12361 lt_prog_compiler_pic_CXX=-Kconform_pic
12364 hpux*)
12365 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12366 # not for PA HP-UX.
12367 case $host_cpu in
12368 hppa*64*|ia64*)
12371 lt_prog_compiler_pic_CXX='-fPIC'
12373 esac
12375 *qnx* | *nto*)
12376 # QNX uses GNU C++, but need to define -shared option too, otherwise
12377 # it will coredump.
12378 lt_prog_compiler_pic_CXX='-fPIC -shared'
12381 lt_prog_compiler_pic_CXX='-fPIC'
12383 esac
12384 else
12385 case $host_os in
12386 aix[4-9]*)
12387 # All AIX code is PIC.
12388 if test "$host_cpu" = ia64; then
12389 # AIX 5 now supports IA64 processor
12390 lt_prog_compiler_static_CXX='-Bstatic'
12391 else
12392 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12395 chorus*)
12396 case $cc_basename in
12397 cxch68*)
12398 # Green Hills C++ Compiler
12399 # _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"
12401 esac
12403 darwin*)
12404 # PIC is the default on this platform
12405 # Common symbols not allowed in MH_DYLIB files
12406 case $cc_basename in
12407 xlc*)
12408 lt_prog_compiler_pic_CXX='-qnocommon'
12409 lt_prog_compiler_wl_CXX='-Wl,'
12411 esac
12413 dgux*)
12414 case $cc_basename in
12415 ec++*)
12416 lt_prog_compiler_pic_CXX='-KPIC'
12418 ghcx*)
12419 # Green Hills C++ Compiler
12420 lt_prog_compiler_pic_CXX='-pic'
12424 esac
12426 freebsd* | dragonfly*)
12427 # FreeBSD uses GNU C++
12429 hpux9* | hpux10* | hpux11*)
12430 case $cc_basename in
12431 CC*)
12432 lt_prog_compiler_wl_CXX='-Wl,'
12433 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12434 if test "$host_cpu" != ia64; then
12435 lt_prog_compiler_pic_CXX='+Z'
12438 aCC*)
12439 lt_prog_compiler_wl_CXX='-Wl,'
12440 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12441 case $host_cpu in
12442 hppa*64*|ia64*)
12443 # +Z the default
12446 lt_prog_compiler_pic_CXX='+Z'
12448 esac
12452 esac
12454 interix*)
12455 # This is c89, which is MS Visual C++ (no shared libs)
12456 # Anyone wants to do a port?
12458 irix5* | irix6* | nonstopux*)
12459 case $cc_basename in
12460 CC*)
12461 lt_prog_compiler_wl_CXX='-Wl,'
12462 lt_prog_compiler_static_CXX='-non_shared'
12463 # CC pic flag -KPIC is the default.
12467 esac
12469 linux* | k*bsd*-gnu)
12470 case $cc_basename in
12471 KCC*)
12472 # KAI C++ Compiler
12473 lt_prog_compiler_wl_CXX='--backend -Wl,'
12474 lt_prog_compiler_pic_CXX='-fPIC'
12476 icpc* | ecpc* )
12477 # Intel C++
12478 lt_prog_compiler_wl_CXX='-Wl,'
12479 lt_prog_compiler_pic_CXX='-KPIC'
12480 lt_prog_compiler_static_CXX='-static'
12482 pgCC*)
12483 # Portland Group C++ compiler
12484 lt_prog_compiler_wl_CXX='-Wl,'
12485 lt_prog_compiler_pic_CXX='-fpic'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12488 cxx*)
12489 # Compaq C++
12490 # Make sure the PIC flag is empty. It appears that all Alpha
12491 # Linux and Compaq Tru64 Unix objects are PIC.
12492 lt_prog_compiler_pic_CXX=
12493 lt_prog_compiler_static_CXX='-non_shared'
12496 case `$CC -V 2>&1 | sed 5q` in
12497 *Sun\ C*)
12498 # Sun C++ 5.9
12499 lt_prog_compiler_pic_CXX='-KPIC'
12500 lt_prog_compiler_static_CXX='-Bstatic'
12501 lt_prog_compiler_wl_CXX='-Qoption ld '
12503 esac
12505 esac
12507 lynxos*)
12509 m88k*)
12511 mvs*)
12512 case $cc_basename in
12513 cxx*)
12514 lt_prog_compiler_pic_CXX='-W c,exportall'
12518 esac
12520 netbsd*)
12522 *qnx* | *nto*)
12523 # QNX uses GNU C++, but need to define -shared option too, otherwise
12524 # it will coredump.
12525 lt_prog_compiler_pic_CXX='-fPIC -shared'
12527 osf3* | osf4* | osf5*)
12528 case $cc_basename in
12529 KCC*)
12530 lt_prog_compiler_wl_CXX='--backend -Wl,'
12532 RCC*)
12533 # Rational C++ 2.4.1
12534 lt_prog_compiler_pic_CXX='-pic'
12536 cxx*)
12537 # Digital/Compaq C++
12538 lt_prog_compiler_wl_CXX='-Wl,'
12539 # Make sure the PIC flag is empty. It appears that all Alpha
12540 # Linux and Compaq Tru64 Unix objects are PIC.
12541 lt_prog_compiler_pic_CXX=
12542 lt_prog_compiler_static_CXX='-non_shared'
12546 esac
12548 psos*)
12550 solaris*)
12551 case $cc_basename in
12552 CC*)
12553 # Sun C++ 4.2, 5.x and Centerline C++
12554 lt_prog_compiler_pic_CXX='-KPIC'
12555 lt_prog_compiler_static_CXX='-Bstatic'
12556 lt_prog_compiler_wl_CXX='-Qoption ld '
12558 gcx*)
12559 # Green Hills C++ Compiler
12560 lt_prog_compiler_pic_CXX='-PIC'
12564 esac
12566 sunos4*)
12567 case $cc_basename in
12568 CC*)
12569 # Sun C++ 4.x
12570 lt_prog_compiler_pic_CXX='-pic'
12571 lt_prog_compiler_static_CXX='-Bstatic'
12573 lcc*)
12574 # Lucid
12575 lt_prog_compiler_pic_CXX='-pic'
12579 esac
12581 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12582 case $cc_basename in
12583 CC*)
12584 lt_prog_compiler_wl_CXX='-Wl,'
12585 lt_prog_compiler_pic_CXX='-KPIC'
12586 lt_prog_compiler_static_CXX='-Bstatic'
12588 esac
12590 tandem*)
12591 case $cc_basename in
12592 NCC*)
12593 # NonStop-UX NCC 3.20
12594 lt_prog_compiler_pic_CXX='-KPIC'
12598 esac
12600 vxworks*)
12603 lt_prog_compiler_can_build_shared_CXX=no
12605 esac
12608 case $host_os in
12609 # For platforms which do not support PIC, -DPIC is meaningless:
12610 *djgpp*)
12611 lt_prog_compiler_pic_CXX=
12614 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12616 esac
12617 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12618 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12623 # Check to make sure the PIC flag actually works.
12625 if test -n "$lt_prog_compiler_pic_CXX"; then
12626 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12627 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12628 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 lt_prog_compiler_pic_works_CXX=no
12632 ac_outfile=conftest.$ac_objext
12633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12634 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12635 # Insert the option either (1) after the last *FLAGS variable, or
12636 # (2) before a word containing "conftest.", or (3) at the end.
12637 # Note that $ac_compile itself does not contain backslashes and begins
12638 # with a dollar sign (not a hyphen), so the echo should work correctly.
12639 # The option is referenced via a variable to avoid confusing sed.
12640 lt_compile=`echo "$ac_compile" | $SED \
12641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12643 -e 's:$: $lt_compiler_flag:'`
12644 (eval echo "\"\$as_me:12644: $lt_compile\"" >&5)
12645 (eval "$lt_compile" 2>conftest.err)
12646 ac_status=$?
12647 cat conftest.err >&5
12648 echo "$as_me:12648: \$? = $ac_status" >&5
12649 if (exit $ac_status) && test -s "$ac_outfile"; then
12650 # The compiler can only warn and ignore the option if not recognized
12651 # So say no if there are warnings other than the usual output.
12652 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12654 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12655 lt_prog_compiler_pic_works_CXX=yes
12658 $RM conftest*
12661 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12662 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12664 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12665 case $lt_prog_compiler_pic_CXX in
12666 "" | " "*) ;;
12667 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12668 esac
12669 else
12670 lt_prog_compiler_pic_CXX=
12671 lt_prog_compiler_can_build_shared_CXX=no
12679 # Check to make sure the static flag actually works.
12681 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12682 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12683 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12684 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687 lt_prog_compiler_static_works_CXX=no
12688 save_LDFLAGS="$LDFLAGS"
12689 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12690 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12691 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12692 # The linker can only warn and ignore the option if not recognized
12693 # So say no if there are warnings
12694 if test -s conftest.err; then
12695 # Append any errors to the config.log.
12696 cat conftest.err 1>&5
12697 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12698 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12699 if diff conftest.exp conftest.er2 >/dev/null; then
12700 lt_prog_compiler_static_works_CXX=yes
12702 else
12703 lt_prog_compiler_static_works_CXX=yes
12706 $RM conftest*
12707 LDFLAGS="$save_LDFLAGS"
12710 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12711 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12713 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12715 else
12716 lt_prog_compiler_static_CXX=
12722 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12723 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12724 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727 lt_cv_prog_compiler_c_o_CXX=no
12728 $RM -r conftest 2>/dev/null
12729 mkdir conftest
12730 cd conftest
12731 mkdir out
12732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12734 lt_compiler_flag="-o out/conftest2.$ac_objext"
12735 # Insert the option either (1) after the last *FLAGS variable, or
12736 # (2) before a word containing "conftest.", or (3) at the end.
12737 # Note that $ac_compile itself does not contain backslashes and begins
12738 # with a dollar sign (not a hyphen), so the echo should work correctly.
12739 lt_compile=`echo "$ac_compile" | $SED \
12740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12742 -e 's:$: $lt_compiler_flag:'`
12743 (eval echo "\"\$as_me:12743: $lt_compile\"" >&5)
12744 (eval "$lt_compile" 2>out/conftest.err)
12745 ac_status=$?
12746 cat out/conftest.err >&5
12747 echo "$as_me:12747: \$? = $ac_status" >&5
12748 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12749 then
12750 # The compiler can only warn and ignore the option if not recognized
12751 # So say no if there are warnings
12752 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12753 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12754 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12755 lt_cv_prog_compiler_c_o_CXX=yes
12758 chmod u+w . 2>&5
12759 $RM conftest*
12760 # SGI C++ compiler will create directory out/ii_files/ for
12761 # template instantiation
12762 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12763 $RM out/* && rmdir out
12764 cd ..
12765 $RM -r conftest
12766 $RM conftest*
12769 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12770 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12774 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12775 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12776 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779 lt_cv_prog_compiler_c_o_CXX=no
12780 $RM -r conftest 2>/dev/null
12781 mkdir conftest
12782 cd conftest
12783 mkdir out
12784 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12786 lt_compiler_flag="-o out/conftest2.$ac_objext"
12787 # Insert the option either (1) after the last *FLAGS variable, or
12788 # (2) before a word containing "conftest.", or (3) at the end.
12789 # Note that $ac_compile itself does not contain backslashes and begins
12790 # with a dollar sign (not a hyphen), so the echo should work correctly.
12791 lt_compile=`echo "$ac_compile" | $SED \
12792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12794 -e 's:$: $lt_compiler_flag:'`
12795 (eval echo "\"\$as_me:12795: $lt_compile\"" >&5)
12796 (eval "$lt_compile" 2>out/conftest.err)
12797 ac_status=$?
12798 cat out/conftest.err >&5
12799 echo "$as_me:12799: \$? = $ac_status" >&5
12800 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12801 then
12802 # The compiler can only warn and ignore the option if not recognized
12803 # So say no if there are warnings
12804 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12805 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12806 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12807 lt_cv_prog_compiler_c_o_CXX=yes
12810 chmod u+w . 2>&5
12811 $RM conftest*
12812 # SGI C++ compiler will create directory out/ii_files/ for
12813 # template instantiation
12814 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12815 $RM out/* && rmdir out
12816 cd ..
12817 $RM -r conftest
12818 $RM conftest*
12821 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12822 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12827 hard_links="nottested"
12828 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12829 # do not overwrite the value of need_locks provided by the user
12830 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12831 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12832 hard_links=yes
12833 $RM conftest*
12834 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12835 touch conftest.a
12836 ln conftest.a conftest.b 2>&5 || hard_links=no
12837 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12838 echo "$as_me:$LINENO: result: $hard_links" >&5
12839 echo "${ECHO_T}$hard_links" >&6
12840 if test "$hard_links" = no; then
12841 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12842 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12843 need_locks=warn
12845 else
12846 need_locks=no
12851 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12852 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12854 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12855 case $host_os in
12856 aix[4-9]*)
12857 # If we're using GNU nm, then we don't want the "-C" option.
12858 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12859 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12860 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'
12861 else
12862 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'
12865 pw32*)
12866 export_symbols_cmds_CXX="$ltdll_cmds"
12868 cygwin* | mingw*)
12869 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'
12872 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12874 esac
12876 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12877 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12878 test "$ld_shlibs_CXX" = no && can_build_shared=no
12880 with_gnu_ld_CXX=$with_gnu_ld
12888 # Do we need to explicitly link libc?
12890 case "x$archive_cmds_need_lc_CXX" in
12891 x|xyes)
12892 # Assume -lc should be added
12893 archive_cmds_need_lc_CXX=yes
12895 if test "$enable_shared" = yes && test "$GCC" = yes; then
12896 case $archive_cmds_CXX in
12897 *'~'*)
12898 # FIXME: we may have to deal with multi-command sequences.
12900 '$CC '*)
12901 # Test whether the compiler implicitly links with -lc since on some
12902 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12903 # to ld, don't add -lc before -lgcc.
12904 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12906 $RM conftest*
12907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12910 (eval $ac_compile) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } 2>conftest.err; then
12914 soname=conftest
12915 lib=conftest
12916 libobjs=conftest.$ac_objext
12917 deplibs=
12918 wl=$lt_prog_compiler_wl_CXX
12919 pic_flag=$lt_prog_compiler_pic_CXX
12920 compiler_flags=-v
12921 linker_flags=-v
12922 verstring=
12923 output_objdir=.
12924 libname=conftest
12925 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12926 allow_undefined_flag_CXX=
12927 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12928 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12929 ac_status=$?
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }
12932 then
12933 archive_cmds_need_lc_CXX=no
12934 else
12935 archive_cmds_need_lc_CXX=yes
12937 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12938 else
12939 cat conftest.err 1>&5
12941 $RM conftest*
12942 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12943 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12945 esac
12948 esac
13013 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13014 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13015 withGCC=$GXX
13016 library_names_spec=
13017 libname_spec='lib$name'
13018 soname_spec=
13019 shrext_cmds=".so"
13020 postinstall_cmds=
13021 postuninstall_cmds=
13022 finish_cmds=
13023 finish_eval=
13024 shlibpath_var=
13025 shlibpath_overrides_runpath=unknown
13026 version_type=none
13027 dynamic_linker="$host_os ld.so"
13028 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13029 need_lib_prefix=unknown
13030 hardcode_into_libs=no
13032 # when you set need_version to no, make sure it does not cause -set_version
13033 # flags to be left without arguments
13034 need_version=unknown
13036 case $host_os in
13037 aix3*)
13038 version_type=linux
13039 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13040 shlibpath_var=LIBPATH
13042 # AIX 3 has no versioning support, so we append a major version to the name.
13043 soname_spec='${libname}${release}${shared_ext}$major'
13046 aix[4-9]*)
13047 version_type=linux
13048 need_lib_prefix=no
13049 need_version=no
13050 hardcode_into_libs=yes
13051 if test "$host_cpu" = ia64; then
13052 # AIX 5 supports IA64
13053 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13054 shlibpath_var=LD_LIBRARY_PATH
13055 else
13056 # With GCC up to 2.95.x, collect2 would create an import file
13057 # for dependence libraries. The import file would start with
13058 # the line `#! .'. This would cause the generated library to
13059 # depend on `.', always an invalid library. This was fixed in
13060 # development snapshots of GCC prior to 3.0.
13061 case $host_os in
13062 aix4 | aix4.[01] | aix4.[01].*)
13063 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13064 echo ' yes '
13065 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13067 else
13068 can_build_shared=no
13071 esac
13072 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13073 # soname into executable. Probably we can add versioning support to
13074 # collect2, so additional links can be useful in future.
13075 if test "$aix_use_runtimelinking" = yes; then
13076 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13077 # instead of lib<name>.a to let people know that these are not
13078 # typical AIX shared libraries.
13079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13080 else
13081 # We preserve .a as extension for shared libraries through AIX4.2
13082 # and later when we are not doing run time linking.
13083 library_names_spec='${libname}${release}.a $libname.a'
13084 soname_spec='${libname}${release}${shared_ext}$major'
13086 shlibpath_var=LIBPATH
13090 amigaos*)
13091 if test "$host_cpu" = m68k; then
13092 library_names_spec='$libname.ixlibrary $libname.a'
13093 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13094 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'
13095 else
13096 dynamic_linker=no
13100 beos*)
13101 library_names_spec='${libname}${shared_ext}'
13102 dynamic_linker="$host_os ld.so"
13103 shlibpath_var=LIBRARY_PATH
13106 bsdi[45]*)
13107 version_type=linux
13108 need_version=no
13109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13110 soname_spec='${libname}${release}${shared_ext}$major'
13111 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13112 shlibpath_var=LD_LIBRARY_PATH
13113 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13114 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13115 # the default ld.so.conf also contains /usr/contrib/lib and
13116 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13117 # libtool to hard-code these into programs
13120 cygwin* | mingw* | pw32*)
13121 version_type=windows
13122 shrext_cmds=".dll"
13123 need_version=no
13124 need_lib_prefix=no
13126 case $withGCC,$host_os in
13127 yes,cygwin* | yes,mingw* | yes,pw32*)
13128 library_names_spec='$libname.dll.a'
13129 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13130 postinstall_cmds='base_file=`basename \${file}`~
13131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13132 dldir=$destdir/`dirname \$dlpath`~
13133 test -d \$dldir || mkdir -p \$dldir~
13134 $install_prog $dir/$dlname \$dldir/$dlname~
13135 chmod a+x \$dldir/$dlname~
13136 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13137 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13139 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13140 dlpath=$dir/\$dldll~
13141 $RM \$dlpath'
13142 shlibpath_overrides_runpath=yes
13144 case $host_os in
13145 cygwin*)
13146 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13147 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13148 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13150 mingw*)
13151 # MinGW DLLs use traditional 'lib' prefix
13152 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13153 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13155 # It is most probably a Windows format PATH printed by
13156 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13157 # path with ; separators, and with drive letters. We can handle the
13158 # drive letters (cygwin fileutils understands them), so leave them,
13159 # especially as we might pass files found there to a mingw objdump,
13160 # which wouldn't understand a cygwinified path. Ahh.
13161 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13162 else
13163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13166 pw32*)
13167 # pw32 DLLs use 'pw' prefix rather than 'lib'
13168 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13170 esac
13174 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13176 esac
13177 dynamic_linker='Win32 ld.exe'
13178 # FIXME: first we should search . and the directory the executable is in
13179 shlibpath_var=PATH
13182 darwin* | rhapsody*)
13183 dynamic_linker="$host_os dyld"
13184 version_type=darwin
13185 need_lib_prefix=no
13186 need_version=no
13187 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13188 soname_spec='${libname}${release}${major}$shared_ext'
13189 shlibpath_overrides_runpath=yes
13190 shlibpath_var=DYLD_LIBRARY_PATH
13191 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13193 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13196 dgux*)
13197 version_type=linux
13198 need_lib_prefix=no
13199 need_version=no
13200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13201 soname_spec='${libname}${release}${shared_ext}$major'
13202 shlibpath_var=LD_LIBRARY_PATH
13205 freebsd1*)
13206 dynamic_linker=no
13209 freebsd* | dragonfly*)
13210 # DragonFly does not have aout. When/if they implement a new
13211 # versioning mechanism, adjust this.
13212 if test -x /usr/bin/objformat; then
13213 objformat=`/usr/bin/objformat`
13214 else
13215 case $host_os in
13216 freebsd[123]*) objformat=aout ;;
13217 *) objformat=elf ;;
13218 esac
13220 version_type=freebsd-$objformat
13221 case $version_type in
13222 freebsd-elf*)
13223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13224 need_version=no
13225 need_lib_prefix=no
13227 freebsd-*)
13228 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13229 need_version=yes
13231 esac
13232 shlibpath_var=LD_LIBRARY_PATH
13233 case $host_os in
13234 freebsd2*)
13235 shlibpath_overrides_runpath=yes
13237 freebsd3.[01]* | freebsdelf3.[01]*)
13238 shlibpath_overrides_runpath=yes
13239 hardcode_into_libs=yes
13241 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13242 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13243 shlibpath_overrides_runpath=no
13244 hardcode_into_libs=yes
13246 *) # from 4.6 on, and DragonFly
13247 shlibpath_overrides_runpath=yes
13248 hardcode_into_libs=yes
13250 esac
13253 gnu*)
13254 version_type=linux
13255 need_lib_prefix=no
13256 need_version=no
13257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13258 soname_spec='${libname}${release}${shared_ext}$major'
13259 shlibpath_var=LD_LIBRARY_PATH
13260 hardcode_into_libs=yes
13263 hpux9* | hpux10* | hpux11*)
13264 # Give a soname corresponding to the major version so that dld.sl refuses to
13265 # link against other versions.
13266 version_type=sunos
13267 need_lib_prefix=no
13268 need_version=no
13269 case $host_cpu in
13270 ia64*)
13271 shrext_cmds='.so'
13272 hardcode_into_libs=yes
13273 dynamic_linker="$host_os dld.so"
13274 shlibpath_var=LD_LIBRARY_PATH
13275 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13277 soname_spec='${libname}${release}${shared_ext}$major'
13278 if test "X$HPUX_IA64_MODE" = X32; then
13279 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13280 else
13281 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13283 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13285 hppa*64*)
13286 shrext_cmds='.sl'
13287 hardcode_into_libs=yes
13288 dynamic_linker="$host_os dld.sl"
13289 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13290 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292 soname_spec='${libname}${release}${shared_ext}$major'
13293 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13297 shrext_cmds='.sl'
13298 dynamic_linker="$host_os dld.sl"
13299 shlibpath_var=SHLIB_PATH
13300 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13302 soname_spec='${libname}${release}${shared_ext}$major'
13304 esac
13305 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13306 postinstall_cmds='chmod 555 $lib'
13309 interix[3-9]*)
13310 version_type=linux
13311 need_lib_prefix=no
13312 need_version=no
13313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13314 soname_spec='${libname}${release}${shared_ext}$major'
13315 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13316 shlibpath_var=LD_LIBRARY_PATH
13317 shlibpath_overrides_runpath=no
13318 hardcode_into_libs=yes
13321 irix5* | irix6* | nonstopux*)
13322 case $host_os in
13323 nonstopux*) version_type=nonstopux ;;
13325 if test "$lt_cv_prog_gnu_ld" = yes; then
13326 version_type=linux
13327 else
13328 version_type=irix
13329 fi ;;
13330 esac
13331 need_lib_prefix=no
13332 need_version=no
13333 soname_spec='${libname}${release}${shared_ext}$major'
13334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13335 case $host_os in
13336 irix5* | nonstopux*)
13337 libsuff= shlibsuff=
13340 case $LD in # libtool.m4 will add one of these switches to LD
13341 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13342 libsuff= shlibsuff= libmagic=32-bit;;
13343 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13344 libsuff=32 shlibsuff=N32 libmagic=N32;;
13345 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13346 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13347 *) libsuff= shlibsuff= libmagic=never-match;;
13348 esac
13350 esac
13351 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13352 shlibpath_overrides_runpath=no
13353 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13354 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13355 hardcode_into_libs=yes
13358 # No shared lib support for Linux oldld, aout, or coff.
13359 linux*oldld* | linux*aout* | linux*coff*)
13360 dynamic_linker=no
13363 # This must be Linux ELF.
13364 linux* | k*bsd*-gnu)
13365 version_type=linux
13366 need_lib_prefix=no
13367 need_version=no
13368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13369 soname_spec='${libname}${release}${shared_ext}$major'
13370 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13371 shlibpath_var=LD_LIBRARY_PATH
13372 shlibpath_overrides_runpath=no
13373 # Some binutils ld are patched to set DT_RUNPATH
13374 save_LDFLAGS=$LDFLAGS
13375 save_libdir=$libdir
13376 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13377 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13378 if test x$gcc_no_link = xyes; then
13379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13381 { (exit 1); exit 1; }; }
13383 cat >conftest.$ac_ext <<_ACEOF
13384 /* confdefs.h. */
13385 _ACEOF
13386 cat confdefs.h >>conftest.$ac_ext
13387 cat >>conftest.$ac_ext <<_ACEOF
13388 /* end confdefs.h. */
13391 main ()
13395 return 0;
13397 _ACEOF
13398 rm -f conftest.$ac_objext conftest$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>conftest.er1
13401 ac_status=$?
13402 grep -v '^ *+' conftest.er1 >conftest.err
13403 rm -f conftest.er1
13404 cat conftest.err >&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } &&
13407 { ac_try='test -z "$ac_cxx_werror_flag"
13408 || test ! -s conftest.err'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13411 ac_status=$?
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; } &&
13414 { ac_try='test -s conftest$ac_exeext'
13415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13416 (eval $ac_try) 2>&5
13417 ac_status=$?
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); }; }; then
13420 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13421 shlibpath_overrides_runpath=yes
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13429 rm -f conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LDFLAGS=$save_LDFLAGS
13432 libdir=$save_libdir
13434 # This implies no fast_install, which is unacceptable.
13435 # Some rework will be needed to allow for fast_install
13436 # before this can be enabled.
13437 hardcode_into_libs=yes
13439 # Append ld.so.conf contents to the search path
13440 if test -f /etc/ld.so.conf; then
13441 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13442 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13445 # We used to test for /lib/ld.so.1 and disable shared libraries on
13446 # powerpc, because MkLinux only supported shared libraries with the
13447 # GNU dynamic linker. Since this was broken with cross compilers,
13448 # most powerpc-linux boxes support dynamic linking these days and
13449 # people can always --disable-shared, the test was removed, and we
13450 # assume the GNU/Linux dynamic linker is in use.
13451 dynamic_linker='GNU/Linux ld.so'
13454 netbsd*)
13455 version_type=sunos
13456 need_lib_prefix=no
13457 need_version=no
13458 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13461 dynamic_linker='NetBSD (a.out) ld.so'
13462 else
13463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13464 soname_spec='${libname}${release}${shared_ext}$major'
13465 dynamic_linker='NetBSD ld.elf_so'
13467 shlibpath_var=LD_LIBRARY_PATH
13468 shlibpath_overrides_runpath=yes
13469 hardcode_into_libs=yes
13472 newsos6)
13473 version_type=linux
13474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13475 shlibpath_var=LD_LIBRARY_PATH
13476 shlibpath_overrides_runpath=yes
13479 *nto* | *qnx*)
13480 version_type=qnx
13481 need_lib_prefix=no
13482 need_version=no
13483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13484 soname_spec='${libname}${release}${shared_ext}$major'
13485 shlibpath_var=LD_LIBRARY_PATH
13486 shlibpath_overrides_runpath=no
13487 hardcode_into_libs=yes
13488 dynamic_linker='ldqnx.so'
13491 openbsd*)
13492 version_type=sunos
13493 sys_lib_dlsearch_path_spec="/usr/lib"
13494 need_lib_prefix=no
13495 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13496 case $host_os in
13497 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13498 *) need_version=no ;;
13499 esac
13500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13501 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13502 shlibpath_var=LD_LIBRARY_PATH
13503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13504 case $host_os in
13505 openbsd2.[89] | openbsd2.[89].*)
13506 shlibpath_overrides_runpath=no
13509 shlibpath_overrides_runpath=yes
13511 esac
13512 else
13513 shlibpath_overrides_runpath=yes
13517 os2*)
13518 libname_spec='$name'
13519 shrext_cmds=".dll"
13520 need_lib_prefix=no
13521 library_names_spec='$libname${shared_ext} $libname.a'
13522 dynamic_linker='OS/2 ld.exe'
13523 shlibpath_var=LIBPATH
13526 osf3* | osf4* | osf5*)
13527 version_type=osf
13528 need_lib_prefix=no
13529 need_version=no
13530 soname_spec='${libname}${release}${shared_ext}$major'
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 shlibpath_var=LD_LIBRARY_PATH
13533 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13534 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13537 rdos*)
13538 dynamic_linker=no
13541 solaris*)
13542 version_type=linux
13543 need_lib_prefix=no
13544 need_version=no
13545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13546 soname_spec='${libname}${release}${shared_ext}$major'
13547 shlibpath_var=LD_LIBRARY_PATH
13548 shlibpath_overrides_runpath=yes
13549 hardcode_into_libs=yes
13550 # ldd complains unless libraries are executable
13551 postinstall_cmds='chmod +x $lib'
13554 sunos4*)
13555 version_type=sunos
13556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13557 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 shlibpath_overrides_runpath=yes
13560 if test "$with_gnu_ld" = yes; then
13561 need_lib_prefix=no
13563 need_version=yes
13566 sysv4 | sysv4.3*)
13567 version_type=linux
13568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13569 soname_spec='${libname}${release}${shared_ext}$major'
13570 shlibpath_var=LD_LIBRARY_PATH
13571 case $host_vendor in
13572 sni)
13573 shlibpath_overrides_runpath=no
13574 need_lib_prefix=no
13575 runpath_var=LD_RUN_PATH
13577 siemens)
13578 need_lib_prefix=no
13580 motorola)
13581 need_lib_prefix=no
13582 need_version=no
13583 shlibpath_overrides_runpath=no
13584 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13586 esac
13589 sysv4*MP*)
13590 if test -d /usr/nec ;then
13591 version_type=linux
13592 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13593 soname_spec='$libname${shared_ext}.$major'
13594 shlibpath_var=LD_LIBRARY_PATH
13598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13599 version_type=freebsd-elf
13600 need_lib_prefix=no
13601 need_version=no
13602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13603 soname_spec='${libname}${release}${shared_ext}$major'
13604 shlibpath_var=LD_LIBRARY_PATH
13605 shlibpath_overrides_runpath=yes
13606 hardcode_into_libs=yes
13607 if test "$with_gnu_ld" = yes; then
13608 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13609 else
13610 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13611 case $host_os in
13612 sco3.2v5*)
13613 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13615 esac
13617 sys_lib_dlsearch_path_spec='/usr/lib'
13620 tpf*)
13621 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13622 version_type=linux
13623 need_lib_prefix=no
13624 need_version=no
13625 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13626 shlibpath_var=LD_LIBRARY_PATH
13627 shlibpath_overrides_runpath=no
13628 hardcode_into_libs=yes
13631 uts4*)
13632 version_type=linux
13633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13634 soname_spec='${libname}${release}${shared_ext}$major'
13635 shlibpath_var=LD_LIBRARY_PATH
13639 dynamic_linker=no
13641 esac
13642 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13643 echo "${ECHO_T}$dynamic_linker" >&6
13644 test "$dynamic_linker" = no && can_build_shared=no
13646 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13647 if test "$GCC" = yes; then
13648 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13686 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13687 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13688 hardcode_action_CXX=
13689 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13690 test -n "$runpath_var_CXX" ||
13691 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13693 # We can hardcode non-existent directories.
13694 if test "$hardcode_direct_CXX" != no &&
13695 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13696 # have to relink, otherwise we might link with an installed library
13697 # when we should be linking with a yet-to-be-installed one
13698 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13699 test "$hardcode_minus_L_CXX" != no; then
13700 # Linking always hardcodes the temporary library directory.
13701 hardcode_action_CXX=relink
13702 else
13703 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13704 hardcode_action_CXX=immediate
13706 else
13707 # We cannot hardcode anything, or else we can only hardcode existing
13708 # directories.
13709 hardcode_action_CXX=unsupported
13711 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13712 echo "${ECHO_T}$hardcode_action_CXX" >&6
13714 if test "$hardcode_action_CXX" = relink ||
13715 test "$inherit_rpath_CXX" = yes; then
13716 # Fast installation is not supported
13717 enable_fast_install=no
13718 elif test "$shlibpath_overrides_runpath" = yes ||
13719 test "$enable_shared" = no; then
13720 # Fast installation is not necessary
13721 enable_fast_install=needless
13730 fi # test -n "$compiler"
13732 CC=$lt_save_CC
13733 LDCXX=$LD
13734 LD=$lt_save_LD
13735 GCC=$lt_save_GCC
13736 with_gnu_ld=$lt_save_with_gnu_ld
13737 lt_cv_path_LDCXX=$lt_cv_path_LD
13738 lt_cv_path_LD=$lt_save_path_LD
13739 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13740 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13741 fi # test "$_lt_caught_CXX_error" != yes
13743 ac_ext=c
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13761 ac_config_commands="$ac_config_commands libtool"
13766 # Only expand once:
13772 # Possibly disable most of the library.
13773 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13774 ## than just ignoring the results. Faster /and/ more correct, win win.
13776 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13777 if test "${enable_hosted_libstdcxx+set}" = set; then
13778 enableval="$enable_hosted_libstdcxx"
13780 else
13781 case "$host" in
13782 arm*-*-symbianelf*)
13783 enable_hosted_libstdcxx=no
13786 enable_hosted_libstdcxx=yes
13788 esac
13790 if test "$enable_hosted_libstdcxx" = no; then
13791 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13792 echo "$as_me: Only freestanding libraries will be built" >&6;}
13793 is_hosted=no
13794 hosted_define=0
13795 enable_abi_check=no
13796 enable_libstdcxx_pch=no
13797 else
13798 is_hosted=yes
13799 hosted_define=1
13803 cat >>confdefs.h <<_ACEOF
13804 #define _GLIBCXX_HOSTED $hosted_define
13805 _ACEOF
13809 # Enable compiler support that doesn't require linking.
13811 echo "$as_me:$LINENO: checking for exception model to use" >&5
13812 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13815 ac_ext=cc
13816 ac_cpp='$CXXCPP $CPPFLAGS'
13817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13821 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13822 if test "${enable_sjlj_exceptions+set}" = set; then
13823 enableval="$enable_sjlj_exceptions"
13825 case "$enableval" in
13826 yes|no|auto) ;;
13827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13828 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13829 { (exit 1); exit 1; }; } ;;
13830 esac
13832 else
13833 enable_sjlj_exceptions=auto
13837 if test $enable_sjlj_exceptions = auto; then
13838 # Botheration. Now we've got to detect the exception model. Link tests
13839 # against libgcc.a are problematic since we've not been given proper -L
13840 # bits for single-tree newlib and libgloss.
13842 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13843 cat > conftest.$ac_ext << EOF
13844 #line 13844 "configure"
13845 struct S { ~S(); };
13846 void bar();
13847 void foo()
13849 S s;
13850 bar();
13853 old_CXXFLAGS="$CXXFLAGS"
13854 CXXFLAGS=-S
13855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856 (eval $ac_compile) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; then
13860 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13861 enable_sjlj_exceptions=yes
13862 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13863 enable_sjlj_exceptions=no
13864 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13865 enable_sjlj_exceptions=no
13868 CXXFLAGS="$old_CXXFLAGS"
13869 rm -f conftest*
13872 # This is a tad weird, for hysterical raisins. We have to map
13873 # enable/disable to two different models.
13874 case $enable_sjlj_exceptions in
13875 yes)
13877 cat >>confdefs.h <<\_ACEOF
13878 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13879 _ACEOF
13881 ac_exception_model_name=sjlj
13884 ac_exception_model_name="call frame"
13887 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13888 echo "$as_me: error: unable to detect exception model" >&2;}
13889 { (exit 1); exit 1; }; }
13891 esac
13892 ac_ext=c
13893 ac_cpp='$CPP $CPPFLAGS'
13894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13899 echo "${ECHO_T}$ac_exception_model_name" >&6
13902 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13903 if test "${enable_libstdcxx_pch+set}" = set; then
13904 enableval="$enable_libstdcxx_pch"
13906 case "$enableval" in
13907 yes|no) ;;
13908 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13909 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13910 { (exit 1); exit 1; }; } ;;
13911 esac
13913 else
13914 enable_libstdcxx_pch=$is_hosted
13917 if test $enable_libstdcxx_pch = yes; then
13918 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13919 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13920 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 ac_save_CXXFLAGS="$CXXFLAGS"
13924 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13927 ac_ext=cc
13928 ac_cpp='$CXXCPP $CPPFLAGS'
13929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13933 echo '#include <math.h>' > conftest.h
13934 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13935 -o conftest.h.gch 1>&5 2>&1 &&
13936 echo '#error "pch failed"' > conftest.h &&
13937 echo '#include "conftest.h"' > conftest.cc &&
13938 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13939 then
13940 glibcxx_cv_prog_CXX_pch=yes
13941 else
13942 glibcxx_cv_prog_CXX_pch=no
13944 rm -f conftest*
13945 CXXFLAGS=$ac_save_CXXFLAGS
13946 ac_ext=c
13947 ac_cpp='$CPP $CPPFLAGS'
13948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13955 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13956 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13959 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13960 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13961 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13962 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13965 if test $enable_libstdcxx_pch = yes; then
13966 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13967 else
13968 glibcxx_PCHFLAGS=""
13973 # Enable all the variable C++ runtime options that doesn't require linking.
13975 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13976 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13977 # Check whether --enable-cstdio or --disable-cstdio was given.
13978 if test "${enable_cstdio+set}" = set; then
13979 enableval="$enable_cstdio"
13981 case "$enableval" in
13982 stdio) ;;
13983 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13984 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13985 { (exit 1); exit 1; }; } ;;
13986 esac
13988 else
13989 enable_cstdio=stdio
13993 # Now that libio has been removed, you can have any color you want as long
13994 # as it's black. This is one big no-op until other packages are added, but
13995 # showing the framework never hurts.
13996 case ${enable_cstdio} in
13997 stdio)
13998 CSTDIO_H=config/io/c_io_stdio.h
13999 BASIC_FILE_H=config/io/basic_file_stdio.h
14000 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14001 echo "$as_me:$LINENO: result: stdio" >&5
14002 echo "${ECHO_T}stdio" >&6
14004 esac
14011 # Check whether --enable-clocale or --disable-clocale was given.
14012 if test "${enable_clocale+set}" = set; then
14013 enableval="$enable_clocale"
14015 case "$enableval" in
14016 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14017 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14018 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14019 { (exit 1); exit 1; }; } ;;
14020 esac
14022 else
14023 enable_clocale=auto
14027 # Deal with gettext issues. Default to not using it (=no) until we detect
14028 # support for it later. Let the user turn it off via --e/d, but let that
14029 # default to on for easier handling.
14030 USE_NLS=no
14031 # Check whether --enable-nls or --disable-nls was given.
14032 if test "${enable_nls+set}" = set; then
14033 enableval="$enable_nls"
14035 else
14036 enable_nls=yes
14039 # Either a known packaage, or "auto"
14040 if test $enable_clocale = no || test $enable_clocale = yes; then
14041 enable_clocale=auto
14043 enable_clocale_flag=$enable_clocale
14045 # Probe for locale model to use if none specified.
14046 # Default to "generic".
14047 if test $enable_clocale_flag = auto; then
14048 case ${target_os} in
14049 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14050 enable_clocale_flag=gnu
14052 darwin* | freebsd*)
14053 enable_clocale_flag=darwin
14056 enable_clocale_flag=generic
14058 esac
14061 # Sanity check model, and test for special functionality.
14062 if test $enable_clocale_flag = gnu; then
14063 cat >conftest.$ac_ext <<_ACEOF
14064 /* confdefs.h. */
14065 _ACEOF
14066 cat confdefs.h >>conftest.$ac_ext
14067 cat >>conftest.$ac_ext <<_ACEOF
14068 /* end confdefs.h. */
14070 #include <features.h>
14071 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14072 _GLIBCXX_ok
14073 #endif
14075 _ACEOF
14076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14077 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14078 enable_clocale_flag=gnu
14079 else
14080 enable_clocale_flag=generic
14082 rm -f conftest*
14085 if test $enable_clocale = auto; then
14086 # Test for bugs early in glibc-2.2.x series
14087 if test "$cross_compiling" = yes; then
14088 enable_clocale_flag=generic
14089 else
14090 cat >conftest.$ac_ext <<_ACEOF
14091 /* confdefs.h. */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14097 #define _GNU_SOURCE 1
14098 #include <locale.h>
14099 #include <string.h>
14100 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14101 extern __typeof(newlocale) __newlocale;
14102 extern __typeof(duplocale) __duplocale;
14103 extern __typeof(strcoll_l) __strcoll_l;
14104 #endif
14105 int main()
14107 const char __one[] = "Äuglein Augmen";
14108 const char __two[] = "Äuglein";
14109 int i;
14110 int j;
14111 __locale_t loc;
14112 __locale_t loc_dup;
14113 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14114 loc_dup = __duplocale(loc);
14115 i = __strcoll_l(__one, __two, loc);
14116 j = __strcoll_l(__one, __two, loc_dup);
14117 return 0;
14120 _ACEOF
14121 rm -f conftest$ac_exeext
14122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14123 (eval $ac_link) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 enable_clocale_flag=gnu
14133 else
14134 echo "$as_me: program exited with status $ac_status" >&5
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14138 ( exit $ac_status )
14139 enable_clocale_flag=generic
14141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14145 # Set it to scream when it hurts.
14146 ac_save_CFLAGS="$CFLAGS"
14147 CFLAGS="-Wimplicit-function-declaration -Werror"
14149 # Use strxfrm_l if available.
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #define _GNU_SOURCE 1
14157 #include <string.h>
14158 #include <locale.h>
14160 main ()
14162 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14164 return 0;
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>conftest.er1
14170 ac_status=$?
14171 grep -v '^ *+' conftest.er1 >conftest.err
14172 rm -f conftest.er1
14173 cat conftest.err >&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try='test -z "$ac_c_werror_flag"
14177 || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14190 cat >>confdefs.h <<\_ACEOF
14191 #define HAVE_STRXFRM_L 1
14192 _ACEOF
14194 else
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.$ac_ext >&5
14199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14201 # Use strerror_l if available.
14202 cat >conftest.$ac_ext <<_ACEOF
14203 /* confdefs.h. */
14204 _ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14208 #define _GNU_SOURCE 1
14209 #include <string.h>
14210 #include <locale.h>
14212 main ()
14214 __locale_t loc; strerror_l(5, loc);
14216 return 0;
14218 _ACEOF
14219 rm -f conftest.$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try='test -z "$ac_c_werror_flag"
14229 || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14238 ac_status=$?
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14242 cat >>confdefs.h <<\_ACEOF
14243 #define HAVE_STRERROR_L 1
14244 _ACEOF
14246 else
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14253 CFLAGS="$ac_save_CFLAGS"
14256 # Perhaps use strerror_r if available, and strerror_l isn't.
14257 ac_save_CFLAGS="$CFLAGS"
14258 CFLAGS="-Wimplicit-function-declaration -Werror"
14259 cat >conftest.$ac_ext <<_ACEOF
14260 /* confdefs.h. */
14261 _ACEOF
14262 cat confdefs.h >>conftest.$ac_ext
14263 cat >>conftest.$ac_ext <<_ACEOF
14264 /* end confdefs.h. */
14265 #define _GNU_SOURCE 1
14266 #include <string.h>
14267 #include <locale.h>
14269 main ()
14271 char s[128]; strerror_r(5, s, 128);
14273 return 0;
14275 _ACEOF
14276 rm -f conftest.$ac_objext
14277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14278 (eval $ac_compile) 2>conftest.er1
14279 ac_status=$?
14280 grep -v '^ *+' conftest.er1 >conftest.err
14281 rm -f conftest.er1
14282 cat conftest.err >&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); } &&
14285 { ac_try='test -z "$ac_c_werror_flag"
14286 || test ! -s conftest.err'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; } &&
14292 { ac_try='test -s conftest.$ac_objext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14299 cat >>confdefs.h <<\_ACEOF
14300 #define HAVE_STRERROR_R 1
14301 _ACEOF
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14309 CFLAGS="$ac_save_CFLAGS"
14311 # Set configure bits for specified locale package
14312 echo "$as_me:$LINENO: checking for C locale to use" >&5
14313 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14314 case ${enable_clocale_flag} in
14315 generic)
14316 echo "$as_me:$LINENO: result: generic" >&5
14317 echo "${ECHO_T}generic" >&6
14319 CLOCALE_H=config/locale/generic/c_locale.h
14320 CLOCALE_CC=config/locale/generic/c_locale.cc
14321 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14322 CCOLLATE_CC=config/locale/generic/collate_members.cc
14323 CCTYPE_CC=config/locale/generic/ctype_members.cc
14324 CMESSAGES_H=config/locale/generic/messages_members.h
14325 CMESSAGES_CC=config/locale/generic/messages_members.cc
14326 CMONEY_CC=config/locale/generic/monetary_members.cc
14327 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14328 CTIME_H=config/locale/generic/time_members.h
14329 CTIME_CC=config/locale/generic/time_members.cc
14330 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14332 darwin)
14333 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14334 echo "${ECHO_T}darwin or freebsd" >&6
14336 CLOCALE_H=config/locale/generic/c_locale.h
14337 CLOCALE_CC=config/locale/generic/c_locale.cc
14338 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14339 CCOLLATE_CC=config/locale/generic/collate_members.cc
14340 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14341 CMESSAGES_H=config/locale/generic/messages_members.h
14342 CMESSAGES_CC=config/locale/generic/messages_members.cc
14343 CMONEY_CC=config/locale/generic/monetary_members.cc
14344 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14345 CTIME_H=config/locale/generic/time_members.h
14346 CTIME_CC=config/locale/generic/time_members.cc
14347 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14350 gnu)
14351 echo "$as_me:$LINENO: result: gnu" >&5
14352 echo "${ECHO_T}gnu" >&6
14354 # Declare intention to use gettext, and add support for specific
14355 # languages.
14356 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14357 ALL_LINGUAS="de fr"
14359 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14360 # Extract the first word of "msgfmt", so it can be a program name with args.
14361 set dummy msgfmt; ac_word=$2
14362 echo "$as_me:$LINENO: checking for $ac_word" >&5
14363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14364 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 if test -n "$check_msgfmt"; then
14368 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14369 else
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14373 IFS=$as_save_IFS
14374 test -z "$as_dir" && as_dir=.
14375 for ac_exec_ext in '' $ac_executable_extensions; do
14376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14377 ac_cv_prog_check_msgfmt="yes"
14378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14379 break 2
14381 done
14382 done
14384 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14387 check_msgfmt=$ac_cv_prog_check_msgfmt
14388 if test -n "$check_msgfmt"; then
14389 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14390 echo "${ECHO_T}$check_msgfmt" >&6
14391 else
14392 echo "$as_me:$LINENO: result: no" >&5
14393 echo "${ECHO_T}no" >&6
14396 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14397 USE_NLS=yes
14399 # Export the build objects.
14400 for ling in $ALL_LINGUAS; do \
14401 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14402 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14403 done
14407 CLOCALE_H=config/locale/gnu/c_locale.h
14408 CLOCALE_CC=config/locale/gnu/c_locale.cc
14409 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14410 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14411 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14412 CMESSAGES_H=config/locale/gnu/messages_members.h
14413 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14414 CMONEY_CC=config/locale/gnu/monetary_members.cc
14415 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14416 CTIME_H=config/locale/gnu/time_members.h
14417 CTIME_CC=config/locale/gnu/time_members.cc
14418 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14420 ieee_1003.1-2001)
14421 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14422 echo "${ECHO_T}IEEE 1003.1" >&6
14424 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14425 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14426 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14427 CCOLLATE_CC=config/locale/generic/collate_members.cc
14428 CCTYPE_CC=config/locale/generic/ctype_members.cc
14429 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14430 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14431 CMONEY_CC=config/locale/generic/monetary_members.cc
14432 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14433 CTIME_H=config/locale/generic/time_members.h
14434 CTIME_CC=config/locale/generic/time_members.cc
14435 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14437 esac
14439 # This is where the testsuite looks for locale catalogs, using the
14440 # -DLOCALEDIR define during testsuite compilation.
14441 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14444 # A standalone libintl (e.g., GNU libintl) may be in use.
14445 if test $USE_NLS = yes; then
14447 for ac_header in libintl.h
14449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451 echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14458 else
14459 # Is the header compilable?
14460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14462 cat >conftest.$ac_ext <<_ACEOF
14463 /* confdefs.h. */
14464 _ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14468 $ac_includes_default
14469 #include <$ac_header>
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_c_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_header_compiler=yes
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 ac_header_compiler=no
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14502 echo "${ECHO_T}$ac_header_compiler" >&6
14504 # Is the header present?
14505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14507 cat >conftest.$ac_ext <<_ACEOF
14508 /* confdefs.h. */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #include <$ac_header>
14514 _ACEOF
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14517 ac_status=$?
14518 grep -v '^ *+' conftest.er1 >conftest.err
14519 rm -f conftest.er1
14520 cat conftest.err >&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); } >/dev/null; then
14523 if test -s conftest.err; then
14524 ac_cpp_err=$ac_c_preproc_warn_flag
14525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14526 else
14527 ac_cpp_err=
14529 else
14530 ac_cpp_err=yes
14532 if test -z "$ac_cpp_err"; then
14533 ac_header_preproc=yes
14534 else
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.$ac_ext >&5
14538 ac_header_preproc=no
14540 rm -f conftest.err conftest.$ac_ext
14541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14542 echo "${ECHO_T}$ac_header_preproc" >&6
14544 # So? What about this header?
14545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14546 yes:no: )
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14551 ac_header_preproc=yes
14553 no:yes:* )
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14567 cat <<\_ASBOX
14568 ## ----------------------------------------- ##
14569 ## Report this to the package-unused lists. ##
14570 ## ----------------------------------------- ##
14571 _ASBOX
14573 sed "s/^/$as_me: WARNING: /" >&2
14575 esac
14576 echo "$as_me:$LINENO: checking for $ac_header" >&5
14577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 else
14581 eval "$as_ac_Header=\$ac_header_preproc"
14583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14588 cat >>confdefs.h <<_ACEOF
14589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14590 _ACEOF
14592 else
14593 USE_NLS=no
14596 done
14598 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14599 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14600 if test "${ac_cv_search_gettext+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 ac_func_search_save_LIBS=$LIBS
14604 ac_cv_search_gettext=no
14605 if test x$gcc_no_link = xyes; then
14606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14608 { (exit 1); exit 1; }; }
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14617 /* Override any gcc2 internal prototype to avoid an error. */
14618 #ifdef __cplusplus
14619 extern "C"
14620 #endif
14621 /* We use char because int might match the return type of a gcc2
14622 builtin and then its argument prototype would still apply. */
14623 char gettext ();
14625 main ()
14627 gettext ();
14629 return 0;
14631 _ACEOF
14632 rm -f conftest.$ac_objext conftest$ac_exeext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14634 (eval $ac_link) 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try='test -z "$ac_c_werror_flag"
14642 || test ! -s conftest.err'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; } &&
14648 { ac_try='test -s conftest$ac_exeext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 ac_cv_search_gettext="none required"
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14660 rm -f conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 if test "$ac_cv_search_gettext" = no; then
14663 for ac_lib in intl; do
14664 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14665 if test x$gcc_no_link = xyes; then
14666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14668 { (exit 1); exit 1; }; }
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 #ifdef __cplusplus
14679 extern "C"
14680 #endif
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14683 char gettext ();
14685 main ()
14687 gettext ();
14689 return 0;
14691 _ACEOF
14692 rm -f conftest.$ac_objext conftest$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>conftest.er1
14695 ac_status=$?
14696 grep -v '^ *+' conftest.er1 >conftest.err
14697 rm -f conftest.er1
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try='test -z "$ac_c_werror_flag"
14702 || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try='test -s conftest$ac_exeext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 ac_cv_search_gettext="-l$ac_lib"
14715 break
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14721 rm -f conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 done
14725 LIBS=$ac_func_search_save_LIBS
14727 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14728 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14729 if test "$ac_cv_search_gettext" != no; then
14730 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14732 else
14733 USE_NLS=no
14737 if test $USE_NLS = yes; then
14739 cat >>confdefs.h <<\_ACEOF
14740 #define _GLIBCXX_USE_NLS 1
14741 _ACEOF
14760 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14761 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14762 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14763 if test "${enable_libstdcxx_allocator+set}" = set; then
14764 enableval="$enable_libstdcxx_allocator"
14766 case "$enableval" in
14767 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14768 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14769 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14770 { (exit 1); exit 1; }; } ;;
14771 esac
14773 else
14774 enable_libstdcxx_allocator=auto
14778 # If they didn't use this option switch, or if they specified --enable
14779 # with no specific model, we'll have to look for one. If they
14780 # specified --disable (???), do likewise.
14781 if test $enable_libstdcxx_allocator = no ||
14782 test $enable_libstdcxx_allocator = yes;
14783 then
14784 enable_libstdcxx_allocator=auto
14787 # Either a known package, or "auto". Auto implies the default choice
14788 # for a particular platform.
14789 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14791 # Probe for host-specific support if no specific model is specified.
14792 # Default to "new".
14793 if test $enable_libstdcxx_allocator_flag = auto; then
14794 case ${target_os} in
14795 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14796 enable_libstdcxx_allocator_flag=new
14799 enable_libstdcxx_allocator_flag=new
14801 esac
14803 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14804 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14807 # Set configure bits for specified locale package
14808 case ${enable_libstdcxx_allocator_flag} in
14809 bitmap)
14810 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14811 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14813 malloc)
14814 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14815 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14818 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14819 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14821 new)
14822 ALLOCATOR_H=config/allocator/new_allocator_base.h
14823 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14825 pool)
14826 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14827 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14829 esac
14835 # Check whether --enable-cheaders or --disable-cheaders was given.
14836 if test "${enable_cheaders+set}" = set; then
14837 enableval="$enable_cheaders"
14839 case "$enableval" in
14840 c|c_std|c_global) ;;
14841 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14842 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14843 { (exit 1); exit 1; }; } ;;
14844 esac
14846 else
14847 enable_cheaders=$c_model
14850 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14851 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14853 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14855 # Allow overrides to configure.host here.
14856 if test $enable_cheaders = c_global; then
14857 c_compatibility=yes
14860 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14861 c_extra=yes
14871 # Check whether --enable-long-long or --disable-long-long was given.
14872 if test "${enable_long_long+set}" = set; then
14873 enableval="$enable_long_long"
14875 case "$enableval" in
14876 yes|no) ;;
14877 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14878 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14879 { (exit 1); exit 1; }; } ;;
14880 esac
14882 else
14883 enable_long_long=yes
14886 if test $enable_long_long = yes; then
14888 cat >>confdefs.h <<\_ACEOF
14889 #define _GLIBCXX_USE_LONG_LONG 1
14890 _ACEOF
14893 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14894 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14895 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14896 echo "${ECHO_T}$enable_long_long" >&6
14899 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14900 if test "${enable_wchar_t+set}" = set; then
14901 enableval="$enable_wchar_t"
14903 case "$enableval" in
14904 yes|no) ;;
14905 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14906 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14907 { (exit 1); exit 1; }; } ;;
14908 esac
14910 else
14911 enable_wchar_t=yes
14915 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14917 for ac_header in wchar.h
14919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14921 echo "$as_me:$LINENO: checking for $ac_header" >&5
14922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14928 else
14929 # Is the header compilable?
14930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14932 cat >conftest.$ac_ext <<_ACEOF
14933 /* confdefs.h. */
14934 _ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14939 #include <$ac_header>
14940 _ACEOF
14941 rm -f conftest.$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943 (eval $ac_compile) 2>conftest.er1
14944 ac_status=$?
14945 grep -v '^ *+' conftest.er1 >conftest.err
14946 rm -f conftest.er1
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14960 ac_status=$?
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_header_compiler=yes
14964 else
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14968 ac_header_compiler=no
14970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14972 echo "${ECHO_T}$ac_header_compiler" >&6
14974 # Is the header present?
14975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h. */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #include <$ac_header>
14984 _ACEOF
14985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14987 ac_status=$?
14988 grep -v '^ *+' conftest.er1 >conftest.err
14989 rm -f conftest.er1
14990 cat conftest.err >&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } >/dev/null; then
14993 if test -s conftest.err; then
14994 ac_cpp_err=$ac_c_preproc_warn_flag
14995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14996 else
14997 ac_cpp_err=
14999 else
15000 ac_cpp_err=yes
15002 if test -z "$ac_cpp_err"; then
15003 ac_header_preproc=yes
15004 else
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15008 ac_header_preproc=no
15010 rm -f conftest.err conftest.$ac_ext
15011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15012 echo "${ECHO_T}$ac_header_preproc" >&6
15014 # So? What about this header?
15015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15016 yes:no: )
15017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15021 ac_header_preproc=yes
15023 no:yes:* )
15024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15037 cat <<\_ASBOX
15038 ## ----------------------------------------- ##
15039 ## Report this to the package-unused lists. ##
15040 ## ----------------------------------------- ##
15041 _ASBOX
15043 sed "s/^/$as_me: WARNING: /" >&2
15045 esac
15046 echo "$as_me:$LINENO: checking for $ac_header" >&5
15047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 else
15051 eval "$as_ac_Header=\$ac_header_preproc"
15053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15058 cat >>confdefs.h <<_ACEOF
15059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15060 _ACEOF
15061 ac_has_wchar_h=yes
15062 else
15063 ac_has_wchar_h=no
15066 done
15068 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15069 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15070 cat >conftest.$ac_ext <<_ACEOF
15071 /* confdefs.h. */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 #include <wchar.h>
15078 main ()
15080 mbstate_t teststate;
15082 return 0;
15084 _ACEOF
15085 rm -f conftest.$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>conftest.er1
15088 ac_status=$?
15089 grep -v '^ *+' conftest.er1 >conftest.err
15090 rm -f conftest.er1
15091 cat conftest.err >&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try='test -z "$ac_c_werror_flag"
15095 || test ! -s conftest.err'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; } &&
15101 { ac_try='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15104 ac_status=$?
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15107 have_mbstate_t=yes
15108 else
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15112 have_mbstate_t=no
15114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15115 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15116 echo "${ECHO_T}$have_mbstate_t" >&6
15117 if test x"$have_mbstate_t" = xyes; then
15119 cat >>confdefs.h <<\_ACEOF
15120 #define HAVE_MBSTATE_T 1
15121 _ACEOF
15125 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15126 # ac_has_wchar_h.
15128 for ac_header in wctype.h
15130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15132 echo "$as_me:$LINENO: checking for $ac_header" >&5
15133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15139 else
15140 # Is the header compilable?
15141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149 $ac_includes_default
15150 #include <$ac_header>
15151 _ACEOF
15152 rm -f conftest.$ac_objext
15153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15154 (eval $ac_compile) 2>conftest.er1
15155 ac_status=$?
15156 grep -v '^ *+' conftest.er1 >conftest.err
15157 rm -f conftest.er1
15158 cat conftest.err >&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } &&
15161 { ac_try='test -z "$ac_c_werror_flag"
15162 || test ! -s conftest.err'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; } &&
15168 { ac_try='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15171 ac_status=$?
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_header_compiler=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 ac_header_compiler=no
15181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15183 echo "${ECHO_T}$ac_header_compiler" >&6
15185 # Is the header present?
15186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 #include <$ac_header>
15195 _ACEOF
15196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15198 ac_status=$?
15199 grep -v '^ *+' conftest.er1 >conftest.err
15200 rm -f conftest.er1
15201 cat conftest.err >&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } >/dev/null; then
15204 if test -s conftest.err; then
15205 ac_cpp_err=$ac_c_preproc_warn_flag
15206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15207 else
15208 ac_cpp_err=
15210 else
15211 ac_cpp_err=yes
15213 if test -z "$ac_cpp_err"; then
15214 ac_header_preproc=yes
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15219 ac_header_preproc=no
15221 rm -f conftest.err conftest.$ac_ext
15222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15223 echo "${ECHO_T}$ac_header_preproc" >&6
15225 # So? What about this header?
15226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15227 yes:no: )
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15232 ac_header_preproc=yes
15234 no:yes:* )
15235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15248 cat <<\_ASBOX
15249 ## ----------------------------------------- ##
15250 ## Report this to the package-unused lists. ##
15251 ## ----------------------------------------- ##
15252 _ASBOX
15254 sed "s/^/$as_me: WARNING: /" >&2
15256 esac
15257 echo "$as_me:$LINENO: checking for $ac_header" >&5
15258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 eval "$as_ac_Header=\$ac_header_preproc"
15264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15269 cat >>confdefs.h <<_ACEOF
15270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15271 _ACEOF
15272 ac_has_wctype_h=yes
15273 else
15274 ac_has_wctype_h=no
15277 done
15280 if test x"$enable_wchar_t" = x"yes"; then
15284 ac_ext=cc
15285 ac_cpp='$CXXCPP $CPPFLAGS'
15286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15291 if test x"$ac_has_wchar_h" = xyes &&
15292 test x"$ac_has_wctype_h" = xyes; then
15293 cat >conftest.$ac_ext <<_ACEOF
15294 /* confdefs.h. */
15295 _ACEOF
15296 cat confdefs.h >>conftest.$ac_ext
15297 cat >>conftest.$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15299 #include <wchar.h>
15300 #include <stddef.h>
15301 wint_t i;
15302 long l = WEOF;
15303 long j = WCHAR_MIN;
15304 long k = WCHAR_MAX;
15305 namespace test
15307 using ::btowc;
15308 using ::fgetwc;
15309 using ::fgetws;
15310 using ::fputwc;
15311 using ::fputws;
15312 using ::fwide;
15313 using ::fwprintf;
15314 using ::fwscanf;
15315 using ::getwc;
15316 using ::getwchar;
15317 using ::mbrlen;
15318 using ::mbrtowc;
15319 using ::mbsinit;
15320 using ::mbsrtowcs;
15321 using ::putwc;
15322 using ::putwchar;
15323 using ::swprintf;
15324 using ::swscanf;
15325 using ::ungetwc;
15326 using ::vfwprintf;
15327 using ::vswprintf;
15328 using ::vwprintf;
15329 using ::wcrtomb;
15330 using ::wcscat;
15331 using ::wcschr;
15332 using ::wcscmp;
15333 using ::wcscoll;
15334 using ::wcscpy;
15335 using ::wcscspn;
15336 using ::wcsftime;
15337 using ::wcslen;
15338 using ::wcsncat;
15339 using ::wcsncmp;
15340 using ::wcsncpy;
15341 using ::wcspbrk;
15342 using ::wcsrchr;
15343 using ::wcsrtombs;
15344 using ::wcsspn;
15345 using ::wcsstr;
15346 using ::wcstod;
15347 using ::wcstok;
15348 using ::wcstol;
15349 using ::wcstoul;
15350 using ::wcsxfrm;
15351 using ::wctob;
15352 using ::wmemchr;
15353 using ::wmemcmp;
15354 using ::wmemcpy;
15355 using ::wmemmove;
15356 using ::wmemset;
15357 using ::wprintf;
15358 using ::wscanf;
15362 main ()
15366 return 0;
15368 _ACEOF
15369 rm -f conftest.$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try='test -z "$ac_cxx_werror_flag"
15379 || test ! -s conftest.err'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15382 ac_status=$?
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; } &&
15385 { ac_try='test -s conftest.$ac_objext'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15388 ac_status=$?
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; }; then
15392 else
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15396 enable_wchar_t=no
15398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15399 else
15400 enable_wchar_t=no
15403 ac_ext=c
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15411 if test x"$enable_wchar_t" = x"yes"; then
15413 cat >>confdefs.h <<\_ACEOF
15414 #define _GLIBCXX_USE_WCHAR_T 1
15415 _ACEOF
15419 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15420 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15421 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15422 echo "${ECHO_T}$enable_wchar_t" >&6
15426 # Check whether --enable-c99 or --disable-c99 was given.
15427 if test "${enable_c99+set}" = set; then
15428 enableval="$enable_c99"
15430 case "$enableval" in
15431 yes|no) ;;
15432 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15433 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15434 { (exit 1); exit 1; }; } ;;
15435 esac
15437 else
15438 enable_c99=yes
15442 if test x"$enable_c99" = x"yes"; then
15446 ac_ext=cc
15447 ac_cpp='$CXXCPP $CPPFLAGS'
15448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15453 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15454 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15455 # spuriously enabled.
15456 # Long term, -std=c++0x could be even better, could manage to explicitely
15457 # request C99 facilities to the underlying C headers.
15458 ac_save_CXXFLAGS="$CXXFLAGS"
15459 CXXFLAGS="$CXXFLAGS -std=c++98"
15460 ac_save_LIBS="$LIBS"
15461 ac_save_gcc_no_link="$gcc_no_link"
15463 if test x$gcc_no_link != xyes; then
15464 # Use -fno-exceptions to that the C driver can link these tests without
15465 # hitting undefined references to personality routines.
15466 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15467 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15468 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15469 if test "${ac_cv_lib_m_sin+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 ac_check_lib_save_LIBS=$LIBS
15473 LIBS="-lm $LIBS"
15474 if test x$gcc_no_link = xyes; then
15475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15477 { (exit 1); exit 1; }; }
15479 cat >conftest.$ac_ext <<_ACEOF
15480 /* confdefs.h. */
15481 _ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15486 /* Override any gcc2 internal prototype to avoid an error. */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 /* We use char because int might match the return type of a gcc2
15491 builtin and then its argument prototype would still apply. */
15492 char sin ();
15494 main ()
15496 sin ();
15498 return 0;
15500 _ACEOF
15501 rm -f conftest.$ac_objext conftest$ac_exeext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15503 (eval $ac_link) 2>conftest.er1
15504 ac_status=$?
15505 grep -v '^ *+' conftest.er1 >conftest.err
15506 rm -f conftest.er1
15507 cat conftest.err >&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } &&
15510 { ac_try='test -z "$ac_cxx_werror_flag"
15511 || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try='test -s conftest$ac_exeext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_lib_m_sin=yes
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_lib_m_sin=no
15530 rm -f conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15532 LIBS=$ac_check_lib_save_LIBS
15534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15535 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15536 if test $ac_cv_lib_m_sin = yes; then
15538 LIBS="$LIBS -lm"
15540 else
15542 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15543 gcc_no_link=yes
15549 # Check for the existence of <math.h> functions used if C99 is enabled.
15550 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15551 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15552 if test "${ac_c99_math+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15556 if test x$gcc_no_link = xyes; then
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <math.h>
15564 volatile double d1, d2;
15565 volatile int i;
15567 main ()
15569 i = fpclassify(d1);
15570 i = isfinite(d1);
15571 i = isinf(d1);
15572 i = isnan(d1);
15573 i = isnormal(d1);
15574 i = signbit(d1);
15575 i = isgreater(d1, d2);
15576 i = isgreaterequal(d1, d2);
15577 i = isless(d1, d2);
15578 i = islessequal(d1, d2);
15579 i = islessgreater(d1, d2);
15580 i = islessgreater(d1, d2);
15581 i = isunordered(d1, d2);
15584 return 0;
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_cxx_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15606 ac_status=$?
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_c99_math=yes
15610 else
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15614 ac_c99_math=no
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 else
15618 if test x$gcc_no_link = xyes; then
15619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15621 { (exit 1); exit 1; }; }
15623 cat >conftest.$ac_ext <<_ACEOF
15624 /* confdefs.h. */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 #include <math.h>
15630 volatile double d1, d2;
15631 volatile int i;
15633 main ()
15635 i = fpclassify(d1);
15636 i = isfinite(d1);
15637 i = isinf(d1);
15638 i = isnan(d1);
15639 i = isnormal(d1);
15640 i = signbit(d1);
15641 i = isgreater(d1, d2);
15642 i = isgreaterequal(d1, d2);
15643 i = isless(d1, d2);
15644 i = islessequal(d1, d2);
15645 i = islessgreater(d1, d2);
15646 i = islessgreater(d1, d2);
15647 i = isunordered(d1, d2);
15650 return 0;
15652 _ACEOF
15653 rm -f conftest.$ac_objext conftest$ac_exeext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15655 (eval $ac_link) 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try='test -z "$ac_cxx_werror_flag"
15663 || test ! -s conftest.err'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; } &&
15669 { ac_try='test -s conftest$ac_exeext'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15672 ac_status=$?
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15675 ac_c99_math=yes
15676 else
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15680 ac_c99_math=no
15682 rm -f conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15688 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15689 echo "${ECHO_T}$ac_c99_math" >&6
15690 if test x"$ac_c99_math" = x"yes"; then
15692 cat >>confdefs.h <<\_ACEOF
15693 #define _GLIBCXX_USE_C99_MATH 1
15694 _ACEOF
15698 # Check for the existence of <complex.h> complex math functions.
15699 # This is necessary even though libstdc++ uses the builtin versions
15700 # of these functions, because if the builtin cannot be used, a reference
15701 # to the library function is emitted.
15703 for ac_header in tgmath.h
15705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15707 echo "$as_me:$LINENO: checking for $ac_header" >&5
15708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15714 else
15715 # Is the header compilable?
15716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 #include <$ac_header>
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>conftest.er1
15730 ac_status=$?
15731 grep -v '^ *+' conftest.er1 >conftest.err
15732 rm -f conftest.er1
15733 cat conftest.err >&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); } &&
15736 { ac_try='test -z "$ac_cxx_werror_flag"
15737 || test ! -s conftest.err'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15740 ac_status=$?
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; } &&
15743 { ac_try='test -s conftest.$ac_objext'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15746 ac_status=$?
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_header_compiler=yes
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_header_compiler=no
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15758 echo "${ECHO_T}$ac_header_compiler" >&6
15760 # Is the header present?
15761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769 #include <$ac_header>
15770 _ACEOF
15771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } >/dev/null; then
15779 if test -s conftest.err; then
15780 ac_cpp_err=$ac_cxx_preproc_warn_flag
15781 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15782 else
15783 ac_cpp_err=
15785 else
15786 ac_cpp_err=yes
15788 if test -z "$ac_cpp_err"; then
15789 ac_header_preproc=yes
15790 else
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 ac_header_preproc=no
15796 rm -f conftest.err conftest.$ac_ext
15797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15798 echo "${ECHO_T}$ac_header_preproc" >&6
15800 # So? What about this header?
15801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15802 yes:no: )
15803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15807 ac_header_preproc=yes
15809 no:yes:* )
15810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15823 cat <<\_ASBOX
15824 ## ----------------------------------------- ##
15825 ## Report this to the package-unused lists. ##
15826 ## ----------------------------------------- ##
15827 _ASBOX
15829 sed "s/^/$as_me: WARNING: /" >&2
15831 esac
15832 echo "$as_me:$LINENO: checking for $ac_header" >&5
15833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15835 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 else
15837 eval "$as_ac_Header=\$ac_header_preproc"
15839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15844 cat >>confdefs.h <<_ACEOF
15845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15846 _ACEOF
15847 ac_has_tgmath_h=yes
15848 else
15849 ac_has_tgmath_h=no
15852 done
15855 for ac_header in complex.h
15857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15859 echo "$as_me:$LINENO: checking for $ac_header" >&5
15860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15866 else
15867 # Is the header compilable?
15868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15877 #include <$ac_header>
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>conftest.er1
15882 ac_status=$?
15883 grep -v '^ *+' conftest.er1 >conftest.err
15884 rm -f conftest.er1
15885 cat conftest.err >&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try='test -z "$ac_cxx_werror_flag"
15889 || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_header_compiler=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 ac_header_compiler=no
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15910 echo "${ECHO_T}$ac_header_compiler" >&6
15912 # Is the header present?
15913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h. */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 #include <$ac_header>
15922 _ACEOF
15923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } >/dev/null; then
15931 if test -s conftest.err; then
15932 ac_cpp_err=$ac_cxx_preproc_warn_flag
15933 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15934 else
15935 ac_cpp_err=
15937 else
15938 ac_cpp_err=yes
15940 if test -z "$ac_cpp_err"; then
15941 ac_header_preproc=yes
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 ac_header_preproc=no
15948 rm -f conftest.err conftest.$ac_ext
15949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15950 echo "${ECHO_T}$ac_header_preproc" >&6
15952 # So? What about this header?
15953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15954 yes:no: )
15955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15959 ac_header_preproc=yes
15961 no:yes:* )
15962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15975 cat <<\_ASBOX
15976 ## ----------------------------------------- ##
15977 ## Report this to the package-unused lists. ##
15978 ## ----------------------------------------- ##
15979 _ASBOX
15981 sed "s/^/$as_me: WARNING: /" >&2
15983 esac
15984 echo "$as_me:$LINENO: checking for $ac_header" >&5
15985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15989 eval "$as_ac_Header=\$ac_header_preproc"
15991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15996 cat >>confdefs.h <<_ACEOF
15997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15998 _ACEOF
15999 ac_has_complex_h=yes
16000 else
16001 ac_has_complex_h=no
16004 done
16006 ac_c99_complex=no;
16007 if test x"$ac_has_complex_h" = x"yes"; then
16008 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16009 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16010 if test x$gcc_no_link = xyes; then
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. */
16017 #include <complex.h>
16018 typedef __complex__ float float_type;
16019 typedef __complex__ double double_type;
16020 typedef __complex__ long double ld_type;
16021 volatile float_type tmpf;
16022 volatile double_type tmpd;
16023 volatile ld_type tmpld;
16024 volatile float f;
16025 volatile double d;
16026 volatile long double ld;
16028 main ()
16030 f = cabsf(tmpf);
16031 f = cargf(tmpf);
16032 tmpf = ccosf(tmpf);
16033 tmpf = ccoshf(tmpf);
16034 tmpf = cexpf(tmpf);
16035 tmpf = clogf(tmpf);
16036 tmpf = csinf(tmpf);
16037 tmpf = csinhf(tmpf);
16038 tmpf = csqrtf(tmpf);
16039 tmpf = ctanf(tmpf);
16040 tmpf = ctanhf(tmpf);
16041 tmpf = cpowf(tmpf, tmpf);
16042 d = cabs(tmpd);
16043 d = carg(tmpd);
16044 tmpd = ccos(tmpd);
16045 tmpd = ccosh(tmpd);
16046 tmpd = cexp(tmpd);
16047 tmpd = clog(tmpd);
16048 tmpd = csin(tmpd);
16049 tmpd = csinh(tmpd);
16050 tmpd = csqrt(tmpd);
16051 tmpd = ctan(tmpd);
16052 tmpd = ctanh(tmpd);
16053 tmpd = cpow(tmpd, tmpd);
16054 ld = cabsl(tmpld);
16055 ld = cargl(tmpld);
16056 tmpld = ccosl(tmpld);
16057 tmpld = ccoshl(tmpld);
16058 tmpld = cexpl(tmpld);
16059 tmpld = clogl(tmpld);
16060 tmpld = csinl(tmpld);
16061 tmpld = csinhl(tmpld);
16062 tmpld = csqrtl(tmpld);
16063 tmpld = ctanl(tmpld);
16064 tmpld = ctanhl(tmpld);
16065 tmpld = cpowl(tmpld, tmpld);
16068 return 0;
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16074 ac_status=$?
16075 grep -v '^ *+' conftest.er1 >conftest.err
16076 rm -f conftest.er1
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try='test -z "$ac_cxx_werror_flag"
16081 || test ! -s conftest.err'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; } &&
16087 { ac_try='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_c99_complex=yes
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 ac_c99_complex=no
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16101 else
16102 if test x$gcc_no_link = xyes; then
16103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16105 { (exit 1); exit 1; }; }
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 #include <complex.h>
16114 typedef __complex__ float float_type;
16115 typedef __complex__ double double_type;
16116 typedef __complex__ long double ld_type;
16117 volatile float_type tmpf;
16118 volatile double_type tmpd;
16119 volatile ld_type tmpld;
16120 volatile float f;
16121 volatile double d;
16122 volatile long double ld;
16124 main ()
16126 f = cabsf(tmpf);
16127 f = cargf(tmpf);
16128 tmpf = ccosf(tmpf);
16129 tmpf = ccoshf(tmpf);
16130 tmpf = cexpf(tmpf);
16131 tmpf = clogf(tmpf);
16132 tmpf = csinf(tmpf);
16133 tmpf = csinhf(tmpf);
16134 tmpf = csqrtf(tmpf);
16135 tmpf = ctanf(tmpf);
16136 tmpf = ctanhf(tmpf);
16137 tmpf = cpowf(tmpf, tmpf);
16138 d = cabs(tmpd);
16139 d = carg(tmpd);
16140 tmpd = ccos(tmpd);
16141 tmpd = ccosh(tmpd);
16142 tmpd = cexp(tmpd);
16143 tmpd = clog(tmpd);
16144 tmpd = csin(tmpd);
16145 tmpd = csinh(tmpd);
16146 tmpd = csqrt(tmpd);
16147 tmpd = ctan(tmpd);
16148 tmpd = ctanh(tmpd);
16149 tmpd = cpow(tmpd, tmpd);
16150 ld = cabsl(tmpld);
16151 ld = cargl(tmpld);
16152 tmpld = ccosl(tmpld);
16153 tmpld = ccoshl(tmpld);
16154 tmpld = cexpl(tmpld);
16155 tmpld = clogl(tmpld);
16156 tmpld = csinl(tmpld);
16157 tmpld = csinhl(tmpld);
16158 tmpld = csqrtl(tmpld);
16159 tmpld = ctanl(tmpld);
16160 tmpld = ctanhl(tmpld);
16161 tmpld = cpowl(tmpld, tmpld);
16164 return 0;
16166 _ACEOF
16167 rm -f conftest.$ac_objext conftest$ac_exeext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16169 (eval $ac_link) 2>conftest.er1
16170 ac_status=$?
16171 grep -v '^ *+' conftest.er1 >conftest.err
16172 rm -f conftest.er1
16173 cat conftest.err >&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try='test -z "$ac_cxx_werror_flag"
16177 || test ! -s conftest.err'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16180 ac_status=$?
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; } &&
16183 { ac_try='test -s conftest$ac_exeext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 ac_c99_complex=yes
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16194 ac_c99_complex=no
16196 rm -f conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16200 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16201 echo "${ECHO_T}$ac_c99_complex" >&6
16202 if test x"$ac_c99_complex" = x"yes"; then
16204 cat >>confdefs.h <<\_ACEOF
16205 #define _GLIBCXX_USE_C99_COMPLEX 1
16206 _ACEOF
16210 # Check for the existence in <stdio.h> of vscanf, et. al.
16211 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16212 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16213 if test "${ac_c99_stdio+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16217 if test x$gcc_no_link = xyes; then
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <stdio.h>
16225 #include <stdarg.h>
16226 void foo(char* fmt, ...)
16228 va_list args; va_start(args, fmt);
16229 vfscanf(stderr, "%i", args);
16230 vscanf("%i", args);
16231 vsnprintf(fmt, 0, "%i", args);
16232 vsscanf(fmt, "%i", args);
16235 main ()
16237 snprintf("12", 0, "%i");
16239 return 0;
16241 _ACEOF
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16245 ac_status=$?
16246 grep -v '^ *+' conftest.er1 >conftest.err
16247 rm -f conftest.er1
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_cxx_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 ac_c99_stdio=yes
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 ac_c99_stdio=no
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 else
16273 if test x$gcc_no_link = xyes; then
16274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16276 { (exit 1); exit 1; }; }
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 #include <stdio.h>
16285 #include <stdarg.h>
16286 void foo(char* fmt, ...)
16288 va_list args; va_start(args, fmt);
16289 vfscanf(stderr, "%i", args);
16290 vscanf("%i", args);
16291 vsnprintf(fmt, 0, "%i", args);
16292 vsscanf(fmt, "%i", args);
16295 main ()
16297 snprintf("12", 0, "%i");
16299 return 0;
16301 _ACEOF
16302 rm -f conftest.$ac_objext conftest$ac_exeext
16303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304 (eval $ac_link) 2>conftest.er1
16305 ac_status=$?
16306 grep -v '^ *+' conftest.er1 >conftest.err
16307 rm -f conftest.er1
16308 cat conftest.err >&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } &&
16311 { ac_try='test -z "$ac_cxx_werror_flag"
16312 || test ! -s conftest.err'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; } &&
16318 { ac_try='test -s conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_c99_stdio=yes
16325 else
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 ac_c99_stdio=no
16331 rm -f conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16337 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16338 echo "${ECHO_T}$ac_c99_stdio" >&6
16340 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16341 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16342 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16343 if test "${ac_c99_stdlib+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16347 if test x$gcc_no_link = xyes; then
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 #include <stdlib.h>
16355 volatile float f;
16356 volatile long double ld;
16357 volatile unsigned long long ll;
16358 lldiv_t mydivt;
16360 main ()
16362 char* tmp;
16363 f = strtof("gnu", &tmp);
16364 ld = strtold("gnu", &tmp);
16365 ll = strtoll("gnu", &tmp, 10);
16366 ll = strtoull("gnu", &tmp, 10);
16367 ll = llabs(10);
16368 mydivt = lldiv(10,1);
16369 ll = mydivt.quot;
16370 ll = mydivt.rem;
16371 ll = atoll("10");
16372 _Exit(0);
16375 return 0;
16377 _ACEOF
16378 rm -f conftest.$ac_objext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16380 (eval $ac_compile) 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_cxx_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest.$ac_objext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_c99_stdlib=yes
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_c99_stdlib=no
16407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16408 else
16409 if test x$gcc_no_link = xyes; then
16410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412 { (exit 1); exit 1; }; }
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 #include <stdlib.h>
16421 volatile float f;
16422 volatile long double ld;
16423 volatile unsigned long long ll;
16424 lldiv_t mydivt;
16426 main ()
16428 char* tmp;
16429 f = strtof("gnu", &tmp);
16430 ld = strtold("gnu", &tmp);
16431 ll = strtoll("gnu", &tmp, 10);
16432 ll = strtoull("gnu", &tmp, 10);
16433 ll = llabs(10);
16434 mydivt = lldiv(10,1);
16435 ll = mydivt.quot;
16436 ll = mydivt.rem;
16437 ll = atoll("10");
16438 _Exit(0);
16441 return 0;
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446 (eval $ac_link) 2>conftest.er1
16447 ac_status=$?
16448 grep -v '^ *+' conftest.er1 >conftest.err
16449 rm -f conftest.er1
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_cxx_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try='test -s conftest$ac_exeext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_c99_stdlib=yes
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 ac_c99_stdlib=no
16473 rm -f conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16479 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16480 echo "${ECHO_T}$ac_c99_stdlib" >&6
16482 # Check for the existence in <wchar.h> of wcstold, etc.
16483 ac_c99_wchar=no;
16484 if test x"$ac_has_wchar_h" = xyes &&
16485 test x"$ac_has_wctype_h" = xyes; then
16486 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16487 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <wchar.h>
16495 namespace test
16497 using ::wcstold;
16498 using ::wcstoll;
16499 using ::wcstoull;
16503 main ()
16507 return 0;
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512 (eval $ac_compile) 2>conftest.er1
16513 ac_status=$?
16514 grep -v '^ *+' conftest.er1 >conftest.err
16515 rm -f conftest.er1
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } &&
16519 { ac_try='test -z "$ac_cxx_werror_flag"
16520 || test ! -s conftest.err'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; } &&
16526 { ac_try='test -s conftest.$ac_objext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16532 ac_c99_wchar=yes
16533 else
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16537 ac_c99_wchar=no
16539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16541 # Checks for wide character functions that may not be present.
16542 # Injection of these is wrapped with guard macros.
16543 # NB: only put functions here, instead of immediately above, if
16544 # absolutely necessary.
16545 cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h. */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 #include <wchar.h>
16552 namespace test { using ::vfwscanf; }
16554 main ()
16558 return 0;
16560 _ACEOF
16561 rm -f conftest.$ac_objext
16562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16563 (eval $ac_compile) 2>conftest.er1
16564 ac_status=$?
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
16570 { ac_try='test -z "$ac_cxx_werror_flag"
16571 || test ! -s conftest.err'
16572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573 (eval $ac_try) 2>&5
16574 ac_status=$?
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; } &&
16577 { ac_try='test -s conftest.$ac_objext'
16578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579 (eval $ac_try) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); }; }; then
16584 cat >>confdefs.h <<\_ACEOF
16585 #define HAVE_VFWSCANF 1
16586 _ACEOF
16588 else
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.$ac_ext >&5
16593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 #include <wchar.h>
16602 namespace test { using ::vswscanf; }
16604 main ()
16608 return 0;
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_cxx_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try='test -s conftest.$ac_objext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16634 cat >>confdefs.h <<\_ACEOF
16635 #define HAVE_VSWSCANF 1
16636 _ACEOF
16638 else
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #include <wchar.h>
16652 namespace test { using ::vwscanf; }
16654 main ()
16658 return 0;
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16663 (eval $ac_compile) 2>conftest.er1
16664 ac_status=$?
16665 grep -v '^ *+' conftest.er1 >conftest.err
16666 rm -f conftest.er1
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try='test -z "$ac_cxx_werror_flag"
16671 || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16684 cat >>confdefs.h <<\_ACEOF
16685 #define HAVE_VWSCANF 1
16686 _ACEOF
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 #include <wchar.h>
16702 namespace test { using ::wcstof; }
16704 main ()
16708 return 0;
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -z "$ac_cxx_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16734 cat >>confdefs.h <<\_ACEOF
16735 #define HAVE_WCSTOF 1
16736 _ACEOF
16738 else
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16745 cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h. */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 #include <wctype.h>
16753 main ()
16755 wint_t t; int i = iswblank(t);
16757 return 0;
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762 (eval $ac_compile) 2>conftest.er1
16763 ac_status=$?
16764 grep -v '^ *+' conftest.er1 >conftest.err
16765 rm -f conftest.er1
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -z "$ac_cxx_werror_flag"
16770 || test ! -s conftest.err'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16783 cat >>confdefs.h <<\_ACEOF
16784 #define HAVE_ISWBLANK 1
16785 _ACEOF
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16794 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16795 echo "${ECHO_T}$ac_c99_wchar" >&6
16798 # Option parsed, now set things appropriately.
16799 if test x"$ac_c99_math" = x"no" ||
16800 test x"$ac_c99_complex" = x"no" ||
16801 test x"$ac_c99_stdio" = x"no" ||
16802 test x"$ac_c99_stdlib" = x"no" ||
16803 test x"$ac_c99_wchar" = x"no"; then
16804 enable_c99=no;
16805 else
16807 cat >>confdefs.h <<\_ACEOF
16808 #define _GLIBCXX_USE_C99 1
16809 _ACEOF
16813 gcc_no_link="$ac_save_gcc_no_link"
16814 LIBS="$ac_save_LIBS"
16815 CXXFLAGS="$ac_save_CXXFLAGS"
16816 ac_ext=c
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16824 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16825 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16826 echo "$as_me:$LINENO: result: $enable_c99" >&5
16827 echo "${ECHO_T}$enable_c99" >&6
16830 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16831 if test "${enable_concept_checks+set}" = set; then
16832 enableval="$enable_concept_checks"
16834 case "$enableval" in
16835 yes|no) ;;
16836 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16837 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16838 { (exit 1); exit 1; }; } ;;
16839 esac
16841 else
16842 enable_concept_checks=no
16845 if test $enable_concept_checks = yes; then
16847 cat >>confdefs.h <<\_ACEOF
16848 #define _GLIBCXX_CONCEPT_CHECKS 1
16849 _ACEOF
16854 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16855 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16856 enableval="$enable_libstdcxx_debug_flags"
16857 case "x$enable_libstdcxx_debug_flags" in
16858 xno | x) enable_libstdcxx_debug_flags= ;;
16859 x-*) ;;
16860 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16861 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16862 { (exit 1); exit 1; }; } ;;
16863 esac
16864 else
16865 enable_libstdcxx_debug_flags="-g3 -O0"
16869 # Option parsed, now set things appropriately
16870 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16873 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16874 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16877 echo "$as_me:$LINENO: checking for additional debug build" >&5
16878 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16879 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16880 if test "${enable_libstdcxx_debug+set}" = set; then
16881 enableval="$enable_libstdcxx_debug"
16883 case "$enableval" in
16884 yes|no) ;;
16885 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16886 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16887 { (exit 1); exit 1; }; } ;;
16888 esac
16890 else
16891 enable_libstdcxx_debug=no
16894 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16895 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16900 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16901 # dependencies (omp.h and libgomp).
16902 enable_parallel=no;
16903 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16904 enable_parallel=yes;
16905 else
16906 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16907 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16910 # Check to see if it's explicitly disabled.
16911 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16912 # [permit yes|no])
16914 # if test x$enable_libgomp = xno; then
16915 # enable_parallel=no
16916 # fi
16918 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16919 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16920 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16921 echo "${ECHO_T}$enable_parallel" >&6
16924 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16925 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16926 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16927 if test "${enable_cxx_flags+set}" = set; then
16928 enableval="$enable_cxx_flags"
16929 case "x$enable_cxx_flags" in
16930 xno | x) enable_cxx_flags= ;;
16931 x-*) ;;
16932 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16933 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16934 { (exit 1); exit 1; }; } ;;
16935 esac
16936 else
16937 enable_cxx_flags=
16941 # Run through flags (either default or command-line) and set anything
16942 # extra (e.g., #defines) that must accompany particular g++ options.
16943 if test -n "$enable_cxx_flags"; then
16944 for f in $enable_cxx_flags; do
16945 case "$f" in
16946 -fhonor-std) ;;
16947 -*) ;;
16948 *) # and we're trying to pass /what/ exactly?
16949 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16950 echo "$as_me: error: compiler flags start with a -" >&2;}
16951 { (exit 1); exit 1; }; } ;;
16952 esac
16953 done
16956 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16957 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16958 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16962 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16963 if test "${enable_fully_dynamic_string+set}" = set; then
16964 enableval="$enable_fully_dynamic_string"
16966 case "$enableval" in
16967 yes|no) ;;
16968 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16969 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16970 { (exit 1); exit 1; }; } ;;
16971 esac
16973 else
16974 enable_fully_dynamic_string=no
16977 if test $enable_fully_dynamic_string = yes; then
16979 cat >>confdefs.h <<\_ACEOF
16980 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16981 _ACEOF
16986 # Checks for operating systems support that don't require linking.
16989 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16990 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16991 if test "${ac_system_error1+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <errno.h>
17003 main ()
17005 int i = EOWNERDEAD;
17007 return 0;
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17029 ac_status=$?
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_system_error1=yes
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 ac_system_error1=no
17039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17043 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17044 echo "${ECHO_T}$ac_system_error1" >&6
17045 if test x"$ac_system_error1" = x"yes"; then
17047 cat >>confdefs.h <<\_ACEOF
17048 #define HAVE_EOWNERDEAD 1
17049 _ACEOF
17053 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17054 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17055 if test "${ac_system_error2+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 else
17059 cat >conftest.$ac_ext <<_ACEOF
17060 /* confdefs.h. */
17061 _ACEOF
17062 cat confdefs.h >>conftest.$ac_ext
17063 cat >>conftest.$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17065 #include <errno.h>
17067 main ()
17069 int i = ENOTRECOVERABLE;
17071 return 0;
17073 _ACEOF
17074 rm -f conftest.$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } &&
17083 { ac_try='test -z "$ac_c_werror_flag"
17084 || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_system_error2=yes
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_system_error2=no
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17107 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17108 echo "${ECHO_T}$ac_system_error2" >&6
17109 if test x"$ac_system_error2" = x"yes"; then
17111 cat >>confdefs.h <<\_ACEOF
17112 #define HAVE_ENOTRECOVERABLE 1
17113 _ACEOF
17117 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17118 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17119 if test "${ac_system_error3+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129 #include <errno.h>
17131 main ()
17133 int i = ENOLINK;
17135 return 0;
17137 _ACEOF
17138 rm -f conftest.$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140 (eval $ac_compile) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try='test -z "$ac_c_werror_flag"
17148 || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_system_error3=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_system_error3=no
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17171 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17172 echo "${ECHO_T}$ac_system_error3" >&6
17173 if test x"$ac_system_error3" = x"yes"; then
17175 cat >>confdefs.h <<\_ACEOF
17176 #define HAVE_ENOLINK 1
17177 _ACEOF
17181 echo "$as_me:$LINENO: checking for EPROTO" >&5
17182 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17183 if test "${ac_system_error_4+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <errno.h>
17195 main ()
17197 int i = EPROTO;
17199 return 0;
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_c_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_system_error_4=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_system_error_4=no
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17236 echo "${ECHO_T}$ac_system_error_4" >&6
17237 if test x"$ac_system_error_4" = x"yes"; then
17239 cat >>confdefs.h <<\_ACEOF
17240 #define HAVE_EPROTO 1
17241 _ACEOF
17245 echo "$as_me:$LINENO: checking for ENODATA" >&5
17246 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17247 if test "${ac_system_error_5+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17251 cat >conftest.$ac_ext <<_ACEOF
17252 /* confdefs.h. */
17253 _ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 #include <errno.h>
17259 main ()
17261 int i = ENODATA;
17263 return 0;
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag"
17276 || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_system_error_5=yes
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17293 ac_system_error_5=no
17295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17299 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17300 echo "${ECHO_T}$ac_system_error_5" >&6
17301 if test x"$ac_system_error_5" = x"yes"; then
17303 cat >>confdefs.h <<\_ACEOF
17304 #define HAVE_ENODATA 1
17305 _ACEOF
17309 echo "$as_me:$LINENO: checking for ENOSR" >&5
17310 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17311 if test "${ac_system_error_6+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 #include <errno.h>
17323 main ()
17325 int i = ENOSR;
17327 return 0;
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17333 ac_status=$?
17334 grep -v '^ *+' conftest.er1 >conftest.err
17335 rm -f conftest.er1
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_system_error_6=yes
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 ac_system_error_6=no
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17364 echo "${ECHO_T}$ac_system_error_6" >&6
17365 if test x"$ac_system_error_6" = x"yes"; then
17367 cat >>confdefs.h <<\_ACEOF
17368 #define HAVE_ENOSR 1
17369 _ACEOF
17373 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17374 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17375 if test "${ac_system_error_7+set}" = set; then
17376 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 else
17379 cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h. */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 #include <errno.h>
17387 main ()
17389 int i = ENOSTR;
17391 return 0;
17393 _ACEOF
17394 rm -f conftest.$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try='test -z "$ac_c_werror_flag"
17404 || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_system_error_7=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17421 ac_system_error_7=no
17423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17428 echo "${ECHO_T}$ac_system_error_7" >&6
17429 if test x"$ac_system_error_7" = x"yes"; then
17431 cat >>confdefs.h <<\_ACEOF
17432 #define HAVE_ENOSTR 1
17433 _ACEOF
17437 echo "$as_me:$LINENO: checking for ETIME" >&5
17438 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17439 if test "${ac_system_error_8+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <errno.h>
17451 main ()
17453 int i = ETIME;
17455 return 0;
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>conftest.er1
17461 ac_status=$?
17462 grep -v '^ *+' conftest.er1 >conftest.err
17463 rm -f conftest.er1
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try='test -z "$ac_c_werror_flag"
17468 || test ! -s conftest.err'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; } &&
17474 { ac_try='test -s conftest.$ac_objext'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; }; then
17480 ac_system_error_8=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17485 ac_system_error_8=no
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17491 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17492 echo "${ECHO_T}$ac_system_error_8" >&6
17493 if test x"$ac_system_error_8" = x"yes"; then
17495 cat >>confdefs.h <<\_ACEOF
17496 #define HAVE_ETIME 1
17497 _ACEOF
17501 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17502 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17503 if test "${ac_system_error9+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <errno.h>
17515 main ()
17517 int i = sys_nerr;
17519 return 0;
17521 _ACEOF
17522 rm -f conftest.$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524 (eval $ac_compile) 2>conftest.er1
17525 ac_status=$?
17526 grep -v '^ *+' conftest.er1 >conftest.err
17527 rm -f conftest.er1
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try='test -z "$ac_c_werror_flag"
17532 || test ! -s conftest.err'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; } &&
17538 { ac_try='test -s conftest.$ac_objext'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then
17544 ac_system_error9=yes
17545 else
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17549 ac_system_error9=no
17551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17555 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17556 echo "${ECHO_T}$ac_system_error9" >&6
17557 if test x"$ac_system_error9" = x"yes"; then
17559 cat >>confdefs.h <<\_ACEOF
17560 #define HAVE_SYS_NERR 1
17561 _ACEOF
17565 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17566 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17567 if test "${ac_system_error_10+set}" = set; then
17568 echo $ECHO_N "(cached) $ECHO_C" >&6
17569 else
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 #include <errno.h>
17579 main ()
17581 int i = EBADMSG;
17583 return 0;
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>conftest.er1
17589 ac_status=$?
17590 grep -v '^ *+' conftest.er1 >conftest.err
17591 rm -f conftest.er1
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try='test -z "$ac_c_werror_flag"
17596 || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17599 ac_status=$?
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 ac_system_error_10=yes
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17613 ac_system_error_10=no
17615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17619 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17620 echo "${ECHO_T}$ac_system_error_10" >&6
17621 if test x"$ac_system_error_10" = x"yes"; then
17623 cat >>confdefs.h <<\_ACEOF
17624 #define HAVE_EBADMSG 1
17625 _ACEOF
17629 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17630 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17631 if test "${ac_system_error_11+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ECANCELED;
17647 return 0;
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try='test -z "$ac_c_werror_flag"
17660 || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17669 ac_status=$?
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17672 ac_system_error_11=yes
17673 else
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17677 ac_system_error_11=no
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17683 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17684 echo "${ECHO_T}$ac_system_error_11" >&6
17685 if test x"$ac_system_error_11" = x"yes"; then
17687 cat >>confdefs.h <<\_ACEOF
17688 #define HAVE_ECANCELED 1
17689 _ACEOF
17693 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17694 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17695 if test "${ac_system_error_12+set}" = set; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 #include <errno.h>
17707 main ()
17709 int i = EOVERFLOW;
17711 return 0;
17713 _ACEOF
17714 rm -f conftest.$ac_objext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716 (eval $ac_compile) 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } &&
17723 { ac_try='test -z "$ac_c_werror_flag"
17724 || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17736 ac_system_error_12=yes
17737 else
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.$ac_ext >&5
17741 ac_system_error_12=no
17743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17747 echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17748 echo "${ECHO_T}$ac_system_error_12" >&6
17749 if test x"$ac_system_error_12" = x"yes"; then
17751 cat >>confdefs.h <<\_ACEOF
17752 #define HAVE_EOVERFLOW 1
17753 _ACEOF
17757 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
17758 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
17759 if test "${ac_system_error_13+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 #include <errno.h>
17771 main ()
17773 int i = ENOTSUP;
17775 return 0;
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 ac_system_error_13=yes
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 ac_system_error_13=no
17807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17811 echo "$as_me:$LINENO: result: $ac_system_error_13" >&5
17812 echo "${ECHO_T}$ac_system_error_13" >&6
17813 if test x"$ac_system_error_13" = x"yes"; then
17815 cat >>confdefs.h <<\_ACEOF
17816 #define HAVE_ENOTSUP 1
17817 _ACEOF
17821 echo "$as_me:$LINENO: checking for EIDRM" >&5
17822 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
17823 if test "${ac_system_error_14+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17827 cat >conftest.$ac_ext <<_ACEOF
17828 /* confdefs.h. */
17829 _ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17833 #include <errno.h>
17835 main ()
17837 int i = EIDRM;
17839 return 0;
17841 _ACEOF
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag"
17852 || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_system_error_14=yes
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17869 ac_system_error_14=no
17871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17875 echo "$as_me:$LINENO: result: $ac_system_error_14" >&5
17876 echo "${ECHO_T}$ac_system_error_14" >&6
17877 if test x"$ac_system_error_14" = x"yes"; then
17879 cat >>confdefs.h <<\_ACEOF
17880 #define HAVE_EIDRM 1
17881 _ACEOF
17885 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
17886 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
17887 if test "${ac_system_error_15+set}" = set; then
17888 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 else
17891 cat >conftest.$ac_ext <<_ACEOF
17892 /* confdefs.h. */
17893 _ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17897 #include <errno.h>
17899 main ()
17901 int i = ETXTBSY;
17903 return 0;
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try='test -z "$ac_c_werror_flag"
17916 || test ! -s conftest.err'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17919 ac_status=$?
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; } &&
17922 { ac_try='test -s conftest.$ac_objext'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17925 ac_status=$?
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; }; then
17928 ac_system_error_15=yes
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17933 ac_system_error_15=no
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17939 echo "$as_me:$LINENO: result: $ac_system_error_15" >&5
17940 echo "${ECHO_T}$ac_system_error_15" >&6
17941 if test x"$ac_system_error_15" = x"yes"; then
17943 cat >>confdefs.h <<\_ACEOF
17944 #define HAVE_ETXTBSY 1
17945 _ACEOF
17951 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
17952 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
17953 if test "${ac_standard_layout+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17959 ac_ext=cc
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17965 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17966 ac_save_CXXFLAGS="$CXXFLAGS"
17967 CXXFLAGS='-std=gnu++0x'
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 struct b
17977 bool t;
17979 // Need standard layout relaxation from POD
17980 private:
17981 b& operator=(const b&);
17982 b(const b&);
17985 int main()
17987 b tst1 = { false };
17988 return 0;
17991 main ()
17995 return 0;
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_cxx_werror_flag"
18008 || test ! -s conftest.err'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 ac_standard_layout=yes
18021 else
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 ac_standard_layout=no
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18029 CXXFLAGS="$ac_save_CXXFLAGS"
18030 ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18039 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
18040 echo "${ECHO_T}$ac_standard_layout" >&6
18041 if test x"$ac_standard_layout" = x"yes"; then
18043 cat >>confdefs.h <<\_ACEOF
18044 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
18045 _ACEOF
18050 # No surprises, no surprises...
18052 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
18053 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
18054 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
18055 echo "$as_me:$LINENO: result: $target_thread_file" >&5
18056 echo "${ECHO_T}$target_thread_file" >&6
18058 if test $target_thread_file != single; then
18060 cat >>confdefs.h <<\_ACEOF
18061 #define HAVE_GTHR_DEFAULT 1
18062 _ACEOF
18066 glibcxx_thread_h=gthr-$target_thread_file.h
18068 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
18069 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
18070 enable_thread=yes
18071 else
18072 enable_thread=no
18078 echo "$as_me:$LINENO: checking for atomic builtins" >&5
18079 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
18082 ac_ext=cc
18083 ac_cpp='$CXXCPP $CPPFLAGS'
18084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18089 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
18090 cat > conftest.$ac_ext << EOF
18091 #line 18091 "configure"
18092 int main()
18094 // NB: _Atomic_word not necessarily int.
18095 typedef int atomic_type;
18096 atomic_type c1;
18097 atomic_type c2;
18098 const atomic_type c3(0);
18099 if (__sync_fetch_and_add(&c1, c2) == c3)
18101 // Do something.
18103 return 0;
18106 old_CXXFLAGS="$CXXFLAGS"
18107 CXXFLAGS='-O0 -S'
18108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109 (eval $ac_compile) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; then
18113 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18114 enable_atomic_builtins=no
18115 else
18117 cat >>confdefs.h <<\_ACEOF
18118 #define _GLIBCXX_ATOMIC_BUILTINS 1
18119 _ACEOF
18121 enable_atomic_builtins=yes
18122 atomicity_dir=cpu/generic/atomicity_builtins
18125 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18126 echo "${ECHO_T}$enable_atomic_builtins" >&6
18127 CXXFLAGS="$old_CXXFLAGS"
18128 rm -f conftest*
18130 # Now, if still generic, set to mutex.
18131 if test $atomicity_dir = "cpu/generic" ; then
18132 atomicity_dir=cpu/generic/atomicity_mutex
18134 ac_ext=c
18135 ac_cpp='$CPP $CPPFLAGS'
18136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18141 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18142 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18143 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18144 if test $target_thread_file = single; then
18145 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18146 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18147 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18148 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18149 else
18150 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18151 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18152 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18153 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18158 # All these tests are for C++; save the language and the compiler flags.
18159 # The CXXFLAGS thing is suspicious, but based on similar bits previously
18160 # found in GLIBCXX_CONFIGURE.
18163 ac_ext=cc
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18169 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18170 ac_save_CXXFLAGS="$CXXFLAGS"
18172 # Check for maintainer-mode bits.
18173 if test x"$USE_MAINTAINER_MODE" = xno; then
18174 WERROR=''
18175 else
18176 WERROR='-Werror'
18179 # Check for -ffunction-sections -fdata-sections
18180 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18181 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
18182 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18183 cat >conftest.$ac_ext <<_ACEOF
18184 /* confdefs.h. */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h. */
18189 int foo; void bar() { };
18191 main ()
18195 return 0;
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200 (eval $ac_compile) 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } &&
18207 { ac_try='test -z "$ac_cxx_werror_flag"
18208 || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_fdsections=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18225 ac_fdsections=no
18227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18228 if test "$ac_test_CXXFLAGS" = set; then
18229 CXXFLAGS="$ac_save_CXXFLAGS"
18230 else
18231 # this is the suspicious part
18232 CXXFLAGS=''
18234 if test x"$ac_fdsections" = x"yes"; then
18235 SECTION_FLAGS='-ffunction-sections -fdata-sections'
18237 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18238 echo "${ECHO_T}$ac_fdsections" >&6
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18250 if $GLIBCXX_IS_NATIVE; then
18252 # We can do more elaborate tests that assume a working linker.
18253 CANADIAN=no
18255 # Check for available headers.
18271 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18272 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18273 sys/types.h sys/ipc.h sys/sem.h
18275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18277 echo "$as_me:$LINENO: checking for $ac_header" >&5
18278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18280 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18284 else
18285 # Is the header compilable?
18286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h. */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h. */
18294 $ac_includes_default
18295 #include <$ac_header>
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299 (eval $ac_compile) 2>conftest.er1
18300 ac_status=$?
18301 grep -v '^ *+' conftest.er1 >conftest.err
18302 rm -f conftest.er1
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } &&
18306 { ac_try='test -z "$ac_c_werror_flag"
18307 || test ! -s conftest.err'
18308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309 (eval $ac_try) 2>&5
18310 ac_status=$?
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try='test -s conftest.$ac_objext'
18314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315 (eval $ac_try) 2>&5
18316 ac_status=$?
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); }; }; then
18319 ac_header_compiler=yes
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18324 ac_header_compiler=no
18326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18328 echo "${ECHO_T}$ac_header_compiler" >&6
18330 # Is the header present?
18331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 #include <$ac_header>
18340 _ACEOF
18341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18343 ac_status=$?
18344 grep -v '^ *+' conftest.er1 >conftest.err
18345 rm -f conftest.er1
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } >/dev/null; then
18349 if test -s conftest.err; then
18350 ac_cpp_err=$ac_c_preproc_warn_flag
18351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18352 else
18353 ac_cpp_err=
18355 else
18356 ac_cpp_err=yes
18358 if test -z "$ac_cpp_err"; then
18359 ac_header_preproc=yes
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18364 ac_header_preproc=no
18366 rm -f conftest.err conftest.$ac_ext
18367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18368 echo "${ECHO_T}$ac_header_preproc" >&6
18370 # So? What about this header?
18371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18372 yes:no: )
18373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18377 ac_header_preproc=yes
18379 no:yes:* )
18380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18393 cat <<\_ASBOX
18394 ## ----------------------------------------- ##
18395 ## Report this to the package-unused lists. ##
18396 ## ----------------------------------------- ##
18397 _ASBOX
18399 sed "s/^/$as_me: WARNING: /" >&2
18401 esac
18402 echo "$as_me:$LINENO: checking for $ac_header" >&5
18403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18405 echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407 eval "$as_ac_Header=\$ac_header_preproc"
18409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18414 cat >>confdefs.h <<_ACEOF
18415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18416 _ACEOF
18420 done
18425 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18426 if test "${with_gnu_ld+set}" = set; then
18427 withval="$with_gnu_ld"
18428 test "$withval" = no || with_gnu_ld=yes
18429 else
18430 with_gnu_ld=no
18432 ac_prog=ld
18433 if test "$GCC" = yes; then
18434 # Check if gcc -print-prog-name=ld gives a path.
18435 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18436 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18437 case $host in
18438 *-*-mingw*)
18439 # gcc leaves a trailing carriage return which upsets mingw
18440 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18442 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18443 esac
18444 case $ac_prog in
18445 # Accept absolute paths.
18446 [\\/]* | ?:[\\/]*)
18447 re_direlt='/[^/][^/]*/\.\./'
18448 # Canonicalize the pathname of ld
18449 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18450 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18451 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18452 done
18453 test -z "$LD" && LD="$ac_prog"
18456 # If it fails, then pretend we aren't using GCC.
18457 ac_prog=ld
18460 # If it is relative, then search for the first ld in PATH.
18461 with_gnu_ld=unknown
18463 esac
18464 elif test "$with_gnu_ld" = yes; then
18465 echo "$as_me:$LINENO: checking for GNU ld" >&5
18466 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18467 else
18468 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18469 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18471 if test "${lt_cv_path_LD+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474 if test -z "$LD"; then
18475 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18476 for ac_dir in $PATH; do
18477 IFS="$lt_save_ifs"
18478 test -z "$ac_dir" && ac_dir=.
18479 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18480 lt_cv_path_LD="$ac_dir/$ac_prog"
18481 # Check to see if the program is GNU ld. I'd rather use --version,
18482 # but apparently some variants of GNU ld only accept -v.
18483 # Break only if it was the GNU/non-GNU ld that we prefer.
18484 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18485 *GNU* | *'with BFD'*)
18486 test "$with_gnu_ld" != no && break
18489 test "$with_gnu_ld" != yes && break
18491 esac
18493 done
18494 IFS="$lt_save_ifs"
18495 else
18496 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18500 LD="$lt_cv_path_LD"
18501 if test -n "$LD"; then
18502 echo "$as_me:$LINENO: result: $LD" >&5
18503 echo "${ECHO_T}$LD" >&6
18504 else
18505 echo "$as_me:$LINENO: result: no" >&5
18506 echo "${ECHO_T}no" >&6
18508 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18509 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18510 { (exit 1); exit 1; }; }
18511 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18512 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18513 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18514 echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18517 case `$LD -v 2>&1 </dev/null` in
18518 *GNU* | *'with BFD'*)
18519 lt_cv_prog_gnu_ld=yes
18522 lt_cv_prog_gnu_ld=no
18524 esac
18526 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18527 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18528 with_gnu_ld=$lt_cv_prog_gnu_ld
18536 # If we're not using GNU ld, then there's no point in even trying these
18537 # tests. Check for that first. We should have already tested for gld
18538 # by now (in libtool), but require it now just to be safe...
18539 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18540 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18544 # The name set by libtool depends on the version of libtool. Shame on us
18545 # for depending on an impl detail, but c'est la vie. Older versions used
18546 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18547 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18548 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18549 # set (hence we're using an older libtool), then set it.
18550 if test x${with_gnu_ld+set} != xset; then
18551 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18552 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18553 with_gnu_ld=no
18554 else
18555 with_gnu_ld=$ac_cv_prog_gnu_ld
18559 # Start by getting the version number. I think the libtool test already
18560 # does some of this, but throws away the result.
18561 glibcxx_ld_is_gold=no
18562 if test x"$with_gnu_ld" = x"yes"; then
18563 echo "$as_me:$LINENO: checking for ld version" >&5
18564 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18566 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18567 glibcxx_ld_is_gold=yes
18569 ldver=`$LD --version 2>/dev/null | head -1 | \
18570 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18572 glibcxx_gnu_ld_version=`echo $ldver | \
18573 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18574 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18575 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18578 # Set --gc-sections.
18579 glibcxx_have_gc_sections=no
18580 if test "$glibcxx_ld_is_gold" = "yes"; then
18581 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18582 glibcxx_have_gc_sections=yes
18584 else
18585 glibcxx_gcsections_min_ld=21602
18586 if test x"$with_gnu_ld" = x"yes" &&
18587 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18588 glibcxx_have_gc_sections=yes
18591 if test "$glibcxx_have_gc_sections" = "yes"; then
18592 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18593 # NB: This flag only works reliably after 2.16.1. Configure tests
18594 # for this are difficult, so hard wire a value that should work.
18596 ac_test_CFLAGS="${CFLAGS+set}"
18597 ac_save_CFLAGS="$CFLAGS"
18598 CFLAGS='-Wl,--gc-sections'
18600 # Check for -Wl,--gc-sections
18601 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18602 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18603 if test x$gcc_no_link = xyes; then
18604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18606 { (exit 1); exit 1; }; }
18608 cat >conftest.$ac_ext <<_ACEOF
18609 /* confdefs.h. */
18610 _ACEOF
18611 cat confdefs.h >>conftest.$ac_ext
18612 cat >>conftest.$ac_ext <<_ACEOF
18613 /* end confdefs.h. */
18614 int one(void) { return 1; }
18615 int two(void) { return 2; }
18618 main ()
18620 two();
18622 return 0;
18624 _ACEOF
18625 rm -f conftest.$ac_objext conftest$ac_exeext
18626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18627 (eval $ac_link) 2>conftest.er1
18628 ac_status=$?
18629 grep -v '^ *+' conftest.er1 >conftest.err
18630 rm -f conftest.er1
18631 cat conftest.err >&5
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } &&
18634 { ac_try='test -z "$ac_c_werror_flag"
18635 || test ! -s conftest.err'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18638 ac_status=$?
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; } &&
18641 { ac_try='test -s conftest$ac_exeext'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18644 ac_status=$?
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; }; then
18647 ac_gcsections=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 ac_gcsections=no
18654 rm -f conftest.err conftest.$ac_objext \
18655 conftest$ac_exeext conftest.$ac_ext
18656 if test "$ac_gcsections" = "yes"; then
18657 rm -f conftest.c
18658 touch conftest.c
18659 if $CC -c conftest.c; then
18660 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18661 grep "Warning: gc-sections option ignored" > /dev/null; then
18662 ac_gcsections=no
18665 rm -f conftest.c conftest.o conftest
18667 if test "$ac_gcsections" = "yes"; then
18668 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18670 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18671 echo "${ECHO_T}$ac_gcsections" >&6
18673 if test "$ac_test_CFLAGS" = set; then
18674 CFLAGS="$ac_save_CFLAGS"
18675 else
18676 # this is the suspicious part
18677 CFLAGS=''
18681 # Set -z,relro.
18682 # Note this is only for shared objects.
18683 ac_ld_relro=no
18684 if test x"$with_gnu_ld" = x"yes"; then
18685 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18686 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18687 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18688 if test -n "$cxx_z_relo"; then
18689 OPT_LDFLAGS="-Wl,-z,relro"
18690 ac_ld_relro=yes
18692 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18693 echo "${ECHO_T}$ac_ld_relro" >&6
18696 # Set linker optimization flags.
18697 if test x"$with_gnu_ld" = x"yes"; then
18698 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18705 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18706 ac_save_CXXFLAGS="$CXXFLAGS"
18707 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18709 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18710 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18711 if test "${ac_cv_lib_m_sin+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-lm $LIBS"
18716 if test x$gcc_no_link = xyes; then
18717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18719 { (exit 1); exit 1; }; }
18721 cat >conftest.$ac_ext <<_ACEOF
18722 /* confdefs.h. */
18723 _ACEOF
18724 cat confdefs.h >>conftest.$ac_ext
18725 cat >>conftest.$ac_ext <<_ACEOF
18726 /* end confdefs.h. */
18728 /* Override any gcc2 internal prototype to avoid an error. */
18729 #ifdef __cplusplus
18730 extern "C"
18731 #endif
18732 /* We use char because int might match the return type of a gcc2
18733 builtin and then its argument prototype would still apply. */
18734 char sin ();
18736 main ()
18738 sin ();
18740 return 0;
18742 _ACEOF
18743 rm -f conftest.$ac_objext conftest$ac_exeext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18745 (eval $ac_link) 2>conftest.er1
18746 ac_status=$?
18747 grep -v '^ *+' conftest.er1 >conftest.err
18748 rm -f conftest.er1
18749 cat conftest.err >&5
18750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751 (exit $ac_status); } &&
18752 { ac_try='test -z "$ac_c_werror_flag"
18753 || test ! -s conftest.err'
18754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755 (eval $ac_try) 2>&5
18756 ac_status=$?
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); }; } &&
18759 { ac_try='test -s conftest$ac_exeext'
18760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761 (eval $ac_try) 2>&5
18762 ac_status=$?
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); }; }; then
18765 ac_cv_lib_m_sin=yes
18766 else
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18770 ac_cv_lib_m_sin=no
18772 rm -f conftest.err conftest.$ac_objext \
18773 conftest$ac_exeext conftest.$ac_ext
18774 LIBS=$ac_check_lib_save_LIBS
18776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18777 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18778 if test $ac_cv_lib_m_sin = yes; then
18779 libm="-lm"
18782 ac_save_LIBS="$LIBS"
18783 LIBS="$LIBS $libm"
18787 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18788 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18789 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18790 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18796 ac_ext=cc
18797 ac_cpp='$CXXCPP $CPPFLAGS'
18798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 #include <math.h>
18809 #ifdef HAVE_IEEEFP_H
18810 #include <ieeefp.h>
18811 #endif
18814 main ()
18816 isinf(0);
18818 return 0;
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823 (eval $ac_compile) 2>conftest.er1
18824 ac_status=$?
18825 grep -v '^ *+' conftest.er1 >conftest.err
18826 rm -f conftest.er1
18827 cat conftest.err >&5
18828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829 (exit $ac_status); } &&
18830 { ac_try='test -z "$ac_cxx_werror_flag"
18831 || test ! -s conftest.err'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18834 ac_status=$?
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; } &&
18837 { ac_try='test -s conftest.$ac_objext'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18840 ac_status=$?
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; }; then
18843 glibcxx_cv_func_isinf_use=yes
18844 else
18845 echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18848 glibcxx_cv_func_isinf_use=no
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18851 ac_ext=c
18852 ac_cpp='$CPP $CPPFLAGS'
18853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18862 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18864 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18866 for ac_func in isinf
18868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18869 echo "$as_me:$LINENO: checking for $ac_func" >&5
18870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18871 if eval "test \"\${$as_ac_var+set}\" = set"; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 else
18874 if test x$gcc_no_link = xyes; then
18875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877 { (exit 1); exit 1; }; }
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h. */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18887 #define $ac_func innocuous_$ac_func
18889 /* System header to define __stub macros and hopefully few prototypes,
18890 which can conflict with char $ac_func (); below.
18891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18892 <limits.h> exists even on freestanding compilers. */
18894 #ifdef __STDC__
18895 # include <limits.h>
18896 #else
18897 # include <assert.h>
18898 #endif
18900 #undef $ac_func
18902 /* Override any gcc2 internal prototype to avoid an error. */
18903 #ifdef __cplusplus
18904 extern "C"
18906 #endif
18907 /* We use char because int might match the return type of a gcc2
18908 builtin and then its argument prototype would still apply. */
18909 char $ac_func ();
18910 /* The GNU C library defines this for functions which it implements
18911 to always fail with ENOSYS. Some functions are actually named
18912 something starting with __ and the normal name is an alias. */
18913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18914 choke me
18915 #else
18916 char (*f) () = $ac_func;
18917 #endif
18918 #ifdef __cplusplus
18920 #endif
18923 main ()
18925 return f != $ac_func;
18927 return 0;
18929 _ACEOF
18930 rm -f conftest.$ac_objext conftest$ac_exeext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18932 (eval $ac_link) 2>conftest.er1
18933 ac_status=$?
18934 grep -v '^ *+' conftest.er1 >conftest.err
18935 rm -f conftest.er1
18936 cat conftest.err >&5
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); } &&
18939 { ac_try='test -z "$ac_c_werror_flag"
18940 || test ! -s conftest.err'
18941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942 (eval $ac_try) 2>&5
18943 ac_status=$?
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); }; } &&
18946 { ac_try='test -s conftest$ac_exeext'
18947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948 (eval $ac_try) 2>&5
18949 ac_status=$?
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); }; }; then
18952 eval "$as_ac_var=yes"
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18957 eval "$as_ac_var=no"
18959 rm -f conftest.err conftest.$ac_objext \
18960 conftest$ac_exeext conftest.$ac_ext
18962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18964 if test `eval echo '${'$as_ac_var'}'` = yes; then
18965 cat >>confdefs.h <<_ACEOF
18966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18967 _ACEOF
18970 done
18972 else
18974 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18975 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18976 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18977 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18983 ac_ext=cc
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 #include <math.h>
18996 #ifdef HAVE_IEEEFP_H
18997 #include <ieeefp.h>
18998 #endif
19001 main ()
19003 _isinf(0);
19005 return 0;
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19010 (eval $ac_compile) 2>conftest.er1
19011 ac_status=$?
19012 grep -v '^ *+' conftest.er1 >conftest.err
19013 rm -f conftest.er1
19014 cat conftest.err >&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try='test -z "$ac_cxx_werror_flag"
19018 || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest.$ac_objext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19027 ac_status=$?
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 glibcxx_cv_func__isinf_use=yes
19031 else
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19035 glibcxx_cv_func__isinf_use=no
19037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19049 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19051 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19053 for ac_func in _isinf
19055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19056 echo "$as_me:$LINENO: checking for $ac_func" >&5
19057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19058 if eval "test \"\${$as_ac_var+set}\" = set"; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061 if test x$gcc_no_link = xyes; then
19062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19064 { (exit 1); exit 1; }; }
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19074 #define $ac_func innocuous_$ac_func
19076 /* System header to define __stub macros and hopefully few prototypes,
19077 which can conflict with char $ac_func (); below.
19078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19079 <limits.h> exists even on freestanding compilers. */
19081 #ifdef __STDC__
19082 # include <limits.h>
19083 #else
19084 # include <assert.h>
19085 #endif
19087 #undef $ac_func
19089 /* Override any gcc2 internal prototype to avoid an error. */
19090 #ifdef __cplusplus
19091 extern "C"
19093 #endif
19094 /* We use char because int might match the return type of a gcc2
19095 builtin and then its argument prototype would still apply. */
19096 char $ac_func ();
19097 /* The GNU C library defines this for functions which it implements
19098 to always fail with ENOSYS. Some functions are actually named
19099 something starting with __ and the normal name is an alias. */
19100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19101 choke me
19102 #else
19103 char (*f) () = $ac_func;
19104 #endif
19105 #ifdef __cplusplus
19107 #endif
19110 main ()
19112 return f != $ac_func;
19114 return 0;
19116 _ACEOF
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19119 (eval $ac_link) 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } &&
19126 { ac_try='test -z "$ac_c_werror_flag"
19127 || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19130 ac_status=$?
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try='test -s conftest$ac_exeext'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19136 ac_status=$?
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; }; then
19139 eval "$as_ac_var=yes"
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19144 eval "$as_ac_var=no"
19146 rm -f conftest.err conftest.$ac_objext \
19147 conftest$ac_exeext conftest.$ac_ext
19149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19151 if test `eval echo '${'$as_ac_var'}'` = yes; then
19152 cat >>confdefs.h <<_ACEOF
19153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19154 _ACEOF
19157 done
19167 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19168 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19169 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19170 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19171 echo $ECHO_N "(cached) $ECHO_C" >&6
19172 else
19176 ac_ext=cc
19177 ac_cpp='$CXXCPP $CPPFLAGS'
19178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <math.h>
19189 #ifdef HAVE_IEEEFP_H
19190 #include <ieeefp.h>
19191 #endif
19194 main ()
19196 isnan(0);
19198 return 0;
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19204 ac_status=$?
19205 grep -v '^ *+' conftest.er1 >conftest.err
19206 rm -f conftest.er1
19207 cat conftest.err >&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try='test -z "$ac_cxx_werror_flag"
19211 || test ! -s conftest.err'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19214 ac_status=$?
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; } &&
19217 { ac_try='test -s conftest.$ac_objext'
19218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219 (eval $ac_try) 2>&5
19220 ac_status=$?
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); }; }; then
19223 glibcxx_cv_func_isnan_use=yes
19224 else
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 glibcxx_cv_func_isnan_use=no
19230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19231 ac_ext=c
19232 ac_cpp='$CPP $CPPFLAGS'
19233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19242 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19244 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19246 for ac_func in isnan
19248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19249 echo "$as_me:$LINENO: checking for $ac_func" >&5
19250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19251 if eval "test \"\${$as_ac_var+set}\" = set"; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254 if test x$gcc_no_link = xyes; then
19255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19257 { (exit 1); exit 1; }; }
19259 cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h. */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h. */
19265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19267 #define $ac_func innocuous_$ac_func
19269 /* System header to define __stub macros and hopefully few prototypes,
19270 which can conflict with char $ac_func (); below.
19271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19272 <limits.h> exists even on freestanding compilers. */
19274 #ifdef __STDC__
19275 # include <limits.h>
19276 #else
19277 # include <assert.h>
19278 #endif
19280 #undef $ac_func
19282 /* Override any gcc2 internal prototype to avoid an error. */
19283 #ifdef __cplusplus
19284 extern "C"
19286 #endif
19287 /* We use char because int might match the return type of a gcc2
19288 builtin and then its argument prototype would still apply. */
19289 char $ac_func ();
19290 /* The GNU C library defines this for functions which it implements
19291 to always fail with ENOSYS. Some functions are actually named
19292 something starting with __ and the normal name is an alias. */
19293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19294 choke me
19295 #else
19296 char (*f) () = $ac_func;
19297 #endif
19298 #ifdef __cplusplus
19300 #endif
19303 main ()
19305 return f != $ac_func;
19307 return 0;
19309 _ACEOF
19310 rm -f conftest.$ac_objext conftest$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312 (eval $ac_link) 2>conftest.er1
19313 ac_status=$?
19314 grep -v '^ *+' conftest.er1 >conftest.err
19315 rm -f conftest.er1
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } &&
19319 { ac_try='test -z "$ac_c_werror_flag"
19320 || test ! -s conftest.err'
19321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322 (eval $ac_try) 2>&5
19323 ac_status=$?
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); }; } &&
19326 { ac_try='test -s conftest$ac_exeext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19329 ac_status=$?
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 eval "$as_ac_var=yes"
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 eval "$as_ac_var=no"
19339 rm -f conftest.err conftest.$ac_objext \
19340 conftest$ac_exeext conftest.$ac_ext
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19344 if test `eval echo '${'$as_ac_var'}'` = yes; then
19345 cat >>confdefs.h <<_ACEOF
19346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19347 _ACEOF
19350 done
19352 else
19354 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19355 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19356 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19357 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19363 ac_ext=cc
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369 cat >conftest.$ac_ext <<_ACEOF
19370 /* confdefs.h. */
19371 _ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h. */
19375 #include <math.h>
19376 #ifdef HAVE_IEEEFP_H
19377 #include <ieeefp.h>
19378 #endif
19381 main ()
19383 _isnan(0);
19385 return 0;
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390 (eval $ac_compile) 2>conftest.er1
19391 ac_status=$?
19392 grep -v '^ *+' conftest.er1 >conftest.err
19393 rm -f conftest.er1
19394 cat conftest.err >&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try='test -z "$ac_cxx_werror_flag"
19398 || test ! -s conftest.err'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19401 ac_status=$?
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; } &&
19404 { ac_try='test -s conftest.$ac_objext'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; }; then
19410 glibcxx_cv_func__isnan_use=yes
19411 else
19412 echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19415 glibcxx_cv_func__isnan_use=no
19417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19418 ac_ext=c
19419 ac_cpp='$CPP $CPPFLAGS'
19420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19429 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19431 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19433 for ac_func in _isnan
19435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19436 echo "$as_me:$LINENO: checking for $ac_func" >&5
19437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19438 if eval "test \"\${$as_ac_var+set}\" = set"; then
19439 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441 if test x$gcc_no_link = xyes; then
19442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19444 { (exit 1); exit 1; }; }
19446 cat >conftest.$ac_ext <<_ACEOF
19447 /* confdefs.h. */
19448 _ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19454 #define $ac_func innocuous_$ac_func
19456 /* System header to define __stub macros and hopefully few prototypes,
19457 which can conflict with char $ac_func (); below.
19458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19459 <limits.h> exists even on freestanding compilers. */
19461 #ifdef __STDC__
19462 # include <limits.h>
19463 #else
19464 # include <assert.h>
19465 #endif
19467 #undef $ac_func
19469 /* Override any gcc2 internal prototype to avoid an error. */
19470 #ifdef __cplusplus
19471 extern "C"
19473 #endif
19474 /* We use char because int might match the return type of a gcc2
19475 builtin and then its argument prototype would still apply. */
19476 char $ac_func ();
19477 /* The GNU C library defines this for functions which it implements
19478 to always fail with ENOSYS. Some functions are actually named
19479 something starting with __ and the normal name is an alias. */
19480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19481 choke me
19482 #else
19483 char (*f) () = $ac_func;
19484 #endif
19485 #ifdef __cplusplus
19487 #endif
19490 main ()
19492 return f != $ac_func;
19494 return 0;
19496 _ACEOF
19497 rm -f conftest.$ac_objext conftest$ac_exeext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19499 (eval $ac_link) 2>conftest.er1
19500 ac_status=$?
19501 grep -v '^ *+' conftest.er1 >conftest.err
19502 rm -f conftest.er1
19503 cat conftest.err >&5
19504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505 (exit $ac_status); } &&
19506 { ac_try='test -z "$ac_c_werror_flag"
19507 || test ! -s conftest.err'
19508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509 (eval $ac_try) 2>&5
19510 ac_status=$?
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); }; } &&
19513 { ac_try='test -s conftest$ac_exeext'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; }; then
19519 eval "$as_ac_var=yes"
19520 else
19521 echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19524 eval "$as_ac_var=no"
19526 rm -f conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19531 if test `eval echo '${'$as_ac_var'}'` = yes; then
19532 cat >>confdefs.h <<_ACEOF
19533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19534 _ACEOF
19537 done
19547 echo "$as_me:$LINENO: checking for finite declaration" >&5
19548 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19550 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19551 echo $ECHO_N "(cached) $ECHO_C" >&6
19552 else
19556 ac_ext=cc
19557 ac_cpp='$CXXCPP $CPPFLAGS'
19558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <math.h>
19569 #ifdef HAVE_IEEEFP_H
19570 #include <ieeefp.h>
19571 #endif
19574 main ()
19576 finite(0);
19578 return 0;
19580 _ACEOF
19581 rm -f conftest.$ac_objext
19582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19583 (eval $ac_compile) 2>conftest.er1
19584 ac_status=$?
19585 grep -v '^ *+' conftest.er1 >conftest.err
19586 rm -f conftest.er1
19587 cat conftest.err >&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); } &&
19590 { ac_try='test -z "$ac_cxx_werror_flag"
19591 || test ! -s conftest.err'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19594 ac_status=$?
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; } &&
19597 { ac_try='test -s conftest.$ac_objext'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19600 ac_status=$?
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; }; then
19603 glibcxx_cv_func_finite_use=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 glibcxx_cv_func_finite_use=no
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611 ac_ext=c
19612 ac_cpp='$CPP $CPPFLAGS'
19613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19622 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19624 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19626 for ac_func in finite
19628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19629 echo "$as_me:$LINENO: checking for $ac_func" >&5
19630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19631 if eval "test \"\${$as_ac_var+set}\" = set"; then
19632 echo $ECHO_N "(cached) $ECHO_C" >&6
19633 else
19634 if test x$gcc_no_link = xyes; then
19635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637 { (exit 1); exit 1; }; }
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19647 #define $ac_func innocuous_$ac_func
19649 /* System header to define __stub macros and hopefully few prototypes,
19650 which can conflict with char $ac_func (); below.
19651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19652 <limits.h> exists even on freestanding compilers. */
19654 #ifdef __STDC__
19655 # include <limits.h>
19656 #else
19657 # include <assert.h>
19658 #endif
19660 #undef $ac_func
19662 /* Override any gcc2 internal prototype to avoid an error. */
19663 #ifdef __cplusplus
19664 extern "C"
19666 #endif
19667 /* We use char because int might match the return type of a gcc2
19668 builtin and then its argument prototype would still apply. */
19669 char $ac_func ();
19670 /* The GNU C library defines this for functions which it implements
19671 to always fail with ENOSYS. Some functions are actually named
19672 something starting with __ and the normal name is an alias. */
19673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19674 choke me
19675 #else
19676 char (*f) () = $ac_func;
19677 #endif
19678 #ifdef __cplusplus
19680 #endif
19683 main ()
19685 return f != $ac_func;
19687 return 0;
19689 _ACEOF
19690 rm -f conftest.$ac_objext conftest$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692 (eval $ac_link) 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try='test -z "$ac_c_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try='test -s conftest$ac_exeext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 eval "$as_ac_var=yes"
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 eval "$as_ac_var=no"
19719 rm -f conftest.err conftest.$ac_objext \
19720 conftest$ac_exeext conftest.$ac_ext
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19724 if test `eval echo '${'$as_ac_var'}'` = yes; then
19725 cat >>confdefs.h <<_ACEOF
19726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19727 _ACEOF
19730 done
19732 else
19734 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19735 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19736 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19737 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19743 ac_ext=cc
19744 ac_cpp='$CXXCPP $CPPFLAGS'
19745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 #include <math.h>
19756 #ifdef HAVE_IEEEFP_H
19757 #include <ieeefp.h>
19758 #endif
19761 main ()
19763 _finite(0);
19765 return 0;
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770 (eval $ac_compile) 2>conftest.er1
19771 ac_status=$?
19772 grep -v '^ *+' conftest.er1 >conftest.err
19773 rm -f conftest.er1
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_cxx_werror_flag"
19778 || test ! -s conftest.err'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; } &&
19784 { ac_try='test -s conftest.$ac_objext'
19785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786 (eval $ac_try) 2>&5
19787 ac_status=$?
19788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789 (exit $ac_status); }; }; then
19790 glibcxx_cv_func__finite_use=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 glibcxx_cv_func__finite_use=no
19797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19798 ac_ext=c
19799 ac_cpp='$CPP $CPPFLAGS'
19800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19809 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19811 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19813 for ac_func in _finite
19815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816 echo "$as_me:$LINENO: checking for $ac_func" >&5
19817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_var+set}\" = set"; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821 if test x$gcc_no_link = xyes; then
19822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19824 { (exit 1); exit 1; }; }
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h. */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19834 #define $ac_func innocuous_$ac_func
19836 /* System header to define __stub macros and hopefully few prototypes,
19837 which can conflict with char $ac_func (); below.
19838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19839 <limits.h> exists even on freestanding compilers. */
19841 #ifdef __STDC__
19842 # include <limits.h>
19843 #else
19844 # include <assert.h>
19845 #endif
19847 #undef $ac_func
19849 /* Override any gcc2 internal prototype to avoid an error. */
19850 #ifdef __cplusplus
19851 extern "C"
19853 #endif
19854 /* We use char because int might match the return type of a gcc2
19855 builtin and then its argument prototype would still apply. */
19856 char $ac_func ();
19857 /* The GNU C library defines this for functions which it implements
19858 to always fail with ENOSYS. Some functions are actually named
19859 something starting with __ and the normal name is an alias. */
19860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19861 choke me
19862 #else
19863 char (*f) () = $ac_func;
19864 #endif
19865 #ifdef __cplusplus
19867 #endif
19870 main ()
19872 return f != $ac_func;
19874 return 0;
19876 _ACEOF
19877 rm -f conftest.$ac_objext conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_c_werror_flag"
19887 || test ! -s conftest.err'
19888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889 (eval $ac_try) 2>&5
19890 ac_status=$?
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); }; } &&
19893 { ac_try='test -s conftest$ac_exeext'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 eval "$as_ac_var=yes"
19900 else
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19904 eval "$as_ac_var=no"
19906 rm -f conftest.err conftest.$ac_objext \
19907 conftest$ac_exeext conftest.$ac_ext
19909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19911 if test `eval echo '${'$as_ac_var'}'` = yes; then
19912 cat >>confdefs.h <<_ACEOF
19913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19914 _ACEOF
19917 done
19927 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19928 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19929 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19930 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19936 ac_ext=cc
19937 ac_cpp='$CXXCPP $CPPFLAGS'
19938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #include <math.h>
19950 main ()
19952 copysign(0, 0);
19954 return 0;
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19959 (eval $ac_compile) 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } &&
19966 { ac_try='test -z "$ac_cxx_werror_flag"
19967 || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 glibcxx_cv_func_copysign_use=yes
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19984 glibcxx_cv_func_copysign_use=no
19986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19987 ac_ext=c
19988 ac_cpp='$CPP $CPPFLAGS'
19989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19998 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20000 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20002 for ac_func in copysign
20004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20005 echo "$as_me:$LINENO: checking for $ac_func" >&5
20006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20007 if eval "test \"\${$as_ac_var+set}\" = set"; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010 if test x$gcc_no_link = xyes; then
20011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20013 { (exit 1); exit 1; }; }
20015 cat >conftest.$ac_ext <<_ACEOF
20016 /* confdefs.h. */
20017 _ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20023 #define $ac_func innocuous_$ac_func
20025 /* System header to define __stub macros and hopefully few prototypes,
20026 which can conflict with char $ac_func (); below.
20027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20028 <limits.h> exists even on freestanding compilers. */
20030 #ifdef __STDC__
20031 # include <limits.h>
20032 #else
20033 # include <assert.h>
20034 #endif
20036 #undef $ac_func
20038 /* Override any gcc2 internal prototype to avoid an error. */
20039 #ifdef __cplusplus
20040 extern "C"
20042 #endif
20043 /* We use char because int might match the return type of a gcc2
20044 builtin and then its argument prototype would still apply. */
20045 char $ac_func ();
20046 /* The GNU C library defines this for functions which it implements
20047 to always fail with ENOSYS. Some functions are actually named
20048 something starting with __ and the normal name is an alias. */
20049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20050 choke me
20051 #else
20052 char (*f) () = $ac_func;
20053 #endif
20054 #ifdef __cplusplus
20056 #endif
20059 main ()
20061 return f != $ac_func;
20063 return 0;
20065 _ACEOF
20066 rm -f conftest.$ac_objext conftest$ac_exeext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20068 (eval $ac_link) 2>conftest.er1
20069 ac_status=$?
20070 grep -v '^ *+' conftest.er1 >conftest.err
20071 rm -f conftest.er1
20072 cat conftest.err >&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try='test -z "$ac_c_werror_flag"
20076 || test ! -s conftest.err'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; } &&
20082 { ac_try='test -s conftest$ac_exeext'
20083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084 (eval $ac_try) 2>&5
20085 ac_status=$?
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); }; }; then
20088 eval "$as_ac_var=yes"
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 eval "$as_ac_var=no"
20095 rm -f conftest.err conftest.$ac_objext \
20096 conftest$ac_exeext conftest.$ac_ext
20098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20100 if test `eval echo '${'$as_ac_var'}'` = yes; then
20101 cat >>confdefs.h <<_ACEOF
20102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20103 _ACEOF
20106 done
20108 else
20110 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20111 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20112 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20113 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20114 echo $ECHO_N "(cached) $ECHO_C" >&6
20115 else
20119 ac_ext=cc
20120 ac_cpp='$CXXCPP $CPPFLAGS'
20121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20125 cat >conftest.$ac_ext <<_ACEOF
20126 /* confdefs.h. */
20127 _ACEOF
20128 cat confdefs.h >>conftest.$ac_ext
20129 cat >>conftest.$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 #include <math.h>
20133 main ()
20135 _copysign(0, 0);
20137 return 0;
20139 _ACEOF
20140 rm -f conftest.$ac_objext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20142 (eval $ac_compile) 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -z "$ac_cxx_werror_flag"
20150 || test ! -s conftest.err'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; } &&
20156 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20162 glibcxx_cv_func__copysign_use=yes
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 glibcxx_cv_func__copysign_use=no
20169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20170 ac_ext=c
20171 ac_cpp='$CPP $CPPFLAGS'
20172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20181 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20183 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20185 for ac_func in _copysign
20187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20188 echo "$as_me:$LINENO: checking for $ac_func" >&5
20189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20190 if eval "test \"\${$as_ac_var+set}\" = set"; then
20191 echo $ECHO_N "(cached) $ECHO_C" >&6
20192 else
20193 if test x$gcc_no_link = xyes; then
20194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20196 { (exit 1); exit 1; }; }
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20206 #define $ac_func innocuous_$ac_func
20208 /* System header to define __stub macros and hopefully few prototypes,
20209 which can conflict with char $ac_func (); below.
20210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20211 <limits.h> exists even on freestanding compilers. */
20213 #ifdef __STDC__
20214 # include <limits.h>
20215 #else
20216 # include <assert.h>
20217 #endif
20219 #undef $ac_func
20221 /* Override any gcc2 internal prototype to avoid an error. */
20222 #ifdef __cplusplus
20223 extern "C"
20225 #endif
20226 /* We use char because int might match the return type of a gcc2
20227 builtin and then its argument prototype would still apply. */
20228 char $ac_func ();
20229 /* The GNU C library defines this for functions which it implements
20230 to always fail with ENOSYS. Some functions are actually named
20231 something starting with __ and the normal name is an alias. */
20232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20233 choke me
20234 #else
20235 char (*f) () = $ac_func;
20236 #endif
20237 #ifdef __cplusplus
20239 #endif
20242 main ()
20244 return f != $ac_func;
20246 return 0;
20248 _ACEOF
20249 rm -f conftest.$ac_objext conftest$ac_exeext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20251 (eval $ac_link) 2>conftest.er1
20252 ac_status=$?
20253 grep -v '^ *+' conftest.er1 >conftest.err
20254 rm -f conftest.er1
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try='test -z "$ac_c_werror_flag"
20259 || test ! -s conftest.err'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20262 ac_status=$?
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; } &&
20265 { ac_try='test -s conftest$ac_exeext'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20268 ac_status=$?
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; }; then
20271 eval "$as_ac_var=yes"
20272 else
20273 echo "$as_me: failed program was:" >&5
20274 sed 's/^/| /' conftest.$ac_ext >&5
20276 eval "$as_ac_var=no"
20278 rm -f conftest.err conftest.$ac_objext \
20279 conftest$ac_exeext conftest.$ac_ext
20281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20283 if test `eval echo '${'$as_ac_var'}'` = yes; then
20284 cat >>confdefs.h <<_ACEOF
20285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20286 _ACEOF
20289 done
20299 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20300 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20301 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20302 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20303 echo $ECHO_N "(cached) $ECHO_C" >&6
20304 else
20308 ac_ext=cc
20309 ac_cpp='$CXXCPP $CPPFLAGS'
20310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20314 cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h. */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 #include <math.h>
20322 main ()
20324 sincos(0, 0, 0);
20326 return 0;
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331 (eval $ac_compile) 2>conftest.er1
20332 ac_status=$?
20333 grep -v '^ *+' conftest.er1 >conftest.err
20334 rm -f conftest.er1
20335 cat conftest.err >&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); } &&
20338 { ac_try='test -z "$ac_cxx_werror_flag"
20339 || test ! -s conftest.err'
20340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341 (eval $ac_try) 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); }; } &&
20345 { ac_try='test -s conftest.$ac_objext'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; }; then
20351 glibcxx_cv_func_sincos_use=yes
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20356 glibcxx_cv_func_sincos_use=no
20358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20359 ac_ext=c
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20370 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20372 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20374 for ac_func in sincos
20376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20377 echo "$as_me:$LINENO: checking for $ac_func" >&5
20378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20379 if eval "test \"\${$as_ac_var+set}\" = set"; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 else
20382 if test x$gcc_no_link = xyes; then
20383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20385 { (exit 1); exit 1; }; }
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20395 #define $ac_func innocuous_$ac_func
20397 /* System header to define __stub macros and hopefully few prototypes,
20398 which can conflict with char $ac_func (); below.
20399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20400 <limits.h> exists even on freestanding compilers. */
20402 #ifdef __STDC__
20403 # include <limits.h>
20404 #else
20405 # include <assert.h>
20406 #endif
20408 #undef $ac_func
20410 /* Override any gcc2 internal prototype to avoid an error. */
20411 #ifdef __cplusplus
20412 extern "C"
20414 #endif
20415 /* We use char because int might match the return type of a gcc2
20416 builtin and then its argument prototype would still apply. */
20417 char $ac_func ();
20418 /* The GNU C library defines this for functions which it implements
20419 to always fail with ENOSYS. Some functions are actually named
20420 something starting with __ and the normal name is an alias. */
20421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20422 choke me
20423 #else
20424 char (*f) () = $ac_func;
20425 #endif
20426 #ifdef __cplusplus
20428 #endif
20431 main ()
20433 return f != $ac_func;
20435 return 0;
20437 _ACEOF
20438 rm -f conftest.$ac_objext conftest$ac_exeext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20440 (eval $ac_link) 2>conftest.er1
20441 ac_status=$?
20442 grep -v '^ *+' conftest.er1 >conftest.err
20443 rm -f conftest.er1
20444 cat conftest.err >&5
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); } &&
20447 { ac_try='test -z "$ac_c_werror_flag"
20448 || test ! -s conftest.err'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20451 ac_status=$?
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; } &&
20454 { ac_try='test -s conftest$ac_exeext'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20457 ac_status=$?
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; }; then
20460 eval "$as_ac_var=yes"
20461 else
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20465 eval "$as_ac_var=no"
20467 rm -f conftest.err conftest.$ac_objext \
20468 conftest$ac_exeext conftest.$ac_ext
20470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20472 if test `eval echo '${'$as_ac_var'}'` = yes; then
20473 cat >>confdefs.h <<_ACEOF
20474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20475 _ACEOF
20478 done
20480 else
20482 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20483 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20484 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20485 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20486 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 else
20491 ac_ext=cc
20492 ac_cpp='$CXXCPP $CPPFLAGS'
20493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20497 cat >conftest.$ac_ext <<_ACEOF
20498 /* confdefs.h. */
20499 _ACEOF
20500 cat confdefs.h >>conftest.$ac_ext
20501 cat >>conftest.$ac_ext <<_ACEOF
20502 /* end confdefs.h. */
20503 #include <math.h>
20505 main ()
20507 _sincos(0, 0, 0);
20509 return 0;
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514 (eval $ac_compile) 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } &&
20521 { ac_try='test -z "$ac_cxx_werror_flag"
20522 || test ! -s conftest.err'
20523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524 (eval $ac_try) 2>&5
20525 ac_status=$?
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); }; } &&
20528 { ac_try='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20531 ac_status=$?
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 glibcxx_cv_func__sincos_use=yes
20535 else
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 glibcxx_cv_func__sincos_use=no
20541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20542 ac_ext=c
20543 ac_cpp='$CPP $CPPFLAGS'
20544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20553 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20555 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20557 for ac_func in _sincos
20559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20560 echo "$as_me:$LINENO: checking for $ac_func" >&5
20561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20562 if eval "test \"\${$as_ac_var+set}\" = set"; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 else
20565 if test x$gcc_no_link = xyes; then
20566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20568 { (exit 1); exit 1; }; }
20570 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h. */
20572 _ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20578 #define $ac_func innocuous_$ac_func
20580 /* System header to define __stub macros and hopefully few prototypes,
20581 which can conflict with char $ac_func (); below.
20582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20583 <limits.h> exists even on freestanding compilers. */
20585 #ifdef __STDC__
20586 # include <limits.h>
20587 #else
20588 # include <assert.h>
20589 #endif
20591 #undef $ac_func
20593 /* Override any gcc2 internal prototype to avoid an error. */
20594 #ifdef __cplusplus
20595 extern "C"
20597 #endif
20598 /* We use char because int might match the return type of a gcc2
20599 builtin and then its argument prototype would still apply. */
20600 char $ac_func ();
20601 /* The GNU C library defines this for functions which it implements
20602 to always fail with ENOSYS. Some functions are actually named
20603 something starting with __ and the normal name is an alias. */
20604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20605 choke me
20606 #else
20607 char (*f) () = $ac_func;
20608 #endif
20609 #ifdef __cplusplus
20611 #endif
20614 main ()
20616 return f != $ac_func;
20618 return 0;
20620 _ACEOF
20621 rm -f conftest.$ac_objext conftest$ac_exeext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20623 (eval $ac_link) 2>conftest.er1
20624 ac_status=$?
20625 grep -v '^ *+' conftest.er1 >conftest.err
20626 rm -f conftest.er1
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } &&
20630 { ac_try='test -z "$ac_c_werror_flag"
20631 || test ! -s conftest.err'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20634 ac_status=$?
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; } &&
20637 { ac_try='test -s conftest$ac_exeext'
20638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639 (eval $ac_try) 2>&5
20640 ac_status=$?
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); }; }; then
20643 eval "$as_ac_var=yes"
20644 else
20645 echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20648 eval "$as_ac_var=no"
20650 rm -f conftest.err conftest.$ac_objext \
20651 conftest$ac_exeext conftest.$ac_ext
20653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20655 if test `eval echo '${'$as_ac_var'}'` = yes; then
20656 cat >>confdefs.h <<_ACEOF
20657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20658 _ACEOF
20661 done
20671 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20672 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20673 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20674 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20675 echo $ECHO_N "(cached) $ECHO_C" >&6
20676 else
20680 ac_ext=cc
20681 ac_cpp='$CXXCPP $CPPFLAGS'
20682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20686 cat >conftest.$ac_ext <<_ACEOF
20687 /* confdefs.h. */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20692 #include <math.h>
20693 #ifdef HAVE_IEEEFP_H
20694 #include <ieeefp.h>
20695 #endif
20698 main ()
20700 fpclass(0);
20702 return 0;
20704 _ACEOF
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>conftest.er1
20708 ac_status=$?
20709 grep -v '^ *+' conftest.er1 >conftest.err
20710 rm -f conftest.er1
20711 cat conftest.err >&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try='test -z "$ac_cxx_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try='test -s conftest.$ac_objext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20724 ac_status=$?
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 glibcxx_cv_func_fpclass_use=yes
20728 else
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20732 glibcxx_cv_func_fpclass_use=no
20734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20735 ac_ext=c
20736 ac_cpp='$CPP $CPPFLAGS'
20737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20746 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20748 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20750 for ac_func in fpclass
20752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20753 echo "$as_me:$LINENO: checking for $ac_func" >&5
20754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20755 if eval "test \"\${$as_ac_var+set}\" = set"; then
20756 echo $ECHO_N "(cached) $ECHO_C" >&6
20757 else
20758 if test x$gcc_no_link = xyes; then
20759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20761 { (exit 1); exit 1; }; }
20763 cat >conftest.$ac_ext <<_ACEOF
20764 /* confdefs.h. */
20765 _ACEOF
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h. */
20769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20771 #define $ac_func innocuous_$ac_func
20773 /* System header to define __stub macros and hopefully few prototypes,
20774 which can conflict with char $ac_func (); below.
20775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20776 <limits.h> exists even on freestanding compilers. */
20778 #ifdef __STDC__
20779 # include <limits.h>
20780 #else
20781 # include <assert.h>
20782 #endif
20784 #undef $ac_func
20786 /* Override any gcc2 internal prototype to avoid an error. */
20787 #ifdef __cplusplus
20788 extern "C"
20790 #endif
20791 /* We use char because int might match the return type of a gcc2
20792 builtin and then its argument prototype would still apply. */
20793 char $ac_func ();
20794 /* The GNU C library defines this for functions which it implements
20795 to always fail with ENOSYS. Some functions are actually named
20796 something starting with __ and the normal name is an alias. */
20797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20798 choke me
20799 #else
20800 char (*f) () = $ac_func;
20801 #endif
20802 #ifdef __cplusplus
20804 #endif
20807 main ()
20809 return f != $ac_func;
20811 return 0;
20813 _ACEOF
20814 rm -f conftest.$ac_objext conftest$ac_exeext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20816 (eval $ac_link) 2>conftest.er1
20817 ac_status=$?
20818 grep -v '^ *+' conftest.er1 >conftest.err
20819 rm -f conftest.er1
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } &&
20823 { ac_try='test -z "$ac_c_werror_flag"
20824 || test ! -s conftest.err'
20825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826 (eval $ac_try) 2>&5
20827 ac_status=$?
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); }; } &&
20830 { ac_try='test -s conftest$ac_exeext'
20831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832 (eval $ac_try) 2>&5
20833 ac_status=$?
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); }; }; then
20836 eval "$as_ac_var=yes"
20837 else
20838 echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20841 eval "$as_ac_var=no"
20843 rm -f conftest.err conftest.$ac_objext \
20844 conftest$ac_exeext conftest.$ac_ext
20846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20848 if test `eval echo '${'$as_ac_var'}'` = yes; then
20849 cat >>confdefs.h <<_ACEOF
20850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20851 _ACEOF
20854 done
20856 else
20858 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20859 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20860 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20861 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 else
20867 ac_ext=cc
20868 ac_cpp='$CXXCPP $CPPFLAGS'
20869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20873 cat >conftest.$ac_ext <<_ACEOF
20874 /* confdefs.h. */
20875 _ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h. */
20879 #include <math.h>
20880 #ifdef HAVE_IEEEFP_H
20881 #include <ieeefp.h>
20882 #endif
20885 main ()
20887 _fpclass(0);
20889 return 0;
20891 _ACEOF
20892 rm -f conftest.$ac_objext
20893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20894 (eval $ac_compile) 2>conftest.er1
20895 ac_status=$?
20896 grep -v '^ *+' conftest.er1 >conftest.err
20897 rm -f conftest.er1
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } &&
20901 { ac_try='test -z "$ac_cxx_werror_flag"
20902 || test ! -s conftest.err'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20905 ac_status=$?
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; } &&
20908 { ac_try='test -s conftest.$ac_objext'
20909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910 (eval $ac_try) 2>&5
20911 ac_status=$?
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); }; }; then
20914 glibcxx_cv_func__fpclass_use=yes
20915 else
20916 echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.$ac_ext >&5
20919 glibcxx_cv_func__fpclass_use=no
20921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20922 ac_ext=c
20923 ac_cpp='$CPP $CPPFLAGS'
20924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20933 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20935 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20937 for ac_func in _fpclass
20939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20940 echo "$as_me:$LINENO: checking for $ac_func" >&5
20941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20942 if eval "test \"\${$as_ac_var+set}\" = set"; then
20943 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 else
20945 if test x$gcc_no_link = xyes; then
20946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20948 { (exit 1); exit 1; }; }
20950 cat >conftest.$ac_ext <<_ACEOF
20951 /* confdefs.h. */
20952 _ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20958 #define $ac_func innocuous_$ac_func
20960 /* System header to define __stub macros and hopefully few prototypes,
20961 which can conflict with char $ac_func (); below.
20962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20963 <limits.h> exists even on freestanding compilers. */
20965 #ifdef __STDC__
20966 # include <limits.h>
20967 #else
20968 # include <assert.h>
20969 #endif
20971 #undef $ac_func
20973 /* Override any gcc2 internal prototype to avoid an error. */
20974 #ifdef __cplusplus
20975 extern "C"
20977 #endif
20978 /* We use char because int might match the return type of a gcc2
20979 builtin and then its argument prototype would still apply. */
20980 char $ac_func ();
20981 /* The GNU C library defines this for functions which it implements
20982 to always fail with ENOSYS. Some functions are actually named
20983 something starting with __ and the normal name is an alias. */
20984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20985 choke me
20986 #else
20987 char (*f) () = $ac_func;
20988 #endif
20989 #ifdef __cplusplus
20991 #endif
20994 main ()
20996 return f != $ac_func;
20998 return 0;
21000 _ACEOF
21001 rm -f conftest.$ac_objext conftest$ac_exeext
21002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21003 (eval $ac_link) 2>conftest.er1
21004 ac_status=$?
21005 grep -v '^ *+' conftest.er1 >conftest.err
21006 rm -f conftest.er1
21007 cat conftest.err >&5
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); } &&
21010 { ac_try='test -z "$ac_c_werror_flag"
21011 || test ! -s conftest.err'
21012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21013 (eval $ac_try) 2>&5
21014 ac_status=$?
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); }; } &&
21017 { ac_try='test -s conftest$ac_exeext'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21020 ac_status=$?
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; }; then
21023 eval "$as_ac_var=yes"
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21028 eval "$as_ac_var=no"
21030 rm -f conftest.err conftest.$ac_objext \
21031 conftest$ac_exeext conftest.$ac_ext
21033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21035 if test `eval echo '${'$as_ac_var'}'` = yes; then
21036 cat >>confdefs.h <<_ACEOF
21037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21038 _ACEOF
21041 done
21051 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21052 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21053 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21054 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21056 else
21060 ac_ext=cc
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066 cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h. */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 #include <math.h>
21073 #ifdef HAVE_IEEEFP_H
21074 #include <ieeefp.h>
21075 #endif
21078 main ()
21080 qfpclass(0);
21082 return 0;
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try='test -z "$ac_cxx_werror_flag"
21095 || test ! -s conftest.err'
21096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097 (eval $ac_try) 2>&5
21098 ac_status=$?
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; } &&
21101 { ac_try='test -s conftest.$ac_objext'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21104 ac_status=$?
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 glibcxx_cv_func_qfpclass_use=yes
21108 else
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21112 glibcxx_cv_func_qfpclass_use=no
21114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21126 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21128 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21130 for ac_func in qfpclass
21132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21133 echo "$as_me:$LINENO: checking for $ac_func" >&5
21134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21135 if eval "test \"\${$as_ac_var+set}\" = set"; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 else
21138 if test x$gcc_no_link = xyes; then
21139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21141 { (exit 1); exit 1; }; }
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21151 #define $ac_func innocuous_$ac_func
21153 /* System header to define __stub macros and hopefully few prototypes,
21154 which can conflict with char $ac_func (); below.
21155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21156 <limits.h> exists even on freestanding compilers. */
21158 #ifdef __STDC__
21159 # include <limits.h>
21160 #else
21161 # include <assert.h>
21162 #endif
21164 #undef $ac_func
21166 /* Override any gcc2 internal prototype to avoid an error. */
21167 #ifdef __cplusplus
21168 extern "C"
21170 #endif
21171 /* We use char because int might match the return type of a gcc2
21172 builtin and then its argument prototype would still apply. */
21173 char $ac_func ();
21174 /* The GNU C library defines this for functions which it implements
21175 to always fail with ENOSYS. Some functions are actually named
21176 something starting with __ and the normal name is an alias. */
21177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21178 choke me
21179 #else
21180 char (*f) () = $ac_func;
21181 #endif
21182 #ifdef __cplusplus
21184 #endif
21187 main ()
21189 return f != $ac_func;
21191 return 0;
21193 _ACEOF
21194 rm -f conftest.$ac_objext conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>conftest.er1
21197 ac_status=$?
21198 grep -v '^ *+' conftest.er1 >conftest.err
21199 rm -f conftest.er1
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -z "$ac_c_werror_flag"
21204 || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21207 ac_status=$?
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try='test -s conftest$ac_exeext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21213 ac_status=$?
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 eval "$as_ac_var=yes"
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 eval "$as_ac_var=no"
21223 rm -f conftest.err conftest.$ac_objext \
21224 conftest$ac_exeext conftest.$ac_ext
21226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21228 if test `eval echo '${'$as_ac_var'}'` = yes; then
21229 cat >>confdefs.h <<_ACEOF
21230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21231 _ACEOF
21234 done
21236 else
21238 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21239 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21240 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21241 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21247 ac_ext=cc
21248 ac_cpp='$CXXCPP $CPPFLAGS'
21249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21253 cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h. */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 #include <math.h>
21260 #ifdef HAVE_IEEEFP_H
21261 #include <ieeefp.h>
21262 #endif
21265 main ()
21267 _qfpclass(0);
21269 return 0;
21271 _ACEOF
21272 rm -f conftest.$ac_objext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274 (eval $ac_compile) 2>conftest.er1
21275 ac_status=$?
21276 grep -v '^ *+' conftest.er1 >conftest.err
21277 rm -f conftest.er1
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } &&
21281 { ac_try='test -z "$ac_cxx_werror_flag"
21282 || test ! -s conftest.err'
21283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284 (eval $ac_try) 2>&5
21285 ac_status=$?
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); }; } &&
21288 { ac_try='test -s conftest.$ac_objext'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; }; then
21294 glibcxx_cv_func__qfpclass_use=yes
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21299 glibcxx_cv_func__qfpclass_use=no
21301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21302 ac_ext=c
21303 ac_cpp='$CPP $CPPFLAGS'
21304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21313 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21315 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21317 for ac_func in _qfpclass
21319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21320 echo "$as_me:$LINENO: checking for $ac_func" >&5
21321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21322 if eval "test \"\${$as_ac_var+set}\" = set"; then
21323 echo $ECHO_N "(cached) $ECHO_C" >&6
21324 else
21325 if test x$gcc_no_link = xyes; then
21326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21328 { (exit 1); exit 1; }; }
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21338 #define $ac_func innocuous_$ac_func
21340 /* System header to define __stub macros and hopefully few prototypes,
21341 which can conflict with char $ac_func (); below.
21342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21343 <limits.h> exists even on freestanding compilers. */
21345 #ifdef __STDC__
21346 # include <limits.h>
21347 #else
21348 # include <assert.h>
21349 #endif
21351 #undef $ac_func
21353 /* Override any gcc2 internal prototype to avoid an error. */
21354 #ifdef __cplusplus
21355 extern "C"
21357 #endif
21358 /* We use char because int might match the return type of a gcc2
21359 builtin and then its argument prototype would still apply. */
21360 char $ac_func ();
21361 /* The GNU C library defines this for functions which it implements
21362 to always fail with ENOSYS. Some functions are actually named
21363 something starting with __ and the normal name is an alias. */
21364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21365 choke me
21366 #else
21367 char (*f) () = $ac_func;
21368 #endif
21369 #ifdef __cplusplus
21371 #endif
21374 main ()
21376 return f != $ac_func;
21378 return 0;
21380 _ACEOF
21381 rm -f conftest.$ac_objext conftest$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383 (eval $ac_link) 2>conftest.er1
21384 ac_status=$?
21385 grep -v '^ *+' conftest.er1 >conftest.err
21386 rm -f conftest.er1
21387 cat conftest.err >&5
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); } &&
21390 { ac_try='test -z "$ac_c_werror_flag"
21391 || test ! -s conftest.err'
21392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393 (eval $ac_try) 2>&5
21394 ac_status=$?
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); }; } &&
21397 { ac_try='test -s conftest$ac_exeext'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21400 ac_status=$?
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; }; then
21403 eval "$as_ac_var=yes"
21404 else
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21408 eval "$as_ac_var=no"
21410 rm -f conftest.err conftest.$ac_objext \
21411 conftest$ac_exeext conftest.$ac_ext
21413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21415 if test `eval echo '${'$as_ac_var'}'` = yes; then
21416 cat >>confdefs.h <<_ACEOF
21417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21418 _ACEOF
21421 done
21431 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21432 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21433 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21434 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 else
21440 ac_ext=cc
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 #include <math.h>
21454 main ()
21456 hypot(0, 0);
21458 return 0;
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463 (eval $ac_compile) 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } &&
21470 { ac_try='test -z "$ac_cxx_werror_flag"
21471 || test ! -s conftest.err'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21474 ac_status=$?
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; } &&
21477 { ac_try='test -s conftest.$ac_objext'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 glibcxx_cv_func_hypot_use=yes
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21488 glibcxx_cv_func_hypot_use=no
21490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21491 ac_ext=c
21492 ac_cpp='$CPP $CPPFLAGS'
21493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21502 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21504 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21506 for ac_func in hypot
21508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21509 echo "$as_me:$LINENO: checking for $ac_func" >&5
21510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21511 if eval "test \"\${$as_ac_var+set}\" = set"; then
21512 echo $ECHO_N "(cached) $ECHO_C" >&6
21513 else
21514 if test x$gcc_no_link = xyes; then
21515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21517 { (exit 1); exit 1; }; }
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21527 #define $ac_func innocuous_$ac_func
21529 /* System header to define __stub macros and hopefully few prototypes,
21530 which can conflict with char $ac_func (); below.
21531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21532 <limits.h> exists even on freestanding compilers. */
21534 #ifdef __STDC__
21535 # include <limits.h>
21536 #else
21537 # include <assert.h>
21538 #endif
21540 #undef $ac_func
21542 /* Override any gcc2 internal prototype to avoid an error. */
21543 #ifdef __cplusplus
21544 extern "C"
21546 #endif
21547 /* We use char because int might match the return type of a gcc2
21548 builtin and then its argument prototype would still apply. */
21549 char $ac_func ();
21550 /* The GNU C library defines this for functions which it implements
21551 to always fail with ENOSYS. Some functions are actually named
21552 something starting with __ and the normal name is an alias. */
21553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21554 choke me
21555 #else
21556 char (*f) () = $ac_func;
21557 #endif
21558 #ifdef __cplusplus
21560 #endif
21563 main ()
21565 return f != $ac_func;
21567 return 0;
21569 _ACEOF
21570 rm -f conftest.$ac_objext conftest$ac_exeext
21571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21572 (eval $ac_link) 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } &&
21579 { ac_try='test -z "$ac_c_werror_flag"
21580 || test ! -s conftest.err'
21581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582 (eval $ac_try) 2>&5
21583 ac_status=$?
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); }; } &&
21586 { ac_try='test -s conftest$ac_exeext'
21587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588 (eval $ac_try) 2>&5
21589 ac_status=$?
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); }; }; then
21592 eval "$as_ac_var=yes"
21593 else
21594 echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21597 eval "$as_ac_var=no"
21599 rm -f conftest.err conftest.$ac_objext \
21600 conftest$ac_exeext conftest.$ac_ext
21602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21604 if test `eval echo '${'$as_ac_var'}'` = yes; then
21605 cat >>confdefs.h <<_ACEOF
21606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21607 _ACEOF
21610 done
21612 else
21614 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21615 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21616 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21617 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 else
21623 ac_ext=cc
21624 ac_cpp='$CXXCPP $CPPFLAGS'
21625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635 #include <math.h>
21637 main ()
21639 _hypot(0, 0);
21641 return 0;
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646 (eval $ac_compile) 2>conftest.er1
21647 ac_status=$?
21648 grep -v '^ *+' conftest.er1 >conftest.err
21649 rm -f conftest.er1
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -z "$ac_cxx_werror_flag"
21654 || test ! -s conftest.err'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest.$ac_objext'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; }; then
21666 glibcxx_cv_func__hypot_use=yes
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21671 glibcxx_cv_func__hypot_use=no
21673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21674 ac_ext=c
21675 ac_cpp='$CPP $CPPFLAGS'
21676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21685 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21687 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21689 for ac_func in _hypot
21691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21692 echo "$as_me:$LINENO: checking for $ac_func" >&5
21693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21694 if eval "test \"\${$as_ac_var+set}\" = set"; then
21695 echo $ECHO_N "(cached) $ECHO_C" >&6
21696 else
21697 if test x$gcc_no_link = xyes; then
21698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21700 { (exit 1); exit 1; }; }
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h. */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21710 #define $ac_func innocuous_$ac_func
21712 /* System header to define __stub macros and hopefully few prototypes,
21713 which can conflict with char $ac_func (); below.
21714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21715 <limits.h> exists even on freestanding compilers. */
21717 #ifdef __STDC__
21718 # include <limits.h>
21719 #else
21720 # include <assert.h>
21721 #endif
21723 #undef $ac_func
21725 /* Override any gcc2 internal prototype to avoid an error. */
21726 #ifdef __cplusplus
21727 extern "C"
21729 #endif
21730 /* We use char because int might match the return type of a gcc2
21731 builtin and then its argument prototype would still apply. */
21732 char $ac_func ();
21733 /* The GNU C library defines this for functions which it implements
21734 to always fail with ENOSYS. Some functions are actually named
21735 something starting with __ and the normal name is an alias. */
21736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21737 choke me
21738 #else
21739 char (*f) () = $ac_func;
21740 #endif
21741 #ifdef __cplusplus
21743 #endif
21746 main ()
21748 return f != $ac_func;
21750 return 0;
21752 _ACEOF
21753 rm -f conftest.$ac_objext conftest$ac_exeext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21755 (eval $ac_link) 2>conftest.er1
21756 ac_status=$?
21757 grep -v '^ *+' conftest.er1 >conftest.err
21758 rm -f conftest.er1
21759 cat conftest.err >&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -z "$ac_c_werror_flag"
21763 || test ! -s conftest.err'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21766 ac_status=$?
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try='test -s conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 eval "$as_ac_var=yes"
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 eval "$as_ac_var=no"
21782 rm -f conftest.err conftest.$ac_objext \
21783 conftest$ac_exeext conftest.$ac_ext
21785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21787 if test `eval echo '${'$as_ac_var'}'` = yes; then
21788 cat >>confdefs.h <<_ACEOF
21789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21790 _ACEOF
21793 done
21803 echo "$as_me:$LINENO: checking for float trig functions" >&5
21804 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21805 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21811 ac_ext=cc
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 #include <math.h>
21825 main ()
21827 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21829 return 0;
21831 _ACEOF
21832 rm -f conftest.$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834 (eval $ac_compile) 2>conftest.er1
21835 ac_status=$?
21836 grep -v '^ *+' conftest.er1 >conftest.err
21837 rm -f conftest.er1
21838 cat conftest.err >&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); } &&
21841 { ac_try='test -z "$ac_cxx_werror_flag"
21842 || test ! -s conftest.err'
21843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21844 (eval $ac_try) 2>&5
21845 ac_status=$?
21846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847 (exit $ac_status); }; } &&
21848 { ac_try='test -s conftest.$ac_objext'
21849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850 (eval $ac_try) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); }; }; then
21854 glibcxx_cv_func_float_trig_use=yes
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21859 glibcxx_cv_func_float_trig_use=no
21861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21862 ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21871 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21872 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21882 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21885 echo "$as_me:$LINENO: checking for $ac_func" >&5
21886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21887 if eval "test \"\${$as_ac_var+set}\" = set"; then
21888 echo $ECHO_N "(cached) $ECHO_C" >&6
21889 else
21890 if test x$gcc_no_link = xyes; then
21891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21893 { (exit 1); exit 1; }; }
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h. */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21903 #define $ac_func innocuous_$ac_func
21905 /* System header to define __stub macros and hopefully few prototypes,
21906 which can conflict with char $ac_func (); below.
21907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21908 <limits.h> exists even on freestanding compilers. */
21910 #ifdef __STDC__
21911 # include <limits.h>
21912 #else
21913 # include <assert.h>
21914 #endif
21916 #undef $ac_func
21918 /* Override any gcc2 internal prototype to avoid an error. */
21919 #ifdef __cplusplus
21920 extern "C"
21922 #endif
21923 /* We use char because int might match the return type of a gcc2
21924 builtin and then its argument prototype would still apply. */
21925 char $ac_func ();
21926 /* The GNU C library defines this for functions which it implements
21927 to always fail with ENOSYS. Some functions are actually named
21928 something starting with __ and the normal name is an alias. */
21929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21930 choke me
21931 #else
21932 char (*f) () = $ac_func;
21933 #endif
21934 #ifdef __cplusplus
21936 #endif
21939 main ()
21941 return f != $ac_func;
21943 return 0;
21945 _ACEOF
21946 rm -f conftest.$ac_objext conftest$ac_exeext
21947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21948 (eval $ac_link) 2>conftest.er1
21949 ac_status=$?
21950 grep -v '^ *+' conftest.er1 >conftest.err
21951 rm -f conftest.er1
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } &&
21955 { ac_try='test -z "$ac_c_werror_flag"
21956 || test ! -s conftest.err'
21957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21958 (eval $ac_try) 2>&5
21959 ac_status=$?
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; } &&
21962 { ac_try='test -s conftest$ac_exeext'
21963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964 (eval $ac_try) 2>&5
21965 ac_status=$?
21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967 (exit $ac_status); }; }; then
21968 eval "$as_ac_var=yes"
21969 else
21970 echo "$as_me: failed program was:" >&5
21971 sed 's/^/| /' conftest.$ac_ext >&5
21973 eval "$as_ac_var=no"
21975 rm -f conftest.err conftest.$ac_objext \
21976 conftest$ac_exeext conftest.$ac_ext
21978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21980 if test `eval echo '${'$as_ac_var'}'` = yes; then
21981 cat >>confdefs.h <<_ACEOF
21982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21983 _ACEOF
21986 done
21988 else
21989 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21990 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21991 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21993 else
21997 ac_ext=cc
21998 ac_cpp='$CXXCPP $CPPFLAGS'
21999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22003 cat >conftest.$ac_ext <<_ACEOF
22004 /* confdefs.h. */
22005 _ACEOF
22006 cat confdefs.h >>conftest.$ac_ext
22007 cat >>conftest.$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22009 #include <math.h>
22011 main ()
22013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22015 return 0;
22017 _ACEOF
22018 rm -f conftest.$ac_objext
22019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22020 (eval $ac_compile) 2>conftest.er1
22021 ac_status=$?
22022 grep -v '^ *+' conftest.er1 >conftest.err
22023 rm -f conftest.er1
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try='test -z "$ac_cxx_werror_flag"
22028 || test ! -s conftest.err'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; } &&
22034 { ac_try='test -s conftest.$ac_objext'
22035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036 (eval $ac_try) 2>&5
22037 ac_status=$?
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); }; }; then
22040 glibcxx_cv_func__float_trig_use=yes
22041 else
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5
22045 glibcxx_cv_func__float_trig_use=no
22047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22048 ac_ext=c
22049 ac_cpp='$CPP $CPPFLAGS'
22050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22057 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22058 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22068 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22071 echo "$as_me:$LINENO: checking for $ac_func" >&5
22072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22073 if eval "test \"\${$as_ac_var+set}\" = set"; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076 if test x$gcc_no_link = xyes; then
22077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22079 { (exit 1); exit 1; }; }
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22089 #define $ac_func innocuous_$ac_func
22091 /* System header to define __stub macros and hopefully few prototypes,
22092 which can conflict with char $ac_func (); below.
22093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22094 <limits.h> exists even on freestanding compilers. */
22096 #ifdef __STDC__
22097 # include <limits.h>
22098 #else
22099 # include <assert.h>
22100 #endif
22102 #undef $ac_func
22104 /* Override any gcc2 internal prototype to avoid an error. */
22105 #ifdef __cplusplus
22106 extern "C"
22108 #endif
22109 /* We use char because int might match the return type of a gcc2
22110 builtin and then its argument prototype would still apply. */
22111 char $ac_func ();
22112 /* The GNU C library defines this for functions which it implements
22113 to always fail with ENOSYS. Some functions are actually named
22114 something starting with __ and the normal name is an alias. */
22115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22116 choke me
22117 #else
22118 char (*f) () = $ac_func;
22119 #endif
22120 #ifdef __cplusplus
22122 #endif
22125 main ()
22127 return f != $ac_func;
22129 return 0;
22131 _ACEOF
22132 rm -f conftest.$ac_objext conftest$ac_exeext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22134 (eval $ac_link) 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } &&
22141 { ac_try='test -z "$ac_c_werror_flag"
22142 || test ! -s conftest.err'
22143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144 (eval $ac_try) 2>&5
22145 ac_status=$?
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); }; } &&
22148 { ac_try='test -s conftest$ac_exeext'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; }; then
22154 eval "$as_ac_var=yes"
22155 else
22156 echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22159 eval "$as_ac_var=no"
22161 rm -f conftest.err conftest.$ac_objext \
22162 conftest$ac_exeext conftest.$ac_ext
22164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22166 if test `eval echo '${'$as_ac_var'}'` = yes; then
22167 cat >>confdefs.h <<_ACEOF
22168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22169 _ACEOF
22172 done
22190 echo "$as_me:$LINENO: checking for float round functions" >&5
22191 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22192 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22193 echo $ECHO_N "(cached) $ECHO_C" >&6
22194 else
22198 ac_ext=cc
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22204 cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h. */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 #include <math.h>
22212 main ()
22214 ceilf (0); floorf (0);
22216 return 0;
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22221 (eval $ac_compile) 2>conftest.er1
22222 ac_status=$?
22223 grep -v '^ *+' conftest.er1 >conftest.err
22224 rm -f conftest.er1
22225 cat conftest.err >&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); } &&
22228 { ac_try='test -z "$ac_cxx_werror_flag"
22229 || test ! -s conftest.err'
22230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231 (eval $ac_try) 2>&5
22232 ac_status=$?
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); }; } &&
22235 { ac_try='test -s conftest.$ac_objext'
22236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237 (eval $ac_try) 2>&5
22238 ac_status=$?
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); }; }; then
22241 glibcxx_cv_func_float_round_use=yes
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 glibcxx_cv_func_float_round_use=no
22248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22249 ac_ext=c
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22258 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22259 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22262 for ac_func in ceilf floorf
22264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22265 echo "$as_me:$LINENO: checking for $ac_func" >&5
22266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22267 if eval "test \"\${$as_ac_var+set}\" = set"; then
22268 echo $ECHO_N "(cached) $ECHO_C" >&6
22269 else
22270 if test x$gcc_no_link = xyes; then
22271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22273 { (exit 1); exit 1; }; }
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22283 #define $ac_func innocuous_$ac_func
22285 /* System header to define __stub macros and hopefully few prototypes,
22286 which can conflict with char $ac_func (); below.
22287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22288 <limits.h> exists even on freestanding compilers. */
22290 #ifdef __STDC__
22291 # include <limits.h>
22292 #else
22293 # include <assert.h>
22294 #endif
22296 #undef $ac_func
22298 /* Override any gcc2 internal prototype to avoid an error. */
22299 #ifdef __cplusplus
22300 extern "C"
22302 #endif
22303 /* We use char because int might match the return type of a gcc2
22304 builtin and then its argument prototype would still apply. */
22305 char $ac_func ();
22306 /* The GNU C library defines this for functions which it implements
22307 to always fail with ENOSYS. Some functions are actually named
22308 something starting with __ and the normal name is an alias. */
22309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22310 choke me
22311 #else
22312 char (*f) () = $ac_func;
22313 #endif
22314 #ifdef __cplusplus
22316 #endif
22319 main ()
22321 return f != $ac_func;
22323 return 0;
22325 _ACEOF
22326 rm -f conftest.$ac_objext conftest$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>conftest.er1
22329 ac_status=$?
22330 grep -v '^ *+' conftest.er1 >conftest.err
22331 rm -f conftest.er1
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try='test -z "$ac_c_werror_flag"
22336 || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try='test -s conftest$ac_exeext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22345 ac_status=$?
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 eval "$as_ac_var=yes"
22349 else
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22353 eval "$as_ac_var=no"
22355 rm -f conftest.err conftest.$ac_objext \
22356 conftest$ac_exeext conftest.$ac_ext
22358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22360 if test `eval echo '${'$as_ac_var'}'` = yes; then
22361 cat >>confdefs.h <<_ACEOF
22362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22363 _ACEOF
22366 done
22368 else
22369 echo "$as_me:$LINENO: checking for _float round functions" >&5
22370 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22371 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22377 ac_ext=cc
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22383 cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h. */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 #include <math.h>
22391 main ()
22393 _ceilf (0); _floorf (0);
22395 return 0;
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22400 (eval $ac_compile) 2>conftest.er1
22401 ac_status=$?
22402 grep -v '^ *+' conftest.er1 >conftest.err
22403 rm -f conftest.er1
22404 cat conftest.err >&5
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } &&
22407 { ac_try='test -z "$ac_cxx_werror_flag"
22408 || test ! -s conftest.err'
22409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410 (eval $ac_try) 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; } &&
22414 { ac_try='test -s conftest.$ac_objext'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22417 ac_status=$?
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; }; then
22420 glibcxx_cv_func__float_round_use=yes
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22425 glibcxx_cv_func__float_round_use=no
22427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22428 ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22437 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22438 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22441 for ac_func in _ceilf _floorf
22443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22444 echo "$as_me:$LINENO: checking for $ac_func" >&5
22445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22446 if eval "test \"\${$as_ac_var+set}\" = set"; then
22447 echo $ECHO_N "(cached) $ECHO_C" >&6
22448 else
22449 if test x$gcc_no_link = xyes; then
22450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22452 { (exit 1); exit 1; }; }
22454 cat >conftest.$ac_ext <<_ACEOF
22455 /* confdefs.h. */
22456 _ACEOF
22457 cat confdefs.h >>conftest.$ac_ext
22458 cat >>conftest.$ac_ext <<_ACEOF
22459 /* end confdefs.h. */
22460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22462 #define $ac_func innocuous_$ac_func
22464 /* System header to define __stub macros and hopefully few prototypes,
22465 which can conflict with char $ac_func (); below.
22466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22467 <limits.h> exists even on freestanding compilers. */
22469 #ifdef __STDC__
22470 # include <limits.h>
22471 #else
22472 # include <assert.h>
22473 #endif
22475 #undef $ac_func
22477 /* Override any gcc2 internal prototype to avoid an error. */
22478 #ifdef __cplusplus
22479 extern "C"
22481 #endif
22482 /* We use char because int might match the return type of a gcc2
22483 builtin and then its argument prototype would still apply. */
22484 char $ac_func ();
22485 /* The GNU C library defines this for functions which it implements
22486 to always fail with ENOSYS. Some functions are actually named
22487 something starting with __ and the normal name is an alias. */
22488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22489 choke me
22490 #else
22491 char (*f) () = $ac_func;
22492 #endif
22493 #ifdef __cplusplus
22495 #endif
22498 main ()
22500 return f != $ac_func;
22502 return 0;
22504 _ACEOF
22505 rm -f conftest.$ac_objext conftest$ac_exeext
22506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22507 (eval $ac_link) 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } &&
22514 { ac_try='test -z "$ac_c_werror_flag"
22515 || test ! -s conftest.err'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22518 ac_status=$?
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; } &&
22521 { ac_try='test -s conftest$ac_exeext'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22524 ac_status=$?
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; }; then
22527 eval "$as_ac_var=yes"
22528 else
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.$ac_ext >&5
22532 eval "$as_ac_var=no"
22534 rm -f conftest.err conftest.$ac_objext \
22535 conftest$ac_exeext conftest.$ac_ext
22537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22539 if test `eval echo '${'$as_ac_var'}'` = yes; then
22540 cat >>confdefs.h <<_ACEOF
22541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22542 _ACEOF
22545 done
22557 echo "$as_me:$LINENO: checking for expf declaration" >&5
22558 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22559 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22560 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22561 echo $ECHO_N "(cached) $ECHO_C" >&6
22562 else
22566 ac_ext=cc
22567 ac_cpp='$CXXCPP $CPPFLAGS'
22568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572 cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h. */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 #include <math.h>
22579 #ifdef HAVE_IEEEFP_H
22580 #include <ieeefp.h>
22581 #endif
22584 main ()
22586 expf(0);
22588 return 0;
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22593 (eval $ac_compile) 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } &&
22600 { ac_try='test -z "$ac_cxx_werror_flag"
22601 || test ! -s conftest.err'
22602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603 (eval $ac_try) 2>&5
22604 ac_status=$?
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); }; } &&
22607 { ac_try='test -s conftest.$ac_objext'
22608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609 (eval $ac_try) 2>&5
22610 ac_status=$?
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); }; }; then
22613 glibcxx_cv_func_expf_use=yes
22614 else
22615 echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22618 glibcxx_cv_func_expf_use=no
22620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22632 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22634 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22636 for ac_func in expf
22638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22639 echo "$as_me:$LINENO: checking for $ac_func" >&5
22640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22641 if eval "test \"\${$as_ac_var+set}\" = set"; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644 if test x$gcc_no_link = xyes; then
22645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647 { (exit 1); exit 1; }; }
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22657 #define $ac_func innocuous_$ac_func
22659 /* System header to define __stub macros and hopefully few prototypes,
22660 which can conflict with char $ac_func (); below.
22661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22662 <limits.h> exists even on freestanding compilers. */
22664 #ifdef __STDC__
22665 # include <limits.h>
22666 #else
22667 # include <assert.h>
22668 #endif
22670 #undef $ac_func
22672 /* Override any gcc2 internal prototype to avoid an error. */
22673 #ifdef __cplusplus
22674 extern "C"
22676 #endif
22677 /* We use char because int might match the return type of a gcc2
22678 builtin and then its argument prototype would still apply. */
22679 char $ac_func ();
22680 /* The GNU C library defines this for functions which it implements
22681 to always fail with ENOSYS. Some functions are actually named
22682 something starting with __ and the normal name is an alias. */
22683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22684 choke me
22685 #else
22686 char (*f) () = $ac_func;
22687 #endif
22688 #ifdef __cplusplus
22690 #endif
22693 main ()
22695 return f != $ac_func;
22697 return 0;
22699 _ACEOF
22700 rm -f conftest.$ac_objext conftest$ac_exeext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22702 (eval $ac_link) 2>conftest.er1
22703 ac_status=$?
22704 grep -v '^ *+' conftest.er1 >conftest.err
22705 rm -f conftest.er1
22706 cat conftest.err >&5
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); } &&
22709 { ac_try='test -z "$ac_c_werror_flag"
22710 || test ! -s conftest.err'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; } &&
22716 { ac_try='test -s conftest$ac_exeext'
22717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718 (eval $ac_try) 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; }; then
22722 eval "$as_ac_var=yes"
22723 else
22724 echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22727 eval "$as_ac_var=no"
22729 rm -f conftest.err conftest.$ac_objext \
22730 conftest$ac_exeext conftest.$ac_ext
22732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22734 if test `eval echo '${'$as_ac_var'}'` = yes; then
22735 cat >>confdefs.h <<_ACEOF
22736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22737 _ACEOF
22740 done
22742 else
22744 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22745 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22746 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22747 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22748 echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22753 ac_ext=cc
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22759 cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765 #include <math.h>
22766 #ifdef HAVE_IEEEFP_H
22767 #include <ieeefp.h>
22768 #endif
22771 main ()
22773 _expf(0);
22775 return 0;
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22780 (eval $ac_compile) 2>conftest.er1
22781 ac_status=$?
22782 grep -v '^ *+' conftest.er1 >conftest.err
22783 rm -f conftest.er1
22784 cat conftest.err >&5
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); } &&
22787 { ac_try='test -z "$ac_cxx_werror_flag"
22788 || test ! -s conftest.err'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; } &&
22794 { ac_try='test -s conftest.$ac_objext'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 glibcxx_cv_func__expf_use=yes
22801 else
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22805 glibcxx_cv_func__expf_use=no
22807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22819 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22821 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22823 for ac_func in _expf
22825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22826 echo "$as_me:$LINENO: checking for $ac_func" >&5
22827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22828 if eval "test \"\${$as_ac_var+set}\" = set"; then
22829 echo $ECHO_N "(cached) $ECHO_C" >&6
22830 else
22831 if test x$gcc_no_link = xyes; then
22832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22834 { (exit 1); exit 1; }; }
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22844 #define $ac_func innocuous_$ac_func
22846 /* System header to define __stub macros and hopefully few prototypes,
22847 which can conflict with char $ac_func (); below.
22848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22849 <limits.h> exists even on freestanding compilers. */
22851 #ifdef __STDC__
22852 # include <limits.h>
22853 #else
22854 # include <assert.h>
22855 #endif
22857 #undef $ac_func
22859 /* Override any gcc2 internal prototype to avoid an error. */
22860 #ifdef __cplusplus
22861 extern "C"
22863 #endif
22864 /* We use char because int might match the return type of a gcc2
22865 builtin and then its argument prototype would still apply. */
22866 char $ac_func ();
22867 /* The GNU C library defines this for functions which it implements
22868 to always fail with ENOSYS. Some functions are actually named
22869 something starting with __ and the normal name is an alias. */
22870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22871 choke me
22872 #else
22873 char (*f) () = $ac_func;
22874 #endif
22875 #ifdef __cplusplus
22877 #endif
22880 main ()
22882 return f != $ac_func;
22884 return 0;
22886 _ACEOF
22887 rm -f conftest.$ac_objext conftest$ac_exeext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889 (eval $ac_link) 2>conftest.er1
22890 ac_status=$?
22891 grep -v '^ *+' conftest.er1 >conftest.err
22892 rm -f conftest.er1
22893 cat conftest.err >&5
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try='test -z "$ac_c_werror_flag"
22897 || test ! -s conftest.err'
22898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899 (eval $ac_try) 2>&5
22900 ac_status=$?
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); }; } &&
22903 { ac_try='test -s conftest$ac_exeext'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22906 ac_status=$?
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; }; then
22909 eval "$as_ac_var=yes"
22910 else
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22914 eval "$as_ac_var=no"
22916 rm -f conftest.err conftest.$ac_objext \
22917 conftest$ac_exeext conftest.$ac_ext
22919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22921 if test `eval echo '${'$as_ac_var'}'` = yes; then
22922 cat >>confdefs.h <<_ACEOF
22923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22924 _ACEOF
22927 done
22937 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22938 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22939 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22940 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22942 else
22946 ac_ext=cc
22947 ac_cpp='$CXXCPP $CPPFLAGS'
22948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22952 cat >conftest.$ac_ext <<_ACEOF
22953 /* confdefs.h. */
22954 _ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h. */
22958 #include <math.h>
22959 #ifdef HAVE_IEEEFP_H
22960 #include <ieeefp.h>
22961 #endif
22964 main ()
22966 isnanf(0);
22968 return 0;
22970 _ACEOF
22971 rm -f conftest.$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973 (eval $ac_compile) 2>conftest.er1
22974 ac_status=$?
22975 grep -v '^ *+' conftest.er1 >conftest.err
22976 rm -f conftest.er1
22977 cat conftest.err >&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -z "$ac_cxx_werror_flag"
22981 || test ! -s conftest.err'
22982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983 (eval $ac_try) 2>&5
22984 ac_status=$?
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; } &&
22987 { ac_try='test -s conftest.$ac_objext'
22988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989 (eval $ac_try) 2>&5
22990 ac_status=$?
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); }; }; then
22993 glibcxx_cv_func_isnanf_use=yes
22994 else
22995 echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22998 glibcxx_cv_func_isnanf_use=no
23000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23001 ac_ext=c
23002 ac_cpp='$CPP $CPPFLAGS'
23003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23012 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23014 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23016 for ac_func in isnanf
23018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23019 echo "$as_me:$LINENO: checking for $ac_func" >&5
23020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23021 if eval "test \"\${$as_ac_var+set}\" = set"; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024 if test x$gcc_no_link = xyes; then
23025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23027 { (exit 1); exit 1; }; }
23029 cat >conftest.$ac_ext <<_ACEOF
23030 /* confdefs.h. */
23031 _ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23037 #define $ac_func innocuous_$ac_func
23039 /* System header to define __stub macros and hopefully few prototypes,
23040 which can conflict with char $ac_func (); below.
23041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23042 <limits.h> exists even on freestanding compilers. */
23044 #ifdef __STDC__
23045 # include <limits.h>
23046 #else
23047 # include <assert.h>
23048 #endif
23050 #undef $ac_func
23052 /* Override any gcc2 internal prototype to avoid an error. */
23053 #ifdef __cplusplus
23054 extern "C"
23056 #endif
23057 /* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23059 char $ac_func ();
23060 /* The GNU C library defines this for functions which it implements
23061 to always fail with ENOSYS. Some functions are actually named
23062 something starting with __ and the normal name is an alias. */
23063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23064 choke me
23065 #else
23066 char (*f) () = $ac_func;
23067 #endif
23068 #ifdef __cplusplus
23070 #endif
23073 main ()
23075 return f != $ac_func;
23077 return 0;
23079 _ACEOF
23080 rm -f conftest.$ac_objext conftest$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 (eval $ac_link) 2>conftest.er1
23083 ac_status=$?
23084 grep -v '^ *+' conftest.er1 >conftest.err
23085 rm -f conftest.er1
23086 cat conftest.err >&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } &&
23089 { ac_try='test -z "$ac_c_werror_flag"
23090 || test ! -s conftest.err'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; } &&
23096 { ac_try='test -s conftest$ac_exeext'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; }; then
23102 eval "$as_ac_var=yes"
23103 else
23104 echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23107 eval "$as_ac_var=no"
23109 rm -f conftest.err conftest.$ac_objext \
23110 conftest$ac_exeext conftest.$ac_ext
23112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23114 if test `eval echo '${'$as_ac_var'}'` = yes; then
23115 cat >>confdefs.h <<_ACEOF
23116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23117 _ACEOF
23120 done
23122 else
23124 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23125 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23126 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23127 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23128 echo $ECHO_N "(cached) $ECHO_C" >&6
23129 else
23133 ac_ext=cc
23134 ac_cpp='$CXXCPP $CPPFLAGS'
23135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23139 cat >conftest.$ac_ext <<_ACEOF
23140 /* confdefs.h. */
23141 _ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 #include <math.h>
23146 #ifdef HAVE_IEEEFP_H
23147 #include <ieeefp.h>
23148 #endif
23151 main ()
23153 _isnanf(0);
23155 return 0;
23157 _ACEOF
23158 rm -f conftest.$ac_objext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23160 (eval $ac_compile) 2>conftest.er1
23161 ac_status=$?
23162 grep -v '^ *+' conftest.er1 >conftest.err
23163 rm -f conftest.er1
23164 cat conftest.err >&5
23165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166 (exit $ac_status); } &&
23167 { ac_try='test -z "$ac_cxx_werror_flag"
23168 || test ! -s conftest.err'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; } &&
23174 { ac_try='test -s conftest.$ac_objext'
23175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176 (eval $ac_try) 2>&5
23177 ac_status=$?
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); }; }; then
23180 glibcxx_cv_func__isnanf_use=yes
23181 else
23182 echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23185 glibcxx_cv_func__isnanf_use=no
23187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23188 ac_ext=c
23189 ac_cpp='$CPP $CPPFLAGS'
23190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23199 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23201 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23203 for ac_func in _isnanf
23205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23206 echo "$as_me:$LINENO: checking for $ac_func" >&5
23207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23208 if eval "test \"\${$as_ac_var+set}\" = set"; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23210 else
23211 if test x$gcc_no_link = xyes; then
23212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23214 { (exit 1); exit 1; }; }
23216 cat >conftest.$ac_ext <<_ACEOF
23217 /* confdefs.h. */
23218 _ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23224 #define $ac_func innocuous_$ac_func
23226 /* System header to define __stub macros and hopefully few prototypes,
23227 which can conflict with char $ac_func (); below.
23228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23229 <limits.h> exists even on freestanding compilers. */
23231 #ifdef __STDC__
23232 # include <limits.h>
23233 #else
23234 # include <assert.h>
23235 #endif
23237 #undef $ac_func
23239 /* Override any gcc2 internal prototype to avoid an error. */
23240 #ifdef __cplusplus
23241 extern "C"
23243 #endif
23244 /* We use char because int might match the return type of a gcc2
23245 builtin and then its argument prototype would still apply. */
23246 char $ac_func ();
23247 /* The GNU C library defines this for functions which it implements
23248 to always fail with ENOSYS. Some functions are actually named
23249 something starting with __ and the normal name is an alias. */
23250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23251 choke me
23252 #else
23253 char (*f) () = $ac_func;
23254 #endif
23255 #ifdef __cplusplus
23257 #endif
23260 main ()
23262 return f != $ac_func;
23264 return 0;
23266 _ACEOF
23267 rm -f conftest.$ac_objext conftest$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269 (eval $ac_link) 2>conftest.er1
23270 ac_status=$?
23271 grep -v '^ *+' conftest.er1 >conftest.err
23272 rm -f conftest.er1
23273 cat conftest.err >&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try='test -z "$ac_c_werror_flag"
23277 || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest$ac_exeext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 eval "$as_ac_var=yes"
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23294 eval "$as_ac_var=no"
23296 rm -f conftest.err conftest.$ac_objext \
23297 conftest$ac_exeext conftest.$ac_ext
23299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23301 if test `eval echo '${'$as_ac_var'}'` = yes; then
23302 cat >>confdefs.h <<_ACEOF
23303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23304 _ACEOF
23307 done
23317 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23318 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23319 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23320 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23321 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 else
23326 ac_ext=cc
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23332 cat >conftest.$ac_ext <<_ACEOF
23333 /* confdefs.h. */
23334 _ACEOF
23335 cat confdefs.h >>conftest.$ac_ext
23336 cat >>conftest.$ac_ext <<_ACEOF
23337 /* end confdefs.h. */
23338 #include <math.h>
23339 #ifdef HAVE_IEEEFP_H
23340 #include <ieeefp.h>
23341 #endif
23344 main ()
23346 isinff(0);
23348 return 0;
23350 _ACEOF
23351 rm -f conftest.$ac_objext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23353 (eval $ac_compile) 2>conftest.er1
23354 ac_status=$?
23355 grep -v '^ *+' conftest.er1 >conftest.err
23356 rm -f conftest.er1
23357 cat conftest.err >&5
23358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359 (exit $ac_status); } &&
23360 { ac_try='test -z "$ac_cxx_werror_flag"
23361 || test ! -s conftest.err'
23362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363 (eval $ac_try) 2>&5
23364 ac_status=$?
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); }; } &&
23367 { ac_try='test -s conftest.$ac_objext'
23368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369 (eval $ac_try) 2>&5
23370 ac_status=$?
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; }; then
23373 glibcxx_cv_func_isinff_use=yes
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23378 glibcxx_cv_func_isinff_use=no
23380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23381 ac_ext=c
23382 ac_cpp='$CPP $CPPFLAGS'
23383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23392 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23394 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23396 for ac_func in isinff
23398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23399 echo "$as_me:$LINENO: checking for $ac_func" >&5
23400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23401 if eval "test \"\${$as_ac_var+set}\" = set"; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404 if test x$gcc_no_link = xyes; then
23405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23407 { (exit 1); exit 1; }; }
23409 cat >conftest.$ac_ext <<_ACEOF
23410 /* confdefs.h. */
23411 _ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23417 #define $ac_func innocuous_$ac_func
23419 /* System header to define __stub macros and hopefully few prototypes,
23420 which can conflict with char $ac_func (); below.
23421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23422 <limits.h> exists even on freestanding compilers. */
23424 #ifdef __STDC__
23425 # include <limits.h>
23426 #else
23427 # include <assert.h>
23428 #endif
23430 #undef $ac_func
23432 /* Override any gcc2 internal prototype to avoid an error. */
23433 #ifdef __cplusplus
23434 extern "C"
23436 #endif
23437 /* We use char because int might match the return type of a gcc2
23438 builtin and then its argument prototype would still apply. */
23439 char $ac_func ();
23440 /* The GNU C library defines this for functions which it implements
23441 to always fail with ENOSYS. Some functions are actually named
23442 something starting with __ and the normal name is an alias. */
23443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23444 choke me
23445 #else
23446 char (*f) () = $ac_func;
23447 #endif
23448 #ifdef __cplusplus
23450 #endif
23453 main ()
23455 return f != $ac_func;
23457 return 0;
23459 _ACEOF
23460 rm -f conftest.$ac_objext conftest$ac_exeext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23462 (eval $ac_link) 2>conftest.er1
23463 ac_status=$?
23464 grep -v '^ *+' conftest.er1 >conftest.err
23465 rm -f conftest.er1
23466 cat conftest.err >&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } &&
23469 { ac_try='test -z "$ac_c_werror_flag"
23470 || test ! -s conftest.err'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); }; } &&
23476 { ac_try='test -s conftest$ac_exeext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 eval "$as_ac_var=yes"
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23487 eval "$as_ac_var=no"
23489 rm -f conftest.err conftest.$ac_objext \
23490 conftest$ac_exeext conftest.$ac_ext
23492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23494 if test `eval echo '${'$as_ac_var'}'` = yes; then
23495 cat >>confdefs.h <<_ACEOF
23496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23497 _ACEOF
23500 done
23502 else
23504 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23505 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23506 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23507 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23508 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 else
23513 ac_ext=cc
23514 ac_cpp='$CXXCPP $CPPFLAGS'
23515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23519 cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h. */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <math.h>
23526 #ifdef HAVE_IEEEFP_H
23527 #include <ieeefp.h>
23528 #endif
23531 main ()
23533 _isinff(0);
23535 return 0;
23537 _ACEOF
23538 rm -f conftest.$ac_objext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23540 (eval $ac_compile) 2>conftest.er1
23541 ac_status=$?
23542 grep -v '^ *+' conftest.er1 >conftest.err
23543 rm -f conftest.er1
23544 cat conftest.err >&5
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); } &&
23547 { ac_try='test -z "$ac_cxx_werror_flag"
23548 || test ! -s conftest.err'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23551 ac_status=$?
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try='test -s conftest.$ac_objext'
23555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556 (eval $ac_try) 2>&5
23557 ac_status=$?
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); }; }; then
23560 glibcxx_cv_func__isinff_use=yes
23561 else
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23565 glibcxx_cv_func__isinff_use=no
23567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23579 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23581 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23583 for ac_func in _isinff
23585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23586 echo "$as_me:$LINENO: checking for $ac_func" >&5
23587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23588 if eval "test \"\${$as_ac_var+set}\" = set"; then
23589 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591 if test x$gcc_no_link = xyes; then
23592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23594 { (exit 1); exit 1; }; }
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h. */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h. */
23602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23604 #define $ac_func innocuous_$ac_func
23606 /* System header to define __stub macros and hopefully few prototypes,
23607 which can conflict with char $ac_func (); below.
23608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23609 <limits.h> exists even on freestanding compilers. */
23611 #ifdef __STDC__
23612 # include <limits.h>
23613 #else
23614 # include <assert.h>
23615 #endif
23617 #undef $ac_func
23619 /* Override any gcc2 internal prototype to avoid an error. */
23620 #ifdef __cplusplus
23621 extern "C"
23623 #endif
23624 /* We use char because int might match the return type of a gcc2
23625 builtin and then its argument prototype would still apply. */
23626 char $ac_func ();
23627 /* The GNU C library defines this for functions which it implements
23628 to always fail with ENOSYS. Some functions are actually named
23629 something starting with __ and the normal name is an alias. */
23630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23631 choke me
23632 #else
23633 char (*f) () = $ac_func;
23634 #endif
23635 #ifdef __cplusplus
23637 #endif
23640 main ()
23642 return f != $ac_func;
23644 return 0;
23646 _ACEOF
23647 rm -f conftest.$ac_objext conftest$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649 (eval $ac_link) 2>conftest.er1
23650 ac_status=$?
23651 grep -v '^ *+' conftest.er1 >conftest.err
23652 rm -f conftest.er1
23653 cat conftest.err >&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -z "$ac_c_werror_flag"
23657 || test ! -s conftest.err'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; } &&
23663 { ac_try='test -s conftest$ac_exeext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23669 eval "$as_ac_var=yes"
23670 else
23671 echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23674 eval "$as_ac_var=no"
23676 rm -f conftest.err conftest.$ac_objext \
23677 conftest$ac_exeext conftest.$ac_ext
23679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23681 if test `eval echo '${'$as_ac_var'}'` = yes; then
23682 cat >>confdefs.h <<_ACEOF
23683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23684 _ACEOF
23687 done
23697 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23698 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23699 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23700 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23701 echo $ECHO_N "(cached) $ECHO_C" >&6
23702 else
23706 ac_ext=cc
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712 cat >conftest.$ac_ext <<_ACEOF
23713 /* confdefs.h. */
23714 _ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 #include <math.h>
23720 main ()
23722 atan2f(0, 0);
23724 return 0;
23726 _ACEOF
23727 rm -f conftest.$ac_objext
23728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23729 (eval $ac_compile) 2>conftest.er1
23730 ac_status=$?
23731 grep -v '^ *+' conftest.er1 >conftest.err
23732 rm -f conftest.er1
23733 cat conftest.err >&5
23734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735 (exit $ac_status); } &&
23736 { ac_try='test -z "$ac_cxx_werror_flag"
23737 || test ! -s conftest.err'
23738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739 (eval $ac_try) 2>&5
23740 ac_status=$?
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); }; } &&
23743 { ac_try='test -s conftest.$ac_objext'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23746 ac_status=$?
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; }; then
23749 glibcxx_cv_func_atan2f_use=yes
23750 else
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23754 glibcxx_cv_func_atan2f_use=no
23756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23757 ac_ext=c
23758 ac_cpp='$CPP $CPPFLAGS'
23759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23768 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23770 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23772 for ac_func in atan2f
23774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23775 echo "$as_me:$LINENO: checking for $ac_func" >&5
23776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23777 if eval "test \"\${$as_ac_var+set}\" = set"; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780 if test x$gcc_no_link = xyes; then
23781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23783 { (exit 1); exit 1; }; }
23785 cat >conftest.$ac_ext <<_ACEOF
23786 /* confdefs.h. */
23787 _ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h. */
23791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23793 #define $ac_func innocuous_$ac_func
23795 /* System header to define __stub macros and hopefully few prototypes,
23796 which can conflict with char $ac_func (); below.
23797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23798 <limits.h> exists even on freestanding compilers. */
23800 #ifdef __STDC__
23801 # include <limits.h>
23802 #else
23803 # include <assert.h>
23804 #endif
23806 #undef $ac_func
23808 /* Override any gcc2 internal prototype to avoid an error. */
23809 #ifdef __cplusplus
23810 extern "C"
23812 #endif
23813 /* We use char because int might match the return type of a gcc2
23814 builtin and then its argument prototype would still apply. */
23815 char $ac_func ();
23816 /* The GNU C library defines this for functions which it implements
23817 to always fail with ENOSYS. Some functions are actually named
23818 something starting with __ and the normal name is an alias. */
23819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23820 choke me
23821 #else
23822 char (*f) () = $ac_func;
23823 #endif
23824 #ifdef __cplusplus
23826 #endif
23829 main ()
23831 return f != $ac_func;
23833 return 0;
23835 _ACEOF
23836 rm -f conftest.$ac_objext conftest$ac_exeext
23837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23838 (eval $ac_link) 2>conftest.er1
23839 ac_status=$?
23840 grep -v '^ *+' conftest.er1 >conftest.err
23841 rm -f conftest.er1
23842 cat conftest.err >&5
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); } &&
23845 { ac_try='test -z "$ac_c_werror_flag"
23846 || test ! -s conftest.err'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23849 ac_status=$?
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; } &&
23852 { ac_try='test -s conftest$ac_exeext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23858 eval "$as_ac_var=yes"
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23863 eval "$as_ac_var=no"
23865 rm -f conftest.err conftest.$ac_objext \
23866 conftest$ac_exeext conftest.$ac_ext
23868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23870 if test `eval echo '${'$as_ac_var'}'` = yes; then
23871 cat >>confdefs.h <<_ACEOF
23872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23873 _ACEOF
23876 done
23878 else
23880 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23881 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23882 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23883 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23884 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 else
23889 ac_ext=cc
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23895 cat >conftest.$ac_ext <<_ACEOF
23896 /* confdefs.h. */
23897 _ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 #include <math.h>
23903 main ()
23905 _atan2f(0, 0);
23907 return 0;
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912 (eval $ac_compile) 2>conftest.er1
23913 ac_status=$?
23914 grep -v '^ *+' conftest.er1 >conftest.err
23915 rm -f conftest.er1
23916 cat conftest.err >&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); } &&
23919 { ac_try='test -z "$ac_cxx_werror_flag"
23920 || test ! -s conftest.err'
23921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922 (eval $ac_try) 2>&5
23923 ac_status=$?
23924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925 (exit $ac_status); }; } &&
23926 { ac_try='test -s conftest.$ac_objext'
23927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928 (eval $ac_try) 2>&5
23929 ac_status=$?
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); }; }; then
23932 glibcxx_cv_func__atan2f_use=yes
23933 else
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23937 glibcxx_cv_func__atan2f_use=no
23939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23940 ac_ext=c
23941 ac_cpp='$CPP $CPPFLAGS'
23942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23951 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23953 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23955 for ac_func in _atan2f
23957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23958 echo "$as_me:$LINENO: checking for $ac_func" >&5
23959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23960 if eval "test \"\${$as_ac_var+set}\" = set"; then
23961 echo $ECHO_N "(cached) $ECHO_C" >&6
23962 else
23963 if test x$gcc_no_link = xyes; then
23964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23966 { (exit 1); exit 1; }; }
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23976 #define $ac_func innocuous_$ac_func
23978 /* System header to define __stub macros and hopefully few prototypes,
23979 which can conflict with char $ac_func (); below.
23980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23981 <limits.h> exists even on freestanding compilers. */
23983 #ifdef __STDC__
23984 # include <limits.h>
23985 #else
23986 # include <assert.h>
23987 #endif
23989 #undef $ac_func
23991 /* Override any gcc2 internal prototype to avoid an error. */
23992 #ifdef __cplusplus
23993 extern "C"
23995 #endif
23996 /* We use char because int might match the return type of a gcc2
23997 builtin and then its argument prototype would still apply. */
23998 char $ac_func ();
23999 /* The GNU C library defines this for functions which it implements
24000 to always fail with ENOSYS. Some functions are actually named
24001 something starting with __ and the normal name is an alias. */
24002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24003 choke me
24004 #else
24005 char (*f) () = $ac_func;
24006 #endif
24007 #ifdef __cplusplus
24009 #endif
24012 main ()
24014 return f != $ac_func;
24016 return 0;
24018 _ACEOF
24019 rm -f conftest.$ac_objext conftest$ac_exeext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24021 (eval $ac_link) 2>conftest.er1
24022 ac_status=$?
24023 grep -v '^ *+' conftest.er1 >conftest.err
24024 rm -f conftest.er1
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } &&
24028 { ac_try='test -z "$ac_c_werror_flag"
24029 || test ! -s conftest.err'
24030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24031 (eval $ac_try) 2>&5
24032 ac_status=$?
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); }; } &&
24035 { ac_try='test -s conftest$ac_exeext'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; }; then
24041 eval "$as_ac_var=yes"
24042 else
24043 echo "$as_me: failed program was:" >&5
24044 sed 's/^/| /' conftest.$ac_ext >&5
24046 eval "$as_ac_var=no"
24048 rm -f conftest.err conftest.$ac_objext \
24049 conftest$ac_exeext conftest.$ac_ext
24051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24053 if test `eval echo '${'$as_ac_var'}'` = yes; then
24054 cat >>confdefs.h <<_ACEOF
24055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24056 _ACEOF
24059 done
24069 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24070 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24071 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24072 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24073 echo $ECHO_N "(cached) $ECHO_C" >&6
24074 else
24078 ac_ext=cc
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084 cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h. */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h. */
24090 #include <math.h>
24091 #ifdef HAVE_IEEEFP_H
24092 #include <ieeefp.h>
24093 #endif
24096 main ()
24098 fabsf(0);
24100 return 0;
24102 _ACEOF
24103 rm -f conftest.$ac_objext
24104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24105 (eval $ac_compile) 2>conftest.er1
24106 ac_status=$?
24107 grep -v '^ *+' conftest.er1 >conftest.err
24108 rm -f conftest.er1
24109 cat conftest.err >&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } &&
24112 { ac_try='test -z "$ac_cxx_werror_flag"
24113 || test ! -s conftest.err'
24114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115 (eval $ac_try) 2>&5
24116 ac_status=$?
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; } &&
24119 { ac_try='test -s conftest.$ac_objext'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24122 ac_status=$?
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; }; then
24125 glibcxx_cv_func_fabsf_use=yes
24126 else
24127 echo "$as_me: failed program was:" >&5
24128 sed 's/^/| /' conftest.$ac_ext >&5
24130 glibcxx_cv_func_fabsf_use=no
24132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24133 ac_ext=c
24134 ac_cpp='$CPP $CPPFLAGS'
24135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24144 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24146 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24148 for ac_func in fabsf
24150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24151 echo "$as_me:$LINENO: checking for $ac_func" >&5
24152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24153 if eval "test \"\${$as_ac_var+set}\" = set"; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156 if test x$gcc_no_link = xyes; then
24157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24159 { (exit 1); exit 1; }; }
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h. */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24169 #define $ac_func innocuous_$ac_func
24171 /* System header to define __stub macros and hopefully few prototypes,
24172 which can conflict with char $ac_func (); below.
24173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24174 <limits.h> exists even on freestanding compilers. */
24176 #ifdef __STDC__
24177 # include <limits.h>
24178 #else
24179 # include <assert.h>
24180 #endif
24182 #undef $ac_func
24184 /* Override any gcc2 internal prototype to avoid an error. */
24185 #ifdef __cplusplus
24186 extern "C"
24188 #endif
24189 /* We use char because int might match the return type of a gcc2
24190 builtin and then its argument prototype would still apply. */
24191 char $ac_func ();
24192 /* The GNU C library defines this for functions which it implements
24193 to always fail with ENOSYS. Some functions are actually named
24194 something starting with __ and the normal name is an alias. */
24195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24196 choke me
24197 #else
24198 char (*f) () = $ac_func;
24199 #endif
24200 #ifdef __cplusplus
24202 #endif
24205 main ()
24207 return f != $ac_func;
24209 return 0;
24211 _ACEOF
24212 rm -f conftest.$ac_objext conftest$ac_exeext
24213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24214 (eval $ac_link) 2>conftest.er1
24215 ac_status=$?
24216 grep -v '^ *+' conftest.er1 >conftest.err
24217 rm -f conftest.er1
24218 cat conftest.err >&5
24219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220 (exit $ac_status); } &&
24221 { ac_try='test -z "$ac_c_werror_flag"
24222 || test ! -s conftest.err'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24225 ac_status=$?
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; } &&
24228 { ac_try='test -s conftest$ac_exeext'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24231 ac_status=$?
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; }; then
24234 eval "$as_ac_var=yes"
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24239 eval "$as_ac_var=no"
24241 rm -f conftest.err conftest.$ac_objext \
24242 conftest$ac_exeext conftest.$ac_ext
24244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24246 if test `eval echo '${'$as_ac_var'}'` = yes; then
24247 cat >>confdefs.h <<_ACEOF
24248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24249 _ACEOF
24252 done
24254 else
24256 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24257 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24258 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24259 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24261 else
24265 ac_ext=cc
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 cat >conftest.$ac_ext <<_ACEOF
24272 /* confdefs.h. */
24273 _ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24277 #include <math.h>
24278 #ifdef HAVE_IEEEFP_H
24279 #include <ieeefp.h>
24280 #endif
24283 main ()
24285 _fabsf(0);
24287 return 0;
24289 _ACEOF
24290 rm -f conftest.$ac_objext
24291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24292 (eval $ac_compile) 2>conftest.er1
24293 ac_status=$?
24294 grep -v '^ *+' conftest.er1 >conftest.err
24295 rm -f conftest.er1
24296 cat conftest.err >&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); } &&
24299 { ac_try='test -z "$ac_cxx_werror_flag"
24300 || test ! -s conftest.err'
24301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302 (eval $ac_try) 2>&5
24303 ac_status=$?
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); }; } &&
24306 { ac_try='test -s conftest.$ac_objext'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24309 ac_status=$?
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; }; then
24312 glibcxx_cv_func__fabsf_use=yes
24313 else
24314 echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.$ac_ext >&5
24317 glibcxx_cv_func__fabsf_use=no
24319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24320 ac_ext=c
24321 ac_cpp='$CPP $CPPFLAGS'
24322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24331 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24333 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24335 for ac_func in _fabsf
24337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24338 echo "$as_me:$LINENO: checking for $ac_func" >&5
24339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24340 if eval "test \"\${$as_ac_var+set}\" = set"; then
24341 echo $ECHO_N "(cached) $ECHO_C" >&6
24342 else
24343 if test x$gcc_no_link = xyes; then
24344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24346 { (exit 1); exit 1; }; }
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h. */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24356 #define $ac_func innocuous_$ac_func
24358 /* System header to define __stub macros and hopefully few prototypes,
24359 which can conflict with char $ac_func (); below.
24360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24361 <limits.h> exists even on freestanding compilers. */
24363 #ifdef __STDC__
24364 # include <limits.h>
24365 #else
24366 # include <assert.h>
24367 #endif
24369 #undef $ac_func
24371 /* Override any gcc2 internal prototype to avoid an error. */
24372 #ifdef __cplusplus
24373 extern "C"
24375 #endif
24376 /* We use char because int might match the return type of a gcc2
24377 builtin and then its argument prototype would still apply. */
24378 char $ac_func ();
24379 /* The GNU C library defines this for functions which it implements
24380 to always fail with ENOSYS. Some functions are actually named
24381 something starting with __ and the normal name is an alias. */
24382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24383 choke me
24384 #else
24385 char (*f) () = $ac_func;
24386 #endif
24387 #ifdef __cplusplus
24389 #endif
24392 main ()
24394 return f != $ac_func;
24396 return 0;
24398 _ACEOF
24399 rm -f conftest.$ac_objext conftest$ac_exeext
24400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24401 (eval $ac_link) 2>conftest.er1
24402 ac_status=$?
24403 grep -v '^ *+' conftest.er1 >conftest.err
24404 rm -f conftest.er1
24405 cat conftest.err >&5
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); } &&
24408 { ac_try='test -z "$ac_c_werror_flag"
24409 || test ! -s conftest.err'
24410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411 (eval $ac_try) 2>&5
24412 ac_status=$?
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); }; } &&
24415 { ac_try='test -s conftest$ac_exeext'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24418 ac_status=$?
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; }; then
24421 eval "$as_ac_var=yes"
24422 else
24423 echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24426 eval "$as_ac_var=no"
24428 rm -f conftest.err conftest.$ac_objext \
24429 conftest$ac_exeext conftest.$ac_ext
24431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24433 if test `eval echo '${'$as_ac_var'}'` = yes; then
24434 cat >>confdefs.h <<_ACEOF
24435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24436 _ACEOF
24439 done
24449 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24450 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24451 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24452 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24453 echo $ECHO_N "(cached) $ECHO_C" >&6
24454 else
24458 ac_ext=cc
24459 ac_cpp='$CXXCPP $CPPFLAGS'
24460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24464 cat >conftest.$ac_ext <<_ACEOF
24465 /* confdefs.h. */
24466 _ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h. */
24470 #include <math.h>
24472 main ()
24474 fmodf(0, 0);
24476 return 0;
24478 _ACEOF
24479 rm -f conftest.$ac_objext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24481 (eval $ac_compile) 2>conftest.er1
24482 ac_status=$?
24483 grep -v '^ *+' conftest.er1 >conftest.err
24484 rm -f conftest.er1
24485 cat conftest.err >&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } &&
24488 { ac_try='test -z "$ac_cxx_werror_flag"
24489 || test ! -s conftest.err'
24490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491 (eval $ac_try) 2>&5
24492 ac_status=$?
24493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494 (exit $ac_status); }; } &&
24495 { ac_try='test -s conftest.$ac_objext'
24496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497 (eval $ac_try) 2>&5
24498 ac_status=$?
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); }; }; then
24501 glibcxx_cv_func_fmodf_use=yes
24502 else
24503 echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24506 glibcxx_cv_func_fmodf_use=no
24508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24509 ac_ext=c
24510 ac_cpp='$CPP $CPPFLAGS'
24511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24520 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24522 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24524 for ac_func in fmodf
24526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24527 echo "$as_me:$LINENO: checking for $ac_func" >&5
24528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24529 if eval "test \"\${$as_ac_var+set}\" = set"; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 else
24532 if test x$gcc_no_link = xyes; then
24533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24535 { (exit 1); exit 1; }; }
24537 cat >conftest.$ac_ext <<_ACEOF
24538 /* confdefs.h. */
24539 _ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24545 #define $ac_func innocuous_$ac_func
24547 /* System header to define __stub macros and hopefully few prototypes,
24548 which can conflict with char $ac_func (); below.
24549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24550 <limits.h> exists even on freestanding compilers. */
24552 #ifdef __STDC__
24553 # include <limits.h>
24554 #else
24555 # include <assert.h>
24556 #endif
24558 #undef $ac_func
24560 /* Override any gcc2 internal prototype to avoid an error. */
24561 #ifdef __cplusplus
24562 extern "C"
24564 #endif
24565 /* We use char because int might match the return type of a gcc2
24566 builtin and then its argument prototype would still apply. */
24567 char $ac_func ();
24568 /* The GNU C library defines this for functions which it implements
24569 to always fail with ENOSYS. Some functions are actually named
24570 something starting with __ and the normal name is an alias. */
24571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24572 choke me
24573 #else
24574 char (*f) () = $ac_func;
24575 #endif
24576 #ifdef __cplusplus
24578 #endif
24581 main ()
24583 return f != $ac_func;
24585 return 0;
24587 _ACEOF
24588 rm -f conftest.$ac_objext conftest$ac_exeext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24590 (eval $ac_link) 2>conftest.er1
24591 ac_status=$?
24592 grep -v '^ *+' conftest.er1 >conftest.err
24593 rm -f conftest.er1
24594 cat conftest.err >&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -z "$ac_c_werror_flag"
24598 || test ! -s conftest.err'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; } &&
24604 { ac_try='test -s conftest$ac_exeext'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24607 ac_status=$?
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; }; then
24610 eval "$as_ac_var=yes"
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24615 eval "$as_ac_var=no"
24617 rm -f conftest.err conftest.$ac_objext \
24618 conftest$ac_exeext conftest.$ac_ext
24620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24622 if test `eval echo '${'$as_ac_var'}'` = yes; then
24623 cat >>confdefs.h <<_ACEOF
24624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24625 _ACEOF
24628 done
24630 else
24632 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24633 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24634 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24635 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24636 echo $ECHO_N "(cached) $ECHO_C" >&6
24637 else
24641 ac_ext=cc
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24647 cat >conftest.$ac_ext <<_ACEOF
24648 /* confdefs.h. */
24649 _ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h. */
24653 #include <math.h>
24655 main ()
24657 _fmodf(0, 0);
24659 return 0;
24661 _ACEOF
24662 rm -f conftest.$ac_objext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24664 (eval $ac_compile) 2>conftest.er1
24665 ac_status=$?
24666 grep -v '^ *+' conftest.er1 >conftest.err
24667 rm -f conftest.er1
24668 cat conftest.err >&5
24669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670 (exit $ac_status); } &&
24671 { ac_try='test -z "$ac_cxx_werror_flag"
24672 || test ! -s conftest.err'
24673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674 (eval $ac_try) 2>&5
24675 ac_status=$?
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; } &&
24678 { ac_try='test -s conftest.$ac_objext'
24679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680 (eval $ac_try) 2>&5
24681 ac_status=$?
24682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683 (exit $ac_status); }; }; then
24684 glibcxx_cv_func__fmodf_use=yes
24685 else
24686 echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24689 glibcxx_cv_func__fmodf_use=no
24691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24692 ac_ext=c
24693 ac_cpp='$CPP $CPPFLAGS'
24694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24703 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24705 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24707 for ac_func in _fmodf
24709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24710 echo "$as_me:$LINENO: checking for $ac_func" >&5
24711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24712 if eval "test \"\${$as_ac_var+set}\" = set"; then
24713 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24715 if test x$gcc_no_link = xyes; then
24716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24718 { (exit 1); exit 1; }; }
24720 cat >conftest.$ac_ext <<_ACEOF
24721 /* confdefs.h. */
24722 _ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h. */
24726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24728 #define $ac_func innocuous_$ac_func
24730 /* System header to define __stub macros and hopefully few prototypes,
24731 which can conflict with char $ac_func (); below.
24732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24733 <limits.h> exists even on freestanding compilers. */
24735 #ifdef __STDC__
24736 # include <limits.h>
24737 #else
24738 # include <assert.h>
24739 #endif
24741 #undef $ac_func
24743 /* Override any gcc2 internal prototype to avoid an error. */
24744 #ifdef __cplusplus
24745 extern "C"
24747 #endif
24748 /* We use char because int might match the return type of a gcc2
24749 builtin and then its argument prototype would still apply. */
24750 char $ac_func ();
24751 /* The GNU C library defines this for functions which it implements
24752 to always fail with ENOSYS. Some functions are actually named
24753 something starting with __ and the normal name is an alias. */
24754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24755 choke me
24756 #else
24757 char (*f) () = $ac_func;
24758 #endif
24759 #ifdef __cplusplus
24761 #endif
24764 main ()
24766 return f != $ac_func;
24768 return 0;
24770 _ACEOF
24771 rm -f conftest.$ac_objext conftest$ac_exeext
24772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24773 (eval $ac_link) 2>conftest.er1
24774 ac_status=$?
24775 grep -v '^ *+' conftest.er1 >conftest.err
24776 rm -f conftest.er1
24777 cat conftest.err >&5
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); } &&
24780 { ac_try='test -z "$ac_c_werror_flag"
24781 || test ! -s conftest.err'
24782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24783 (eval $ac_try) 2>&5
24784 ac_status=$?
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); }; } &&
24787 { ac_try='test -s conftest$ac_exeext'
24788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24789 (eval $ac_try) 2>&5
24790 ac_status=$?
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); }; }; then
24793 eval "$as_ac_var=yes"
24794 else
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.$ac_ext >&5
24798 eval "$as_ac_var=no"
24800 rm -f conftest.err conftest.$ac_objext \
24801 conftest$ac_exeext conftest.$ac_ext
24803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24805 if test `eval echo '${'$as_ac_var'}'` = yes; then
24806 cat >>confdefs.h <<_ACEOF
24807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24808 _ACEOF
24811 done
24821 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24822 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24823 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24824 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24830 ac_ext=cc
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat >conftest.$ac_ext <<_ACEOF
24837 /* confdefs.h. */
24838 _ACEOF
24839 cat confdefs.h >>conftest.$ac_ext
24840 cat >>conftest.$ac_ext <<_ACEOF
24841 /* end confdefs.h. */
24842 #include <math.h>
24844 main ()
24846 frexpf(0, 0);
24848 return 0;
24850 _ACEOF
24851 rm -f conftest.$ac_objext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24853 (eval $ac_compile) 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try='test -z "$ac_cxx_werror_flag"
24861 || test ! -s conftest.err'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24864 ac_status=$?
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; } &&
24867 { ac_try='test -s conftest.$ac_objext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24870 ac_status=$?
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24873 glibcxx_cv_func_frexpf_use=yes
24874 else
24875 echo "$as_me: failed program was:" >&5
24876 sed 's/^/| /' conftest.$ac_ext >&5
24878 glibcxx_cv_func_frexpf_use=no
24880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24881 ac_ext=c
24882 ac_cpp='$CPP $CPPFLAGS'
24883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24892 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24894 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24896 for ac_func in frexpf
24898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24899 echo "$as_me:$LINENO: checking for $ac_func" >&5
24900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24901 if eval "test \"\${$as_ac_var+set}\" = set"; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24903 else
24904 if test x$gcc_no_link = xyes; then
24905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24907 { (exit 1); exit 1; }; }
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24917 #define $ac_func innocuous_$ac_func
24919 /* System header to define __stub macros and hopefully few prototypes,
24920 which can conflict with char $ac_func (); below.
24921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24922 <limits.h> exists even on freestanding compilers. */
24924 #ifdef __STDC__
24925 # include <limits.h>
24926 #else
24927 # include <assert.h>
24928 #endif
24930 #undef $ac_func
24932 /* Override any gcc2 internal prototype to avoid an error. */
24933 #ifdef __cplusplus
24934 extern "C"
24936 #endif
24937 /* We use char because int might match the return type of a gcc2
24938 builtin and then its argument prototype would still apply. */
24939 char $ac_func ();
24940 /* The GNU C library defines this for functions which it implements
24941 to always fail with ENOSYS. Some functions are actually named
24942 something starting with __ and the normal name is an alias. */
24943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24944 choke me
24945 #else
24946 char (*f) () = $ac_func;
24947 #endif
24948 #ifdef __cplusplus
24950 #endif
24953 main ()
24955 return f != $ac_func;
24957 return 0;
24959 _ACEOF
24960 rm -f conftest.$ac_objext conftest$ac_exeext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24962 (eval $ac_link) 2>conftest.er1
24963 ac_status=$?
24964 grep -v '^ *+' conftest.er1 >conftest.err
24965 rm -f conftest.er1
24966 cat conftest.err >&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try='test -z "$ac_c_werror_flag"
24970 || test ! -s conftest.err'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24973 ac_status=$?
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; } &&
24976 { ac_try='test -s conftest$ac_exeext'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24979 ac_status=$?
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; }; then
24982 eval "$as_ac_var=yes"
24983 else
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24987 eval "$as_ac_var=no"
24989 rm -f conftest.err conftest.$ac_objext \
24990 conftest$ac_exeext conftest.$ac_ext
24992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24994 if test `eval echo '${'$as_ac_var'}'` = yes; then
24995 cat >>confdefs.h <<_ACEOF
24996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24997 _ACEOF
25000 done
25002 else
25004 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25005 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25006 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25007 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25013 ac_ext=cc
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25019 cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h. */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 #include <math.h>
25027 main ()
25029 _frexpf(0, 0);
25031 return 0;
25033 _ACEOF
25034 rm -f conftest.$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036 (eval $ac_compile) 2>conftest.er1
25037 ac_status=$?
25038 grep -v '^ *+' conftest.er1 >conftest.err
25039 rm -f conftest.er1
25040 cat conftest.err >&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); } &&
25043 { ac_try='test -z "$ac_cxx_werror_flag"
25044 || test ! -s conftest.err'
25045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25046 (eval $ac_try) 2>&5
25047 ac_status=$?
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); }; } &&
25050 { ac_try='test -s conftest.$ac_objext'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25053 ac_status=$?
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; }; then
25056 glibcxx_cv_func__frexpf_use=yes
25057 else
25058 echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25061 glibcxx_cv_func__frexpf_use=no
25063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25064 ac_ext=c
25065 ac_cpp='$CPP $CPPFLAGS'
25066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25075 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25077 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25079 for ac_func in _frexpf
25081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25082 echo "$as_me:$LINENO: checking for $ac_func" >&5
25083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25084 if eval "test \"\${$as_ac_var+set}\" = set"; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 else
25087 if test x$gcc_no_link = xyes; then
25088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25090 { (exit 1); exit 1; }; }
25092 cat >conftest.$ac_ext <<_ACEOF
25093 /* confdefs.h. */
25094 _ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25100 #define $ac_func innocuous_$ac_func
25102 /* System header to define __stub macros and hopefully few prototypes,
25103 which can conflict with char $ac_func (); below.
25104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25105 <limits.h> exists even on freestanding compilers. */
25107 #ifdef __STDC__
25108 # include <limits.h>
25109 #else
25110 # include <assert.h>
25111 #endif
25113 #undef $ac_func
25115 /* Override any gcc2 internal prototype to avoid an error. */
25116 #ifdef __cplusplus
25117 extern "C"
25119 #endif
25120 /* We use char because int might match the return type of a gcc2
25121 builtin and then its argument prototype would still apply. */
25122 char $ac_func ();
25123 /* The GNU C library defines this for functions which it implements
25124 to always fail with ENOSYS. Some functions are actually named
25125 something starting with __ and the normal name is an alias. */
25126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25127 choke me
25128 #else
25129 char (*f) () = $ac_func;
25130 #endif
25131 #ifdef __cplusplus
25133 #endif
25136 main ()
25138 return f != $ac_func;
25140 return 0;
25142 _ACEOF
25143 rm -f conftest.$ac_objext conftest$ac_exeext
25144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25145 (eval $ac_link) 2>conftest.er1
25146 ac_status=$?
25147 grep -v '^ *+' conftest.er1 >conftest.err
25148 rm -f conftest.er1
25149 cat conftest.err >&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try='test -z "$ac_c_werror_flag"
25153 || test ! -s conftest.err'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25156 ac_status=$?
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; } &&
25159 { ac_try='test -s conftest$ac_exeext'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25162 ac_status=$?
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; }; then
25165 eval "$as_ac_var=yes"
25166 else
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25170 eval "$as_ac_var=no"
25172 rm -f conftest.err conftest.$ac_objext \
25173 conftest$ac_exeext conftest.$ac_ext
25175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25177 if test `eval echo '${'$as_ac_var'}'` = yes; then
25178 cat >>confdefs.h <<_ACEOF
25179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25180 _ACEOF
25183 done
25193 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25194 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25195 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25196 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25198 else
25202 ac_ext=cc
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25208 cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 #include <math.h>
25216 main ()
25218 hypotf(0, 0);
25220 return 0;
25222 _ACEOF
25223 rm -f conftest.$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225 (eval $ac_compile) 2>conftest.er1
25226 ac_status=$?
25227 grep -v '^ *+' conftest.er1 >conftest.err
25228 rm -f conftest.er1
25229 cat conftest.err >&5
25230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231 (exit $ac_status); } &&
25232 { ac_try='test -z "$ac_cxx_werror_flag"
25233 || test ! -s conftest.err'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25236 ac_status=$?
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; } &&
25239 { ac_try='test -s conftest.$ac_objext'
25240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241 (eval $ac_try) 2>&5
25242 ac_status=$?
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); }; }; then
25245 glibcxx_cv_func_hypotf_use=yes
25246 else
25247 echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25250 glibcxx_cv_func_hypotf_use=no
25252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25253 ac_ext=c
25254 ac_cpp='$CPP $CPPFLAGS'
25255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25264 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25266 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25268 for ac_func in hypotf
25270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25271 echo "$as_me:$LINENO: checking for $ac_func" >&5
25272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25273 if eval "test \"\${$as_ac_var+set}\" = set"; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 if test x$gcc_no_link = xyes; then
25277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25279 { (exit 1); exit 1; }; }
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h. */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25289 #define $ac_func innocuous_$ac_func
25291 /* System header to define __stub macros and hopefully few prototypes,
25292 which can conflict with char $ac_func (); below.
25293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25294 <limits.h> exists even on freestanding compilers. */
25296 #ifdef __STDC__
25297 # include <limits.h>
25298 #else
25299 # include <assert.h>
25300 #endif
25302 #undef $ac_func
25304 /* Override any gcc2 internal prototype to avoid an error. */
25305 #ifdef __cplusplus
25306 extern "C"
25308 #endif
25309 /* We use char because int might match the return type of a gcc2
25310 builtin and then its argument prototype would still apply. */
25311 char $ac_func ();
25312 /* The GNU C library defines this for functions which it implements
25313 to always fail with ENOSYS. Some functions are actually named
25314 something starting with __ and the normal name is an alias. */
25315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25316 choke me
25317 #else
25318 char (*f) () = $ac_func;
25319 #endif
25320 #ifdef __cplusplus
25322 #endif
25325 main ()
25327 return f != $ac_func;
25329 return 0;
25331 _ACEOF
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334 (eval $ac_link) 2>conftest.er1
25335 ac_status=$?
25336 grep -v '^ *+' conftest.er1 >conftest.err
25337 rm -f conftest.er1
25338 cat conftest.err >&5
25339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340 (exit $ac_status); } &&
25341 { ac_try='test -z "$ac_c_werror_flag"
25342 || test ! -s conftest.err'
25343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344 (eval $ac_try) 2>&5
25345 ac_status=$?
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); }; } &&
25348 { ac_try='test -s conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25351 ac_status=$?
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 eval "$as_ac_var=yes"
25355 else
25356 echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25359 eval "$as_ac_var=no"
25361 rm -f conftest.err conftest.$ac_objext \
25362 conftest$ac_exeext conftest.$ac_ext
25364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25366 if test `eval echo '${'$as_ac_var'}'` = yes; then
25367 cat >>confdefs.h <<_ACEOF
25368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25369 _ACEOF
25372 done
25374 else
25376 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25377 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25378 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25379 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25380 echo $ECHO_N "(cached) $ECHO_C" >&6
25381 else
25385 ac_ext=cc
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 #include <math.h>
25399 main ()
25401 _hypotf(0, 0);
25403 return 0;
25405 _ACEOF
25406 rm -f conftest.$ac_objext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25408 (eval $ac_compile) 2>conftest.er1
25409 ac_status=$?
25410 grep -v '^ *+' conftest.er1 >conftest.err
25411 rm -f conftest.er1
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -z "$ac_cxx_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try='test -s conftest.$ac_objext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 glibcxx_cv_func__hypotf_use=yes
25429 else
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25433 glibcxx_cv_func__hypotf_use=no
25435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25447 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25449 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25451 for ac_func in _hypotf
25453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25454 echo "$as_me:$LINENO: checking for $ac_func" >&5
25455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25456 if eval "test \"\${$as_ac_var+set}\" = set"; then
25457 echo $ECHO_N "(cached) $ECHO_C" >&6
25458 else
25459 if test x$gcc_no_link = xyes; then
25460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25462 { (exit 1); exit 1; }; }
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25472 #define $ac_func innocuous_$ac_func
25474 /* System header to define __stub macros and hopefully few prototypes,
25475 which can conflict with char $ac_func (); below.
25476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25477 <limits.h> exists even on freestanding compilers. */
25479 #ifdef __STDC__
25480 # include <limits.h>
25481 #else
25482 # include <assert.h>
25483 #endif
25485 #undef $ac_func
25487 /* Override any gcc2 internal prototype to avoid an error. */
25488 #ifdef __cplusplus
25489 extern "C"
25491 #endif
25492 /* We use char because int might match the return type of a gcc2
25493 builtin and then its argument prototype would still apply. */
25494 char $ac_func ();
25495 /* The GNU C library defines this for functions which it implements
25496 to always fail with ENOSYS. Some functions are actually named
25497 something starting with __ and the normal name is an alias. */
25498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25499 choke me
25500 #else
25501 char (*f) () = $ac_func;
25502 #endif
25503 #ifdef __cplusplus
25505 #endif
25508 main ()
25510 return f != $ac_func;
25512 return 0;
25514 _ACEOF
25515 rm -f conftest.$ac_objext conftest$ac_exeext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25517 (eval $ac_link) 2>conftest.er1
25518 ac_status=$?
25519 grep -v '^ *+' conftest.er1 >conftest.err
25520 rm -f conftest.er1
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try='test -z "$ac_c_werror_flag"
25525 || test ! -s conftest.err'
25526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527 (eval $ac_try) 2>&5
25528 ac_status=$?
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); }; } &&
25531 { ac_try='test -s conftest$ac_exeext'
25532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533 (eval $ac_try) 2>&5
25534 ac_status=$?
25535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536 (exit $ac_status); }; }; then
25537 eval "$as_ac_var=yes"
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25542 eval "$as_ac_var=no"
25544 rm -f conftest.err conftest.$ac_objext \
25545 conftest$ac_exeext conftest.$ac_ext
25547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25549 if test `eval echo '${'$as_ac_var'}'` = yes; then
25550 cat >>confdefs.h <<_ACEOF
25551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25552 _ACEOF
25555 done
25565 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25566 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25567 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25568 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25569 echo $ECHO_N "(cached) $ECHO_C" >&6
25570 else
25574 ac_ext=cc
25575 ac_cpp='$CXXCPP $CPPFLAGS'
25576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25580 cat >conftest.$ac_ext <<_ACEOF
25581 /* confdefs.h. */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 #include <math.h>
25588 main ()
25590 ldexpf(0, 0);
25592 return 0;
25594 _ACEOF
25595 rm -f conftest.$ac_objext
25596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25597 (eval $ac_compile) 2>conftest.er1
25598 ac_status=$?
25599 grep -v '^ *+' conftest.er1 >conftest.err
25600 rm -f conftest.er1
25601 cat conftest.err >&5
25602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603 (exit $ac_status); } &&
25604 { ac_try='test -z "$ac_cxx_werror_flag"
25605 || test ! -s conftest.err'
25606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607 (eval $ac_try) 2>&5
25608 ac_status=$?
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; } &&
25611 { ac_try='test -s conftest.$ac_objext'
25612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613 (eval $ac_try) 2>&5
25614 ac_status=$?
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); }; }; then
25617 glibcxx_cv_func_ldexpf_use=yes
25618 else
25619 echo "$as_me: failed program was:" >&5
25620 sed 's/^/| /' conftest.$ac_ext >&5
25622 glibcxx_cv_func_ldexpf_use=no
25624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25625 ac_ext=c
25626 ac_cpp='$CPP $CPPFLAGS'
25627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25636 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25638 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25640 for ac_func in ldexpf
25642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25643 echo "$as_me:$LINENO: checking for $ac_func" >&5
25644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25645 if eval "test \"\${$as_ac_var+set}\" = set"; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 else
25648 if test x$gcc_no_link = xyes; then
25649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25651 { (exit 1); exit 1; }; }
25653 cat >conftest.$ac_ext <<_ACEOF
25654 /* confdefs.h. */
25655 _ACEOF
25656 cat confdefs.h >>conftest.$ac_ext
25657 cat >>conftest.$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25661 #define $ac_func innocuous_$ac_func
25663 /* System header to define __stub macros and hopefully few prototypes,
25664 which can conflict with char $ac_func (); below.
25665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25666 <limits.h> exists even on freestanding compilers. */
25668 #ifdef __STDC__
25669 # include <limits.h>
25670 #else
25671 # include <assert.h>
25672 #endif
25674 #undef $ac_func
25676 /* Override any gcc2 internal prototype to avoid an error. */
25677 #ifdef __cplusplus
25678 extern "C"
25680 #endif
25681 /* We use char because int might match the return type of a gcc2
25682 builtin and then its argument prototype would still apply. */
25683 char $ac_func ();
25684 /* The GNU C library defines this for functions which it implements
25685 to always fail with ENOSYS. Some functions are actually named
25686 something starting with __ and the normal name is an alias. */
25687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25688 choke me
25689 #else
25690 char (*f) () = $ac_func;
25691 #endif
25692 #ifdef __cplusplus
25694 #endif
25697 main ()
25699 return f != $ac_func;
25701 return 0;
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25706 (eval $ac_link) 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } &&
25713 { ac_try='test -z "$ac_c_werror_flag"
25714 || test ! -s conftest.err'
25715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25716 (eval $ac_try) 2>&5
25717 ac_status=$?
25718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719 (exit $ac_status); }; } &&
25720 { ac_try='test -s conftest$ac_exeext'
25721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722 (eval $ac_try) 2>&5
25723 ac_status=$?
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); }; }; then
25726 eval "$as_ac_var=yes"
25727 else
25728 echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.$ac_ext >&5
25731 eval "$as_ac_var=no"
25733 rm -f conftest.err conftest.$ac_objext \
25734 conftest$ac_exeext conftest.$ac_ext
25736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25738 if test `eval echo '${'$as_ac_var'}'` = yes; then
25739 cat >>confdefs.h <<_ACEOF
25740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25741 _ACEOF
25744 done
25746 else
25748 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25749 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25750 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25751 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25752 echo $ECHO_N "(cached) $ECHO_C" >&6
25753 else
25757 ac_ext=cc
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25763 cat >conftest.$ac_ext <<_ACEOF
25764 /* confdefs.h. */
25765 _ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h. */
25769 #include <math.h>
25771 main ()
25773 _ldexpf(0, 0);
25775 return 0;
25777 _ACEOF
25778 rm -f conftest.$ac_objext
25779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25780 (eval $ac_compile) 2>conftest.er1
25781 ac_status=$?
25782 grep -v '^ *+' conftest.er1 >conftest.err
25783 rm -f conftest.er1
25784 cat conftest.err >&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); } &&
25787 { ac_try='test -z "$ac_cxx_werror_flag"
25788 || test ! -s conftest.err'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25791 ac_status=$?
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; } &&
25794 { ac_try='test -s conftest.$ac_objext'
25795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796 (eval $ac_try) 2>&5
25797 ac_status=$?
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); }; }; then
25800 glibcxx_cv_func__ldexpf_use=yes
25801 else
25802 echo "$as_me: failed program was:" >&5
25803 sed 's/^/| /' conftest.$ac_ext >&5
25805 glibcxx_cv_func__ldexpf_use=no
25807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25808 ac_ext=c
25809 ac_cpp='$CPP $CPPFLAGS'
25810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25819 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25821 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25823 for ac_func in _ldexpf
25825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25826 echo "$as_me:$LINENO: checking for $ac_func" >&5
25827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25828 if eval "test \"\${$as_ac_var+set}\" = set"; then
25829 echo $ECHO_N "(cached) $ECHO_C" >&6
25830 else
25831 if test x$gcc_no_link = xyes; then
25832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25834 { (exit 1); exit 1; }; }
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25844 #define $ac_func innocuous_$ac_func
25846 /* System header to define __stub macros and hopefully few prototypes,
25847 which can conflict with char $ac_func (); below.
25848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25849 <limits.h> exists even on freestanding compilers. */
25851 #ifdef __STDC__
25852 # include <limits.h>
25853 #else
25854 # include <assert.h>
25855 #endif
25857 #undef $ac_func
25859 /* Override any gcc2 internal prototype to avoid an error. */
25860 #ifdef __cplusplus
25861 extern "C"
25863 #endif
25864 /* We use char because int might match the return type of a gcc2
25865 builtin and then its argument prototype would still apply. */
25866 char $ac_func ();
25867 /* The GNU C library defines this for functions which it implements
25868 to always fail with ENOSYS. Some functions are actually named
25869 something starting with __ and the normal name is an alias. */
25870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25871 choke me
25872 #else
25873 char (*f) () = $ac_func;
25874 #endif
25875 #ifdef __cplusplus
25877 #endif
25880 main ()
25882 return f != $ac_func;
25884 return 0;
25886 _ACEOF
25887 rm -f conftest.$ac_objext conftest$ac_exeext
25888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25889 (eval $ac_link) 2>conftest.er1
25890 ac_status=$?
25891 grep -v '^ *+' conftest.er1 >conftest.err
25892 rm -f conftest.er1
25893 cat conftest.err >&5
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); } &&
25896 { ac_try='test -z "$ac_c_werror_flag"
25897 || test ! -s conftest.err'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25900 ac_status=$?
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; } &&
25903 { ac_try='test -s conftest$ac_exeext'
25904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25905 (eval $ac_try) 2>&5
25906 ac_status=$?
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); }; }; then
25909 eval "$as_ac_var=yes"
25910 else
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.$ac_ext >&5
25914 eval "$as_ac_var=no"
25916 rm -f conftest.err conftest.$ac_objext \
25917 conftest$ac_exeext conftest.$ac_ext
25919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25921 if test `eval echo '${'$as_ac_var'}'` = yes; then
25922 cat >>confdefs.h <<_ACEOF
25923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25924 _ACEOF
25927 done
25937 echo "$as_me:$LINENO: checking for logf declaration" >&5
25938 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25939 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25940 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 else
25946 ac_ext=cc
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 cat >conftest.$ac_ext <<_ACEOF
25953 /* confdefs.h. */
25954 _ACEOF
25955 cat confdefs.h >>conftest.$ac_ext
25956 cat >>conftest.$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25958 #include <math.h>
25959 #ifdef HAVE_IEEEFP_H
25960 #include <ieeefp.h>
25961 #endif
25964 main ()
25966 logf(0);
25968 return 0;
25970 _ACEOF
25971 rm -f conftest.$ac_objext
25972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25973 (eval $ac_compile) 2>conftest.er1
25974 ac_status=$?
25975 grep -v '^ *+' conftest.er1 >conftest.err
25976 rm -f conftest.er1
25977 cat conftest.err >&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } &&
25980 { ac_try='test -z "$ac_cxx_werror_flag"
25981 || test ! -s conftest.err'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; } &&
25987 { ac_try='test -s conftest.$ac_objext'
25988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25989 (eval $ac_try) 2>&5
25990 ac_status=$?
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); }; }; then
25993 glibcxx_cv_func_logf_use=yes
25994 else
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25998 glibcxx_cv_func_logf_use=no
26000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26001 ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26011 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26012 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26014 if test x$glibcxx_cv_func_logf_use = x"yes"; then
26016 for ac_func in logf
26018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26019 echo "$as_me:$LINENO: checking for $ac_func" >&5
26020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26021 if eval "test \"\${$as_ac_var+set}\" = set"; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024 if test x$gcc_no_link = xyes; then
26025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26027 { (exit 1); exit 1; }; }
26029 cat >conftest.$ac_ext <<_ACEOF
26030 /* confdefs.h. */
26031 _ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26037 #define $ac_func innocuous_$ac_func
26039 /* System header to define __stub macros and hopefully few prototypes,
26040 which can conflict with char $ac_func (); below.
26041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26042 <limits.h> exists even on freestanding compilers. */
26044 #ifdef __STDC__
26045 # include <limits.h>
26046 #else
26047 # include <assert.h>
26048 #endif
26050 #undef $ac_func
26052 /* Override any gcc2 internal prototype to avoid an error. */
26053 #ifdef __cplusplus
26054 extern "C"
26056 #endif
26057 /* We use char because int might match the return type of a gcc2
26058 builtin and then its argument prototype would still apply. */
26059 char $ac_func ();
26060 /* The GNU C library defines this for functions which it implements
26061 to always fail with ENOSYS. Some functions are actually named
26062 something starting with __ and the normal name is an alias. */
26063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26064 choke me
26065 #else
26066 char (*f) () = $ac_func;
26067 #endif
26068 #ifdef __cplusplus
26070 #endif
26073 main ()
26075 return f != $ac_func;
26077 return 0;
26079 _ACEOF
26080 rm -f conftest.$ac_objext conftest$ac_exeext
26081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26082 (eval $ac_link) 2>conftest.er1
26083 ac_status=$?
26084 grep -v '^ *+' conftest.er1 >conftest.err
26085 rm -f conftest.er1
26086 cat conftest.err >&5
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try='test -z "$ac_c_werror_flag"
26090 || test ! -s conftest.err'
26091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092 (eval $ac_try) 2>&5
26093 ac_status=$?
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); }; } &&
26096 { ac_try='test -s conftest$ac_exeext'
26097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098 (eval $ac_try) 2>&5
26099 ac_status=$?
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); }; }; then
26102 eval "$as_ac_var=yes"
26103 else
26104 echo "$as_me: failed program was:" >&5
26105 sed 's/^/| /' conftest.$ac_ext >&5
26107 eval "$as_ac_var=no"
26109 rm -f conftest.err conftest.$ac_objext \
26110 conftest$ac_exeext conftest.$ac_ext
26112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26114 if test `eval echo '${'$as_ac_var'}'` = yes; then
26115 cat >>confdefs.h <<_ACEOF
26116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26117 _ACEOF
26120 done
26122 else
26124 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26125 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26126 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26127 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26128 echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26133 ac_ext=cc
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145 #include <math.h>
26146 #ifdef HAVE_IEEEFP_H
26147 #include <ieeefp.h>
26148 #endif
26151 main ()
26153 _logf(0);
26155 return 0;
26157 _ACEOF
26158 rm -f conftest.$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160 (eval $ac_compile) 2>conftest.er1
26161 ac_status=$?
26162 grep -v '^ *+' conftest.er1 >conftest.err
26163 rm -f conftest.er1
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } &&
26167 { ac_try='test -z "$ac_cxx_werror_flag"
26168 || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try='test -s conftest.$ac_objext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 glibcxx_cv_func__logf_use=yes
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 glibcxx_cv_func__logf_use=no
26187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26188 ac_ext=c
26189 ac_cpp='$CPP $CPPFLAGS'
26190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26199 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26201 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26203 for ac_func in _logf
26205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26206 echo "$as_me:$LINENO: checking for $ac_func" >&5
26207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26208 if eval "test \"\${$as_ac_var+set}\" = set"; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 else
26211 if test x$gcc_no_link = xyes; then
26212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26214 { (exit 1); exit 1; }; }
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26224 #define $ac_func innocuous_$ac_func
26226 /* System header to define __stub macros and hopefully few prototypes,
26227 which can conflict with char $ac_func (); below.
26228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26229 <limits.h> exists even on freestanding compilers. */
26231 #ifdef __STDC__
26232 # include <limits.h>
26233 #else
26234 # include <assert.h>
26235 #endif
26237 #undef $ac_func
26239 /* Override any gcc2 internal prototype to avoid an error. */
26240 #ifdef __cplusplus
26241 extern "C"
26243 #endif
26244 /* We use char because int might match the return type of a gcc2
26245 builtin and then its argument prototype would still apply. */
26246 char $ac_func ();
26247 /* The GNU C library defines this for functions which it implements
26248 to always fail with ENOSYS. Some functions are actually named
26249 something starting with __ and the normal name is an alias. */
26250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26251 choke me
26252 #else
26253 char (*f) () = $ac_func;
26254 #endif
26255 #ifdef __cplusplus
26257 #endif
26260 main ()
26262 return f != $ac_func;
26264 return 0;
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269 (eval $ac_link) 2>conftest.er1
26270 ac_status=$?
26271 grep -v '^ *+' conftest.er1 >conftest.err
26272 rm -f conftest.er1
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } &&
26276 { ac_try='test -z "$ac_c_werror_flag"
26277 || test ! -s conftest.err'
26278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279 (eval $ac_try) 2>&5
26280 ac_status=$?
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); }; } &&
26283 { ac_try='test -s conftest$ac_exeext'
26284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285 (eval $ac_try) 2>&5
26286 ac_status=$?
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); }; }; then
26289 eval "$as_ac_var=yes"
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26294 eval "$as_ac_var=no"
26296 rm -f conftest.err conftest.$ac_objext \
26297 conftest$ac_exeext conftest.$ac_ext
26299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26301 if test `eval echo '${'$as_ac_var'}'` = yes; then
26302 cat >>confdefs.h <<_ACEOF
26303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26304 _ACEOF
26307 done
26317 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26318 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26319 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26320 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26321 echo $ECHO_N "(cached) $ECHO_C" >&6
26322 else
26326 ac_ext=cc
26327 ac_cpp='$CXXCPP $CPPFLAGS'
26328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26332 cat >conftest.$ac_ext <<_ACEOF
26333 /* confdefs.h. */
26334 _ACEOF
26335 cat confdefs.h >>conftest.$ac_ext
26336 cat >>conftest.$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <math.h>
26339 #ifdef HAVE_IEEEFP_H
26340 #include <ieeefp.h>
26341 #endif
26344 main ()
26346 log10f(0);
26348 return 0;
26350 _ACEOF
26351 rm -f conftest.$ac_objext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26353 (eval $ac_compile) 2>conftest.er1
26354 ac_status=$?
26355 grep -v '^ *+' conftest.er1 >conftest.err
26356 rm -f conftest.er1
26357 cat conftest.err >&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } &&
26360 { ac_try='test -z "$ac_cxx_werror_flag"
26361 || test ! -s conftest.err'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26364 ac_status=$?
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; } &&
26367 { ac_try='test -s conftest.$ac_objext'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26370 ac_status=$?
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; }; then
26373 glibcxx_cv_func_log10f_use=yes
26374 else
26375 echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26378 glibcxx_cv_func_log10f_use=no
26380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26381 ac_ext=c
26382 ac_cpp='$CPP $CPPFLAGS'
26383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26392 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26394 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26396 for ac_func in log10f
26398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26399 echo "$as_me:$LINENO: checking for $ac_func" >&5
26400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26401 if eval "test \"\${$as_ac_var+set}\" = set"; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404 if test x$gcc_no_link = xyes; then
26405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26407 { (exit 1); exit 1; }; }
26409 cat >conftest.$ac_ext <<_ACEOF
26410 /* confdefs.h. */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26417 #define $ac_func innocuous_$ac_func
26419 /* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26424 #ifdef __STDC__
26425 # include <limits.h>
26426 #else
26427 # include <assert.h>
26428 #endif
26430 #undef $ac_func
26432 /* Override any gcc2 internal prototype to avoid an error. */
26433 #ifdef __cplusplus
26434 extern "C"
26436 #endif
26437 /* We use char because int might match the return type of a gcc2
26438 builtin and then its argument prototype would still apply. */
26439 char $ac_func ();
26440 /* The GNU C library defines this for functions which it implements
26441 to always fail with ENOSYS. Some functions are actually named
26442 something starting with __ and the normal name is an alias. */
26443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26444 choke me
26445 #else
26446 char (*f) () = $ac_func;
26447 #endif
26448 #ifdef __cplusplus
26450 #endif
26453 main ()
26455 return f != $ac_func;
26457 return 0;
26459 _ACEOF
26460 rm -f conftest.$ac_objext conftest$ac_exeext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26462 (eval $ac_link) 2>conftest.er1
26463 ac_status=$?
26464 grep -v '^ *+' conftest.er1 >conftest.err
26465 rm -f conftest.er1
26466 cat conftest.err >&5
26467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468 (exit $ac_status); } &&
26469 { ac_try='test -z "$ac_c_werror_flag"
26470 || test ! -s conftest.err'
26471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472 (eval $ac_try) 2>&5
26473 ac_status=$?
26474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475 (exit $ac_status); }; } &&
26476 { ac_try='test -s conftest$ac_exeext'
26477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478 (eval $ac_try) 2>&5
26479 ac_status=$?
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); }; }; then
26482 eval "$as_ac_var=yes"
26483 else
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26487 eval "$as_ac_var=no"
26489 rm -f conftest.err conftest.$ac_objext \
26490 conftest$ac_exeext conftest.$ac_ext
26492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26494 if test `eval echo '${'$as_ac_var'}'` = yes; then
26495 cat >>confdefs.h <<_ACEOF
26496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26497 _ACEOF
26500 done
26502 else
26504 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26505 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26506 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26507 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26513 ac_ext=cc
26514 ac_cpp='$CXXCPP $CPPFLAGS'
26515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26519 cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h. */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26525 #include <math.h>
26526 #ifdef HAVE_IEEEFP_H
26527 #include <ieeefp.h>
26528 #endif
26531 main ()
26533 _log10f(0);
26535 return 0;
26537 _ACEOF
26538 rm -f conftest.$ac_objext
26539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26540 (eval $ac_compile) 2>conftest.er1
26541 ac_status=$?
26542 grep -v '^ *+' conftest.er1 >conftest.err
26543 rm -f conftest.er1
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } &&
26547 { ac_try='test -z "$ac_cxx_werror_flag"
26548 || test ! -s conftest.err'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; } &&
26554 { ac_try='test -s conftest.$ac_objext'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; }; then
26560 glibcxx_cv_func__log10f_use=yes
26561 else
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.$ac_ext >&5
26565 glibcxx_cv_func__log10f_use=no
26567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26568 ac_ext=c
26569 ac_cpp='$CPP $CPPFLAGS'
26570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26579 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26581 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26583 for ac_func in _log10f
26585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26586 echo "$as_me:$LINENO: checking for $ac_func" >&5
26587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26588 if eval "test \"\${$as_ac_var+set}\" = set"; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 if test x$gcc_no_link = xyes; then
26592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26594 { (exit 1); exit 1; }; }
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h. */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26604 #define $ac_func innocuous_$ac_func
26606 /* System header to define __stub macros and hopefully few prototypes,
26607 which can conflict with char $ac_func (); below.
26608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26609 <limits.h> exists even on freestanding compilers. */
26611 #ifdef __STDC__
26612 # include <limits.h>
26613 #else
26614 # include <assert.h>
26615 #endif
26617 #undef $ac_func
26619 /* Override any gcc2 internal prototype to avoid an error. */
26620 #ifdef __cplusplus
26621 extern "C"
26623 #endif
26624 /* We use char because int might match the return type of a gcc2
26625 builtin and then its argument prototype would still apply. */
26626 char $ac_func ();
26627 /* The GNU C library defines this for functions which it implements
26628 to always fail with ENOSYS. Some functions are actually named
26629 something starting with __ and the normal name is an alias. */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26631 choke me
26632 #else
26633 char (*f) () = $ac_func;
26634 #endif
26635 #ifdef __cplusplus
26637 #endif
26640 main ()
26642 return f != $ac_func;
26644 return 0;
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>conftest.er1
26650 ac_status=$?
26651 grep -v '^ *+' conftest.er1 >conftest.err
26652 rm -f conftest.er1
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 { ac_try='test -z "$ac_c_werror_flag"
26657 || test ! -s conftest.err'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; } &&
26663 { ac_try='test -s conftest$ac_exeext'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26666 ac_status=$?
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; }; then
26669 eval "$as_ac_var=yes"
26670 else
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26674 eval "$as_ac_var=no"
26676 rm -f conftest.err conftest.$ac_objext \
26677 conftest$ac_exeext conftest.$ac_ext
26679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26681 if test `eval echo '${'$as_ac_var'}'` = yes; then
26682 cat >>confdefs.h <<_ACEOF
26683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26684 _ACEOF
26687 done
26697 echo "$as_me:$LINENO: checking for modff declaration" >&5
26698 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26699 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26700 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26706 ac_ext=cc
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26712 cat >conftest.$ac_ext <<_ACEOF
26713 /* confdefs.h. */
26714 _ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h. */
26718 #include <math.h>
26720 main ()
26722 modff(0, 0);
26724 return 0;
26726 _ACEOF
26727 rm -f conftest.$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729 (eval $ac_compile) 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -z "$ac_cxx_werror_flag"
26737 || test ! -s conftest.err'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; } &&
26743 { ac_try='test -s conftest.$ac_objext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26749 glibcxx_cv_func_modff_use=yes
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26754 glibcxx_cv_func_modff_use=no
26756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26757 ac_ext=c
26758 ac_cpp='$CPP $CPPFLAGS'
26759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26768 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26770 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26772 for ac_func in modff
26774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26775 echo "$as_me:$LINENO: checking for $ac_func" >&5
26776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26777 if eval "test \"\${$as_ac_var+set}\" = set"; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 else
26780 if test x$gcc_no_link = xyes; then
26781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26783 { (exit 1); exit 1; }; }
26785 cat >conftest.$ac_ext <<_ACEOF
26786 /* confdefs.h. */
26787 _ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h. */
26791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26793 #define $ac_func innocuous_$ac_func
26795 /* System header to define __stub macros and hopefully few prototypes,
26796 which can conflict with char $ac_func (); below.
26797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26798 <limits.h> exists even on freestanding compilers. */
26800 #ifdef __STDC__
26801 # include <limits.h>
26802 #else
26803 # include <assert.h>
26804 #endif
26806 #undef $ac_func
26808 /* Override any gcc2 internal prototype to avoid an error. */
26809 #ifdef __cplusplus
26810 extern "C"
26812 #endif
26813 /* We use char because int might match the return type of a gcc2
26814 builtin and then its argument prototype would still apply. */
26815 char $ac_func ();
26816 /* The GNU C library defines this for functions which it implements
26817 to always fail with ENOSYS. Some functions are actually named
26818 something starting with __ and the normal name is an alias. */
26819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26820 choke me
26821 #else
26822 char (*f) () = $ac_func;
26823 #endif
26824 #ifdef __cplusplus
26826 #endif
26829 main ()
26831 return f != $ac_func;
26833 return 0;
26835 _ACEOF
26836 rm -f conftest.$ac_objext conftest$ac_exeext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26838 (eval $ac_link) 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try='test -z "$ac_c_werror_flag"
26846 || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 eval "$as_ac_var=yes"
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26863 eval "$as_ac_var=no"
26865 rm -f conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26870 if test `eval echo '${'$as_ac_var'}'` = yes; then
26871 cat >>confdefs.h <<_ACEOF
26872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26873 _ACEOF
26876 done
26878 else
26880 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26881 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26882 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26883 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 else
26889 ac_ext=cc
26890 ac_cpp='$CXXCPP $CPPFLAGS'
26891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26895 cat >conftest.$ac_ext <<_ACEOF
26896 /* confdefs.h. */
26897 _ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26901 #include <math.h>
26903 main ()
26905 _modff(0, 0);
26907 return 0;
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26912 (eval $ac_compile) 2>conftest.er1
26913 ac_status=$?
26914 grep -v '^ *+' conftest.er1 >conftest.err
26915 rm -f conftest.er1
26916 cat conftest.err >&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } &&
26919 { ac_try='test -z "$ac_cxx_werror_flag"
26920 || test ! -s conftest.err'
26921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922 (eval $ac_try) 2>&5
26923 ac_status=$?
26924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925 (exit $ac_status); }; } &&
26926 { ac_try='test -s conftest.$ac_objext'
26927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928 (eval $ac_try) 2>&5
26929 ac_status=$?
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); }; }; then
26932 glibcxx_cv_func__modff_use=yes
26933 else
26934 echo "$as_me: failed program was:" >&5
26935 sed 's/^/| /' conftest.$ac_ext >&5
26937 glibcxx_cv_func__modff_use=no
26939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26940 ac_ext=c
26941 ac_cpp='$CPP $CPPFLAGS'
26942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26951 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26953 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26955 for ac_func in _modff
26957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26958 echo "$as_me:$LINENO: checking for $ac_func" >&5
26959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26960 if eval "test \"\${$as_ac_var+set}\" = set"; then
26961 echo $ECHO_N "(cached) $ECHO_C" >&6
26962 else
26963 if test x$gcc_no_link = xyes; then
26964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26966 { (exit 1); exit 1; }; }
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h. */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h. */
26974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26976 #define $ac_func innocuous_$ac_func
26978 /* System header to define __stub macros and hopefully few prototypes,
26979 which can conflict with char $ac_func (); below.
26980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26981 <limits.h> exists even on freestanding compilers. */
26983 #ifdef __STDC__
26984 # include <limits.h>
26985 #else
26986 # include <assert.h>
26987 #endif
26989 #undef $ac_func
26991 /* Override any gcc2 internal prototype to avoid an error. */
26992 #ifdef __cplusplus
26993 extern "C"
26995 #endif
26996 /* We use char because int might match the return type of a gcc2
26997 builtin and then its argument prototype would still apply. */
26998 char $ac_func ();
26999 /* The GNU C library defines this for functions which it implements
27000 to always fail with ENOSYS. Some functions are actually named
27001 something starting with __ and the normal name is an alias. */
27002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27003 choke me
27004 #else
27005 char (*f) () = $ac_func;
27006 #endif
27007 #ifdef __cplusplus
27009 #endif
27012 main ()
27014 return f != $ac_func;
27016 return 0;
27018 _ACEOF
27019 rm -f conftest.$ac_objext conftest$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>conftest.er1
27022 ac_status=$?
27023 grep -v '^ *+' conftest.er1 >conftest.err
27024 rm -f conftest.er1
27025 cat conftest.err >&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } &&
27028 { ac_try='test -z "$ac_c_werror_flag"
27029 || test ! -s conftest.err'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27032 ac_status=$?
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; } &&
27035 { ac_try='test -s conftest$ac_exeext'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27038 ac_status=$?
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; }; then
27041 eval "$as_ac_var=yes"
27042 else
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27046 eval "$as_ac_var=no"
27048 rm -f conftest.err conftest.$ac_objext \
27049 conftest$ac_exeext conftest.$ac_ext
27051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27053 if test `eval echo '${'$as_ac_var'}'` = yes; then
27054 cat >>confdefs.h <<_ACEOF
27055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27056 _ACEOF
27059 done
27069 echo "$as_me:$LINENO: checking for modf declaration" >&5
27070 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27071 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27072 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27078 ac_ext=cc
27079 ac_cpp='$CXXCPP $CPPFLAGS'
27080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27084 cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h. */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <math.h>
27092 main ()
27094 modf(0, 0);
27096 return 0;
27098 _ACEOF
27099 rm -f conftest.$ac_objext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27101 (eval $ac_compile) 2>conftest.er1
27102 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try='test -z "$ac_cxx_werror_flag"
27109 || test ! -s conftest.err'
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); }; } &&
27115 { ac_try='test -s conftest.$ac_objext'
27116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117 (eval $ac_try) 2>&5
27118 ac_status=$?
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); }; }; then
27121 glibcxx_cv_func_modf_use=yes
27122 else
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27126 glibcxx_cv_func_modf_use=no
27128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27129 ac_ext=c
27130 ac_cpp='$CPP $CPPFLAGS'
27131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27140 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27142 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27144 for ac_func in modf
27146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27147 echo "$as_me:$LINENO: checking for $ac_func" >&5
27148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27149 if eval "test \"\${$as_ac_var+set}\" = set"; then
27150 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 else
27152 if test x$gcc_no_link = xyes; then
27153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27155 { (exit 1); exit 1; }; }
27157 cat >conftest.$ac_ext <<_ACEOF
27158 /* confdefs.h. */
27159 _ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27165 #define $ac_func innocuous_$ac_func
27167 /* System header to define __stub macros and hopefully few prototypes,
27168 which can conflict with char $ac_func (); below.
27169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27170 <limits.h> exists even on freestanding compilers. */
27172 #ifdef __STDC__
27173 # include <limits.h>
27174 #else
27175 # include <assert.h>
27176 #endif
27178 #undef $ac_func
27180 /* Override any gcc2 internal prototype to avoid an error. */
27181 #ifdef __cplusplus
27182 extern "C"
27184 #endif
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char $ac_func ();
27188 /* The GNU C library defines this for functions which it implements
27189 to always fail with ENOSYS. Some functions are actually named
27190 something starting with __ and the normal name is an alias. */
27191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27192 choke me
27193 #else
27194 char (*f) () = $ac_func;
27195 #endif
27196 #ifdef __cplusplus
27198 #endif
27201 main ()
27203 return f != $ac_func;
27205 return 0;
27207 _ACEOF
27208 rm -f conftest.$ac_objext conftest$ac_exeext
27209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27210 (eval $ac_link) 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } &&
27217 { ac_try='test -z "$ac_c_werror_flag"
27218 || test ! -s conftest.err'
27219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220 (eval $ac_try) 2>&5
27221 ac_status=$?
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; } &&
27224 { ac_try='test -s conftest$ac_exeext'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27227 ac_status=$?
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; }; then
27230 eval "$as_ac_var=yes"
27231 else
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27235 eval "$as_ac_var=no"
27237 rm -f conftest.err conftest.$ac_objext \
27238 conftest$ac_exeext conftest.$ac_ext
27240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27242 if test `eval echo '${'$as_ac_var'}'` = yes; then
27243 cat >>confdefs.h <<_ACEOF
27244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27245 _ACEOF
27248 done
27250 else
27252 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27253 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27254 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27255 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27256 echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27261 ac_ext=cc
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267 cat >conftest.$ac_ext <<_ACEOF
27268 /* confdefs.h. */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273 #include <math.h>
27275 main ()
27277 _modf(0, 0);
27279 return 0;
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_cxx_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 glibcxx_cv_func__modf_use=yes
27305 else
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27309 glibcxx_cv_func__modf_use=no
27311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27312 ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27323 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27325 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27327 for ac_func in _modf
27329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27330 echo "$as_me:$LINENO: checking for $ac_func" >&5
27331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27332 if eval "test \"\${$as_ac_var+set}\" = set"; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27334 else
27335 if test x$gcc_no_link = xyes; then
27336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27338 { (exit 1); exit 1; }; }
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h. */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27348 #define $ac_func innocuous_$ac_func
27350 /* System header to define __stub macros and hopefully few prototypes,
27351 which can conflict with char $ac_func (); below.
27352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27353 <limits.h> exists even on freestanding compilers. */
27355 #ifdef __STDC__
27356 # include <limits.h>
27357 #else
27358 # include <assert.h>
27359 #endif
27361 #undef $ac_func
27363 /* Override any gcc2 internal prototype to avoid an error. */
27364 #ifdef __cplusplus
27365 extern "C"
27367 #endif
27368 /* We use char because int might match the return type of a gcc2
27369 builtin and then its argument prototype would still apply. */
27370 char $ac_func ();
27371 /* The GNU C library defines this for functions which it implements
27372 to always fail with ENOSYS. Some functions are actually named
27373 something starting with __ and the normal name is an alias. */
27374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27375 choke me
27376 #else
27377 char (*f) () = $ac_func;
27378 #endif
27379 #ifdef __cplusplus
27381 #endif
27384 main ()
27386 return f != $ac_func;
27388 return 0;
27390 _ACEOF
27391 rm -f conftest.$ac_objext conftest$ac_exeext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27393 (eval $ac_link) 2>conftest.er1
27394 ac_status=$?
27395 grep -v '^ *+' conftest.er1 >conftest.err
27396 rm -f conftest.er1
27397 cat conftest.err >&5
27398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399 (exit $ac_status); } &&
27400 { ac_try='test -z "$ac_c_werror_flag"
27401 || test ! -s conftest.err'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27404 ac_status=$?
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; } &&
27407 { ac_try='test -s conftest$ac_exeext'
27408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409 (eval $ac_try) 2>&5
27410 ac_status=$?
27411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412 (exit $ac_status); }; }; then
27413 eval "$as_ac_var=yes"
27414 else
27415 echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27418 eval "$as_ac_var=no"
27420 rm -f conftest.err conftest.$ac_objext \
27421 conftest$ac_exeext conftest.$ac_ext
27423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27425 if test `eval echo '${'$as_ac_var'}'` = yes; then
27426 cat >>confdefs.h <<_ACEOF
27427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27428 _ACEOF
27431 done
27441 echo "$as_me:$LINENO: checking for powf declaration" >&5
27442 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27443 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27444 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27445 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 else
27450 ac_ext=cc
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27456 cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h. */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462 #include <math.h>
27464 main ()
27466 powf(0, 0);
27468 return 0;
27470 _ACEOF
27471 rm -f conftest.$ac_objext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27473 (eval $ac_compile) 2>conftest.er1
27474 ac_status=$?
27475 grep -v '^ *+' conftest.er1 >conftest.err
27476 rm -f conftest.er1
27477 cat conftest.err >&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } &&
27480 { ac_try='test -z "$ac_cxx_werror_flag"
27481 || test ! -s conftest.err'
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); }; } &&
27487 { ac_try='test -s conftest.$ac_objext'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27490 ac_status=$?
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; }; then
27493 glibcxx_cv_func_powf_use=yes
27494 else
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27498 glibcxx_cv_func_powf_use=no
27500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27501 ac_ext=c
27502 ac_cpp='$CPP $CPPFLAGS'
27503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27512 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27514 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27516 for ac_func in powf
27518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27519 echo "$as_me:$LINENO: checking for $ac_func" >&5
27520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27521 if eval "test \"\${$as_ac_var+set}\" = set"; then
27522 echo $ECHO_N "(cached) $ECHO_C" >&6
27523 else
27524 if test x$gcc_no_link = xyes; then
27525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27527 { (exit 1); exit 1; }; }
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27537 #define $ac_func innocuous_$ac_func
27539 /* System header to define __stub macros and hopefully few prototypes,
27540 which can conflict with char $ac_func (); below.
27541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27542 <limits.h> exists even on freestanding compilers. */
27544 #ifdef __STDC__
27545 # include <limits.h>
27546 #else
27547 # include <assert.h>
27548 #endif
27550 #undef $ac_func
27552 /* Override any gcc2 internal prototype to avoid an error. */
27553 #ifdef __cplusplus
27554 extern "C"
27556 #endif
27557 /* We use char because int might match the return type of a gcc2
27558 builtin and then its argument prototype would still apply. */
27559 char $ac_func ();
27560 /* The GNU C library defines this for functions which it implements
27561 to always fail with ENOSYS. Some functions are actually named
27562 something starting with __ and the normal name is an alias. */
27563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27564 choke me
27565 #else
27566 char (*f) () = $ac_func;
27567 #endif
27568 #ifdef __cplusplus
27570 #endif
27573 main ()
27575 return f != $ac_func;
27577 return 0;
27579 _ACEOF
27580 rm -f conftest.$ac_objext conftest$ac_exeext
27581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27582 (eval $ac_link) 2>conftest.er1
27583 ac_status=$?
27584 grep -v '^ *+' conftest.er1 >conftest.err
27585 rm -f conftest.er1
27586 cat conftest.err >&5
27587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588 (exit $ac_status); } &&
27589 { ac_try='test -z "$ac_c_werror_flag"
27590 || test ! -s conftest.err'
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); }; } &&
27596 { ac_try='test -s conftest$ac_exeext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27599 ac_status=$?
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27602 eval "$as_ac_var=yes"
27603 else
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27607 eval "$as_ac_var=no"
27609 rm -f conftest.err conftest.$ac_objext \
27610 conftest$ac_exeext conftest.$ac_ext
27612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27614 if test `eval echo '${'$as_ac_var'}'` = yes; then
27615 cat >>confdefs.h <<_ACEOF
27616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27617 _ACEOF
27620 done
27622 else
27624 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27625 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27626 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27627 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27628 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 else
27633 ac_ext=cc
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27639 cat >conftest.$ac_ext <<_ACEOF
27640 /* confdefs.h. */
27641 _ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h. */
27645 #include <math.h>
27647 main ()
27649 _powf(0, 0);
27651 return 0;
27653 _ACEOF
27654 rm -f conftest.$ac_objext
27655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27656 (eval $ac_compile) 2>conftest.er1
27657 ac_status=$?
27658 grep -v '^ *+' conftest.er1 >conftest.err
27659 rm -f conftest.er1
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } &&
27663 { ac_try='test -z "$ac_cxx_werror_flag"
27664 || test ! -s conftest.err'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27667 ac_status=$?
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; } &&
27670 { ac_try='test -s conftest.$ac_objext'
27671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672 (eval $ac_try) 2>&5
27673 ac_status=$?
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); }; }; then
27676 glibcxx_cv_func__powf_use=yes
27677 else
27678 echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27681 glibcxx_cv_func__powf_use=no
27683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27684 ac_ext=c
27685 ac_cpp='$CPP $CPPFLAGS'
27686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27695 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27697 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27699 for ac_func in _powf
27701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27702 echo "$as_me:$LINENO: checking for $ac_func" >&5
27703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27704 if eval "test \"\${$as_ac_var+set}\" = set"; then
27705 echo $ECHO_N "(cached) $ECHO_C" >&6
27706 else
27707 if test x$gcc_no_link = xyes; then
27708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27710 { (exit 1); exit 1; }; }
27712 cat >conftest.$ac_ext <<_ACEOF
27713 /* confdefs.h. */
27714 _ACEOF
27715 cat confdefs.h >>conftest.$ac_ext
27716 cat >>conftest.$ac_ext <<_ACEOF
27717 /* end confdefs.h. */
27718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27720 #define $ac_func innocuous_$ac_func
27722 /* System header to define __stub macros and hopefully few prototypes,
27723 which can conflict with char $ac_func (); below.
27724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27725 <limits.h> exists even on freestanding compilers. */
27727 #ifdef __STDC__
27728 # include <limits.h>
27729 #else
27730 # include <assert.h>
27731 #endif
27733 #undef $ac_func
27735 /* Override any gcc2 internal prototype to avoid an error. */
27736 #ifdef __cplusplus
27737 extern "C"
27739 #endif
27740 /* We use char because int might match the return type of a gcc2
27741 builtin and then its argument prototype would still apply. */
27742 char $ac_func ();
27743 /* The GNU C library defines this for functions which it implements
27744 to always fail with ENOSYS. Some functions are actually named
27745 something starting with __ and the normal name is an alias. */
27746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27747 choke me
27748 #else
27749 char (*f) () = $ac_func;
27750 #endif
27751 #ifdef __cplusplus
27753 #endif
27756 main ()
27758 return f != $ac_func;
27760 return 0;
27762 _ACEOF
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27765 (eval $ac_link) 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try='test -z "$ac_c_werror_flag"
27773 || test ! -s conftest.err'
27774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27775 (eval $ac_try) 2>&5
27776 ac_status=$?
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); }; } &&
27779 { ac_try='test -s conftest$ac_exeext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 eval "$as_ac_var=yes"
27786 else
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.$ac_ext >&5
27790 eval "$as_ac_var=no"
27792 rm -f conftest.err conftest.$ac_objext \
27793 conftest$ac_exeext conftest.$ac_ext
27795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27797 if test `eval echo '${'$as_ac_var'}'` = yes; then
27798 cat >>confdefs.h <<_ACEOF
27799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27800 _ACEOF
27803 done
27813 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27814 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27815 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27816 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 else
27822 ac_ext=cc
27823 ac_cpp='$CXXCPP $CPPFLAGS'
27824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27828 cat >conftest.$ac_ext <<_ACEOF
27829 /* confdefs.h. */
27830 _ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27834 #include <math.h>
27835 #ifdef HAVE_IEEEFP_H
27836 #include <ieeefp.h>
27837 #endif
27840 main ()
27842 sqrtf(0);
27844 return 0;
27846 _ACEOF
27847 rm -f conftest.$ac_objext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27849 (eval $ac_compile) 2>conftest.er1
27850 ac_status=$?
27851 grep -v '^ *+' conftest.er1 >conftest.err
27852 rm -f conftest.er1
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } &&
27856 { ac_try='test -z "$ac_cxx_werror_flag"
27857 || test ! -s conftest.err'
27858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27859 (eval $ac_try) 2>&5
27860 ac_status=$?
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); }; } &&
27863 { ac_try='test -s conftest.$ac_objext'
27864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27865 (eval $ac_try) 2>&5
27866 ac_status=$?
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); }; }; then
27869 glibcxx_cv_func_sqrtf_use=yes
27870 else
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27874 glibcxx_cv_func_sqrtf_use=no
27876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27877 ac_ext=c
27878 ac_cpp='$CPP $CPPFLAGS'
27879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27888 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27890 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27892 for ac_func in sqrtf
27894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27895 echo "$as_me:$LINENO: checking for $ac_func" >&5
27896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27897 if eval "test \"\${$as_ac_var+set}\" = set"; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900 if test x$gcc_no_link = xyes; then
27901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27903 { (exit 1); exit 1; }; }
27905 cat >conftest.$ac_ext <<_ACEOF
27906 /* confdefs.h. */
27907 _ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27913 #define $ac_func innocuous_$ac_func
27915 /* System header to define __stub macros and hopefully few prototypes,
27916 which can conflict with char $ac_func (); below.
27917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27918 <limits.h> exists even on freestanding compilers. */
27920 #ifdef __STDC__
27921 # include <limits.h>
27922 #else
27923 # include <assert.h>
27924 #endif
27926 #undef $ac_func
27928 /* Override any gcc2 internal prototype to avoid an error. */
27929 #ifdef __cplusplus
27930 extern "C"
27932 #endif
27933 /* We use char because int might match the return type of a gcc2
27934 builtin and then its argument prototype would still apply. */
27935 char $ac_func ();
27936 /* The GNU C library defines this for functions which it implements
27937 to always fail with ENOSYS. Some functions are actually named
27938 something starting with __ and the normal name is an alias. */
27939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27940 choke me
27941 #else
27942 char (*f) () = $ac_func;
27943 #endif
27944 #ifdef __cplusplus
27946 #endif
27949 main ()
27951 return f != $ac_func;
27953 return 0;
27955 _ACEOF
27956 rm -f conftest.$ac_objext conftest$ac_exeext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27958 (eval $ac_link) 2>conftest.er1
27959 ac_status=$?
27960 grep -v '^ *+' conftest.er1 >conftest.err
27961 rm -f conftest.er1
27962 cat conftest.err >&5
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } &&
27965 { ac_try='test -z "$ac_c_werror_flag"
27966 || test ! -s conftest.err'
27967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968 (eval $ac_try) 2>&5
27969 ac_status=$?
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; } &&
27972 { ac_try='test -s conftest$ac_exeext'
27973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27974 (eval $ac_try) 2>&5
27975 ac_status=$?
27976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977 (exit $ac_status); }; }; then
27978 eval "$as_ac_var=yes"
27979 else
27980 echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27983 eval "$as_ac_var=no"
27985 rm -f conftest.err conftest.$ac_objext \
27986 conftest$ac_exeext conftest.$ac_ext
27988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27990 if test `eval echo '${'$as_ac_var'}'` = yes; then
27991 cat >>confdefs.h <<_ACEOF
27992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27993 _ACEOF
27996 done
27998 else
28000 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28001 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28002 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28003 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28004 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28009 ac_ext=cc
28010 ac_cpp='$CXXCPP $CPPFLAGS'
28011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28015 cat >conftest.$ac_ext <<_ACEOF
28016 /* confdefs.h. */
28017 _ACEOF
28018 cat confdefs.h >>conftest.$ac_ext
28019 cat >>conftest.$ac_ext <<_ACEOF
28020 /* end confdefs.h. */
28021 #include <math.h>
28022 #ifdef HAVE_IEEEFP_H
28023 #include <ieeefp.h>
28024 #endif
28027 main ()
28029 _sqrtf(0);
28031 return 0;
28033 _ACEOF
28034 rm -f conftest.$ac_objext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28036 (eval $ac_compile) 2>conftest.er1
28037 ac_status=$?
28038 grep -v '^ *+' conftest.er1 >conftest.err
28039 rm -f conftest.er1
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try='test -z "$ac_cxx_werror_flag"
28044 || test ! -s conftest.err'
28045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046 (eval $ac_try) 2>&5
28047 ac_status=$?
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); }; } &&
28050 { ac_try='test -s conftest.$ac_objext'
28051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052 (eval $ac_try) 2>&5
28053 ac_status=$?
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); }; }; then
28056 glibcxx_cv_func__sqrtf_use=yes
28057 else
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28061 glibcxx_cv_func__sqrtf_use=no
28063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28064 ac_ext=c
28065 ac_cpp='$CPP $CPPFLAGS'
28066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28075 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28077 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28079 for ac_func in _sqrtf
28081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28082 echo "$as_me:$LINENO: checking for $ac_func" >&5
28083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28084 if eval "test \"\${$as_ac_var+set}\" = set"; then
28085 echo $ECHO_N "(cached) $ECHO_C" >&6
28086 else
28087 if test x$gcc_no_link = xyes; then
28088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28090 { (exit 1); exit 1; }; }
28092 cat >conftest.$ac_ext <<_ACEOF
28093 /* confdefs.h. */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28100 #define $ac_func innocuous_$ac_func
28102 /* System header to define __stub macros and hopefully few prototypes,
28103 which can conflict with char $ac_func (); below.
28104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105 <limits.h> exists even on freestanding compilers. */
28107 #ifdef __STDC__
28108 # include <limits.h>
28109 #else
28110 # include <assert.h>
28111 #endif
28113 #undef $ac_func
28115 /* Override any gcc2 internal prototype to avoid an error. */
28116 #ifdef __cplusplus
28117 extern "C"
28119 #endif
28120 /* We use char because int might match the return type of a gcc2
28121 builtin and then its argument prototype would still apply. */
28122 char $ac_func ();
28123 /* The GNU C library defines this for functions which it implements
28124 to always fail with ENOSYS. Some functions are actually named
28125 something starting with __ and the normal name is an alias. */
28126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28127 choke me
28128 #else
28129 char (*f) () = $ac_func;
28130 #endif
28131 #ifdef __cplusplus
28133 #endif
28136 main ()
28138 return f != $ac_func;
28140 return 0;
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145 (eval $ac_link) 2>conftest.er1
28146 ac_status=$?
28147 grep -v '^ *+' conftest.er1 >conftest.err
28148 rm -f conftest.er1
28149 cat conftest.err >&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } &&
28152 { ac_try='test -z "$ac_c_werror_flag"
28153 || test ! -s conftest.err'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; } &&
28159 { ac_try='test -s conftest$ac_exeext'
28160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28161 (eval $ac_try) 2>&5
28162 ac_status=$?
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); }; }; then
28165 eval "$as_ac_var=yes"
28166 else
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28170 eval "$as_ac_var=no"
28172 rm -f conftest.err conftest.$ac_objext \
28173 conftest$ac_exeext conftest.$ac_ext
28175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28177 if test `eval echo '${'$as_ac_var'}'` = yes; then
28178 cat >>confdefs.h <<_ACEOF
28179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28180 _ACEOF
28183 done
28193 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28194 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28195 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28196 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28202 ac_ext=cc
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat >conftest.$ac_ext <<_ACEOF
28209 /* confdefs.h. */
28210 _ACEOF
28211 cat confdefs.h >>conftest.$ac_ext
28212 cat >>conftest.$ac_ext <<_ACEOF
28213 /* end confdefs.h. */
28214 #include <math.h>
28216 main ()
28218 sincosf(0, 0, 0);
28220 return 0;
28222 _ACEOF
28223 rm -f conftest.$ac_objext
28224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28225 (eval $ac_compile) 2>conftest.er1
28226 ac_status=$?
28227 grep -v '^ *+' conftest.er1 >conftest.err
28228 rm -f conftest.er1
28229 cat conftest.err >&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); } &&
28232 { ac_try='test -z "$ac_cxx_werror_flag"
28233 || test ! -s conftest.err'
28234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235 (eval $ac_try) 2>&5
28236 ac_status=$?
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); }; } &&
28239 { ac_try='test -s conftest.$ac_objext'
28240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241 (eval $ac_try) 2>&5
28242 ac_status=$?
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); }; }; then
28245 glibcxx_cv_func_sincosf_use=yes
28246 else
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28250 glibcxx_cv_func_sincosf_use=no
28252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28253 ac_ext=c
28254 ac_cpp='$CPP $CPPFLAGS'
28255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28264 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28266 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28268 for ac_func in sincosf
28270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28271 echo "$as_me:$LINENO: checking for $ac_func" >&5
28272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28273 if eval "test \"\${$as_ac_var+set}\" = set"; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276 if test x$gcc_no_link = xyes; then
28277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28279 { (exit 1); exit 1; }; }
28281 cat >conftest.$ac_ext <<_ACEOF
28282 /* confdefs.h. */
28283 _ACEOF
28284 cat confdefs.h >>conftest.$ac_ext
28285 cat >>conftest.$ac_ext <<_ACEOF
28286 /* end confdefs.h. */
28287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28289 #define $ac_func innocuous_$ac_func
28291 /* System header to define __stub macros and hopefully few prototypes,
28292 which can conflict with char $ac_func (); below.
28293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28294 <limits.h> exists even on freestanding compilers. */
28296 #ifdef __STDC__
28297 # include <limits.h>
28298 #else
28299 # include <assert.h>
28300 #endif
28302 #undef $ac_func
28304 /* Override any gcc2 internal prototype to avoid an error. */
28305 #ifdef __cplusplus
28306 extern "C"
28308 #endif
28309 /* We use char because int might match the return type of a gcc2
28310 builtin and then its argument prototype would still apply. */
28311 char $ac_func ();
28312 /* The GNU C library defines this for functions which it implements
28313 to always fail with ENOSYS. Some functions are actually named
28314 something starting with __ and the normal name is an alias. */
28315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28316 choke me
28317 #else
28318 char (*f) () = $ac_func;
28319 #endif
28320 #ifdef __cplusplus
28322 #endif
28325 main ()
28327 return f != $ac_func;
28329 return 0;
28331 _ACEOF
28332 rm -f conftest.$ac_objext conftest$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>conftest.er1
28335 ac_status=$?
28336 grep -v '^ *+' conftest.er1 >conftest.err
28337 rm -f conftest.er1
28338 cat conftest.err >&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); } &&
28341 { ac_try='test -z "$ac_c_werror_flag"
28342 || test ! -s conftest.err'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28345 ac_status=$?
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; } &&
28348 { ac_try='test -s conftest$ac_exeext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 eval "$as_ac_var=yes"
28355 else
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28359 eval "$as_ac_var=no"
28361 rm -f conftest.err conftest.$ac_objext \
28362 conftest$ac_exeext conftest.$ac_ext
28364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28366 if test `eval echo '${'$as_ac_var'}'` = yes; then
28367 cat >>confdefs.h <<_ACEOF
28368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28369 _ACEOF
28372 done
28374 else
28376 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28377 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28378 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28379 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28380 echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28385 ac_ext=cc
28386 ac_cpp='$CXXCPP $CPPFLAGS'
28387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28391 cat >conftest.$ac_ext <<_ACEOF
28392 /* confdefs.h. */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h. */
28397 #include <math.h>
28399 main ()
28401 _sincosf(0, 0, 0);
28403 return 0;
28405 _ACEOF
28406 rm -f conftest.$ac_objext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28408 (eval $ac_compile) 2>conftest.er1
28409 ac_status=$?
28410 grep -v '^ *+' conftest.er1 >conftest.err
28411 rm -f conftest.er1
28412 cat conftest.err >&5
28413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414 (exit $ac_status); } &&
28415 { ac_try='test -z "$ac_cxx_werror_flag"
28416 || test ! -s conftest.err'
28417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418 (eval $ac_try) 2>&5
28419 ac_status=$?
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); }; } &&
28422 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28428 glibcxx_cv_func__sincosf_use=yes
28429 else
28430 echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28433 glibcxx_cv_func__sincosf_use=no
28435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28436 ac_ext=c
28437 ac_cpp='$CPP $CPPFLAGS'
28438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28447 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28451 for ac_func in _sincosf
28453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28454 echo "$as_me:$LINENO: checking for $ac_func" >&5
28455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28456 if eval "test \"\${$as_ac_var+set}\" = set"; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459 if test x$gcc_no_link = xyes; then
28460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28462 { (exit 1); exit 1; }; }
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28472 #define $ac_func innocuous_$ac_func
28474 /* System header to define __stub macros and hopefully few prototypes,
28475 which can conflict with char $ac_func (); below.
28476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28477 <limits.h> exists even on freestanding compilers. */
28479 #ifdef __STDC__
28480 # include <limits.h>
28481 #else
28482 # include <assert.h>
28483 #endif
28485 #undef $ac_func
28487 /* Override any gcc2 internal prototype to avoid an error. */
28488 #ifdef __cplusplus
28489 extern "C"
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493 builtin and then its argument prototype would still apply. */
28494 char $ac_func ();
28495 /* The GNU C library defines this for functions which it implements
28496 to always fail with ENOSYS. Some functions are actually named
28497 something starting with __ and the normal name is an alias. */
28498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28499 choke me
28500 #else
28501 char (*f) () = $ac_func;
28502 #endif
28503 #ifdef __cplusplus
28505 #endif
28508 main ()
28510 return f != $ac_func;
28512 return 0;
28514 _ACEOF
28515 rm -f conftest.$ac_objext conftest$ac_exeext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28517 (eval $ac_link) 2>conftest.er1
28518 ac_status=$?
28519 grep -v '^ *+' conftest.er1 >conftest.err
28520 rm -f conftest.er1
28521 cat conftest.err >&5
28522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523 (exit $ac_status); } &&
28524 { ac_try='test -z "$ac_c_werror_flag"
28525 || test ! -s conftest.err'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28528 ac_status=$?
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; } &&
28531 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28537 eval "$as_ac_var=yes"
28538 else
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28542 eval "$as_ac_var=no"
28544 rm -f conftest.err conftest.$ac_objext \
28545 conftest$ac_exeext conftest.$ac_ext
28547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28549 if test `eval echo '${'$as_ac_var'}'` = yes; then
28550 cat >>confdefs.h <<_ACEOF
28551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552 _ACEOF
28555 done
28565 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28566 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28567 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28568 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28574 ac_ext=cc
28575 ac_cpp='$CXXCPP $CPPFLAGS'
28576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28580 cat >conftest.$ac_ext <<_ACEOF
28581 /* confdefs.h. */
28582 _ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28586 #include <math.h>
28587 #ifdef HAVE_IEEEFP_H
28588 #include <ieeefp.h>
28589 #endif
28592 main ()
28594 finitef(0);
28596 return 0;
28598 _ACEOF
28599 rm -f conftest.$ac_objext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28601 (eval $ac_compile) 2>conftest.er1
28602 ac_status=$?
28603 grep -v '^ *+' conftest.er1 >conftest.err
28604 rm -f conftest.er1
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } &&
28608 { ac_try='test -z "$ac_cxx_werror_flag"
28609 || test ! -s conftest.err'
28610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611 (eval $ac_try) 2>&5
28612 ac_status=$?
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest.$ac_objext'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28618 ac_status=$?
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; }; then
28621 glibcxx_cv_func_finitef_use=yes
28622 else
28623 echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.$ac_ext >&5
28626 glibcxx_cv_func_finitef_use=no
28628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28629 ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28640 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28642 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28644 for ac_func in finitef
28646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28647 echo "$as_me:$LINENO: checking for $ac_func" >&5
28648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28649 if eval "test \"\${$as_ac_var+set}\" = set"; then
28650 echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652 if test x$gcc_no_link = xyes; then
28653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28655 { (exit 1); exit 1; }; }
28657 cat >conftest.$ac_ext <<_ACEOF
28658 /* confdefs.h. */
28659 _ACEOF
28660 cat confdefs.h >>conftest.$ac_ext
28661 cat >>conftest.$ac_ext <<_ACEOF
28662 /* end confdefs.h. */
28663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28665 #define $ac_func innocuous_$ac_func
28667 /* System header to define __stub macros and hopefully few prototypes,
28668 which can conflict with char $ac_func (); below.
28669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28670 <limits.h> exists even on freestanding compilers. */
28672 #ifdef __STDC__
28673 # include <limits.h>
28674 #else
28675 # include <assert.h>
28676 #endif
28678 #undef $ac_func
28680 /* Override any gcc2 internal prototype to avoid an error. */
28681 #ifdef __cplusplus
28682 extern "C"
28684 #endif
28685 /* We use char because int might match the return type of a gcc2
28686 builtin and then its argument prototype would still apply. */
28687 char $ac_func ();
28688 /* The GNU C library defines this for functions which it implements
28689 to always fail with ENOSYS. Some functions are actually named
28690 something starting with __ and the normal name is an alias. */
28691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28692 choke me
28693 #else
28694 char (*f) () = $ac_func;
28695 #endif
28696 #ifdef __cplusplus
28698 #endif
28701 main ()
28703 return f != $ac_func;
28705 return 0;
28707 _ACEOF
28708 rm -f conftest.$ac_objext conftest$ac_exeext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28710 (eval $ac_link) 2>conftest.er1
28711 ac_status=$?
28712 grep -v '^ *+' conftest.er1 >conftest.err
28713 rm -f conftest.er1
28714 cat conftest.err >&5
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); } &&
28717 { ac_try='test -z "$ac_c_werror_flag"
28718 || test ! -s conftest.err'
28719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720 (eval $ac_try) 2>&5
28721 ac_status=$?
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); }; } &&
28724 { ac_try='test -s conftest$ac_exeext'
28725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726 (eval $ac_try) 2>&5
28727 ac_status=$?
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); }; }; then
28730 eval "$as_ac_var=yes"
28731 else
28732 echo "$as_me: failed program was:" >&5
28733 sed 's/^/| /' conftest.$ac_ext >&5
28735 eval "$as_ac_var=no"
28737 rm -f conftest.err conftest.$ac_objext \
28738 conftest$ac_exeext conftest.$ac_ext
28740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28742 if test `eval echo '${'$as_ac_var'}'` = yes; then
28743 cat >>confdefs.h <<_ACEOF
28744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28745 _ACEOF
28748 done
28750 else
28752 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28753 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28754 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28755 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28756 echo $ECHO_N "(cached) $ECHO_C" >&6
28757 else
28761 ac_ext=cc
28762 ac_cpp='$CXXCPP $CPPFLAGS'
28763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28767 cat >conftest.$ac_ext <<_ACEOF
28768 /* confdefs.h. */
28769 _ACEOF
28770 cat confdefs.h >>conftest.$ac_ext
28771 cat >>conftest.$ac_ext <<_ACEOF
28772 /* end confdefs.h. */
28773 #include <math.h>
28774 #ifdef HAVE_IEEEFP_H
28775 #include <ieeefp.h>
28776 #endif
28779 main ()
28781 _finitef(0);
28783 return 0;
28785 _ACEOF
28786 rm -f conftest.$ac_objext
28787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28788 (eval $ac_compile) 2>conftest.er1
28789 ac_status=$?
28790 grep -v '^ *+' conftest.er1 >conftest.err
28791 rm -f conftest.er1
28792 cat conftest.err >&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); } &&
28795 { ac_try='test -z "$ac_cxx_werror_flag"
28796 || test ! -s conftest.err'
28797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28798 (eval $ac_try) 2>&5
28799 ac_status=$?
28800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 (exit $ac_status); }; } &&
28802 { ac_try='test -s conftest.$ac_objext'
28803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28804 (eval $ac_try) 2>&5
28805 ac_status=$?
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); }; }; then
28808 glibcxx_cv_func__finitef_use=yes
28809 else
28810 echo "$as_me: failed program was:" >&5
28811 sed 's/^/| /' conftest.$ac_ext >&5
28813 glibcxx_cv_func__finitef_use=no
28815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28816 ac_ext=c
28817 ac_cpp='$CPP $CPPFLAGS'
28818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28827 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28829 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28831 for ac_func in _finitef
28833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28834 echo "$as_me:$LINENO: checking for $ac_func" >&5
28835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28836 if eval "test \"\${$as_ac_var+set}\" = set"; then
28837 echo $ECHO_N "(cached) $ECHO_C" >&6
28838 else
28839 if test x$gcc_no_link = xyes; then
28840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28842 { (exit 1); exit 1; }; }
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28852 #define $ac_func innocuous_$ac_func
28854 /* System header to define __stub macros and hopefully few prototypes,
28855 which can conflict with char $ac_func (); below.
28856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28857 <limits.h> exists even on freestanding compilers. */
28859 #ifdef __STDC__
28860 # include <limits.h>
28861 #else
28862 # include <assert.h>
28863 #endif
28865 #undef $ac_func
28867 /* Override any gcc2 internal prototype to avoid an error. */
28868 #ifdef __cplusplus
28869 extern "C"
28871 #endif
28872 /* We use char because int might match the return type of a gcc2
28873 builtin and then its argument prototype would still apply. */
28874 char $ac_func ();
28875 /* The GNU C library defines this for functions which it implements
28876 to always fail with ENOSYS. Some functions are actually named
28877 something starting with __ and the normal name is an alias. */
28878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28879 choke me
28880 #else
28881 char (*f) () = $ac_func;
28882 #endif
28883 #ifdef __cplusplus
28885 #endif
28888 main ()
28890 return f != $ac_func;
28892 return 0;
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28897 (eval $ac_link) 2>conftest.er1
28898 ac_status=$?
28899 grep -v '^ *+' conftest.er1 >conftest.err
28900 rm -f conftest.er1
28901 cat conftest.err >&5
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } &&
28904 { ac_try='test -z "$ac_c_werror_flag"
28905 || test ! -s conftest.err'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; } &&
28911 { ac_try='test -s conftest$ac_exeext'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; }; then
28917 eval "$as_ac_var=yes"
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28922 eval "$as_ac_var=no"
28924 rm -f conftest.err conftest.$ac_objext \
28925 conftest$ac_exeext conftest.$ac_ext
28927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28929 if test `eval echo '${'$as_ac_var'}'` = yes; then
28930 cat >>confdefs.h <<_ACEOF
28931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28932 _ACEOF
28935 done
28945 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28946 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28947 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28948 echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28953 ac_ext=cc
28954 ac_cpp='$CXXCPP $CPPFLAGS'
28955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28959 cat >conftest.$ac_ext <<_ACEOF
28960 /* confdefs.h. */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965 #include <math.h>
28967 main ()
28969 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28971 return 0;
28973 _ACEOF
28974 rm -f conftest.$ac_objext
28975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28976 (eval $ac_compile) 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } &&
28983 { ac_try='test -z "$ac_cxx_werror_flag"
28984 || test ! -s conftest.err'
28985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986 (eval $ac_try) 2>&5
28987 ac_status=$?
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; } &&
28990 { ac_try='test -s conftest.$ac_objext'
28991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992 (eval $ac_try) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); }; }; then
28996 glibcxx_cv_func_long_double_trig_use=yes
28997 else
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29001 glibcxx_cv_func_long_double_trig_use=no
29003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29004 ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29013 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29014 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29024 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29027 echo "$as_me:$LINENO: checking for $ac_func" >&5
29028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29029 if eval "test \"\${$as_ac_var+set}\" = set"; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032 if test x$gcc_no_link = xyes; then
29033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29035 { (exit 1); exit 1; }; }
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29045 #define $ac_func innocuous_$ac_func
29047 /* System header to define __stub macros and hopefully few prototypes,
29048 which can conflict with char $ac_func (); below.
29049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29050 <limits.h> exists even on freestanding compilers. */
29052 #ifdef __STDC__
29053 # include <limits.h>
29054 #else
29055 # include <assert.h>
29056 #endif
29058 #undef $ac_func
29060 /* Override any gcc2 internal prototype to avoid an error. */
29061 #ifdef __cplusplus
29062 extern "C"
29064 #endif
29065 /* We use char because int might match the return type of a gcc2
29066 builtin and then its argument prototype would still apply. */
29067 char $ac_func ();
29068 /* The GNU C library defines this for functions which it implements
29069 to always fail with ENOSYS. Some functions are actually named
29070 something starting with __ and the normal name is an alias. */
29071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29072 choke me
29073 #else
29074 char (*f) () = $ac_func;
29075 #endif
29076 #ifdef __cplusplus
29078 #endif
29081 main ()
29083 return f != $ac_func;
29085 return 0;
29087 _ACEOF
29088 rm -f conftest.$ac_objext conftest$ac_exeext
29089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29090 (eval $ac_link) 2>conftest.er1
29091 ac_status=$?
29092 grep -v '^ *+' conftest.er1 >conftest.err
29093 rm -f conftest.er1
29094 cat conftest.err >&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } &&
29097 { ac_try='test -z "$ac_c_werror_flag"
29098 || test ! -s conftest.err'
29099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100 (eval $ac_try) 2>&5
29101 ac_status=$?
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; } &&
29104 { ac_try='test -s conftest$ac_exeext'
29105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106 (eval $ac_try) 2>&5
29107 ac_status=$?
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; }; then
29110 eval "$as_ac_var=yes"
29111 else
29112 echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29115 eval "$as_ac_var=no"
29117 rm -f conftest.err conftest.$ac_objext \
29118 conftest$ac_exeext conftest.$ac_ext
29120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29122 if test `eval echo '${'$as_ac_var'}'` = yes; then
29123 cat >>confdefs.h <<_ACEOF
29124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29125 _ACEOF
29128 done
29130 else
29131 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29132 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29133 if test "${glibcxx_cv_func__long_double_trig_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>
29153 main ()
29155 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29157 return 0;
29159 _ACEOF
29160 rm -f conftest.$ac_objext
29161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29162 (eval $ac_compile) 2>conftest.er1
29163 ac_status=$?
29164 grep -v '^ *+' conftest.er1 >conftest.err
29165 rm -f conftest.er1
29166 cat conftest.err >&5
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); } &&
29169 { ac_try='test -z "$ac_cxx_werror_flag"
29170 || test ! -s conftest.err'
29171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29172 (eval $ac_try) 2>&5
29173 ac_status=$?
29174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175 (exit $ac_status); }; } &&
29176 { ac_try='test -s conftest.$ac_objext'
29177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178 (eval $ac_try) 2>&5
29179 ac_status=$?
29180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181 (exit $ac_status); }; }; then
29182 glibcxx_cv_func__long_double_trig_use=yes
29183 else
29184 echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29187 glibcxx_cv_func__long_double_trig_use=no
29189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29190 ac_ext=c
29191 ac_cpp='$CPP $CPPFLAGS'
29192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29199 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29200 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29210 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29213 echo "$as_me:$LINENO: checking for $ac_func" >&5
29214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29215 if eval "test \"\${$as_ac_var+set}\" = set"; then
29216 echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29218 if test x$gcc_no_link = xyes; then
29219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29221 { (exit 1); exit 1; }; }
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h. */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29231 #define $ac_func innocuous_$ac_func
29233 /* System header to define __stub macros and hopefully few prototypes,
29234 which can conflict with char $ac_func (); below.
29235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236 <limits.h> exists even on freestanding compilers. */
29238 #ifdef __STDC__
29239 # include <limits.h>
29240 #else
29241 # include <assert.h>
29242 #endif
29244 #undef $ac_func
29246 /* Override any gcc2 internal prototype to avoid an error. */
29247 #ifdef __cplusplus
29248 extern "C"
29250 #endif
29251 /* We use char because int might match the return type of a gcc2
29252 builtin and then its argument prototype would still apply. */
29253 char $ac_func ();
29254 /* The GNU C library defines this for functions which it implements
29255 to always fail with ENOSYS. Some functions are actually named
29256 something starting with __ and the normal name is an alias. */
29257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29258 choke me
29259 #else
29260 char (*f) () = $ac_func;
29261 #endif
29262 #ifdef __cplusplus
29264 #endif
29267 main ()
29269 return f != $ac_func;
29271 return 0;
29273 _ACEOF
29274 rm -f conftest.$ac_objext conftest$ac_exeext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29276 (eval $ac_link) 2>conftest.er1
29277 ac_status=$?
29278 grep -v '^ *+' conftest.er1 >conftest.err
29279 rm -f conftest.er1
29280 cat conftest.err >&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } &&
29283 { ac_try='test -z "$ac_c_werror_flag"
29284 || test ! -s conftest.err'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29287 ac_status=$?
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; } &&
29290 { ac_try='test -s conftest$ac_exeext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29293 ac_status=$?
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 eval "$as_ac_var=yes"
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29301 eval "$as_ac_var=no"
29303 rm -f conftest.err conftest.$ac_objext \
29304 conftest$ac_exeext conftest.$ac_ext
29306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29308 if test `eval echo '${'$as_ac_var'}'` = yes; then
29309 cat >>confdefs.h <<_ACEOF
29310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29311 _ACEOF
29314 done
29332 echo "$as_me:$LINENO: checking for long double round functions" >&5
29333 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29334 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29335 echo $ECHO_N "(cached) $ECHO_C" >&6
29336 else
29340 ac_ext=cc
29341 ac_cpp='$CXXCPP $CPPFLAGS'
29342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29346 cat >conftest.$ac_ext <<_ACEOF
29347 /* confdefs.h. */
29348 _ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352 #include <math.h>
29354 main ()
29356 ceill (0); floorl (0);
29358 return 0;
29360 _ACEOF
29361 rm -f conftest.$ac_objext
29362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29363 (eval $ac_compile) 2>conftest.er1
29364 ac_status=$?
29365 grep -v '^ *+' conftest.er1 >conftest.err
29366 rm -f conftest.er1
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } &&
29370 { ac_try='test -z "$ac_cxx_werror_flag"
29371 || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try='test -s conftest.$ac_objext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 glibcxx_cv_func_long_double_round_use=yes
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29388 glibcxx_cv_func_long_double_round_use=no
29390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29391 ac_ext=c
29392 ac_cpp='$CPP $CPPFLAGS'
29393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29400 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29401 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29404 for ac_func in ceill floorl
29406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29407 echo "$as_me:$LINENO: checking for $ac_func" >&5
29408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29409 if eval "test \"\${$as_ac_var+set}\" = set"; then
29410 echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412 if test x$gcc_no_link = xyes; then
29413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29415 { (exit 1); exit 1; }; }
29417 cat >conftest.$ac_ext <<_ACEOF
29418 /* confdefs.h. */
29419 _ACEOF
29420 cat confdefs.h >>conftest.$ac_ext
29421 cat >>conftest.$ac_ext <<_ACEOF
29422 /* end confdefs.h. */
29423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29425 #define $ac_func innocuous_$ac_func
29427 /* System header to define __stub macros and hopefully few prototypes,
29428 which can conflict with char $ac_func (); below.
29429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29430 <limits.h> exists even on freestanding compilers. */
29432 #ifdef __STDC__
29433 # include <limits.h>
29434 #else
29435 # include <assert.h>
29436 #endif
29438 #undef $ac_func
29440 /* Override any gcc2 internal prototype to avoid an error. */
29441 #ifdef __cplusplus
29442 extern "C"
29444 #endif
29445 /* We use char because int might match the return type of a gcc2
29446 builtin and then its argument prototype would still apply. */
29447 char $ac_func ();
29448 /* The GNU C library defines this for functions which it implements
29449 to always fail with ENOSYS. Some functions are actually named
29450 something starting with __ and the normal name is an alias. */
29451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29452 choke me
29453 #else
29454 char (*f) () = $ac_func;
29455 #endif
29456 #ifdef __cplusplus
29458 #endif
29461 main ()
29463 return f != $ac_func;
29465 return 0;
29467 _ACEOF
29468 rm -f conftest.$ac_objext conftest$ac_exeext
29469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29470 (eval $ac_link) 2>conftest.er1
29471 ac_status=$?
29472 grep -v '^ *+' conftest.er1 >conftest.err
29473 rm -f conftest.er1
29474 cat conftest.err >&5
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); } &&
29477 { ac_try='test -z "$ac_c_werror_flag"
29478 || test ! -s conftest.err'
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); }; } &&
29484 { ac_try='test -s conftest$ac_exeext'
29485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486 (eval $ac_try) 2>&5
29487 ac_status=$?
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; }; then
29490 eval "$as_ac_var=yes"
29491 else
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 eval "$as_ac_var=no"
29497 rm -f conftest.err conftest.$ac_objext \
29498 conftest$ac_exeext conftest.$ac_ext
29500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29502 if test `eval echo '${'$as_ac_var'}'` = yes; then
29503 cat >>confdefs.h <<_ACEOF
29504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29505 _ACEOF
29508 done
29510 else
29511 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29512 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29513 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29514 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 else
29519 ac_ext=cc
29520 ac_cpp='$CXXCPP $CPPFLAGS'
29521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29525 cat >conftest.$ac_ext <<_ACEOF
29526 /* confdefs.h. */
29527 _ACEOF
29528 cat confdefs.h >>conftest.$ac_ext
29529 cat >>conftest.$ac_ext <<_ACEOF
29530 /* end confdefs.h. */
29531 #include <math.h>
29533 main ()
29535 _ceill (0); _floorl (0);
29537 return 0;
29539 _ACEOF
29540 rm -f conftest.$ac_objext
29541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29542 (eval $ac_compile) 2>conftest.er1
29543 ac_status=$?
29544 grep -v '^ *+' conftest.er1 >conftest.err
29545 rm -f conftest.er1
29546 cat conftest.err >&5
29547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548 (exit $ac_status); } &&
29549 { ac_try='test -z "$ac_cxx_werror_flag"
29550 || test ! -s conftest.err'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29553 ac_status=$?
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; } &&
29556 { ac_try='test -s conftest.$ac_objext'
29557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558 (eval $ac_try) 2>&5
29559 ac_status=$?
29560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561 (exit $ac_status); }; }; then
29562 glibcxx_cv_func__long_double_round_use=yes
29563 else
29564 echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29567 glibcxx_cv_func__long_double_round_use=no
29569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29570 ac_ext=c
29571 ac_cpp='$CPP $CPPFLAGS'
29572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29579 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29580 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29583 for ac_func in _ceill _floorl
29585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29586 echo "$as_me:$LINENO: checking for $ac_func" >&5
29587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29588 if eval "test \"\${$as_ac_var+set}\" = set"; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29590 else
29591 if test x$gcc_no_link = xyes; then
29592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29594 { (exit 1); exit 1; }; }
29596 cat >conftest.$ac_ext <<_ACEOF
29597 /* confdefs.h. */
29598 _ACEOF
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29604 #define $ac_func innocuous_$ac_func
29606 /* System header to define __stub macros and hopefully few prototypes,
29607 which can conflict with char $ac_func (); below.
29608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29609 <limits.h> exists even on freestanding compilers. */
29611 #ifdef __STDC__
29612 # include <limits.h>
29613 #else
29614 # include <assert.h>
29615 #endif
29617 #undef $ac_func
29619 /* Override any gcc2 internal prototype to avoid an error. */
29620 #ifdef __cplusplus
29621 extern "C"
29623 #endif
29624 /* We use char because int might match the return type of a gcc2
29625 builtin and then its argument prototype would still apply. */
29626 char $ac_func ();
29627 /* The GNU C library defines this for functions which it implements
29628 to always fail with ENOSYS. Some functions are actually named
29629 something starting with __ and the normal name is an alias. */
29630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29631 choke me
29632 #else
29633 char (*f) () = $ac_func;
29634 #endif
29635 #ifdef __cplusplus
29637 #endif
29640 main ()
29642 return f != $ac_func;
29644 return 0;
29646 _ACEOF
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29649 (eval $ac_link) 2>conftest.er1
29650 ac_status=$?
29651 grep -v '^ *+' conftest.er1 >conftest.err
29652 rm -f conftest.er1
29653 cat conftest.err >&5
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); } &&
29656 { ac_try='test -z "$ac_c_werror_flag"
29657 || test ! -s conftest.err'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; } &&
29663 { ac_try='test -s conftest$ac_exeext'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29669 eval "$as_ac_var=yes"
29670 else
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29674 eval "$as_ac_var=no"
29676 rm -f conftest.err conftest.$ac_objext \
29677 conftest$ac_exeext conftest.$ac_ext
29679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29681 if test `eval echo '${'$as_ac_var'}'` = yes; then
29682 cat >>confdefs.h <<_ACEOF
29683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29684 _ACEOF
29687 done
29699 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29700 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29701 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29702 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29703 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 else
29708 ac_ext=cc
29709 ac_cpp='$CXXCPP $CPPFLAGS'
29710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29714 cat >conftest.$ac_ext <<_ACEOF
29715 /* confdefs.h. */
29716 _ACEOF
29717 cat confdefs.h >>conftest.$ac_ext
29718 cat >>conftest.$ac_ext <<_ACEOF
29719 /* end confdefs.h. */
29720 #include <math.h>
29721 #ifdef HAVE_IEEEFP_H
29722 #include <ieeefp.h>
29723 #endif
29726 main ()
29728 isnanl(0);
29730 return 0;
29732 _ACEOF
29733 rm -f conftest.$ac_objext
29734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29735 (eval $ac_compile) 2>conftest.er1
29736 ac_status=$?
29737 grep -v '^ *+' conftest.er1 >conftest.err
29738 rm -f conftest.er1
29739 cat conftest.err >&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); } &&
29742 { ac_try='test -z "$ac_cxx_werror_flag"
29743 || test ! -s conftest.err'
29744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29745 (eval $ac_try) 2>&5
29746 ac_status=$?
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; } &&
29749 { ac_try='test -s conftest.$ac_objext'
29750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751 (eval $ac_try) 2>&5
29752 ac_status=$?
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); }; }; then
29755 glibcxx_cv_func_isnanl_use=yes
29756 else
29757 echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29760 glibcxx_cv_func_isnanl_use=no
29762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29763 ac_ext=c
29764 ac_cpp='$CPP $CPPFLAGS'
29765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29774 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29776 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29778 for ac_func in isnanl
29780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29781 echo "$as_me:$LINENO: checking for $ac_func" >&5
29782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29783 if eval "test \"\${$as_ac_var+set}\" = set"; then
29784 echo $ECHO_N "(cached) $ECHO_C" >&6
29785 else
29786 if test x$gcc_no_link = xyes; then
29787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29789 { (exit 1); exit 1; }; }
29791 cat >conftest.$ac_ext <<_ACEOF
29792 /* confdefs.h. */
29793 _ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29799 #define $ac_func innocuous_$ac_func
29801 /* System header to define __stub macros and hopefully few prototypes,
29802 which can conflict with char $ac_func (); below.
29803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29804 <limits.h> exists even on freestanding compilers. */
29806 #ifdef __STDC__
29807 # include <limits.h>
29808 #else
29809 # include <assert.h>
29810 #endif
29812 #undef $ac_func
29814 /* Override any gcc2 internal prototype to avoid an error. */
29815 #ifdef __cplusplus
29816 extern "C"
29818 #endif
29819 /* We use char because int might match the return type of a gcc2
29820 builtin and then its argument prototype would still apply. */
29821 char $ac_func ();
29822 /* The GNU C library defines this for functions which it implements
29823 to always fail with ENOSYS. Some functions are actually named
29824 something starting with __ and the normal name is an alias. */
29825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29826 choke me
29827 #else
29828 char (*f) () = $ac_func;
29829 #endif
29830 #ifdef __cplusplus
29832 #endif
29835 main ()
29837 return f != $ac_func;
29839 return 0;
29841 _ACEOF
29842 rm -f conftest.$ac_objext conftest$ac_exeext
29843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29844 (eval $ac_link) 2>conftest.er1
29845 ac_status=$?
29846 grep -v '^ *+' conftest.er1 >conftest.err
29847 rm -f conftest.er1
29848 cat conftest.err >&5
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); } &&
29851 { ac_try='test -z "$ac_c_werror_flag"
29852 || test ! -s conftest.err'
29853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29854 (eval $ac_try) 2>&5
29855 ac_status=$?
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); }; } &&
29858 { ac_try='test -s conftest$ac_exeext'
29859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860 (eval $ac_try) 2>&5
29861 ac_status=$?
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); }; }; then
29864 eval "$as_ac_var=yes"
29865 else
29866 echo "$as_me: failed program was:" >&5
29867 sed 's/^/| /' conftest.$ac_ext >&5
29869 eval "$as_ac_var=no"
29871 rm -f conftest.err conftest.$ac_objext \
29872 conftest$ac_exeext conftest.$ac_ext
29874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29876 if test `eval echo '${'$as_ac_var'}'` = yes; then
29877 cat >>confdefs.h <<_ACEOF
29878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29879 _ACEOF
29882 done
29884 else
29886 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29887 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29888 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29889 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29890 echo $ECHO_N "(cached) $ECHO_C" >&6
29891 else
29895 ac_ext=cc
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29901 cat >conftest.$ac_ext <<_ACEOF
29902 /* confdefs.h. */
29903 _ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h. */
29907 #include <math.h>
29908 #ifdef HAVE_IEEEFP_H
29909 #include <ieeefp.h>
29910 #endif
29913 main ()
29915 _isnanl(0);
29917 return 0;
29919 _ACEOF
29920 rm -f conftest.$ac_objext
29921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29922 (eval $ac_compile) 2>conftest.er1
29923 ac_status=$?
29924 grep -v '^ *+' conftest.er1 >conftest.err
29925 rm -f conftest.er1
29926 cat conftest.err >&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } &&
29929 { ac_try='test -z "$ac_cxx_werror_flag"
29930 || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest.$ac_objext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 glibcxx_cv_func__isnanl_use=yes
29943 else
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29947 glibcxx_cv_func__isnanl_use=no
29949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29950 ac_ext=c
29951 ac_cpp='$CPP $CPPFLAGS'
29952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29961 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29963 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29965 for ac_func in _isnanl
29967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29968 echo "$as_me:$LINENO: checking for $ac_func" >&5
29969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29970 if eval "test \"\${$as_ac_var+set}\" = set"; then
29971 echo $ECHO_N "(cached) $ECHO_C" >&6
29972 else
29973 if test x$gcc_no_link = xyes; then
29974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29976 { (exit 1); exit 1; }; }
29978 cat >conftest.$ac_ext <<_ACEOF
29979 /* confdefs.h. */
29980 _ACEOF
29981 cat confdefs.h >>conftest.$ac_ext
29982 cat >>conftest.$ac_ext <<_ACEOF
29983 /* end confdefs.h. */
29984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29986 #define $ac_func innocuous_$ac_func
29988 /* System header to define __stub macros and hopefully few prototypes,
29989 which can conflict with char $ac_func (); below.
29990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29991 <limits.h> exists even on freestanding compilers. */
29993 #ifdef __STDC__
29994 # include <limits.h>
29995 #else
29996 # include <assert.h>
29997 #endif
29999 #undef $ac_func
30001 /* Override any gcc2 internal prototype to avoid an error. */
30002 #ifdef __cplusplus
30003 extern "C"
30005 #endif
30006 /* We use char because int might match the return type of a gcc2
30007 builtin and then its argument prototype would still apply. */
30008 char $ac_func ();
30009 /* The GNU C library defines this for functions which it implements
30010 to always fail with ENOSYS. Some functions are actually named
30011 something starting with __ and the normal name is an alias. */
30012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30013 choke me
30014 #else
30015 char (*f) () = $ac_func;
30016 #endif
30017 #ifdef __cplusplus
30019 #endif
30022 main ()
30024 return f != $ac_func;
30026 return 0;
30028 _ACEOF
30029 rm -f conftest.$ac_objext conftest$ac_exeext
30030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30031 (eval $ac_link) 2>conftest.er1
30032 ac_status=$?
30033 grep -v '^ *+' conftest.er1 >conftest.err
30034 rm -f conftest.er1
30035 cat conftest.err >&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } &&
30038 { ac_try='test -z "$ac_c_werror_flag"
30039 || test ! -s conftest.err'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30042 ac_status=$?
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; } &&
30045 { ac_try='test -s conftest$ac_exeext'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30048 ac_status=$?
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; }; then
30051 eval "$as_ac_var=yes"
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30056 eval "$as_ac_var=no"
30058 rm -f conftest.err conftest.$ac_objext \
30059 conftest$ac_exeext conftest.$ac_ext
30061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30063 if test `eval echo '${'$as_ac_var'}'` = yes; then
30064 cat >>confdefs.h <<_ACEOF
30065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30066 _ACEOF
30069 done
30079 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30080 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30081 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30082 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 else
30088 ac_ext=cc
30089 ac_cpp='$CXXCPP $CPPFLAGS'
30090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30094 cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h. */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100 #include <math.h>
30101 #ifdef HAVE_IEEEFP_H
30102 #include <ieeefp.h>
30103 #endif
30106 main ()
30108 isinfl(0);
30110 return 0;
30112 _ACEOF
30113 rm -f conftest.$ac_objext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30115 (eval $ac_compile) 2>conftest.er1
30116 ac_status=$?
30117 grep -v '^ *+' conftest.er1 >conftest.err
30118 rm -f conftest.er1
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try='test -z "$ac_cxx_werror_flag"
30123 || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try='test -s conftest.$ac_objext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30132 ac_status=$?
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 glibcxx_cv_func_isinfl_use=yes
30136 else
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30140 glibcxx_cv_func_isinfl_use=no
30142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30143 ac_ext=c
30144 ac_cpp='$CPP $CPPFLAGS'
30145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30154 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30156 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30158 for ac_func in isinfl
30160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30161 echo "$as_me:$LINENO: checking for $ac_func" >&5
30162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30163 if eval "test \"\${$as_ac_var+set}\" = set"; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166 if test x$gcc_no_link = xyes; then
30167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30169 { (exit 1); exit 1; }; }
30171 cat >conftest.$ac_ext <<_ACEOF
30172 /* confdefs.h. */
30173 _ACEOF
30174 cat confdefs.h >>conftest.$ac_ext
30175 cat >>conftest.$ac_ext <<_ACEOF
30176 /* end confdefs.h. */
30177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30179 #define $ac_func innocuous_$ac_func
30181 /* System header to define __stub macros and hopefully few prototypes,
30182 which can conflict with char $ac_func (); below.
30183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30184 <limits.h> exists even on freestanding compilers. */
30186 #ifdef __STDC__
30187 # include <limits.h>
30188 #else
30189 # include <assert.h>
30190 #endif
30192 #undef $ac_func
30194 /* Override any gcc2 internal prototype to avoid an error. */
30195 #ifdef __cplusplus
30196 extern "C"
30198 #endif
30199 /* We use char because int might match the return type of a gcc2
30200 builtin and then its argument prototype would still apply. */
30201 char $ac_func ();
30202 /* The GNU C library defines this for functions which it implements
30203 to always fail with ENOSYS. Some functions are actually named
30204 something starting with __ and the normal name is an alias. */
30205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30206 choke me
30207 #else
30208 char (*f) () = $ac_func;
30209 #endif
30210 #ifdef __cplusplus
30212 #endif
30215 main ()
30217 return f != $ac_func;
30219 return 0;
30221 _ACEOF
30222 rm -f conftest.$ac_objext conftest$ac_exeext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224 (eval $ac_link) 2>conftest.er1
30225 ac_status=$?
30226 grep -v '^ *+' conftest.er1 >conftest.err
30227 rm -f conftest.er1
30228 cat conftest.err >&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } &&
30231 { ac_try='test -z "$ac_c_werror_flag"
30232 || test ! -s conftest.err'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30235 ac_status=$?
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; } &&
30238 { ac_try='test -s conftest$ac_exeext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30241 ac_status=$?
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30244 eval "$as_ac_var=yes"
30245 else
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30249 eval "$as_ac_var=no"
30251 rm -f conftest.err conftest.$ac_objext \
30252 conftest$ac_exeext conftest.$ac_ext
30254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30256 if test `eval echo '${'$as_ac_var'}'` = yes; then
30257 cat >>confdefs.h <<_ACEOF
30258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30259 _ACEOF
30262 done
30264 else
30266 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30267 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30268 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30269 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30270 echo $ECHO_N "(cached) $ECHO_C" >&6
30271 else
30275 ac_ext=cc
30276 ac_cpp='$CXXCPP $CPPFLAGS'
30277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30281 cat >conftest.$ac_ext <<_ACEOF
30282 /* confdefs.h. */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h. */
30287 #include <math.h>
30288 #ifdef HAVE_IEEEFP_H
30289 #include <ieeefp.h>
30290 #endif
30293 main ()
30295 _isinfl(0);
30297 return 0;
30299 _ACEOF
30300 rm -f conftest.$ac_objext
30301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30302 (eval $ac_compile) 2>conftest.er1
30303 ac_status=$?
30304 grep -v '^ *+' conftest.er1 >conftest.err
30305 rm -f conftest.er1
30306 cat conftest.err >&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); } &&
30309 { ac_try='test -z "$ac_cxx_werror_flag"
30310 || test ! -s conftest.err'
30311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312 (eval $ac_try) 2>&5
30313 ac_status=$?
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); }; } &&
30316 { ac_try='test -s conftest.$ac_objext'
30317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318 (eval $ac_try) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); }; }; then
30322 glibcxx_cv_func__isinfl_use=yes
30323 else
30324 echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30327 glibcxx_cv_func__isinfl_use=no
30329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30330 ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30341 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30343 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30345 for ac_func in _isinfl
30347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30348 echo "$as_me:$LINENO: checking for $ac_func" >&5
30349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30350 if eval "test \"\${$as_ac_var+set}\" = set"; then
30351 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 else
30353 if test x$gcc_no_link = xyes; then
30354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30356 { (exit 1); exit 1; }; }
30358 cat >conftest.$ac_ext <<_ACEOF
30359 /* confdefs.h. */
30360 _ACEOF
30361 cat confdefs.h >>conftest.$ac_ext
30362 cat >>conftest.$ac_ext <<_ACEOF
30363 /* end confdefs.h. */
30364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30366 #define $ac_func innocuous_$ac_func
30368 /* System header to define __stub macros and hopefully few prototypes,
30369 which can conflict with char $ac_func (); below.
30370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30371 <limits.h> exists even on freestanding compilers. */
30373 #ifdef __STDC__
30374 # include <limits.h>
30375 #else
30376 # include <assert.h>
30377 #endif
30379 #undef $ac_func
30381 /* Override any gcc2 internal prototype to avoid an error. */
30382 #ifdef __cplusplus
30383 extern "C"
30385 #endif
30386 /* We use char because int might match the return type of a gcc2
30387 builtin and then its argument prototype would still apply. */
30388 char $ac_func ();
30389 /* The GNU C library defines this for functions which it implements
30390 to always fail with ENOSYS. Some functions are actually named
30391 something starting with __ and the normal name is an alias. */
30392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30393 choke me
30394 #else
30395 char (*f) () = $ac_func;
30396 #endif
30397 #ifdef __cplusplus
30399 #endif
30402 main ()
30404 return f != $ac_func;
30406 return 0;
30408 _ACEOF
30409 rm -f conftest.$ac_objext conftest$ac_exeext
30410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30411 (eval $ac_link) 2>conftest.er1
30412 ac_status=$?
30413 grep -v '^ *+' conftest.er1 >conftest.err
30414 rm -f conftest.er1
30415 cat conftest.err >&5
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } &&
30418 { ac_try='test -z "$ac_c_werror_flag"
30419 || test ! -s conftest.err'
30420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421 (eval $ac_try) 2>&5
30422 ac_status=$?
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); }; } &&
30425 { ac_try='test -s conftest$ac_exeext'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; }; then
30431 eval "$as_ac_var=yes"
30432 else
30433 echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30436 eval "$as_ac_var=no"
30438 rm -f conftest.err conftest.$ac_objext \
30439 conftest$ac_exeext conftest.$ac_ext
30441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30443 if test `eval echo '${'$as_ac_var'}'` = yes; then
30444 cat >>confdefs.h <<_ACEOF
30445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30446 _ACEOF
30449 done
30459 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30460 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30461 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30462 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30468 ac_ext=cc
30469 ac_cpp='$CXXCPP $CPPFLAGS'
30470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30474 cat >conftest.$ac_ext <<_ACEOF
30475 /* confdefs.h. */
30476 _ACEOF
30477 cat confdefs.h >>conftest.$ac_ext
30478 cat >>conftest.$ac_ext <<_ACEOF
30479 /* end confdefs.h. */
30480 #include <math.h>
30482 main ()
30484 copysignl(0, 0);
30486 return 0;
30488 _ACEOF
30489 rm -f conftest.$ac_objext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30491 (eval $ac_compile) 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try='test -z "$ac_cxx_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30502 ac_status=$?
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try='test -s conftest.$ac_objext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 glibcxx_cv_func_copysignl_use=yes
30512 else
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30516 glibcxx_cv_func_copysignl_use=no
30518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30519 ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30530 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30532 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30534 for ac_func in copysignl
30536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30537 echo "$as_me:$LINENO: checking for $ac_func" >&5
30538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30539 if eval "test \"\${$as_ac_var+set}\" = set"; then
30540 echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542 if test x$gcc_no_link = xyes; then
30543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30545 { (exit 1); exit 1; }; }
30547 cat >conftest.$ac_ext <<_ACEOF
30548 /* confdefs.h. */
30549 _ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h. */
30553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30555 #define $ac_func innocuous_$ac_func
30557 /* System header to define __stub macros and hopefully few prototypes,
30558 which can conflict with char $ac_func (); below.
30559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30560 <limits.h> exists even on freestanding compilers. */
30562 #ifdef __STDC__
30563 # include <limits.h>
30564 #else
30565 # include <assert.h>
30566 #endif
30568 #undef $ac_func
30570 /* Override any gcc2 internal prototype to avoid an error. */
30571 #ifdef __cplusplus
30572 extern "C"
30574 #endif
30575 /* We use char because int might match the return type of a gcc2
30576 builtin and then its argument prototype would still apply. */
30577 char $ac_func ();
30578 /* The GNU C library defines this for functions which it implements
30579 to always fail with ENOSYS. Some functions are actually named
30580 something starting with __ and the normal name is an alias. */
30581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30582 choke me
30583 #else
30584 char (*f) () = $ac_func;
30585 #endif
30586 #ifdef __cplusplus
30588 #endif
30591 main ()
30593 return f != $ac_func;
30595 return 0;
30597 _ACEOF
30598 rm -f conftest.$ac_objext conftest$ac_exeext
30599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30600 (eval $ac_link) 2>conftest.er1
30601 ac_status=$?
30602 grep -v '^ *+' conftest.er1 >conftest.err
30603 rm -f conftest.er1
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } &&
30607 { ac_try='test -z "$ac_c_werror_flag"
30608 || test ! -s conftest.err'
30609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610 (eval $ac_try) 2>&5
30611 ac_status=$?
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); }; } &&
30614 { ac_try='test -s conftest$ac_exeext'
30615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30616 (eval $ac_try) 2>&5
30617 ac_status=$?
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); }; }; then
30620 eval "$as_ac_var=yes"
30621 else
30622 echo "$as_me: failed program was:" >&5
30623 sed 's/^/| /' conftest.$ac_ext >&5
30625 eval "$as_ac_var=no"
30627 rm -f conftest.err conftest.$ac_objext \
30628 conftest$ac_exeext conftest.$ac_ext
30630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30632 if test `eval echo '${'$as_ac_var'}'` = yes; then
30633 cat >>confdefs.h <<_ACEOF
30634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30635 _ACEOF
30638 done
30640 else
30642 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30643 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30644 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30645 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30646 echo $ECHO_N "(cached) $ECHO_C" >&6
30647 else
30651 ac_ext=cc
30652 ac_cpp='$CXXCPP $CPPFLAGS'
30653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657 cat >conftest.$ac_ext <<_ACEOF
30658 /* confdefs.h. */
30659 _ACEOF
30660 cat confdefs.h >>conftest.$ac_ext
30661 cat >>conftest.$ac_ext <<_ACEOF
30662 /* end confdefs.h. */
30663 #include <math.h>
30665 main ()
30667 _copysignl(0, 0);
30669 return 0;
30671 _ACEOF
30672 rm -f conftest.$ac_objext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30674 (eval $ac_compile) 2>conftest.er1
30675 ac_status=$?
30676 grep -v '^ *+' conftest.er1 >conftest.err
30677 rm -f conftest.er1
30678 cat conftest.err >&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); } &&
30681 { ac_try='test -z "$ac_cxx_werror_flag"
30682 || test ! -s conftest.err'
30683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684 (eval $ac_try) 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); }; } &&
30688 { ac_try='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30694 glibcxx_cv_func__copysignl_use=yes
30695 else
30696 echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30699 glibcxx_cv_func__copysignl_use=no
30701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30713 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30715 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30717 for ac_func in _copysignl
30719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30720 echo "$as_me:$LINENO: checking for $ac_func" >&5
30721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30722 if eval "test \"\${$as_ac_var+set}\" = set"; then
30723 echo $ECHO_N "(cached) $ECHO_C" >&6
30724 else
30725 if test x$gcc_no_link = xyes; then
30726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30728 { (exit 1); exit 1; }; }
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h. */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30738 #define $ac_func innocuous_$ac_func
30740 /* System header to define __stub macros and hopefully few prototypes,
30741 which can conflict with char $ac_func (); below.
30742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30743 <limits.h> exists even on freestanding compilers. */
30745 #ifdef __STDC__
30746 # include <limits.h>
30747 #else
30748 # include <assert.h>
30749 #endif
30751 #undef $ac_func
30753 /* Override any gcc2 internal prototype to avoid an error. */
30754 #ifdef __cplusplus
30755 extern "C"
30757 #endif
30758 /* We use char because int might match the return type of a gcc2
30759 builtin and then its argument prototype would still apply. */
30760 char $ac_func ();
30761 /* The GNU C library defines this for functions which it implements
30762 to always fail with ENOSYS. Some functions are actually named
30763 something starting with __ and the normal name is an alias. */
30764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30765 choke me
30766 #else
30767 char (*f) () = $ac_func;
30768 #endif
30769 #ifdef __cplusplus
30771 #endif
30774 main ()
30776 return f != $ac_func;
30778 return 0;
30780 _ACEOF
30781 rm -f conftest.$ac_objext conftest$ac_exeext
30782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30783 (eval $ac_link) 2>conftest.er1
30784 ac_status=$?
30785 grep -v '^ *+' conftest.er1 >conftest.err
30786 rm -f conftest.er1
30787 cat conftest.err >&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } &&
30790 { ac_try='test -z "$ac_c_werror_flag"
30791 || test ! -s conftest.err'
30792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793 (eval $ac_try) 2>&5
30794 ac_status=$?
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; } &&
30797 { ac_try='test -s conftest$ac_exeext'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30800 ac_status=$?
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; }; then
30803 eval "$as_ac_var=yes"
30804 else
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.$ac_ext >&5
30808 eval "$as_ac_var=no"
30810 rm -f conftest.err conftest.$ac_objext \
30811 conftest$ac_exeext conftest.$ac_ext
30813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30815 if test `eval echo '${'$as_ac_var'}'` = yes; then
30816 cat >>confdefs.h <<_ACEOF
30817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30818 _ACEOF
30821 done
30831 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30832 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30833 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30834 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30835 echo $ECHO_N "(cached) $ECHO_C" >&6
30836 else
30840 ac_ext=cc
30841 ac_cpp='$CXXCPP $CPPFLAGS'
30842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30846 cat >conftest.$ac_ext <<_ACEOF
30847 /* confdefs.h. */
30848 _ACEOF
30849 cat confdefs.h >>conftest.$ac_ext
30850 cat >>conftest.$ac_ext <<_ACEOF
30851 /* end confdefs.h. */
30852 #include <math.h>
30854 main ()
30856 atan2l(0, 0);
30858 return 0;
30860 _ACEOF
30861 rm -f conftest.$ac_objext
30862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30863 (eval $ac_compile) 2>conftest.er1
30864 ac_status=$?
30865 grep -v '^ *+' conftest.er1 >conftest.err
30866 rm -f conftest.er1
30867 cat conftest.err >&5
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } &&
30870 { ac_try='test -z "$ac_cxx_werror_flag"
30871 || test ! -s conftest.err'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; } &&
30877 { ac_try='test -s conftest.$ac_objext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30880 ac_status=$?
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883 glibcxx_cv_func_atan2l_use=yes
30884 else
30885 echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30888 glibcxx_cv_func_atan2l_use=no
30890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30891 ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30902 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30904 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30906 for ac_func in atan2l
30908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30909 echo "$as_me:$LINENO: checking for $ac_func" >&5
30910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30911 if eval "test \"\${$as_ac_var+set}\" = set"; then
30912 echo $ECHO_N "(cached) $ECHO_C" >&6
30913 else
30914 if test x$gcc_no_link = xyes; then
30915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30917 { (exit 1); exit 1; }; }
30919 cat >conftest.$ac_ext <<_ACEOF
30920 /* confdefs.h. */
30921 _ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30927 #define $ac_func innocuous_$ac_func
30929 /* System header to define __stub macros and hopefully few prototypes,
30930 which can conflict with char $ac_func (); below.
30931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30932 <limits.h> exists even on freestanding compilers. */
30934 #ifdef __STDC__
30935 # include <limits.h>
30936 #else
30937 # include <assert.h>
30938 #endif
30940 #undef $ac_func
30942 /* Override any gcc2 internal prototype to avoid an error. */
30943 #ifdef __cplusplus
30944 extern "C"
30946 #endif
30947 /* We use char because int might match the return type of a gcc2
30948 builtin and then its argument prototype would still apply. */
30949 char $ac_func ();
30950 /* The GNU C library defines this for functions which it implements
30951 to always fail with ENOSYS. Some functions are actually named
30952 something starting with __ and the normal name is an alias. */
30953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30954 choke me
30955 #else
30956 char (*f) () = $ac_func;
30957 #endif
30958 #ifdef __cplusplus
30960 #endif
30963 main ()
30965 return f != $ac_func;
30967 return 0;
30969 _ACEOF
30970 rm -f conftest.$ac_objext conftest$ac_exeext
30971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30972 (eval $ac_link) 2>conftest.er1
30973 ac_status=$?
30974 grep -v '^ *+' conftest.er1 >conftest.err
30975 rm -f conftest.er1
30976 cat conftest.err >&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } &&
30979 { ac_try='test -z "$ac_c_werror_flag"
30980 || test ! -s conftest.err'
30981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982 (eval $ac_try) 2>&5
30983 ac_status=$?
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); }; } &&
30986 { ac_try='test -s conftest$ac_exeext'
30987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988 (eval $ac_try) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); }; }; then
30992 eval "$as_ac_var=yes"
30993 else
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30997 eval "$as_ac_var=no"
30999 rm -f conftest.err conftest.$ac_objext \
31000 conftest$ac_exeext conftest.$ac_ext
31002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31004 if test `eval echo '${'$as_ac_var'}'` = yes; then
31005 cat >>confdefs.h <<_ACEOF
31006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31007 _ACEOF
31010 done
31012 else
31014 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31015 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31016 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31017 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31023 ac_ext=cc
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31029 cat >conftest.$ac_ext <<_ACEOF
31030 /* confdefs.h. */
31031 _ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035 #include <math.h>
31037 main ()
31039 _atan2l(0, 0);
31041 return 0;
31043 _ACEOF
31044 rm -f conftest.$ac_objext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31046 (eval $ac_compile) 2>conftest.er1
31047 ac_status=$?
31048 grep -v '^ *+' conftest.er1 >conftest.err
31049 rm -f conftest.er1
31050 cat conftest.err >&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); } &&
31053 { ac_try='test -z "$ac_cxx_werror_flag"
31054 || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try='test -s conftest.$ac_objext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 glibcxx_cv_func__atan2l_use=yes
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31071 glibcxx_cv_func__atan2l_use=no
31073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31074 ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31085 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31087 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31089 for ac_func in _atan2l
31091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31092 echo "$as_me:$LINENO: checking for $ac_func" >&5
31093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31094 if eval "test \"\${$as_ac_var+set}\" = set"; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 else
31097 if test x$gcc_no_link = xyes; then
31098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31100 { (exit 1); exit 1; }; }
31102 cat >conftest.$ac_ext <<_ACEOF
31103 /* confdefs.h. */
31104 _ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31110 #define $ac_func innocuous_$ac_func
31112 /* System header to define __stub macros and hopefully few prototypes,
31113 which can conflict with char $ac_func (); below.
31114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31115 <limits.h> exists even on freestanding compilers. */
31117 #ifdef __STDC__
31118 # include <limits.h>
31119 #else
31120 # include <assert.h>
31121 #endif
31123 #undef $ac_func
31125 /* Override any gcc2 internal prototype to avoid an error. */
31126 #ifdef __cplusplus
31127 extern "C"
31129 #endif
31130 /* We use char because int might match the return type of a gcc2
31131 builtin and then its argument prototype would still apply. */
31132 char $ac_func ();
31133 /* The GNU C library defines this for functions which it implements
31134 to always fail with ENOSYS. Some functions are actually named
31135 something starting with __ and the normal name is an alias. */
31136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31137 choke me
31138 #else
31139 char (*f) () = $ac_func;
31140 #endif
31141 #ifdef __cplusplus
31143 #endif
31146 main ()
31148 return f != $ac_func;
31150 return 0;
31152 _ACEOF
31153 rm -f conftest.$ac_objext conftest$ac_exeext
31154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31155 (eval $ac_link) 2>conftest.er1
31156 ac_status=$?
31157 grep -v '^ *+' conftest.er1 >conftest.err
31158 rm -f conftest.er1
31159 cat conftest.err >&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } &&
31162 { ac_try='test -z "$ac_c_werror_flag"
31163 || test ! -s conftest.err'
31164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165 (eval $ac_try) 2>&5
31166 ac_status=$?
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); }; } &&
31169 { ac_try='test -s conftest$ac_exeext'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175 eval "$as_ac_var=yes"
31176 else
31177 echo "$as_me: failed program was:" >&5
31178 sed 's/^/| /' conftest.$ac_ext >&5
31180 eval "$as_ac_var=no"
31182 rm -f conftest.err conftest.$ac_objext \
31183 conftest$ac_exeext conftest.$ac_ext
31185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31187 if test `eval echo '${'$as_ac_var'}'` = yes; then
31188 cat >>confdefs.h <<_ACEOF
31189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31190 _ACEOF
31193 done
31203 echo "$as_me:$LINENO: checking for expl declaration" >&5
31204 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31205 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31206 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31208 else
31212 ac_ext=cc
31213 ac_cpp='$CXXCPP $CPPFLAGS'
31214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31218 cat >conftest.$ac_ext <<_ACEOF
31219 /* confdefs.h. */
31220 _ACEOF
31221 cat confdefs.h >>conftest.$ac_ext
31222 cat >>conftest.$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31224 #include <math.h>
31225 #ifdef HAVE_IEEEFP_H
31226 #include <ieeefp.h>
31227 #endif
31230 main ()
31232 expl(0);
31234 return 0;
31236 _ACEOF
31237 rm -f conftest.$ac_objext
31238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31239 (eval $ac_compile) 2>conftest.er1
31240 ac_status=$?
31241 grep -v '^ *+' conftest.er1 >conftest.err
31242 rm -f conftest.er1
31243 cat conftest.err >&5
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); } &&
31246 { ac_try='test -z "$ac_cxx_werror_flag"
31247 || test ! -s conftest.err'
31248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31249 (eval $ac_try) 2>&5
31250 ac_status=$?
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); }; } &&
31253 { ac_try='test -s conftest.$ac_objext'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; }; then
31259 glibcxx_cv_func_expl_use=yes
31260 else
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31264 glibcxx_cv_func_expl_use=no
31266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31267 ac_ext=c
31268 ac_cpp='$CPP $CPPFLAGS'
31269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31278 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31280 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31282 for ac_func in expl
31284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31285 echo "$as_me:$LINENO: checking for $ac_func" >&5
31286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31287 if eval "test \"\${$as_ac_var+set}\" = set"; then
31288 echo $ECHO_N "(cached) $ECHO_C" >&6
31289 else
31290 if test x$gcc_no_link = xyes; then
31291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31293 { (exit 1); exit 1; }; }
31295 cat >conftest.$ac_ext <<_ACEOF
31296 /* confdefs.h. */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31303 #define $ac_func innocuous_$ac_func
31305 /* System header to define __stub macros and hopefully few prototypes,
31306 which can conflict with char $ac_func (); below.
31307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31308 <limits.h> exists even on freestanding compilers. */
31310 #ifdef __STDC__
31311 # include <limits.h>
31312 #else
31313 # include <assert.h>
31314 #endif
31316 #undef $ac_func
31318 /* Override any gcc2 internal prototype to avoid an error. */
31319 #ifdef __cplusplus
31320 extern "C"
31322 #endif
31323 /* We use char because int might match the return type of a gcc2
31324 builtin and then its argument prototype would still apply. */
31325 char $ac_func ();
31326 /* The GNU C library defines this for functions which it implements
31327 to always fail with ENOSYS. Some functions are actually named
31328 something starting with __ and the normal name is an alias. */
31329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31330 choke me
31331 #else
31332 char (*f) () = $ac_func;
31333 #endif
31334 #ifdef __cplusplus
31336 #endif
31339 main ()
31341 return f != $ac_func;
31343 return 0;
31345 _ACEOF
31346 rm -f conftest.$ac_objext conftest$ac_exeext
31347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31348 (eval $ac_link) 2>conftest.er1
31349 ac_status=$?
31350 grep -v '^ *+' conftest.er1 >conftest.err
31351 rm -f conftest.er1
31352 cat conftest.err >&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } &&
31355 { ac_try='test -z "$ac_c_werror_flag"
31356 || test ! -s conftest.err'
31357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358 (eval $ac_try) 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; } &&
31362 { ac_try='test -s conftest$ac_exeext'
31363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31364 (eval $ac_try) 2>&5
31365 ac_status=$?
31366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367 (exit $ac_status); }; }; then
31368 eval "$as_ac_var=yes"
31369 else
31370 echo "$as_me: failed program was:" >&5
31371 sed 's/^/| /' conftest.$ac_ext >&5
31373 eval "$as_ac_var=no"
31375 rm -f conftest.err conftest.$ac_objext \
31376 conftest$ac_exeext conftest.$ac_ext
31378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31380 if test `eval echo '${'$as_ac_var'}'` = yes; then
31381 cat >>confdefs.h <<_ACEOF
31382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31383 _ACEOF
31386 done
31388 else
31390 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31391 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31392 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31393 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31394 echo $ECHO_N "(cached) $ECHO_C" >&6
31395 else
31399 ac_ext=cc
31400 ac_cpp='$CXXCPP $CPPFLAGS'
31401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31405 cat >conftest.$ac_ext <<_ACEOF
31406 /* confdefs.h. */
31407 _ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411 #include <math.h>
31412 #ifdef HAVE_IEEEFP_H
31413 #include <ieeefp.h>
31414 #endif
31417 main ()
31419 _expl(0);
31421 return 0;
31423 _ACEOF
31424 rm -f conftest.$ac_objext
31425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31426 (eval $ac_compile) 2>conftest.er1
31427 ac_status=$?
31428 grep -v '^ *+' conftest.er1 >conftest.err
31429 rm -f conftest.er1
31430 cat conftest.err >&5
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); } &&
31433 { ac_try='test -z "$ac_cxx_werror_flag"
31434 || test ! -s conftest.err'
31435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436 (eval $ac_try) 2>&5
31437 ac_status=$?
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); }; } &&
31440 { ac_try='test -s conftest.$ac_objext'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; }; then
31446 glibcxx_cv_func__expl_use=yes
31447 else
31448 echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31451 glibcxx_cv_func__expl_use=no
31453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31454 ac_ext=c
31455 ac_cpp='$CPP $CPPFLAGS'
31456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31465 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31467 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31469 for ac_func in _expl
31471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31472 echo "$as_me:$LINENO: checking for $ac_func" >&5
31473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31474 if eval "test \"\${$as_ac_var+set}\" = set"; then
31475 echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477 if test x$gcc_no_link = xyes; then
31478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31480 { (exit 1); exit 1; }; }
31482 cat >conftest.$ac_ext <<_ACEOF
31483 /* confdefs.h. */
31484 _ACEOF
31485 cat confdefs.h >>conftest.$ac_ext
31486 cat >>conftest.$ac_ext <<_ACEOF
31487 /* end confdefs.h. */
31488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31490 #define $ac_func innocuous_$ac_func
31492 /* System header to define __stub macros and hopefully few prototypes,
31493 which can conflict with char $ac_func (); below.
31494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31495 <limits.h> exists even on freestanding compilers. */
31497 #ifdef __STDC__
31498 # include <limits.h>
31499 #else
31500 # include <assert.h>
31501 #endif
31503 #undef $ac_func
31505 /* Override any gcc2 internal prototype to avoid an error. */
31506 #ifdef __cplusplus
31507 extern "C"
31509 #endif
31510 /* We use char because int might match the return type of a gcc2
31511 builtin and then its argument prototype would still apply. */
31512 char $ac_func ();
31513 /* The GNU C library defines this for functions which it implements
31514 to always fail with ENOSYS. Some functions are actually named
31515 something starting with __ and the normal name is an alias. */
31516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31517 choke me
31518 #else
31519 char (*f) () = $ac_func;
31520 #endif
31521 #ifdef __cplusplus
31523 #endif
31526 main ()
31528 return f != $ac_func;
31530 return 0;
31532 _ACEOF
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31535 (eval $ac_link) 2>conftest.er1
31536 ac_status=$?
31537 grep -v '^ *+' conftest.er1 >conftest.err
31538 rm -f conftest.er1
31539 cat conftest.err >&5
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); } &&
31542 { ac_try='test -z "$ac_c_werror_flag"
31543 || test ! -s conftest.err'
31544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31545 (eval $ac_try) 2>&5
31546 ac_status=$?
31547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548 (exit $ac_status); }; } &&
31549 { ac_try='test -s conftest$ac_exeext'
31550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551 (eval $ac_try) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); }; }; then
31555 eval "$as_ac_var=yes"
31556 else
31557 echo "$as_me: failed program was:" >&5
31558 sed 's/^/| /' conftest.$ac_ext >&5
31560 eval "$as_ac_var=no"
31562 rm -f conftest.err conftest.$ac_objext \
31563 conftest$ac_exeext conftest.$ac_ext
31565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31567 if test `eval echo '${'$as_ac_var'}'` = yes; then
31568 cat >>confdefs.h <<_ACEOF
31569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31570 _ACEOF
31573 done
31583 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31584 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31585 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31586 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31587 echo $ECHO_N "(cached) $ECHO_C" >&6
31588 else
31592 ac_ext=cc
31593 ac_cpp='$CXXCPP $CPPFLAGS'
31594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31598 cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604 #include <math.h>
31605 #ifdef HAVE_IEEEFP_H
31606 #include <ieeefp.h>
31607 #endif
31610 main ()
31612 fabsl(0);
31614 return 0;
31616 _ACEOF
31617 rm -f conftest.$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619 (eval $ac_compile) 2>conftest.er1
31620 ac_status=$?
31621 grep -v '^ *+' conftest.er1 >conftest.err
31622 rm -f conftest.er1
31623 cat conftest.err >&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } &&
31626 { ac_try='test -z "$ac_cxx_werror_flag"
31627 || test ! -s conftest.err'
31628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31629 (eval $ac_try) 2>&5
31630 ac_status=$?
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); }; } &&
31633 { ac_try='test -s conftest.$ac_objext'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31636 ac_status=$?
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; }; then
31639 glibcxx_cv_func_fabsl_use=yes
31640 else
31641 echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.$ac_ext >&5
31644 glibcxx_cv_func_fabsl_use=no
31646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31647 ac_ext=c
31648 ac_cpp='$CPP $CPPFLAGS'
31649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31658 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31660 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31662 for ac_func in fabsl
31664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31665 echo "$as_me:$LINENO: checking for $ac_func" >&5
31666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31667 if eval "test \"\${$as_ac_var+set}\" = set"; then
31668 echo $ECHO_N "(cached) $ECHO_C" >&6
31669 else
31670 if test x$gcc_no_link = xyes; then
31671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31673 { (exit 1); exit 1; }; }
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31683 #define $ac_func innocuous_$ac_func
31685 /* System header to define __stub macros and hopefully few prototypes,
31686 which can conflict with char $ac_func (); below.
31687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31688 <limits.h> exists even on freestanding compilers. */
31690 #ifdef __STDC__
31691 # include <limits.h>
31692 #else
31693 # include <assert.h>
31694 #endif
31696 #undef $ac_func
31698 /* Override any gcc2 internal prototype to avoid an error. */
31699 #ifdef __cplusplus
31700 extern "C"
31702 #endif
31703 /* We use char because int might match the return type of a gcc2
31704 builtin and then its argument prototype would still apply. */
31705 char $ac_func ();
31706 /* The GNU C library defines this for functions which it implements
31707 to always fail with ENOSYS. Some functions are actually named
31708 something starting with __ and the normal name is an alias. */
31709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31710 choke me
31711 #else
31712 char (*f) () = $ac_func;
31713 #endif
31714 #ifdef __cplusplus
31716 #endif
31719 main ()
31721 return f != $ac_func;
31723 return 0;
31725 _ACEOF
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31728 (eval $ac_link) 2>conftest.er1
31729 ac_status=$?
31730 grep -v '^ *+' conftest.er1 >conftest.err
31731 rm -f conftest.er1
31732 cat conftest.err >&5
31733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734 (exit $ac_status); } &&
31735 { ac_try='test -z "$ac_c_werror_flag"
31736 || test ! -s conftest.err'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31739 ac_status=$?
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; } &&
31742 { ac_try='test -s conftest$ac_exeext'
31743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31744 (eval $ac_try) 2>&5
31745 ac_status=$?
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; }; then
31748 eval "$as_ac_var=yes"
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31753 eval "$as_ac_var=no"
31755 rm -f conftest.err conftest.$ac_objext \
31756 conftest$ac_exeext conftest.$ac_ext
31758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31760 if test `eval echo '${'$as_ac_var'}'` = yes; then
31761 cat >>confdefs.h <<_ACEOF
31762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31763 _ACEOF
31766 done
31768 else
31770 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31771 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31772 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31773 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 else
31779 ac_ext=cc
31780 ac_cpp='$CXXCPP $CPPFLAGS'
31781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31785 cat >conftest.$ac_ext <<_ACEOF
31786 /* confdefs.h. */
31787 _ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h. */
31791 #include <math.h>
31792 #ifdef HAVE_IEEEFP_H
31793 #include <ieeefp.h>
31794 #endif
31797 main ()
31799 _fabsl(0);
31801 return 0;
31803 _ACEOF
31804 rm -f conftest.$ac_objext
31805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31806 (eval $ac_compile) 2>conftest.er1
31807 ac_status=$?
31808 grep -v '^ *+' conftest.er1 >conftest.err
31809 rm -f conftest.er1
31810 cat conftest.err >&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); } &&
31813 { ac_try='test -z "$ac_cxx_werror_flag"
31814 || test ! -s conftest.err'
31815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816 (eval $ac_try) 2>&5
31817 ac_status=$?
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); }; } &&
31820 { ac_try='test -s conftest.$ac_objext'
31821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822 (eval $ac_try) 2>&5
31823 ac_status=$?
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); }; }; then
31826 glibcxx_cv_func__fabsl_use=yes
31827 else
31828 echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.$ac_ext >&5
31831 glibcxx_cv_func__fabsl_use=no
31833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31834 ac_ext=c
31835 ac_cpp='$CPP $CPPFLAGS'
31836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31845 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31847 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31849 for ac_func in _fabsl
31851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31852 echo "$as_me:$LINENO: checking for $ac_func" >&5
31853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31854 if eval "test \"\${$as_ac_var+set}\" = set"; then
31855 echo $ECHO_N "(cached) $ECHO_C" >&6
31856 else
31857 if test x$gcc_no_link = xyes; then
31858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31860 { (exit 1); exit 1; }; }
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31870 #define $ac_func innocuous_$ac_func
31872 /* System header to define __stub macros and hopefully few prototypes,
31873 which can conflict with char $ac_func (); below.
31874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31875 <limits.h> exists even on freestanding compilers. */
31877 #ifdef __STDC__
31878 # include <limits.h>
31879 #else
31880 # include <assert.h>
31881 #endif
31883 #undef $ac_func
31885 /* Override any gcc2 internal prototype to avoid an error. */
31886 #ifdef __cplusplus
31887 extern "C"
31889 #endif
31890 /* We use char because int might match the return type of a gcc2
31891 builtin and then its argument prototype would still apply. */
31892 char $ac_func ();
31893 /* The GNU C library defines this for functions which it implements
31894 to always fail with ENOSYS. Some functions are actually named
31895 something starting with __ and the normal name is an alias. */
31896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31897 choke me
31898 #else
31899 char (*f) () = $ac_func;
31900 #endif
31901 #ifdef __cplusplus
31903 #endif
31906 main ()
31908 return f != $ac_func;
31910 return 0;
31912 _ACEOF
31913 rm -f conftest.$ac_objext conftest$ac_exeext
31914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31915 (eval $ac_link) 2>conftest.er1
31916 ac_status=$?
31917 grep -v '^ *+' conftest.er1 >conftest.err
31918 rm -f conftest.er1
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } &&
31922 { ac_try='test -z "$ac_c_werror_flag"
31923 || test ! -s conftest.err'
31924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31925 (eval $ac_try) 2>&5
31926 ac_status=$?
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); }; } &&
31929 { ac_try='test -s conftest$ac_exeext'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31932 ac_status=$?
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; }; then
31935 eval "$as_ac_var=yes"
31936 else
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31940 eval "$as_ac_var=no"
31942 rm -f conftest.err conftest.$ac_objext \
31943 conftest$ac_exeext conftest.$ac_ext
31945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31947 if test `eval echo '${'$as_ac_var'}'` = yes; then
31948 cat >>confdefs.h <<_ACEOF
31949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31950 _ACEOF
31953 done
31963 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31964 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31965 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31966 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31967 echo $ECHO_N "(cached) $ECHO_C" >&6
31968 else
31972 ac_ext=cc
31973 ac_cpp='$CXXCPP $CPPFLAGS'
31974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31978 cat >conftest.$ac_ext <<_ACEOF
31979 /* confdefs.h. */
31980 _ACEOF
31981 cat confdefs.h >>conftest.$ac_ext
31982 cat >>conftest.$ac_ext <<_ACEOF
31983 /* end confdefs.h. */
31984 #include <math.h>
31986 main ()
31988 fmodl(0, 0);
31990 return 0;
31992 _ACEOF
31993 rm -f conftest.$ac_objext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31995 (eval $ac_compile) 2>conftest.er1
31996 ac_status=$?
31997 grep -v '^ *+' conftest.er1 >conftest.err
31998 rm -f conftest.er1
31999 cat conftest.err >&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } &&
32002 { ac_try='test -z "$ac_cxx_werror_flag"
32003 || test ! -s conftest.err'
32004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005 (eval $ac_try) 2>&5
32006 ac_status=$?
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); }; } &&
32009 { ac_try='test -s conftest.$ac_objext'
32010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011 (eval $ac_try) 2>&5
32012 ac_status=$?
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); }; }; then
32015 glibcxx_cv_func_fmodl_use=yes
32016 else
32017 echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32020 glibcxx_cv_func_fmodl_use=no
32022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32023 ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32034 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32036 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32038 for ac_func in fmodl
32040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32041 echo "$as_me:$LINENO: checking for $ac_func" >&5
32042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32043 if eval "test \"\${$as_ac_var+set}\" = set"; then
32044 echo $ECHO_N "(cached) $ECHO_C" >&6
32045 else
32046 if test x$gcc_no_link = xyes; then
32047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32049 { (exit 1); exit 1; }; }
32051 cat >conftest.$ac_ext <<_ACEOF
32052 /* confdefs.h. */
32053 _ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h. */
32057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32059 #define $ac_func innocuous_$ac_func
32061 /* System header to define __stub macros and hopefully few prototypes,
32062 which can conflict with char $ac_func (); below.
32063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32064 <limits.h> exists even on freestanding compilers. */
32066 #ifdef __STDC__
32067 # include <limits.h>
32068 #else
32069 # include <assert.h>
32070 #endif
32072 #undef $ac_func
32074 /* Override any gcc2 internal prototype to avoid an error. */
32075 #ifdef __cplusplus
32076 extern "C"
32078 #endif
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32081 char $ac_func ();
32082 /* The GNU C library defines this for functions which it implements
32083 to always fail with ENOSYS. Some functions are actually named
32084 something starting with __ and the normal name is an alias. */
32085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32086 choke me
32087 #else
32088 char (*f) () = $ac_func;
32089 #endif
32090 #ifdef __cplusplus
32092 #endif
32095 main ()
32097 return f != $ac_func;
32099 return 0;
32101 _ACEOF
32102 rm -f conftest.$ac_objext conftest$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104 (eval $ac_link) 2>conftest.er1
32105 ac_status=$?
32106 grep -v '^ *+' conftest.er1 >conftest.err
32107 rm -f conftest.er1
32108 cat conftest.err >&5
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); } &&
32111 { ac_try='test -z "$ac_c_werror_flag"
32112 || test ! -s conftest.err'
32113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114 (eval $ac_try) 2>&5
32115 ac_status=$?
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); }; } &&
32118 { ac_try='test -s conftest$ac_exeext'
32119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120 (eval $ac_try) 2>&5
32121 ac_status=$?
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); }; }; then
32124 eval "$as_ac_var=yes"
32125 else
32126 echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32129 eval "$as_ac_var=no"
32131 rm -f conftest.err conftest.$ac_objext \
32132 conftest$ac_exeext conftest.$ac_ext
32134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32136 if test `eval echo '${'$as_ac_var'}'` = yes; then
32137 cat >>confdefs.h <<_ACEOF
32138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32139 _ACEOF
32142 done
32144 else
32146 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32147 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32148 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32149 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32150 echo $ECHO_N "(cached) $ECHO_C" >&6
32151 else
32155 ac_ext=cc
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32161 cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h. */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32167 #include <math.h>
32169 main ()
32171 _fmodl(0, 0);
32173 return 0;
32175 _ACEOF
32176 rm -f conftest.$ac_objext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32178 (eval $ac_compile) 2>conftest.er1
32179 ac_status=$?
32180 grep -v '^ *+' conftest.er1 >conftest.err
32181 rm -f conftest.er1
32182 cat conftest.err >&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } &&
32185 { ac_try='test -z "$ac_cxx_werror_flag"
32186 || test ! -s conftest.err'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; } &&
32192 { ac_try='test -s conftest.$ac_objext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198 glibcxx_cv_func__fmodl_use=yes
32199 else
32200 echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.$ac_ext >&5
32203 glibcxx_cv_func__fmodl_use=no
32205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32206 ac_ext=c
32207 ac_cpp='$CPP $CPPFLAGS'
32208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32217 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32219 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32221 for ac_func in _fmodl
32223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32224 echo "$as_me:$LINENO: checking for $ac_func" >&5
32225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32226 if eval "test \"\${$as_ac_var+set}\" = set"; then
32227 echo $ECHO_N "(cached) $ECHO_C" >&6
32228 else
32229 if test x$gcc_no_link = xyes; then
32230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32232 { (exit 1); exit 1; }; }
32234 cat >conftest.$ac_ext <<_ACEOF
32235 /* confdefs.h. */
32236 _ACEOF
32237 cat confdefs.h >>conftest.$ac_ext
32238 cat >>conftest.$ac_ext <<_ACEOF
32239 /* end confdefs.h. */
32240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32242 #define $ac_func innocuous_$ac_func
32244 /* System header to define __stub macros and hopefully few prototypes,
32245 which can conflict with char $ac_func (); below.
32246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32247 <limits.h> exists even on freestanding compilers. */
32249 #ifdef __STDC__
32250 # include <limits.h>
32251 #else
32252 # include <assert.h>
32253 #endif
32255 #undef $ac_func
32257 /* Override any gcc2 internal prototype to avoid an error. */
32258 #ifdef __cplusplus
32259 extern "C"
32261 #endif
32262 /* We use char because int might match the return type of a gcc2
32263 builtin and then its argument prototype would still apply. */
32264 char $ac_func ();
32265 /* The GNU C library defines this for functions which it implements
32266 to always fail with ENOSYS. Some functions are actually named
32267 something starting with __ and the normal name is an alias. */
32268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269 choke me
32270 #else
32271 char (*f) () = $ac_func;
32272 #endif
32273 #ifdef __cplusplus
32275 #endif
32278 main ()
32280 return f != $ac_func;
32282 return 0;
32284 _ACEOF
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287 (eval $ac_link) 2>conftest.er1
32288 ac_status=$?
32289 grep -v '^ *+' conftest.er1 >conftest.err
32290 rm -f conftest.er1
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } &&
32294 { ac_try='test -z "$ac_c_werror_flag"
32295 || test ! -s conftest.err'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; } &&
32301 { ac_try='test -s conftest$ac_exeext'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; }; then
32307 eval "$as_ac_var=yes"
32308 else
32309 echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32312 eval "$as_ac_var=no"
32314 rm -f conftest.err conftest.$ac_objext \
32315 conftest$ac_exeext conftest.$ac_ext
32317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32319 if test `eval echo '${'$as_ac_var'}'` = yes; then
32320 cat >>confdefs.h <<_ACEOF
32321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32322 _ACEOF
32325 done
32335 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32336 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32337 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32338 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32340 else
32344 ac_ext=cc
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350 cat >conftest.$ac_ext <<_ACEOF
32351 /* confdefs.h. */
32352 _ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #include <math.h>
32358 main ()
32360 frexpl(0, 0);
32362 return 0;
32364 _ACEOF
32365 rm -f conftest.$ac_objext
32366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32367 (eval $ac_compile) 2>conftest.er1
32368 ac_status=$?
32369 grep -v '^ *+' conftest.er1 >conftest.err
32370 rm -f conftest.er1
32371 cat conftest.err >&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); } &&
32374 { ac_try='test -z "$ac_cxx_werror_flag"
32375 || test ! -s conftest.err'
32376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377 (eval $ac_try) 2>&5
32378 ac_status=$?
32379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380 (exit $ac_status); }; } &&
32381 { ac_try='test -s conftest.$ac_objext'
32382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32383 (eval $ac_try) 2>&5
32384 ac_status=$?
32385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 (exit $ac_status); }; }; then
32387 glibcxx_cv_func_frexpl_use=yes
32388 else
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.$ac_ext >&5
32392 glibcxx_cv_func_frexpl_use=no
32394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32395 ac_ext=c
32396 ac_cpp='$CPP $CPPFLAGS'
32397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32406 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32408 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32410 for ac_func in frexpl
32412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32413 echo "$as_me:$LINENO: checking for $ac_func" >&5
32414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32415 if eval "test \"\${$as_ac_var+set}\" = set"; then
32416 echo $ECHO_N "(cached) $ECHO_C" >&6
32417 else
32418 if test x$gcc_no_link = xyes; then
32419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32421 { (exit 1); exit 1; }; }
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h. */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32431 #define $ac_func innocuous_$ac_func
32433 /* System header to define __stub macros and hopefully few prototypes,
32434 which can conflict with char $ac_func (); below.
32435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32436 <limits.h> exists even on freestanding compilers. */
32438 #ifdef __STDC__
32439 # include <limits.h>
32440 #else
32441 # include <assert.h>
32442 #endif
32444 #undef $ac_func
32446 /* Override any gcc2 internal prototype to avoid an error. */
32447 #ifdef __cplusplus
32448 extern "C"
32450 #endif
32451 /* We use char because int might match the return type of a gcc2
32452 builtin and then its argument prototype would still apply. */
32453 char $ac_func ();
32454 /* The GNU C library defines this for functions which it implements
32455 to always fail with ENOSYS. Some functions are actually named
32456 something starting with __ and the normal name is an alias. */
32457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32458 choke me
32459 #else
32460 char (*f) () = $ac_func;
32461 #endif
32462 #ifdef __cplusplus
32464 #endif
32467 main ()
32469 return f != $ac_func;
32471 return 0;
32473 _ACEOF
32474 rm -f conftest.$ac_objext conftest$ac_exeext
32475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32476 (eval $ac_link) 2>conftest.er1
32477 ac_status=$?
32478 grep -v '^ *+' conftest.er1 >conftest.err
32479 rm -f conftest.er1
32480 cat conftest.err >&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } &&
32483 { ac_try='test -z "$ac_c_werror_flag"
32484 || test ! -s conftest.err'
32485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486 (eval $ac_try) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); }; } &&
32490 { ac_try='test -s conftest$ac_exeext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496 eval "$as_ac_var=yes"
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32501 eval "$as_ac_var=no"
32503 rm -f conftest.err conftest.$ac_objext \
32504 conftest$ac_exeext conftest.$ac_ext
32506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32508 if test `eval echo '${'$as_ac_var'}'` = yes; then
32509 cat >>confdefs.h <<_ACEOF
32510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32511 _ACEOF
32514 done
32516 else
32518 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32519 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32520 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32521 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32522 echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32527 ac_ext=cc
32528 ac_cpp='$CXXCPP $CPPFLAGS'
32529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32533 cat >conftest.$ac_ext <<_ACEOF
32534 /* confdefs.h. */
32535 _ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 #include <math.h>
32541 main ()
32543 _frexpl(0, 0);
32545 return 0;
32547 _ACEOF
32548 rm -f conftest.$ac_objext
32549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32550 (eval $ac_compile) 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } &&
32557 { ac_try='test -z "$ac_cxx_werror_flag"
32558 || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32561 ac_status=$?
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try='test -s conftest.$ac_objext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 glibcxx_cv_func__frexpl_use=yes
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32575 glibcxx_cv_func__frexpl_use=no
32577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32578 ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32589 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32591 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32593 for ac_func in _frexpl
32595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32596 echo "$as_me:$LINENO: checking for $ac_func" >&5
32597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32598 if eval "test \"\${$as_ac_var+set}\" = set"; then
32599 echo $ECHO_N "(cached) $ECHO_C" >&6
32600 else
32601 if test x$gcc_no_link = xyes; then
32602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32604 { (exit 1); exit 1; }; }
32606 cat >conftest.$ac_ext <<_ACEOF
32607 /* confdefs.h. */
32608 _ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h. */
32612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32614 #define $ac_func innocuous_$ac_func
32616 /* System header to define __stub macros and hopefully few prototypes,
32617 which can conflict with char $ac_func (); below.
32618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32619 <limits.h> exists even on freestanding compilers. */
32621 #ifdef __STDC__
32622 # include <limits.h>
32623 #else
32624 # include <assert.h>
32625 #endif
32627 #undef $ac_func
32629 /* Override any gcc2 internal prototype to avoid an error. */
32630 #ifdef __cplusplus
32631 extern "C"
32633 #endif
32634 /* We use char because int might match the return type of a gcc2
32635 builtin and then its argument prototype would still apply. */
32636 char $ac_func ();
32637 /* The GNU C library defines this for functions which it implements
32638 to always fail with ENOSYS. Some functions are actually named
32639 something starting with __ and the normal name is an alias. */
32640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32641 choke me
32642 #else
32643 char (*f) () = $ac_func;
32644 #endif
32645 #ifdef __cplusplus
32647 #endif
32650 main ()
32652 return f != $ac_func;
32654 return 0;
32656 _ACEOF
32657 rm -f conftest.$ac_objext conftest$ac_exeext
32658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32659 (eval $ac_link) 2>conftest.er1
32660 ac_status=$?
32661 grep -v '^ *+' conftest.er1 >conftest.err
32662 rm -f conftest.er1
32663 cat conftest.err >&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); } &&
32666 { ac_try='test -z "$ac_c_werror_flag"
32667 || test ! -s conftest.err'
32668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669 (eval $ac_try) 2>&5
32670 ac_status=$?
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; } &&
32673 { ac_try='test -s conftest$ac_exeext'
32674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32675 (eval $ac_try) 2>&5
32676 ac_status=$?
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); }; }; then
32679 eval "$as_ac_var=yes"
32680 else
32681 echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32684 eval "$as_ac_var=no"
32686 rm -f conftest.err conftest.$ac_objext \
32687 conftest$ac_exeext conftest.$ac_ext
32689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32691 if test `eval echo '${'$as_ac_var'}'` = yes; then
32692 cat >>confdefs.h <<_ACEOF
32693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32694 _ACEOF
32697 done
32707 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32708 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32709 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32710 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 else
32716 ac_ext=cc
32717 ac_cpp='$CXXCPP $CPPFLAGS'
32718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32722 cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h. */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 #include <math.h>
32730 main ()
32732 hypotl(0, 0);
32734 return 0;
32736 _ACEOF
32737 rm -f conftest.$ac_objext
32738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32739 (eval $ac_compile) 2>conftest.er1
32740 ac_status=$?
32741 grep -v '^ *+' conftest.er1 >conftest.err
32742 rm -f conftest.er1
32743 cat conftest.err >&5
32744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745 (exit $ac_status); } &&
32746 { ac_try='test -z "$ac_cxx_werror_flag"
32747 || test ! -s conftest.err'
32748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749 (eval $ac_try) 2>&5
32750 ac_status=$?
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); }; } &&
32753 { ac_try='test -s conftest.$ac_objext'
32754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32755 (eval $ac_try) 2>&5
32756 ac_status=$?
32757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758 (exit $ac_status); }; }; then
32759 glibcxx_cv_func_hypotl_use=yes
32760 else
32761 echo "$as_me: failed program was:" >&5
32762 sed 's/^/| /' conftest.$ac_ext >&5
32764 glibcxx_cv_func_hypotl_use=no
32766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32767 ac_ext=c
32768 ac_cpp='$CPP $CPPFLAGS'
32769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32778 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32780 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32782 for ac_func in hypotl
32784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32785 echo "$as_me:$LINENO: checking for $ac_func" >&5
32786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32787 if eval "test \"\${$as_ac_var+set}\" = set"; then
32788 echo $ECHO_N "(cached) $ECHO_C" >&6
32789 else
32790 if test x$gcc_no_link = xyes; then
32791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32793 { (exit 1); exit 1; }; }
32795 cat >conftest.$ac_ext <<_ACEOF
32796 /* confdefs.h. */
32797 _ACEOF
32798 cat confdefs.h >>conftest.$ac_ext
32799 cat >>conftest.$ac_ext <<_ACEOF
32800 /* end confdefs.h. */
32801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32803 #define $ac_func innocuous_$ac_func
32805 /* System header to define __stub macros and hopefully few prototypes,
32806 which can conflict with char $ac_func (); below.
32807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32808 <limits.h> exists even on freestanding compilers. */
32810 #ifdef __STDC__
32811 # include <limits.h>
32812 #else
32813 # include <assert.h>
32814 #endif
32816 #undef $ac_func
32818 /* Override any gcc2 internal prototype to avoid an error. */
32819 #ifdef __cplusplus
32820 extern "C"
32822 #endif
32823 /* We use char because int might match the return type of a gcc2
32824 builtin and then its argument prototype would still apply. */
32825 char $ac_func ();
32826 /* The GNU C library defines this for functions which it implements
32827 to always fail with ENOSYS. Some functions are actually named
32828 something starting with __ and the normal name is an alias. */
32829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32830 choke me
32831 #else
32832 char (*f) () = $ac_func;
32833 #endif
32834 #ifdef __cplusplus
32836 #endif
32839 main ()
32841 return f != $ac_func;
32843 return 0;
32845 _ACEOF
32846 rm -f conftest.$ac_objext conftest$ac_exeext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32848 (eval $ac_link) 2>conftest.er1
32849 ac_status=$?
32850 grep -v '^ *+' conftest.er1 >conftest.err
32851 rm -f conftest.er1
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try='test -z "$ac_c_werror_flag"
32856 || test ! -s conftest.err'
32857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858 (eval $ac_try) 2>&5
32859 ac_status=$?
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); }; } &&
32862 { ac_try='test -s conftest$ac_exeext'
32863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864 (eval $ac_try) 2>&5
32865 ac_status=$?
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); }; }; then
32868 eval "$as_ac_var=yes"
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32873 eval "$as_ac_var=no"
32875 rm -f conftest.err conftest.$ac_objext \
32876 conftest$ac_exeext conftest.$ac_ext
32878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32880 if test `eval echo '${'$as_ac_var'}'` = yes; then
32881 cat >>confdefs.h <<_ACEOF
32882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32883 _ACEOF
32886 done
32888 else
32890 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32891 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32892 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32893 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32899 ac_ext=cc
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat >conftest.$ac_ext <<_ACEOF
32906 /* confdefs.h. */
32907 _ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h. */
32911 #include <math.h>
32913 main ()
32915 _hypotl(0, 0);
32917 return 0;
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32922 (eval $ac_compile) 2>conftest.er1
32923 ac_status=$?
32924 grep -v '^ *+' conftest.er1 >conftest.err
32925 rm -f conftest.er1
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } &&
32929 { ac_try='test -z "$ac_cxx_werror_flag"
32930 || test ! -s conftest.err'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32933 ac_status=$?
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; } &&
32936 { ac_try='test -s conftest.$ac_objext'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; }; then
32942 glibcxx_cv_func__hypotl_use=yes
32943 else
32944 echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32947 glibcxx_cv_func__hypotl_use=no
32949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32950 ac_ext=c
32951 ac_cpp='$CPP $CPPFLAGS'
32952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32961 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32963 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32965 for ac_func in _hypotl
32967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32968 echo "$as_me:$LINENO: checking for $ac_func" >&5
32969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32970 if eval "test \"\${$as_ac_var+set}\" = set"; then
32971 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 else
32973 if test x$gcc_no_link = xyes; then
32974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32976 { (exit 1); exit 1; }; }
32978 cat >conftest.$ac_ext <<_ACEOF
32979 /* confdefs.h. */
32980 _ACEOF
32981 cat confdefs.h >>conftest.$ac_ext
32982 cat >>conftest.$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32986 #define $ac_func innocuous_$ac_func
32988 /* System header to define __stub macros and hopefully few prototypes,
32989 which can conflict with char $ac_func (); below.
32990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32991 <limits.h> exists even on freestanding compilers. */
32993 #ifdef __STDC__
32994 # include <limits.h>
32995 #else
32996 # include <assert.h>
32997 #endif
32999 #undef $ac_func
33001 /* Override any gcc2 internal prototype to avoid an error. */
33002 #ifdef __cplusplus
33003 extern "C"
33005 #endif
33006 /* We use char because int might match the return type of a gcc2
33007 builtin and then its argument prototype would still apply. */
33008 char $ac_func ();
33009 /* The GNU C library defines this for functions which it implements
33010 to always fail with ENOSYS. Some functions are actually named
33011 something starting with __ and the normal name is an alias. */
33012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33013 choke me
33014 #else
33015 char (*f) () = $ac_func;
33016 #endif
33017 #ifdef __cplusplus
33019 #endif
33022 main ()
33024 return f != $ac_func;
33026 return 0;
33028 _ACEOF
33029 rm -f conftest.$ac_objext conftest$ac_exeext
33030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33031 (eval $ac_link) 2>conftest.er1
33032 ac_status=$?
33033 grep -v '^ *+' conftest.er1 >conftest.err
33034 rm -f conftest.er1
33035 cat conftest.err >&5
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); } &&
33038 { ac_try='test -z "$ac_c_werror_flag"
33039 || test ! -s conftest.err'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33042 ac_status=$?
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; } &&
33045 { ac_try='test -s conftest$ac_exeext'
33046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33047 (eval $ac_try) 2>&5
33048 ac_status=$?
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); }; }; then
33051 eval "$as_ac_var=yes"
33052 else
33053 echo "$as_me: failed program was:" >&5
33054 sed 's/^/| /' conftest.$ac_ext >&5
33056 eval "$as_ac_var=no"
33058 rm -f conftest.err conftest.$ac_objext \
33059 conftest$ac_exeext conftest.$ac_ext
33061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33063 if test `eval echo '${'$as_ac_var'}'` = yes; then
33064 cat >>confdefs.h <<_ACEOF
33065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33066 _ACEOF
33069 done
33079 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33080 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33081 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33082 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33088 ac_ext=cc
33089 ac_cpp='$CXXCPP $CPPFLAGS'
33090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33094 cat >conftest.$ac_ext <<_ACEOF
33095 /* confdefs.h. */
33096 _ACEOF
33097 cat confdefs.h >>conftest.$ac_ext
33098 cat >>conftest.$ac_ext <<_ACEOF
33099 /* end confdefs.h. */
33100 #include <math.h>
33102 main ()
33104 ldexpl(0, 0);
33106 return 0;
33108 _ACEOF
33109 rm -f conftest.$ac_objext
33110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33111 (eval $ac_compile) 2>conftest.er1
33112 ac_status=$?
33113 grep -v '^ *+' conftest.er1 >conftest.err
33114 rm -f conftest.er1
33115 cat conftest.err >&5
33116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117 (exit $ac_status); } &&
33118 { ac_try='test -z "$ac_cxx_werror_flag"
33119 || test ! -s conftest.err'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; } &&
33125 { ac_try='test -s conftest.$ac_objext'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; }; then
33131 glibcxx_cv_func_ldexpl_use=yes
33132 else
33133 echo "$as_me: failed program was:" >&5
33134 sed 's/^/| /' conftest.$ac_ext >&5
33136 glibcxx_cv_func_ldexpl_use=no
33138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33139 ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33150 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33152 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33154 for ac_func in ldexpl
33156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33157 echo "$as_me:$LINENO: checking for $ac_func" >&5
33158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33159 if eval "test \"\${$as_ac_var+set}\" = set"; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162 if test x$gcc_no_link = xyes; then
33163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33165 { (exit 1); exit 1; }; }
33167 cat >conftest.$ac_ext <<_ACEOF
33168 /* confdefs.h. */
33169 _ACEOF
33170 cat confdefs.h >>conftest.$ac_ext
33171 cat >>conftest.$ac_ext <<_ACEOF
33172 /* end confdefs.h. */
33173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33175 #define $ac_func innocuous_$ac_func
33177 /* System header to define __stub macros and hopefully few prototypes,
33178 which can conflict with char $ac_func (); below.
33179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33180 <limits.h> exists even on freestanding compilers. */
33182 #ifdef __STDC__
33183 # include <limits.h>
33184 #else
33185 # include <assert.h>
33186 #endif
33188 #undef $ac_func
33190 /* Override any gcc2 internal prototype to avoid an error. */
33191 #ifdef __cplusplus
33192 extern "C"
33194 #endif
33195 /* We use char because int might match the return type of a gcc2
33196 builtin and then its argument prototype would still apply. */
33197 char $ac_func ();
33198 /* The GNU C library defines this for functions which it implements
33199 to always fail with ENOSYS. Some functions are actually named
33200 something starting with __ and the normal name is an alias. */
33201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33202 choke me
33203 #else
33204 char (*f) () = $ac_func;
33205 #endif
33206 #ifdef __cplusplus
33208 #endif
33211 main ()
33213 return f != $ac_func;
33215 return 0;
33217 _ACEOF
33218 rm -f conftest.$ac_objext conftest$ac_exeext
33219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33220 (eval $ac_link) 2>conftest.er1
33221 ac_status=$?
33222 grep -v '^ *+' conftest.er1 >conftest.err
33223 rm -f conftest.er1
33224 cat conftest.err >&5
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); } &&
33227 { ac_try='test -z "$ac_c_werror_flag"
33228 || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest$ac_exeext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 eval "$as_ac_var=yes"
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33245 eval "$as_ac_var=no"
33247 rm -f conftest.err conftest.$ac_objext \
33248 conftest$ac_exeext conftest.$ac_ext
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33252 if test `eval echo '${'$as_ac_var'}'` = yes; then
33253 cat >>confdefs.h <<_ACEOF
33254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33255 _ACEOF
33258 done
33260 else
33262 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33263 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33264 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33265 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33271 ac_ext=cc
33272 ac_cpp='$CXXCPP $CPPFLAGS'
33273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 #include <math.h>
33285 main ()
33287 _ldexpl(0, 0);
33289 return 0;
33291 _ACEOF
33292 rm -f conftest.$ac_objext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33294 (eval $ac_compile) 2>conftest.er1
33295 ac_status=$?
33296 grep -v '^ *+' conftest.er1 >conftest.err
33297 rm -f conftest.er1
33298 cat conftest.err >&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); } &&
33301 { ac_try='test -z "$ac_cxx_werror_flag"
33302 || test ! -s conftest.err'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; } &&
33308 { ac_try='test -s conftest.$ac_objext'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33311 ac_status=$?
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; }; then
33314 glibcxx_cv_func__ldexpl_use=yes
33315 else
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33319 glibcxx_cv_func__ldexpl_use=no
33321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33322 ac_ext=c
33323 ac_cpp='$CPP $CPPFLAGS'
33324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33333 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33335 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33337 for ac_func in _ldexpl
33339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33340 echo "$as_me:$LINENO: checking for $ac_func" >&5
33341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33342 if eval "test \"\${$as_ac_var+set}\" = set"; then
33343 echo $ECHO_N "(cached) $ECHO_C" >&6
33344 else
33345 if test x$gcc_no_link = xyes; then
33346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33348 { (exit 1); exit 1; }; }
33350 cat >conftest.$ac_ext <<_ACEOF
33351 /* confdefs.h. */
33352 _ACEOF
33353 cat confdefs.h >>conftest.$ac_ext
33354 cat >>conftest.$ac_ext <<_ACEOF
33355 /* end confdefs.h. */
33356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33358 #define $ac_func innocuous_$ac_func
33360 /* System header to define __stub macros and hopefully few prototypes,
33361 which can conflict with char $ac_func (); below.
33362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33363 <limits.h> exists even on freestanding compilers. */
33365 #ifdef __STDC__
33366 # include <limits.h>
33367 #else
33368 # include <assert.h>
33369 #endif
33371 #undef $ac_func
33373 /* Override any gcc2 internal prototype to avoid an error. */
33374 #ifdef __cplusplus
33375 extern "C"
33377 #endif
33378 /* We use char because int might match the return type of a gcc2
33379 builtin and then its argument prototype would still apply. */
33380 char $ac_func ();
33381 /* The GNU C library defines this for functions which it implements
33382 to always fail with ENOSYS. Some functions are actually named
33383 something starting with __ and the normal name is an alias. */
33384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33385 choke me
33386 #else
33387 char (*f) () = $ac_func;
33388 #endif
33389 #ifdef __cplusplus
33391 #endif
33394 main ()
33396 return f != $ac_func;
33398 return 0;
33400 _ACEOF
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33403 (eval $ac_link) 2>conftest.er1
33404 ac_status=$?
33405 grep -v '^ *+' conftest.er1 >conftest.err
33406 rm -f conftest.er1
33407 cat conftest.err >&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); } &&
33410 { ac_try='test -z "$ac_c_werror_flag"
33411 || test ! -s conftest.err'
33412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33413 (eval $ac_try) 2>&5
33414 ac_status=$?
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); }; } &&
33417 { ac_try='test -s conftest$ac_exeext'
33418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419 (eval $ac_try) 2>&5
33420 ac_status=$?
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); }; }; then
33423 eval "$as_ac_var=yes"
33424 else
33425 echo "$as_me: failed program was:" >&5
33426 sed 's/^/| /' conftest.$ac_ext >&5
33428 eval "$as_ac_var=no"
33430 rm -f conftest.err conftest.$ac_objext \
33431 conftest$ac_exeext conftest.$ac_ext
33433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33435 if test `eval echo '${'$as_ac_var'}'` = yes; then
33436 cat >>confdefs.h <<_ACEOF
33437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33438 _ACEOF
33441 done
33451 echo "$as_me:$LINENO: checking for logl declaration" >&5
33452 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33453 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33454 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33455 echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33460 ac_ext=cc
33461 ac_cpp='$CXXCPP $CPPFLAGS'
33462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33466 cat >conftest.$ac_ext <<_ACEOF
33467 /* confdefs.h. */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33472 #include <math.h>
33473 #ifdef HAVE_IEEEFP_H
33474 #include <ieeefp.h>
33475 #endif
33478 main ()
33480 logl(0);
33482 return 0;
33484 _ACEOF
33485 rm -f conftest.$ac_objext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33487 (eval $ac_compile) 2>conftest.er1
33488 ac_status=$?
33489 grep -v '^ *+' conftest.er1 >conftest.err
33490 rm -f conftest.er1
33491 cat conftest.err >&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); } &&
33494 { ac_try='test -z "$ac_cxx_werror_flag"
33495 || test ! -s conftest.err'
33496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497 (eval $ac_try) 2>&5
33498 ac_status=$?
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); }; } &&
33501 { ac_try='test -s conftest.$ac_objext'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; }; then
33507 glibcxx_cv_func_logl_use=yes
33508 else
33509 echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33512 glibcxx_cv_func_logl_use=no
33514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33515 ac_ext=c
33516 ac_cpp='$CPP $CPPFLAGS'
33517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33526 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33528 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33530 for ac_func in logl
33532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33533 echo "$as_me:$LINENO: checking for $ac_func" >&5
33534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33535 if eval "test \"\${$as_ac_var+set}\" = set"; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 else
33538 if test x$gcc_no_link = xyes; then
33539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33541 { (exit 1); exit 1; }; }
33543 cat >conftest.$ac_ext <<_ACEOF
33544 /* confdefs.h. */
33545 _ACEOF
33546 cat confdefs.h >>conftest.$ac_ext
33547 cat >>conftest.$ac_ext <<_ACEOF
33548 /* end confdefs.h. */
33549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33551 #define $ac_func innocuous_$ac_func
33553 /* System header to define __stub macros and hopefully few prototypes,
33554 which can conflict with char $ac_func (); below.
33555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33556 <limits.h> exists even on freestanding compilers. */
33558 #ifdef __STDC__
33559 # include <limits.h>
33560 #else
33561 # include <assert.h>
33562 #endif
33564 #undef $ac_func
33566 /* Override any gcc2 internal prototype to avoid an error. */
33567 #ifdef __cplusplus
33568 extern "C"
33570 #endif
33571 /* We use char because int might match the return type of a gcc2
33572 builtin and then its argument prototype would still apply. */
33573 char $ac_func ();
33574 /* The GNU C library defines this for functions which it implements
33575 to always fail with ENOSYS. Some functions are actually named
33576 something starting with __ and the normal name is an alias. */
33577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33578 choke me
33579 #else
33580 char (*f) () = $ac_func;
33581 #endif
33582 #ifdef __cplusplus
33584 #endif
33587 main ()
33589 return f != $ac_func;
33591 return 0;
33593 _ACEOF
33594 rm -f conftest.$ac_objext conftest$ac_exeext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596 (eval $ac_link) 2>conftest.er1
33597 ac_status=$?
33598 grep -v '^ *+' conftest.er1 >conftest.err
33599 rm -f conftest.er1
33600 cat conftest.err >&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } &&
33603 { ac_try='test -z "$ac_c_werror_flag"
33604 || test ! -s conftest.err'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33607 ac_status=$?
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; } &&
33610 { ac_try='test -s conftest$ac_exeext'
33611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612 (eval $ac_try) 2>&5
33613 ac_status=$?
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); }; }; then
33616 eval "$as_ac_var=yes"
33617 else
33618 echo "$as_me: failed program was:" >&5
33619 sed 's/^/| /' conftest.$ac_ext >&5
33621 eval "$as_ac_var=no"
33623 rm -f conftest.err conftest.$ac_objext \
33624 conftest$ac_exeext conftest.$ac_ext
33626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33628 if test `eval echo '${'$as_ac_var'}'` = yes; then
33629 cat >>confdefs.h <<_ACEOF
33630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33631 _ACEOF
33634 done
33636 else
33638 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33639 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33640 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33641 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33647 ac_ext=cc
33648 ac_cpp='$CXXCPP $CPPFLAGS'
33649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33653 cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h. */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h. */
33659 #include <math.h>
33660 #ifdef HAVE_IEEEFP_H
33661 #include <ieeefp.h>
33662 #endif
33665 main ()
33667 _logl(0);
33669 return 0;
33671 _ACEOF
33672 rm -f conftest.$ac_objext
33673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33674 (eval $ac_compile) 2>conftest.er1
33675 ac_status=$?
33676 grep -v '^ *+' conftest.er1 >conftest.err
33677 rm -f conftest.er1
33678 cat conftest.err >&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); } &&
33681 { ac_try='test -z "$ac_cxx_werror_flag"
33682 || test ! -s conftest.err'
33683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684 (eval $ac_try) 2>&5
33685 ac_status=$?
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; } &&
33688 { ac_try='test -s conftest.$ac_objext'
33689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690 (eval $ac_try) 2>&5
33691 ac_status=$?
33692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693 (exit $ac_status); }; }; then
33694 glibcxx_cv_func__logl_use=yes
33695 else
33696 echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33699 glibcxx_cv_func__logl_use=no
33701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33702 ac_ext=c
33703 ac_cpp='$CPP $CPPFLAGS'
33704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33713 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33715 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33717 for ac_func in _logl
33719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33720 echo "$as_me:$LINENO: checking for $ac_func" >&5
33721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33722 if eval "test \"\${$as_ac_var+set}\" = set"; then
33723 echo $ECHO_N "(cached) $ECHO_C" >&6
33724 else
33725 if test x$gcc_no_link = xyes; then
33726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33728 { (exit 1); exit 1; }; }
33730 cat >conftest.$ac_ext <<_ACEOF
33731 /* confdefs.h. */
33732 _ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h. */
33736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33738 #define $ac_func innocuous_$ac_func
33740 /* System header to define __stub macros and hopefully few prototypes,
33741 which can conflict with char $ac_func (); below.
33742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33743 <limits.h> exists even on freestanding compilers. */
33745 #ifdef __STDC__
33746 # include <limits.h>
33747 #else
33748 # include <assert.h>
33749 #endif
33751 #undef $ac_func
33753 /* Override any gcc2 internal prototype to avoid an error. */
33754 #ifdef __cplusplus
33755 extern "C"
33757 #endif
33758 /* We use char because int might match the return type of a gcc2
33759 builtin and then its argument prototype would still apply. */
33760 char $ac_func ();
33761 /* The GNU C library defines this for functions which it implements
33762 to always fail with ENOSYS. Some functions are actually named
33763 something starting with __ and the normal name is an alias. */
33764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33765 choke me
33766 #else
33767 char (*f) () = $ac_func;
33768 #endif
33769 #ifdef __cplusplus
33771 #endif
33774 main ()
33776 return f != $ac_func;
33778 return 0;
33780 _ACEOF
33781 rm -f conftest.$ac_objext conftest$ac_exeext
33782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33783 (eval $ac_link) 2>conftest.er1
33784 ac_status=$?
33785 grep -v '^ *+' conftest.er1 >conftest.err
33786 rm -f conftest.er1
33787 cat conftest.err >&5
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); } &&
33790 { ac_try='test -z "$ac_c_werror_flag"
33791 || test ! -s conftest.err'
33792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793 (eval $ac_try) 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); }; } &&
33797 { ac_try='test -s conftest$ac_exeext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 eval "$as_ac_var=yes"
33804 else
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33808 eval "$as_ac_var=no"
33810 rm -f conftest.err conftest.$ac_objext \
33811 conftest$ac_exeext conftest.$ac_ext
33813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33815 if test `eval echo '${'$as_ac_var'}'` = yes; then
33816 cat >>confdefs.h <<_ACEOF
33817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33818 _ACEOF
33821 done
33831 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33832 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33833 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33834 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33835 echo $ECHO_N "(cached) $ECHO_C" >&6
33836 else
33840 ac_ext=cc
33841 ac_cpp='$CXXCPP $CPPFLAGS'
33842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33846 cat >conftest.$ac_ext <<_ACEOF
33847 /* confdefs.h. */
33848 _ACEOF
33849 cat confdefs.h >>conftest.$ac_ext
33850 cat >>conftest.$ac_ext <<_ACEOF
33851 /* end confdefs.h. */
33852 #include <math.h>
33853 #ifdef HAVE_IEEEFP_H
33854 #include <ieeefp.h>
33855 #endif
33858 main ()
33860 log10l(0);
33862 return 0;
33864 _ACEOF
33865 rm -f conftest.$ac_objext
33866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33867 (eval $ac_compile) 2>conftest.er1
33868 ac_status=$?
33869 grep -v '^ *+' conftest.er1 >conftest.err
33870 rm -f conftest.er1
33871 cat conftest.err >&5
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); } &&
33874 { ac_try='test -z "$ac_cxx_werror_flag"
33875 || test ! -s conftest.err'
33876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877 (eval $ac_try) 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); }; } &&
33881 { ac_try='test -s conftest.$ac_objext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 glibcxx_cv_func_log10l_use=yes
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33892 glibcxx_cv_func_log10l_use=no
33894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33895 ac_ext=c
33896 ac_cpp='$CPP $CPPFLAGS'
33897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33906 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33908 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33910 for ac_func in log10l
33912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33913 echo "$as_me:$LINENO: checking for $ac_func" >&5
33914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33915 if eval "test \"\${$as_ac_var+set}\" = set"; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33918 if test x$gcc_no_link = xyes; then
33919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33921 { (exit 1); exit 1; }; }
33923 cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h. */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h. */
33929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33931 #define $ac_func innocuous_$ac_func
33933 /* System header to define __stub macros and hopefully few prototypes,
33934 which can conflict with char $ac_func (); below.
33935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936 <limits.h> exists even on freestanding compilers. */
33938 #ifdef __STDC__
33939 # include <limits.h>
33940 #else
33941 # include <assert.h>
33942 #endif
33944 #undef $ac_func
33946 /* Override any gcc2 internal prototype to avoid an error. */
33947 #ifdef __cplusplus
33948 extern "C"
33950 #endif
33951 /* We use char because int might match the return type of a gcc2
33952 builtin and then its argument prototype would still apply. */
33953 char $ac_func ();
33954 /* The GNU C library defines this for functions which it implements
33955 to always fail with ENOSYS. Some functions are actually named
33956 something starting with __ and the normal name is an alias. */
33957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33958 choke me
33959 #else
33960 char (*f) () = $ac_func;
33961 #endif
33962 #ifdef __cplusplus
33964 #endif
33967 main ()
33969 return f != $ac_func;
33971 return 0;
33973 _ACEOF
33974 rm -f conftest.$ac_objext conftest$ac_exeext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33976 (eval $ac_link) 2>conftest.er1
33977 ac_status=$?
33978 grep -v '^ *+' conftest.er1 >conftest.err
33979 rm -f conftest.er1
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_c_werror_flag"
33984 || test ! -s conftest.err'
33985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986 (eval $ac_try) 2>&5
33987 ac_status=$?
33988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989 (exit $ac_status); }; } &&
33990 { ac_try='test -s conftest$ac_exeext'
33991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992 (eval $ac_try) 2>&5
33993 ac_status=$?
33994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995 (exit $ac_status); }; }; then
33996 eval "$as_ac_var=yes"
33997 else
33998 echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34001 eval "$as_ac_var=no"
34003 rm -f conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34008 if test `eval echo '${'$as_ac_var'}'` = yes; then
34009 cat >>confdefs.h <<_ACEOF
34010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34011 _ACEOF
34014 done
34016 else
34018 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34019 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34020 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34021 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34027 ac_ext=cc
34028 ac_cpp='$CXXCPP $CPPFLAGS'
34029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34033 cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h. */
34035 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h. */
34039 #include <math.h>
34040 #ifdef HAVE_IEEEFP_H
34041 #include <ieeefp.h>
34042 #endif
34045 main ()
34047 _log10l(0);
34049 return 0;
34051 _ACEOF
34052 rm -f conftest.$ac_objext
34053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34054 (eval $ac_compile) 2>conftest.er1
34055 ac_status=$?
34056 grep -v '^ *+' conftest.er1 >conftest.err
34057 rm -f conftest.er1
34058 cat conftest.err >&5
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); } &&
34061 { ac_try='test -z "$ac_cxx_werror_flag"
34062 || test ! -s conftest.err'
34063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34064 (eval $ac_try) 2>&5
34065 ac_status=$?
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); }; } &&
34068 { ac_try='test -s conftest.$ac_objext'
34069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34070 (eval $ac_try) 2>&5
34071 ac_status=$?
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); }; }; then
34074 glibcxx_cv_func__log10l_use=yes
34075 else
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34079 glibcxx_cv_func__log10l_use=no
34081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34082 ac_ext=c
34083 ac_cpp='$CPP $CPPFLAGS'
34084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34093 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34095 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34097 for ac_func in _log10l
34099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34100 echo "$as_me:$LINENO: checking for $ac_func" >&5
34101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34102 if eval "test \"\${$as_ac_var+set}\" = set"; then
34103 echo $ECHO_N "(cached) $ECHO_C" >&6
34104 else
34105 if test x$gcc_no_link = xyes; then
34106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34108 { (exit 1); exit 1; }; }
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h. */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34118 #define $ac_func innocuous_$ac_func
34120 /* System header to define __stub macros and hopefully few prototypes,
34121 which can conflict with char $ac_func (); below.
34122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34123 <limits.h> exists even on freestanding compilers. */
34125 #ifdef __STDC__
34126 # include <limits.h>
34127 #else
34128 # include <assert.h>
34129 #endif
34131 #undef $ac_func
34133 /* Override any gcc2 internal prototype to avoid an error. */
34134 #ifdef __cplusplus
34135 extern "C"
34137 #endif
34138 /* We use char because int might match the return type of a gcc2
34139 builtin and then its argument prototype would still apply. */
34140 char $ac_func ();
34141 /* The GNU C library defines this for functions which it implements
34142 to always fail with ENOSYS. Some functions are actually named
34143 something starting with __ and the normal name is an alias. */
34144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34145 choke me
34146 #else
34147 char (*f) () = $ac_func;
34148 #endif
34149 #ifdef __cplusplus
34151 #endif
34154 main ()
34156 return f != $ac_func;
34158 return 0;
34160 _ACEOF
34161 rm -f conftest.$ac_objext conftest$ac_exeext
34162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34163 (eval $ac_link) 2>conftest.er1
34164 ac_status=$?
34165 grep -v '^ *+' conftest.er1 >conftest.err
34166 rm -f conftest.er1
34167 cat conftest.err >&5
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); } &&
34170 { ac_try='test -z "$ac_c_werror_flag"
34171 || test ! -s conftest.err'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34174 ac_status=$?
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; } &&
34177 { ac_try='test -s conftest$ac_exeext'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34180 ac_status=$?
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; }; then
34183 eval "$as_ac_var=yes"
34184 else
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.$ac_ext >&5
34188 eval "$as_ac_var=no"
34190 rm -f conftest.err conftest.$ac_objext \
34191 conftest$ac_exeext conftest.$ac_ext
34193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34195 if test `eval echo '${'$as_ac_var'}'` = yes; then
34196 cat >>confdefs.h <<_ACEOF
34197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34198 _ACEOF
34201 done
34211 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34212 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34213 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34214 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34216 else
34220 ac_ext=cc
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34226 cat >conftest.$ac_ext <<_ACEOF
34227 /* confdefs.h. */
34228 _ACEOF
34229 cat confdefs.h >>conftest.$ac_ext
34230 cat >>conftest.$ac_ext <<_ACEOF
34231 /* end confdefs.h. */
34232 #include <math.h>
34234 main ()
34236 modfl(0, 0);
34238 return 0;
34240 _ACEOF
34241 rm -f conftest.$ac_objext
34242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34243 (eval $ac_compile) 2>conftest.er1
34244 ac_status=$?
34245 grep -v '^ *+' conftest.er1 >conftest.err
34246 rm -f conftest.er1
34247 cat conftest.err >&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } &&
34250 { ac_try='test -z "$ac_cxx_werror_flag"
34251 || test ! -s conftest.err'
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); }; } &&
34257 { ac_try='test -s conftest.$ac_objext'
34258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259 (eval $ac_try) 2>&5
34260 ac_status=$?
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); }; }; then
34263 glibcxx_cv_func_modfl_use=yes
34264 else
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34268 glibcxx_cv_func_modfl_use=no
34270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34271 ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34282 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34284 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34286 for ac_func in modfl
34288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34289 echo "$as_me:$LINENO: checking for $ac_func" >&5
34290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34291 if eval "test \"\${$as_ac_var+set}\" = set"; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294 if test x$gcc_no_link = xyes; then
34295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34297 { (exit 1); exit 1; }; }
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h. */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34307 #define $ac_func innocuous_$ac_func
34309 /* System header to define __stub macros and hopefully few prototypes,
34310 which can conflict with char $ac_func (); below.
34311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34312 <limits.h> exists even on freestanding compilers. */
34314 #ifdef __STDC__
34315 # include <limits.h>
34316 #else
34317 # include <assert.h>
34318 #endif
34320 #undef $ac_func
34322 /* Override any gcc2 internal prototype to avoid an error. */
34323 #ifdef __cplusplus
34324 extern "C"
34326 #endif
34327 /* We use char because int might match the return type of a gcc2
34328 builtin and then its argument prototype would still apply. */
34329 char $ac_func ();
34330 /* The GNU C library defines this for functions which it implements
34331 to always fail with ENOSYS. Some functions are actually named
34332 something starting with __ and the normal name is an alias. */
34333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34334 choke me
34335 #else
34336 char (*f) () = $ac_func;
34337 #endif
34338 #ifdef __cplusplus
34340 #endif
34343 main ()
34345 return f != $ac_func;
34347 return 0;
34349 _ACEOF
34350 rm -f conftest.$ac_objext conftest$ac_exeext
34351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34352 (eval $ac_link) 2>conftest.er1
34353 ac_status=$?
34354 grep -v '^ *+' conftest.er1 >conftest.err
34355 rm -f conftest.er1
34356 cat conftest.err >&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } &&
34359 { ac_try='test -z "$ac_c_werror_flag"
34360 || test ! -s conftest.err'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34363 ac_status=$?
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; } &&
34366 { ac_try='test -s conftest$ac_exeext'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34369 ac_status=$?
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; }; then
34372 eval "$as_ac_var=yes"
34373 else
34374 echo "$as_me: failed program was:" >&5
34375 sed 's/^/| /' conftest.$ac_ext >&5
34377 eval "$as_ac_var=no"
34379 rm -f conftest.err conftest.$ac_objext \
34380 conftest$ac_exeext conftest.$ac_ext
34382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34384 if test `eval echo '${'$as_ac_var'}'` = yes; then
34385 cat >>confdefs.h <<_ACEOF
34386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34387 _ACEOF
34390 done
34392 else
34394 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34395 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34396 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34397 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34398 echo $ECHO_N "(cached) $ECHO_C" >&6
34399 else
34403 ac_ext=cc
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34409 cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h. */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34415 #include <math.h>
34417 main ()
34419 _modfl(0, 0);
34421 return 0;
34423 _ACEOF
34424 rm -f conftest.$ac_objext
34425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34426 (eval $ac_compile) 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } &&
34433 { ac_try='test -z "$ac_cxx_werror_flag"
34434 || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34437 ac_status=$?
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try='test -s conftest.$ac_objext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34443 ac_status=$?
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 glibcxx_cv_func__modfl_use=yes
34447 else
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34451 glibcxx_cv_func__modfl_use=no
34453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34454 ac_ext=c
34455 ac_cpp='$CPP $CPPFLAGS'
34456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34465 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34467 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34469 for ac_func in _modfl
34471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34472 echo "$as_me:$LINENO: checking for $ac_func" >&5
34473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34474 if eval "test \"\${$as_ac_var+set}\" = set"; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34476 else
34477 if test x$gcc_no_link = xyes; then
34478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34480 { (exit 1); exit 1; }; }
34482 cat >conftest.$ac_ext <<_ACEOF
34483 /* confdefs.h. */
34484 _ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34490 #define $ac_func innocuous_$ac_func
34492 /* System header to define __stub macros and hopefully few prototypes,
34493 which can conflict with char $ac_func (); below.
34494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34495 <limits.h> exists even on freestanding compilers. */
34497 #ifdef __STDC__
34498 # include <limits.h>
34499 #else
34500 # include <assert.h>
34501 #endif
34503 #undef $ac_func
34505 /* Override any gcc2 internal prototype to avoid an error. */
34506 #ifdef __cplusplus
34507 extern "C"
34509 #endif
34510 /* We use char because int might match the return type of a gcc2
34511 builtin and then its argument prototype would still apply. */
34512 char $ac_func ();
34513 /* The GNU C library defines this for functions which it implements
34514 to always fail with ENOSYS. Some functions are actually named
34515 something starting with __ and the normal name is an alias. */
34516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34517 choke me
34518 #else
34519 char (*f) () = $ac_func;
34520 #endif
34521 #ifdef __cplusplus
34523 #endif
34526 main ()
34528 return f != $ac_func;
34530 return 0;
34532 _ACEOF
34533 rm -f conftest.$ac_objext conftest$ac_exeext
34534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34535 (eval $ac_link) 2>conftest.er1
34536 ac_status=$?
34537 grep -v '^ *+' conftest.er1 >conftest.err
34538 rm -f conftest.er1
34539 cat conftest.err >&5
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); } &&
34542 { ac_try='test -z "$ac_c_werror_flag"
34543 || test ! -s conftest.err'
34544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34545 (eval $ac_try) 2>&5
34546 ac_status=$?
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); }; } &&
34549 { ac_try='test -s conftest$ac_exeext'
34550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551 (eval $ac_try) 2>&5
34552 ac_status=$?
34553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554 (exit $ac_status); }; }; then
34555 eval "$as_ac_var=yes"
34556 else
34557 echo "$as_me: failed program was:" >&5
34558 sed 's/^/| /' conftest.$ac_ext >&5
34560 eval "$as_ac_var=no"
34562 rm -f conftest.err conftest.$ac_objext \
34563 conftest$ac_exeext conftest.$ac_ext
34565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34567 if test `eval echo '${'$as_ac_var'}'` = yes; then
34568 cat >>confdefs.h <<_ACEOF
34569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34570 _ACEOF
34573 done
34583 echo "$as_me:$LINENO: checking for powl declaration" >&5
34584 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34585 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34586 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34587 echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34592 ac_ext=cc
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34598 cat >conftest.$ac_ext <<_ACEOF
34599 /* confdefs.h. */
34600 _ACEOF
34601 cat confdefs.h >>conftest.$ac_ext
34602 cat >>conftest.$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34604 #include <math.h>
34606 main ()
34608 powl(0, 0);
34610 return 0;
34612 _ACEOF
34613 rm -f conftest.$ac_objext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34615 (eval $ac_compile) 2>conftest.er1
34616 ac_status=$?
34617 grep -v '^ *+' conftest.er1 >conftest.err
34618 rm -f conftest.er1
34619 cat conftest.err >&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try='test -z "$ac_cxx_werror_flag"
34623 || test ! -s conftest.err'
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); }; } &&
34629 { ac_try='test -s conftest.$ac_objext'
34630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631 (eval $ac_try) 2>&5
34632 ac_status=$?
34633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634 (exit $ac_status); }; }; then
34635 glibcxx_cv_func_powl_use=yes
34636 else
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.$ac_ext >&5
34640 glibcxx_cv_func_powl_use=no
34642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34643 ac_ext=c
34644 ac_cpp='$CPP $CPPFLAGS'
34645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34654 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34656 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34658 for ac_func in powl
34660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34661 echo "$as_me:$LINENO: checking for $ac_func" >&5
34662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34663 if eval "test \"\${$as_ac_var+set}\" = set"; then
34664 echo $ECHO_N "(cached) $ECHO_C" >&6
34665 else
34666 if test x$gcc_no_link = xyes; then
34667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34669 { (exit 1); exit 1; }; }
34671 cat >conftest.$ac_ext <<_ACEOF
34672 /* confdefs.h. */
34673 _ACEOF
34674 cat confdefs.h >>conftest.$ac_ext
34675 cat >>conftest.$ac_ext <<_ACEOF
34676 /* end confdefs.h. */
34677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34679 #define $ac_func innocuous_$ac_func
34681 /* System header to define __stub macros and hopefully few prototypes,
34682 which can conflict with char $ac_func (); below.
34683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34684 <limits.h> exists even on freestanding compilers. */
34686 #ifdef __STDC__
34687 # include <limits.h>
34688 #else
34689 # include <assert.h>
34690 #endif
34692 #undef $ac_func
34694 /* Override any gcc2 internal prototype to avoid an error. */
34695 #ifdef __cplusplus
34696 extern "C"
34698 #endif
34699 /* We use char because int might match the return type of a gcc2
34700 builtin and then its argument prototype would still apply. */
34701 char $ac_func ();
34702 /* The GNU C library defines this for functions which it implements
34703 to always fail with ENOSYS. Some functions are actually named
34704 something starting with __ and the normal name is an alias. */
34705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34706 choke me
34707 #else
34708 char (*f) () = $ac_func;
34709 #endif
34710 #ifdef __cplusplus
34712 #endif
34715 main ()
34717 return f != $ac_func;
34719 return 0;
34721 _ACEOF
34722 rm -f conftest.$ac_objext conftest$ac_exeext
34723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34724 (eval $ac_link) 2>conftest.er1
34725 ac_status=$?
34726 grep -v '^ *+' conftest.er1 >conftest.err
34727 rm -f conftest.er1
34728 cat conftest.err >&5
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); } &&
34731 { ac_try='test -z "$ac_c_werror_flag"
34732 || test ! -s conftest.err'
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); }; } &&
34738 { ac_try='test -s conftest$ac_exeext'
34739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740 (eval $ac_try) 2>&5
34741 ac_status=$?
34742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743 (exit $ac_status); }; }; then
34744 eval "$as_ac_var=yes"
34745 else
34746 echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34749 eval "$as_ac_var=no"
34751 rm -f conftest.err conftest.$ac_objext \
34752 conftest$ac_exeext conftest.$ac_ext
34754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34756 if test `eval echo '${'$as_ac_var'}'` = yes; then
34757 cat >>confdefs.h <<_ACEOF
34758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34759 _ACEOF
34762 done
34764 else
34766 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34767 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34768 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34769 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34770 echo $ECHO_N "(cached) $ECHO_C" >&6
34771 else
34775 ac_ext=cc
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34781 cat >conftest.$ac_ext <<_ACEOF
34782 /* confdefs.h. */
34783 _ACEOF
34784 cat confdefs.h >>conftest.$ac_ext
34785 cat >>conftest.$ac_ext <<_ACEOF
34786 /* end confdefs.h. */
34787 #include <math.h>
34789 main ()
34791 _powl(0, 0);
34793 return 0;
34795 _ACEOF
34796 rm -f conftest.$ac_objext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34798 (eval $ac_compile) 2>conftest.er1
34799 ac_status=$?
34800 grep -v '^ *+' conftest.er1 >conftest.err
34801 rm -f conftest.er1
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } &&
34805 { ac_try='test -z "$ac_cxx_werror_flag"
34806 || test ! -s conftest.err'
34807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808 (eval $ac_try) 2>&5
34809 ac_status=$?
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); }; } &&
34812 { ac_try='test -s conftest.$ac_objext'
34813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814 (eval $ac_try) 2>&5
34815 ac_status=$?
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; }; then
34818 glibcxx_cv_func__powl_use=yes
34819 else
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34823 glibcxx_cv_func__powl_use=no
34825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34826 ac_ext=c
34827 ac_cpp='$CPP $CPPFLAGS'
34828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34837 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34839 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34841 for ac_func in _powl
34843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34844 echo "$as_me:$LINENO: checking for $ac_func" >&5
34845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34846 if eval "test \"\${$as_ac_var+set}\" = set"; then
34847 echo $ECHO_N "(cached) $ECHO_C" >&6
34848 else
34849 if test x$gcc_no_link = xyes; then
34850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34852 { (exit 1); exit 1; }; }
34854 cat >conftest.$ac_ext <<_ACEOF
34855 /* confdefs.h. */
34856 _ACEOF
34857 cat confdefs.h >>conftest.$ac_ext
34858 cat >>conftest.$ac_ext <<_ACEOF
34859 /* end confdefs.h. */
34860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34862 #define $ac_func innocuous_$ac_func
34864 /* System header to define __stub macros and hopefully few prototypes,
34865 which can conflict with char $ac_func (); below.
34866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34867 <limits.h> exists even on freestanding compilers. */
34869 #ifdef __STDC__
34870 # include <limits.h>
34871 #else
34872 # include <assert.h>
34873 #endif
34875 #undef $ac_func
34877 /* Override any gcc2 internal prototype to avoid an error. */
34878 #ifdef __cplusplus
34879 extern "C"
34881 #endif
34882 /* We use char because int might match the return type of a gcc2
34883 builtin and then its argument prototype would still apply. */
34884 char $ac_func ();
34885 /* The GNU C library defines this for functions which it implements
34886 to always fail with ENOSYS. Some functions are actually named
34887 something starting with __ and the normal name is an alias. */
34888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34889 choke me
34890 #else
34891 char (*f) () = $ac_func;
34892 #endif
34893 #ifdef __cplusplus
34895 #endif
34898 main ()
34900 return f != $ac_func;
34902 return 0;
34904 _ACEOF
34905 rm -f conftest.$ac_objext conftest$ac_exeext
34906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34907 (eval $ac_link) 2>conftest.er1
34908 ac_status=$?
34909 grep -v '^ *+' conftest.er1 >conftest.err
34910 rm -f conftest.er1
34911 cat conftest.err >&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); } &&
34914 { ac_try='test -z "$ac_c_werror_flag"
34915 || test ! -s conftest.err'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34918 ac_status=$?
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; } &&
34921 { ac_try='test -s conftest$ac_exeext'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; }; then
34927 eval "$as_ac_var=yes"
34928 else
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34932 eval "$as_ac_var=no"
34934 rm -f conftest.err conftest.$ac_objext \
34935 conftest$ac_exeext conftest.$ac_ext
34937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34939 if test `eval echo '${'$as_ac_var'}'` = yes; then
34940 cat >>confdefs.h <<_ACEOF
34941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34942 _ACEOF
34945 done
34955 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34956 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34957 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34958 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34964 ac_ext=cc
34965 ac_cpp='$CXXCPP $CPPFLAGS'
34966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34970 cat >conftest.$ac_ext <<_ACEOF
34971 /* confdefs.h. */
34972 _ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h. */
34976 #include <math.h>
34977 #ifdef HAVE_IEEEFP_H
34978 #include <ieeefp.h>
34979 #endif
34982 main ()
34984 sqrtl(0);
34986 return 0;
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34991 (eval $ac_compile) 2>conftest.er1
34992 ac_status=$?
34993 grep -v '^ *+' conftest.er1 >conftest.err
34994 rm -f conftest.er1
34995 cat conftest.err >&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } &&
34998 { ac_try='test -z "$ac_cxx_werror_flag"
34999 || test ! -s conftest.err'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35002 ac_status=$?
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; } &&
35005 { ac_try='test -s conftest.$ac_objext'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35008 ac_status=$?
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; }; then
35011 glibcxx_cv_func_sqrtl_use=yes
35012 else
35013 echo "$as_me: failed program was:" >&5
35014 sed 's/^/| /' conftest.$ac_ext >&5
35016 glibcxx_cv_func_sqrtl_use=no
35018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35019 ac_ext=c
35020 ac_cpp='$CPP $CPPFLAGS'
35021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35030 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35032 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35034 for ac_func in sqrtl
35036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35037 echo "$as_me:$LINENO: checking for $ac_func" >&5
35038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35039 if eval "test \"\${$as_ac_var+set}\" = set"; then
35040 echo $ECHO_N "(cached) $ECHO_C" >&6
35041 else
35042 if test x$gcc_no_link = xyes; then
35043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35045 { (exit 1); exit 1; }; }
35047 cat >conftest.$ac_ext <<_ACEOF
35048 /* confdefs.h. */
35049 _ACEOF
35050 cat confdefs.h >>conftest.$ac_ext
35051 cat >>conftest.$ac_ext <<_ACEOF
35052 /* end confdefs.h. */
35053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35055 #define $ac_func innocuous_$ac_func
35057 /* System header to define __stub macros and hopefully few prototypes,
35058 which can conflict with char $ac_func (); below.
35059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35060 <limits.h> exists even on freestanding compilers. */
35062 #ifdef __STDC__
35063 # include <limits.h>
35064 #else
35065 # include <assert.h>
35066 #endif
35068 #undef $ac_func
35070 /* Override any gcc2 internal prototype to avoid an error. */
35071 #ifdef __cplusplus
35072 extern "C"
35074 #endif
35075 /* We use char because int might match the return type of a gcc2
35076 builtin and then its argument prototype would still apply. */
35077 char $ac_func ();
35078 /* The GNU C library defines this for functions which it implements
35079 to always fail with ENOSYS. Some functions are actually named
35080 something starting with __ and the normal name is an alias. */
35081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35082 choke me
35083 #else
35084 char (*f) () = $ac_func;
35085 #endif
35086 #ifdef __cplusplus
35088 #endif
35091 main ()
35093 return f != $ac_func;
35095 return 0;
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35100 (eval $ac_link) 2>conftest.er1
35101 ac_status=$?
35102 grep -v '^ *+' conftest.er1 >conftest.err
35103 rm -f conftest.er1
35104 cat conftest.err >&5
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } &&
35107 { ac_try='test -z "$ac_c_werror_flag"
35108 || test ! -s conftest.err'
35109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35110 (eval $ac_try) 2>&5
35111 ac_status=$?
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); }; } &&
35114 { ac_try='test -s conftest$ac_exeext'
35115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116 (eval $ac_try) 2>&5
35117 ac_status=$?
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); }; }; then
35120 eval "$as_ac_var=yes"
35121 else
35122 echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35125 eval "$as_ac_var=no"
35127 rm -f conftest.err conftest.$ac_objext \
35128 conftest$ac_exeext conftest.$ac_ext
35130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35132 if test `eval echo '${'$as_ac_var'}'` = yes; then
35133 cat >>confdefs.h <<_ACEOF
35134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35135 _ACEOF
35138 done
35140 else
35142 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35143 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35144 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35145 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35146 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 else
35151 ac_ext=cc
35152 ac_cpp='$CXXCPP $CPPFLAGS'
35153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35157 cat >conftest.$ac_ext <<_ACEOF
35158 /* confdefs.h. */
35159 _ACEOF
35160 cat confdefs.h >>conftest.$ac_ext
35161 cat >>conftest.$ac_ext <<_ACEOF
35162 /* end confdefs.h. */
35163 #include <math.h>
35164 #ifdef HAVE_IEEEFP_H
35165 #include <ieeefp.h>
35166 #endif
35169 main ()
35171 _sqrtl(0);
35173 return 0;
35175 _ACEOF
35176 rm -f conftest.$ac_objext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35178 (eval $ac_compile) 2>conftest.er1
35179 ac_status=$?
35180 grep -v '^ *+' conftest.er1 >conftest.err
35181 rm -f conftest.er1
35182 cat conftest.err >&5
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); } &&
35185 { ac_try='test -z "$ac_cxx_werror_flag"
35186 || test ! -s conftest.err'
35187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188 (eval $ac_try) 2>&5
35189 ac_status=$?
35190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191 (exit $ac_status); }; } &&
35192 { ac_try='test -s conftest.$ac_objext'
35193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194 (eval $ac_try) 2>&5
35195 ac_status=$?
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); }; }; then
35198 glibcxx_cv_func__sqrtl_use=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35203 glibcxx_cv_func__sqrtl_use=no
35205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35206 ac_ext=c
35207 ac_cpp='$CPP $CPPFLAGS'
35208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35217 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35219 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35221 for ac_func in _sqrtl
35223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35224 echo "$as_me:$LINENO: checking for $ac_func" >&5
35225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35226 if eval "test \"\${$as_ac_var+set}\" = set"; then
35227 echo $ECHO_N "(cached) $ECHO_C" >&6
35228 else
35229 if test x$gcc_no_link = xyes; then
35230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35232 { (exit 1); exit 1; }; }
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h. */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h. */
35240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35242 #define $ac_func innocuous_$ac_func
35244 /* System header to define __stub macros and hopefully few prototypes,
35245 which can conflict with char $ac_func (); below.
35246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35247 <limits.h> exists even on freestanding compilers. */
35249 #ifdef __STDC__
35250 # include <limits.h>
35251 #else
35252 # include <assert.h>
35253 #endif
35255 #undef $ac_func
35257 /* Override any gcc2 internal prototype to avoid an error. */
35258 #ifdef __cplusplus
35259 extern "C"
35261 #endif
35262 /* We use char because int might match the return type of a gcc2
35263 builtin and then its argument prototype would still apply. */
35264 char $ac_func ();
35265 /* The GNU C library defines this for functions which it implements
35266 to always fail with ENOSYS. Some functions are actually named
35267 something starting with __ and the normal name is an alias. */
35268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35269 choke me
35270 #else
35271 char (*f) () = $ac_func;
35272 #endif
35273 #ifdef __cplusplus
35275 #endif
35278 main ()
35280 return f != $ac_func;
35282 return 0;
35284 _ACEOF
35285 rm -f conftest.$ac_objext conftest$ac_exeext
35286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35287 (eval $ac_link) 2>conftest.er1
35288 ac_status=$?
35289 grep -v '^ *+' conftest.er1 >conftest.err
35290 rm -f conftest.er1
35291 cat conftest.err >&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); } &&
35294 { ac_try='test -z "$ac_c_werror_flag"
35295 || test ! -s conftest.err'
35296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35297 (eval $ac_try) 2>&5
35298 ac_status=$?
35299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300 (exit $ac_status); }; } &&
35301 { ac_try='test -s conftest$ac_exeext'
35302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35303 (eval $ac_try) 2>&5
35304 ac_status=$?
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); }; }; then
35307 eval "$as_ac_var=yes"
35308 else
35309 echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35312 eval "$as_ac_var=no"
35314 rm -f conftest.err conftest.$ac_objext \
35315 conftest$ac_exeext conftest.$ac_ext
35317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35319 if test `eval echo '${'$as_ac_var'}'` = yes; then
35320 cat >>confdefs.h <<_ACEOF
35321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35322 _ACEOF
35325 done
35335 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35336 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35337 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35338 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35339 echo $ECHO_N "(cached) $ECHO_C" >&6
35340 else
35344 ac_ext=cc
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35350 cat >conftest.$ac_ext <<_ACEOF
35351 /* confdefs.h. */
35352 _ACEOF
35353 cat confdefs.h >>conftest.$ac_ext
35354 cat >>conftest.$ac_ext <<_ACEOF
35355 /* end confdefs.h. */
35356 #include <math.h>
35358 main ()
35360 sincosl(0, 0, 0);
35362 return 0;
35364 _ACEOF
35365 rm -f conftest.$ac_objext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35367 (eval $ac_compile) 2>conftest.er1
35368 ac_status=$?
35369 grep -v '^ *+' conftest.er1 >conftest.err
35370 rm -f conftest.er1
35371 cat conftest.err >&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } &&
35374 { ac_try='test -z "$ac_cxx_werror_flag"
35375 || test ! -s conftest.err'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35378 ac_status=$?
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; } &&
35381 { ac_try='test -s conftest.$ac_objext'
35382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35383 (eval $ac_try) 2>&5
35384 ac_status=$?
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); }; }; then
35387 glibcxx_cv_func_sincosl_use=yes
35388 else
35389 echo "$as_me: failed program was:" >&5
35390 sed 's/^/| /' conftest.$ac_ext >&5
35392 glibcxx_cv_func_sincosl_use=no
35394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35395 ac_ext=c
35396 ac_cpp='$CPP $CPPFLAGS'
35397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35406 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35408 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35410 for ac_func in sincosl
35412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35413 echo "$as_me:$LINENO: checking for $ac_func" >&5
35414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35415 if eval "test \"\${$as_ac_var+set}\" = set"; then
35416 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 else
35418 if test x$gcc_no_link = xyes; then
35419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35421 { (exit 1); exit 1; }; }
35423 cat >conftest.$ac_ext <<_ACEOF
35424 /* confdefs.h. */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35431 #define $ac_func innocuous_$ac_func
35433 /* System header to define __stub macros and hopefully few prototypes,
35434 which can conflict with char $ac_func (); below.
35435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35436 <limits.h> exists even on freestanding compilers. */
35438 #ifdef __STDC__
35439 # include <limits.h>
35440 #else
35441 # include <assert.h>
35442 #endif
35444 #undef $ac_func
35446 /* Override any gcc2 internal prototype to avoid an error. */
35447 #ifdef __cplusplus
35448 extern "C"
35450 #endif
35451 /* We use char because int might match the return type of a gcc2
35452 builtin and then its argument prototype would still apply. */
35453 char $ac_func ();
35454 /* The GNU C library defines this for functions which it implements
35455 to always fail with ENOSYS. Some functions are actually named
35456 something starting with __ and the normal name is an alias. */
35457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35458 choke me
35459 #else
35460 char (*f) () = $ac_func;
35461 #endif
35462 #ifdef __cplusplus
35464 #endif
35467 main ()
35469 return f != $ac_func;
35471 return 0;
35473 _ACEOF
35474 rm -f conftest.$ac_objext conftest$ac_exeext
35475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35476 (eval $ac_link) 2>conftest.er1
35477 ac_status=$?
35478 grep -v '^ *+' conftest.er1 >conftest.err
35479 rm -f conftest.er1
35480 cat conftest.err >&5
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); } &&
35483 { ac_try='test -z "$ac_c_werror_flag"
35484 || test ! -s conftest.err'
35485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486 (eval $ac_try) 2>&5
35487 ac_status=$?
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); }; } &&
35490 { ac_try='test -s conftest$ac_exeext'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35493 ac_status=$?
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; }; then
35496 eval "$as_ac_var=yes"
35497 else
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35501 eval "$as_ac_var=no"
35503 rm -f conftest.err conftest.$ac_objext \
35504 conftest$ac_exeext conftest.$ac_ext
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35508 if test `eval echo '${'$as_ac_var'}'` = yes; then
35509 cat >>confdefs.h <<_ACEOF
35510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35511 _ACEOF
35514 done
35516 else
35518 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35519 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35520 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35521 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35522 echo $ECHO_N "(cached) $ECHO_C" >&6
35523 else
35527 ac_ext=cc
35528 ac_cpp='$CXXCPP $CPPFLAGS'
35529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35533 cat >conftest.$ac_ext <<_ACEOF
35534 /* confdefs.h. */
35535 _ACEOF
35536 cat confdefs.h >>conftest.$ac_ext
35537 cat >>conftest.$ac_ext <<_ACEOF
35538 /* end confdefs.h. */
35539 #include <math.h>
35541 main ()
35543 _sincosl(0, 0, 0);
35545 return 0;
35547 _ACEOF
35548 rm -f conftest.$ac_objext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35550 (eval $ac_compile) 2>conftest.er1
35551 ac_status=$?
35552 grep -v '^ *+' conftest.er1 >conftest.err
35553 rm -f conftest.er1
35554 cat conftest.err >&5
35555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556 (exit $ac_status); } &&
35557 { ac_try='test -z "$ac_cxx_werror_flag"
35558 || test ! -s conftest.err'
35559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560 (eval $ac_try) 2>&5
35561 ac_status=$?
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); }; } &&
35564 { ac_try='test -s conftest.$ac_objext'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35567 ac_status=$?
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; }; then
35570 glibcxx_cv_func__sincosl_use=yes
35571 else
35572 echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35575 glibcxx_cv_func__sincosl_use=no
35577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35578 ac_ext=c
35579 ac_cpp='$CPP $CPPFLAGS'
35580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35589 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35591 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35593 for ac_func in _sincosl
35595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35596 echo "$as_me:$LINENO: checking for $ac_func" >&5
35597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35598 if eval "test \"\${$as_ac_var+set}\" = set"; then
35599 echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601 if test x$gcc_no_link = xyes; then
35602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35604 { (exit 1); exit 1; }; }
35606 cat >conftest.$ac_ext <<_ACEOF
35607 /* confdefs.h. */
35608 _ACEOF
35609 cat confdefs.h >>conftest.$ac_ext
35610 cat >>conftest.$ac_ext <<_ACEOF
35611 /* end confdefs.h. */
35612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35614 #define $ac_func innocuous_$ac_func
35616 /* System header to define __stub macros and hopefully few prototypes,
35617 which can conflict with char $ac_func (); below.
35618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35619 <limits.h> exists even on freestanding compilers. */
35621 #ifdef __STDC__
35622 # include <limits.h>
35623 #else
35624 # include <assert.h>
35625 #endif
35627 #undef $ac_func
35629 /* Override any gcc2 internal prototype to avoid an error. */
35630 #ifdef __cplusplus
35631 extern "C"
35633 #endif
35634 /* We use char because int might match the return type of a gcc2
35635 builtin and then its argument prototype would still apply. */
35636 char $ac_func ();
35637 /* The GNU C library defines this for functions which it implements
35638 to always fail with ENOSYS. Some functions are actually named
35639 something starting with __ and the normal name is an alias. */
35640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35641 choke me
35642 #else
35643 char (*f) () = $ac_func;
35644 #endif
35645 #ifdef __cplusplus
35647 #endif
35650 main ()
35652 return f != $ac_func;
35654 return 0;
35656 _ACEOF
35657 rm -f conftest.$ac_objext conftest$ac_exeext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35659 (eval $ac_link) 2>conftest.er1
35660 ac_status=$?
35661 grep -v '^ *+' conftest.er1 >conftest.err
35662 rm -f conftest.er1
35663 cat conftest.err >&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } &&
35666 { ac_try='test -z "$ac_c_werror_flag"
35667 || test ! -s conftest.err'
35668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669 (eval $ac_try) 2>&5
35670 ac_status=$?
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); }; } &&
35673 { ac_try='test -s conftest$ac_exeext'
35674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 (eval $ac_try) 2>&5
35676 ac_status=$?
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; }; then
35679 eval "$as_ac_var=yes"
35680 else
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35684 eval "$as_ac_var=no"
35686 rm -f conftest.err conftest.$ac_objext \
35687 conftest$ac_exeext conftest.$ac_ext
35689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35691 if test `eval echo '${'$as_ac_var'}'` = yes; then
35692 cat >>confdefs.h <<_ACEOF
35693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35694 _ACEOF
35697 done
35707 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35708 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35709 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35710 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35711 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 else
35716 ac_ext=cc
35717 ac_cpp='$CXXCPP $CPPFLAGS'
35718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 #include <math.h>
35729 #ifdef HAVE_IEEEFP_H
35730 #include <ieeefp.h>
35731 #endif
35734 main ()
35736 finitel(0);
35738 return 0;
35740 _ACEOF
35741 rm -f conftest.$ac_objext
35742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35743 (eval $ac_compile) 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } &&
35750 { ac_try='test -z "$ac_cxx_werror_flag"
35751 || test ! -s conftest.err'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35754 ac_status=$?
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; } &&
35757 { ac_try='test -s conftest.$ac_objext'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; }; then
35763 glibcxx_cv_func_finitel_use=yes
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35768 glibcxx_cv_func_finitel_use=no
35770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35771 ac_ext=c
35772 ac_cpp='$CPP $CPPFLAGS'
35773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35782 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35784 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35786 for ac_func in finitel
35788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35789 echo "$as_me:$LINENO: checking for $ac_func" >&5
35790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35791 if eval "test \"\${$as_ac_var+set}\" = set"; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 else
35794 if test x$gcc_no_link = xyes; then
35795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35797 { (exit 1); exit 1; }; }
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35807 #define $ac_func innocuous_$ac_func
35809 /* System header to define __stub macros and hopefully few prototypes,
35810 which can conflict with char $ac_func (); below.
35811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35812 <limits.h> exists even on freestanding compilers. */
35814 #ifdef __STDC__
35815 # include <limits.h>
35816 #else
35817 # include <assert.h>
35818 #endif
35820 #undef $ac_func
35822 /* Override any gcc2 internal prototype to avoid an error. */
35823 #ifdef __cplusplus
35824 extern "C"
35826 #endif
35827 /* We use char because int might match the return type of a gcc2
35828 builtin and then its argument prototype would still apply. */
35829 char $ac_func ();
35830 /* The GNU C library defines this for functions which it implements
35831 to always fail with ENOSYS. Some functions are actually named
35832 something starting with __ and the normal name is an alias. */
35833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35834 choke me
35835 #else
35836 char (*f) () = $ac_func;
35837 #endif
35838 #ifdef __cplusplus
35840 #endif
35843 main ()
35845 return f != $ac_func;
35847 return 0;
35849 _ACEOF
35850 rm -f conftest.$ac_objext conftest$ac_exeext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35852 (eval $ac_link) 2>conftest.er1
35853 ac_status=$?
35854 grep -v '^ *+' conftest.er1 >conftest.err
35855 rm -f conftest.er1
35856 cat conftest.err >&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } &&
35859 { ac_try='test -z "$ac_c_werror_flag"
35860 || test ! -s conftest.err'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35863 ac_status=$?
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; } &&
35866 { ac_try='test -s conftest$ac_exeext'
35867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868 (eval $ac_try) 2>&5
35869 ac_status=$?
35870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871 (exit $ac_status); }; }; then
35872 eval "$as_ac_var=yes"
35873 else
35874 echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.$ac_ext >&5
35877 eval "$as_ac_var=no"
35879 rm -f conftest.err conftest.$ac_objext \
35880 conftest$ac_exeext conftest.$ac_ext
35882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35884 if test `eval echo '${'$as_ac_var'}'` = yes; then
35885 cat >>confdefs.h <<_ACEOF
35886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35887 _ACEOF
35890 done
35892 else
35894 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35895 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35897 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35903 ac_ext=cc
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909 cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h. */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h. */
35915 #include <math.h>
35916 #ifdef HAVE_IEEEFP_H
35917 #include <ieeefp.h>
35918 #endif
35921 main ()
35923 _finitel(0);
35925 return 0;
35927 _ACEOF
35928 rm -f conftest.$ac_objext
35929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35930 (eval $ac_compile) 2>conftest.er1
35931 ac_status=$?
35932 grep -v '^ *+' conftest.er1 >conftest.err
35933 rm -f conftest.er1
35934 cat conftest.err >&5
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); } &&
35937 { ac_try='test -z "$ac_cxx_werror_flag"
35938 || test ! -s conftest.err'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35941 ac_status=$?
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; } &&
35944 { ac_try='test -s conftest.$ac_objext'
35945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35946 (eval $ac_try) 2>&5
35947 ac_status=$?
35948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949 (exit $ac_status); }; }; then
35950 glibcxx_cv_func__finitel_use=yes
35951 else
35952 echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35955 glibcxx_cv_func__finitel_use=no
35957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35958 ac_ext=c
35959 ac_cpp='$CPP $CPPFLAGS'
35960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35969 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35971 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35973 for ac_func in _finitel
35975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35976 echo "$as_me:$LINENO: checking for $ac_func" >&5
35977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35978 if eval "test \"\${$as_ac_var+set}\" = set"; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 else
35981 if test x$gcc_no_link = xyes; then
35982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35984 { (exit 1); exit 1; }; }
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h. */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35994 #define $ac_func innocuous_$ac_func
35996 /* System header to define __stub macros and hopefully few prototypes,
35997 which can conflict with char $ac_func (); below.
35998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35999 <limits.h> exists even on freestanding compilers. */
36001 #ifdef __STDC__
36002 # include <limits.h>
36003 #else
36004 # include <assert.h>
36005 #endif
36007 #undef $ac_func
36009 /* Override any gcc2 internal prototype to avoid an error. */
36010 #ifdef __cplusplus
36011 extern "C"
36013 #endif
36014 /* We use char because int might match the return type of a gcc2
36015 builtin and then its argument prototype would still apply. */
36016 char $ac_func ();
36017 /* The GNU C library defines this for functions which it implements
36018 to always fail with ENOSYS. Some functions are actually named
36019 something starting with __ and the normal name is an alias. */
36020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36021 choke me
36022 #else
36023 char (*f) () = $ac_func;
36024 #endif
36025 #ifdef __cplusplus
36027 #endif
36030 main ()
36032 return f != $ac_func;
36034 return 0;
36036 _ACEOF
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36039 (eval $ac_link) 2>conftest.er1
36040 ac_status=$?
36041 grep -v '^ *+' conftest.er1 >conftest.err
36042 rm -f conftest.er1
36043 cat conftest.err >&5
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); } &&
36046 { ac_try='test -z "$ac_c_werror_flag"
36047 || test ! -s conftest.err'
36048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36049 (eval $ac_try) 2>&5
36050 ac_status=$?
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); }; } &&
36053 { ac_try='test -s conftest$ac_exeext'
36054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36055 (eval $ac_try) 2>&5
36056 ac_status=$?
36057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36058 (exit $ac_status); }; }; then
36059 eval "$as_ac_var=yes"
36060 else
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36064 eval "$as_ac_var=no"
36066 rm -f conftest.err conftest.$ac_objext \
36067 conftest$ac_exeext conftest.$ac_ext
36069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36071 if test `eval echo '${'$as_ac_var'}'` = yes; then
36072 cat >>confdefs.h <<_ACEOF
36073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36074 _ACEOF
36077 done
36086 LIBS="$ac_save_LIBS"
36087 CXXFLAGS="$ac_save_CXXFLAGS"
36091 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36092 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36093 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36094 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36095 echo $ECHO_N "(cached) $ECHO_C" >&6
36096 else
36100 ac_ext=cc
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106 cat >conftest.$ac_ext <<_ACEOF
36107 /* confdefs.h. */
36108 _ACEOF
36109 cat confdefs.h >>conftest.$ac_ext
36110 cat >>conftest.$ac_ext <<_ACEOF
36111 /* end confdefs.h. */
36112 #include <math.h>
36114 main ()
36116 __builtin_abs(0);
36118 return 0;
36120 _ACEOF
36121 rm -f conftest.$ac_objext
36122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36123 (eval $ac_compile) 2>conftest.er1
36124 ac_status=$?
36125 grep -v '^ *+' conftest.er1 >conftest.err
36126 rm -f conftest.er1
36127 cat conftest.err >&5
36128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129 (exit $ac_status); } &&
36130 { ac_try='test -z "$ac_cxx_werror_flag"
36131 || test ! -s conftest.err'
36132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36133 (eval $ac_try) 2>&5
36134 ac_status=$?
36135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136 (exit $ac_status); }; } &&
36137 { ac_try='test -s conftest.$ac_objext'
36138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139 (eval $ac_try) 2>&5
36140 ac_status=$?
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); }; }; then
36143 glibcxx_cv_func___builtin_abs_use=yes
36144 else
36145 echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36148 glibcxx_cv_func___builtin_abs_use=no
36150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36151 ac_ext=c
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36162 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36163 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36164 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36165 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36166 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36167 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36168 echo $ECHO_N "(cached) $ECHO_C" >&6
36169 else
36171 if test x$gcc_no_link = xyes; then
36172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36174 { (exit 1); exit 1; }; }
36176 cat >conftest.$ac_ext <<_ACEOF
36177 /* confdefs.h. */
36178 _ACEOF
36179 cat confdefs.h >>conftest.$ac_ext
36180 cat >>conftest.$ac_ext <<_ACEOF
36181 /* end confdefs.h. */
36182 #include <math.h>
36184 main ()
36186 __builtin_abs(0);
36188 return 0;
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36193 (eval $ac_link) 2>conftest.er1
36194 ac_status=$?
36195 grep -v '^ *+' conftest.er1 >conftest.err
36196 rm -f conftest.er1
36197 cat conftest.err >&5
36198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199 (exit $ac_status); } &&
36200 { ac_try='test -z "$ac_c_werror_flag"
36201 || test ! -s conftest.err'
36202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36203 (eval $ac_try) 2>&5
36204 ac_status=$?
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); }; } &&
36207 { ac_try='test -s conftest$ac_exeext'
36208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209 (eval $ac_try) 2>&5
36210 ac_status=$?
36211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212 (exit $ac_status); }; }; then
36213 glibcxx_cv_func___builtin_abs_link=yes
36214 else
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36218 glibcxx_cv_func___builtin_abs_link=no
36220 rm -f conftest.err conftest.$ac_objext \
36221 conftest$ac_exeext conftest.$ac_ext
36226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36227 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36229 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE___BUILTIN_ABS 1
36233 _ACEOF
36240 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36241 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36242 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36243 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36244 echo $ECHO_N "(cached) $ECHO_C" >&6
36245 else
36249 ac_ext=cc
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36255 cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 #include <math.h>
36263 main ()
36265 __builtin_fabsf(0);
36267 return 0;
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272 (eval $ac_compile) 2>conftest.er1
36273 ac_status=$?
36274 grep -v '^ *+' conftest.er1 >conftest.err
36275 rm -f conftest.er1
36276 cat conftest.err >&5
36277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 (exit $ac_status); } &&
36279 { ac_try='test -z "$ac_cxx_werror_flag"
36280 || test ! -s conftest.err'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36283 ac_status=$?
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; } &&
36286 { ac_try='test -s conftest.$ac_objext'
36287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288 (eval $ac_try) 2>&5
36289 ac_status=$?
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); }; }; then
36292 glibcxx_cv_func___builtin_fabsf_use=yes
36293 else
36294 echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36297 glibcxx_cv_func___builtin_fabsf_use=no
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300 ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36312 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36313 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36314 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36315 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36316 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36317 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 else
36320 if test x$gcc_no_link = xyes; then
36321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36323 { (exit 1); exit 1; }; }
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331 #include <math.h>
36333 main ()
36335 __builtin_fabsf(0);
36337 return 0;
36339 _ACEOF
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36342 (eval $ac_link) 2>conftest.er1
36343 ac_status=$?
36344 grep -v '^ *+' conftest.er1 >conftest.err
36345 rm -f conftest.er1
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } &&
36349 { ac_try='test -z "$ac_c_werror_flag"
36350 || test ! -s conftest.err'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36353 ac_status=$?
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; } &&
36356 { ac_try='test -s conftest$ac_exeext'
36357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358 (eval $ac_try) 2>&5
36359 ac_status=$?
36360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361 (exit $ac_status); }; }; then
36362 glibcxx_cv_func___builtin_fabsf_link=yes
36363 else
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36367 glibcxx_cv_func___builtin_fabsf_link=no
36369 rm -f conftest.err conftest.$ac_objext \
36370 conftest$ac_exeext conftest.$ac_ext
36375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36376 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36378 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36380 cat >>confdefs.h <<\_ACEOF
36381 #define HAVE___BUILTIN_FABSF 1
36382 _ACEOF
36389 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36390 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36391 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36392 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36393 echo $ECHO_N "(cached) $ECHO_C" >&6
36394 else
36398 ac_ext=cc
36399 ac_cpp='$CXXCPP $CPPFLAGS'
36400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36404 cat >conftest.$ac_ext <<_ACEOF
36405 /* confdefs.h. */
36406 _ACEOF
36407 cat confdefs.h >>conftest.$ac_ext
36408 cat >>conftest.$ac_ext <<_ACEOF
36409 /* end confdefs.h. */
36410 #include <math.h>
36412 main ()
36414 __builtin_fabs(0);
36416 return 0;
36418 _ACEOF
36419 rm -f conftest.$ac_objext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36421 (eval $ac_compile) 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try='test -z "$ac_cxx_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36432 ac_status=$?
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try='test -s conftest.$ac_objext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36438 ac_status=$?
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 glibcxx_cv_func___builtin_fabs_use=yes
36442 else
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36446 glibcxx_cv_func___builtin_fabs_use=no
36448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36449 ac_ext=c
36450 ac_cpp='$CPP $CPPFLAGS'
36451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36460 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36461 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36462 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36463 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36464 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36465 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36466 echo $ECHO_N "(cached) $ECHO_C" >&6
36467 else
36469 if test x$gcc_no_link = xyes; then
36470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36472 { (exit 1); exit 1; }; }
36474 cat >conftest.$ac_ext <<_ACEOF
36475 /* confdefs.h. */
36476 _ACEOF
36477 cat confdefs.h >>conftest.$ac_ext
36478 cat >>conftest.$ac_ext <<_ACEOF
36479 /* end confdefs.h. */
36480 #include <math.h>
36482 main ()
36484 __builtin_fabs(0);
36486 return 0;
36488 _ACEOF
36489 rm -f conftest.$ac_objext conftest$ac_exeext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36491 (eval $ac_link) 2>conftest.er1
36492 ac_status=$?
36493 grep -v '^ *+' conftest.er1 >conftest.err
36494 rm -f conftest.er1
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 (exit $ac_status); } &&
36498 { ac_try='test -z "$ac_c_werror_flag"
36499 || test ! -s conftest.err'
36500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 (eval $ac_try) 2>&5
36502 ac_status=$?
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); }; } &&
36505 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36511 glibcxx_cv_func___builtin_fabs_link=yes
36512 else
36513 echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36516 glibcxx_cv_func___builtin_fabs_link=no
36518 rm -f conftest.err conftest.$ac_objext \
36519 conftest$ac_exeext conftest.$ac_ext
36524 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36525 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36527 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36529 cat >>confdefs.h <<\_ACEOF
36530 #define HAVE___BUILTIN_FABS 1
36531 _ACEOF
36538 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36539 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36540 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36541 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36542 echo $ECHO_N "(cached) $ECHO_C" >&6
36543 else
36547 ac_ext=cc
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
36561 main ()
36563 __builtin_fabsl(0);
36565 return 0;
36567 _ACEOF
36568 rm -f conftest.$ac_objext
36569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36570 (eval $ac_compile) 2>conftest.er1
36571 ac_status=$?
36572 grep -v '^ *+' conftest.er1 >conftest.err
36573 rm -f conftest.er1
36574 cat conftest.err >&5
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); } &&
36577 { ac_try='test -z "$ac_cxx_werror_flag"
36578 || test ! -s conftest.err'
36579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36580 (eval $ac_try) 2>&5
36581 ac_status=$?
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); }; } &&
36584 { ac_try='test -s conftest.$ac_objext'
36585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586 (eval $ac_try) 2>&5
36587 ac_status=$?
36588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589 (exit $ac_status); }; }; then
36590 glibcxx_cv_func___builtin_fabsl_use=yes
36591 else
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36595 glibcxx_cv_func___builtin_fabsl_use=no
36597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36598 ac_ext=c
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36608 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36609 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36610 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36611 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36612 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36613 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36614 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36618 if test x$gcc_no_link = xyes; then
36619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36621 { (exit 1); exit 1; }; }
36623 cat >conftest.$ac_ext <<_ACEOF
36624 /* confdefs.h. */
36625 _ACEOF
36626 cat confdefs.h >>conftest.$ac_ext
36627 cat >>conftest.$ac_ext <<_ACEOF
36628 /* end confdefs.h. */
36629 #include <math.h>
36631 main ()
36633 __builtin_fabsl(0);
36635 return 0;
36637 _ACEOF
36638 rm -f conftest.$ac_objext conftest$ac_exeext
36639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36640 (eval $ac_link) 2>conftest.er1
36641 ac_status=$?
36642 grep -v '^ *+' conftest.er1 >conftest.err
36643 rm -f conftest.er1
36644 cat conftest.err >&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } &&
36647 { ac_try='test -z "$ac_c_werror_flag"
36648 || test ! -s conftest.err'
36649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650 (eval $ac_try) 2>&5
36651 ac_status=$?
36652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653 (exit $ac_status); }; } &&
36654 { ac_try='test -s conftest$ac_exeext'
36655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656 (eval $ac_try) 2>&5
36657 ac_status=$?
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); }; }; then
36660 glibcxx_cv_func___builtin_fabsl_link=yes
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36665 glibcxx_cv_func___builtin_fabsl_link=no
36667 rm -f conftest.err conftest.$ac_objext \
36668 conftest$ac_exeext conftest.$ac_ext
36673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36674 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36676 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36678 cat >>confdefs.h <<\_ACEOF
36679 #define HAVE___BUILTIN_FABSL 1
36680 _ACEOF
36687 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36688 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36689 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36690 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36691 echo $ECHO_N "(cached) $ECHO_C" >&6
36692 else
36696 ac_ext=cc
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36702 cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h. */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708 #include <math.h>
36710 main ()
36712 __builtin_labs(0);
36714 return 0;
36716 _ACEOF
36717 rm -f conftest.$ac_objext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36719 (eval $ac_compile) 2>conftest.er1
36720 ac_status=$?
36721 grep -v '^ *+' conftest.er1 >conftest.err
36722 rm -f conftest.er1
36723 cat conftest.err >&5
36724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725 (exit $ac_status); } &&
36726 { ac_try='test -z "$ac_cxx_werror_flag"
36727 || test ! -s conftest.err'
36728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729 (eval $ac_try) 2>&5
36730 ac_status=$?
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); }; } &&
36733 { ac_try='test -s conftest.$ac_objext'
36734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735 (eval $ac_try) 2>&5
36736 ac_status=$?
36737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738 (exit $ac_status); }; }; then
36739 glibcxx_cv_func___builtin_labs_use=yes
36740 else
36741 echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36744 glibcxx_cv_func___builtin_labs_use=no
36746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36747 ac_ext=c
36748 ac_cpp='$CPP $CPPFLAGS'
36749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36757 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36758 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36759 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36760 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36761 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36762 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36763 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36764 echo $ECHO_N "(cached) $ECHO_C" >&6
36765 else
36767 if test x$gcc_no_link = xyes; then
36768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36770 { (exit 1); exit 1; }; }
36772 cat >conftest.$ac_ext <<_ACEOF
36773 /* confdefs.h. */
36774 _ACEOF
36775 cat confdefs.h >>conftest.$ac_ext
36776 cat >>conftest.$ac_ext <<_ACEOF
36777 /* end confdefs.h. */
36778 #include <math.h>
36780 main ()
36782 __builtin_labs(0);
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 glibcxx_cv_func___builtin_labs_link=yes
36810 else
36811 echo "$as_me: failed program was:" >&5
36812 sed 's/^/| /' conftest.$ac_ext >&5
36814 glibcxx_cv_func___builtin_labs_link=no
36816 rm -f conftest.err conftest.$ac_objext \
36817 conftest$ac_exeext conftest.$ac_ext
36822 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36823 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36825 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36827 cat >>confdefs.h <<\_ACEOF
36828 #define HAVE___BUILTIN_LABS 1
36829 _ACEOF
36837 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36838 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36839 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36840 if test "${glibcxx_cv_func___builtin_sqrtf_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 __builtin_sqrtf(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___builtin_sqrtf_use=yes
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36894 glibcxx_cv_func___builtin_sqrtf_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___builtin_sqrtf_use" >&5
36908 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36909 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36910 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36911 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36912 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36913 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36917 if test x$gcc_no_link = xyes; then
36918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36920 { (exit 1); exit 1; }; }
36922 cat >conftest.$ac_ext <<_ACEOF
36923 /* confdefs.h. */
36924 _ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h. */
36928 #include <math.h>
36930 main ()
36932 __builtin_sqrtf(0);
36934 return 0;
36936 _ACEOF
36937 rm -f conftest.$ac_objext conftest$ac_exeext
36938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36939 (eval $ac_link) 2>conftest.er1
36940 ac_status=$?
36941 grep -v '^ *+' conftest.er1 >conftest.err
36942 rm -f conftest.er1
36943 cat conftest.err >&5
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); } &&
36946 { ac_try='test -z "$ac_c_werror_flag"
36947 || test ! -s conftest.err'
36948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949 (eval $ac_try) 2>&5
36950 ac_status=$?
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); }; } &&
36953 { ac_try='test -s conftest$ac_exeext'
36954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955 (eval $ac_try) 2>&5
36956 ac_status=$?
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); }; }; then
36959 glibcxx_cv_func___builtin_sqrtf_link=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36964 glibcxx_cv_func___builtin_sqrtf_link=no
36966 rm -f conftest.err conftest.$ac_objext \
36967 conftest$ac_exeext conftest.$ac_ext
36972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36975 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36977 cat >>confdefs.h <<\_ACEOF
36978 #define HAVE___BUILTIN_SQRTF 1
36979 _ACEOF
36986 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36987 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36988 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36989 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36991 else
36995 ac_ext=cc
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37001 cat >conftest.$ac_ext <<_ACEOF
37002 /* confdefs.h. */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37007 #include <math.h>
37009 main ()
37011 __builtin_sqrt(0);
37013 return 0;
37015 _ACEOF
37016 rm -f conftest.$ac_objext
37017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37018 (eval $ac_compile) 2>conftest.er1
37019 ac_status=$?
37020 grep -v '^ *+' conftest.er1 >conftest.err
37021 rm -f conftest.er1
37022 cat conftest.err >&5
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); } &&
37025 { ac_try='test -z "$ac_cxx_werror_flag"
37026 || test ! -s conftest.err'
37027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37028 (eval $ac_try) 2>&5
37029 ac_status=$?
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); }; } &&
37032 { ac_try='test -s conftest.$ac_objext'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; }; then
37038 glibcxx_cv_func___builtin_sqrt_use=yes
37039 else
37040 echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.$ac_ext >&5
37043 glibcxx_cv_func___builtin_sqrt_use=no
37045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37046 ac_ext=c
37047 ac_cpp='$CPP $CPPFLAGS'
37048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37056 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37057 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37058 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37059 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37060 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37061 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37062 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37063 echo $ECHO_N "(cached) $ECHO_C" >&6
37064 else
37066 if test x$gcc_no_link = xyes; then
37067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37069 { (exit 1); exit 1; }; }
37071 cat >conftest.$ac_ext <<_ACEOF
37072 /* confdefs.h. */
37073 _ACEOF
37074 cat confdefs.h >>conftest.$ac_ext
37075 cat >>conftest.$ac_ext <<_ACEOF
37076 /* end confdefs.h. */
37077 #include <math.h>
37079 main ()
37081 __builtin_sqrt(0);
37083 return 0;
37085 _ACEOF
37086 rm -f conftest.$ac_objext conftest$ac_exeext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37088 (eval $ac_link) 2>conftest.er1
37089 ac_status=$?
37090 grep -v '^ *+' conftest.er1 >conftest.err
37091 rm -f conftest.er1
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } &&
37095 { ac_try='test -z "$ac_c_werror_flag"
37096 || test ! -s conftest.err'
37097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098 (eval $ac_try) 2>&5
37099 ac_status=$?
37100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101 (exit $ac_status); }; } &&
37102 { ac_try='test -s conftest$ac_exeext'
37103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104 (eval $ac_try) 2>&5
37105 ac_status=$?
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); }; }; then
37108 glibcxx_cv_func___builtin_sqrt_link=yes
37109 else
37110 echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37113 glibcxx_cv_func___builtin_sqrt_link=no
37115 rm -f conftest.err conftest.$ac_objext \
37116 conftest$ac_exeext conftest.$ac_ext
37121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37124 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37126 cat >>confdefs.h <<\_ACEOF
37127 #define HAVE___BUILTIN_SQRT 1
37128 _ACEOF
37135 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37136 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37137 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37138 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37139 echo $ECHO_N "(cached) $ECHO_C" >&6
37140 else
37144 ac_ext=cc
37145 ac_cpp='$CXXCPP $CPPFLAGS'
37146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37150 cat >conftest.$ac_ext <<_ACEOF
37151 /* confdefs.h. */
37152 _ACEOF
37153 cat confdefs.h >>conftest.$ac_ext
37154 cat >>conftest.$ac_ext <<_ACEOF
37155 /* end confdefs.h. */
37156 #include <math.h>
37158 main ()
37160 __builtin_sqrtl(0);
37162 return 0;
37164 _ACEOF
37165 rm -f conftest.$ac_objext
37166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37167 (eval $ac_compile) 2>conftest.er1
37168 ac_status=$?
37169 grep -v '^ *+' conftest.er1 >conftest.err
37170 rm -f conftest.er1
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } &&
37174 { ac_try='test -z "$ac_cxx_werror_flag"
37175 || test ! -s conftest.err'
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); }; } &&
37181 { ac_try='test -s conftest.$ac_objext'
37182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183 (eval $ac_try) 2>&5
37184 ac_status=$?
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); }; }; then
37187 glibcxx_cv_func___builtin_sqrtl_use=yes
37188 else
37189 echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.$ac_ext >&5
37192 glibcxx_cv_func___builtin_sqrtl_use=no
37194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37205 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37206 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37207 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37208 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37209 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37210 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37211 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37212 echo $ECHO_N "(cached) $ECHO_C" >&6
37213 else
37215 if test x$gcc_no_link = xyes; then
37216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37218 { (exit 1); exit 1; }; }
37220 cat >conftest.$ac_ext <<_ACEOF
37221 /* confdefs.h. */
37222 _ACEOF
37223 cat confdefs.h >>conftest.$ac_ext
37224 cat >>conftest.$ac_ext <<_ACEOF
37225 /* end confdefs.h. */
37226 #include <math.h>
37228 main ()
37230 __builtin_sqrtl(0);
37232 return 0;
37234 _ACEOF
37235 rm -f conftest.$ac_objext conftest$ac_exeext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37237 (eval $ac_link) 2>conftest.er1
37238 ac_status=$?
37239 grep -v '^ *+' conftest.er1 >conftest.err
37240 rm -f conftest.er1
37241 cat conftest.err >&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try='test -z "$ac_c_werror_flag"
37245 || test ! -s conftest.err'
37246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37247 (eval $ac_try) 2>&5
37248 ac_status=$?
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); }; } &&
37251 { ac_try='test -s conftest$ac_exeext'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37254 ac_status=$?
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; }; then
37257 glibcxx_cv_func___builtin_sqrtl_link=yes
37258 else
37259 echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37262 glibcxx_cv_func___builtin_sqrtl_link=no
37264 rm -f conftest.err conftest.$ac_objext \
37265 conftest$ac_exeext conftest.$ac_ext
37270 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37271 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37273 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37275 cat >>confdefs.h <<\_ACEOF
37276 #define HAVE___BUILTIN_SQRTL 1
37277 _ACEOF
37285 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37286 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37287 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37288 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37289 echo $ECHO_N "(cached) $ECHO_C" >&6
37290 else
37294 ac_ext=cc
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37300 cat >conftest.$ac_ext <<_ACEOF
37301 /* confdefs.h. */
37302 _ACEOF
37303 cat confdefs.h >>conftest.$ac_ext
37304 cat >>conftest.$ac_ext <<_ACEOF
37305 /* end confdefs.h. */
37306 #include <math.h>
37308 main ()
37310 __builtin_sinf(0);
37312 return 0;
37314 _ACEOF
37315 rm -f conftest.$ac_objext
37316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37317 (eval $ac_compile) 2>conftest.er1
37318 ac_status=$?
37319 grep -v '^ *+' conftest.er1 >conftest.err
37320 rm -f conftest.er1
37321 cat conftest.err >&5
37322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323 (exit $ac_status); } &&
37324 { ac_try='test -z "$ac_cxx_werror_flag"
37325 || test ! -s conftest.err'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37328 ac_status=$?
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; } &&
37331 { ac_try='test -s conftest.$ac_objext'
37332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333 (eval $ac_try) 2>&5
37334 ac_status=$?
37335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336 (exit $ac_status); }; }; then
37337 glibcxx_cv_func___builtin_sinf_use=yes
37338 else
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37342 glibcxx_cv_func___builtin_sinf_use=no
37344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37345 ac_ext=c
37346 ac_cpp='$CPP $CPPFLAGS'
37347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37355 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37356 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37357 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37358 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37359 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37360 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37361 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37365 if test x$gcc_no_link = xyes; then
37366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37368 { (exit 1); exit 1; }; }
37370 cat >conftest.$ac_ext <<_ACEOF
37371 /* confdefs.h. */
37372 _ACEOF
37373 cat confdefs.h >>conftest.$ac_ext
37374 cat >>conftest.$ac_ext <<_ACEOF
37375 /* end confdefs.h. */
37376 #include <math.h>
37378 main ()
37380 __builtin_sinf(0);
37382 return 0;
37384 _ACEOF
37385 rm -f conftest.$ac_objext conftest$ac_exeext
37386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37387 (eval $ac_link) 2>conftest.er1
37388 ac_status=$?
37389 grep -v '^ *+' conftest.er1 >conftest.err
37390 rm -f conftest.er1
37391 cat conftest.err >&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); } &&
37394 { ac_try='test -z "$ac_c_werror_flag"
37395 || test ! -s conftest.err'
37396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397 (eval $ac_try) 2>&5
37398 ac_status=$?
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; } &&
37401 { ac_try='test -s conftest$ac_exeext'
37402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403 (eval $ac_try) 2>&5
37404 ac_status=$?
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); }; }; then
37407 glibcxx_cv_func___builtin_sinf_link=yes
37408 else
37409 echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.$ac_ext >&5
37412 glibcxx_cv_func___builtin_sinf_link=no
37414 rm -f conftest.err conftest.$ac_objext \
37415 conftest$ac_exeext conftest.$ac_ext
37420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37423 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37425 cat >>confdefs.h <<\_ACEOF
37426 #define HAVE___BUILTIN_SINF 1
37427 _ACEOF
37434 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37435 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37436 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37437 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37438 echo $ECHO_N "(cached) $ECHO_C" >&6
37439 else
37443 ac_ext=cc
37444 ac_cpp='$CXXCPP $CPPFLAGS'
37445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37449 cat >conftest.$ac_ext <<_ACEOF
37450 /* confdefs.h. */
37451 _ACEOF
37452 cat confdefs.h >>conftest.$ac_ext
37453 cat >>conftest.$ac_ext <<_ACEOF
37454 /* end confdefs.h. */
37455 #include <math.h>
37457 main ()
37459 __builtin_sin(0);
37461 return 0;
37463 _ACEOF
37464 rm -f conftest.$ac_objext
37465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37466 (eval $ac_compile) 2>conftest.er1
37467 ac_status=$?
37468 grep -v '^ *+' conftest.er1 >conftest.err
37469 rm -f conftest.er1
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } &&
37473 { ac_try='test -z "$ac_cxx_werror_flag"
37474 || test ! -s conftest.err'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37477 ac_status=$?
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; } &&
37480 { ac_try='test -s conftest.$ac_objext'
37481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37482 (eval $ac_try) 2>&5
37483 ac_status=$?
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); }; }; then
37486 glibcxx_cv_func___builtin_sin_use=yes
37487 else
37488 echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.$ac_ext >&5
37491 glibcxx_cv_func___builtin_sin_use=no
37493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37494 ac_ext=c
37495 ac_cpp='$CPP $CPPFLAGS'
37496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37506 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37507 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37508 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37509 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37510 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37514 if test x$gcc_no_link = xyes; then
37515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37517 { (exit 1); exit 1; }; }
37519 cat >conftest.$ac_ext <<_ACEOF
37520 /* confdefs.h. */
37521 _ACEOF
37522 cat confdefs.h >>conftest.$ac_ext
37523 cat >>conftest.$ac_ext <<_ACEOF
37524 /* end confdefs.h. */
37525 #include <math.h>
37527 main ()
37529 __builtin_sin(0);
37531 return 0;
37533 _ACEOF
37534 rm -f conftest.$ac_objext conftest$ac_exeext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37536 (eval $ac_link) 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try='test -z "$ac_c_werror_flag"
37544 || test ! -s conftest.err'
37545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37546 (eval $ac_try) 2>&5
37547 ac_status=$?
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); }; } &&
37550 { ac_try='test -s conftest$ac_exeext'
37551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552 (eval $ac_try) 2>&5
37553 ac_status=$?
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); }; }; then
37556 glibcxx_cv_func___builtin_sin_link=yes
37557 else
37558 echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.$ac_ext >&5
37561 glibcxx_cv_func___builtin_sin_link=no
37563 rm -f conftest.err conftest.$ac_objext \
37564 conftest$ac_exeext conftest.$ac_ext
37569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37572 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37574 cat >>confdefs.h <<\_ACEOF
37575 #define HAVE___BUILTIN_SIN 1
37576 _ACEOF
37583 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37584 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37585 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37586 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37592 ac_ext=cc
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 #include <math.h>
37606 main ()
37608 __builtin_sinl(0);
37610 return 0;
37612 _ACEOF
37613 rm -f conftest.$ac_objext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37615 (eval $ac_compile) 2>conftest.er1
37616 ac_status=$?
37617 grep -v '^ *+' conftest.er1 >conftest.err
37618 rm -f conftest.er1
37619 cat conftest.err >&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try='test -z "$ac_cxx_werror_flag"
37623 || test ! -s conftest.err'
37624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625 (eval $ac_try) 2>&5
37626 ac_status=$?
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); }; } &&
37629 { ac_try='test -s conftest.$ac_objext'
37630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631 (eval $ac_try) 2>&5
37632 ac_status=$?
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); }; }; then
37635 glibcxx_cv_func___builtin_sinl_use=yes
37636 else
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37640 glibcxx_cv_func___builtin_sinl_use=no
37642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37654 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37655 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37656 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37657 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37658 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37659 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37660 echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37663 if test x$gcc_no_link = xyes; then
37664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37666 { (exit 1); exit 1; }; }
37668 cat >conftest.$ac_ext <<_ACEOF
37669 /* confdefs.h. */
37670 _ACEOF
37671 cat confdefs.h >>conftest.$ac_ext
37672 cat >>conftest.$ac_ext <<_ACEOF
37673 /* end confdefs.h. */
37674 #include <math.h>
37676 main ()
37678 __builtin_sinl(0);
37680 return 0;
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try='test -z "$ac_c_werror_flag"
37693 || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37696 ac_status=$?
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try='test -s conftest$ac_exeext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37702 ac_status=$?
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 glibcxx_cv_func___builtin_sinl_link=yes
37706 else
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37710 glibcxx_cv_func___builtin_sinl_link=no
37712 rm -f conftest.err conftest.$ac_objext \
37713 conftest$ac_exeext conftest.$ac_ext
37718 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37719 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37721 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37723 cat >>confdefs.h <<\_ACEOF
37724 #define HAVE___BUILTIN_SINL 1
37725 _ACEOF
37733 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37734 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37735 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37736 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37742 ac_ext=cc
37743 ac_cpp='$CXXCPP $CPPFLAGS'
37744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37748 cat >conftest.$ac_ext <<_ACEOF
37749 /* confdefs.h. */
37750 _ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h. */
37754 #include <math.h>
37756 main ()
37758 __builtin_cosf(0);
37760 return 0;
37762 _ACEOF
37763 rm -f conftest.$ac_objext
37764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37765 (eval $ac_compile) 2>conftest.er1
37766 ac_status=$?
37767 grep -v '^ *+' conftest.er1 >conftest.err
37768 rm -f conftest.er1
37769 cat conftest.err >&5
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); } &&
37772 { ac_try='test -z "$ac_cxx_werror_flag"
37773 || test ! -s conftest.err'
37774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775 (eval $ac_try) 2>&5
37776 ac_status=$?
37777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778 (exit $ac_status); }; } &&
37779 { ac_try='test -s conftest.$ac_objext'
37780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781 (eval $ac_try) 2>&5
37782 ac_status=$?
37783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784 (exit $ac_status); }; }; then
37785 glibcxx_cv_func___builtin_cosf_use=yes
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37790 glibcxx_cv_func___builtin_cosf_use=no
37792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37793 ac_ext=c
37794 ac_cpp='$CPP $CPPFLAGS'
37795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37804 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37805 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37806 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37807 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37808 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37809 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37810 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 else
37813 if test x$gcc_no_link = xyes; then
37814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37816 { (exit 1); exit 1; }; }
37818 cat >conftest.$ac_ext <<_ACEOF
37819 /* confdefs.h. */
37820 _ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37824 #include <math.h>
37826 main ()
37828 __builtin_cosf(0);
37830 return 0;
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try='test -z "$ac_c_werror_flag"
37843 || test ! -s conftest.err'
37844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845 (eval $ac_try) 2>&5
37846 ac_status=$?
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); }; } &&
37849 { ac_try='test -s conftest$ac_exeext'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37852 ac_status=$?
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; }; then
37855 glibcxx_cv_func___builtin_cosf_link=yes
37856 else
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37860 glibcxx_cv_func___builtin_cosf_link=no
37862 rm -f conftest.err conftest.$ac_objext \
37863 conftest$ac_exeext conftest.$ac_ext
37868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37869 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37871 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE___BUILTIN_COSF 1
37875 _ACEOF
37882 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37883 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37884 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37885 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37886 echo $ECHO_N "(cached) $ECHO_C" >&6
37887 else
37891 ac_ext=cc
37892 ac_cpp='$CXXCPP $CPPFLAGS'
37893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 #include <math.h>
37905 main ()
37907 __builtin_cos(0);
37909 return 0;
37911 _ACEOF
37912 rm -f conftest.$ac_objext
37913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37914 (eval $ac_compile) 2>conftest.er1
37915 ac_status=$?
37916 grep -v '^ *+' conftest.er1 >conftest.err
37917 rm -f conftest.er1
37918 cat conftest.err >&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); } &&
37921 { ac_try='test -z "$ac_cxx_werror_flag"
37922 || test ! -s conftest.err'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37925 ac_status=$?
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; } &&
37928 { ac_try='test -s conftest.$ac_objext'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37931 ac_status=$?
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; }; then
37934 glibcxx_cv_func___builtin_cos_use=yes
37935 else
37936 echo "$as_me: failed program was:" >&5
37937 sed 's/^/| /' conftest.$ac_ext >&5
37939 glibcxx_cv_func___builtin_cos_use=no
37941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37942 ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37953 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37954 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37955 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37956 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37957 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37958 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37959 echo $ECHO_N "(cached) $ECHO_C" >&6
37960 else
37962 if test x$gcc_no_link = xyes; then
37963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37965 { (exit 1); exit 1; }; }
37967 cat >conftest.$ac_ext <<_ACEOF
37968 /* confdefs.h. */
37969 _ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37973 #include <math.h>
37975 main ()
37977 __builtin_cos(0);
37979 return 0;
37981 _ACEOF
37982 rm -f conftest.$ac_objext conftest$ac_exeext
37983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37984 (eval $ac_link) 2>conftest.er1
37985 ac_status=$?
37986 grep -v '^ *+' conftest.er1 >conftest.err
37987 rm -f conftest.er1
37988 cat conftest.err >&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); } &&
37991 { ac_try='test -z "$ac_c_werror_flag"
37992 || test ! -s conftest.err'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37995 ac_status=$?
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; } &&
37998 { ac_try='test -s conftest$ac_exeext'
37999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000 (eval $ac_try) 2>&5
38001 ac_status=$?
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); }; }; then
38004 glibcxx_cv_func___builtin_cos_link=yes
38005 else
38006 echo "$as_me: failed program was:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38009 glibcxx_cv_func___builtin_cos_link=no
38011 rm -f conftest.err conftest.$ac_objext \
38012 conftest$ac_exeext conftest.$ac_ext
38017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38018 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38020 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE___BUILTIN_COS 1
38024 _ACEOF
38031 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38032 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38033 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38034 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38040 ac_ext=cc
38041 ac_cpp='$CXXCPP $CPPFLAGS'
38042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046 cat >conftest.$ac_ext <<_ACEOF
38047 /* confdefs.h. */
38048 _ACEOF
38049 cat confdefs.h >>conftest.$ac_ext
38050 cat >>conftest.$ac_ext <<_ACEOF
38051 /* end confdefs.h. */
38052 #include <math.h>
38054 main ()
38056 __builtin_cosl(0);
38058 return 0;
38060 _ACEOF
38061 rm -f conftest.$ac_objext
38062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38063 (eval $ac_compile) 2>conftest.er1
38064 ac_status=$?
38065 grep -v '^ *+' conftest.er1 >conftest.err
38066 rm -f conftest.er1
38067 cat conftest.err >&5
38068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069 (exit $ac_status); } &&
38070 { ac_try='test -z "$ac_cxx_werror_flag"
38071 || test ! -s conftest.err'
38072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073 (eval $ac_try) 2>&5
38074 ac_status=$?
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); }; } &&
38077 { ac_try='test -s conftest.$ac_objext'
38078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38079 (eval $ac_try) 2>&5
38080 ac_status=$?
38081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082 (exit $ac_status); }; }; then
38083 glibcxx_cv_func___builtin_cosl_use=yes
38084 else
38085 echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38088 glibcxx_cv_func___builtin_cosl_use=no
38090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38091 ac_ext=c
38092 ac_cpp='$CPP $CPPFLAGS'
38093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38102 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38103 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38104 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38105 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38106 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38107 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38108 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38111 if test x$gcc_no_link = xyes; then
38112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38114 { (exit 1); exit 1; }; }
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122 #include <math.h>
38124 main ()
38126 __builtin_cosl(0);
38128 return 0;
38130 _ACEOF
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38133 (eval $ac_link) 2>conftest.er1
38134 ac_status=$?
38135 grep -v '^ *+' conftest.er1 >conftest.err
38136 rm -f conftest.er1
38137 cat conftest.err >&5
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); } &&
38140 { ac_try='test -z "$ac_c_werror_flag"
38141 || test ! -s conftest.err'
38142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143 (eval $ac_try) 2>&5
38144 ac_status=$?
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); }; } &&
38147 { ac_try='test -s conftest$ac_exeext'
38148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149 (eval $ac_try) 2>&5
38150 ac_status=$?
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); }; }; then
38153 glibcxx_cv_func___builtin_cosl_link=yes
38154 else
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38158 glibcxx_cv_func___builtin_cosl_link=no
38160 rm -f conftest.err conftest.$ac_objext \
38161 conftest$ac_exeext conftest.$ac_ext
38166 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38167 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38169 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38171 cat >>confdefs.h <<\_ACEOF
38172 #define HAVE___BUILTIN_COSL 1
38173 _ACEOF
38182 echo "$as_me:$LINENO: checking for main in -lm" >&5
38183 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38184 if test "${ac_cv_lib_m_main+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187 ac_check_lib_save_LIBS=$LIBS
38188 LIBS="-lm $LIBS"
38189 if test x$gcc_no_link = xyes; then
38190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38192 { (exit 1); exit 1; }; }
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h. */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h. */
38203 main ()
38205 main ();
38207 return 0;
38209 _ACEOF
38210 rm -f conftest.$ac_objext conftest$ac_exeext
38211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38212 (eval $ac_link) 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } &&
38219 { ac_try='test -z "$ac_c_werror_flag"
38220 || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38223 ac_status=$?
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try='test -s conftest$ac_exeext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 ac_cv_lib_m_main=yes
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38237 ac_cv_lib_m_main=no
38239 rm -f conftest.err conftest.$ac_objext \
38240 conftest$ac_exeext conftest.$ac_ext
38241 LIBS=$ac_check_lib_save_LIBS
38243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38244 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38245 if test $ac_cv_lib_m_main = yes; then
38246 cat >>confdefs.h <<_ACEOF
38247 #define HAVE_LIBM 1
38248 _ACEOF
38250 LIBS="-lm $LIBS"
38255 for ac_func in copysignf
38257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38258 echo "$as_me:$LINENO: checking for $ac_func" >&5
38259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38260 if eval "test \"\${$as_ac_var+set}\" = set"; then
38261 echo $ECHO_N "(cached) $ECHO_C" >&6
38262 else
38263 if test x$gcc_no_link = xyes; then
38264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38266 { (exit 1); exit 1; }; }
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h. */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38276 #define $ac_func innocuous_$ac_func
38278 /* System header to define __stub macros and hopefully few prototypes,
38279 which can conflict with char $ac_func (); below.
38280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38281 <limits.h> exists even on freestanding compilers. */
38283 #ifdef __STDC__
38284 # include <limits.h>
38285 #else
38286 # include <assert.h>
38287 #endif
38289 #undef $ac_func
38291 /* Override any gcc2 internal prototype to avoid an error. */
38292 #ifdef __cplusplus
38293 extern "C"
38295 #endif
38296 /* We use char because int might match the return type of a gcc2
38297 builtin and then its argument prototype would still apply. */
38298 char $ac_func ();
38299 /* The GNU C library defines this for functions which it implements
38300 to always fail with ENOSYS. Some functions are actually named
38301 something starting with __ and the normal name is an alias. */
38302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38303 choke me
38304 #else
38305 char (*f) () = $ac_func;
38306 #endif
38307 #ifdef __cplusplus
38309 #endif
38312 main ()
38314 return f != $ac_func;
38316 return 0;
38318 _ACEOF
38319 rm -f conftest.$ac_objext conftest$ac_exeext
38320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38321 (eval $ac_link) 2>conftest.er1
38322 ac_status=$?
38323 grep -v '^ *+' conftest.er1 >conftest.err
38324 rm -f conftest.er1
38325 cat conftest.err >&5
38326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327 (exit $ac_status); } &&
38328 { ac_try='test -z "$ac_c_werror_flag"
38329 || test ! -s conftest.err'
38330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38331 (eval $ac_try) 2>&5
38332 ac_status=$?
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); }; } &&
38335 { ac_try='test -s conftest$ac_exeext'
38336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337 (eval $ac_try) 2>&5
38338 ac_status=$?
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); }; }; then
38341 eval "$as_ac_var=yes"
38342 else
38343 echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.$ac_ext >&5
38346 eval "$as_ac_var=no"
38348 rm -f conftest.err conftest.$ac_objext \
38349 conftest$ac_exeext conftest.$ac_ext
38351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38353 if test `eval echo '${'$as_ac_var'}'` = yes; then
38354 cat >>confdefs.h <<_ACEOF
38355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38356 _ACEOF
38358 else
38359 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38361 done
38365 for ac_func in __signbit
38367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38368 echo "$as_me:$LINENO: checking for $ac_func" >&5
38369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38370 if eval "test \"\${$as_ac_var+set}\" = set"; then
38371 echo $ECHO_N "(cached) $ECHO_C" >&6
38372 else
38373 if test x$gcc_no_link = xyes; then
38374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38376 { (exit 1); exit 1; }; }
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h. */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38386 #define $ac_func innocuous_$ac_func
38388 /* System header to define __stub macros and hopefully few prototypes,
38389 which can conflict with char $ac_func (); below.
38390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38391 <limits.h> exists even on freestanding compilers. */
38393 #ifdef __STDC__
38394 # include <limits.h>
38395 #else
38396 # include <assert.h>
38397 #endif
38399 #undef $ac_func
38401 /* Override any gcc2 internal prototype to avoid an error. */
38402 #ifdef __cplusplus
38403 extern "C"
38405 #endif
38406 /* We use char because int might match the return type of a gcc2
38407 builtin and then its argument prototype would still apply. */
38408 char $ac_func ();
38409 /* The GNU C library defines this for functions which it implements
38410 to always fail with ENOSYS. Some functions are actually named
38411 something starting with __ and the normal name is an alias. */
38412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38413 choke me
38414 #else
38415 char (*f) () = $ac_func;
38416 #endif
38417 #ifdef __cplusplus
38419 #endif
38422 main ()
38424 return f != $ac_func;
38426 return 0;
38428 _ACEOF
38429 rm -f conftest.$ac_objext conftest$ac_exeext
38430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38431 (eval $ac_link) 2>conftest.er1
38432 ac_status=$?
38433 grep -v '^ *+' conftest.er1 >conftest.err
38434 rm -f conftest.er1
38435 cat conftest.err >&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } &&
38438 { ac_try='test -z "$ac_c_werror_flag"
38439 || test ! -s conftest.err'
38440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441 (eval $ac_try) 2>&5
38442 ac_status=$?
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); }; } &&
38445 { ac_try='test -s conftest$ac_exeext'
38446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38447 (eval $ac_try) 2>&5
38448 ac_status=$?
38449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38450 (exit $ac_status); }; }; then
38451 eval "$as_ac_var=yes"
38452 else
38453 echo "$as_me: failed program was:" >&5
38454 sed 's/^/| /' conftest.$ac_ext >&5
38456 eval "$as_ac_var=no"
38458 rm -f conftest.err conftest.$ac_objext \
38459 conftest$ac_exeext conftest.$ac_ext
38461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38463 if test `eval echo '${'$as_ac_var'}'` = yes; then
38464 cat >>confdefs.h <<_ACEOF
38465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38466 _ACEOF
38468 else
38469 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38471 done
38475 for ac_func in __signbitf
38477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38478 echo "$as_me:$LINENO: checking for $ac_func" >&5
38479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38480 if eval "test \"\${$as_ac_var+set}\" = set"; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38482 else
38483 if test x$gcc_no_link = xyes; then
38484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38486 { (exit 1); exit 1; }; }
38488 cat >conftest.$ac_ext <<_ACEOF
38489 /* confdefs.h. */
38490 _ACEOF
38491 cat confdefs.h >>conftest.$ac_ext
38492 cat >>conftest.$ac_ext <<_ACEOF
38493 /* end confdefs.h. */
38494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38496 #define $ac_func innocuous_$ac_func
38498 /* System header to define __stub macros and hopefully few prototypes,
38499 which can conflict with char $ac_func (); below.
38500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38501 <limits.h> exists even on freestanding compilers. */
38503 #ifdef __STDC__
38504 # include <limits.h>
38505 #else
38506 # include <assert.h>
38507 #endif
38509 #undef $ac_func
38511 /* Override any gcc2 internal prototype to avoid an error. */
38512 #ifdef __cplusplus
38513 extern "C"
38515 #endif
38516 /* We use char because int might match the return type of a gcc2
38517 builtin and then its argument prototype would still apply. */
38518 char $ac_func ();
38519 /* The GNU C library defines this for functions which it implements
38520 to always fail with ENOSYS. Some functions are actually named
38521 something starting with __ and the normal name is an alias. */
38522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38523 choke me
38524 #else
38525 char (*f) () = $ac_func;
38526 #endif
38527 #ifdef __cplusplus
38529 #endif
38532 main ()
38534 return f != $ac_func;
38536 return 0;
38538 _ACEOF
38539 rm -f conftest.$ac_objext conftest$ac_exeext
38540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38541 (eval $ac_link) 2>conftest.er1
38542 ac_status=$?
38543 grep -v '^ *+' conftest.er1 >conftest.err
38544 rm -f conftest.er1
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } &&
38548 { ac_try='test -z "$ac_c_werror_flag"
38549 || test ! -s conftest.err'
38550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 (eval $ac_try) 2>&5
38552 ac_status=$?
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); }; } &&
38555 { ac_try='test -s conftest$ac_exeext'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38558 ac_status=$?
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; }; then
38561 eval "$as_ac_var=yes"
38562 else
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38566 eval "$as_ac_var=no"
38568 rm -f conftest.err conftest.$ac_objext \
38569 conftest$ac_exeext conftest.$ac_ext
38571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38573 if test `eval echo '${'$as_ac_var'}'` = yes; then
38574 cat >>confdefs.h <<_ACEOF
38575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38576 _ACEOF
38578 else
38579 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38581 done
38584 if test x$ac_cv_func_copysignl = x"yes"; then
38586 for ac_func in __signbitl
38588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38589 echo "$as_me:$LINENO: checking for $ac_func" >&5
38590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38591 if eval "test \"\${$as_ac_var+set}\" = set"; then
38592 echo $ECHO_N "(cached) $ECHO_C" >&6
38593 else
38594 if test x$gcc_no_link = xyes; then
38595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38597 { (exit 1); exit 1; }; }
38599 cat >conftest.$ac_ext <<_ACEOF
38600 /* confdefs.h. */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38607 #define $ac_func innocuous_$ac_func
38609 /* System header to define __stub macros and hopefully few prototypes,
38610 which can conflict with char $ac_func (); below.
38611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38612 <limits.h> exists even on freestanding compilers. */
38614 #ifdef __STDC__
38615 # include <limits.h>
38616 #else
38617 # include <assert.h>
38618 #endif
38620 #undef $ac_func
38622 /* Override any gcc2 internal prototype to avoid an error. */
38623 #ifdef __cplusplus
38624 extern "C"
38626 #endif
38627 /* We use char because int might match the return type of a gcc2
38628 builtin and then its argument prototype would still apply. */
38629 char $ac_func ();
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38634 choke me
38635 #else
38636 char (*f) () = $ac_func;
38637 #endif
38638 #ifdef __cplusplus
38640 #endif
38643 main ()
38645 return f != $ac_func;
38647 return 0;
38649 _ACEOF
38650 rm -f conftest.$ac_objext conftest$ac_exeext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38652 (eval $ac_link) 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } &&
38659 { ac_try='test -z "$ac_c_werror_flag"
38660 || test ! -s conftest.err'
38661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38662 (eval $ac_try) 2>&5
38663 ac_status=$?
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); }; } &&
38666 { ac_try='test -s conftest$ac_exeext'
38667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38668 (eval $ac_try) 2>&5
38669 ac_status=$?
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); }; }; then
38672 eval "$as_ac_var=yes"
38673 else
38674 echo "$as_me: failed program was:" >&5
38675 sed 's/^/| /' conftest.$ac_ext >&5
38677 eval "$as_ac_var=no"
38679 rm -f conftest.err conftest.$ac_objext \
38680 conftest$ac_exeext conftest.$ac_ext
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685 cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38689 else
38690 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38692 done
38696 # Used in libmath/Makefile.am.
38697 if test -n "$LIBMATHOBJS"; then
38698 need_libmath=yes
38703 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38704 ac_save_CXXFLAGS="$CXXFLAGS"
38705 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38708 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38709 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38710 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38711 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38717 ac_ext=cc
38718 ac_cpp='$CXXCPP $CPPFLAGS'
38719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <stdlib.h>
38731 main ()
38733 strtold(0, 0);
38735 return 0;
38737 _ACEOF
38738 rm -f conftest.$ac_objext
38739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38740 (eval $ac_compile) 2>conftest.er1
38741 ac_status=$?
38742 grep -v '^ *+' conftest.er1 >conftest.err
38743 rm -f conftest.er1
38744 cat conftest.err >&5
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); } &&
38747 { ac_try='test -z "$ac_cxx_werror_flag"
38748 || test ! -s conftest.err'
38749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38750 (eval $ac_try) 2>&5
38751 ac_status=$?
38752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753 (exit $ac_status); }; } &&
38754 { ac_try='test -s conftest.$ac_objext'
38755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756 (eval $ac_try) 2>&5
38757 ac_status=$?
38758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759 (exit $ac_status); }; }; then
38760 glibcxx_cv_func_strtold_use=yes
38761 else
38762 echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.$ac_ext >&5
38765 glibcxx_cv_func_strtold_use=no
38767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38768 ac_ext=c
38769 ac_cpp='$CPP $CPPFLAGS'
38770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38779 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38780 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38782 for ac_func in strtold
38784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38785 echo "$as_me:$LINENO: checking for $ac_func" >&5
38786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38787 if eval "test \"\${$as_ac_var+set}\" = set"; then
38788 echo $ECHO_N "(cached) $ECHO_C" >&6
38789 else
38790 if test x$gcc_no_link = xyes; then
38791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38793 { (exit 1); exit 1; }; }
38795 cat >conftest.$ac_ext <<_ACEOF
38796 /* confdefs.h. */
38797 _ACEOF
38798 cat confdefs.h >>conftest.$ac_ext
38799 cat >>conftest.$ac_ext <<_ACEOF
38800 /* end confdefs.h. */
38801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38803 #define $ac_func innocuous_$ac_func
38805 /* System header to define __stub macros and hopefully few prototypes,
38806 which can conflict with char $ac_func (); below.
38807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38808 <limits.h> exists even on freestanding compilers. */
38810 #ifdef __STDC__
38811 # include <limits.h>
38812 #else
38813 # include <assert.h>
38814 #endif
38816 #undef $ac_func
38818 /* Override any gcc2 internal prototype to avoid an error. */
38819 #ifdef __cplusplus
38820 extern "C"
38822 #endif
38823 /* We use char because int might match the return type of a gcc2
38824 builtin and then its argument prototype would still apply. */
38825 char $ac_func ();
38826 /* The GNU C library defines this for functions which it implements
38827 to always fail with ENOSYS. Some functions are actually named
38828 something starting with __ and the normal name is an alias. */
38829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38830 choke me
38831 #else
38832 char (*f) () = $ac_func;
38833 #endif
38834 #ifdef __cplusplus
38836 #endif
38839 main ()
38841 return f != $ac_func;
38843 return 0;
38845 _ACEOF
38846 rm -f conftest.$ac_objext conftest$ac_exeext
38847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38848 (eval $ac_link) 2>conftest.er1
38849 ac_status=$?
38850 grep -v '^ *+' conftest.er1 >conftest.err
38851 rm -f conftest.er1
38852 cat conftest.err >&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); } &&
38855 { ac_try='test -z "$ac_c_werror_flag"
38856 || test ! -s conftest.err'
38857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858 (eval $ac_try) 2>&5
38859 ac_status=$?
38860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861 (exit $ac_status); }; } &&
38862 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38868 eval "$as_ac_var=yes"
38869 else
38870 echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.$ac_ext >&5
38873 eval "$as_ac_var=no"
38875 rm -f conftest.err conftest.$ac_objext \
38876 conftest$ac_exeext conftest.$ac_ext
38878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38880 if test `eval echo '${'$as_ac_var'}'` = yes; then
38881 cat >>confdefs.h <<_ACEOF
38882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38883 _ACEOF
38886 done
38894 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38895 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38896 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38897 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38898 echo $ECHO_N "(cached) $ECHO_C" >&6
38899 else
38903 ac_ext=cc
38904 ac_cpp='$CXXCPP $CPPFLAGS'
38905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909 cat >conftest.$ac_ext <<_ACEOF
38910 /* confdefs.h. */
38911 _ACEOF
38912 cat confdefs.h >>conftest.$ac_ext
38913 cat >>conftest.$ac_ext <<_ACEOF
38914 /* end confdefs.h. */
38915 #include <stdlib.h>
38917 main ()
38919 strtof(0, 0);
38921 return 0;
38923 _ACEOF
38924 rm -f conftest.$ac_objext
38925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38926 (eval $ac_compile) 2>conftest.er1
38927 ac_status=$?
38928 grep -v '^ *+' conftest.er1 >conftest.err
38929 rm -f conftest.er1
38930 cat conftest.err >&5
38931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932 (exit $ac_status); } &&
38933 { ac_try='test -z "$ac_cxx_werror_flag"
38934 || test ! -s conftest.err'
38935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38936 (eval $ac_try) 2>&5
38937 ac_status=$?
38938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38939 (exit $ac_status); }; } &&
38940 { ac_try='test -s conftest.$ac_objext'
38941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38942 (eval $ac_try) 2>&5
38943 ac_status=$?
38944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945 (exit $ac_status); }; }; then
38946 glibcxx_cv_func_strtof_use=yes
38947 else
38948 echo "$as_me: failed program was:" >&5
38949 sed 's/^/| /' conftest.$ac_ext >&5
38951 glibcxx_cv_func_strtof_use=no
38953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38954 ac_ext=c
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38965 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38966 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38968 for ac_func in strtof
38970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38971 echo "$as_me:$LINENO: checking for $ac_func" >&5
38972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38973 if eval "test \"\${$as_ac_var+set}\" = set"; then
38974 echo $ECHO_N "(cached) $ECHO_C" >&6
38975 else
38976 if test x$gcc_no_link = xyes; then
38977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38979 { (exit 1); exit 1; }; }
38981 cat >conftest.$ac_ext <<_ACEOF
38982 /* confdefs.h. */
38983 _ACEOF
38984 cat confdefs.h >>conftest.$ac_ext
38985 cat >>conftest.$ac_ext <<_ACEOF
38986 /* end confdefs.h. */
38987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38989 #define $ac_func innocuous_$ac_func
38991 /* System header to define __stub macros and hopefully few prototypes,
38992 which can conflict with char $ac_func (); below.
38993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38994 <limits.h> exists even on freestanding compilers. */
38996 #ifdef __STDC__
38997 # include <limits.h>
38998 #else
38999 # include <assert.h>
39000 #endif
39002 #undef $ac_func
39004 /* Override any gcc2 internal prototype to avoid an error. */
39005 #ifdef __cplusplus
39006 extern "C"
39008 #endif
39009 /* We use char because int might match the return type of a gcc2
39010 builtin and then its argument prototype would still apply. */
39011 char $ac_func ();
39012 /* The GNU C library defines this for functions which it implements
39013 to always fail with ENOSYS. Some functions are actually named
39014 something starting with __ and the normal name is an alias. */
39015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39016 choke me
39017 #else
39018 char (*f) () = $ac_func;
39019 #endif
39020 #ifdef __cplusplus
39022 #endif
39025 main ()
39027 return f != $ac_func;
39029 return 0;
39031 _ACEOF
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39034 (eval $ac_link) 2>conftest.er1
39035 ac_status=$?
39036 grep -v '^ *+' conftest.er1 >conftest.err
39037 rm -f conftest.er1
39038 cat conftest.err >&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); } &&
39041 { ac_try='test -z "$ac_c_werror_flag"
39042 || test ! -s conftest.err'
39043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39044 (eval $ac_try) 2>&5
39045 ac_status=$?
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); }; } &&
39048 { ac_try='test -s conftest$ac_exeext'
39049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39050 (eval $ac_try) 2>&5
39051 ac_status=$?
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); }; }; then
39054 eval "$as_ac_var=yes"
39055 else
39056 echo "$as_me: failed program was:" >&5
39057 sed 's/^/| /' conftest.$ac_ext >&5
39059 eval "$as_ac_var=no"
39061 rm -f conftest.err conftest.$ac_objext \
39062 conftest$ac_exeext conftest.$ac_ext
39064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39066 if test `eval echo '${'$as_ac_var'}'` = yes; then
39067 cat >>confdefs.h <<_ACEOF
39068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39069 _ACEOF
39072 done
39080 CXXFLAGS="$ac_save_CXXFLAGS"
39083 # For showmanyc_helper().
39086 for ac_header in sys/ioctl.h sys/filio.h
39088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39090 echo "$as_me:$LINENO: checking for $ac_header" >&5
39091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39097 else
39098 # Is the header compilable?
39099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39101 cat >conftest.$ac_ext <<_ACEOF
39102 /* confdefs.h. */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107 $ac_includes_default
39108 #include <$ac_header>
39109 _ACEOF
39110 rm -f conftest.$ac_objext
39111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39112 (eval $ac_compile) 2>conftest.er1
39113 ac_status=$?
39114 grep -v '^ *+' conftest.er1 >conftest.err
39115 rm -f conftest.er1
39116 cat conftest.err >&5
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); } &&
39119 { ac_try='test -z "$ac_c_werror_flag"
39120 || test ! -s conftest.err'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39123 ac_status=$?
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; } &&
39126 { ac_try='test -s conftest.$ac_objext'
39127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39128 (eval $ac_try) 2>&5
39129 ac_status=$?
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); }; }; then
39132 ac_header_compiler=yes
39133 else
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39137 ac_header_compiler=no
39139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39141 echo "${ECHO_T}$ac_header_compiler" >&6
39143 # Is the header present?
39144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39146 cat >conftest.$ac_ext <<_ACEOF
39147 /* confdefs.h. */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152 #include <$ac_header>
39153 _ACEOF
39154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39156 ac_status=$?
39157 grep -v '^ *+' conftest.er1 >conftest.err
39158 rm -f conftest.er1
39159 cat conftest.err >&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); } >/dev/null; then
39162 if test -s conftest.err; then
39163 ac_cpp_err=$ac_c_preproc_warn_flag
39164 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39165 else
39166 ac_cpp_err=
39168 else
39169 ac_cpp_err=yes
39171 if test -z "$ac_cpp_err"; then
39172 ac_header_preproc=yes
39173 else
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39177 ac_header_preproc=no
39179 rm -f conftest.err conftest.$ac_ext
39180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39181 echo "${ECHO_T}$ac_header_preproc" >&6
39183 # So? What about this header?
39184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39185 yes:no: )
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39190 ac_header_preproc=yes
39192 no:yes:* )
39193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39197 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39199 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39200 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39203 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39206 cat <<\_ASBOX
39207 ## ----------------------------------------- ##
39208 ## Report this to the package-unused lists. ##
39209 ## ----------------------------------------- ##
39210 _ASBOX
39212 sed "s/^/$as_me: WARNING: /" >&2
39214 esac
39215 echo "$as_me:$LINENO: checking for $ac_header" >&5
39216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39218 echo $ECHO_N "(cached) $ECHO_C" >&6
39219 else
39220 eval "$as_ac_Header=\$ac_header_preproc"
39222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39227 cat >>confdefs.h <<_ACEOF
39228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39229 _ACEOF
39233 done
39236 echo "$as_me:$LINENO: checking for poll" >&5
39237 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39238 if test "${glibcxx_cv_POLL+set}" = set; then
39239 echo $ECHO_N "(cached) $ECHO_C" >&6
39240 else
39242 if test x$gcc_no_link = xyes; then
39243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39245 { (exit 1); exit 1; }; }
39247 cat >conftest.$ac_ext <<_ACEOF
39248 /* confdefs.h. */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h. */
39253 #include <poll.h>
39255 main ()
39257 struct pollfd pfd[1];
39258 pfd[0].events = POLLIN;
39259 poll(pfd, 1, 0);
39261 return 0;
39263 _ACEOF
39264 rm -f conftest.$ac_objext conftest$ac_exeext
39265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39266 (eval $ac_link) 2>conftest.er1
39267 ac_status=$?
39268 grep -v '^ *+' conftest.er1 >conftest.err
39269 rm -f conftest.er1
39270 cat conftest.err >&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } &&
39273 { ac_try='test -z "$ac_c_werror_flag"
39274 || test ! -s conftest.err'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39277 ac_status=$?
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; } &&
39280 { ac_try='test -s conftest$ac_exeext'
39281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282 (eval $ac_try) 2>&5
39283 ac_status=$?
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); }; }; then
39286 glibcxx_cv_POLL=yes
39287 else
39288 echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.$ac_ext >&5
39291 glibcxx_cv_POLL=no
39293 rm -f conftest.err conftest.$ac_objext \
39294 conftest$ac_exeext conftest.$ac_ext
39298 if test $glibcxx_cv_POLL = yes; then
39300 cat >>confdefs.h <<\_ACEOF
39301 #define HAVE_POLL 1
39302 _ACEOF
39305 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39306 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39309 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39310 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39311 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39312 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 else
39315 if test x$gcc_no_link = xyes; then
39316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39318 { (exit 1); exit 1; }; }
39320 cat >conftest.$ac_ext <<_ACEOF
39321 /* confdefs.h. */
39322 _ACEOF
39323 cat confdefs.h >>conftest.$ac_ext
39324 cat >>conftest.$ac_ext <<_ACEOF
39325 /* end confdefs.h. */
39326 #include <sys/stat.h>
39328 main ()
39330 struct stat buffer;
39331 fstat(0, &buffer);
39332 S_ISREG(buffer.st_mode);
39334 return 0;
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39339 (eval $ac_link) 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } &&
39346 { ac_try='test -z "$ac_c_werror_flag"
39347 || test ! -s conftest.err'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; } &&
39353 { ac_try='test -s conftest$ac_exeext'
39354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39355 (eval $ac_try) 2>&5
39356 ac_status=$?
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); }; }; then
39359 glibcxx_cv_S_ISREG=yes
39360 else
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39364 glibcxx_cv_S_ISREG=no
39366 rm -f conftest.err conftest.$ac_objext \
39367 conftest$ac_exeext conftest.$ac_ext
39371 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39372 echo $ECHO_N "(cached) $ECHO_C" >&6
39373 else
39375 if test x$gcc_no_link = xyes; then
39376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39378 { (exit 1); exit 1; }; }
39380 cat >conftest.$ac_ext <<_ACEOF
39381 /* confdefs.h. */
39382 _ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h. */
39386 #include <sys/stat.h>
39388 main ()
39390 struct stat buffer;
39391 fstat(0, &buffer);
39392 S_IFREG & buffer.st_mode;
39394 return 0;
39396 _ACEOF
39397 rm -f conftest.$ac_objext conftest$ac_exeext
39398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39399 (eval $ac_link) 2>conftest.er1
39400 ac_status=$?
39401 grep -v '^ *+' conftest.er1 >conftest.err
39402 rm -f conftest.er1
39403 cat conftest.err >&5
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); } &&
39406 { ac_try='test -z "$ac_c_werror_flag"
39407 || test ! -s conftest.err'
39408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39409 (eval $ac_try) 2>&5
39410 ac_status=$?
39411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39412 (exit $ac_status); }; } &&
39413 { ac_try='test -s conftest$ac_exeext'
39414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39415 (eval $ac_try) 2>&5
39416 ac_status=$?
39417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39418 (exit $ac_status); }; }; then
39419 glibcxx_cv_S_IFREG=yes
39420 else
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39424 glibcxx_cv_S_IFREG=no
39426 rm -f conftest.err conftest.$ac_objext \
39427 conftest$ac_exeext conftest.$ac_ext
39431 res=no
39432 if test $glibcxx_cv_S_ISREG = yes; then
39434 cat >>confdefs.h <<\_ACEOF
39435 #define HAVE_S_ISREG 1
39436 _ACEOF
39438 res=S_ISREG
39439 elif test $glibcxx_cv_S_IFREG = yes; then
39441 cat >>confdefs.h <<\_ACEOF
39442 #define HAVE_S_IFREG 1
39443 _ACEOF
39445 res=S_IFREG
39447 echo "$as_me:$LINENO: result: $res" >&5
39448 echo "${ECHO_T}$res" >&6
39451 # For xsputn_2().
39453 for ac_header in sys/uio.h
39455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39457 echo "$as_me:$LINENO: checking for $ac_header" >&5
39458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39464 else
39465 # Is the header compilable?
39466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h. */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h. */
39474 $ac_includes_default
39475 #include <$ac_header>
39476 _ACEOF
39477 rm -f conftest.$ac_objext
39478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39479 (eval $ac_compile) 2>conftest.er1
39480 ac_status=$?
39481 grep -v '^ *+' conftest.er1 >conftest.err
39482 rm -f conftest.er1
39483 cat conftest.err >&5
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } &&
39486 { ac_try='test -z "$ac_c_werror_flag"
39487 || test ! -s conftest.err'
39488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489 (eval $ac_try) 2>&5
39490 ac_status=$?
39491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492 (exit $ac_status); }; } &&
39493 { ac_try='test -s conftest.$ac_objext'
39494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39495 (eval $ac_try) 2>&5
39496 ac_status=$?
39497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498 (exit $ac_status); }; }; then
39499 ac_header_compiler=yes
39500 else
39501 echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39504 ac_header_compiler=no
39506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39508 echo "${ECHO_T}$ac_header_compiler" >&6
39510 # Is the header present?
39511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519 #include <$ac_header>
39520 _ACEOF
39521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39523 ac_status=$?
39524 grep -v '^ *+' conftest.er1 >conftest.err
39525 rm -f conftest.er1
39526 cat conftest.err >&5
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); } >/dev/null; then
39529 if test -s conftest.err; then
39530 ac_cpp_err=$ac_c_preproc_warn_flag
39531 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39532 else
39533 ac_cpp_err=
39535 else
39536 ac_cpp_err=yes
39538 if test -z "$ac_cpp_err"; then
39539 ac_header_preproc=yes
39540 else
39541 echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.$ac_ext >&5
39544 ac_header_preproc=no
39546 rm -f conftest.err conftest.$ac_ext
39547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39548 echo "${ECHO_T}$ac_header_preproc" >&6
39550 # So? What about this header?
39551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39552 yes:no: )
39553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39557 ac_header_preproc=yes
39559 no:yes:* )
39560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39573 cat <<\_ASBOX
39574 ## ----------------------------------------- ##
39575 ## Report this to the package-unused lists. ##
39576 ## ----------------------------------------- ##
39577 _ASBOX
39579 sed "s/^/$as_me: WARNING: /" >&2
39581 esac
39582 echo "$as_me:$LINENO: checking for $ac_header" >&5
39583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587 eval "$as_ac_Header=\$ac_header_preproc"
39589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39594 cat >>confdefs.h <<_ACEOF
39595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39596 _ACEOF
39600 done
39603 echo "$as_me:$LINENO: checking for writev" >&5
39604 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39605 if test "${glibcxx_cv_WRITEV+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39609 if test x$gcc_no_link = xyes; then
39610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39612 { (exit 1); exit 1; }; }
39614 cat >conftest.$ac_ext <<_ACEOF
39615 /* confdefs.h. */
39616 _ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39620 #include <sys/uio.h>
39622 main ()
39624 struct iovec iov[2];
39625 writev(0, iov, 0);
39627 return 0;
39629 _ACEOF
39630 rm -f conftest.$ac_objext conftest$ac_exeext
39631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39632 (eval $ac_link) 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } &&
39639 { ac_try='test -z "$ac_c_werror_flag"
39640 || test ! -s conftest.err'
39641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39642 (eval $ac_try) 2>&5
39643 ac_status=$?
39644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645 (exit $ac_status); }; } &&
39646 { ac_try='test -s conftest$ac_exeext'
39647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648 (eval $ac_try) 2>&5
39649 ac_status=$?
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); }; }; then
39652 glibcxx_cv_WRITEV=yes
39653 else
39654 echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39657 glibcxx_cv_WRITEV=no
39659 rm -f conftest.err conftest.$ac_objext \
39660 conftest$ac_exeext conftest.$ac_ext
39664 if test $glibcxx_cv_WRITEV = yes; then
39666 cat >>confdefs.h <<\_ACEOF
39667 #define HAVE_WRITEV 1
39668 _ACEOF
39671 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39672 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39675 # For the __streamoff_base_type typedef.
39677 echo "$as_me:$LINENO: checking for int64_t" >&5
39678 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39679 if test "${glibcxx_cv_INT64_T+set}" = set; then
39680 echo $ECHO_N "(cached) $ECHO_C" >&6
39681 else
39683 cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h. */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h. */
39689 #include <stdint.h>
39691 main ()
39693 int64_t var;
39695 return 0;
39697 _ACEOF
39698 rm -f conftest.$ac_objext
39699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39700 (eval $ac_compile) 2>conftest.er1
39701 ac_status=$?
39702 grep -v '^ *+' conftest.er1 >conftest.err
39703 rm -f conftest.er1
39704 cat conftest.err >&5
39705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706 (exit $ac_status); } &&
39707 { ac_try='test -z "$ac_c_werror_flag"
39708 || test ! -s conftest.err'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39711 ac_status=$?
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; } &&
39714 { ac_try='test -s conftest.$ac_objext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39717 ac_status=$?
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39720 glibcxx_cv_INT64_T=yes
39721 else
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39725 glibcxx_cv_INT64_T=no
39727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39731 if test $glibcxx_cv_INT64_T = yes; then
39733 cat >>confdefs.h <<\_ACEOF
39734 #define HAVE_INT64_T 1
39735 _ACEOF
39738 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39739 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39742 # For LFS support.
39746 ac_ext=cc
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39752 ac_save_CXXFLAGS="$CXXFLAGS"
39753 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39754 echo "$as_me:$LINENO: checking for LFS support" >&5
39755 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39756 if test "${glibcxx_cv_LFS+set}" = set; then
39757 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 else
39760 if test x$gcc_no_link = xyes; then
39761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39763 { (exit 1); exit 1; }; }
39765 cat >conftest.$ac_ext <<_ACEOF
39766 /* confdefs.h. */
39767 _ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h. */
39771 #include <unistd.h>
39772 #include <stdio.h>
39773 #include <sys/stat.h>
39776 main ()
39778 FILE* fp;
39779 fopen64("t", "w");
39780 fseeko64(fp, 0, SEEK_CUR);
39781 ftello64(fp);
39782 lseek64(1, 0, SEEK_CUR);
39783 struct stat64 buf;
39784 fstat64(1, &buf);
39786 return 0;
39788 _ACEOF
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39791 (eval $ac_link) 2>conftest.er1
39792 ac_status=$?
39793 grep -v '^ *+' conftest.er1 >conftest.err
39794 rm -f conftest.er1
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } &&
39798 { ac_try='test -z "$ac_cxx_werror_flag"
39799 || test ! -s conftest.err'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39802 ac_status=$?
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; } &&
39805 { ac_try='test -s conftest$ac_exeext'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; }; then
39811 glibcxx_cv_LFS=yes
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39816 glibcxx_cv_LFS=no
39818 rm -f conftest.err conftest.$ac_objext \
39819 conftest$ac_exeext conftest.$ac_ext
39823 if test $glibcxx_cv_LFS = yes; then
39825 cat >>confdefs.h <<\_ACEOF
39826 #define _GLIBCXX_USE_LFS 1
39827 _ACEOF
39830 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39831 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39832 CXXFLAGS="$ac_save_CXXFLAGS"
39833 ac_ext=c
39834 ac_cpp='$CPP $CPPFLAGS'
39835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39841 # For C99 support to TR1.
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
39853 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39854 # undefined and fake C99 facilities may be spuriously enabled.
39855 ac_save_CXXFLAGS="$CXXFLAGS"
39856 CXXFLAGS="$CXXFLAGS -std=c++98"
39858 # Check for the existence of <complex.h> complex math functions used
39859 # by tr1/complex.
39861 for ac_header in complex.h
39863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39865 echo "$as_me:$LINENO: checking for $ac_header" >&5
39866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39872 else
39873 # Is the header compilable?
39874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39876 cat >conftest.$ac_ext <<_ACEOF
39877 /* confdefs.h. */
39878 _ACEOF
39879 cat confdefs.h >>conftest.$ac_ext
39880 cat >>conftest.$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 $ac_includes_default
39883 #include <$ac_header>
39884 _ACEOF
39885 rm -f conftest.$ac_objext
39886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39887 (eval $ac_compile) 2>conftest.er1
39888 ac_status=$?
39889 grep -v '^ *+' conftest.er1 >conftest.err
39890 rm -f conftest.er1
39891 cat conftest.err >&5
39892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893 (exit $ac_status); } &&
39894 { ac_try='test -z "$ac_cxx_werror_flag"
39895 || test ! -s conftest.err'
39896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39897 (eval $ac_try) 2>&5
39898 ac_status=$?
39899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900 (exit $ac_status); }; } &&
39901 { ac_try='test -s conftest.$ac_objext'
39902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39903 (eval $ac_try) 2>&5
39904 ac_status=$?
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); }; }; then
39907 ac_header_compiler=yes
39908 else
39909 echo "$as_me: failed program was:" >&5
39910 sed 's/^/| /' conftest.$ac_ext >&5
39912 ac_header_compiler=no
39914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39916 echo "${ECHO_T}$ac_header_compiler" >&6
39918 # Is the header present?
39919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39921 cat >conftest.$ac_ext <<_ACEOF
39922 /* confdefs.h. */
39923 _ACEOF
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39927 #include <$ac_header>
39928 _ACEOF
39929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39931 ac_status=$?
39932 grep -v '^ *+' conftest.er1 >conftest.err
39933 rm -f conftest.er1
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } >/dev/null; then
39937 if test -s conftest.err; then
39938 ac_cpp_err=$ac_cxx_preproc_warn_flag
39939 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39940 else
39941 ac_cpp_err=
39943 else
39944 ac_cpp_err=yes
39946 if test -z "$ac_cpp_err"; then
39947 ac_header_preproc=yes
39948 else
39949 echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.$ac_ext >&5
39952 ac_header_preproc=no
39954 rm -f conftest.err conftest.$ac_ext
39955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39956 echo "${ECHO_T}$ac_header_preproc" >&6
39958 # So? What about this header?
39959 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39960 yes:no: )
39961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39965 ac_header_preproc=yes
39967 no:yes:* )
39968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39972 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39974 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39975 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39978 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39981 cat <<\_ASBOX
39982 ## ----------------------------------------- ##
39983 ## Report this to the package-unused lists. ##
39984 ## ----------------------------------------- ##
39985 _ASBOX
39987 sed "s/^/$as_me: WARNING: /" >&2
39989 esac
39990 echo "$as_me:$LINENO: checking for $ac_header" >&5
39991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39993 echo $ECHO_N "(cached) $ECHO_C" >&6
39994 else
39995 eval "$as_ac_Header=\$ac_header_preproc"
39997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40002 cat >>confdefs.h <<_ACEOF
40003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40004 _ACEOF
40005 ac_has_complex_h=yes
40006 else
40007 ac_has_complex_h=no
40010 done
40012 ac_c99_complex_tr1=no;
40013 if test x"$ac_has_complex_h" = x"yes"; then
40014 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40015 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40016 cat >conftest.$ac_ext <<_ACEOF
40017 /* confdefs.h. */
40018 _ACEOF
40019 cat confdefs.h >>conftest.$ac_ext
40020 cat >>conftest.$ac_ext <<_ACEOF
40021 /* end confdefs.h. */
40022 #include <complex.h>
40024 main ()
40026 typedef __complex__ float float_type; float_type tmpf;
40027 cacosf(tmpf);
40028 casinf(tmpf);
40029 catanf(tmpf);
40030 cacoshf(tmpf);
40031 casinhf(tmpf);
40032 catanhf(tmpf);
40033 typedef __complex__ double double_type; double_type tmpd;
40034 cacos(tmpd);
40035 casin(tmpd);
40036 catan(tmpd);
40037 cacosh(tmpd);
40038 casinh(tmpd);
40039 catanh(tmpd);
40040 typedef __complex__ long double ld_type; ld_type tmpld;
40041 cacosl(tmpld);
40042 casinl(tmpld);
40043 catanl(tmpld);
40044 cacoshl(tmpld);
40045 casinhl(tmpld);
40046 catanhl(tmpld);
40049 return 0;
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054 (eval $ac_compile) 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } &&
40061 { ac_try='test -z "$ac_cxx_werror_flag"
40062 || test ! -s conftest.err'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40065 ac_status=$?
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; } &&
40068 { ac_try='test -s conftest.$ac_objext'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40071 ac_status=$?
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; }; then
40074 ac_c99_complex_tr1=yes
40075 else
40076 echo "$as_me: failed program was:" >&5
40077 sed 's/^/| /' conftest.$ac_ext >&5
40079 ac_c99_complex_tr1=no
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40083 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40084 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40085 if test x"$ac_c99_complex_tr1" = x"yes"; then
40087 cat >>confdefs.h <<\_ACEOF
40088 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40089 _ACEOF
40093 # Check for the existence of <ctype.h> functions.
40094 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40095 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40096 if test "${ac_c99_ctype_tr1+set}" = set; then
40097 echo $ECHO_N "(cached) $ECHO_C" >&6
40098 else
40100 cat >conftest.$ac_ext <<_ACEOF
40101 /* confdefs.h. */
40102 _ACEOF
40103 cat confdefs.h >>conftest.$ac_ext
40104 cat >>conftest.$ac_ext <<_ACEOF
40105 /* end confdefs.h. */
40106 #include <ctype.h>
40108 main ()
40110 int ch;
40111 int ret;
40112 ret = isblank(ch);
40115 return 0;
40117 _ACEOF
40118 rm -f conftest.$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120 (eval $ac_compile) 2>conftest.er1
40121 ac_status=$?
40122 grep -v '^ *+' conftest.er1 >conftest.err
40123 rm -f conftest.er1
40124 cat conftest.err >&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } &&
40127 { ac_try='test -z "$ac_cxx_werror_flag"
40128 || test ! -s conftest.err'
40129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130 (eval $ac_try) 2>&5
40131 ac_status=$?
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); }; } &&
40134 { ac_try='test -s conftest.$ac_objext'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; }; then
40140 ac_c99_ctype_tr1=yes
40141 else
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40145 ac_c99_ctype_tr1=no
40147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40151 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
40152 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
40153 if test x"$ac_c99_ctype_tr1" = x"yes"; then
40155 cat >>confdefs.h <<\_ACEOF
40156 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40157 _ACEOF
40161 # Check for the existence of <fenv.h> functions.
40163 for ac_header in fenv.h
40165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40167 echo "$as_me:$LINENO: checking for $ac_header" >&5
40168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40174 else
40175 # Is the header compilable?
40176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40178 cat >conftest.$ac_ext <<_ACEOF
40179 /* confdefs.h. */
40180 _ACEOF
40181 cat confdefs.h >>conftest.$ac_ext
40182 cat >>conftest.$ac_ext <<_ACEOF
40183 /* end confdefs.h. */
40184 $ac_includes_default
40185 #include <$ac_header>
40186 _ACEOF
40187 rm -f conftest.$ac_objext
40188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40189 (eval $ac_compile) 2>conftest.er1
40190 ac_status=$?
40191 grep -v '^ *+' conftest.er1 >conftest.err
40192 rm -f conftest.er1
40193 cat conftest.err >&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); } &&
40196 { ac_try='test -z "$ac_cxx_werror_flag"
40197 || test ! -s conftest.err'
40198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199 (eval $ac_try) 2>&5
40200 ac_status=$?
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); }; } &&
40203 { ac_try='test -s conftest.$ac_objext'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40206 ac_status=$?
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; }; then
40209 ac_header_compiler=yes
40210 else
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40214 ac_header_compiler=no
40216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40218 echo "${ECHO_T}$ac_header_compiler" >&6
40220 # Is the header present?
40221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h. */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 #include <$ac_header>
40230 _ACEOF
40231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40233 ac_status=$?
40234 grep -v '^ *+' conftest.er1 >conftest.err
40235 rm -f conftest.er1
40236 cat conftest.err >&5
40237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238 (exit $ac_status); } >/dev/null; then
40239 if test -s conftest.err; then
40240 ac_cpp_err=$ac_cxx_preproc_warn_flag
40241 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40242 else
40243 ac_cpp_err=
40245 else
40246 ac_cpp_err=yes
40248 if test -z "$ac_cpp_err"; then
40249 ac_header_preproc=yes
40250 else
40251 echo "$as_me: failed program was:" >&5
40252 sed 's/^/| /' conftest.$ac_ext >&5
40254 ac_header_preproc=no
40256 rm -f conftest.err conftest.$ac_ext
40257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40258 echo "${ECHO_T}$ac_header_preproc" >&6
40260 # So? What about this header?
40261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40262 yes:no: )
40263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40267 ac_header_preproc=yes
40269 no:yes:* )
40270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40283 cat <<\_ASBOX
40284 ## ----------------------------------------- ##
40285 ## Report this to the package-unused lists. ##
40286 ## ----------------------------------------- ##
40287 _ASBOX
40289 sed "s/^/$as_me: WARNING: /" >&2
40291 esac
40292 echo "$as_me:$LINENO: checking for $ac_header" >&5
40293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297 eval "$as_ac_Header=\$ac_header_preproc"
40299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40304 cat >>confdefs.h <<_ACEOF
40305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40306 _ACEOF
40307 ac_has_fenv_h=yes
40308 else
40309 ac_has_fenv_h=no
40312 done
40314 ac_c99_fenv_tr1=no;
40315 if test x"$ac_has_fenv_h" = x"yes"; then
40316 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40317 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40318 cat >conftest.$ac_ext <<_ACEOF
40319 /* confdefs.h. */
40320 _ACEOF
40321 cat confdefs.h >>conftest.$ac_ext
40322 cat >>conftest.$ac_ext <<_ACEOF
40323 /* end confdefs.h. */
40324 #include <fenv.h>
40326 main ()
40328 int except, mode;
40329 fexcept_t* pflag;
40330 fenv_t* penv;
40331 int ret;
40332 ret = feclearexcept(except);
40333 ret = fegetexceptflag(pflag, except);
40334 ret = feraiseexcept(except);
40335 ret = fesetexceptflag(pflag, except);
40336 ret = fetestexcept(except);
40337 ret = fegetround();
40338 ret = fesetround(mode);
40339 ret = fegetenv(penv);
40340 ret = feholdexcept(penv);
40341 ret = fesetenv(penv);
40342 ret = feupdateenv(penv);
40345 return 0;
40347 _ACEOF
40348 rm -f conftest.$ac_objext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40350 (eval $ac_compile) 2>conftest.er1
40351 ac_status=$?
40352 grep -v '^ *+' conftest.er1 >conftest.err
40353 rm -f conftest.er1
40354 cat conftest.err >&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } &&
40357 { ac_try='test -z "$ac_cxx_werror_flag"
40358 || test ! -s conftest.err'
40359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360 (eval $ac_try) 2>&5
40361 ac_status=$?
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); }; } &&
40364 { ac_try='test -s conftest.$ac_objext'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; }; then
40370 ac_c99_fenv_tr1=yes
40371 else
40372 echo "$as_me: failed program was:" >&5
40373 sed 's/^/| /' conftest.$ac_ext >&5
40375 ac_c99_fenv_tr1=no
40377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40379 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40380 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40381 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40383 cat >>confdefs.h <<\_ACEOF
40384 #define _GLIBCXX_USE_C99_FENV_TR1 1
40385 _ACEOF
40389 # Check for the existence of <stdint.h> types.
40390 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40391 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40392 if test "${ac_c99_stdint_tr1+set}" = set; then
40393 echo $ECHO_N "(cached) $ECHO_C" >&6
40394 else
40396 cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h. */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h. */
40402 #include <stdint.h>
40404 main ()
40406 typedef int8_t my_int8_t;
40407 typedef int16_t my_int16_t;
40408 typedef int32_t my_int32_t;
40409 typedef int64_t my_int64_t;
40410 typedef int_fast8_t my_int_fast8_t;
40411 typedef int_fast16_t my_int_fast16_t;
40412 typedef int_fast32_t my_int_fast32_t;
40413 typedef int_fast64_t my_int_fast64_t;
40414 typedef int_least8_t my_int_least8_t;
40415 typedef int_least16_t my_int_least16_t;
40416 typedef int_least32_t my_int_least32_t;
40417 typedef int_least64_t my_int_least64_t;
40418 typedef intmax_t my_intmax_t;
40419 typedef intptr_t my_intptr_t;
40420 typedef uint8_t my_uint8_t;
40421 typedef uint16_t my_uint16_t;
40422 typedef uint32_t my_uint32_t;
40423 typedef uint64_t my_uint64_t;
40424 typedef uint_fast8_t my_uint_fast8_t;
40425 typedef uint_fast16_t my_uint_fast16_t;
40426 typedef uint_fast32_t my_uint_fast32_t;
40427 typedef uint_fast64_t my_uint_fast64_t;
40428 typedef uint_least8_t my_uint_least8_t;
40429 typedef uint_least16_t my_uint_least16_t;
40430 typedef uint_least32_t my_uint_least32_t;
40431 typedef uint_least64_t my_uint_least64_t;
40432 typedef uintmax_t my_uintmax_t;
40433 typedef uintptr_t my_uintptr_t;
40436 return 0;
40438 _ACEOF
40439 rm -f conftest.$ac_objext
40440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40441 (eval $ac_compile) 2>conftest.er1
40442 ac_status=$?
40443 grep -v '^ *+' conftest.er1 >conftest.err
40444 rm -f conftest.er1
40445 cat conftest.err >&5
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); } &&
40448 { ac_try='test -z "$ac_cxx_werror_flag"
40449 || test ! -s conftest.err'
40450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40451 (eval $ac_try) 2>&5
40452 ac_status=$?
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); }; } &&
40455 { ac_try='test -s conftest.$ac_objext'
40456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40457 (eval $ac_try) 2>&5
40458 ac_status=$?
40459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460 (exit $ac_status); }; }; then
40461 ac_c99_stdint_tr1=yes
40462 else
40463 echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.$ac_ext >&5
40466 ac_c99_stdint_tr1=no
40468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40472 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40473 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40474 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40476 cat >>confdefs.h <<\_ACEOF
40477 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40478 _ACEOF
40482 # Check for the existence of <math.h> functions.
40483 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40484 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40485 if test "${ac_c99_math_tr1+set}" = set; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40489 cat >conftest.$ac_ext <<_ACEOF
40490 /* confdefs.h. */
40491 _ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40495 #include <math.h>
40497 main ()
40499 typedef double_t my_double_t;
40500 typedef float_t my_float_t;
40501 acosh(0.0);
40502 acoshf(0.0f);
40503 acoshl(0.0l);
40504 asinh(0.0);
40505 asinhf(0.0f);
40506 asinhl(0.0l);
40507 atanh(0.0);
40508 atanhf(0.0f);
40509 atanhl(0.0l);
40510 cbrt(0.0);
40511 cbrtf(0.0f);
40512 cbrtl(0.0l);
40513 copysign(0.0, 0.0);
40514 copysignf(0.0f, 0.0f);
40515 copysignl(0.0l, 0.0l);
40516 erf(0.0);
40517 erff(0.0f);
40518 erfl(0.0l);
40519 erfc(0.0);
40520 erfcf(0.0f);
40521 erfcl(0.0l);
40522 exp2(0.0);
40523 exp2f(0.0f);
40524 exp2l(0.0l);
40525 expm1(0.0);
40526 expm1f(0.0f);
40527 expm1l(0.0l);
40528 fdim(0.0, 0.0);
40529 fdimf(0.0f, 0.0f);
40530 fdiml(0.0l, 0.0l);
40531 fma(0.0, 0.0, 0.0);
40532 fmaf(0.0f, 0.0f, 0.0f);
40533 fmal(0.0l, 0.0l, 0.0l);
40534 fmax(0.0, 0.0);
40535 fmaxf(0.0f, 0.0f);
40536 fmaxl(0.0l, 0.0l);
40537 fmin(0.0, 0.0);
40538 fminf(0.0f, 0.0f);
40539 fminl(0.0l, 0.0l);
40540 hypot(0.0, 0.0);
40541 hypotf(0.0f, 0.0f);
40542 hypotl(0.0l, 0.0l);
40543 ilogb(0.0);
40544 ilogbf(0.0f);
40545 ilogbl(0.0l);
40546 lgamma(0.0);
40547 lgammaf(0.0f);
40548 lgammal(0.0l);
40549 llrint(0.0);
40550 llrintf(0.0f);
40551 llrintl(0.0l);
40552 llround(0.0);
40553 llroundf(0.0f);
40554 llroundl(0.0l);
40555 log1p(0.0);
40556 log1pf(0.0f);
40557 log1pl(0.0l);
40558 log2(0.0);
40559 log2f(0.0f);
40560 log2l(0.0l);
40561 logb(0.0);
40562 logbf(0.0f);
40563 logbl(0.0l);
40564 lrint(0.0);
40565 lrintf(0.0f);
40566 lrintl(0.0l);
40567 lround(0.0);
40568 lroundf(0.0f);
40569 lroundl(0.0l);
40570 nan(0);
40571 nanf(0);
40572 nanl(0);
40573 nearbyint(0.0);
40574 nearbyintf(0.0f);
40575 nearbyintl(0.0l);
40576 nextafter(0.0, 0.0);
40577 nextafterf(0.0f, 0.0f);
40578 nextafterl(0.0l, 0.0l);
40579 nexttoward(0.0, 0.0);
40580 nexttowardf(0.0f, 0.0f);
40581 nexttowardl(0.0l, 0.0l);
40582 remainder(0.0, 0.0);
40583 remainderf(0.0f, 0.0f);
40584 remainderl(0.0l, 0.0l);
40585 remquo(0.0, 0.0, 0);
40586 remquo(0.0f, 0.0f, 0);
40587 remquo(0.0l, 0.0l, 0);
40588 rint(0.0);
40589 rintf(0.0f);
40590 rintl(0.0l);
40591 round(0.0);
40592 roundf(0.0f);
40593 roundl(0.0l);
40594 scalbln(0.0, 0l);
40595 scalblnf(0.0f, 0l);
40596 scalblnl(0.0l, 0l);
40597 scalbn(0.0, 0);
40598 scalbnf(0.0f, 0);
40599 scalbnl(0.0l, 0);
40600 tgamma(0.0);
40601 tgammaf(0.0f);
40602 tgammal(0.0l);
40603 trunc(0.0);
40604 truncf(0.0f);
40605 truncl(0.0l);
40608 return 0;
40610 _ACEOF
40611 rm -f conftest.$ac_objext
40612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40613 (eval $ac_compile) 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } &&
40620 { ac_try='test -z "$ac_cxx_werror_flag"
40621 || test ! -s conftest.err'
40622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 (eval $ac_try) 2>&5
40624 ac_status=$?
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; } &&
40627 { ac_try='test -s conftest.$ac_objext'
40628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40629 (eval $ac_try) 2>&5
40630 ac_status=$?
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); }; }; then
40633 ac_c99_math_tr1=yes
40634 else
40635 echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40638 ac_c99_math_tr1=no
40640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40644 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40645 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40646 if test x"$ac_c99_math_tr1" = x"yes"; then
40648 cat >>confdefs.h <<\_ACEOF
40649 #define _GLIBCXX_USE_C99_MATH_TR1 1
40650 _ACEOF
40654 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40655 # sense if the previous check fails, per C99, 7.8/1).
40656 ac_c99_inttypes_tr1=no;
40657 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40658 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40659 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40660 cat >conftest.$ac_ext <<_ACEOF
40661 /* confdefs.h. */
40662 _ACEOF
40663 cat confdefs.h >>conftest.$ac_ext
40664 cat >>conftest.$ac_ext <<_ACEOF
40665 /* end confdefs.h. */
40666 #include <inttypes.h>
40668 main ()
40670 intmax_t i, numer, denom, base;
40671 const char* s;
40672 char** endptr;
40673 intmax_t ret = imaxabs(i);
40674 imaxdiv_t dret = imaxdiv(numer, denom);
40675 ret = strtoimax(s, endptr, base);
40676 uintmax_t uret = strtoumax(s, endptr, base);
40679 return 0;
40681 _ACEOF
40682 rm -f conftest.$ac_objext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40684 (eval $ac_compile) 2>conftest.er1
40685 ac_status=$?
40686 grep -v '^ *+' conftest.er1 >conftest.err
40687 rm -f conftest.er1
40688 cat conftest.err >&5
40689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690 (exit $ac_status); } &&
40691 { ac_try='test -z "$ac_cxx_werror_flag"
40692 || test ! -s conftest.err'
40693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694 (eval $ac_try) 2>&5
40695 ac_status=$?
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); }; } &&
40698 { ac_try='test -s conftest.$ac_objext'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40701 ac_status=$?
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; }; then
40704 ac_c99_inttypes_tr1=yes
40705 else
40706 echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40709 ac_c99_inttypes_tr1=no
40711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40713 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40714 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40715 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40717 cat >>confdefs.h <<\_ACEOF
40718 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40719 _ACEOF
40723 # Check for the existence of the <stdbool.h> header.
40725 for ac_header in stdbool.h
40727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40729 echo "$as_me:$LINENO: checking for $ac_header" >&5
40730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40736 else
40737 # Is the header compilable?
40738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40740 cat >conftest.$ac_ext <<_ACEOF
40741 /* confdefs.h. */
40742 _ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40746 $ac_includes_default
40747 #include <$ac_header>
40748 _ACEOF
40749 rm -f conftest.$ac_objext
40750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40751 (eval $ac_compile) 2>conftest.er1
40752 ac_status=$?
40753 grep -v '^ *+' conftest.er1 >conftest.err
40754 rm -f conftest.er1
40755 cat conftest.err >&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } &&
40758 { ac_try='test -z "$ac_cxx_werror_flag"
40759 || test ! -s conftest.err'
40760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761 (eval $ac_try) 2>&5
40762 ac_status=$?
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); }; } &&
40765 { ac_try='test -s conftest.$ac_objext'
40766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767 (eval $ac_try) 2>&5
40768 ac_status=$?
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); }; }; then
40771 ac_header_compiler=yes
40772 else
40773 echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40776 ac_header_compiler=no
40778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40780 echo "${ECHO_T}$ac_header_compiler" >&6
40782 # Is the header present?
40783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40785 cat >conftest.$ac_ext <<_ACEOF
40786 /* confdefs.h. */
40787 _ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h. */
40791 #include <$ac_header>
40792 _ACEOF
40793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40795 ac_status=$?
40796 grep -v '^ *+' conftest.er1 >conftest.err
40797 rm -f conftest.er1
40798 cat conftest.err >&5
40799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800 (exit $ac_status); } >/dev/null; then
40801 if test -s conftest.err; then
40802 ac_cpp_err=$ac_cxx_preproc_warn_flag
40803 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40804 else
40805 ac_cpp_err=
40807 else
40808 ac_cpp_err=yes
40810 if test -z "$ac_cpp_err"; then
40811 ac_header_preproc=yes
40812 else
40813 echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.$ac_ext >&5
40816 ac_header_preproc=no
40818 rm -f conftest.err conftest.$ac_ext
40819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40820 echo "${ECHO_T}$ac_header_preproc" >&6
40822 # So? What about this header?
40823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40824 yes:no: )
40825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40829 ac_header_preproc=yes
40831 no:yes:* )
40832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40836 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40838 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40839 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40840 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40842 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40845 cat <<\_ASBOX
40846 ## ----------------------------------------- ##
40847 ## Report this to the package-unused lists. ##
40848 ## ----------------------------------------- ##
40849 _ASBOX
40851 sed "s/^/$as_me: WARNING: /" >&2
40853 esac
40854 echo "$as_me:$LINENO: checking for $ac_header" >&5
40855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859 eval "$as_ac_Header=\$ac_header_preproc"
40861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40866 cat >>confdefs.h <<_ACEOF
40867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40868 _ACEOF
40872 done
40875 CXXFLAGS="$ac_save_CXXFLAGS"
40876 ac_ext=c
40877 ac_cpp='$CPP $CPPFLAGS'
40878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40884 # For dev/random and dev/urandom for TR1.
40887 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40888 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40889 if test "${ac_random_tr1+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40893 if test "$cross_compiling" = yes; then
40894 ac_random_tr1=no
40895 else
40896 cat >conftest.$ac_ext <<_ACEOF
40897 /* confdefs.h. */
40898 _ACEOF
40899 cat confdefs.h >>conftest.$ac_ext
40900 cat >>conftest.$ac_ext <<_ACEOF
40901 /* end confdefs.h. */
40902 #include <stdio.h>
40903 int main()
40905 return !(fopen("/dev/random", "r")
40906 && fopen("/dev/urandom", "r"));
40909 _ACEOF
40910 rm -f conftest$ac_exeext
40911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40912 (eval $ac_link) 2>&5
40913 ac_status=$?
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40917 (eval $ac_try) 2>&5
40918 ac_status=$?
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); }; }; then
40921 ac_random_tr1=yes
40922 else
40923 echo "$as_me: program exited with status $ac_status" >&5
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40927 ( exit $ac_status )
40928 ac_random_tr1=no
40930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40935 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40936 echo "${ECHO_T}$ac_random_tr1" >&6
40937 if test x"$ac_random_tr1" = x"yes"; then
40939 cat >>confdefs.h <<\_ACEOF
40940 #define _GLIBCXX_USE_RANDOM_TR1 1
40941 _ACEOF
40947 # For TLS support.
40949 # Check whether --enable-tls or --disable-tls was given.
40950 if test "${enable_tls+set}" = set; then
40951 enableval="$enable_tls"
40953 case "$enableval" in
40954 yes|no) ;;
40955 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40956 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40957 { (exit 1); exit 1; }; } ;;
40958 esac
40960 else
40961 enable_tls=yes
40964 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40965 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40966 if test "${gcc_cv_have_tls+set}" = set; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 else
40970 if test "$cross_compiling" = yes; then
40971 if test x$gcc_no_link = xyes; then
40972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40974 { (exit 1); exit 1; }; }
40976 cat >conftest.$ac_ext <<_ACEOF
40977 __thread int a; int b; int main() { return a = b; }
40978 _ACEOF
40979 rm -f conftest.$ac_objext conftest$ac_exeext
40980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40981 (eval $ac_link) 2>conftest.er1
40982 ac_status=$?
40983 grep -v '^ *+' conftest.er1 >conftest.err
40984 rm -f conftest.er1
40985 cat conftest.err >&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); } &&
40988 { ac_try='test -z "$ac_c_werror_flag"
40989 || test ! -s conftest.err'
40990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40991 (eval $ac_try) 2>&5
40992 ac_status=$?
40993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994 (exit $ac_status); }; } &&
40995 { ac_try='test -s conftest$ac_exeext'
40996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40997 (eval $ac_try) 2>&5
40998 ac_status=$?
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); }; }; then
41001 gcc_cv_have_tls=yes
41002 else
41003 echo "$as_me: failed program was:" >&5
41004 sed 's/^/| /' conftest.$ac_ext >&5
41006 gcc_cv_have_tls=no
41008 rm -f conftest.err conftest.$ac_objext \
41009 conftest$ac_exeext conftest.$ac_ext
41012 else
41013 cat >conftest.$ac_ext <<_ACEOF
41014 __thread int a; int b; int main() { return a = b; }
41015 _ACEOF
41016 rm -f conftest$ac_exeext
41017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41018 (eval $ac_link) 2>&5
41019 ac_status=$?
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41023 (eval $ac_try) 2>&5
41024 ac_status=$?
41025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026 (exit $ac_status); }; }; then
41027 chktls_save_LDFLAGS="$LDFLAGS"
41028 LDFLAGS="-static $LDFLAGS"
41029 if test x$gcc_no_link = xyes; then
41030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41032 { (exit 1); exit 1; }; }
41034 cat >conftest.$ac_ext <<_ACEOF
41035 int main() { return 0; }
41036 _ACEOF
41037 rm -f conftest.$ac_objext conftest$ac_exeext
41038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41039 (eval $ac_link) 2>conftest.er1
41040 ac_status=$?
41041 grep -v '^ *+' conftest.er1 >conftest.err
41042 rm -f conftest.er1
41043 cat conftest.err >&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } &&
41046 { ac_try='test -z "$ac_c_werror_flag"
41047 || test ! -s conftest.err'
41048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049 (eval $ac_try) 2>&5
41050 ac_status=$?
41051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052 (exit $ac_status); }; } &&
41053 { ac_try='test -s conftest$ac_exeext'
41054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055 (eval $ac_try) 2>&5
41056 ac_status=$?
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); }; }; then
41059 if test "$cross_compiling" = yes; then
41060 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41061 See \`config.log' for more details." >&5
41062 echo "$as_me: error: cannot run test program while cross compiling
41063 See \`config.log' for more details." >&2;}
41064 { (exit 1); exit 1; }; }
41065 else
41066 cat >conftest.$ac_ext <<_ACEOF
41067 __thread int a; int b; int main() { return a = b; }
41068 _ACEOF
41069 rm -f conftest$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>&5
41072 ac_status=$?
41073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41076 (eval $ac_try) 2>&5
41077 ac_status=$?
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); }; }; then
41080 gcc_cv_have_tls=yes
41081 else
41082 echo "$as_me: program exited with status $ac_status" >&5
41083 echo "$as_me: failed program was:" >&5
41084 sed 's/^/| /' conftest.$ac_ext >&5
41086 ( exit $ac_status )
41087 gcc_cv_have_tls=no
41089 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41095 gcc_cv_have_tls=yes
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41099 LDFLAGS="$chktls_save_LDFLAGS"
41100 if test $gcc_cv_have_tls = yes; then
41101 chktls_save_CFLAGS="$CFLAGS"
41102 thread_CFLAGS=failed
41103 for flag in '' '-pthread' '-lpthread'; do
41104 CFLAGS="$flag $chktls_save_CFLAGS"
41105 if test x$gcc_no_link = xyes; then
41106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41108 { (exit 1); exit 1; }; }
41110 cat >conftest.$ac_ext <<_ACEOF
41111 /* confdefs.h. */
41112 _ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h. */
41116 #include <pthread.h>
41117 void *g(void *d) { return NULL; }
41119 main ()
41121 pthread_t t; pthread_create(&t,NULL,g,NULL);
41123 return 0;
41125 _ACEOF
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41128 (eval $ac_link) 2>conftest.er1
41129 ac_status=$?
41130 grep -v '^ *+' conftest.er1 >conftest.err
41131 rm -f conftest.er1
41132 cat conftest.err >&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); } &&
41135 { ac_try='test -z "$ac_c_werror_flag"
41136 || test ! -s conftest.err'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41139 ac_status=$?
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; } &&
41142 { ac_try='test -s conftest$ac_exeext'
41143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144 (eval $ac_try) 2>&5
41145 ac_status=$?
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); }; }; then
41148 thread_CFLAGS="$flag"
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41154 rm -f conftest.err conftest.$ac_objext \
41155 conftest$ac_exeext conftest.$ac_ext
41156 if test "X$thread_CFLAGS" != Xfailed; then
41157 break
41159 done
41160 CFLAGS="$chktls_save_CFLAGS"
41161 if test "X$thread_CFLAGS" != Xfailed; then
41162 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41163 if test "$cross_compiling" = yes; then
41164 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41165 See \`config.log' for more details." >&5
41166 echo "$as_me: error: cannot run test program while cross compiling
41167 See \`config.log' for more details." >&2;}
41168 { (exit 1); exit 1; }; }
41169 else
41170 cat >conftest.$ac_ext <<_ACEOF
41171 /* confdefs.h. */
41172 _ACEOF
41173 cat confdefs.h >>conftest.$ac_ext
41174 cat >>conftest.$ac_ext <<_ACEOF
41175 /* end confdefs.h. */
41176 #include <pthread.h>
41177 __thread int a;
41178 static int *a_in_other_thread;
41179 static void *
41180 thread_func (void *arg)
41182 a_in_other_thread = &a;
41183 return (void *)0;
41186 main ()
41188 pthread_t thread;
41189 void *thread_retval;
41190 int *a_in_main_thread;
41191 if (pthread_create (&thread, (pthread_attr_t *)0,
41192 thread_func, (void *)0))
41193 return 0;
41194 a_in_main_thread = &a;
41195 if (pthread_join (thread, &thread_retval))
41196 return 0;
41197 return (a_in_other_thread == a_in_main_thread);
41199 return 0;
41201 _ACEOF
41202 rm -f conftest$ac_exeext
41203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41204 (eval $ac_link) 2>&5
41205 ac_status=$?
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41209 (eval $ac_try) 2>&5
41210 ac_status=$?
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); }; }; then
41213 gcc_cv_have_tls=yes
41214 else
41215 echo "$as_me: program exited with status $ac_status" >&5
41216 echo "$as_me: failed program was:" >&5
41217 sed 's/^/| /' conftest.$ac_ext >&5
41219 ( exit $ac_status )
41220 gcc_cv_have_tls=no
41222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41224 CFLAGS="$chktls_save_CFLAGS"
41227 else
41228 echo "$as_me: program exited with status $ac_status" >&5
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41232 ( exit $ac_status )
41233 gcc_cv_have_tls=no
41235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41238 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41239 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41240 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41242 cat >>confdefs.h <<\_ACEOF
41243 #define HAVE_TLS 1
41244 _ACEOF
41248 # For _Unwind_GetIPInfo.
41252 ac_ext=cc
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41258 ac_save_CXXFLAGS="$CXXFLAGS"
41259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41260 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41261 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41262 if test "${gcc_cv_getipinfo+set}" = set; then
41263 echo $ECHO_N "(cached) $ECHO_C" >&6
41264 else
41266 if test x$gcc_no_link = xyes; then
41267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41269 { (exit 1); exit 1; }; }
41271 cat >conftest.$ac_ext <<_ACEOF
41272 /* confdefs.h. */
41273 _ACEOF
41274 cat confdefs.h >>conftest.$ac_ext
41275 cat >>conftest.$ac_ext <<_ACEOF
41276 /* end confdefs.h. */
41277 extern "C" { extern void _Unwind_GetIPInfo(); }
41279 main ()
41281 _Unwind_GetIPInfo();
41283 return 0;
41285 _ACEOF
41286 rm -f conftest.$ac_objext conftest$ac_exeext
41287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41288 (eval $ac_link) 2>conftest.er1
41289 ac_status=$?
41290 grep -v '^ *+' conftest.er1 >conftest.err
41291 rm -f conftest.er1
41292 cat conftest.err >&5
41293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294 (exit $ac_status); } &&
41295 { ac_try='test -z "$ac_cxx_werror_flag"
41296 || test ! -s conftest.err'
41297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41298 (eval $ac_try) 2>&5
41299 ac_status=$?
41300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 (exit $ac_status); }; } &&
41302 { ac_try='test -s conftest$ac_exeext'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41305 ac_status=$?
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; }; then
41308 gcc_cv_getipinfo=yes
41309 else
41310 echo "$as_me: failed program was:" >&5
41311 sed 's/^/| /' conftest.$ac_ext >&5
41313 gcc_cv_getipinfo=no
41315 rm -f conftest.err conftest.$ac_objext \
41316 conftest$ac_exeext conftest.$ac_ext
41320 if test $gcc_cv_getipinfo = yes; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_GETIPINFO 1
41324 _ACEOF
41327 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41328 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41329 CXXFLAGS="$ac_save_CXXFLAGS"
41330 ac_ext=c
41331 ac_cpp='$CPP $CPPFLAGS'
41332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41339 if test "${ac_cv_header_locale_h+set}" = set; then
41340 echo "$as_me:$LINENO: checking for locale.h" >&5
41341 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41342 if test "${ac_cv_header_locale_h+set}" = set; then
41343 echo $ECHO_N "(cached) $ECHO_C" >&6
41345 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41346 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41347 else
41348 # Is the header compilable?
41349 echo "$as_me:$LINENO: checking locale.h usability" >&5
41350 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 $ac_includes_default
41358 #include <locale.h>
41359 _ACEOF
41360 rm -f conftest.$ac_objext
41361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41362 (eval $ac_compile) 2>conftest.er1
41363 ac_status=$?
41364 grep -v '^ *+' conftest.er1 >conftest.err
41365 rm -f conftest.er1
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } &&
41369 { ac_try='test -z "$ac_c_werror_flag"
41370 || test ! -s conftest.err'
41371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41372 (eval $ac_try) 2>&5
41373 ac_status=$?
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); }; } &&
41376 { ac_try='test -s conftest.$ac_objext'
41377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378 (eval $ac_try) 2>&5
41379 ac_status=$?
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); }; }; then
41382 ac_header_compiler=yes
41383 else
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41387 ac_header_compiler=no
41389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41391 echo "${ECHO_T}$ac_header_compiler" >&6
41393 # Is the header present?
41394 echo "$as_me:$LINENO: checking locale.h presence" >&5
41395 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41396 cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h. */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402 #include <locale.h>
41403 _ACEOF
41404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41406 ac_status=$?
41407 grep -v '^ *+' conftest.er1 >conftest.err
41408 rm -f conftest.er1
41409 cat conftest.err >&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } >/dev/null; then
41412 if test -s conftest.err; then
41413 ac_cpp_err=$ac_c_preproc_warn_flag
41414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41415 else
41416 ac_cpp_err=
41418 else
41419 ac_cpp_err=yes
41421 if test -z "$ac_cpp_err"; then
41422 ac_header_preproc=yes
41423 else
41424 echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.$ac_ext >&5
41427 ac_header_preproc=no
41429 rm -f conftest.err conftest.$ac_ext
41430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41431 echo "${ECHO_T}$ac_header_preproc" >&6
41433 # So? What about this header?
41434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41435 yes:no: )
41436 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41437 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41438 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41439 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41440 ac_header_preproc=yes
41442 no:yes:* )
41443 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41444 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41445 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41446 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41447 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41448 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41449 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41450 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41451 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41452 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41453 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41454 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41456 cat <<\_ASBOX
41457 ## ----------------------------------------- ##
41458 ## Report this to the package-unused lists. ##
41459 ## ----------------------------------------- ##
41460 _ASBOX
41462 sed "s/^/$as_me: WARNING: /" >&2
41464 esac
41465 echo "$as_me:$LINENO: checking for locale.h" >&5
41466 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41467 if test "${ac_cv_header_locale_h+set}" = set; then
41468 echo $ECHO_N "(cached) $ECHO_C" >&6
41469 else
41470 ac_cv_header_locale_h=$ac_header_preproc
41472 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41473 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41476 if test $ac_cv_header_locale_h = yes; then
41478 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41479 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41480 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41481 echo $ECHO_N "(cached) $ECHO_C" >&6
41482 else
41483 if test x$gcc_no_link = xyes; then
41484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41486 { (exit 1); exit 1; }; }
41488 cat >conftest.$ac_ext <<_ACEOF
41489 /* confdefs.h. */
41490 _ACEOF
41491 cat confdefs.h >>conftest.$ac_ext
41492 cat >>conftest.$ac_ext <<_ACEOF
41493 /* end confdefs.h. */
41494 #include <locale.h>
41496 main ()
41498 return LC_MESSAGES
41500 return 0;
41502 _ACEOF
41503 rm -f conftest.$ac_objext conftest$ac_exeext
41504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41505 (eval $ac_link) 2>conftest.er1
41506 ac_status=$?
41507 grep -v '^ *+' conftest.er1 >conftest.err
41508 rm -f conftest.er1
41509 cat conftest.err >&5
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); } &&
41512 { ac_try='test -z "$ac_c_werror_flag"
41513 || test ! -s conftest.err'
41514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41515 (eval $ac_try) 2>&5
41516 ac_status=$?
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); }; } &&
41519 { ac_try='test -s conftest$ac_exeext'
41520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521 (eval $ac_try) 2>&5
41522 ac_status=$?
41523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524 (exit $ac_status); }; }; then
41525 ac_cv_val_LC_MESSAGES=yes
41526 else
41527 echo "$as_me: failed program was:" >&5
41528 sed 's/^/| /' conftest.$ac_ext >&5
41530 ac_cv_val_LC_MESSAGES=no
41532 rm -f conftest.err conftest.$ac_objext \
41533 conftest$ac_exeext conftest.$ac_ext
41535 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41536 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41537 if test $ac_cv_val_LC_MESSAGES = yes; then
41539 cat >>confdefs.h <<\_ACEOF
41540 #define HAVE_LC_MESSAGES 1
41541 _ACEOF
41550 cat >conftest.$ac_ext <<_ACEOF
41551 /* confdefs.h. */
41552 _ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h. */
41556 #include <setjmp.h>
41558 main ()
41560 sigjmp_buf env;
41561 while (! sigsetjmp (env, 1))
41562 siglongjmp (env, 1);
41565 return 0;
41567 _ACEOF
41568 rm -f conftest.$ac_objext
41569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41570 (eval $ac_compile) 2>conftest.er1
41571 ac_status=$?
41572 grep -v '^ *+' conftest.er1 >conftest.err
41573 rm -f conftest.er1
41574 cat conftest.err >&5
41575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576 (exit $ac_status); } &&
41577 { ac_try='test -z "$ac_c_werror_flag"
41578 || test ! -s conftest.err'
41579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41580 (eval $ac_try) 2>&5
41581 ac_status=$?
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); }; } &&
41584 { ac_try='test -s conftest.$ac_objext'
41585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41586 (eval $ac_try) 2>&5
41587 ac_status=$?
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); }; }; then
41591 cat >>confdefs.h <<\_ACEOF
41592 #define HAVE_SIGSETJMP 1
41593 _ACEOF
41595 else
41596 echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.$ac_ext >&5
41600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41602 if test x$gcc_no_link = xyes; then
41603 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41604 ac_cv_func_mmap_fixed_mapped=no
41607 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41610 for ac_header in stdlib.h unistd.h
41612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41614 echo "$as_me:$LINENO: checking for $ac_header" >&5
41615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41621 else
41622 # Is the header compilable?
41623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41625 cat >conftest.$ac_ext <<_ACEOF
41626 /* confdefs.h. */
41627 _ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h. */
41631 $ac_includes_default
41632 #include <$ac_header>
41633 _ACEOF
41634 rm -f conftest.$ac_objext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41636 (eval $ac_compile) 2>conftest.er1
41637 ac_status=$?
41638 grep -v '^ *+' conftest.er1 >conftest.err
41639 rm -f conftest.er1
41640 cat conftest.err >&5
41641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642 (exit $ac_status); } &&
41643 { ac_try='test -z "$ac_c_werror_flag"
41644 || test ! -s conftest.err'
41645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646 (eval $ac_try) 2>&5
41647 ac_status=$?
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); }; } &&
41650 { ac_try='test -s conftest.$ac_objext'
41651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652 (eval $ac_try) 2>&5
41653 ac_status=$?
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); }; }; then
41656 ac_header_compiler=yes
41657 else
41658 echo "$as_me: failed program was:" >&5
41659 sed 's/^/| /' conftest.$ac_ext >&5
41661 ac_header_compiler=no
41663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41665 echo "${ECHO_T}$ac_header_compiler" >&6
41667 # Is the header present?
41668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41670 cat >conftest.$ac_ext <<_ACEOF
41671 /* confdefs.h. */
41672 _ACEOF
41673 cat confdefs.h >>conftest.$ac_ext
41674 cat >>conftest.$ac_ext <<_ACEOF
41675 /* end confdefs.h. */
41676 #include <$ac_header>
41677 _ACEOF
41678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41679 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41680 ac_status=$?
41681 grep -v '^ *+' conftest.er1 >conftest.err
41682 rm -f conftest.er1
41683 cat conftest.err >&5
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); } >/dev/null; then
41686 if test -s conftest.err; then
41687 ac_cpp_err=$ac_c_preproc_warn_flag
41688 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41689 else
41690 ac_cpp_err=
41692 else
41693 ac_cpp_err=yes
41695 if test -z "$ac_cpp_err"; then
41696 ac_header_preproc=yes
41697 else
41698 echo "$as_me: failed program was:" >&5
41699 sed 's/^/| /' conftest.$ac_ext >&5
41701 ac_header_preproc=no
41703 rm -f conftest.err conftest.$ac_ext
41704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41705 echo "${ECHO_T}$ac_header_preproc" >&6
41707 # So? What about this header?
41708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41709 yes:no: )
41710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41714 ac_header_preproc=yes
41716 no:yes:* )
41717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41730 cat <<\_ASBOX
41731 ## ----------------------------------------- ##
41732 ## Report this to the package-unused lists. ##
41733 ## ----------------------------------------- ##
41734 _ASBOX
41736 sed "s/^/$as_me: WARNING: /" >&2
41738 esac
41739 echo "$as_me:$LINENO: checking for $ac_header" >&5
41740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41742 echo $ECHO_N "(cached) $ECHO_C" >&6
41743 else
41744 eval "$as_ac_Header=\$ac_header_preproc"
41746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41751 cat >>confdefs.h <<_ACEOF
41752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41753 _ACEOF
41757 done
41760 for ac_func in getpagesize
41762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 echo "$as_me:$LINENO: checking for $ac_func" >&5
41764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41765 if eval "test \"\${$as_ac_var+set}\" = set"; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768 if test x$gcc_no_link = xyes; then
41769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41771 { (exit 1); exit 1; }; }
41773 cat >conftest.$ac_ext <<_ACEOF
41774 /* confdefs.h. */
41775 _ACEOF
41776 cat confdefs.h >>conftest.$ac_ext
41777 cat >>conftest.$ac_ext <<_ACEOF
41778 /* end confdefs.h. */
41779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41781 #define $ac_func innocuous_$ac_func
41783 /* System header to define __stub macros and hopefully few prototypes,
41784 which can conflict with char $ac_func (); below.
41785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41786 <limits.h> exists even on freestanding compilers. */
41788 #ifdef __STDC__
41789 # include <limits.h>
41790 #else
41791 # include <assert.h>
41792 #endif
41794 #undef $ac_func
41796 /* Override any gcc2 internal prototype to avoid an error. */
41797 #ifdef __cplusplus
41798 extern "C"
41800 #endif
41801 /* We use char because int might match the return type of a gcc2
41802 builtin and then its argument prototype would still apply. */
41803 char $ac_func ();
41804 /* The GNU C library defines this for functions which it implements
41805 to always fail with ENOSYS. Some functions are actually named
41806 something starting with __ and the normal name is an alias. */
41807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41808 choke me
41809 #else
41810 char (*f) () = $ac_func;
41811 #endif
41812 #ifdef __cplusplus
41814 #endif
41817 main ()
41819 return f != $ac_func;
41821 return 0;
41823 _ACEOF
41824 rm -f conftest.$ac_objext conftest$ac_exeext
41825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41826 (eval $ac_link) 2>conftest.er1
41827 ac_status=$?
41828 grep -v '^ *+' conftest.er1 >conftest.err
41829 rm -f conftest.er1
41830 cat conftest.err >&5
41831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832 (exit $ac_status); } &&
41833 { ac_try='test -z "$ac_c_werror_flag"
41834 || test ! -s conftest.err'
41835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41836 (eval $ac_try) 2>&5
41837 ac_status=$?
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); }; } &&
41840 { ac_try='test -s conftest$ac_exeext'
41841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41842 (eval $ac_try) 2>&5
41843 ac_status=$?
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); }; }; then
41846 eval "$as_ac_var=yes"
41847 else
41848 echo "$as_me: failed program was:" >&5
41849 sed 's/^/| /' conftest.$ac_ext >&5
41851 eval "$as_ac_var=no"
41853 rm -f conftest.err conftest.$ac_objext \
41854 conftest$ac_exeext conftest.$ac_ext
41856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41858 if test `eval echo '${'$as_ac_var'}'` = yes; then
41859 cat >>confdefs.h <<_ACEOF
41860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41861 _ACEOF
41864 done
41866 echo "$as_me:$LINENO: checking for working mmap" >&5
41867 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41868 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41869 echo $ECHO_N "(cached) $ECHO_C" >&6
41870 else
41871 if test "$cross_compiling" = yes; then
41872 ac_cv_func_mmap_fixed_mapped=no
41873 else
41874 cat >conftest.$ac_ext <<_ACEOF
41875 /* confdefs.h. */
41876 _ACEOF
41877 cat confdefs.h >>conftest.$ac_ext
41878 cat >>conftest.$ac_ext <<_ACEOF
41879 /* end confdefs.h. */
41880 $ac_includes_default
41881 /* malloc might have been renamed as rpl_malloc. */
41882 #undef malloc
41884 /* Thanks to Mike Haertel and Jim Avera for this test.
41885 Here is a matrix of mmap possibilities:
41886 mmap private not fixed
41887 mmap private fixed at somewhere currently unmapped
41888 mmap private fixed at somewhere already mapped
41889 mmap shared not fixed
41890 mmap shared fixed at somewhere currently unmapped
41891 mmap shared fixed at somewhere already mapped
41892 For private mappings, we should verify that changes cannot be read()
41893 back from the file, nor mmap's back from the file at a different
41894 address. (There have been systems where private was not correctly
41895 implemented like the infamous i386 svr4.0, and systems where the
41896 VM page cache was not coherent with the file system buffer cache
41897 like early versions of FreeBSD and possibly contemporary NetBSD.)
41898 For shared mappings, we should conversely verify that changes get
41899 propagated back to all the places they're supposed to be.
41901 Grep wants private fixed already mapped.
41902 The main things grep needs to know about mmap are:
41903 * does it exist and is it safe to write into the mmap'd area
41904 * how to use it (BSD variants) */
41906 #include <fcntl.h>
41907 #include <sys/mman.h>
41909 #if !STDC_HEADERS && !HAVE_STDLIB_H
41910 char *malloc ();
41911 #endif
41913 /* This mess was copied from the GNU getpagesize.h. */
41914 #if !HAVE_GETPAGESIZE
41915 /* Assume that all systems that can run configure have sys/param.h. */
41916 # if !HAVE_SYS_PARAM_H
41917 # define HAVE_SYS_PARAM_H 1
41918 # endif
41920 # ifdef _SC_PAGESIZE
41921 # define getpagesize() sysconf(_SC_PAGESIZE)
41922 # else /* no _SC_PAGESIZE */
41923 # if HAVE_SYS_PARAM_H
41924 # include <sys/param.h>
41925 # ifdef EXEC_PAGESIZE
41926 # define getpagesize() EXEC_PAGESIZE
41927 # else /* no EXEC_PAGESIZE */
41928 # ifdef NBPG
41929 # define getpagesize() NBPG * CLSIZE
41930 # ifndef CLSIZE
41931 # define CLSIZE 1
41932 # endif /* no CLSIZE */
41933 # else /* no NBPG */
41934 # ifdef NBPC
41935 # define getpagesize() NBPC
41936 # else /* no NBPC */
41937 # ifdef PAGESIZE
41938 # define getpagesize() PAGESIZE
41939 # endif /* PAGESIZE */
41940 # endif /* no NBPC */
41941 # endif /* no NBPG */
41942 # endif /* no EXEC_PAGESIZE */
41943 # else /* no HAVE_SYS_PARAM_H */
41944 # define getpagesize() 8192 /* punt totally */
41945 # endif /* no HAVE_SYS_PARAM_H */
41946 # endif /* no _SC_PAGESIZE */
41948 #endif /* no HAVE_GETPAGESIZE */
41951 main ()
41953 char *data, *data2, *data3;
41954 int i, pagesize;
41955 int fd;
41957 pagesize = getpagesize ();
41959 /* First, make a file with some known garbage in it. */
41960 data = (char *) malloc (pagesize);
41961 if (!data)
41962 exit (1);
41963 for (i = 0; i < pagesize; ++i)
41964 *(data + i) = rand ();
41965 umask (0);
41966 fd = creat ("conftest.mmap", 0600);
41967 if (fd < 0)
41968 exit (1);
41969 if (write (fd, data, pagesize) != pagesize)
41970 exit (1);
41971 close (fd);
41973 /* Next, try to mmap the file at a fixed address which already has
41974 something else allocated at it. If we can, also make sure that
41975 we see the same garbage. */
41976 fd = open ("conftest.mmap", O_RDWR);
41977 if (fd < 0)
41978 exit (1);
41979 data2 = (char *) malloc (2 * pagesize);
41980 if (!data2)
41981 exit (1);
41982 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41983 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41984 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41985 exit (1);
41986 for (i = 0; i < pagesize; ++i)
41987 if (*(data + i) != *(data2 + i))
41988 exit (1);
41990 /* Finally, make sure that changes to the mapped area do not
41991 percolate back to the file as seen by read(). (This is a bug on
41992 some variants of i386 svr4.0.) */
41993 for (i = 0; i < pagesize; ++i)
41994 *(data2 + i) = *(data2 + i) + 1;
41995 data3 = (char *) malloc (pagesize);
41996 if (!data3)
41997 exit (1);
41998 if (read (fd, data3, pagesize) != pagesize)
41999 exit (1);
42000 for (i = 0; i < pagesize; ++i)
42001 if (*(data + i) != *(data3 + i))
42002 exit (1);
42003 close (fd);
42004 exit (0);
42006 _ACEOF
42007 rm -f conftest$ac_exeext
42008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42009 (eval $ac_link) 2>&5
42010 ac_status=$?
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014 (eval $ac_try) 2>&5
42015 ac_status=$?
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; }; then
42018 ac_cv_func_mmap_fixed_mapped=yes
42019 else
42020 echo "$as_me: program exited with status $ac_status" >&5
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42024 ( exit $ac_status )
42025 ac_cv_func_mmap_fixed_mapped=no
42027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42030 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42031 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42032 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42034 cat >>confdefs.h <<\_ACEOF
42035 #define HAVE_MMAP 1
42036 _ACEOF
42039 rm -f conftest.mmap
42043 # For iconv support.
42045 if test "X$prefix" = "XNONE"; then
42046 acl_final_prefix="$ac_default_prefix"
42047 else
42048 acl_final_prefix="$prefix"
42050 if test "X$exec_prefix" = "XNONE"; then
42051 acl_final_exec_prefix='${prefix}'
42052 else
42053 acl_final_exec_prefix="$exec_prefix"
42055 acl_save_prefix="$prefix"
42056 prefix="$acl_final_prefix"
42057 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42058 prefix="$acl_save_prefix"
42061 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42062 if test "${with_gnu_ld+set}" = set; then
42063 withval="$with_gnu_ld"
42064 test "$withval" = no || with_gnu_ld=yes
42065 else
42066 with_gnu_ld=no
42068 # Prepare PATH_SEPARATOR.
42069 # The user is always right.
42070 if test "${PATH_SEPARATOR+set}" != set; then
42071 echo "#! /bin/sh" >conf$$.sh
42072 echo "exit 0" >>conf$$.sh
42073 chmod +x conf$$.sh
42074 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42075 PATH_SEPARATOR=';'
42076 else
42077 PATH_SEPARATOR=:
42079 rm -f conf$$.sh
42081 ac_prog=ld
42082 if test "$GCC" = yes; then
42083 # Check if gcc -print-prog-name=ld gives a path.
42084 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42085 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42086 case $host in
42087 *-*-mingw*)
42088 # gcc leaves a trailing carriage return which upsets mingw
42089 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42091 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42092 esac
42093 case $ac_prog in
42094 # Accept absolute paths.
42095 [\\/]* | [A-Za-z]:[\\/]*)
42096 re_direlt='/[^/][^/]*/\.\./'
42097 # Canonicalize the path of ld
42098 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42099 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42100 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42101 done
42102 test -z "$LD" && LD="$ac_prog"
42105 # If it fails, then pretend we aren't using GCC.
42106 ac_prog=ld
42109 # If it is relative, then search for the first ld in PATH.
42110 with_gnu_ld=unknown
42112 esac
42113 elif test "$with_gnu_ld" = yes; then
42114 echo "$as_me:$LINENO: checking for GNU ld" >&5
42115 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42116 else
42117 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42118 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42120 if test "${acl_cv_path_LD+set}" = set; then
42121 echo $ECHO_N "(cached) $ECHO_C" >&6
42122 else
42123 if test -z "$LD"; then
42124 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42125 for ac_dir in $PATH; do
42126 test -z "$ac_dir" && ac_dir=.
42127 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42128 acl_cv_path_LD="$ac_dir/$ac_prog"
42129 # Check to see if the program is GNU ld. I'd rather use --version,
42130 # but apparently some GNU ld's only accept -v.
42131 # Break only if it was the GNU/non-GNU ld that we prefer.
42132 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42133 test "$with_gnu_ld" != no && break
42134 else
42135 test "$with_gnu_ld" != yes && break
42138 done
42139 IFS="$ac_save_ifs"
42140 else
42141 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42145 LD="$acl_cv_path_LD"
42146 if test -n "$LD"; then
42147 echo "$as_me:$LINENO: result: $LD" >&5
42148 echo "${ECHO_T}$LD" >&6
42149 else
42150 echo "$as_me:$LINENO: result: no" >&5
42151 echo "${ECHO_T}no" >&6
42153 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42154 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42155 { (exit 1); exit 1; }; }
42156 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42157 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42158 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42162 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42163 acl_cv_prog_gnu_ld=yes
42164 else
42165 acl_cv_prog_gnu_ld=no
42168 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42169 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42170 with_gnu_ld=$acl_cv_prog_gnu_ld
42174 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42175 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42176 if test "${acl_cv_rpath+set}" = set; then
42177 echo $ECHO_N "(cached) $ECHO_C" >&6
42178 else
42180 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42181 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42182 . ./conftest.sh
42183 rm -f ./conftest.sh
42184 acl_cv_rpath=done
42187 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42188 echo "${ECHO_T}$acl_cv_rpath" >&6
42189 wl="$acl_cv_wl"
42190 libext="$acl_cv_libext"
42191 shlibext="$acl_cv_shlibext"
42192 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42193 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42194 hardcode_direct="$acl_cv_hardcode_direct"
42195 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42196 # Check whether --enable-rpath or --disable-rpath was given.
42197 if test "${enable_rpath+set}" = set; then
42198 enableval="$enable_rpath"
42200 else
42201 enable_rpath=yes
42210 use_additional=yes
42212 acl_save_prefix="$prefix"
42213 prefix="$acl_final_prefix"
42214 acl_save_exec_prefix="$exec_prefix"
42215 exec_prefix="$acl_final_exec_prefix"
42217 eval additional_includedir=\"$includedir\"
42218 eval additional_libdir=\"$libdir\"
42220 exec_prefix="$acl_save_exec_prefix"
42221 prefix="$acl_save_prefix"
42224 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42225 if test "${with_libiconv_prefix+set}" = set; then
42226 withval="$with_libiconv_prefix"
42228 if test "X$withval" = "Xno"; then
42229 use_additional=no
42230 else
42231 if test "X$withval" = "X"; then
42233 acl_save_prefix="$prefix"
42234 prefix="$acl_final_prefix"
42235 acl_save_exec_prefix="$exec_prefix"
42236 exec_prefix="$acl_final_exec_prefix"
42238 eval additional_includedir=\"$includedir\"
42239 eval additional_libdir=\"$libdir\"
42241 exec_prefix="$acl_save_exec_prefix"
42242 prefix="$acl_save_prefix"
42244 else
42245 additional_includedir="$withval/include"
42246 additional_libdir="$withval/lib"
42251 LIBICONV=
42252 LTLIBICONV=
42253 INCICONV=
42254 rpathdirs=
42255 ltrpathdirs=
42256 names_already_handled=
42257 names_next_round='iconv '
42258 while test -n "$names_next_round"; do
42259 names_this_round="$names_next_round"
42260 names_next_round=
42261 for name in $names_this_round; do
42262 already_handled=
42263 for n in $names_already_handled; do
42264 if test "$n" = "$name"; then
42265 already_handled=yes
42266 break
42268 done
42269 if test -z "$already_handled"; then
42270 names_already_handled="$names_already_handled $name"
42271 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42272 eval value=\"\$HAVE_LIB$uppername\"
42273 if test -n "$value"; then
42274 if test "$value" = yes; then
42275 eval value=\"\$LIB$uppername\"
42276 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42277 eval value=\"\$LTLIB$uppername\"
42278 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42279 else
42282 else
42283 found_dir=
42284 found_la=
42285 found_so=
42286 found_a=
42287 if test $use_additional = yes; then
42288 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42289 found_dir="$additional_libdir"
42290 found_so="$additional_libdir/lib$name.$shlibext"
42291 if test -f "$additional_libdir/lib$name.la"; then
42292 found_la="$additional_libdir/lib$name.la"
42294 else
42295 if test -f "$additional_libdir/lib$name.$libext"; then
42296 found_dir="$additional_libdir"
42297 found_a="$additional_libdir/lib$name.$libext"
42298 if test -f "$additional_libdir/lib$name.la"; then
42299 found_la="$additional_libdir/lib$name.la"
42304 if test "X$found_dir" = "X"; then
42305 for x in $LDFLAGS $LTLIBICONV; do
42307 acl_save_prefix="$prefix"
42308 prefix="$acl_final_prefix"
42309 acl_save_exec_prefix="$exec_prefix"
42310 exec_prefix="$acl_final_exec_prefix"
42311 eval x=\"$x\"
42312 exec_prefix="$acl_save_exec_prefix"
42313 prefix="$acl_save_prefix"
42315 case "$x" in
42316 -L*)
42317 dir=`echo "X$x" | sed -e 's/^X-L//'`
42318 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42319 found_dir="$dir"
42320 found_so="$dir/lib$name.$shlibext"
42321 if test -f "$dir/lib$name.la"; then
42322 found_la="$dir/lib$name.la"
42324 else
42325 if test -f "$dir/lib$name.$libext"; then
42326 found_dir="$dir"
42327 found_a="$dir/lib$name.$libext"
42328 if test -f "$dir/lib$name.la"; then
42329 found_la="$dir/lib$name.la"
42334 esac
42335 if test "X$found_dir" != "X"; then
42336 break
42338 done
42340 if test "X$found_dir" != "X"; then
42341 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42342 if test "X$found_so" != "X"; then
42343 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42344 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42345 else
42346 haveit=
42347 for x in $ltrpathdirs; do
42348 if test "X$x" = "X$found_dir"; then
42349 haveit=yes
42350 break
42352 done
42353 if test -z "$haveit"; then
42354 ltrpathdirs="$ltrpathdirs $found_dir"
42356 if test "$hardcode_direct" = yes; then
42357 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42358 else
42359 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42360 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42361 haveit=
42362 for x in $rpathdirs; do
42363 if test "X$x" = "X$found_dir"; then
42364 haveit=yes
42365 break
42367 done
42368 if test -z "$haveit"; then
42369 rpathdirs="$rpathdirs $found_dir"
42371 else
42372 haveit=
42373 for x in $LDFLAGS $LIBICONV; do
42375 acl_save_prefix="$prefix"
42376 prefix="$acl_final_prefix"
42377 acl_save_exec_prefix="$exec_prefix"
42378 exec_prefix="$acl_final_exec_prefix"
42379 eval x=\"$x\"
42380 exec_prefix="$acl_save_exec_prefix"
42381 prefix="$acl_save_prefix"
42383 if test "X$x" = "X-L$found_dir"; then
42384 haveit=yes
42385 break
42387 done
42388 if test -z "$haveit"; then
42389 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42391 if test "$hardcode_minus_L" != no; then
42392 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42393 else
42394 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42399 else
42400 if test "X$found_a" != "X"; then
42401 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42402 else
42403 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42406 additional_includedir=
42407 case "$found_dir" in
42408 */lib | */lib/)
42409 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42410 additional_includedir="$basedir/include"
42412 esac
42413 if test "X$additional_includedir" != "X"; then
42414 if test "X$additional_includedir" != "X/usr/include"; then
42415 haveit=
42416 if test "X$additional_includedir" = "X/usr/local/include"; then
42417 if test -n "$GCC"; then
42418 case $host_os in
42419 linux*) haveit=yes;;
42420 esac
42423 if test -z "$haveit"; then
42424 for x in $CPPFLAGS $INCICONV; do
42426 acl_save_prefix="$prefix"
42427 prefix="$acl_final_prefix"
42428 acl_save_exec_prefix="$exec_prefix"
42429 exec_prefix="$acl_final_exec_prefix"
42430 eval x=\"$x\"
42431 exec_prefix="$acl_save_exec_prefix"
42432 prefix="$acl_save_prefix"
42434 if test "X$x" = "X-I$additional_includedir"; then
42435 haveit=yes
42436 break
42438 done
42439 if test -z "$haveit"; then
42440 if test -d "$additional_includedir"; then
42441 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42447 if test -n "$found_la"; then
42448 save_libdir="$libdir"
42449 case "$found_la" in
42450 */* | *\\*) . "$found_la" ;;
42451 *) . "./$found_la" ;;
42452 esac
42453 libdir="$save_libdir"
42454 for dep in $dependency_libs; do
42455 case "$dep" in
42456 -L*)
42457 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42458 if test "X$additional_libdir" != "X/usr/lib"; then
42459 haveit=
42460 if test "X$additional_libdir" = "X/usr/local/lib"; then
42461 if test -n "$GCC"; then
42462 case $host_os in
42463 linux*) haveit=yes;;
42464 esac
42467 if test -z "$haveit"; then
42468 haveit=
42469 for x in $LDFLAGS $LIBICONV; do
42471 acl_save_prefix="$prefix"
42472 prefix="$acl_final_prefix"
42473 acl_save_exec_prefix="$exec_prefix"
42474 exec_prefix="$acl_final_exec_prefix"
42475 eval x=\"$x\"
42476 exec_prefix="$acl_save_exec_prefix"
42477 prefix="$acl_save_prefix"
42479 if test "X$x" = "X-L$additional_libdir"; then
42480 haveit=yes
42481 break
42483 done
42484 if test -z "$haveit"; then
42485 if test -d "$additional_libdir"; then
42486 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42489 haveit=
42490 for x in $LDFLAGS $LTLIBICONV; do
42492 acl_save_prefix="$prefix"
42493 prefix="$acl_final_prefix"
42494 acl_save_exec_prefix="$exec_prefix"
42495 exec_prefix="$acl_final_exec_prefix"
42496 eval x=\"$x\"
42497 exec_prefix="$acl_save_exec_prefix"
42498 prefix="$acl_save_prefix"
42500 if test "X$x" = "X-L$additional_libdir"; then
42501 haveit=yes
42502 break
42504 done
42505 if test -z "$haveit"; then
42506 if test -d "$additional_libdir"; then
42507 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42513 -R*)
42514 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42515 if test "$enable_rpath" != no; then
42516 haveit=
42517 for x in $rpathdirs; do
42518 if test "X$x" = "X$dir"; then
42519 haveit=yes
42520 break
42522 done
42523 if test -z "$haveit"; then
42524 rpathdirs="$rpathdirs $dir"
42526 haveit=
42527 for x in $ltrpathdirs; do
42528 if test "X$x" = "X$dir"; then
42529 haveit=yes
42530 break
42532 done
42533 if test -z "$haveit"; then
42534 ltrpathdirs="$ltrpathdirs $dir"
42538 -l*)
42539 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42541 *.la)
42542 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42545 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42546 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42548 esac
42549 done
42551 else
42552 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42553 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42557 done
42558 done
42559 if test "X$rpathdirs" != "X"; then
42560 if test -n "$hardcode_libdir_separator"; then
42561 alldirs=
42562 for found_dir in $rpathdirs; do
42563 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42564 done
42565 acl_save_libdir="$libdir"
42566 libdir="$alldirs"
42567 eval flag=\"$hardcode_libdir_flag_spec\"
42568 libdir="$acl_save_libdir"
42569 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42570 else
42571 for found_dir in $rpathdirs; do
42572 acl_save_libdir="$libdir"
42573 libdir="$found_dir"
42574 eval flag=\"$hardcode_libdir_flag_spec\"
42575 libdir="$acl_save_libdir"
42576 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42577 done
42580 if test "X$ltrpathdirs" != "X"; then
42581 for found_dir in $ltrpathdirs; do
42582 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42583 done
42592 am_save_CPPFLAGS="$CPPFLAGS"
42594 for element in $INCICONV; do
42595 haveit=
42596 for x in $CPPFLAGS; do
42598 acl_save_prefix="$prefix"
42599 prefix="$acl_final_prefix"
42600 acl_save_exec_prefix="$exec_prefix"
42601 exec_prefix="$acl_final_exec_prefix"
42602 eval x=\"$x\"
42603 exec_prefix="$acl_save_exec_prefix"
42604 prefix="$acl_save_prefix"
42606 if test "X$x" = "X$element"; then
42607 haveit=yes
42608 break
42610 done
42611 if test -z "$haveit"; then
42612 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42614 done
42617 echo "$as_me:$LINENO: checking for iconv" >&5
42618 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42619 if test "${am_cv_func_iconv+set}" = set; then
42620 echo $ECHO_N "(cached) $ECHO_C" >&6
42621 else
42623 am_cv_func_iconv="no, consider installing GNU libiconv"
42624 am_cv_lib_iconv=no
42625 if test x$gcc_no_link = xyes; then
42626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42628 { (exit 1); exit 1; }; }
42630 cat >conftest.$ac_ext <<_ACEOF
42631 /* confdefs.h. */
42632 _ACEOF
42633 cat confdefs.h >>conftest.$ac_ext
42634 cat >>conftest.$ac_ext <<_ACEOF
42635 /* end confdefs.h. */
42636 #include <stdlib.h>
42637 #include <iconv.h>
42639 main ()
42641 iconv_t cd = iconv_open("","");
42642 iconv(cd,NULL,NULL,NULL,NULL);
42643 iconv_close(cd);
42645 return 0;
42647 _ACEOF
42648 rm -f conftest.$ac_objext conftest$ac_exeext
42649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42650 (eval $ac_link) 2>conftest.er1
42651 ac_status=$?
42652 grep -v '^ *+' conftest.er1 >conftest.err
42653 rm -f conftest.er1
42654 cat conftest.err >&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } &&
42657 { ac_try='test -z "$ac_c_werror_flag"
42658 || test ! -s conftest.err'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; } &&
42664 { ac_try='test -s conftest$ac_exeext'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42667 ac_status=$?
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; }; then
42670 am_cv_func_iconv=yes
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42676 rm -f conftest.err conftest.$ac_objext \
42677 conftest$ac_exeext conftest.$ac_ext
42678 if test "$am_cv_func_iconv" != yes; then
42679 am_save_LIBS="$LIBS"
42680 LIBS="$LIBS $LIBICONV"
42681 if test x$gcc_no_link = xyes; then
42682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42684 { (exit 1); exit 1; }; }
42686 cat >conftest.$ac_ext <<_ACEOF
42687 /* confdefs.h. */
42688 _ACEOF
42689 cat confdefs.h >>conftest.$ac_ext
42690 cat >>conftest.$ac_ext <<_ACEOF
42691 /* end confdefs.h. */
42692 #include <stdlib.h>
42693 #include <iconv.h>
42695 main ()
42697 iconv_t cd = iconv_open("","");
42698 iconv(cd,NULL,NULL,NULL,NULL);
42699 iconv_close(cd);
42701 return 0;
42703 _ACEOF
42704 rm -f conftest.$ac_objext conftest$ac_exeext
42705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42706 (eval $ac_link) 2>conftest.er1
42707 ac_status=$?
42708 grep -v '^ *+' conftest.er1 >conftest.err
42709 rm -f conftest.er1
42710 cat conftest.err >&5
42711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712 (exit $ac_status); } &&
42713 { ac_try='test -z "$ac_c_werror_flag"
42714 || test ! -s conftest.err'
42715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42716 (eval $ac_try) 2>&5
42717 ac_status=$?
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; } &&
42720 { ac_try='test -s conftest$ac_exeext'
42721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722 (eval $ac_try) 2>&5
42723 ac_status=$?
42724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725 (exit $ac_status); }; }; then
42726 am_cv_lib_iconv=yes
42727 am_cv_func_iconv=yes
42728 else
42729 echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42733 rm -f conftest.err conftest.$ac_objext \
42734 conftest$ac_exeext conftest.$ac_ext
42735 LIBS="$am_save_LIBS"
42739 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42740 echo "${ECHO_T}$am_cv_func_iconv" >&6
42741 if test "$am_cv_func_iconv" = yes; then
42743 cat >>confdefs.h <<\_ACEOF
42744 #define HAVE_ICONV 1
42745 _ACEOF
42748 if test "$am_cv_lib_iconv" = yes; then
42749 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42750 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42751 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42752 echo "${ECHO_T}$LIBICONV" >&6
42753 else
42754 CPPFLAGS="$am_save_CPPFLAGS"
42755 LIBICONV=
42756 LTLIBICONV=
42761 if test "$am_cv_func_iconv" = yes; then
42762 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42763 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42764 if test "${am_cv_proto_iconv+set}" = set; then
42765 echo $ECHO_N "(cached) $ECHO_C" >&6
42766 else
42768 cat >conftest.$ac_ext <<_ACEOF
42769 /* confdefs.h. */
42770 _ACEOF
42771 cat confdefs.h >>conftest.$ac_ext
42772 cat >>conftest.$ac_ext <<_ACEOF
42773 /* end confdefs.h. */
42775 #include <stdlib.h>
42776 #include <iconv.h>
42777 extern
42778 #ifdef __cplusplus
42780 #endif
42781 #if defined(__STDC__) || defined(__cplusplus)
42782 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42783 #else
42784 size_t iconv();
42785 #endif
42788 main ()
42792 return 0;
42794 _ACEOF
42795 rm -f conftest.$ac_objext
42796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42797 (eval $ac_compile) 2>conftest.er1
42798 ac_status=$?
42799 grep -v '^ *+' conftest.er1 >conftest.err
42800 rm -f conftest.er1
42801 cat conftest.err >&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); } &&
42804 { ac_try='test -z "$ac_c_werror_flag"
42805 || test ! -s conftest.err'
42806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42807 (eval $ac_try) 2>&5
42808 ac_status=$?
42809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810 (exit $ac_status); }; } &&
42811 { ac_try='test -s conftest.$ac_objext'
42812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42813 (eval $ac_try) 2>&5
42814 ac_status=$?
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; }; then
42817 am_cv_proto_iconv_arg1=""
42818 else
42819 echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.$ac_ext >&5
42822 am_cv_proto_iconv_arg1="const"
42824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42825 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);"
42828 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42829 echo "$as_me:$LINENO: result: ${ac_t:-
42830 }$am_cv_proto_iconv" >&5
42831 echo "${ECHO_T}${ac_t:-
42832 }$am_cv_proto_iconv" >&6
42834 cat >>confdefs.h <<_ACEOF
42835 #define ICONV_CONST $am_cv_proto_iconv_arg1
42836 _ACEOF
42841 else
42843 # This lets us hard-code the functionality we know we'll have in the cross
42844 # target environment. "Let" is a sugar-coated word placed on an especially
42845 # dull and tedious hack, actually.
42847 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42848 # that involve linking, can't be used:
42849 # "cannot open sim-crt0.o"
42850 # "cannot open crt0.o"
42851 # etc. All this is because there currently exists no unified, consistent
42852 # way for top level CC information to be passed down to target directories:
42853 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42854 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42855 # crosses can be removed.
42857 # If Canadian cross, then don't pick up tools from the build directory.
42858 # Used only in GLIBCXX_EXPORT_INCLUDES.
42859 if test -n "$with_cross_host" &&
42860 test x"$build_alias" != x"$with_cross_host" &&
42861 test x"$build" != x"$target";
42862 then
42863 CANADIAN=yes
42864 else
42865 CANADIAN=no
42868 # Construct crosses by hand, eliminating bits that need ld...
42869 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42870 # GLIBCXX_CHECK_MATH_SUPPORT
42872 # First, test for "known" system libraries. We may be using newlib even
42873 # on a hosted environment.
42874 if test "x${with_newlib}" = "xyes"; then
42875 os_include_dir="os/newlib"
42876 cat >>confdefs.h <<\_ACEOF
42877 #define HAVE_HYPOT 1
42878 _ACEOF
42881 # GLIBCXX_CHECK_STDLIB_SUPPORT
42882 cat >>confdefs.h <<\_ACEOF
42883 #define HAVE_STRTOF 1
42884 _ACEOF
42886 # AC_FUNC_MMAP
42887 cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_MMAP 1
42889 _ACEOF
42892 cat >>confdefs.h <<\_ACEOF
42893 #define HAVE_ACOSF 1
42894 _ACEOF
42896 cat >>confdefs.h <<\_ACEOF
42897 #define HAVE_ASINF 1
42898 _ACEOF
42900 cat >>confdefs.h <<\_ACEOF
42901 #define HAVE_ATAN2F 1
42902 _ACEOF
42904 cat >>confdefs.h <<\_ACEOF
42905 #define HAVE_ATANF 1
42906 _ACEOF
42908 cat >>confdefs.h <<\_ACEOF
42909 #define HAVE_CEILF 1
42910 _ACEOF
42912 cat >>confdefs.h <<\_ACEOF
42913 #define HAVE_COPYSIGN 1
42914 _ACEOF
42916 cat >>confdefs.h <<\_ACEOF
42917 #define HAVE_COPYSIGNF 1
42918 _ACEOF
42920 cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_COSF 1
42922 _ACEOF
42924 cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_COSHF 1
42926 _ACEOF
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_EXPF 1
42930 _ACEOF
42932 cat >>confdefs.h <<\_ACEOF
42933 #define HAVE_FABSF 1
42934 _ACEOF
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_FLOORF 1
42938 _ACEOF
42940 cat >>confdefs.h <<\_ACEOF
42941 #define HAVE_FMODF 1
42942 _ACEOF
42944 cat >>confdefs.h <<\_ACEOF
42945 #define HAVE_FREXPF 1
42946 _ACEOF
42948 cat >>confdefs.h <<\_ACEOF
42949 #define HAVE_LDEXPF 1
42950 _ACEOF
42952 cat >>confdefs.h <<\_ACEOF
42953 #define HAVE_LOG10F 1
42954 _ACEOF
42956 cat >>confdefs.h <<\_ACEOF
42957 #define HAVE_LOGF 1
42958 _ACEOF
42960 cat >>confdefs.h <<\_ACEOF
42961 #define HAVE_MODFF 1
42962 _ACEOF
42964 cat >>confdefs.h <<\_ACEOF
42965 #define HAVE_POWF 1
42966 _ACEOF
42968 cat >>confdefs.h <<\_ACEOF
42969 #define HAVE_SINF 1
42970 _ACEOF
42972 cat >>confdefs.h <<\_ACEOF
42973 #define HAVE_SINHF 1
42974 _ACEOF
42976 cat >>confdefs.h <<\_ACEOF
42977 #define HAVE_SQRTF 1
42978 _ACEOF
42980 cat >>confdefs.h <<\_ACEOF
42981 #define HAVE_TANF 1
42982 _ACEOF
42984 cat >>confdefs.h <<\_ACEOF
42985 #define HAVE_TANHF 1
42986 _ACEOF
42989 cat >>confdefs.h <<\_ACEOF
42990 #define HAVE_S_ISREG 1
42991 _ACEOF
42993 cat >>confdefs.h <<\_ACEOF
42994 #define HAVE_S_IFREG 1
42995 _ACEOF
42998 cat >>confdefs.h <<\_ACEOF
42999 #define HAVE_ICONV 1
43000 _ACEOF
43002 else
43004 # Base decisions on target environment.
43005 case "${host}" in
43006 arm*-*-symbianelf*)
43007 # This is a freestanding configuration; there is nothing to do here.
43010 mips*-sde-elf*)
43011 # These definitions are for the SDE C library rather than newlib.
43027 for ac_header in float.h inttypes.h locale.h \
43028 stdint.h stdlib.h string.h unistd.h wchar.h \
43029 machine/endian.h sys/ioctl.h sys/resource.h \
43030 sys/stat.h sys/time.h sys/types.h sys/uio.h
43032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43034 echo "$as_me:$LINENO: checking for $ac_header" >&5
43035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43037 echo $ECHO_N "(cached) $ECHO_C" >&6
43039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43041 else
43042 # Is the header compilable?
43043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43045 cat >conftest.$ac_ext <<_ACEOF
43046 /* confdefs.h. */
43047 _ACEOF
43048 cat confdefs.h >>conftest.$ac_ext
43049 cat >>conftest.$ac_ext <<_ACEOF
43050 /* end confdefs.h. */
43051 $ac_includes_default
43052 #include <$ac_header>
43053 _ACEOF
43054 rm -f conftest.$ac_objext
43055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43056 (eval $ac_compile) 2>conftest.er1
43057 ac_status=$?
43058 grep -v '^ *+' conftest.er1 >conftest.err
43059 rm -f conftest.er1
43060 cat conftest.err >&5
43061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062 (exit $ac_status); } &&
43063 { ac_try='test -z "$ac_c_werror_flag"
43064 || test ! -s conftest.err'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43067 ac_status=$?
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; } &&
43070 { ac_try='test -s conftest.$ac_objext'
43071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43072 (eval $ac_try) 2>&5
43073 ac_status=$?
43074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075 (exit $ac_status); }; }; then
43076 ac_header_compiler=yes
43077 else
43078 echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.$ac_ext >&5
43081 ac_header_compiler=no
43083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43085 echo "${ECHO_T}$ac_header_compiler" >&6
43087 # Is the header present?
43088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h. */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43096 #include <$ac_header>
43097 _ACEOF
43098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } >/dev/null; then
43106 if test -s conftest.err; then
43107 ac_cpp_err=$ac_c_preproc_warn_flag
43108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43109 else
43110 ac_cpp_err=
43112 else
43113 ac_cpp_err=yes
43115 if test -z "$ac_cpp_err"; then
43116 ac_header_preproc=yes
43117 else
43118 echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43121 ac_header_preproc=no
43123 rm -f conftest.err conftest.$ac_ext
43124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43125 echo "${ECHO_T}$ac_header_preproc" >&6
43127 # So? What about this header?
43128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43129 yes:no: )
43130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43134 ac_header_preproc=yes
43136 no:yes:* )
43137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43150 cat <<\_ASBOX
43151 ## ----------------------------------------- ##
43152 ## Report this to the package-unused lists. ##
43153 ## ----------------------------------------- ##
43154 _ASBOX
43156 sed "s/^/$as_me: WARNING: /" >&2
43158 esac
43159 echo "$as_me:$LINENO: checking for $ac_header" >&5
43160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43162 echo $ECHO_N "(cached) $ECHO_C" >&6
43163 else
43164 eval "$as_ac_Header=\$ac_header_preproc"
43166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43171 cat >>confdefs.h <<_ACEOF
43172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43173 _ACEOF
43177 done
43179 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43182 # All these tests are for C++; save the language and the compiler flags.
43183 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43184 # found in GLIBCXX_CONFIGURE.
43187 ac_ext=cc
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43193 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43194 ac_save_CXXFLAGS="$CXXFLAGS"
43196 # Check for maintainer-mode bits.
43197 if test x"$USE_MAINTAINER_MODE" = xno; then
43198 WERROR=''
43199 else
43200 WERROR='-Werror'
43203 # Check for -ffunction-sections -fdata-sections
43204 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43205 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43206 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43207 cat >conftest.$ac_ext <<_ACEOF
43208 /* confdefs.h. */
43209 _ACEOF
43210 cat confdefs.h >>conftest.$ac_ext
43211 cat >>conftest.$ac_ext <<_ACEOF
43212 /* end confdefs.h. */
43213 int foo; void bar() { };
43215 main ()
43219 return 0;
43221 _ACEOF
43222 rm -f conftest.$ac_objext
43223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43224 (eval $ac_compile) 2>conftest.er1
43225 ac_status=$?
43226 grep -v '^ *+' conftest.er1 >conftest.err
43227 rm -f conftest.er1
43228 cat conftest.err >&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); } &&
43231 { ac_try='test -z "$ac_cxx_werror_flag"
43232 || test ! -s conftest.err'
43233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43234 (eval $ac_try) 2>&5
43235 ac_status=$?
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); }; } &&
43238 { ac_try='test -s conftest.$ac_objext'
43239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43240 (eval $ac_try) 2>&5
43241 ac_status=$?
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); }; }; then
43244 ac_fdsections=yes
43245 else
43246 echo "$as_me: failed program was:" >&5
43247 sed 's/^/| /' conftest.$ac_ext >&5
43249 ac_fdsections=no
43251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43252 if test "$ac_test_CXXFLAGS" = set; then
43253 CXXFLAGS="$ac_save_CXXFLAGS"
43254 else
43255 # this is the suspicious part
43256 CXXFLAGS=''
43258 if test x"$ac_fdsections" = x"yes"; then
43259 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43261 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43262 echo "${ECHO_T}$ac_fdsections" >&6
43264 ac_ext=c
43265 ac_cpp='$CPP $CPPFLAGS'
43266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43274 # If we're not using GNU ld, then there's no point in even trying these
43275 # tests. Check for that first. We should have already tested for gld
43276 # by now (in libtool), but require it now just to be safe...
43277 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43278 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43282 # The name set by libtool depends on the version of libtool. Shame on us
43283 # for depending on an impl detail, but c'est la vie. Older versions used
43284 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43285 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43286 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43287 # set (hence we're using an older libtool), then set it.
43288 if test x${with_gnu_ld+set} != xset; then
43289 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43290 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43291 with_gnu_ld=no
43292 else
43293 with_gnu_ld=$ac_cv_prog_gnu_ld
43297 # Start by getting the version number. I think the libtool test already
43298 # does some of this, but throws away the result.
43299 glibcxx_ld_is_gold=no
43300 if test x"$with_gnu_ld" = x"yes"; then
43301 echo "$as_me:$LINENO: checking for ld version" >&5
43302 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43304 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43305 glibcxx_ld_is_gold=yes
43307 ldver=`$LD --version 2>/dev/null | head -1 | \
43308 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43310 glibcxx_gnu_ld_version=`echo $ldver | \
43311 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43312 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43313 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43316 # Set --gc-sections.
43317 glibcxx_have_gc_sections=no
43318 if test "$glibcxx_ld_is_gold" = "yes"; then
43319 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43320 glibcxx_have_gc_sections=yes
43322 else
43323 glibcxx_gcsections_min_ld=21602
43324 if test x"$with_gnu_ld" = x"yes" &&
43325 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43326 glibcxx_have_gc_sections=yes
43329 if test "$glibcxx_have_gc_sections" = "yes"; then
43330 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43331 # NB: This flag only works reliably after 2.16.1. Configure tests
43332 # for this are difficult, so hard wire a value that should work.
43334 ac_test_CFLAGS="${CFLAGS+set}"
43335 ac_save_CFLAGS="$CFLAGS"
43336 CFLAGS='-Wl,--gc-sections'
43338 # Check for -Wl,--gc-sections
43339 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43340 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43341 if test x$gcc_no_link = xyes; then
43342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43344 { (exit 1); exit 1; }; }
43346 cat >conftest.$ac_ext <<_ACEOF
43347 /* confdefs.h. */
43348 _ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h. */
43352 int one(void) { return 1; }
43353 int two(void) { return 2; }
43356 main ()
43358 two();
43360 return 0;
43362 _ACEOF
43363 rm -f conftest.$ac_objext conftest$ac_exeext
43364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43365 (eval $ac_link) 2>conftest.er1
43366 ac_status=$?
43367 grep -v '^ *+' conftest.er1 >conftest.err
43368 rm -f conftest.er1
43369 cat conftest.err >&5
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); } &&
43372 { ac_try='test -z "$ac_c_werror_flag"
43373 || test ! -s conftest.err'
43374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43375 (eval $ac_try) 2>&5
43376 ac_status=$?
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); }; } &&
43379 { ac_try='test -s conftest$ac_exeext'
43380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43381 (eval $ac_try) 2>&5
43382 ac_status=$?
43383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384 (exit $ac_status); }; }; then
43385 ac_gcsections=yes
43386 else
43387 echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.$ac_ext >&5
43390 ac_gcsections=no
43392 rm -f conftest.err conftest.$ac_objext \
43393 conftest$ac_exeext conftest.$ac_ext
43394 if test "$ac_gcsections" = "yes"; then
43395 rm -f conftest.c
43396 touch conftest.c
43397 if $CC -c conftest.c; then
43398 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43399 grep "Warning: gc-sections option ignored" > /dev/null; then
43400 ac_gcsections=no
43403 rm -f conftest.c conftest.o conftest
43405 if test "$ac_gcsections" = "yes"; then
43406 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43408 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43409 echo "${ECHO_T}$ac_gcsections" >&6
43411 if test "$ac_test_CFLAGS" = set; then
43412 CFLAGS="$ac_save_CFLAGS"
43413 else
43414 # this is the suspicious part
43415 CFLAGS=''
43419 # Set -z,relro.
43420 # Note this is only for shared objects.
43421 ac_ld_relro=no
43422 if test x"$with_gnu_ld" = x"yes"; then
43423 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43424 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43425 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43426 if test -n "$cxx_z_relo"; then
43427 OPT_LDFLAGS="-Wl,-z,relro"
43428 ac_ld_relro=yes
43430 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43431 echo "${ECHO_T}$ac_ld_relro" >&6
43434 # Set linker optimization flags.
43435 if test x"$with_gnu_ld" = x"yes"; then
43436 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43443 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43444 ac_save_CXXFLAGS="$CXXFLAGS"
43445 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43447 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43448 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43449 if test "${ac_cv_lib_m_sin+set}" = set; then
43450 echo $ECHO_N "(cached) $ECHO_C" >&6
43451 else
43452 ac_check_lib_save_LIBS=$LIBS
43453 LIBS="-lm $LIBS"
43454 if test x$gcc_no_link = xyes; then
43455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43457 { (exit 1); exit 1; }; }
43459 cat >conftest.$ac_ext <<_ACEOF
43460 /* confdefs.h. */
43461 _ACEOF
43462 cat confdefs.h >>conftest.$ac_ext
43463 cat >>conftest.$ac_ext <<_ACEOF
43464 /* end confdefs.h. */
43466 /* Override any gcc2 internal prototype to avoid an error. */
43467 #ifdef __cplusplus
43468 extern "C"
43469 #endif
43470 /* We use char because int might match the return type of a gcc2
43471 builtin and then its argument prototype would still apply. */
43472 char sin ();
43474 main ()
43476 sin ();
43478 return 0;
43480 _ACEOF
43481 rm -f conftest.$ac_objext conftest$ac_exeext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43483 (eval $ac_link) 2>conftest.er1
43484 ac_status=$?
43485 grep -v '^ *+' conftest.er1 >conftest.err
43486 rm -f conftest.er1
43487 cat conftest.err >&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } &&
43490 { ac_try='test -z "$ac_c_werror_flag"
43491 || test ! -s conftest.err'
43492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43493 (eval $ac_try) 2>&5
43494 ac_status=$?
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); }; } &&
43497 { ac_try='test -s conftest$ac_exeext'
43498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43499 (eval $ac_try) 2>&5
43500 ac_status=$?
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); }; }; then
43503 ac_cv_lib_m_sin=yes
43504 else
43505 echo "$as_me: failed program was:" >&5
43506 sed 's/^/| /' conftest.$ac_ext >&5
43508 ac_cv_lib_m_sin=no
43510 rm -f conftest.err conftest.$ac_objext \
43511 conftest$ac_exeext conftest.$ac_ext
43512 LIBS=$ac_check_lib_save_LIBS
43514 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43515 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43516 if test $ac_cv_lib_m_sin = yes; then
43517 libm="-lm"
43520 ac_save_LIBS="$LIBS"
43521 LIBS="$LIBS $libm"
43525 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43526 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43527 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43528 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43529 echo $ECHO_N "(cached) $ECHO_C" >&6
43530 else
43534 ac_ext=cc
43535 ac_cpp='$CXXCPP $CPPFLAGS'
43536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43540 cat >conftest.$ac_ext <<_ACEOF
43541 /* confdefs.h. */
43542 _ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h. */
43546 #include <math.h>
43547 #ifdef HAVE_IEEEFP_H
43548 #include <ieeefp.h>
43549 #endif
43552 main ()
43554 isinf(0);
43556 return 0;
43558 _ACEOF
43559 rm -f conftest.$ac_objext
43560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43561 (eval $ac_compile) 2>conftest.er1
43562 ac_status=$?
43563 grep -v '^ *+' conftest.er1 >conftest.err
43564 rm -f conftest.er1
43565 cat conftest.err >&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } &&
43568 { ac_try='test -z "$ac_cxx_werror_flag"
43569 || test ! -s conftest.err'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; } &&
43575 { ac_try='test -s conftest.$ac_objext'
43576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577 (eval $ac_try) 2>&5
43578 ac_status=$?
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); }; }; then
43581 glibcxx_cv_func_isinf_use=yes
43582 else
43583 echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.$ac_ext >&5
43586 glibcxx_cv_func_isinf_use=no
43588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43589 ac_ext=c
43590 ac_cpp='$CPP $CPPFLAGS'
43591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43600 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43602 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43604 for ac_func in isinf
43606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 echo "$as_me:$LINENO: checking for $ac_func" >&5
43608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43609 if eval "test \"\${$as_ac_var+set}\" = set"; then
43610 echo $ECHO_N "(cached) $ECHO_C" >&6
43611 else
43612 if test x$gcc_no_link = xyes; then
43613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43615 { (exit 1); exit 1; }; }
43617 cat >conftest.$ac_ext <<_ACEOF
43618 /* confdefs.h. */
43619 _ACEOF
43620 cat confdefs.h >>conftest.$ac_ext
43621 cat >>conftest.$ac_ext <<_ACEOF
43622 /* end confdefs.h. */
43623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43625 #define $ac_func innocuous_$ac_func
43627 /* System header to define __stub macros and hopefully few prototypes,
43628 which can conflict with char $ac_func (); below.
43629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43630 <limits.h> exists even on freestanding compilers. */
43632 #ifdef __STDC__
43633 # include <limits.h>
43634 #else
43635 # include <assert.h>
43636 #endif
43638 #undef $ac_func
43640 /* Override any gcc2 internal prototype to avoid an error. */
43641 #ifdef __cplusplus
43642 extern "C"
43644 #endif
43645 /* We use char because int might match the return type of a gcc2
43646 builtin and then its argument prototype would still apply. */
43647 char $ac_func ();
43648 /* The GNU C library defines this for functions which it implements
43649 to always fail with ENOSYS. Some functions are actually named
43650 something starting with __ and the normal name is an alias. */
43651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43652 choke me
43653 #else
43654 char (*f) () = $ac_func;
43655 #endif
43656 #ifdef __cplusplus
43658 #endif
43661 main ()
43663 return f != $ac_func;
43665 return 0;
43667 _ACEOF
43668 rm -f conftest.$ac_objext conftest$ac_exeext
43669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43670 (eval $ac_link) 2>conftest.er1
43671 ac_status=$?
43672 grep -v '^ *+' conftest.er1 >conftest.err
43673 rm -f conftest.er1
43674 cat conftest.err >&5
43675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676 (exit $ac_status); } &&
43677 { ac_try='test -z "$ac_c_werror_flag"
43678 || test ! -s conftest.err'
43679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43680 (eval $ac_try) 2>&5
43681 ac_status=$?
43682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683 (exit $ac_status); }; } &&
43684 { ac_try='test -s conftest$ac_exeext'
43685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43686 (eval $ac_try) 2>&5
43687 ac_status=$?
43688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43689 (exit $ac_status); }; }; then
43690 eval "$as_ac_var=yes"
43691 else
43692 echo "$as_me: failed program was:" >&5
43693 sed 's/^/| /' conftest.$ac_ext >&5
43695 eval "$as_ac_var=no"
43697 rm -f conftest.err conftest.$ac_objext \
43698 conftest$ac_exeext conftest.$ac_ext
43700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43702 if test `eval echo '${'$as_ac_var'}'` = yes; then
43703 cat >>confdefs.h <<_ACEOF
43704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43705 _ACEOF
43708 done
43710 else
43712 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43713 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43714 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43715 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43717 else
43721 ac_ext=cc
43722 ac_cpp='$CXXCPP $CPPFLAGS'
43723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43727 cat >conftest.$ac_ext <<_ACEOF
43728 /* confdefs.h. */
43729 _ACEOF
43730 cat confdefs.h >>conftest.$ac_ext
43731 cat >>conftest.$ac_ext <<_ACEOF
43732 /* end confdefs.h. */
43733 #include <math.h>
43734 #ifdef HAVE_IEEEFP_H
43735 #include <ieeefp.h>
43736 #endif
43739 main ()
43741 _isinf(0);
43743 return 0;
43745 _ACEOF
43746 rm -f conftest.$ac_objext
43747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43748 (eval $ac_compile) 2>conftest.er1
43749 ac_status=$?
43750 grep -v '^ *+' conftest.er1 >conftest.err
43751 rm -f conftest.er1
43752 cat conftest.err >&5
43753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754 (exit $ac_status); } &&
43755 { ac_try='test -z "$ac_cxx_werror_flag"
43756 || test ! -s conftest.err'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43759 ac_status=$?
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; } &&
43762 { ac_try='test -s conftest.$ac_objext'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43765 ac_status=$?
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; }; then
43768 glibcxx_cv_func__isinf_use=yes
43769 else
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43773 glibcxx_cv_func__isinf_use=no
43775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43776 ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43787 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43789 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43791 for ac_func in _isinf
43793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43794 echo "$as_me:$LINENO: checking for $ac_func" >&5
43795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43796 if eval "test \"\${$as_ac_var+set}\" = set"; then
43797 echo $ECHO_N "(cached) $ECHO_C" >&6
43798 else
43799 if test x$gcc_no_link = xyes; then
43800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43802 { (exit 1); exit 1; }; }
43804 cat >conftest.$ac_ext <<_ACEOF
43805 /* confdefs.h. */
43806 _ACEOF
43807 cat confdefs.h >>conftest.$ac_ext
43808 cat >>conftest.$ac_ext <<_ACEOF
43809 /* end confdefs.h. */
43810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43812 #define $ac_func innocuous_$ac_func
43814 /* System header to define __stub macros and hopefully few prototypes,
43815 which can conflict with char $ac_func (); below.
43816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43817 <limits.h> exists even on freestanding compilers. */
43819 #ifdef __STDC__
43820 # include <limits.h>
43821 #else
43822 # include <assert.h>
43823 #endif
43825 #undef $ac_func
43827 /* Override any gcc2 internal prototype to avoid an error. */
43828 #ifdef __cplusplus
43829 extern "C"
43831 #endif
43832 /* We use char because int might match the return type of a gcc2
43833 builtin and then its argument prototype would still apply. */
43834 char $ac_func ();
43835 /* The GNU C library defines this for functions which it implements
43836 to always fail with ENOSYS. Some functions are actually named
43837 something starting with __ and the normal name is an alias. */
43838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43839 choke me
43840 #else
43841 char (*f) () = $ac_func;
43842 #endif
43843 #ifdef __cplusplus
43845 #endif
43848 main ()
43850 return f != $ac_func;
43852 return 0;
43854 _ACEOF
43855 rm -f conftest.$ac_objext conftest$ac_exeext
43856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43857 (eval $ac_link) 2>conftest.er1
43858 ac_status=$?
43859 grep -v '^ *+' conftest.er1 >conftest.err
43860 rm -f conftest.er1
43861 cat conftest.err >&5
43862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863 (exit $ac_status); } &&
43864 { ac_try='test -z "$ac_c_werror_flag"
43865 || test ! -s conftest.err'
43866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867 (eval $ac_try) 2>&5
43868 ac_status=$?
43869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870 (exit $ac_status); }; } &&
43871 { ac_try='test -s conftest$ac_exeext'
43872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43873 (eval $ac_try) 2>&5
43874 ac_status=$?
43875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876 (exit $ac_status); }; }; then
43877 eval "$as_ac_var=yes"
43878 else
43879 echo "$as_me: failed program was:" >&5
43880 sed 's/^/| /' conftest.$ac_ext >&5
43882 eval "$as_ac_var=no"
43884 rm -f conftest.err conftest.$ac_objext \
43885 conftest$ac_exeext conftest.$ac_ext
43887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43889 if test `eval echo '${'$as_ac_var'}'` = yes; then
43890 cat >>confdefs.h <<_ACEOF
43891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43892 _ACEOF
43895 done
43905 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43906 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43907 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43908 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43909 echo $ECHO_N "(cached) $ECHO_C" >&6
43910 else
43914 ac_ext=cc
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43920 cat >conftest.$ac_ext <<_ACEOF
43921 /* confdefs.h. */
43922 _ACEOF
43923 cat confdefs.h >>conftest.$ac_ext
43924 cat >>conftest.$ac_ext <<_ACEOF
43925 /* end confdefs.h. */
43926 #include <math.h>
43927 #ifdef HAVE_IEEEFP_H
43928 #include <ieeefp.h>
43929 #endif
43932 main ()
43934 isnan(0);
43936 return 0;
43938 _ACEOF
43939 rm -f conftest.$ac_objext
43940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43941 (eval $ac_compile) 2>conftest.er1
43942 ac_status=$?
43943 grep -v '^ *+' conftest.er1 >conftest.err
43944 rm -f conftest.er1
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try='test -z "$ac_cxx_werror_flag"
43949 || test ! -s conftest.err'
43950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951 (eval $ac_try) 2>&5
43952 ac_status=$?
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); }; } &&
43955 { ac_try='test -s conftest.$ac_objext'
43956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43957 (eval $ac_try) 2>&5
43958 ac_status=$?
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); }; }; then
43961 glibcxx_cv_func_isnan_use=yes
43962 else
43963 echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.$ac_ext >&5
43966 glibcxx_cv_func_isnan_use=no
43968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43969 ac_ext=c
43970 ac_cpp='$CPP $CPPFLAGS'
43971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43980 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43982 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43984 for ac_func in isnan
43986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43987 echo "$as_me:$LINENO: checking for $ac_func" >&5
43988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43989 if eval "test \"\${$as_ac_var+set}\" = set"; then
43990 echo $ECHO_N "(cached) $ECHO_C" >&6
43991 else
43992 if test x$gcc_no_link = xyes; then
43993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43995 { (exit 1); exit 1; }; }
43997 cat >conftest.$ac_ext <<_ACEOF
43998 /* confdefs.h. */
43999 _ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h. */
44003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44005 #define $ac_func innocuous_$ac_func
44007 /* System header to define __stub macros and hopefully few prototypes,
44008 which can conflict with char $ac_func (); below.
44009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44010 <limits.h> exists even on freestanding compilers. */
44012 #ifdef __STDC__
44013 # include <limits.h>
44014 #else
44015 # include <assert.h>
44016 #endif
44018 #undef $ac_func
44020 /* Override any gcc2 internal prototype to avoid an error. */
44021 #ifdef __cplusplus
44022 extern "C"
44024 #endif
44025 /* We use char because int might match the return type of a gcc2
44026 builtin and then its argument prototype would still apply. */
44027 char $ac_func ();
44028 /* The GNU C library defines this for functions which it implements
44029 to always fail with ENOSYS. Some functions are actually named
44030 something starting with __ and the normal name is an alias. */
44031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44032 choke me
44033 #else
44034 char (*f) () = $ac_func;
44035 #endif
44036 #ifdef __cplusplus
44038 #endif
44041 main ()
44043 return f != $ac_func;
44045 return 0;
44047 _ACEOF
44048 rm -f conftest.$ac_objext conftest$ac_exeext
44049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44050 (eval $ac_link) 2>conftest.er1
44051 ac_status=$?
44052 grep -v '^ *+' conftest.er1 >conftest.err
44053 rm -f conftest.er1
44054 cat conftest.err >&5
44055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056 (exit $ac_status); } &&
44057 { ac_try='test -z "$ac_c_werror_flag"
44058 || test ! -s conftest.err'
44059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44060 (eval $ac_try) 2>&5
44061 ac_status=$?
44062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44063 (exit $ac_status); }; } &&
44064 { ac_try='test -s conftest$ac_exeext'
44065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44066 (eval $ac_try) 2>&5
44067 ac_status=$?
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); }; }; then
44070 eval "$as_ac_var=yes"
44071 else
44072 echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44075 eval "$as_ac_var=no"
44077 rm -f conftest.err conftest.$ac_objext \
44078 conftest$ac_exeext conftest.$ac_ext
44080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44082 if test `eval echo '${'$as_ac_var'}'` = yes; then
44083 cat >>confdefs.h <<_ACEOF
44084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44085 _ACEOF
44088 done
44090 else
44092 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44093 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44094 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44095 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44096 echo $ECHO_N "(cached) $ECHO_C" >&6
44097 else
44101 ac_ext=cc
44102 ac_cpp='$CXXCPP $CPPFLAGS'
44103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107 cat >conftest.$ac_ext <<_ACEOF
44108 /* confdefs.h. */
44109 _ACEOF
44110 cat confdefs.h >>conftest.$ac_ext
44111 cat >>conftest.$ac_ext <<_ACEOF
44112 /* end confdefs.h. */
44113 #include <math.h>
44114 #ifdef HAVE_IEEEFP_H
44115 #include <ieeefp.h>
44116 #endif
44119 main ()
44121 _isnan(0);
44123 return 0;
44125 _ACEOF
44126 rm -f conftest.$ac_objext
44127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44128 (eval $ac_compile) 2>conftest.er1
44129 ac_status=$?
44130 grep -v '^ *+' conftest.er1 >conftest.err
44131 rm -f conftest.er1
44132 cat conftest.err >&5
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); } &&
44135 { ac_try='test -z "$ac_cxx_werror_flag"
44136 || test ! -s conftest.err'
44137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44138 (eval $ac_try) 2>&5
44139 ac_status=$?
44140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141 (exit $ac_status); }; } &&
44142 { ac_try='test -s conftest.$ac_objext'
44143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44144 (eval $ac_try) 2>&5
44145 ac_status=$?
44146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147 (exit $ac_status); }; }; then
44148 glibcxx_cv_func__isnan_use=yes
44149 else
44150 echo "$as_me: failed program was:" >&5
44151 sed 's/^/| /' conftest.$ac_ext >&5
44153 glibcxx_cv_func__isnan_use=no
44155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44156 ac_ext=c
44157 ac_cpp='$CPP $CPPFLAGS'
44158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44167 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44169 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44171 for ac_func in _isnan
44173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44174 echo "$as_me:$LINENO: checking for $ac_func" >&5
44175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44176 if eval "test \"\${$as_ac_var+set}\" = set"; then
44177 echo $ECHO_N "(cached) $ECHO_C" >&6
44178 else
44179 if test x$gcc_no_link = xyes; then
44180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44182 { (exit 1); exit 1; }; }
44184 cat >conftest.$ac_ext <<_ACEOF
44185 /* confdefs.h. */
44186 _ACEOF
44187 cat confdefs.h >>conftest.$ac_ext
44188 cat >>conftest.$ac_ext <<_ACEOF
44189 /* end confdefs.h. */
44190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44192 #define $ac_func innocuous_$ac_func
44194 /* System header to define __stub macros and hopefully few prototypes,
44195 which can conflict with char $ac_func (); below.
44196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44197 <limits.h> exists even on freestanding compilers. */
44199 #ifdef __STDC__
44200 # include <limits.h>
44201 #else
44202 # include <assert.h>
44203 #endif
44205 #undef $ac_func
44207 /* Override any gcc2 internal prototype to avoid an error. */
44208 #ifdef __cplusplus
44209 extern "C"
44211 #endif
44212 /* We use char because int might match the return type of a gcc2
44213 builtin and then its argument prototype would still apply. */
44214 char $ac_func ();
44215 /* The GNU C library defines this for functions which it implements
44216 to always fail with ENOSYS. Some functions are actually named
44217 something starting with __ and the normal name is an alias. */
44218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44219 choke me
44220 #else
44221 char (*f) () = $ac_func;
44222 #endif
44223 #ifdef __cplusplus
44225 #endif
44228 main ()
44230 return f != $ac_func;
44232 return 0;
44234 _ACEOF
44235 rm -f conftest.$ac_objext conftest$ac_exeext
44236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44237 (eval $ac_link) 2>conftest.er1
44238 ac_status=$?
44239 grep -v '^ *+' conftest.er1 >conftest.err
44240 rm -f conftest.er1
44241 cat conftest.err >&5
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); } &&
44244 { ac_try='test -z "$ac_c_werror_flag"
44245 || test ! -s conftest.err'
44246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247 (eval $ac_try) 2>&5
44248 ac_status=$?
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); }; } &&
44251 { ac_try='test -s conftest$ac_exeext'
44252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44253 (eval $ac_try) 2>&5
44254 ac_status=$?
44255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256 (exit $ac_status); }; }; then
44257 eval "$as_ac_var=yes"
44258 else
44259 echo "$as_me: failed program was:" >&5
44260 sed 's/^/| /' conftest.$ac_ext >&5
44262 eval "$as_ac_var=no"
44264 rm -f conftest.err conftest.$ac_objext \
44265 conftest$ac_exeext conftest.$ac_ext
44267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44269 if test `eval echo '${'$as_ac_var'}'` = yes; then
44270 cat >>confdefs.h <<_ACEOF
44271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44272 _ACEOF
44275 done
44285 echo "$as_me:$LINENO: checking for finite declaration" >&5
44286 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44287 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44288 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44289 echo $ECHO_N "(cached) $ECHO_C" >&6
44290 else
44294 ac_ext=cc
44295 ac_cpp='$CXXCPP $CPPFLAGS'
44296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44300 cat >conftest.$ac_ext <<_ACEOF
44301 /* confdefs.h. */
44302 _ACEOF
44303 cat confdefs.h >>conftest.$ac_ext
44304 cat >>conftest.$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44306 #include <math.h>
44307 #ifdef HAVE_IEEEFP_H
44308 #include <ieeefp.h>
44309 #endif
44312 main ()
44314 finite(0);
44316 return 0;
44318 _ACEOF
44319 rm -f conftest.$ac_objext
44320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44321 (eval $ac_compile) 2>conftest.er1
44322 ac_status=$?
44323 grep -v '^ *+' conftest.er1 >conftest.err
44324 rm -f conftest.er1
44325 cat conftest.err >&5
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); } &&
44328 { ac_try='test -z "$ac_cxx_werror_flag"
44329 || test ! -s conftest.err'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; } &&
44335 { ac_try='test -s conftest.$ac_objext'
44336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44337 (eval $ac_try) 2>&5
44338 ac_status=$?
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); }; }; then
44341 glibcxx_cv_func_finite_use=yes
44342 else
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44346 glibcxx_cv_func_finite_use=no
44348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44349 ac_ext=c
44350 ac_cpp='$CPP $CPPFLAGS'
44351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44360 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44362 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44364 for ac_func in finite
44366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44367 echo "$as_me:$LINENO: checking for $ac_func" >&5
44368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44369 if eval "test \"\${$as_ac_var+set}\" = set"; then
44370 echo $ECHO_N "(cached) $ECHO_C" >&6
44371 else
44372 if test x$gcc_no_link = xyes; then
44373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44375 { (exit 1); exit 1; }; }
44377 cat >conftest.$ac_ext <<_ACEOF
44378 /* confdefs.h. */
44379 _ACEOF
44380 cat confdefs.h >>conftest.$ac_ext
44381 cat >>conftest.$ac_ext <<_ACEOF
44382 /* end confdefs.h. */
44383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44385 #define $ac_func innocuous_$ac_func
44387 /* System header to define __stub macros and hopefully few prototypes,
44388 which can conflict with char $ac_func (); below.
44389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44390 <limits.h> exists even on freestanding compilers. */
44392 #ifdef __STDC__
44393 # include <limits.h>
44394 #else
44395 # include <assert.h>
44396 #endif
44398 #undef $ac_func
44400 /* Override any gcc2 internal prototype to avoid an error. */
44401 #ifdef __cplusplus
44402 extern "C"
44404 #endif
44405 /* We use char because int might match the return type of a gcc2
44406 builtin and then its argument prototype would still apply. */
44407 char $ac_func ();
44408 /* The GNU C library defines this for functions which it implements
44409 to always fail with ENOSYS. Some functions are actually named
44410 something starting with __ and the normal name is an alias. */
44411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44412 choke me
44413 #else
44414 char (*f) () = $ac_func;
44415 #endif
44416 #ifdef __cplusplus
44418 #endif
44421 main ()
44423 return f != $ac_func;
44425 return 0;
44427 _ACEOF
44428 rm -f conftest.$ac_objext conftest$ac_exeext
44429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44430 (eval $ac_link) 2>conftest.er1
44431 ac_status=$?
44432 grep -v '^ *+' conftest.er1 >conftest.err
44433 rm -f conftest.er1
44434 cat conftest.err >&5
44435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436 (exit $ac_status); } &&
44437 { ac_try='test -z "$ac_c_werror_flag"
44438 || test ! -s conftest.err'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44441 ac_status=$?
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; } &&
44444 { ac_try='test -s conftest$ac_exeext'
44445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44446 (eval $ac_try) 2>&5
44447 ac_status=$?
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); }; }; then
44450 eval "$as_ac_var=yes"
44451 else
44452 echo "$as_me: failed program was:" >&5
44453 sed 's/^/| /' conftest.$ac_ext >&5
44455 eval "$as_ac_var=no"
44457 rm -f conftest.err conftest.$ac_objext \
44458 conftest$ac_exeext conftest.$ac_ext
44460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44462 if test `eval echo '${'$as_ac_var'}'` = yes; then
44463 cat >>confdefs.h <<_ACEOF
44464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44465 _ACEOF
44468 done
44470 else
44472 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44473 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44474 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44475 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44476 echo $ECHO_N "(cached) $ECHO_C" >&6
44477 else
44481 ac_ext=cc
44482 ac_cpp='$CXXCPP $CPPFLAGS'
44483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44487 cat >conftest.$ac_ext <<_ACEOF
44488 /* confdefs.h. */
44489 _ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44493 #include <math.h>
44494 #ifdef HAVE_IEEEFP_H
44495 #include <ieeefp.h>
44496 #endif
44499 main ()
44501 _finite(0);
44503 return 0;
44505 _ACEOF
44506 rm -f conftest.$ac_objext
44507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44508 (eval $ac_compile) 2>conftest.er1
44509 ac_status=$?
44510 grep -v '^ *+' conftest.er1 >conftest.err
44511 rm -f conftest.er1
44512 cat conftest.err >&5
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); } &&
44515 { ac_try='test -z "$ac_cxx_werror_flag"
44516 || test ! -s conftest.err'
44517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44518 (eval $ac_try) 2>&5
44519 ac_status=$?
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); }; } &&
44522 { ac_try='test -s conftest.$ac_objext'
44523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44524 (eval $ac_try) 2>&5
44525 ac_status=$?
44526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527 (exit $ac_status); }; }; then
44528 glibcxx_cv_func__finite_use=yes
44529 else
44530 echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44533 glibcxx_cv_func__finite_use=no
44535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44536 ac_ext=c
44537 ac_cpp='$CPP $CPPFLAGS'
44538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44547 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44549 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44551 for ac_func in _finite
44553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44554 echo "$as_me:$LINENO: checking for $ac_func" >&5
44555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44556 if eval "test \"\${$as_ac_var+set}\" = set"; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559 if test x$gcc_no_link = xyes; then
44560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44562 { (exit 1); exit 1; }; }
44564 cat >conftest.$ac_ext <<_ACEOF
44565 /* confdefs.h. */
44566 _ACEOF
44567 cat confdefs.h >>conftest.$ac_ext
44568 cat >>conftest.$ac_ext <<_ACEOF
44569 /* end confdefs.h. */
44570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44572 #define $ac_func innocuous_$ac_func
44574 /* System header to define __stub macros and hopefully few prototypes,
44575 which can conflict with char $ac_func (); below.
44576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44577 <limits.h> exists even on freestanding compilers. */
44579 #ifdef __STDC__
44580 # include <limits.h>
44581 #else
44582 # include <assert.h>
44583 #endif
44585 #undef $ac_func
44587 /* Override any gcc2 internal prototype to avoid an error. */
44588 #ifdef __cplusplus
44589 extern "C"
44591 #endif
44592 /* We use char because int might match the return type of a gcc2
44593 builtin and then its argument prototype would still apply. */
44594 char $ac_func ();
44595 /* The GNU C library defines this for functions which it implements
44596 to always fail with ENOSYS. Some functions are actually named
44597 something starting with __ and the normal name is an alias. */
44598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44599 choke me
44600 #else
44601 char (*f) () = $ac_func;
44602 #endif
44603 #ifdef __cplusplus
44605 #endif
44608 main ()
44610 return f != $ac_func;
44612 return 0;
44614 _ACEOF
44615 rm -f conftest.$ac_objext conftest$ac_exeext
44616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44617 (eval $ac_link) 2>conftest.er1
44618 ac_status=$?
44619 grep -v '^ *+' conftest.er1 >conftest.err
44620 rm -f conftest.er1
44621 cat conftest.err >&5
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); } &&
44624 { ac_try='test -z "$ac_c_werror_flag"
44625 || test ! -s conftest.err'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44628 ac_status=$?
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; } &&
44631 { ac_try='test -s conftest$ac_exeext'
44632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633 (eval $ac_try) 2>&5
44634 ac_status=$?
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); }; }; then
44637 eval "$as_ac_var=yes"
44638 else
44639 echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44642 eval "$as_ac_var=no"
44644 rm -f conftest.err conftest.$ac_objext \
44645 conftest$ac_exeext conftest.$ac_ext
44647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44649 if test `eval echo '${'$as_ac_var'}'` = yes; then
44650 cat >>confdefs.h <<_ACEOF
44651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44652 _ACEOF
44655 done
44665 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44666 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44667 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44668 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44670 else
44674 ac_ext=cc
44675 ac_cpp='$CXXCPP $CPPFLAGS'
44676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44680 cat >conftest.$ac_ext <<_ACEOF
44681 /* confdefs.h. */
44682 _ACEOF
44683 cat confdefs.h >>conftest.$ac_ext
44684 cat >>conftest.$ac_ext <<_ACEOF
44685 /* end confdefs.h. */
44686 #include <math.h>
44688 main ()
44690 copysign(0, 0);
44692 return 0;
44694 _ACEOF
44695 rm -f conftest.$ac_objext
44696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44697 (eval $ac_compile) 2>conftest.er1
44698 ac_status=$?
44699 grep -v '^ *+' conftest.er1 >conftest.err
44700 rm -f conftest.er1
44701 cat conftest.err >&5
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); } &&
44704 { ac_try='test -z "$ac_cxx_werror_flag"
44705 || test ! -s conftest.err'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44708 ac_status=$?
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; } &&
44711 { ac_try='test -s conftest.$ac_objext'
44712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44713 (eval $ac_try) 2>&5
44714 ac_status=$?
44715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44716 (exit $ac_status); }; }; then
44717 glibcxx_cv_func_copysign_use=yes
44718 else
44719 echo "$as_me: failed program was:" >&5
44720 sed 's/^/| /' conftest.$ac_ext >&5
44722 glibcxx_cv_func_copysign_use=no
44724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44725 ac_ext=c
44726 ac_cpp='$CPP $CPPFLAGS'
44727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44736 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44738 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44740 for ac_func in copysign
44742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 echo "$as_me:$LINENO: checking for $ac_func" >&5
44744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44745 if eval "test \"\${$as_ac_var+set}\" = set"; then
44746 echo $ECHO_N "(cached) $ECHO_C" >&6
44747 else
44748 if test x$gcc_no_link = xyes; then
44749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44751 { (exit 1); exit 1; }; }
44753 cat >conftest.$ac_ext <<_ACEOF
44754 /* confdefs.h. */
44755 _ACEOF
44756 cat confdefs.h >>conftest.$ac_ext
44757 cat >>conftest.$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44761 #define $ac_func innocuous_$ac_func
44763 /* System header to define __stub macros and hopefully few prototypes,
44764 which can conflict with char $ac_func (); below.
44765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44766 <limits.h> exists even on freestanding compilers. */
44768 #ifdef __STDC__
44769 # include <limits.h>
44770 #else
44771 # include <assert.h>
44772 #endif
44774 #undef $ac_func
44776 /* Override any gcc2 internal prototype to avoid an error. */
44777 #ifdef __cplusplus
44778 extern "C"
44780 #endif
44781 /* We use char because int might match the return type of a gcc2
44782 builtin and then its argument prototype would still apply. */
44783 char $ac_func ();
44784 /* The GNU C library defines this for functions which it implements
44785 to always fail with ENOSYS. Some functions are actually named
44786 something starting with __ and the normal name is an alias. */
44787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44788 choke me
44789 #else
44790 char (*f) () = $ac_func;
44791 #endif
44792 #ifdef __cplusplus
44794 #endif
44797 main ()
44799 return f != $ac_func;
44801 return 0;
44803 _ACEOF
44804 rm -f conftest.$ac_objext conftest$ac_exeext
44805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44806 (eval $ac_link) 2>conftest.er1
44807 ac_status=$?
44808 grep -v '^ *+' conftest.er1 >conftest.err
44809 rm -f conftest.er1
44810 cat conftest.err >&5
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); } &&
44813 { ac_try='test -z "$ac_c_werror_flag"
44814 || test ! -s conftest.err'
44815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44816 (eval $ac_try) 2>&5
44817 ac_status=$?
44818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819 (exit $ac_status); }; } &&
44820 { ac_try='test -s conftest$ac_exeext'
44821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44822 (eval $ac_try) 2>&5
44823 ac_status=$?
44824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825 (exit $ac_status); }; }; then
44826 eval "$as_ac_var=yes"
44827 else
44828 echo "$as_me: failed program was:" >&5
44829 sed 's/^/| /' conftest.$ac_ext >&5
44831 eval "$as_ac_var=no"
44833 rm -f conftest.err conftest.$ac_objext \
44834 conftest$ac_exeext conftest.$ac_ext
44836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44838 if test `eval echo '${'$as_ac_var'}'` = yes; then
44839 cat >>confdefs.h <<_ACEOF
44840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44841 _ACEOF
44844 done
44846 else
44848 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44849 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44850 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44851 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44852 echo $ECHO_N "(cached) $ECHO_C" >&6
44853 else
44857 ac_ext=cc
44858 ac_cpp='$CXXCPP $CPPFLAGS'
44859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44863 cat >conftest.$ac_ext <<_ACEOF
44864 /* confdefs.h. */
44865 _ACEOF
44866 cat confdefs.h >>conftest.$ac_ext
44867 cat >>conftest.$ac_ext <<_ACEOF
44868 /* end confdefs.h. */
44869 #include <math.h>
44871 main ()
44873 _copysign(0, 0);
44875 return 0;
44877 _ACEOF
44878 rm -f conftest.$ac_objext
44879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44880 (eval $ac_compile) 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } &&
44887 { ac_try='test -z "$ac_cxx_werror_flag"
44888 || test ! -s conftest.err'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; } &&
44894 { ac_try='test -s conftest.$ac_objext'
44895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44896 (eval $ac_try) 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; }; then
44900 glibcxx_cv_func__copysign_use=yes
44901 else
44902 echo "$as_me: failed program was:" >&5
44903 sed 's/^/| /' conftest.$ac_ext >&5
44905 glibcxx_cv_func__copysign_use=no
44907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44908 ac_ext=c
44909 ac_cpp='$CPP $CPPFLAGS'
44910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44918 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44919 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44921 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44923 for ac_func in _copysign
44925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44926 echo "$as_me:$LINENO: checking for $ac_func" >&5
44927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44928 if eval "test \"\${$as_ac_var+set}\" = set"; then
44929 echo $ECHO_N "(cached) $ECHO_C" >&6
44930 else
44931 if test x$gcc_no_link = xyes; then
44932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44934 { (exit 1); exit 1; }; }
44936 cat >conftest.$ac_ext <<_ACEOF
44937 /* confdefs.h. */
44938 _ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h. */
44942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44944 #define $ac_func innocuous_$ac_func
44946 /* System header to define __stub macros and hopefully few prototypes,
44947 which can conflict with char $ac_func (); below.
44948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44949 <limits.h> exists even on freestanding compilers. */
44951 #ifdef __STDC__
44952 # include <limits.h>
44953 #else
44954 # include <assert.h>
44955 #endif
44957 #undef $ac_func
44959 /* Override any gcc2 internal prototype to avoid an error. */
44960 #ifdef __cplusplus
44961 extern "C"
44963 #endif
44964 /* We use char because int might match the return type of a gcc2
44965 builtin and then its argument prototype would still apply. */
44966 char $ac_func ();
44967 /* The GNU C library defines this for functions which it implements
44968 to always fail with ENOSYS. Some functions are actually named
44969 something starting with __ and the normal name is an alias. */
44970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44971 choke me
44972 #else
44973 char (*f) () = $ac_func;
44974 #endif
44975 #ifdef __cplusplus
44977 #endif
44980 main ()
44982 return f != $ac_func;
44984 return 0;
44986 _ACEOF
44987 rm -f conftest.$ac_objext conftest$ac_exeext
44988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44989 (eval $ac_link) 2>conftest.er1
44990 ac_status=$?
44991 grep -v '^ *+' conftest.er1 >conftest.err
44992 rm -f conftest.er1
44993 cat conftest.err >&5
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); } &&
44996 { ac_try='test -z "$ac_c_werror_flag"
44997 || test ! -s conftest.err'
44998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44999 (eval $ac_try) 2>&5
45000 ac_status=$?
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); }; } &&
45003 { ac_try='test -s conftest$ac_exeext'
45004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45005 (eval $ac_try) 2>&5
45006 ac_status=$?
45007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008 (exit $ac_status); }; }; then
45009 eval "$as_ac_var=yes"
45010 else
45011 echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.$ac_ext >&5
45014 eval "$as_ac_var=no"
45016 rm -f conftest.err conftest.$ac_objext \
45017 conftest$ac_exeext conftest.$ac_ext
45019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45021 if test `eval echo '${'$as_ac_var'}'` = yes; then
45022 cat >>confdefs.h <<_ACEOF
45023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45024 _ACEOF
45027 done
45037 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45038 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45039 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45040 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45041 echo $ECHO_N "(cached) $ECHO_C" >&6
45042 else
45046 ac_ext=cc
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45052 cat >conftest.$ac_ext <<_ACEOF
45053 /* confdefs.h. */
45054 _ACEOF
45055 cat confdefs.h >>conftest.$ac_ext
45056 cat >>conftest.$ac_ext <<_ACEOF
45057 /* end confdefs.h. */
45058 #include <math.h>
45060 main ()
45062 sincos(0, 0, 0);
45064 return 0;
45066 _ACEOF
45067 rm -f conftest.$ac_objext
45068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45069 (eval $ac_compile) 2>conftest.er1
45070 ac_status=$?
45071 grep -v '^ *+' conftest.er1 >conftest.err
45072 rm -f conftest.er1
45073 cat conftest.err >&5
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); } &&
45076 { ac_try='test -z "$ac_cxx_werror_flag"
45077 || test ! -s conftest.err'
45078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45079 (eval $ac_try) 2>&5
45080 ac_status=$?
45081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082 (exit $ac_status); }; } &&
45083 { ac_try='test -s conftest.$ac_objext'
45084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45085 (eval $ac_try) 2>&5
45086 ac_status=$?
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); }; }; then
45089 glibcxx_cv_func_sincos_use=yes
45090 else
45091 echo "$as_me: failed program was:" >&5
45092 sed 's/^/| /' conftest.$ac_ext >&5
45094 glibcxx_cv_func_sincos_use=no
45096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45097 ac_ext=c
45098 ac_cpp='$CPP $CPPFLAGS'
45099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45108 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45110 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45112 for ac_func in sincos
45114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45115 echo "$as_me:$LINENO: checking for $ac_func" >&5
45116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45117 if eval "test \"\${$as_ac_var+set}\" = set"; then
45118 echo $ECHO_N "(cached) $ECHO_C" >&6
45119 else
45120 if test x$gcc_no_link = xyes; then
45121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45123 { (exit 1); exit 1; }; }
45125 cat >conftest.$ac_ext <<_ACEOF
45126 /* confdefs.h. */
45127 _ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h. */
45131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45133 #define $ac_func innocuous_$ac_func
45135 /* System header to define __stub macros and hopefully few prototypes,
45136 which can conflict with char $ac_func (); below.
45137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45138 <limits.h> exists even on freestanding compilers. */
45140 #ifdef __STDC__
45141 # include <limits.h>
45142 #else
45143 # include <assert.h>
45144 #endif
45146 #undef $ac_func
45148 /* Override any gcc2 internal prototype to avoid an error. */
45149 #ifdef __cplusplus
45150 extern "C"
45152 #endif
45153 /* We use char because int might match the return type of a gcc2
45154 builtin and then its argument prototype would still apply. */
45155 char $ac_func ();
45156 /* The GNU C library defines this for functions which it implements
45157 to always fail with ENOSYS. Some functions are actually named
45158 something starting with __ and the normal name is an alias. */
45159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45160 choke me
45161 #else
45162 char (*f) () = $ac_func;
45163 #endif
45164 #ifdef __cplusplus
45166 #endif
45169 main ()
45171 return f != $ac_func;
45173 return 0;
45175 _ACEOF
45176 rm -f conftest.$ac_objext conftest$ac_exeext
45177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45178 (eval $ac_link) 2>conftest.er1
45179 ac_status=$?
45180 grep -v '^ *+' conftest.er1 >conftest.err
45181 rm -f conftest.er1
45182 cat conftest.err >&5
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); } &&
45185 { ac_try='test -z "$ac_c_werror_flag"
45186 || test ! -s conftest.err'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45189 ac_status=$?
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; } &&
45192 { ac_try='test -s conftest$ac_exeext'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; }; then
45198 eval "$as_ac_var=yes"
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45203 eval "$as_ac_var=no"
45205 rm -f conftest.err conftest.$ac_objext \
45206 conftest$ac_exeext conftest.$ac_ext
45208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45210 if test `eval echo '${'$as_ac_var'}'` = yes; then
45211 cat >>confdefs.h <<_ACEOF
45212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45213 _ACEOF
45216 done
45218 else
45220 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45221 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45222 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45223 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45224 echo $ECHO_N "(cached) $ECHO_C" >&6
45225 else
45229 ac_ext=cc
45230 ac_cpp='$CXXCPP $CPPFLAGS'
45231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45235 cat >conftest.$ac_ext <<_ACEOF
45236 /* confdefs.h. */
45237 _ACEOF
45238 cat confdefs.h >>conftest.$ac_ext
45239 cat >>conftest.$ac_ext <<_ACEOF
45240 /* end confdefs.h. */
45241 #include <math.h>
45243 main ()
45245 _sincos(0, 0, 0);
45247 return 0;
45249 _ACEOF
45250 rm -f conftest.$ac_objext
45251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45252 (eval $ac_compile) 2>conftest.er1
45253 ac_status=$?
45254 grep -v '^ *+' conftest.er1 >conftest.err
45255 rm -f conftest.er1
45256 cat conftest.err >&5
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); } &&
45259 { ac_try='test -z "$ac_cxx_werror_flag"
45260 || test ! -s conftest.err'
45261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45262 (eval $ac_try) 2>&5
45263 ac_status=$?
45264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45265 (exit $ac_status); }; } &&
45266 { ac_try='test -s conftest.$ac_objext'
45267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45268 (eval $ac_try) 2>&5
45269 ac_status=$?
45270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271 (exit $ac_status); }; }; then
45272 glibcxx_cv_func__sincos_use=yes
45273 else
45274 echo "$as_me: failed program was:" >&5
45275 sed 's/^/| /' conftest.$ac_ext >&5
45277 glibcxx_cv_func__sincos_use=no
45279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45280 ac_ext=c
45281 ac_cpp='$CPP $CPPFLAGS'
45282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45290 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45291 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45293 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45295 for ac_func in _sincos
45297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45298 echo "$as_me:$LINENO: checking for $ac_func" >&5
45299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45300 if eval "test \"\${$as_ac_var+set}\" = set"; then
45301 echo $ECHO_N "(cached) $ECHO_C" >&6
45302 else
45303 if test x$gcc_no_link = xyes; then
45304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45306 { (exit 1); exit 1; }; }
45308 cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h. */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45316 #define $ac_func innocuous_$ac_func
45318 /* System header to define __stub macros and hopefully few prototypes,
45319 which can conflict with char $ac_func (); below.
45320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45321 <limits.h> exists even on freestanding compilers. */
45323 #ifdef __STDC__
45324 # include <limits.h>
45325 #else
45326 # include <assert.h>
45327 #endif
45329 #undef $ac_func
45331 /* Override any gcc2 internal prototype to avoid an error. */
45332 #ifdef __cplusplus
45333 extern "C"
45335 #endif
45336 /* We use char because int might match the return type of a gcc2
45337 builtin and then its argument prototype would still apply. */
45338 char $ac_func ();
45339 /* The GNU C library defines this for functions which it implements
45340 to always fail with ENOSYS. Some functions are actually named
45341 something starting with __ and the normal name is an alias. */
45342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45343 choke me
45344 #else
45345 char (*f) () = $ac_func;
45346 #endif
45347 #ifdef __cplusplus
45349 #endif
45352 main ()
45354 return f != $ac_func;
45356 return 0;
45358 _ACEOF
45359 rm -f conftest.$ac_objext conftest$ac_exeext
45360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45361 (eval $ac_link) 2>conftest.er1
45362 ac_status=$?
45363 grep -v '^ *+' conftest.er1 >conftest.err
45364 rm -f conftest.er1
45365 cat conftest.err >&5
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); } &&
45368 { ac_try='test -z "$ac_c_werror_flag"
45369 || test ! -s conftest.err'
45370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45371 (eval $ac_try) 2>&5
45372 ac_status=$?
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); }; } &&
45375 { ac_try='test -s conftest$ac_exeext'
45376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45377 (eval $ac_try) 2>&5
45378 ac_status=$?
45379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380 (exit $ac_status); }; }; then
45381 eval "$as_ac_var=yes"
45382 else
45383 echo "$as_me: failed program was:" >&5
45384 sed 's/^/| /' conftest.$ac_ext >&5
45386 eval "$as_ac_var=no"
45388 rm -f conftest.err conftest.$ac_objext \
45389 conftest$ac_exeext conftest.$ac_ext
45391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45393 if test `eval echo '${'$as_ac_var'}'` = yes; then
45394 cat >>confdefs.h <<_ACEOF
45395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45396 _ACEOF
45399 done
45409 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45410 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45411 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45412 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45413 echo $ECHO_N "(cached) $ECHO_C" >&6
45414 else
45418 ac_ext=cc
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424 cat >conftest.$ac_ext <<_ACEOF
45425 /* confdefs.h. */
45426 _ACEOF
45427 cat confdefs.h >>conftest.$ac_ext
45428 cat >>conftest.$ac_ext <<_ACEOF
45429 /* end confdefs.h. */
45430 #include <math.h>
45431 #ifdef HAVE_IEEEFP_H
45432 #include <ieeefp.h>
45433 #endif
45436 main ()
45438 fpclass(0);
45440 return 0;
45442 _ACEOF
45443 rm -f conftest.$ac_objext
45444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45445 (eval $ac_compile) 2>conftest.er1
45446 ac_status=$?
45447 grep -v '^ *+' conftest.er1 >conftest.err
45448 rm -f conftest.er1
45449 cat conftest.err >&5
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); } &&
45452 { ac_try='test -z "$ac_cxx_werror_flag"
45453 || test ! -s conftest.err'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; } &&
45459 { ac_try='test -s conftest.$ac_objext'
45460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461 (eval $ac_try) 2>&5
45462 ac_status=$?
45463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464 (exit $ac_status); }; }; then
45465 glibcxx_cv_func_fpclass_use=yes
45466 else
45467 echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45470 glibcxx_cv_func_fpclass_use=no
45472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45473 ac_ext=c
45474 ac_cpp='$CPP $CPPFLAGS'
45475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45484 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45486 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45488 for ac_func in fpclass
45490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45491 echo "$as_me:$LINENO: checking for $ac_func" >&5
45492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45493 if eval "test \"\${$as_ac_var+set}\" = set"; then
45494 echo $ECHO_N "(cached) $ECHO_C" >&6
45495 else
45496 if test x$gcc_no_link = xyes; then
45497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45499 { (exit 1); exit 1; }; }
45501 cat >conftest.$ac_ext <<_ACEOF
45502 /* confdefs.h. */
45503 _ACEOF
45504 cat confdefs.h >>conftest.$ac_ext
45505 cat >>conftest.$ac_ext <<_ACEOF
45506 /* end confdefs.h. */
45507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45509 #define $ac_func innocuous_$ac_func
45511 /* System header to define __stub macros and hopefully few prototypes,
45512 which can conflict with char $ac_func (); below.
45513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45514 <limits.h> exists even on freestanding compilers. */
45516 #ifdef __STDC__
45517 # include <limits.h>
45518 #else
45519 # include <assert.h>
45520 #endif
45522 #undef $ac_func
45524 /* Override any gcc2 internal prototype to avoid an error. */
45525 #ifdef __cplusplus
45526 extern "C"
45528 #endif
45529 /* We use char because int might match the return type of a gcc2
45530 builtin and then its argument prototype would still apply. */
45531 char $ac_func ();
45532 /* The GNU C library defines this for functions which it implements
45533 to always fail with ENOSYS. Some functions are actually named
45534 something starting with __ and the normal name is an alias. */
45535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45536 choke me
45537 #else
45538 char (*f) () = $ac_func;
45539 #endif
45540 #ifdef __cplusplus
45542 #endif
45545 main ()
45547 return f != $ac_func;
45549 return 0;
45551 _ACEOF
45552 rm -f conftest.$ac_objext conftest$ac_exeext
45553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45554 (eval $ac_link) 2>conftest.er1
45555 ac_status=$?
45556 grep -v '^ *+' conftest.er1 >conftest.err
45557 rm -f conftest.er1
45558 cat conftest.err >&5
45559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560 (exit $ac_status); } &&
45561 { ac_try='test -z "$ac_c_werror_flag"
45562 || test ! -s conftest.err'
45563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45564 (eval $ac_try) 2>&5
45565 ac_status=$?
45566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567 (exit $ac_status); }; } &&
45568 { ac_try='test -s conftest$ac_exeext'
45569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45570 (eval $ac_try) 2>&5
45571 ac_status=$?
45572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45573 (exit $ac_status); }; }; then
45574 eval "$as_ac_var=yes"
45575 else
45576 echo "$as_me: failed program was:" >&5
45577 sed 's/^/| /' conftest.$ac_ext >&5
45579 eval "$as_ac_var=no"
45581 rm -f conftest.err conftest.$ac_objext \
45582 conftest$ac_exeext conftest.$ac_ext
45584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45586 if test `eval echo '${'$as_ac_var'}'` = yes; then
45587 cat >>confdefs.h <<_ACEOF
45588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45589 _ACEOF
45592 done
45594 else
45596 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45597 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45598 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45599 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45600 echo $ECHO_N "(cached) $ECHO_C" >&6
45601 else
45605 ac_ext=cc
45606 ac_cpp='$CXXCPP $CPPFLAGS'
45607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45611 cat >conftest.$ac_ext <<_ACEOF
45612 /* confdefs.h. */
45613 _ACEOF
45614 cat confdefs.h >>conftest.$ac_ext
45615 cat >>conftest.$ac_ext <<_ACEOF
45616 /* end confdefs.h. */
45617 #include <math.h>
45618 #ifdef HAVE_IEEEFP_H
45619 #include <ieeefp.h>
45620 #endif
45623 main ()
45625 _fpclass(0);
45627 return 0;
45629 _ACEOF
45630 rm -f conftest.$ac_objext
45631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45632 (eval $ac_compile) 2>conftest.er1
45633 ac_status=$?
45634 grep -v '^ *+' conftest.er1 >conftest.err
45635 rm -f conftest.er1
45636 cat conftest.err >&5
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); } &&
45639 { ac_try='test -z "$ac_cxx_werror_flag"
45640 || test ! -s conftest.err'
45641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45642 (eval $ac_try) 2>&5
45643 ac_status=$?
45644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645 (exit $ac_status); }; } &&
45646 { ac_try='test -s conftest.$ac_objext'
45647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45648 (eval $ac_try) 2>&5
45649 ac_status=$?
45650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651 (exit $ac_status); }; }; then
45652 glibcxx_cv_func__fpclass_use=yes
45653 else
45654 echo "$as_me: failed program was:" >&5
45655 sed 's/^/| /' conftest.$ac_ext >&5
45657 glibcxx_cv_func__fpclass_use=no
45659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45660 ac_ext=c
45661 ac_cpp='$CPP $CPPFLAGS'
45662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45670 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45671 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45673 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45675 for ac_func in _fpclass
45677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45678 echo "$as_me:$LINENO: checking for $ac_func" >&5
45679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45680 if eval "test \"\${$as_ac_var+set}\" = set"; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45682 else
45683 if test x$gcc_no_link = xyes; then
45684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45686 { (exit 1); exit 1; }; }
45688 cat >conftest.$ac_ext <<_ACEOF
45689 /* confdefs.h. */
45690 _ACEOF
45691 cat confdefs.h >>conftest.$ac_ext
45692 cat >>conftest.$ac_ext <<_ACEOF
45693 /* end confdefs.h. */
45694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45696 #define $ac_func innocuous_$ac_func
45698 /* System header to define __stub macros and hopefully few prototypes,
45699 which can conflict with char $ac_func (); below.
45700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45701 <limits.h> exists even on freestanding compilers. */
45703 #ifdef __STDC__
45704 # include <limits.h>
45705 #else
45706 # include <assert.h>
45707 #endif
45709 #undef $ac_func
45711 /* Override any gcc2 internal prototype to avoid an error. */
45712 #ifdef __cplusplus
45713 extern "C"
45715 #endif
45716 /* We use char because int might match the return type of a gcc2
45717 builtin and then its argument prototype would still apply. */
45718 char $ac_func ();
45719 /* The GNU C library defines this for functions which it implements
45720 to always fail with ENOSYS. Some functions are actually named
45721 something starting with __ and the normal name is an alias. */
45722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45723 choke me
45724 #else
45725 char (*f) () = $ac_func;
45726 #endif
45727 #ifdef __cplusplus
45729 #endif
45732 main ()
45734 return f != $ac_func;
45736 return 0;
45738 _ACEOF
45739 rm -f conftest.$ac_objext conftest$ac_exeext
45740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45741 (eval $ac_link) 2>conftest.er1
45742 ac_status=$?
45743 grep -v '^ *+' conftest.er1 >conftest.err
45744 rm -f conftest.er1
45745 cat conftest.err >&5
45746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747 (exit $ac_status); } &&
45748 { ac_try='test -z "$ac_c_werror_flag"
45749 || test ! -s conftest.err'
45750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45751 (eval $ac_try) 2>&5
45752 ac_status=$?
45753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754 (exit $ac_status); }; } &&
45755 { ac_try='test -s conftest$ac_exeext'
45756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45757 (eval $ac_try) 2>&5
45758 ac_status=$?
45759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760 (exit $ac_status); }; }; then
45761 eval "$as_ac_var=yes"
45762 else
45763 echo "$as_me: failed program was:" >&5
45764 sed 's/^/| /' conftest.$ac_ext >&5
45766 eval "$as_ac_var=no"
45768 rm -f conftest.err conftest.$ac_objext \
45769 conftest$ac_exeext conftest.$ac_ext
45771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45773 if test `eval echo '${'$as_ac_var'}'` = yes; then
45774 cat >>confdefs.h <<_ACEOF
45775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45776 _ACEOF
45779 done
45789 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45790 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45791 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45792 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45793 echo $ECHO_N "(cached) $ECHO_C" >&6
45794 else
45798 ac_ext=cc
45799 ac_cpp='$CXXCPP $CPPFLAGS'
45800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45804 cat >conftest.$ac_ext <<_ACEOF
45805 /* confdefs.h. */
45806 _ACEOF
45807 cat confdefs.h >>conftest.$ac_ext
45808 cat >>conftest.$ac_ext <<_ACEOF
45809 /* end confdefs.h. */
45810 #include <math.h>
45811 #ifdef HAVE_IEEEFP_H
45812 #include <ieeefp.h>
45813 #endif
45816 main ()
45818 qfpclass(0);
45820 return 0;
45822 _ACEOF
45823 rm -f conftest.$ac_objext
45824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45825 (eval $ac_compile) 2>conftest.er1
45826 ac_status=$?
45827 grep -v '^ *+' conftest.er1 >conftest.err
45828 rm -f conftest.er1
45829 cat conftest.err >&5
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); } &&
45832 { ac_try='test -z "$ac_cxx_werror_flag"
45833 || test ! -s conftest.err'
45834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45835 (eval $ac_try) 2>&5
45836 ac_status=$?
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); }; } &&
45839 { ac_try='test -s conftest.$ac_objext'
45840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45841 (eval $ac_try) 2>&5
45842 ac_status=$?
45843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45844 (exit $ac_status); }; }; then
45845 glibcxx_cv_func_qfpclass_use=yes
45846 else
45847 echo "$as_me: failed program was:" >&5
45848 sed 's/^/| /' conftest.$ac_ext >&5
45850 glibcxx_cv_func_qfpclass_use=no
45852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45853 ac_ext=c
45854 ac_cpp='$CPP $CPPFLAGS'
45855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45864 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45866 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45868 for ac_func in qfpclass
45870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45871 echo "$as_me:$LINENO: checking for $ac_func" >&5
45872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45873 if eval "test \"\${$as_ac_var+set}\" = set"; then
45874 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 else
45876 if test x$gcc_no_link = xyes; then
45877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45879 { (exit 1); exit 1; }; }
45881 cat >conftest.$ac_ext <<_ACEOF
45882 /* confdefs.h. */
45883 _ACEOF
45884 cat confdefs.h >>conftest.$ac_ext
45885 cat >>conftest.$ac_ext <<_ACEOF
45886 /* end confdefs.h. */
45887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45889 #define $ac_func innocuous_$ac_func
45891 /* System header to define __stub macros and hopefully few prototypes,
45892 which can conflict with char $ac_func (); below.
45893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45894 <limits.h> exists even on freestanding compilers. */
45896 #ifdef __STDC__
45897 # include <limits.h>
45898 #else
45899 # include <assert.h>
45900 #endif
45902 #undef $ac_func
45904 /* Override any gcc2 internal prototype to avoid an error. */
45905 #ifdef __cplusplus
45906 extern "C"
45908 #endif
45909 /* We use char because int might match the return type of a gcc2
45910 builtin and then its argument prototype would still apply. */
45911 char $ac_func ();
45912 /* The GNU C library defines this for functions which it implements
45913 to always fail with ENOSYS. Some functions are actually named
45914 something starting with __ and the normal name is an alias. */
45915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45916 choke me
45917 #else
45918 char (*f) () = $ac_func;
45919 #endif
45920 #ifdef __cplusplus
45922 #endif
45925 main ()
45927 return f != $ac_func;
45929 return 0;
45931 _ACEOF
45932 rm -f conftest.$ac_objext conftest$ac_exeext
45933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45934 (eval $ac_link) 2>conftest.er1
45935 ac_status=$?
45936 grep -v '^ *+' conftest.er1 >conftest.err
45937 rm -f conftest.er1
45938 cat conftest.err >&5
45939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45940 (exit $ac_status); } &&
45941 { ac_try='test -z "$ac_c_werror_flag"
45942 || test ! -s conftest.err'
45943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45944 (eval $ac_try) 2>&5
45945 ac_status=$?
45946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45947 (exit $ac_status); }; } &&
45948 { ac_try='test -s conftest$ac_exeext'
45949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45950 (eval $ac_try) 2>&5
45951 ac_status=$?
45952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45953 (exit $ac_status); }; }; then
45954 eval "$as_ac_var=yes"
45955 else
45956 echo "$as_me: failed program was:" >&5
45957 sed 's/^/| /' conftest.$ac_ext >&5
45959 eval "$as_ac_var=no"
45961 rm -f conftest.err conftest.$ac_objext \
45962 conftest$ac_exeext conftest.$ac_ext
45964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45966 if test `eval echo '${'$as_ac_var'}'` = yes; then
45967 cat >>confdefs.h <<_ACEOF
45968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45969 _ACEOF
45972 done
45974 else
45976 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45977 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45978 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45979 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45980 echo $ECHO_N "(cached) $ECHO_C" >&6
45981 else
45985 ac_ext=cc
45986 ac_cpp='$CXXCPP $CPPFLAGS'
45987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45991 cat >conftest.$ac_ext <<_ACEOF
45992 /* confdefs.h. */
45993 _ACEOF
45994 cat confdefs.h >>conftest.$ac_ext
45995 cat >>conftest.$ac_ext <<_ACEOF
45996 /* end confdefs.h. */
45997 #include <math.h>
45998 #ifdef HAVE_IEEEFP_H
45999 #include <ieeefp.h>
46000 #endif
46003 main ()
46005 _qfpclass(0);
46007 return 0;
46009 _ACEOF
46010 rm -f conftest.$ac_objext
46011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46012 (eval $ac_compile) 2>conftest.er1
46013 ac_status=$?
46014 grep -v '^ *+' conftest.er1 >conftest.err
46015 rm -f conftest.er1
46016 cat conftest.err >&5
46017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018 (exit $ac_status); } &&
46019 { ac_try='test -z "$ac_cxx_werror_flag"
46020 || test ! -s conftest.err'
46021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46022 (eval $ac_try) 2>&5
46023 ac_status=$?
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); }; } &&
46026 { ac_try='test -s conftest.$ac_objext'
46027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46028 (eval $ac_try) 2>&5
46029 ac_status=$?
46030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031 (exit $ac_status); }; }; then
46032 glibcxx_cv_func__qfpclass_use=yes
46033 else
46034 echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.$ac_ext >&5
46037 glibcxx_cv_func__qfpclass_use=no
46039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46040 ac_ext=c
46041 ac_cpp='$CPP $CPPFLAGS'
46042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46050 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46051 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46053 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46055 for ac_func in _qfpclass
46057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46058 echo "$as_me:$LINENO: checking for $ac_func" >&5
46059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46060 if eval "test \"\${$as_ac_var+set}\" = set"; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063 if test x$gcc_no_link = xyes; then
46064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46066 { (exit 1); exit 1; }; }
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h. */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h. */
46074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46076 #define $ac_func innocuous_$ac_func
46078 /* System header to define __stub macros and hopefully few prototypes,
46079 which can conflict with char $ac_func (); below.
46080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46081 <limits.h> exists even on freestanding compilers. */
46083 #ifdef __STDC__
46084 # include <limits.h>
46085 #else
46086 # include <assert.h>
46087 #endif
46089 #undef $ac_func
46091 /* Override any gcc2 internal prototype to avoid an error. */
46092 #ifdef __cplusplus
46093 extern "C"
46095 #endif
46096 /* We use char because int might match the return type of a gcc2
46097 builtin and then its argument prototype would still apply. */
46098 char $ac_func ();
46099 /* The GNU C library defines this for functions which it implements
46100 to always fail with ENOSYS. Some functions are actually named
46101 something starting with __ and the normal name is an alias. */
46102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46103 choke me
46104 #else
46105 char (*f) () = $ac_func;
46106 #endif
46107 #ifdef __cplusplus
46109 #endif
46112 main ()
46114 return f != $ac_func;
46116 return 0;
46118 _ACEOF
46119 rm -f conftest.$ac_objext conftest$ac_exeext
46120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46121 (eval $ac_link) 2>conftest.er1
46122 ac_status=$?
46123 grep -v '^ *+' conftest.er1 >conftest.err
46124 rm -f conftest.er1
46125 cat conftest.err >&5
46126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46127 (exit $ac_status); } &&
46128 { ac_try='test -z "$ac_c_werror_flag"
46129 || test ! -s conftest.err'
46130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46131 (eval $ac_try) 2>&5
46132 ac_status=$?
46133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134 (exit $ac_status); }; } &&
46135 { ac_try='test -s conftest$ac_exeext'
46136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46137 (eval $ac_try) 2>&5
46138 ac_status=$?
46139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140 (exit $ac_status); }; }; then
46141 eval "$as_ac_var=yes"
46142 else
46143 echo "$as_me: failed program was:" >&5
46144 sed 's/^/| /' conftest.$ac_ext >&5
46146 eval "$as_ac_var=no"
46148 rm -f conftest.err conftest.$ac_objext \
46149 conftest$ac_exeext conftest.$ac_ext
46151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46153 if test `eval echo '${'$as_ac_var'}'` = yes; then
46154 cat >>confdefs.h <<_ACEOF
46155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46156 _ACEOF
46159 done
46169 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46170 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46171 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46172 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46173 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 else
46178 ac_ext=cc
46179 ac_cpp='$CXXCPP $CPPFLAGS'
46180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46184 cat >conftest.$ac_ext <<_ACEOF
46185 /* confdefs.h. */
46186 _ACEOF
46187 cat confdefs.h >>conftest.$ac_ext
46188 cat >>conftest.$ac_ext <<_ACEOF
46189 /* end confdefs.h. */
46190 #include <math.h>
46192 main ()
46194 hypot(0, 0);
46196 return 0;
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46201 (eval $ac_compile) 2>conftest.er1
46202 ac_status=$?
46203 grep -v '^ *+' conftest.er1 >conftest.err
46204 rm -f conftest.er1
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } &&
46208 { ac_try='test -z "$ac_cxx_werror_flag"
46209 || test ! -s conftest.err'
46210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211 (eval $ac_try) 2>&5
46212 ac_status=$?
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); }; } &&
46215 { ac_try='test -s conftest.$ac_objext'
46216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217 (eval $ac_try) 2>&5
46218 ac_status=$?
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); }; }; then
46221 glibcxx_cv_func_hypot_use=yes
46222 else
46223 echo "$as_me: failed program was:" >&5
46224 sed 's/^/| /' conftest.$ac_ext >&5
46226 glibcxx_cv_func_hypot_use=no
46228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46229 ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46240 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46242 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46244 for ac_func in hypot
46246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46247 echo "$as_me:$LINENO: checking for $ac_func" >&5
46248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46249 if eval "test \"\${$as_ac_var+set}\" = set"; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46251 else
46252 if test x$gcc_no_link = xyes; then
46253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46255 { (exit 1); exit 1; }; }
46257 cat >conftest.$ac_ext <<_ACEOF
46258 /* confdefs.h. */
46259 _ACEOF
46260 cat confdefs.h >>conftest.$ac_ext
46261 cat >>conftest.$ac_ext <<_ACEOF
46262 /* end confdefs.h. */
46263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46265 #define $ac_func innocuous_$ac_func
46267 /* System header to define __stub macros and hopefully few prototypes,
46268 which can conflict with char $ac_func (); below.
46269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46270 <limits.h> exists even on freestanding compilers. */
46272 #ifdef __STDC__
46273 # include <limits.h>
46274 #else
46275 # include <assert.h>
46276 #endif
46278 #undef $ac_func
46280 /* Override any gcc2 internal prototype to avoid an error. */
46281 #ifdef __cplusplus
46282 extern "C"
46284 #endif
46285 /* We use char because int might match the return type of a gcc2
46286 builtin and then its argument prototype would still apply. */
46287 char $ac_func ();
46288 /* The GNU C library defines this for functions which it implements
46289 to always fail with ENOSYS. Some functions are actually named
46290 something starting with __ and the normal name is an alias. */
46291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46292 choke me
46293 #else
46294 char (*f) () = $ac_func;
46295 #endif
46296 #ifdef __cplusplus
46298 #endif
46301 main ()
46303 return f != $ac_func;
46305 return 0;
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46310 (eval $ac_link) 2>conftest.er1
46311 ac_status=$?
46312 grep -v '^ *+' conftest.er1 >conftest.err
46313 rm -f conftest.er1
46314 cat conftest.err >&5
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); } &&
46317 { ac_try='test -z "$ac_c_werror_flag"
46318 || test ! -s conftest.err'
46319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46320 (eval $ac_try) 2>&5
46321 ac_status=$?
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); }; } &&
46324 { ac_try='test -s conftest$ac_exeext'
46325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46326 (eval $ac_try) 2>&5
46327 ac_status=$?
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); }; }; then
46330 eval "$as_ac_var=yes"
46331 else
46332 echo "$as_me: failed program was:" >&5
46333 sed 's/^/| /' conftest.$ac_ext >&5
46335 eval "$as_ac_var=no"
46337 rm -f conftest.err conftest.$ac_objext \
46338 conftest$ac_exeext conftest.$ac_ext
46340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46342 if test `eval echo '${'$as_ac_var'}'` = yes; then
46343 cat >>confdefs.h <<_ACEOF
46344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46345 _ACEOF
46348 done
46350 else
46352 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46353 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46354 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46355 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46356 echo $ECHO_N "(cached) $ECHO_C" >&6
46357 else
46361 ac_ext=cc
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367 cat >conftest.$ac_ext <<_ACEOF
46368 /* confdefs.h. */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h. */
46373 #include <math.h>
46375 main ()
46377 _hypot(0, 0);
46379 return 0;
46381 _ACEOF
46382 rm -f conftest.$ac_objext
46383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46384 (eval $ac_compile) 2>conftest.er1
46385 ac_status=$?
46386 grep -v '^ *+' conftest.er1 >conftest.err
46387 rm -f conftest.er1
46388 cat conftest.err >&5
46389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390 (exit $ac_status); } &&
46391 { ac_try='test -z "$ac_cxx_werror_flag"
46392 || test ! -s conftest.err'
46393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46394 (eval $ac_try) 2>&5
46395 ac_status=$?
46396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397 (exit $ac_status); }; } &&
46398 { ac_try='test -s conftest.$ac_objext'
46399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46400 (eval $ac_try) 2>&5
46401 ac_status=$?
46402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403 (exit $ac_status); }; }; then
46404 glibcxx_cv_func__hypot_use=yes
46405 else
46406 echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.$ac_ext >&5
46409 glibcxx_cv_func__hypot_use=no
46411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46412 ac_ext=c
46413 ac_cpp='$CPP $CPPFLAGS'
46414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46423 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46425 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46427 for ac_func in _hypot
46429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46430 echo "$as_me:$LINENO: checking for $ac_func" >&5
46431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46432 if eval "test \"\${$as_ac_var+set}\" = set"; then
46433 echo $ECHO_N "(cached) $ECHO_C" >&6
46434 else
46435 if test x$gcc_no_link = xyes; then
46436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46438 { (exit 1); exit 1; }; }
46440 cat >conftest.$ac_ext <<_ACEOF
46441 /* confdefs.h. */
46442 _ACEOF
46443 cat confdefs.h >>conftest.$ac_ext
46444 cat >>conftest.$ac_ext <<_ACEOF
46445 /* end confdefs.h. */
46446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46448 #define $ac_func innocuous_$ac_func
46450 /* System header to define __stub macros and hopefully few prototypes,
46451 which can conflict with char $ac_func (); below.
46452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46453 <limits.h> exists even on freestanding compilers. */
46455 #ifdef __STDC__
46456 # include <limits.h>
46457 #else
46458 # include <assert.h>
46459 #endif
46461 #undef $ac_func
46463 /* Override any gcc2 internal prototype to avoid an error. */
46464 #ifdef __cplusplus
46465 extern "C"
46467 #endif
46468 /* We use char because int might match the return type of a gcc2
46469 builtin and then its argument prototype would still apply. */
46470 char $ac_func ();
46471 /* The GNU C library defines this for functions which it implements
46472 to always fail with ENOSYS. Some functions are actually named
46473 something starting with __ and the normal name is an alias. */
46474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46475 choke me
46476 #else
46477 char (*f) () = $ac_func;
46478 #endif
46479 #ifdef __cplusplus
46481 #endif
46484 main ()
46486 return f != $ac_func;
46488 return 0;
46490 _ACEOF
46491 rm -f conftest.$ac_objext conftest$ac_exeext
46492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46493 (eval $ac_link) 2>conftest.er1
46494 ac_status=$?
46495 grep -v '^ *+' conftest.er1 >conftest.err
46496 rm -f conftest.er1
46497 cat conftest.err >&5
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); } &&
46500 { ac_try='test -z "$ac_c_werror_flag"
46501 || test ! -s conftest.err'
46502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46503 (eval $ac_try) 2>&5
46504 ac_status=$?
46505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506 (exit $ac_status); }; } &&
46507 { ac_try='test -s conftest$ac_exeext'
46508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46509 (eval $ac_try) 2>&5
46510 ac_status=$?
46511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512 (exit $ac_status); }; }; then
46513 eval "$as_ac_var=yes"
46514 else
46515 echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46518 eval "$as_ac_var=no"
46520 rm -f conftest.err conftest.$ac_objext \
46521 conftest$ac_exeext conftest.$ac_ext
46523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46525 if test `eval echo '${'$as_ac_var'}'` = yes; then
46526 cat >>confdefs.h <<_ACEOF
46527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46528 _ACEOF
46531 done
46541 echo "$as_me:$LINENO: checking for float trig functions" >&5
46542 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46543 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46544 echo $ECHO_N "(cached) $ECHO_C" >&6
46545 else
46549 ac_ext=cc
46550 ac_cpp='$CXXCPP $CPPFLAGS'
46551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46555 cat >conftest.$ac_ext <<_ACEOF
46556 /* confdefs.h. */
46557 _ACEOF
46558 cat confdefs.h >>conftest.$ac_ext
46559 cat >>conftest.$ac_ext <<_ACEOF
46560 /* end confdefs.h. */
46561 #include <math.h>
46563 main ()
46565 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46567 return 0;
46569 _ACEOF
46570 rm -f conftest.$ac_objext
46571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46572 (eval $ac_compile) 2>conftest.er1
46573 ac_status=$?
46574 grep -v '^ *+' conftest.er1 >conftest.err
46575 rm -f conftest.er1
46576 cat conftest.err >&5
46577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46578 (exit $ac_status); } &&
46579 { ac_try='test -z "$ac_cxx_werror_flag"
46580 || test ! -s conftest.err'
46581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582 (eval $ac_try) 2>&5
46583 ac_status=$?
46584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585 (exit $ac_status); }; } &&
46586 { ac_try='test -s conftest.$ac_objext'
46587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46588 (eval $ac_try) 2>&5
46589 ac_status=$?
46590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46591 (exit $ac_status); }; }; then
46592 glibcxx_cv_func_float_trig_use=yes
46593 else
46594 echo "$as_me: failed program was:" >&5
46595 sed 's/^/| /' conftest.$ac_ext >&5
46597 glibcxx_cv_func_float_trig_use=no
46599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46600 ac_ext=c
46601 ac_cpp='$CPP $CPPFLAGS'
46602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46609 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46610 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46620 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46623 echo "$as_me:$LINENO: checking for $ac_func" >&5
46624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46625 if eval "test \"\${$as_ac_var+set}\" = set"; then
46626 echo $ECHO_N "(cached) $ECHO_C" >&6
46627 else
46628 if test x$gcc_no_link = xyes; then
46629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46631 { (exit 1); exit 1; }; }
46633 cat >conftest.$ac_ext <<_ACEOF
46634 /* confdefs.h. */
46635 _ACEOF
46636 cat confdefs.h >>conftest.$ac_ext
46637 cat >>conftest.$ac_ext <<_ACEOF
46638 /* end confdefs.h. */
46639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46641 #define $ac_func innocuous_$ac_func
46643 /* System header to define __stub macros and hopefully few prototypes,
46644 which can conflict with char $ac_func (); below.
46645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46646 <limits.h> exists even on freestanding compilers. */
46648 #ifdef __STDC__
46649 # include <limits.h>
46650 #else
46651 # include <assert.h>
46652 #endif
46654 #undef $ac_func
46656 /* Override any gcc2 internal prototype to avoid an error. */
46657 #ifdef __cplusplus
46658 extern "C"
46660 #endif
46661 /* We use char because int might match the return type of a gcc2
46662 builtin and then its argument prototype would still apply. */
46663 char $ac_func ();
46664 /* The GNU C library defines this for functions which it implements
46665 to always fail with ENOSYS. Some functions are actually named
46666 something starting with __ and the normal name is an alias. */
46667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46668 choke me
46669 #else
46670 char (*f) () = $ac_func;
46671 #endif
46672 #ifdef __cplusplus
46674 #endif
46677 main ()
46679 return f != $ac_func;
46681 return 0;
46683 _ACEOF
46684 rm -f conftest.$ac_objext conftest$ac_exeext
46685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46686 (eval $ac_link) 2>conftest.er1
46687 ac_status=$?
46688 grep -v '^ *+' conftest.er1 >conftest.err
46689 rm -f conftest.er1
46690 cat conftest.err >&5
46691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46692 (exit $ac_status); } &&
46693 { ac_try='test -z "$ac_c_werror_flag"
46694 || test ! -s conftest.err'
46695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46696 (eval $ac_try) 2>&5
46697 ac_status=$?
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); }; } &&
46700 { ac_try='test -s conftest$ac_exeext'
46701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702 (eval $ac_try) 2>&5
46703 ac_status=$?
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); }; }; then
46706 eval "$as_ac_var=yes"
46707 else
46708 echo "$as_me: failed program was:" >&5
46709 sed 's/^/| /' conftest.$ac_ext >&5
46711 eval "$as_ac_var=no"
46713 rm -f conftest.err conftest.$ac_objext \
46714 conftest$ac_exeext conftest.$ac_ext
46716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46718 if test `eval echo '${'$as_ac_var'}'` = yes; then
46719 cat >>confdefs.h <<_ACEOF
46720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46721 _ACEOF
46724 done
46726 else
46727 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46728 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46729 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46730 echo $ECHO_N "(cached) $ECHO_C" >&6
46731 else
46735 ac_ext=cc
46736 ac_cpp='$CXXCPP $CPPFLAGS'
46737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46741 cat >conftest.$ac_ext <<_ACEOF
46742 /* confdefs.h. */
46743 _ACEOF
46744 cat confdefs.h >>conftest.$ac_ext
46745 cat >>conftest.$ac_ext <<_ACEOF
46746 /* end confdefs.h. */
46747 #include <math.h>
46749 main ()
46751 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46753 return 0;
46755 _ACEOF
46756 rm -f conftest.$ac_objext
46757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46758 (eval $ac_compile) 2>conftest.er1
46759 ac_status=$?
46760 grep -v '^ *+' conftest.er1 >conftest.err
46761 rm -f conftest.er1
46762 cat conftest.err >&5
46763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764 (exit $ac_status); } &&
46765 { ac_try='test -z "$ac_cxx_werror_flag"
46766 || test ! -s conftest.err'
46767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46768 (eval $ac_try) 2>&5
46769 ac_status=$?
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; } &&
46772 { ac_try='test -s conftest.$ac_objext'
46773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774 (eval $ac_try) 2>&5
46775 ac_status=$?
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); }; }; then
46778 glibcxx_cv_func__float_trig_use=yes
46779 else
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46783 glibcxx_cv_func__float_trig_use=no
46785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46786 ac_ext=c
46787 ac_cpp='$CPP $CPPFLAGS'
46788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46795 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46796 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46806 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46809 echo "$as_me:$LINENO: checking for $ac_func" >&5
46810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46811 if eval "test \"\${$as_ac_var+set}\" = set"; then
46812 echo $ECHO_N "(cached) $ECHO_C" >&6
46813 else
46814 if test x$gcc_no_link = xyes; then
46815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46817 { (exit 1); exit 1; }; }
46819 cat >conftest.$ac_ext <<_ACEOF
46820 /* confdefs.h. */
46821 _ACEOF
46822 cat confdefs.h >>conftest.$ac_ext
46823 cat >>conftest.$ac_ext <<_ACEOF
46824 /* end confdefs.h. */
46825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46827 #define $ac_func innocuous_$ac_func
46829 /* System header to define __stub macros and hopefully few prototypes,
46830 which can conflict with char $ac_func (); below.
46831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46832 <limits.h> exists even on freestanding compilers. */
46834 #ifdef __STDC__
46835 # include <limits.h>
46836 #else
46837 # include <assert.h>
46838 #endif
46840 #undef $ac_func
46842 /* Override any gcc2 internal prototype to avoid an error. */
46843 #ifdef __cplusplus
46844 extern "C"
46846 #endif
46847 /* We use char because int might match the return type of a gcc2
46848 builtin and then its argument prototype would still apply. */
46849 char $ac_func ();
46850 /* The GNU C library defines this for functions which it implements
46851 to always fail with ENOSYS. Some functions are actually named
46852 something starting with __ and the normal name is an alias. */
46853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46854 choke me
46855 #else
46856 char (*f) () = $ac_func;
46857 #endif
46858 #ifdef __cplusplus
46860 #endif
46863 main ()
46865 return f != $ac_func;
46867 return 0;
46869 _ACEOF
46870 rm -f conftest.$ac_objext conftest$ac_exeext
46871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46872 (eval $ac_link) 2>conftest.er1
46873 ac_status=$?
46874 grep -v '^ *+' conftest.er1 >conftest.err
46875 rm -f conftest.er1
46876 cat conftest.err >&5
46877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878 (exit $ac_status); } &&
46879 { ac_try='test -z "$ac_c_werror_flag"
46880 || test ! -s conftest.err'
46881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46882 (eval $ac_try) 2>&5
46883 ac_status=$?
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; } &&
46886 { ac_try='test -s conftest$ac_exeext'
46887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46888 (eval $ac_try) 2>&5
46889 ac_status=$?
46890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46891 (exit $ac_status); }; }; then
46892 eval "$as_ac_var=yes"
46893 else
46894 echo "$as_me: failed program was:" >&5
46895 sed 's/^/| /' conftest.$ac_ext >&5
46897 eval "$as_ac_var=no"
46899 rm -f conftest.err conftest.$ac_objext \
46900 conftest$ac_exeext conftest.$ac_ext
46902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46904 if test `eval echo '${'$as_ac_var'}'` = yes; then
46905 cat >>confdefs.h <<_ACEOF
46906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46907 _ACEOF
46910 done
46928 echo "$as_me:$LINENO: checking for float round functions" >&5
46929 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46930 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46931 echo $ECHO_N "(cached) $ECHO_C" >&6
46932 else
46936 ac_ext=cc
46937 ac_cpp='$CXXCPP $CPPFLAGS'
46938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46942 cat >conftest.$ac_ext <<_ACEOF
46943 /* confdefs.h. */
46944 _ACEOF
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h. */
46948 #include <math.h>
46950 main ()
46952 ceilf (0); floorf (0);
46954 return 0;
46956 _ACEOF
46957 rm -f conftest.$ac_objext
46958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46959 (eval $ac_compile) 2>conftest.er1
46960 ac_status=$?
46961 grep -v '^ *+' conftest.er1 >conftest.err
46962 rm -f conftest.er1
46963 cat conftest.err >&5
46964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965 (exit $ac_status); } &&
46966 { ac_try='test -z "$ac_cxx_werror_flag"
46967 || test ! -s conftest.err'
46968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46969 (eval $ac_try) 2>&5
46970 ac_status=$?
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); }; } &&
46973 { ac_try='test -s conftest.$ac_objext'
46974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46975 (eval $ac_try) 2>&5
46976 ac_status=$?
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); }; }; then
46979 glibcxx_cv_func_float_round_use=yes
46980 else
46981 echo "$as_me: failed program was:" >&5
46982 sed 's/^/| /' conftest.$ac_ext >&5
46984 glibcxx_cv_func_float_round_use=no
46986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46987 ac_ext=c
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46996 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46997 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47000 for ac_func in ceilf floorf
47002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47003 echo "$as_me:$LINENO: checking for $ac_func" >&5
47004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47005 if eval "test \"\${$as_ac_var+set}\" = set"; then
47006 echo $ECHO_N "(cached) $ECHO_C" >&6
47007 else
47008 if test x$gcc_no_link = xyes; then
47009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47011 { (exit 1); exit 1; }; }
47013 cat >conftest.$ac_ext <<_ACEOF
47014 /* confdefs.h. */
47015 _ACEOF
47016 cat confdefs.h >>conftest.$ac_ext
47017 cat >>conftest.$ac_ext <<_ACEOF
47018 /* end confdefs.h. */
47019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47021 #define $ac_func innocuous_$ac_func
47023 /* System header to define __stub macros and hopefully few prototypes,
47024 which can conflict with char $ac_func (); below.
47025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47026 <limits.h> exists even on freestanding compilers. */
47028 #ifdef __STDC__
47029 # include <limits.h>
47030 #else
47031 # include <assert.h>
47032 #endif
47034 #undef $ac_func
47036 /* Override any gcc2 internal prototype to avoid an error. */
47037 #ifdef __cplusplus
47038 extern "C"
47040 #endif
47041 /* We use char because int might match the return type of a gcc2
47042 builtin and then its argument prototype would still apply. */
47043 char $ac_func ();
47044 /* The GNU C library defines this for functions which it implements
47045 to always fail with ENOSYS. Some functions are actually named
47046 something starting with __ and the normal name is an alias. */
47047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47048 choke me
47049 #else
47050 char (*f) () = $ac_func;
47051 #endif
47052 #ifdef __cplusplus
47054 #endif
47057 main ()
47059 return f != $ac_func;
47061 return 0;
47063 _ACEOF
47064 rm -f conftest.$ac_objext conftest$ac_exeext
47065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47066 (eval $ac_link) 2>conftest.er1
47067 ac_status=$?
47068 grep -v '^ *+' conftest.er1 >conftest.err
47069 rm -f conftest.er1
47070 cat conftest.err >&5
47071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47072 (exit $ac_status); } &&
47073 { ac_try='test -z "$ac_c_werror_flag"
47074 || test ! -s conftest.err'
47075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47076 (eval $ac_try) 2>&5
47077 ac_status=$?
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); }; } &&
47080 { ac_try='test -s conftest$ac_exeext'
47081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082 (eval $ac_try) 2>&5
47083 ac_status=$?
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); }; }; then
47086 eval "$as_ac_var=yes"
47087 else
47088 echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47091 eval "$as_ac_var=no"
47093 rm -f conftest.err conftest.$ac_objext \
47094 conftest$ac_exeext conftest.$ac_ext
47096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47098 if test `eval echo '${'$as_ac_var'}'` = yes; then
47099 cat >>confdefs.h <<_ACEOF
47100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47101 _ACEOF
47104 done
47106 else
47107 echo "$as_me:$LINENO: checking for _float round functions" >&5
47108 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47109 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47110 echo $ECHO_N "(cached) $ECHO_C" >&6
47111 else
47115 ac_ext=cc
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47121 cat >conftest.$ac_ext <<_ACEOF
47122 /* confdefs.h. */
47123 _ACEOF
47124 cat confdefs.h >>conftest.$ac_ext
47125 cat >>conftest.$ac_ext <<_ACEOF
47126 /* end confdefs.h. */
47127 #include <math.h>
47129 main ()
47131 _ceilf (0); _floorf (0);
47133 return 0;
47135 _ACEOF
47136 rm -f conftest.$ac_objext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47138 (eval $ac_compile) 2>conftest.er1
47139 ac_status=$?
47140 grep -v '^ *+' conftest.er1 >conftest.err
47141 rm -f conftest.er1
47142 cat conftest.err >&5
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); } &&
47145 { ac_try='test -z "$ac_cxx_werror_flag"
47146 || test ! -s conftest.err'
47147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148 (eval $ac_try) 2>&5
47149 ac_status=$?
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); }; } &&
47152 { ac_try='test -s conftest.$ac_objext'
47153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154 (eval $ac_try) 2>&5
47155 ac_status=$?
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); }; }; then
47158 glibcxx_cv_func__float_round_use=yes
47159 else
47160 echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47163 glibcxx_cv_func__float_round_use=no
47165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47166 ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47175 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47176 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47179 for ac_func in _ceilf _floorf
47181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47182 echo "$as_me:$LINENO: checking for $ac_func" >&5
47183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47184 if eval "test \"\${$as_ac_var+set}\" = set"; then
47185 echo $ECHO_N "(cached) $ECHO_C" >&6
47186 else
47187 if test x$gcc_no_link = xyes; then
47188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47190 { (exit 1); exit 1; }; }
47192 cat >conftest.$ac_ext <<_ACEOF
47193 /* confdefs.h. */
47194 _ACEOF
47195 cat confdefs.h >>conftest.$ac_ext
47196 cat >>conftest.$ac_ext <<_ACEOF
47197 /* end confdefs.h. */
47198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47200 #define $ac_func innocuous_$ac_func
47202 /* System header to define __stub macros and hopefully few prototypes,
47203 which can conflict with char $ac_func (); below.
47204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47205 <limits.h> exists even on freestanding compilers. */
47207 #ifdef __STDC__
47208 # include <limits.h>
47209 #else
47210 # include <assert.h>
47211 #endif
47213 #undef $ac_func
47215 /* Override any gcc2 internal prototype to avoid an error. */
47216 #ifdef __cplusplus
47217 extern "C"
47219 #endif
47220 /* We use char because int might match the return type of a gcc2
47221 builtin and then its argument prototype would still apply. */
47222 char $ac_func ();
47223 /* The GNU C library defines this for functions which it implements
47224 to always fail with ENOSYS. Some functions are actually named
47225 something starting with __ and the normal name is an alias. */
47226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47227 choke me
47228 #else
47229 char (*f) () = $ac_func;
47230 #endif
47231 #ifdef __cplusplus
47233 #endif
47236 main ()
47238 return f != $ac_func;
47240 return 0;
47242 _ACEOF
47243 rm -f conftest.$ac_objext conftest$ac_exeext
47244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47245 (eval $ac_link) 2>conftest.er1
47246 ac_status=$?
47247 grep -v '^ *+' conftest.er1 >conftest.err
47248 rm -f conftest.er1
47249 cat conftest.err >&5
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); } &&
47252 { ac_try='test -z "$ac_c_werror_flag"
47253 || test ! -s conftest.err'
47254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47255 (eval $ac_try) 2>&5
47256 ac_status=$?
47257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47258 (exit $ac_status); }; } &&
47259 { ac_try='test -s conftest$ac_exeext'
47260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47261 (eval $ac_try) 2>&5
47262 ac_status=$?
47263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264 (exit $ac_status); }; }; then
47265 eval "$as_ac_var=yes"
47266 else
47267 echo "$as_me: failed program was:" >&5
47268 sed 's/^/| /' conftest.$ac_ext >&5
47270 eval "$as_ac_var=no"
47272 rm -f conftest.err conftest.$ac_objext \
47273 conftest$ac_exeext conftest.$ac_ext
47275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47277 if test `eval echo '${'$as_ac_var'}'` = yes; then
47278 cat >>confdefs.h <<_ACEOF
47279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47280 _ACEOF
47283 done
47295 echo "$as_me:$LINENO: checking for expf declaration" >&5
47296 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47297 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47298 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47299 echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47304 ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47310 cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h. */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h. */
47316 #include <math.h>
47317 #ifdef HAVE_IEEEFP_H
47318 #include <ieeefp.h>
47319 #endif
47322 main ()
47324 expf(0);
47326 return 0;
47328 _ACEOF
47329 rm -f conftest.$ac_objext
47330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47331 (eval $ac_compile) 2>conftest.er1
47332 ac_status=$?
47333 grep -v '^ *+' conftest.er1 >conftest.err
47334 rm -f conftest.er1
47335 cat conftest.err >&5
47336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337 (exit $ac_status); } &&
47338 { ac_try='test -z "$ac_cxx_werror_flag"
47339 || test ! -s conftest.err'
47340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341 (eval $ac_try) 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; } &&
47345 { ac_try='test -s conftest.$ac_objext'
47346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47347 (eval $ac_try) 2>&5
47348 ac_status=$?
47349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350 (exit $ac_status); }; }; then
47351 glibcxx_cv_func_expf_use=yes
47352 else
47353 echo "$as_me: failed program was:" >&5
47354 sed 's/^/| /' conftest.$ac_ext >&5
47356 glibcxx_cv_func_expf_use=no
47358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47359 ac_ext=c
47360 ac_cpp='$CPP $CPPFLAGS'
47361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47370 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47372 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47374 for ac_func in expf
47376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 echo "$as_me:$LINENO: checking for $ac_func" >&5
47378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47379 if eval "test \"\${$as_ac_var+set}\" = set"; then
47380 echo $ECHO_N "(cached) $ECHO_C" >&6
47381 else
47382 if test x$gcc_no_link = xyes; then
47383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47385 { (exit 1); exit 1; }; }
47387 cat >conftest.$ac_ext <<_ACEOF
47388 /* confdefs.h. */
47389 _ACEOF
47390 cat confdefs.h >>conftest.$ac_ext
47391 cat >>conftest.$ac_ext <<_ACEOF
47392 /* end confdefs.h. */
47393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47395 #define $ac_func innocuous_$ac_func
47397 /* System header to define __stub macros and hopefully few prototypes,
47398 which can conflict with char $ac_func (); below.
47399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47400 <limits.h> exists even on freestanding compilers. */
47402 #ifdef __STDC__
47403 # include <limits.h>
47404 #else
47405 # include <assert.h>
47406 #endif
47408 #undef $ac_func
47410 /* Override any gcc2 internal prototype to avoid an error. */
47411 #ifdef __cplusplus
47412 extern "C"
47414 #endif
47415 /* We use char because int might match the return type of a gcc2
47416 builtin and then its argument prototype would still apply. */
47417 char $ac_func ();
47418 /* The GNU C library defines this for functions which it implements
47419 to always fail with ENOSYS. Some functions are actually named
47420 something starting with __ and the normal name is an alias. */
47421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47422 choke me
47423 #else
47424 char (*f) () = $ac_func;
47425 #endif
47426 #ifdef __cplusplus
47428 #endif
47431 main ()
47433 return f != $ac_func;
47435 return 0;
47437 _ACEOF
47438 rm -f conftest.$ac_objext conftest$ac_exeext
47439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47440 (eval $ac_link) 2>conftest.er1
47441 ac_status=$?
47442 grep -v '^ *+' conftest.er1 >conftest.err
47443 rm -f conftest.er1
47444 cat conftest.err >&5
47445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446 (exit $ac_status); } &&
47447 { ac_try='test -z "$ac_c_werror_flag"
47448 || test ! -s conftest.err'
47449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47450 (eval $ac_try) 2>&5
47451 ac_status=$?
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); }; } &&
47454 { ac_try='test -s conftest$ac_exeext'
47455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47456 (eval $ac_try) 2>&5
47457 ac_status=$?
47458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459 (exit $ac_status); }; }; then
47460 eval "$as_ac_var=yes"
47461 else
47462 echo "$as_me: failed program was:" >&5
47463 sed 's/^/| /' conftest.$ac_ext >&5
47465 eval "$as_ac_var=no"
47467 rm -f conftest.err conftest.$ac_objext \
47468 conftest$ac_exeext conftest.$ac_ext
47470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47472 if test `eval echo '${'$as_ac_var'}'` = yes; then
47473 cat >>confdefs.h <<_ACEOF
47474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47475 _ACEOF
47478 done
47480 else
47482 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47483 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47484 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47485 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47486 echo $ECHO_N "(cached) $ECHO_C" >&6
47487 else
47491 ac_ext=cc
47492 ac_cpp='$CXXCPP $CPPFLAGS'
47493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47497 cat >conftest.$ac_ext <<_ACEOF
47498 /* confdefs.h. */
47499 _ACEOF
47500 cat confdefs.h >>conftest.$ac_ext
47501 cat >>conftest.$ac_ext <<_ACEOF
47502 /* end confdefs.h. */
47503 #include <math.h>
47504 #ifdef HAVE_IEEEFP_H
47505 #include <ieeefp.h>
47506 #endif
47509 main ()
47511 _expf(0);
47513 return 0;
47515 _ACEOF
47516 rm -f conftest.$ac_objext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47518 (eval $ac_compile) 2>conftest.er1
47519 ac_status=$?
47520 grep -v '^ *+' conftest.er1 >conftest.err
47521 rm -f conftest.er1
47522 cat conftest.err >&5
47523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524 (exit $ac_status); } &&
47525 { ac_try='test -z "$ac_cxx_werror_flag"
47526 || test ! -s conftest.err'
47527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528 (eval $ac_try) 2>&5
47529 ac_status=$?
47530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531 (exit $ac_status); }; } &&
47532 { ac_try='test -s conftest.$ac_objext'
47533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534 (eval $ac_try) 2>&5
47535 ac_status=$?
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); }; }; then
47538 glibcxx_cv_func__expf_use=yes
47539 else
47540 echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47543 glibcxx_cv_func__expf_use=no
47545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47546 ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47557 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47559 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47561 for ac_func in _expf
47563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47564 echo "$as_me:$LINENO: checking for $ac_func" >&5
47565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47566 if eval "test \"\${$as_ac_var+set}\" = set"; then
47567 echo $ECHO_N "(cached) $ECHO_C" >&6
47568 else
47569 if test x$gcc_no_link = xyes; then
47570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47572 { (exit 1); exit 1; }; }
47574 cat >conftest.$ac_ext <<_ACEOF
47575 /* confdefs.h. */
47576 _ACEOF
47577 cat confdefs.h >>conftest.$ac_ext
47578 cat >>conftest.$ac_ext <<_ACEOF
47579 /* end confdefs.h. */
47580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47582 #define $ac_func innocuous_$ac_func
47584 /* System header to define __stub macros and hopefully few prototypes,
47585 which can conflict with char $ac_func (); below.
47586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47587 <limits.h> exists even on freestanding compilers. */
47589 #ifdef __STDC__
47590 # include <limits.h>
47591 #else
47592 # include <assert.h>
47593 #endif
47595 #undef $ac_func
47597 /* Override any gcc2 internal prototype to avoid an error. */
47598 #ifdef __cplusplus
47599 extern "C"
47601 #endif
47602 /* We use char because int might match the return type of a gcc2
47603 builtin and then its argument prototype would still apply. */
47604 char $ac_func ();
47605 /* The GNU C library defines this for functions which it implements
47606 to always fail with ENOSYS. Some functions are actually named
47607 something starting with __ and the normal name is an alias. */
47608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47609 choke me
47610 #else
47611 char (*f) () = $ac_func;
47612 #endif
47613 #ifdef __cplusplus
47615 #endif
47618 main ()
47620 return f != $ac_func;
47622 return 0;
47624 _ACEOF
47625 rm -f conftest.$ac_objext conftest$ac_exeext
47626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47627 (eval $ac_link) 2>conftest.er1
47628 ac_status=$?
47629 grep -v '^ *+' conftest.er1 >conftest.err
47630 rm -f conftest.er1
47631 cat conftest.err >&5
47632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47633 (exit $ac_status); } &&
47634 { ac_try='test -z "$ac_c_werror_flag"
47635 || test ! -s conftest.err'
47636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47637 (eval $ac_try) 2>&5
47638 ac_status=$?
47639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640 (exit $ac_status); }; } &&
47641 { ac_try='test -s conftest$ac_exeext'
47642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47643 (eval $ac_try) 2>&5
47644 ac_status=$?
47645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47646 (exit $ac_status); }; }; then
47647 eval "$as_ac_var=yes"
47648 else
47649 echo "$as_me: failed program was:" >&5
47650 sed 's/^/| /' conftest.$ac_ext >&5
47652 eval "$as_ac_var=no"
47654 rm -f conftest.err conftest.$ac_objext \
47655 conftest$ac_exeext conftest.$ac_ext
47657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47659 if test `eval echo '${'$as_ac_var'}'` = yes; then
47660 cat >>confdefs.h <<_ACEOF
47661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47662 _ACEOF
47665 done
47675 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47676 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47677 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47678 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47679 echo $ECHO_N "(cached) $ECHO_C" >&6
47680 else
47684 ac_ext=cc
47685 ac_cpp='$CXXCPP $CPPFLAGS'
47686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47690 cat >conftest.$ac_ext <<_ACEOF
47691 /* confdefs.h. */
47692 _ACEOF
47693 cat confdefs.h >>conftest.$ac_ext
47694 cat >>conftest.$ac_ext <<_ACEOF
47695 /* end confdefs.h. */
47696 #include <math.h>
47697 #ifdef HAVE_IEEEFP_H
47698 #include <ieeefp.h>
47699 #endif
47702 main ()
47704 isnanf(0);
47706 return 0;
47708 _ACEOF
47709 rm -f conftest.$ac_objext
47710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47711 (eval $ac_compile) 2>conftest.er1
47712 ac_status=$?
47713 grep -v '^ *+' conftest.er1 >conftest.err
47714 rm -f conftest.er1
47715 cat conftest.err >&5
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); } &&
47718 { ac_try='test -z "$ac_cxx_werror_flag"
47719 || test ! -s conftest.err'
47720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721 (eval $ac_try) 2>&5
47722 ac_status=$?
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); }; } &&
47725 { ac_try='test -s conftest.$ac_objext'
47726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47727 (eval $ac_try) 2>&5
47728 ac_status=$?
47729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730 (exit $ac_status); }; }; then
47731 glibcxx_cv_func_isnanf_use=yes
47732 else
47733 echo "$as_me: failed program was:" >&5
47734 sed 's/^/| /' conftest.$ac_ext >&5
47736 glibcxx_cv_func_isnanf_use=no
47738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47739 ac_ext=c
47740 ac_cpp='$CPP $CPPFLAGS'
47741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47750 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47752 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47754 for ac_func in isnanf
47756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47757 echo "$as_me:$LINENO: checking for $ac_func" >&5
47758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47759 if eval "test \"\${$as_ac_var+set}\" = set"; then
47760 echo $ECHO_N "(cached) $ECHO_C" >&6
47761 else
47762 if test x$gcc_no_link = xyes; then
47763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47765 { (exit 1); exit 1; }; }
47767 cat >conftest.$ac_ext <<_ACEOF
47768 /* confdefs.h. */
47769 _ACEOF
47770 cat confdefs.h >>conftest.$ac_ext
47771 cat >>conftest.$ac_ext <<_ACEOF
47772 /* end confdefs.h. */
47773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47775 #define $ac_func innocuous_$ac_func
47777 /* System header to define __stub macros and hopefully few prototypes,
47778 which can conflict with char $ac_func (); below.
47779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47780 <limits.h> exists even on freestanding compilers. */
47782 #ifdef __STDC__
47783 # include <limits.h>
47784 #else
47785 # include <assert.h>
47786 #endif
47788 #undef $ac_func
47790 /* Override any gcc2 internal prototype to avoid an error. */
47791 #ifdef __cplusplus
47792 extern "C"
47794 #endif
47795 /* We use char because int might match the return type of a gcc2
47796 builtin and then its argument prototype would still apply. */
47797 char $ac_func ();
47798 /* The GNU C library defines this for functions which it implements
47799 to always fail with ENOSYS. Some functions are actually named
47800 something starting with __ and the normal name is an alias. */
47801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47802 choke me
47803 #else
47804 char (*f) () = $ac_func;
47805 #endif
47806 #ifdef __cplusplus
47808 #endif
47811 main ()
47813 return f != $ac_func;
47815 return 0;
47817 _ACEOF
47818 rm -f conftest.$ac_objext conftest$ac_exeext
47819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47820 (eval $ac_link) 2>conftest.er1
47821 ac_status=$?
47822 grep -v '^ *+' conftest.er1 >conftest.err
47823 rm -f conftest.er1
47824 cat conftest.err >&5
47825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47826 (exit $ac_status); } &&
47827 { ac_try='test -z "$ac_c_werror_flag"
47828 || test ! -s conftest.err'
47829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47830 (eval $ac_try) 2>&5
47831 ac_status=$?
47832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833 (exit $ac_status); }; } &&
47834 { ac_try='test -s conftest$ac_exeext'
47835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47836 (eval $ac_try) 2>&5
47837 ac_status=$?
47838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839 (exit $ac_status); }; }; then
47840 eval "$as_ac_var=yes"
47841 else
47842 echo "$as_me: failed program was:" >&5
47843 sed 's/^/| /' conftest.$ac_ext >&5
47845 eval "$as_ac_var=no"
47847 rm -f conftest.err conftest.$ac_objext \
47848 conftest$ac_exeext conftest.$ac_ext
47850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47852 if test `eval echo '${'$as_ac_var'}'` = yes; then
47853 cat >>confdefs.h <<_ACEOF
47854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47855 _ACEOF
47858 done
47860 else
47862 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47863 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47864 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47865 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47866 echo $ECHO_N "(cached) $ECHO_C" >&6
47867 else
47871 ac_ext=cc
47872 ac_cpp='$CXXCPP $CPPFLAGS'
47873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47877 cat >conftest.$ac_ext <<_ACEOF
47878 /* confdefs.h. */
47879 _ACEOF
47880 cat confdefs.h >>conftest.$ac_ext
47881 cat >>conftest.$ac_ext <<_ACEOF
47882 /* end confdefs.h. */
47883 #include <math.h>
47884 #ifdef HAVE_IEEEFP_H
47885 #include <ieeefp.h>
47886 #endif
47889 main ()
47891 _isnanf(0);
47893 return 0;
47895 _ACEOF
47896 rm -f conftest.$ac_objext
47897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47898 (eval $ac_compile) 2>conftest.er1
47899 ac_status=$?
47900 grep -v '^ *+' conftest.er1 >conftest.err
47901 rm -f conftest.er1
47902 cat conftest.err >&5
47903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47904 (exit $ac_status); } &&
47905 { ac_try='test -z "$ac_cxx_werror_flag"
47906 || test ! -s conftest.err'
47907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47908 (eval $ac_try) 2>&5
47909 ac_status=$?
47910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47911 (exit $ac_status); }; } &&
47912 { ac_try='test -s conftest.$ac_objext'
47913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47914 (eval $ac_try) 2>&5
47915 ac_status=$?
47916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47917 (exit $ac_status); }; }; then
47918 glibcxx_cv_func__isnanf_use=yes
47919 else
47920 echo "$as_me: failed program was:" >&5
47921 sed 's/^/| /' conftest.$ac_ext >&5
47923 glibcxx_cv_func__isnanf_use=no
47925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47937 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47939 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47941 for ac_func in _isnanf
47943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47944 echo "$as_me:$LINENO: checking for $ac_func" >&5
47945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47946 if eval "test \"\${$as_ac_var+set}\" = set"; then
47947 echo $ECHO_N "(cached) $ECHO_C" >&6
47948 else
47949 if test x$gcc_no_link = xyes; then
47950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47952 { (exit 1); exit 1; }; }
47954 cat >conftest.$ac_ext <<_ACEOF
47955 /* confdefs.h. */
47956 _ACEOF
47957 cat confdefs.h >>conftest.$ac_ext
47958 cat >>conftest.$ac_ext <<_ACEOF
47959 /* end confdefs.h. */
47960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47962 #define $ac_func innocuous_$ac_func
47964 /* System header to define __stub macros and hopefully few prototypes,
47965 which can conflict with char $ac_func (); below.
47966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47967 <limits.h> exists even on freestanding compilers. */
47969 #ifdef __STDC__
47970 # include <limits.h>
47971 #else
47972 # include <assert.h>
47973 #endif
47975 #undef $ac_func
47977 /* Override any gcc2 internal prototype to avoid an error. */
47978 #ifdef __cplusplus
47979 extern "C"
47981 #endif
47982 /* We use char because int might match the return type of a gcc2
47983 builtin and then its argument prototype would still apply. */
47984 char $ac_func ();
47985 /* The GNU C library defines this for functions which it implements
47986 to always fail with ENOSYS. Some functions are actually named
47987 something starting with __ and the normal name is an alias. */
47988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47989 choke me
47990 #else
47991 char (*f) () = $ac_func;
47992 #endif
47993 #ifdef __cplusplus
47995 #endif
47998 main ()
48000 return f != $ac_func;
48002 return 0;
48004 _ACEOF
48005 rm -f conftest.$ac_objext conftest$ac_exeext
48006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48007 (eval $ac_link) 2>conftest.er1
48008 ac_status=$?
48009 grep -v '^ *+' conftest.er1 >conftest.err
48010 rm -f conftest.er1
48011 cat conftest.err >&5
48012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013 (exit $ac_status); } &&
48014 { ac_try='test -z "$ac_c_werror_flag"
48015 || test ! -s conftest.err'
48016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48017 (eval $ac_try) 2>&5
48018 ac_status=$?
48019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020 (exit $ac_status); }; } &&
48021 { ac_try='test -s conftest$ac_exeext'
48022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48023 (eval $ac_try) 2>&5
48024 ac_status=$?
48025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48026 (exit $ac_status); }; }; then
48027 eval "$as_ac_var=yes"
48028 else
48029 echo "$as_me: failed program was:" >&5
48030 sed 's/^/| /' conftest.$ac_ext >&5
48032 eval "$as_ac_var=no"
48034 rm -f conftest.err conftest.$ac_objext \
48035 conftest$ac_exeext conftest.$ac_ext
48037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48039 if test `eval echo '${'$as_ac_var'}'` = yes; then
48040 cat >>confdefs.h <<_ACEOF
48041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48045 done
48055 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48056 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48057 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48058 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48059 echo $ECHO_N "(cached) $ECHO_C" >&6
48060 else
48064 ac_ext=cc
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48070 cat >conftest.$ac_ext <<_ACEOF
48071 /* confdefs.h. */
48072 _ACEOF
48073 cat confdefs.h >>conftest.$ac_ext
48074 cat >>conftest.$ac_ext <<_ACEOF
48075 /* end confdefs.h. */
48076 #include <math.h>
48077 #ifdef HAVE_IEEEFP_H
48078 #include <ieeefp.h>
48079 #endif
48082 main ()
48084 isinff(0);
48086 return 0;
48088 _ACEOF
48089 rm -f conftest.$ac_objext
48090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48091 (eval $ac_compile) 2>conftest.er1
48092 ac_status=$?
48093 grep -v '^ *+' conftest.er1 >conftest.err
48094 rm -f conftest.er1
48095 cat conftest.err >&5
48096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097 (exit $ac_status); } &&
48098 { ac_try='test -z "$ac_cxx_werror_flag"
48099 || test ! -s conftest.err'
48100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48101 (eval $ac_try) 2>&5
48102 ac_status=$?
48103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104 (exit $ac_status); }; } &&
48105 { ac_try='test -s conftest.$ac_objext'
48106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48107 (eval $ac_try) 2>&5
48108 ac_status=$?
48109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48110 (exit $ac_status); }; }; then
48111 glibcxx_cv_func_isinff_use=yes
48112 else
48113 echo "$as_me: failed program was:" >&5
48114 sed 's/^/| /' conftest.$ac_ext >&5
48116 glibcxx_cv_func_isinff_use=no
48118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48119 ac_ext=c
48120 ac_cpp='$CPP $CPPFLAGS'
48121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48130 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48132 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48134 for ac_func in isinff
48136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48137 echo "$as_me:$LINENO: checking for $ac_func" >&5
48138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48139 if eval "test \"\${$as_ac_var+set}\" = set"; then
48140 echo $ECHO_N "(cached) $ECHO_C" >&6
48141 else
48142 if test x$gcc_no_link = xyes; then
48143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48145 { (exit 1); exit 1; }; }
48147 cat >conftest.$ac_ext <<_ACEOF
48148 /* confdefs.h. */
48149 _ACEOF
48150 cat confdefs.h >>conftest.$ac_ext
48151 cat >>conftest.$ac_ext <<_ACEOF
48152 /* end confdefs.h. */
48153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48155 #define $ac_func innocuous_$ac_func
48157 /* System header to define __stub macros and hopefully few prototypes,
48158 which can conflict with char $ac_func (); below.
48159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48160 <limits.h> exists even on freestanding compilers. */
48162 #ifdef __STDC__
48163 # include <limits.h>
48164 #else
48165 # include <assert.h>
48166 #endif
48168 #undef $ac_func
48170 /* Override any gcc2 internal prototype to avoid an error. */
48171 #ifdef __cplusplus
48172 extern "C"
48174 #endif
48175 /* We use char because int might match the return type of a gcc2
48176 builtin and then its argument prototype would still apply. */
48177 char $ac_func ();
48178 /* The GNU C library defines this for functions which it implements
48179 to always fail with ENOSYS. Some functions are actually named
48180 something starting with __ and the normal name is an alias. */
48181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48182 choke me
48183 #else
48184 char (*f) () = $ac_func;
48185 #endif
48186 #ifdef __cplusplus
48188 #endif
48191 main ()
48193 return f != $ac_func;
48195 return 0;
48197 _ACEOF
48198 rm -f conftest.$ac_objext conftest$ac_exeext
48199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48200 (eval $ac_link) 2>conftest.er1
48201 ac_status=$?
48202 grep -v '^ *+' conftest.er1 >conftest.err
48203 rm -f conftest.er1
48204 cat conftest.err >&5
48205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48206 (exit $ac_status); } &&
48207 { ac_try='test -z "$ac_c_werror_flag"
48208 || test ! -s conftest.err'
48209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48210 (eval $ac_try) 2>&5
48211 ac_status=$?
48212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48213 (exit $ac_status); }; } &&
48214 { ac_try='test -s conftest$ac_exeext'
48215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48216 (eval $ac_try) 2>&5
48217 ac_status=$?
48218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48219 (exit $ac_status); }; }; then
48220 eval "$as_ac_var=yes"
48221 else
48222 echo "$as_me: failed program was:" >&5
48223 sed 's/^/| /' conftest.$ac_ext >&5
48225 eval "$as_ac_var=no"
48227 rm -f conftest.err conftest.$ac_objext \
48228 conftest$ac_exeext conftest.$ac_ext
48230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48232 if test `eval echo '${'$as_ac_var'}'` = yes; then
48233 cat >>confdefs.h <<_ACEOF
48234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48235 _ACEOF
48238 done
48240 else
48242 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48243 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48244 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48245 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48246 echo $ECHO_N "(cached) $ECHO_C" >&6
48247 else
48251 ac_ext=cc
48252 ac_cpp='$CXXCPP $CPPFLAGS'
48253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257 cat >conftest.$ac_ext <<_ACEOF
48258 /* confdefs.h. */
48259 _ACEOF
48260 cat confdefs.h >>conftest.$ac_ext
48261 cat >>conftest.$ac_ext <<_ACEOF
48262 /* end confdefs.h. */
48263 #include <math.h>
48264 #ifdef HAVE_IEEEFP_H
48265 #include <ieeefp.h>
48266 #endif
48269 main ()
48271 _isinff(0);
48273 return 0;
48275 _ACEOF
48276 rm -f conftest.$ac_objext
48277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48278 (eval $ac_compile) 2>conftest.er1
48279 ac_status=$?
48280 grep -v '^ *+' conftest.er1 >conftest.err
48281 rm -f conftest.er1
48282 cat conftest.err >&5
48283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284 (exit $ac_status); } &&
48285 { ac_try='test -z "$ac_cxx_werror_flag"
48286 || test ! -s conftest.err'
48287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48288 (eval $ac_try) 2>&5
48289 ac_status=$?
48290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291 (exit $ac_status); }; } &&
48292 { ac_try='test -s conftest.$ac_objext'
48293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48294 (eval $ac_try) 2>&5
48295 ac_status=$?
48296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297 (exit $ac_status); }; }; then
48298 glibcxx_cv_func__isinff_use=yes
48299 else
48300 echo "$as_me: failed program was:" >&5
48301 sed 's/^/| /' conftest.$ac_ext >&5
48303 glibcxx_cv_func__isinff_use=no
48305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48306 ac_ext=c
48307 ac_cpp='$CPP $CPPFLAGS'
48308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48317 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48319 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48321 for ac_func in _isinff
48323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 echo "$as_me:$LINENO: checking for $ac_func" >&5
48325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48326 if eval "test \"\${$as_ac_var+set}\" = set"; then
48327 echo $ECHO_N "(cached) $ECHO_C" >&6
48328 else
48329 if test x$gcc_no_link = xyes; then
48330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48332 { (exit 1); exit 1; }; }
48334 cat >conftest.$ac_ext <<_ACEOF
48335 /* confdefs.h. */
48336 _ACEOF
48337 cat confdefs.h >>conftest.$ac_ext
48338 cat >>conftest.$ac_ext <<_ACEOF
48339 /* end confdefs.h. */
48340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48342 #define $ac_func innocuous_$ac_func
48344 /* System header to define __stub macros and hopefully few prototypes,
48345 which can conflict with char $ac_func (); below.
48346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48347 <limits.h> exists even on freestanding compilers. */
48349 #ifdef __STDC__
48350 # include <limits.h>
48351 #else
48352 # include <assert.h>
48353 #endif
48355 #undef $ac_func
48357 /* Override any gcc2 internal prototype to avoid an error. */
48358 #ifdef __cplusplus
48359 extern "C"
48361 #endif
48362 /* We use char because int might match the return type of a gcc2
48363 builtin and then its argument prototype would still apply. */
48364 char $ac_func ();
48365 /* The GNU C library defines this for functions which it implements
48366 to always fail with ENOSYS. Some functions are actually named
48367 something starting with __ and the normal name is an alias. */
48368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48369 choke me
48370 #else
48371 char (*f) () = $ac_func;
48372 #endif
48373 #ifdef __cplusplus
48375 #endif
48378 main ()
48380 return f != $ac_func;
48382 return 0;
48384 _ACEOF
48385 rm -f conftest.$ac_objext conftest$ac_exeext
48386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48387 (eval $ac_link) 2>conftest.er1
48388 ac_status=$?
48389 grep -v '^ *+' conftest.er1 >conftest.err
48390 rm -f conftest.er1
48391 cat conftest.err >&5
48392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48393 (exit $ac_status); } &&
48394 { ac_try='test -z "$ac_c_werror_flag"
48395 || test ! -s conftest.err'
48396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48397 (eval $ac_try) 2>&5
48398 ac_status=$?
48399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48400 (exit $ac_status); }; } &&
48401 { ac_try='test -s conftest$ac_exeext'
48402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48403 (eval $ac_try) 2>&5
48404 ac_status=$?
48405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48406 (exit $ac_status); }; }; then
48407 eval "$as_ac_var=yes"
48408 else
48409 echo "$as_me: failed program was:" >&5
48410 sed 's/^/| /' conftest.$ac_ext >&5
48412 eval "$as_ac_var=no"
48414 rm -f conftest.err conftest.$ac_objext \
48415 conftest$ac_exeext conftest.$ac_ext
48417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48419 if test `eval echo '${'$as_ac_var'}'` = yes; then
48420 cat >>confdefs.h <<_ACEOF
48421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48422 _ACEOF
48425 done
48435 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48436 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48437 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48438 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48439 echo $ECHO_N "(cached) $ECHO_C" >&6
48440 else
48444 ac_ext=cc
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48450 cat >conftest.$ac_ext <<_ACEOF
48451 /* confdefs.h. */
48452 _ACEOF
48453 cat confdefs.h >>conftest.$ac_ext
48454 cat >>conftest.$ac_ext <<_ACEOF
48455 /* end confdefs.h. */
48456 #include <math.h>
48458 main ()
48460 atan2f(0, 0);
48462 return 0;
48464 _ACEOF
48465 rm -f conftest.$ac_objext
48466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48467 (eval $ac_compile) 2>conftest.er1
48468 ac_status=$?
48469 grep -v '^ *+' conftest.er1 >conftest.err
48470 rm -f conftest.er1
48471 cat conftest.err >&5
48472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48473 (exit $ac_status); } &&
48474 { ac_try='test -z "$ac_cxx_werror_flag"
48475 || test ! -s conftest.err'
48476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48477 (eval $ac_try) 2>&5
48478 ac_status=$?
48479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480 (exit $ac_status); }; } &&
48481 { ac_try='test -s conftest.$ac_objext'
48482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48483 (eval $ac_try) 2>&5
48484 ac_status=$?
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; }; then
48487 glibcxx_cv_func_atan2f_use=yes
48488 else
48489 echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48492 glibcxx_cv_func_atan2f_use=no
48494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48495 ac_ext=c
48496 ac_cpp='$CPP $CPPFLAGS'
48497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48506 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48508 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48510 for ac_func in atan2f
48512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48513 echo "$as_me:$LINENO: checking for $ac_func" >&5
48514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48515 if eval "test \"\${$as_ac_var+set}\" = set"; then
48516 echo $ECHO_N "(cached) $ECHO_C" >&6
48517 else
48518 if test x$gcc_no_link = xyes; then
48519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48521 { (exit 1); exit 1; }; }
48523 cat >conftest.$ac_ext <<_ACEOF
48524 /* confdefs.h. */
48525 _ACEOF
48526 cat confdefs.h >>conftest.$ac_ext
48527 cat >>conftest.$ac_ext <<_ACEOF
48528 /* end confdefs.h. */
48529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48531 #define $ac_func innocuous_$ac_func
48533 /* System header to define __stub macros and hopefully few prototypes,
48534 which can conflict with char $ac_func (); below.
48535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48536 <limits.h> exists even on freestanding compilers. */
48538 #ifdef __STDC__
48539 # include <limits.h>
48540 #else
48541 # include <assert.h>
48542 #endif
48544 #undef $ac_func
48546 /* Override any gcc2 internal prototype to avoid an error. */
48547 #ifdef __cplusplus
48548 extern "C"
48550 #endif
48551 /* We use char because int might match the return type of a gcc2
48552 builtin and then its argument prototype would still apply. */
48553 char $ac_func ();
48554 /* The GNU C library defines this for functions which it implements
48555 to always fail with ENOSYS. Some functions are actually named
48556 something starting with __ and the normal name is an alias. */
48557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48558 choke me
48559 #else
48560 char (*f) () = $ac_func;
48561 #endif
48562 #ifdef __cplusplus
48564 #endif
48567 main ()
48569 return f != $ac_func;
48571 return 0;
48573 _ACEOF
48574 rm -f conftest.$ac_objext conftest$ac_exeext
48575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48576 (eval $ac_link) 2>conftest.er1
48577 ac_status=$?
48578 grep -v '^ *+' conftest.er1 >conftest.err
48579 rm -f conftest.er1
48580 cat conftest.err >&5
48581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48582 (exit $ac_status); } &&
48583 { ac_try='test -z "$ac_c_werror_flag"
48584 || test ! -s conftest.err'
48585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48586 (eval $ac_try) 2>&5
48587 ac_status=$?
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); }; } &&
48590 { ac_try='test -s conftest$ac_exeext'
48591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48592 (eval $ac_try) 2>&5
48593 ac_status=$?
48594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595 (exit $ac_status); }; }; then
48596 eval "$as_ac_var=yes"
48597 else
48598 echo "$as_me: failed program was:" >&5
48599 sed 's/^/| /' conftest.$ac_ext >&5
48601 eval "$as_ac_var=no"
48603 rm -f conftest.err conftest.$ac_objext \
48604 conftest$ac_exeext conftest.$ac_ext
48606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48608 if test `eval echo '${'$as_ac_var'}'` = yes; then
48609 cat >>confdefs.h <<_ACEOF
48610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48611 _ACEOF
48614 done
48616 else
48618 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48619 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48620 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48621 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48622 echo $ECHO_N "(cached) $ECHO_C" >&6
48623 else
48627 ac_ext=cc
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat >conftest.$ac_ext <<_ACEOF
48634 /* confdefs.h. */
48635 _ACEOF
48636 cat confdefs.h >>conftest.$ac_ext
48637 cat >>conftest.$ac_ext <<_ACEOF
48638 /* end confdefs.h. */
48639 #include <math.h>
48641 main ()
48643 _atan2f(0, 0);
48645 return 0;
48647 _ACEOF
48648 rm -f conftest.$ac_objext
48649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48650 (eval $ac_compile) 2>conftest.er1
48651 ac_status=$?
48652 grep -v '^ *+' conftest.er1 >conftest.err
48653 rm -f conftest.er1
48654 cat conftest.err >&5
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); } &&
48657 { ac_try='test -z "$ac_cxx_werror_flag"
48658 || test ! -s conftest.err'
48659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48660 (eval $ac_try) 2>&5
48661 ac_status=$?
48662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48663 (exit $ac_status); }; } &&
48664 { ac_try='test -s conftest.$ac_objext'
48665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48666 (eval $ac_try) 2>&5
48667 ac_status=$?
48668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669 (exit $ac_status); }; }; then
48670 glibcxx_cv_func__atan2f_use=yes
48671 else
48672 echo "$as_me: failed program was:" >&5
48673 sed 's/^/| /' conftest.$ac_ext >&5
48675 glibcxx_cv_func__atan2f_use=no
48677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48678 ac_ext=c
48679 ac_cpp='$CPP $CPPFLAGS'
48680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48689 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48691 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48693 for ac_func in _atan2f
48695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48696 echo "$as_me:$LINENO: checking for $ac_func" >&5
48697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48698 if eval "test \"\${$as_ac_var+set}\" = set"; then
48699 echo $ECHO_N "(cached) $ECHO_C" >&6
48700 else
48701 if test x$gcc_no_link = xyes; then
48702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48704 { (exit 1); exit 1; }; }
48706 cat >conftest.$ac_ext <<_ACEOF
48707 /* confdefs.h. */
48708 _ACEOF
48709 cat confdefs.h >>conftest.$ac_ext
48710 cat >>conftest.$ac_ext <<_ACEOF
48711 /* end confdefs.h. */
48712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48714 #define $ac_func innocuous_$ac_func
48716 /* System header to define __stub macros and hopefully few prototypes,
48717 which can conflict with char $ac_func (); below.
48718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48719 <limits.h> exists even on freestanding compilers. */
48721 #ifdef __STDC__
48722 # include <limits.h>
48723 #else
48724 # include <assert.h>
48725 #endif
48727 #undef $ac_func
48729 /* Override any gcc2 internal prototype to avoid an error. */
48730 #ifdef __cplusplus
48731 extern "C"
48733 #endif
48734 /* We use char because int might match the return type of a gcc2
48735 builtin and then its argument prototype would still apply. */
48736 char $ac_func ();
48737 /* The GNU C library defines this for functions which it implements
48738 to always fail with ENOSYS. Some functions are actually named
48739 something starting with __ and the normal name is an alias. */
48740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48741 choke me
48742 #else
48743 char (*f) () = $ac_func;
48744 #endif
48745 #ifdef __cplusplus
48747 #endif
48750 main ()
48752 return f != $ac_func;
48754 return 0;
48756 _ACEOF
48757 rm -f conftest.$ac_objext conftest$ac_exeext
48758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48759 (eval $ac_link) 2>conftest.er1
48760 ac_status=$?
48761 grep -v '^ *+' conftest.er1 >conftest.err
48762 rm -f conftest.er1
48763 cat conftest.err >&5
48764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48765 (exit $ac_status); } &&
48766 { ac_try='test -z "$ac_c_werror_flag"
48767 || test ! -s conftest.err'
48768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48769 (eval $ac_try) 2>&5
48770 ac_status=$?
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); }; } &&
48773 { ac_try='test -s conftest$ac_exeext'
48774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48775 (eval $ac_try) 2>&5
48776 ac_status=$?
48777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48778 (exit $ac_status); }; }; then
48779 eval "$as_ac_var=yes"
48780 else
48781 echo "$as_me: failed program was:" >&5
48782 sed 's/^/| /' conftest.$ac_ext >&5
48784 eval "$as_ac_var=no"
48786 rm -f conftest.err conftest.$ac_objext \
48787 conftest$ac_exeext conftest.$ac_ext
48789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48791 if test `eval echo '${'$as_ac_var'}'` = yes; then
48792 cat >>confdefs.h <<_ACEOF
48793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48794 _ACEOF
48797 done
48807 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48808 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48809 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48810 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48811 echo $ECHO_N "(cached) $ECHO_C" >&6
48812 else
48816 ac_ext=cc
48817 ac_cpp='$CXXCPP $CPPFLAGS'
48818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48822 cat >conftest.$ac_ext <<_ACEOF
48823 /* confdefs.h. */
48824 _ACEOF
48825 cat confdefs.h >>conftest.$ac_ext
48826 cat >>conftest.$ac_ext <<_ACEOF
48827 /* end confdefs.h. */
48828 #include <math.h>
48829 #ifdef HAVE_IEEEFP_H
48830 #include <ieeefp.h>
48831 #endif
48834 main ()
48836 fabsf(0);
48838 return 0;
48840 _ACEOF
48841 rm -f conftest.$ac_objext
48842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48843 (eval $ac_compile) 2>conftest.er1
48844 ac_status=$?
48845 grep -v '^ *+' conftest.er1 >conftest.err
48846 rm -f conftest.er1
48847 cat conftest.err >&5
48848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48849 (exit $ac_status); } &&
48850 { ac_try='test -z "$ac_cxx_werror_flag"
48851 || test ! -s conftest.err'
48852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48853 (eval $ac_try) 2>&5
48854 ac_status=$?
48855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856 (exit $ac_status); }; } &&
48857 { ac_try='test -s conftest.$ac_objext'
48858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48859 (eval $ac_try) 2>&5
48860 ac_status=$?
48861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862 (exit $ac_status); }; }; then
48863 glibcxx_cv_func_fabsf_use=yes
48864 else
48865 echo "$as_me: failed program was:" >&5
48866 sed 's/^/| /' conftest.$ac_ext >&5
48868 glibcxx_cv_func_fabsf_use=no
48870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48871 ac_ext=c
48872 ac_cpp='$CPP $CPPFLAGS'
48873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48882 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48884 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48886 for ac_func in fabsf
48888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48889 echo "$as_me:$LINENO: checking for $ac_func" >&5
48890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48891 if eval "test \"\${$as_ac_var+set}\" = set"; then
48892 echo $ECHO_N "(cached) $ECHO_C" >&6
48893 else
48894 if test x$gcc_no_link = xyes; then
48895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48897 { (exit 1); exit 1; }; }
48899 cat >conftest.$ac_ext <<_ACEOF
48900 /* confdefs.h. */
48901 _ACEOF
48902 cat confdefs.h >>conftest.$ac_ext
48903 cat >>conftest.$ac_ext <<_ACEOF
48904 /* end confdefs.h. */
48905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48907 #define $ac_func innocuous_$ac_func
48909 /* System header to define __stub macros and hopefully few prototypes,
48910 which can conflict with char $ac_func (); below.
48911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48912 <limits.h> exists even on freestanding compilers. */
48914 #ifdef __STDC__
48915 # include <limits.h>
48916 #else
48917 # include <assert.h>
48918 #endif
48920 #undef $ac_func
48922 /* Override any gcc2 internal prototype to avoid an error. */
48923 #ifdef __cplusplus
48924 extern "C"
48926 #endif
48927 /* We use char because int might match the return type of a gcc2
48928 builtin and then its argument prototype would still apply. */
48929 char $ac_func ();
48930 /* The GNU C library defines this for functions which it implements
48931 to always fail with ENOSYS. Some functions are actually named
48932 something starting with __ and the normal name is an alias. */
48933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48934 choke me
48935 #else
48936 char (*f) () = $ac_func;
48937 #endif
48938 #ifdef __cplusplus
48940 #endif
48943 main ()
48945 return f != $ac_func;
48947 return 0;
48949 _ACEOF
48950 rm -f conftest.$ac_objext conftest$ac_exeext
48951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48952 (eval $ac_link) 2>conftest.er1
48953 ac_status=$?
48954 grep -v '^ *+' conftest.er1 >conftest.err
48955 rm -f conftest.er1
48956 cat conftest.err >&5
48957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48958 (exit $ac_status); } &&
48959 { ac_try='test -z "$ac_c_werror_flag"
48960 || test ! -s conftest.err'
48961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48962 (eval $ac_try) 2>&5
48963 ac_status=$?
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); }; } &&
48966 { ac_try='test -s conftest$ac_exeext'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; }; then
48972 eval "$as_ac_var=yes"
48973 else
48974 echo "$as_me: failed program was:" >&5
48975 sed 's/^/| /' conftest.$ac_ext >&5
48977 eval "$as_ac_var=no"
48979 rm -f conftest.err conftest.$ac_objext \
48980 conftest$ac_exeext conftest.$ac_ext
48982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48984 if test `eval echo '${'$as_ac_var'}'` = yes; then
48985 cat >>confdefs.h <<_ACEOF
48986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48987 _ACEOF
48990 done
48992 else
48994 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48995 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48996 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48997 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48998 echo $ECHO_N "(cached) $ECHO_C" >&6
48999 else
49003 ac_ext=cc
49004 ac_cpp='$CXXCPP $CPPFLAGS'
49005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49009 cat >conftest.$ac_ext <<_ACEOF
49010 /* confdefs.h. */
49011 _ACEOF
49012 cat confdefs.h >>conftest.$ac_ext
49013 cat >>conftest.$ac_ext <<_ACEOF
49014 /* end confdefs.h. */
49015 #include <math.h>
49016 #ifdef HAVE_IEEEFP_H
49017 #include <ieeefp.h>
49018 #endif
49021 main ()
49023 _fabsf(0);
49025 return 0;
49027 _ACEOF
49028 rm -f conftest.$ac_objext
49029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49030 (eval $ac_compile) 2>conftest.er1
49031 ac_status=$?
49032 grep -v '^ *+' conftest.er1 >conftest.err
49033 rm -f conftest.er1
49034 cat conftest.err >&5
49035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49036 (exit $ac_status); } &&
49037 { ac_try='test -z "$ac_cxx_werror_flag"
49038 || test ! -s conftest.err'
49039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49040 (eval $ac_try) 2>&5
49041 ac_status=$?
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); }; } &&
49044 { ac_try='test -s conftest.$ac_objext'
49045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49046 (eval $ac_try) 2>&5
49047 ac_status=$?
49048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049 (exit $ac_status); }; }; then
49050 glibcxx_cv_func__fabsf_use=yes
49051 else
49052 echo "$as_me: failed program was:" >&5
49053 sed 's/^/| /' conftest.$ac_ext >&5
49055 glibcxx_cv_func__fabsf_use=no
49057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49058 ac_ext=c
49059 ac_cpp='$CPP $CPPFLAGS'
49060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49069 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49071 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49073 for ac_func in _fabsf
49075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49076 echo "$as_me:$LINENO: checking for $ac_func" >&5
49077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49078 if eval "test \"\${$as_ac_var+set}\" = set"; then
49079 echo $ECHO_N "(cached) $ECHO_C" >&6
49080 else
49081 if test x$gcc_no_link = xyes; then
49082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49084 { (exit 1); exit 1; }; }
49086 cat >conftest.$ac_ext <<_ACEOF
49087 /* confdefs.h. */
49088 _ACEOF
49089 cat confdefs.h >>conftest.$ac_ext
49090 cat >>conftest.$ac_ext <<_ACEOF
49091 /* end confdefs.h. */
49092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49094 #define $ac_func innocuous_$ac_func
49096 /* System header to define __stub macros and hopefully few prototypes,
49097 which can conflict with char $ac_func (); below.
49098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49099 <limits.h> exists even on freestanding compilers. */
49101 #ifdef __STDC__
49102 # include <limits.h>
49103 #else
49104 # include <assert.h>
49105 #endif
49107 #undef $ac_func
49109 /* Override any gcc2 internal prototype to avoid an error. */
49110 #ifdef __cplusplus
49111 extern "C"
49113 #endif
49114 /* We use char because int might match the return type of a gcc2
49115 builtin and then its argument prototype would still apply. */
49116 char $ac_func ();
49117 /* The GNU C library defines this for functions which it implements
49118 to always fail with ENOSYS. Some functions are actually named
49119 something starting with __ and the normal name is an alias. */
49120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49121 choke me
49122 #else
49123 char (*f) () = $ac_func;
49124 #endif
49125 #ifdef __cplusplus
49127 #endif
49130 main ()
49132 return f != $ac_func;
49134 return 0;
49136 _ACEOF
49137 rm -f conftest.$ac_objext conftest$ac_exeext
49138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49139 (eval $ac_link) 2>conftest.er1
49140 ac_status=$?
49141 grep -v '^ *+' conftest.er1 >conftest.err
49142 rm -f conftest.er1
49143 cat conftest.err >&5
49144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145 (exit $ac_status); } &&
49146 { ac_try='test -z "$ac_c_werror_flag"
49147 || test ! -s conftest.err'
49148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49149 (eval $ac_try) 2>&5
49150 ac_status=$?
49151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152 (exit $ac_status); }; } &&
49153 { ac_try='test -s conftest$ac_exeext'
49154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49155 (eval $ac_try) 2>&5
49156 ac_status=$?
49157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49158 (exit $ac_status); }; }; then
49159 eval "$as_ac_var=yes"
49160 else
49161 echo "$as_me: failed program was:" >&5
49162 sed 's/^/| /' conftest.$ac_ext >&5
49164 eval "$as_ac_var=no"
49166 rm -f conftest.err conftest.$ac_objext \
49167 conftest$ac_exeext conftest.$ac_ext
49169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49171 if test `eval echo '${'$as_ac_var'}'` = yes; then
49172 cat >>confdefs.h <<_ACEOF
49173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49174 _ACEOF
49177 done
49187 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49188 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49189 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49190 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49191 echo $ECHO_N "(cached) $ECHO_C" >&6
49192 else
49196 ac_ext=cc
49197 ac_cpp='$CXXCPP $CPPFLAGS'
49198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49202 cat >conftest.$ac_ext <<_ACEOF
49203 /* confdefs.h. */
49204 _ACEOF
49205 cat confdefs.h >>conftest.$ac_ext
49206 cat >>conftest.$ac_ext <<_ACEOF
49207 /* end confdefs.h. */
49208 #include <math.h>
49210 main ()
49212 fmodf(0, 0);
49214 return 0;
49216 _ACEOF
49217 rm -f conftest.$ac_objext
49218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49219 (eval $ac_compile) 2>conftest.er1
49220 ac_status=$?
49221 grep -v '^ *+' conftest.er1 >conftest.err
49222 rm -f conftest.er1
49223 cat conftest.err >&5
49224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225 (exit $ac_status); } &&
49226 { ac_try='test -z "$ac_cxx_werror_flag"
49227 || test ! -s conftest.err'
49228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49229 (eval $ac_try) 2>&5
49230 ac_status=$?
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); }; } &&
49233 { ac_try='test -s conftest.$ac_objext'
49234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235 (eval $ac_try) 2>&5
49236 ac_status=$?
49237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238 (exit $ac_status); }; }; then
49239 glibcxx_cv_func_fmodf_use=yes
49240 else
49241 echo "$as_me: failed program was:" >&5
49242 sed 's/^/| /' conftest.$ac_ext >&5
49244 glibcxx_cv_func_fmodf_use=no
49246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49247 ac_ext=c
49248 ac_cpp='$CPP $CPPFLAGS'
49249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49258 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49260 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49262 for ac_func in fmodf
49264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49265 echo "$as_me:$LINENO: checking for $ac_func" >&5
49266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49267 if eval "test \"\${$as_ac_var+set}\" = set"; then
49268 echo $ECHO_N "(cached) $ECHO_C" >&6
49269 else
49270 if test x$gcc_no_link = xyes; then
49271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49273 { (exit 1); exit 1; }; }
49275 cat >conftest.$ac_ext <<_ACEOF
49276 /* confdefs.h. */
49277 _ACEOF
49278 cat confdefs.h >>conftest.$ac_ext
49279 cat >>conftest.$ac_ext <<_ACEOF
49280 /* end confdefs.h. */
49281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49283 #define $ac_func innocuous_$ac_func
49285 /* System header to define __stub macros and hopefully few prototypes,
49286 which can conflict with char $ac_func (); below.
49287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49288 <limits.h> exists even on freestanding compilers. */
49290 #ifdef __STDC__
49291 # include <limits.h>
49292 #else
49293 # include <assert.h>
49294 #endif
49296 #undef $ac_func
49298 /* Override any gcc2 internal prototype to avoid an error. */
49299 #ifdef __cplusplus
49300 extern "C"
49302 #endif
49303 /* We use char because int might match the return type of a gcc2
49304 builtin and then its argument prototype would still apply. */
49305 char $ac_func ();
49306 /* The GNU C library defines this for functions which it implements
49307 to always fail with ENOSYS. Some functions are actually named
49308 something starting with __ and the normal name is an alias. */
49309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49310 choke me
49311 #else
49312 char (*f) () = $ac_func;
49313 #endif
49314 #ifdef __cplusplus
49316 #endif
49319 main ()
49321 return f != $ac_func;
49323 return 0;
49325 _ACEOF
49326 rm -f conftest.$ac_objext conftest$ac_exeext
49327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49328 (eval $ac_link) 2>conftest.er1
49329 ac_status=$?
49330 grep -v '^ *+' conftest.er1 >conftest.err
49331 rm -f conftest.er1
49332 cat conftest.err >&5
49333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49334 (exit $ac_status); } &&
49335 { ac_try='test -z "$ac_c_werror_flag"
49336 || test ! -s conftest.err'
49337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49338 (eval $ac_try) 2>&5
49339 ac_status=$?
49340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49341 (exit $ac_status); }; } &&
49342 { ac_try='test -s conftest$ac_exeext'
49343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49344 (eval $ac_try) 2>&5
49345 ac_status=$?
49346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347 (exit $ac_status); }; }; then
49348 eval "$as_ac_var=yes"
49349 else
49350 echo "$as_me: failed program was:" >&5
49351 sed 's/^/| /' conftest.$ac_ext >&5
49353 eval "$as_ac_var=no"
49355 rm -f conftest.err conftest.$ac_objext \
49356 conftest$ac_exeext conftest.$ac_ext
49358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49360 if test `eval echo '${'$as_ac_var'}'` = yes; then
49361 cat >>confdefs.h <<_ACEOF
49362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49363 _ACEOF
49366 done
49368 else
49370 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49371 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49372 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49373 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49374 echo $ECHO_N "(cached) $ECHO_C" >&6
49375 else
49379 ac_ext=cc
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49385 cat >conftest.$ac_ext <<_ACEOF
49386 /* confdefs.h. */
49387 _ACEOF
49388 cat confdefs.h >>conftest.$ac_ext
49389 cat >>conftest.$ac_ext <<_ACEOF
49390 /* end confdefs.h. */
49391 #include <math.h>
49393 main ()
49395 _fmodf(0, 0);
49397 return 0;
49399 _ACEOF
49400 rm -f conftest.$ac_objext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49402 (eval $ac_compile) 2>conftest.er1
49403 ac_status=$?
49404 grep -v '^ *+' conftest.er1 >conftest.err
49405 rm -f conftest.er1
49406 cat conftest.err >&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } &&
49409 { ac_try='test -z "$ac_cxx_werror_flag"
49410 || test ! -s conftest.err'
49411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49412 (eval $ac_try) 2>&5
49413 ac_status=$?
49414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415 (exit $ac_status); }; } &&
49416 { ac_try='test -s conftest.$ac_objext'
49417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49418 (eval $ac_try) 2>&5
49419 ac_status=$?
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); }; }; then
49422 glibcxx_cv_func__fmodf_use=yes
49423 else
49424 echo "$as_me: failed program was:" >&5
49425 sed 's/^/| /' conftest.$ac_ext >&5
49427 glibcxx_cv_func__fmodf_use=no
49429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49430 ac_ext=c
49431 ac_cpp='$CPP $CPPFLAGS'
49432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49441 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49443 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49445 for ac_func in _fmodf
49447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49448 echo "$as_me:$LINENO: checking for $ac_func" >&5
49449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49450 if eval "test \"\${$as_ac_var+set}\" = set"; then
49451 echo $ECHO_N "(cached) $ECHO_C" >&6
49452 else
49453 if test x$gcc_no_link = xyes; then
49454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49456 { (exit 1); exit 1; }; }
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h. */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h. */
49464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49466 #define $ac_func innocuous_$ac_func
49468 /* System header to define __stub macros and hopefully few prototypes,
49469 which can conflict with char $ac_func (); below.
49470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49471 <limits.h> exists even on freestanding compilers. */
49473 #ifdef __STDC__
49474 # include <limits.h>
49475 #else
49476 # include <assert.h>
49477 #endif
49479 #undef $ac_func
49481 /* Override any gcc2 internal prototype to avoid an error. */
49482 #ifdef __cplusplus
49483 extern "C"
49485 #endif
49486 /* We use char because int might match the return type of a gcc2
49487 builtin and then its argument prototype would still apply. */
49488 char $ac_func ();
49489 /* The GNU C library defines this for functions which it implements
49490 to always fail with ENOSYS. Some functions are actually named
49491 something starting with __ and the normal name is an alias. */
49492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49493 choke me
49494 #else
49495 char (*f) () = $ac_func;
49496 #endif
49497 #ifdef __cplusplus
49499 #endif
49502 main ()
49504 return f != $ac_func;
49506 return 0;
49508 _ACEOF
49509 rm -f conftest.$ac_objext conftest$ac_exeext
49510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49511 (eval $ac_link) 2>conftest.er1
49512 ac_status=$?
49513 grep -v '^ *+' conftest.er1 >conftest.err
49514 rm -f conftest.er1
49515 cat conftest.err >&5
49516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517 (exit $ac_status); } &&
49518 { ac_try='test -z "$ac_c_werror_flag"
49519 || test ! -s conftest.err'
49520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49521 (eval $ac_try) 2>&5
49522 ac_status=$?
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); }; } &&
49525 { ac_try='test -s conftest$ac_exeext'
49526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49527 (eval $ac_try) 2>&5
49528 ac_status=$?
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); }; }; then
49531 eval "$as_ac_var=yes"
49532 else
49533 echo "$as_me: failed program was:" >&5
49534 sed 's/^/| /' conftest.$ac_ext >&5
49536 eval "$as_ac_var=no"
49538 rm -f conftest.err conftest.$ac_objext \
49539 conftest$ac_exeext conftest.$ac_ext
49541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49543 if test `eval echo '${'$as_ac_var'}'` = yes; then
49544 cat >>confdefs.h <<_ACEOF
49545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49549 done
49559 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49560 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49561 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49562 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49563 echo $ECHO_N "(cached) $ECHO_C" >&6
49564 else
49568 ac_ext=cc
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49574 cat >conftest.$ac_ext <<_ACEOF
49575 /* confdefs.h. */
49576 _ACEOF
49577 cat confdefs.h >>conftest.$ac_ext
49578 cat >>conftest.$ac_ext <<_ACEOF
49579 /* end confdefs.h. */
49580 #include <math.h>
49582 main ()
49584 frexpf(0, 0);
49586 return 0;
49588 _ACEOF
49589 rm -f conftest.$ac_objext
49590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49591 (eval $ac_compile) 2>conftest.er1
49592 ac_status=$?
49593 grep -v '^ *+' conftest.er1 >conftest.err
49594 rm -f conftest.er1
49595 cat conftest.err >&5
49596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49597 (exit $ac_status); } &&
49598 { ac_try='test -z "$ac_cxx_werror_flag"
49599 || test ! -s conftest.err'
49600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49601 (eval $ac_try) 2>&5
49602 ac_status=$?
49603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49604 (exit $ac_status); }; } &&
49605 { ac_try='test -s conftest.$ac_objext'
49606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49607 (eval $ac_try) 2>&5
49608 ac_status=$?
49609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49610 (exit $ac_status); }; }; then
49611 glibcxx_cv_func_frexpf_use=yes
49612 else
49613 echo "$as_me: failed program was:" >&5
49614 sed 's/^/| /' conftest.$ac_ext >&5
49616 glibcxx_cv_func_frexpf_use=no
49618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49619 ac_ext=c
49620 ac_cpp='$CPP $CPPFLAGS'
49621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49630 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49632 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49634 for ac_func in frexpf
49636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49637 echo "$as_me:$LINENO: checking for $ac_func" >&5
49638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49639 if eval "test \"\${$as_ac_var+set}\" = set"; then
49640 echo $ECHO_N "(cached) $ECHO_C" >&6
49641 else
49642 if test x$gcc_no_link = xyes; then
49643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49645 { (exit 1); exit 1; }; }
49647 cat >conftest.$ac_ext <<_ACEOF
49648 /* confdefs.h. */
49649 _ACEOF
49650 cat confdefs.h >>conftest.$ac_ext
49651 cat >>conftest.$ac_ext <<_ACEOF
49652 /* end confdefs.h. */
49653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49655 #define $ac_func innocuous_$ac_func
49657 /* System header to define __stub macros and hopefully few prototypes,
49658 which can conflict with char $ac_func (); below.
49659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49660 <limits.h> exists even on freestanding compilers. */
49662 #ifdef __STDC__
49663 # include <limits.h>
49664 #else
49665 # include <assert.h>
49666 #endif
49668 #undef $ac_func
49670 /* Override any gcc2 internal prototype to avoid an error. */
49671 #ifdef __cplusplus
49672 extern "C"
49674 #endif
49675 /* We use char because int might match the return type of a gcc2
49676 builtin and then its argument prototype would still apply. */
49677 char $ac_func ();
49678 /* The GNU C library defines this for functions which it implements
49679 to always fail with ENOSYS. Some functions are actually named
49680 something starting with __ and the normal name is an alias. */
49681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49682 choke me
49683 #else
49684 char (*f) () = $ac_func;
49685 #endif
49686 #ifdef __cplusplus
49688 #endif
49691 main ()
49693 return f != $ac_func;
49695 return 0;
49697 _ACEOF
49698 rm -f conftest.$ac_objext conftest$ac_exeext
49699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49700 (eval $ac_link) 2>conftest.er1
49701 ac_status=$?
49702 grep -v '^ *+' conftest.er1 >conftest.err
49703 rm -f conftest.er1
49704 cat conftest.err >&5
49705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706 (exit $ac_status); } &&
49707 { ac_try='test -z "$ac_c_werror_flag"
49708 || test ! -s conftest.err'
49709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49710 (eval $ac_try) 2>&5
49711 ac_status=$?
49712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713 (exit $ac_status); }; } &&
49714 { ac_try='test -s conftest$ac_exeext'
49715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49716 (eval $ac_try) 2>&5
49717 ac_status=$?
49718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49719 (exit $ac_status); }; }; then
49720 eval "$as_ac_var=yes"
49721 else
49722 echo "$as_me: failed program was:" >&5
49723 sed 's/^/| /' conftest.$ac_ext >&5
49725 eval "$as_ac_var=no"
49727 rm -f conftest.err conftest.$ac_objext \
49728 conftest$ac_exeext conftest.$ac_ext
49730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49732 if test `eval echo '${'$as_ac_var'}'` = yes; then
49733 cat >>confdefs.h <<_ACEOF
49734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49735 _ACEOF
49738 done
49740 else
49742 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49743 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49744 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49745 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49746 echo $ECHO_N "(cached) $ECHO_C" >&6
49747 else
49751 ac_ext=cc
49752 ac_cpp='$CXXCPP $CPPFLAGS'
49753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49757 cat >conftest.$ac_ext <<_ACEOF
49758 /* confdefs.h. */
49759 _ACEOF
49760 cat confdefs.h >>conftest.$ac_ext
49761 cat >>conftest.$ac_ext <<_ACEOF
49762 /* end confdefs.h. */
49763 #include <math.h>
49765 main ()
49767 _frexpf(0, 0);
49769 return 0;
49771 _ACEOF
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774 (eval $ac_compile) 2>conftest.er1
49775 ac_status=$?
49776 grep -v '^ *+' conftest.er1 >conftest.err
49777 rm -f conftest.er1
49778 cat conftest.err >&5
49779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780 (exit $ac_status); } &&
49781 { ac_try='test -z "$ac_cxx_werror_flag"
49782 || test ! -s conftest.err'
49783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49784 (eval $ac_try) 2>&5
49785 ac_status=$?
49786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787 (exit $ac_status); }; } &&
49788 { ac_try='test -s conftest.$ac_objext'
49789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49790 (eval $ac_try) 2>&5
49791 ac_status=$?
49792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49793 (exit $ac_status); }; }; then
49794 glibcxx_cv_func__frexpf_use=yes
49795 else
49796 echo "$as_me: failed program was:" >&5
49797 sed 's/^/| /' conftest.$ac_ext >&5
49799 glibcxx_cv_func__frexpf_use=no
49801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49802 ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49813 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49815 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49817 for ac_func in _frexpf
49819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49820 echo "$as_me:$LINENO: checking for $ac_func" >&5
49821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49822 if eval "test \"\${$as_ac_var+set}\" = set"; then
49823 echo $ECHO_N "(cached) $ECHO_C" >&6
49824 else
49825 if test x$gcc_no_link = xyes; then
49826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49828 { (exit 1); exit 1; }; }
49830 cat >conftest.$ac_ext <<_ACEOF
49831 /* confdefs.h. */
49832 _ACEOF
49833 cat confdefs.h >>conftest.$ac_ext
49834 cat >>conftest.$ac_ext <<_ACEOF
49835 /* end confdefs.h. */
49836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49838 #define $ac_func innocuous_$ac_func
49840 /* System header to define __stub macros and hopefully few prototypes,
49841 which can conflict with char $ac_func (); below.
49842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49843 <limits.h> exists even on freestanding compilers. */
49845 #ifdef __STDC__
49846 # include <limits.h>
49847 #else
49848 # include <assert.h>
49849 #endif
49851 #undef $ac_func
49853 /* Override any gcc2 internal prototype to avoid an error. */
49854 #ifdef __cplusplus
49855 extern "C"
49857 #endif
49858 /* We use char because int might match the return type of a gcc2
49859 builtin and then its argument prototype would still apply. */
49860 char $ac_func ();
49861 /* The GNU C library defines this for functions which it implements
49862 to always fail with ENOSYS. Some functions are actually named
49863 something starting with __ and the normal name is an alias. */
49864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49865 choke me
49866 #else
49867 char (*f) () = $ac_func;
49868 #endif
49869 #ifdef __cplusplus
49871 #endif
49874 main ()
49876 return f != $ac_func;
49878 return 0;
49880 _ACEOF
49881 rm -f conftest.$ac_objext conftest$ac_exeext
49882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49883 (eval $ac_link) 2>conftest.er1
49884 ac_status=$?
49885 grep -v '^ *+' conftest.er1 >conftest.err
49886 rm -f conftest.er1
49887 cat conftest.err >&5
49888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889 (exit $ac_status); } &&
49890 { ac_try='test -z "$ac_c_werror_flag"
49891 || test ! -s conftest.err'
49892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49893 (eval $ac_try) 2>&5
49894 ac_status=$?
49895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49896 (exit $ac_status); }; } &&
49897 { ac_try='test -s conftest$ac_exeext'
49898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49899 (eval $ac_try) 2>&5
49900 ac_status=$?
49901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902 (exit $ac_status); }; }; then
49903 eval "$as_ac_var=yes"
49904 else
49905 echo "$as_me: failed program was:" >&5
49906 sed 's/^/| /' conftest.$ac_ext >&5
49908 eval "$as_ac_var=no"
49910 rm -f conftest.err conftest.$ac_objext \
49911 conftest$ac_exeext conftest.$ac_ext
49913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49915 if test `eval echo '${'$as_ac_var'}'` = yes; then
49916 cat >>confdefs.h <<_ACEOF
49917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49918 _ACEOF
49921 done
49931 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49932 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49933 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49934 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49935 echo $ECHO_N "(cached) $ECHO_C" >&6
49936 else
49940 ac_ext=cc
49941 ac_cpp='$CXXCPP $CPPFLAGS'
49942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49946 cat >conftest.$ac_ext <<_ACEOF
49947 /* confdefs.h. */
49948 _ACEOF
49949 cat confdefs.h >>conftest.$ac_ext
49950 cat >>conftest.$ac_ext <<_ACEOF
49951 /* end confdefs.h. */
49952 #include <math.h>
49954 main ()
49956 hypotf(0, 0);
49958 return 0;
49960 _ACEOF
49961 rm -f conftest.$ac_objext
49962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49963 (eval $ac_compile) 2>conftest.er1
49964 ac_status=$?
49965 grep -v '^ *+' conftest.er1 >conftest.err
49966 rm -f conftest.er1
49967 cat conftest.err >&5
49968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49969 (exit $ac_status); } &&
49970 { ac_try='test -z "$ac_cxx_werror_flag"
49971 || test ! -s conftest.err'
49972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49973 (eval $ac_try) 2>&5
49974 ac_status=$?
49975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49976 (exit $ac_status); }; } &&
49977 { ac_try='test -s conftest.$ac_objext'
49978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49979 (eval $ac_try) 2>&5
49980 ac_status=$?
49981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49982 (exit $ac_status); }; }; then
49983 glibcxx_cv_func_hypotf_use=yes
49984 else
49985 echo "$as_me: failed program was:" >&5
49986 sed 's/^/| /' conftest.$ac_ext >&5
49988 glibcxx_cv_func_hypotf_use=no
49990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49991 ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50002 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50004 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50006 for ac_func in hypotf
50008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50009 echo "$as_me:$LINENO: checking for $ac_func" >&5
50010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50011 if eval "test \"\${$as_ac_var+set}\" = set"; then
50012 echo $ECHO_N "(cached) $ECHO_C" >&6
50013 else
50014 if test x$gcc_no_link = xyes; then
50015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50017 { (exit 1); exit 1; }; }
50019 cat >conftest.$ac_ext <<_ACEOF
50020 /* confdefs.h. */
50021 _ACEOF
50022 cat confdefs.h >>conftest.$ac_ext
50023 cat >>conftest.$ac_ext <<_ACEOF
50024 /* end confdefs.h. */
50025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50027 #define $ac_func innocuous_$ac_func
50029 /* System header to define __stub macros and hopefully few prototypes,
50030 which can conflict with char $ac_func (); below.
50031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50032 <limits.h> exists even on freestanding compilers. */
50034 #ifdef __STDC__
50035 # include <limits.h>
50036 #else
50037 # include <assert.h>
50038 #endif
50040 #undef $ac_func
50042 /* Override any gcc2 internal prototype to avoid an error. */
50043 #ifdef __cplusplus
50044 extern "C"
50046 #endif
50047 /* We use char because int might match the return type of a gcc2
50048 builtin and then its argument prototype would still apply. */
50049 char $ac_func ();
50050 /* The GNU C library defines this for functions which it implements
50051 to always fail with ENOSYS. Some functions are actually named
50052 something starting with __ and the normal name is an alias. */
50053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50054 choke me
50055 #else
50056 char (*f) () = $ac_func;
50057 #endif
50058 #ifdef __cplusplus
50060 #endif
50063 main ()
50065 return f != $ac_func;
50067 return 0;
50069 _ACEOF
50070 rm -f conftest.$ac_objext conftest$ac_exeext
50071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50072 (eval $ac_link) 2>conftest.er1
50073 ac_status=$?
50074 grep -v '^ *+' conftest.er1 >conftest.err
50075 rm -f conftest.er1
50076 cat conftest.err >&5
50077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50078 (exit $ac_status); } &&
50079 { ac_try='test -z "$ac_c_werror_flag"
50080 || test ! -s conftest.err'
50081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50082 (eval $ac_try) 2>&5
50083 ac_status=$?
50084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50085 (exit $ac_status); }; } &&
50086 { ac_try='test -s conftest$ac_exeext'
50087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50088 (eval $ac_try) 2>&5
50089 ac_status=$?
50090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50091 (exit $ac_status); }; }; then
50092 eval "$as_ac_var=yes"
50093 else
50094 echo "$as_me: failed program was:" >&5
50095 sed 's/^/| /' conftest.$ac_ext >&5
50097 eval "$as_ac_var=no"
50099 rm -f conftest.err conftest.$ac_objext \
50100 conftest$ac_exeext conftest.$ac_ext
50102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50104 if test `eval echo '${'$as_ac_var'}'` = yes; then
50105 cat >>confdefs.h <<_ACEOF
50106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50107 _ACEOF
50110 done
50112 else
50114 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50115 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50117 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50118 echo $ECHO_N "(cached) $ECHO_C" >&6
50119 else
50123 ac_ext=cc
50124 ac_cpp='$CXXCPP $CPPFLAGS'
50125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50129 cat >conftest.$ac_ext <<_ACEOF
50130 /* confdefs.h. */
50131 _ACEOF
50132 cat confdefs.h >>conftest.$ac_ext
50133 cat >>conftest.$ac_ext <<_ACEOF
50134 /* end confdefs.h. */
50135 #include <math.h>
50137 main ()
50139 _hypotf(0, 0);
50141 return 0;
50143 _ACEOF
50144 rm -f conftest.$ac_objext
50145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50146 (eval $ac_compile) 2>conftest.er1
50147 ac_status=$?
50148 grep -v '^ *+' conftest.er1 >conftest.err
50149 rm -f conftest.er1
50150 cat conftest.err >&5
50151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152 (exit $ac_status); } &&
50153 { ac_try='test -z "$ac_cxx_werror_flag"
50154 || test ! -s conftest.err'
50155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50156 (eval $ac_try) 2>&5
50157 ac_status=$?
50158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159 (exit $ac_status); }; } &&
50160 { ac_try='test -s conftest.$ac_objext'
50161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50162 (eval $ac_try) 2>&5
50163 ac_status=$?
50164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165 (exit $ac_status); }; }; then
50166 glibcxx_cv_func__hypotf_use=yes
50167 else
50168 echo "$as_me: failed program was:" >&5
50169 sed 's/^/| /' conftest.$ac_ext >&5
50171 glibcxx_cv_func__hypotf_use=no
50173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50174 ac_ext=c
50175 ac_cpp='$CPP $CPPFLAGS'
50176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50185 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50187 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50189 for ac_func in _hypotf
50191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50192 echo "$as_me:$LINENO: checking for $ac_func" >&5
50193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50194 if eval "test \"\${$as_ac_var+set}\" = set"; then
50195 echo $ECHO_N "(cached) $ECHO_C" >&6
50196 else
50197 if test x$gcc_no_link = xyes; then
50198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50200 { (exit 1); exit 1; }; }
50202 cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h. */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h. */
50208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50210 #define $ac_func innocuous_$ac_func
50212 /* System header to define __stub macros and hopefully few prototypes,
50213 which can conflict with char $ac_func (); below.
50214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50215 <limits.h> exists even on freestanding compilers. */
50217 #ifdef __STDC__
50218 # include <limits.h>
50219 #else
50220 # include <assert.h>
50221 #endif
50223 #undef $ac_func
50225 /* Override any gcc2 internal prototype to avoid an error. */
50226 #ifdef __cplusplus
50227 extern "C"
50229 #endif
50230 /* We use char because int might match the return type of a gcc2
50231 builtin and then its argument prototype would still apply. */
50232 char $ac_func ();
50233 /* The GNU C library defines this for functions which it implements
50234 to always fail with ENOSYS. Some functions are actually named
50235 something starting with __ and the normal name is an alias. */
50236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50237 choke me
50238 #else
50239 char (*f) () = $ac_func;
50240 #endif
50241 #ifdef __cplusplus
50243 #endif
50246 main ()
50248 return f != $ac_func;
50250 return 0;
50252 _ACEOF
50253 rm -f conftest.$ac_objext conftest$ac_exeext
50254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50255 (eval $ac_link) 2>conftest.er1
50256 ac_status=$?
50257 grep -v '^ *+' conftest.er1 >conftest.err
50258 rm -f conftest.er1
50259 cat conftest.err >&5
50260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50261 (exit $ac_status); } &&
50262 { ac_try='test -z "$ac_c_werror_flag"
50263 || test ! -s conftest.err'
50264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50265 (eval $ac_try) 2>&5
50266 ac_status=$?
50267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50268 (exit $ac_status); }; } &&
50269 { ac_try='test -s conftest$ac_exeext'
50270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50271 (eval $ac_try) 2>&5
50272 ac_status=$?
50273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50274 (exit $ac_status); }; }; then
50275 eval "$as_ac_var=yes"
50276 else
50277 echo "$as_me: failed program was:" >&5
50278 sed 's/^/| /' conftest.$ac_ext >&5
50280 eval "$as_ac_var=no"
50282 rm -f conftest.err conftest.$ac_objext \
50283 conftest$ac_exeext conftest.$ac_ext
50285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50287 if test `eval echo '${'$as_ac_var'}'` = yes; then
50288 cat >>confdefs.h <<_ACEOF
50289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50290 _ACEOF
50293 done
50303 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50304 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50305 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50306 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50307 echo $ECHO_N "(cached) $ECHO_C" >&6
50308 else
50312 ac_ext=cc
50313 ac_cpp='$CXXCPP $CPPFLAGS'
50314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50318 cat >conftest.$ac_ext <<_ACEOF
50319 /* confdefs.h. */
50320 _ACEOF
50321 cat confdefs.h >>conftest.$ac_ext
50322 cat >>conftest.$ac_ext <<_ACEOF
50323 /* end confdefs.h. */
50324 #include <math.h>
50326 main ()
50328 ldexpf(0, 0);
50330 return 0;
50332 _ACEOF
50333 rm -f conftest.$ac_objext
50334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50335 (eval $ac_compile) 2>conftest.er1
50336 ac_status=$?
50337 grep -v '^ *+' conftest.er1 >conftest.err
50338 rm -f conftest.er1
50339 cat conftest.err >&5
50340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341 (exit $ac_status); } &&
50342 { ac_try='test -z "$ac_cxx_werror_flag"
50343 || test ! -s conftest.err'
50344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50345 (eval $ac_try) 2>&5
50346 ac_status=$?
50347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348 (exit $ac_status); }; } &&
50349 { ac_try='test -s conftest.$ac_objext'
50350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50351 (eval $ac_try) 2>&5
50352 ac_status=$?
50353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354 (exit $ac_status); }; }; then
50355 glibcxx_cv_func_ldexpf_use=yes
50356 else
50357 echo "$as_me: failed program was:" >&5
50358 sed 's/^/| /' conftest.$ac_ext >&5
50360 glibcxx_cv_func_ldexpf_use=no
50362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50363 ac_ext=c
50364 ac_cpp='$CPP $CPPFLAGS'
50365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50374 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50376 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50378 for ac_func in ldexpf
50380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50381 echo "$as_me:$LINENO: checking for $ac_func" >&5
50382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50383 if eval "test \"\${$as_ac_var+set}\" = set"; then
50384 echo $ECHO_N "(cached) $ECHO_C" >&6
50385 else
50386 if test x$gcc_no_link = xyes; then
50387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50389 { (exit 1); exit 1; }; }
50391 cat >conftest.$ac_ext <<_ACEOF
50392 /* confdefs.h. */
50393 _ACEOF
50394 cat confdefs.h >>conftest.$ac_ext
50395 cat >>conftest.$ac_ext <<_ACEOF
50396 /* end confdefs.h. */
50397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50399 #define $ac_func innocuous_$ac_func
50401 /* System header to define __stub macros and hopefully few prototypes,
50402 which can conflict with char $ac_func (); below.
50403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50404 <limits.h> exists even on freestanding compilers. */
50406 #ifdef __STDC__
50407 # include <limits.h>
50408 #else
50409 # include <assert.h>
50410 #endif
50412 #undef $ac_func
50414 /* Override any gcc2 internal prototype to avoid an error. */
50415 #ifdef __cplusplus
50416 extern "C"
50418 #endif
50419 /* We use char because int might match the return type of a gcc2
50420 builtin and then its argument prototype would still apply. */
50421 char $ac_func ();
50422 /* The GNU C library defines this for functions which it implements
50423 to always fail with ENOSYS. Some functions are actually named
50424 something starting with __ and the normal name is an alias. */
50425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50426 choke me
50427 #else
50428 char (*f) () = $ac_func;
50429 #endif
50430 #ifdef __cplusplus
50432 #endif
50435 main ()
50437 return f != $ac_func;
50439 return 0;
50441 _ACEOF
50442 rm -f conftest.$ac_objext conftest$ac_exeext
50443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50444 (eval $ac_link) 2>conftest.er1
50445 ac_status=$?
50446 grep -v '^ *+' conftest.er1 >conftest.err
50447 rm -f conftest.er1
50448 cat conftest.err >&5
50449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50450 (exit $ac_status); } &&
50451 { ac_try='test -z "$ac_c_werror_flag"
50452 || test ! -s conftest.err'
50453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50454 (eval $ac_try) 2>&5
50455 ac_status=$?
50456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457 (exit $ac_status); }; } &&
50458 { ac_try='test -s conftest$ac_exeext'
50459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50460 (eval $ac_try) 2>&5
50461 ac_status=$?
50462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50463 (exit $ac_status); }; }; then
50464 eval "$as_ac_var=yes"
50465 else
50466 echo "$as_me: failed program was:" >&5
50467 sed 's/^/| /' conftest.$ac_ext >&5
50469 eval "$as_ac_var=no"
50471 rm -f conftest.err conftest.$ac_objext \
50472 conftest$ac_exeext conftest.$ac_ext
50474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50476 if test `eval echo '${'$as_ac_var'}'` = yes; then
50477 cat >>confdefs.h <<_ACEOF
50478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50479 _ACEOF
50482 done
50484 else
50486 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50487 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50488 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50489 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50490 echo $ECHO_N "(cached) $ECHO_C" >&6
50491 else
50495 ac_ext=cc
50496 ac_cpp='$CXXCPP $CPPFLAGS'
50497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50501 cat >conftest.$ac_ext <<_ACEOF
50502 /* confdefs.h. */
50503 _ACEOF
50504 cat confdefs.h >>conftest.$ac_ext
50505 cat >>conftest.$ac_ext <<_ACEOF
50506 /* end confdefs.h. */
50507 #include <math.h>
50509 main ()
50511 _ldexpf(0, 0);
50513 return 0;
50515 _ACEOF
50516 rm -f conftest.$ac_objext
50517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50518 (eval $ac_compile) 2>conftest.er1
50519 ac_status=$?
50520 grep -v '^ *+' conftest.er1 >conftest.err
50521 rm -f conftest.er1
50522 cat conftest.err >&5
50523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50524 (exit $ac_status); } &&
50525 { ac_try='test -z "$ac_cxx_werror_flag"
50526 || test ! -s conftest.err'
50527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50528 (eval $ac_try) 2>&5
50529 ac_status=$?
50530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50531 (exit $ac_status); }; } &&
50532 { ac_try='test -s conftest.$ac_objext'
50533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50534 (eval $ac_try) 2>&5
50535 ac_status=$?
50536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50537 (exit $ac_status); }; }; then
50538 glibcxx_cv_func__ldexpf_use=yes
50539 else
50540 echo "$as_me: failed program was:" >&5
50541 sed 's/^/| /' conftest.$ac_ext >&5
50543 glibcxx_cv_func__ldexpf_use=no
50545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50546 ac_ext=c
50547 ac_cpp='$CPP $CPPFLAGS'
50548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50557 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50559 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50561 for ac_func in _ldexpf
50563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50564 echo "$as_me:$LINENO: checking for $ac_func" >&5
50565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50566 if eval "test \"\${$as_ac_var+set}\" = set"; then
50567 echo $ECHO_N "(cached) $ECHO_C" >&6
50568 else
50569 if test x$gcc_no_link = xyes; then
50570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50572 { (exit 1); exit 1; }; }
50574 cat >conftest.$ac_ext <<_ACEOF
50575 /* confdefs.h. */
50576 _ACEOF
50577 cat confdefs.h >>conftest.$ac_ext
50578 cat >>conftest.$ac_ext <<_ACEOF
50579 /* end confdefs.h. */
50580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50582 #define $ac_func innocuous_$ac_func
50584 /* System header to define __stub macros and hopefully few prototypes,
50585 which can conflict with char $ac_func (); below.
50586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50587 <limits.h> exists even on freestanding compilers. */
50589 #ifdef __STDC__
50590 # include <limits.h>
50591 #else
50592 # include <assert.h>
50593 #endif
50595 #undef $ac_func
50597 /* Override any gcc2 internal prototype to avoid an error. */
50598 #ifdef __cplusplus
50599 extern "C"
50601 #endif
50602 /* We use char because int might match the return type of a gcc2
50603 builtin and then its argument prototype would still apply. */
50604 char $ac_func ();
50605 /* The GNU C library defines this for functions which it implements
50606 to always fail with ENOSYS. Some functions are actually named
50607 something starting with __ and the normal name is an alias. */
50608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50609 choke me
50610 #else
50611 char (*f) () = $ac_func;
50612 #endif
50613 #ifdef __cplusplus
50615 #endif
50618 main ()
50620 return f != $ac_func;
50622 return 0;
50624 _ACEOF
50625 rm -f conftest.$ac_objext conftest$ac_exeext
50626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50627 (eval $ac_link) 2>conftest.er1
50628 ac_status=$?
50629 grep -v '^ *+' conftest.er1 >conftest.err
50630 rm -f conftest.er1
50631 cat conftest.err >&5
50632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50633 (exit $ac_status); } &&
50634 { ac_try='test -z "$ac_c_werror_flag"
50635 || test ! -s conftest.err'
50636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50637 (eval $ac_try) 2>&5
50638 ac_status=$?
50639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640 (exit $ac_status); }; } &&
50641 { ac_try='test -s conftest$ac_exeext'
50642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50643 (eval $ac_try) 2>&5
50644 ac_status=$?
50645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50646 (exit $ac_status); }; }; then
50647 eval "$as_ac_var=yes"
50648 else
50649 echo "$as_me: failed program was:" >&5
50650 sed 's/^/| /' conftest.$ac_ext >&5
50652 eval "$as_ac_var=no"
50654 rm -f conftest.err conftest.$ac_objext \
50655 conftest$ac_exeext conftest.$ac_ext
50657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50659 if test `eval echo '${'$as_ac_var'}'` = yes; then
50660 cat >>confdefs.h <<_ACEOF
50661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50662 _ACEOF
50665 done
50675 echo "$as_me:$LINENO: checking for logf declaration" >&5
50676 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50677 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50678 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50679 echo $ECHO_N "(cached) $ECHO_C" >&6
50680 else
50684 ac_ext=cc
50685 ac_cpp='$CXXCPP $CPPFLAGS'
50686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50690 cat >conftest.$ac_ext <<_ACEOF
50691 /* confdefs.h. */
50692 _ACEOF
50693 cat confdefs.h >>conftest.$ac_ext
50694 cat >>conftest.$ac_ext <<_ACEOF
50695 /* end confdefs.h. */
50696 #include <math.h>
50697 #ifdef HAVE_IEEEFP_H
50698 #include <ieeefp.h>
50699 #endif
50702 main ()
50704 logf(0);
50706 return 0;
50708 _ACEOF
50709 rm -f conftest.$ac_objext
50710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50711 (eval $ac_compile) 2>conftest.er1
50712 ac_status=$?
50713 grep -v '^ *+' conftest.er1 >conftest.err
50714 rm -f conftest.er1
50715 cat conftest.err >&5
50716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717 (exit $ac_status); } &&
50718 { ac_try='test -z "$ac_cxx_werror_flag"
50719 || test ! -s conftest.err'
50720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50721 (eval $ac_try) 2>&5
50722 ac_status=$?
50723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50724 (exit $ac_status); }; } &&
50725 { ac_try='test -s conftest.$ac_objext'
50726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50727 (eval $ac_try) 2>&5
50728 ac_status=$?
50729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730 (exit $ac_status); }; }; then
50731 glibcxx_cv_func_logf_use=yes
50732 else
50733 echo "$as_me: failed program was:" >&5
50734 sed 's/^/| /' conftest.$ac_ext >&5
50736 glibcxx_cv_func_logf_use=no
50738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50739 ac_ext=c
50740 ac_cpp='$CPP $CPPFLAGS'
50741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50750 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50752 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50754 for ac_func in logf
50756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50757 echo "$as_me:$LINENO: checking for $ac_func" >&5
50758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50759 if eval "test \"\${$as_ac_var+set}\" = set"; then
50760 echo $ECHO_N "(cached) $ECHO_C" >&6
50761 else
50762 if test x$gcc_no_link = xyes; then
50763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50765 { (exit 1); exit 1; }; }
50767 cat >conftest.$ac_ext <<_ACEOF
50768 /* confdefs.h. */
50769 _ACEOF
50770 cat confdefs.h >>conftest.$ac_ext
50771 cat >>conftest.$ac_ext <<_ACEOF
50772 /* end confdefs.h. */
50773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50775 #define $ac_func innocuous_$ac_func
50777 /* System header to define __stub macros and hopefully few prototypes,
50778 which can conflict with char $ac_func (); below.
50779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50780 <limits.h> exists even on freestanding compilers. */
50782 #ifdef __STDC__
50783 # include <limits.h>
50784 #else
50785 # include <assert.h>
50786 #endif
50788 #undef $ac_func
50790 /* Override any gcc2 internal prototype to avoid an error. */
50791 #ifdef __cplusplus
50792 extern "C"
50794 #endif
50795 /* We use char because int might match the return type of a gcc2
50796 builtin and then its argument prototype would still apply. */
50797 char $ac_func ();
50798 /* The GNU C library defines this for functions which it implements
50799 to always fail with ENOSYS. Some functions are actually named
50800 something starting with __ and the normal name is an alias. */
50801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50802 choke me
50803 #else
50804 char (*f) () = $ac_func;
50805 #endif
50806 #ifdef __cplusplus
50808 #endif
50811 main ()
50813 return f != $ac_func;
50815 return 0;
50817 _ACEOF
50818 rm -f conftest.$ac_objext conftest$ac_exeext
50819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50820 (eval $ac_link) 2>conftest.er1
50821 ac_status=$?
50822 grep -v '^ *+' conftest.er1 >conftest.err
50823 rm -f conftest.er1
50824 cat conftest.err >&5
50825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50826 (exit $ac_status); } &&
50827 { ac_try='test -z "$ac_c_werror_flag"
50828 || test ! -s conftest.err'
50829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50830 (eval $ac_try) 2>&5
50831 ac_status=$?
50832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50833 (exit $ac_status); }; } &&
50834 { ac_try='test -s conftest$ac_exeext'
50835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50836 (eval $ac_try) 2>&5
50837 ac_status=$?
50838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50839 (exit $ac_status); }; }; then
50840 eval "$as_ac_var=yes"
50841 else
50842 echo "$as_me: failed program was:" >&5
50843 sed 's/^/| /' conftest.$ac_ext >&5
50845 eval "$as_ac_var=no"
50847 rm -f conftest.err conftest.$ac_objext \
50848 conftest$ac_exeext conftest.$ac_ext
50850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50852 if test `eval echo '${'$as_ac_var'}'` = yes; then
50853 cat >>confdefs.h <<_ACEOF
50854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50855 _ACEOF
50858 done
50860 else
50862 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50863 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50864 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50865 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50866 echo $ECHO_N "(cached) $ECHO_C" >&6
50867 else
50871 ac_ext=cc
50872 ac_cpp='$CXXCPP $CPPFLAGS'
50873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50877 cat >conftest.$ac_ext <<_ACEOF
50878 /* confdefs.h. */
50879 _ACEOF
50880 cat confdefs.h >>conftest.$ac_ext
50881 cat >>conftest.$ac_ext <<_ACEOF
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50889 main ()
50891 _logf(0);
50893 return 0;
50895 _ACEOF
50896 rm -f conftest.$ac_objext
50897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50898 (eval $ac_compile) 2>conftest.er1
50899 ac_status=$?
50900 grep -v '^ *+' conftest.er1 >conftest.err
50901 rm -f conftest.er1
50902 cat conftest.err >&5
50903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50904 (exit $ac_status); } &&
50905 { ac_try='test -z "$ac_cxx_werror_flag"
50906 || test ! -s conftest.err'
50907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50908 (eval $ac_try) 2>&5
50909 ac_status=$?
50910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50911 (exit $ac_status); }; } &&
50912 { ac_try='test -s conftest.$ac_objext'
50913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50914 (eval $ac_try) 2>&5
50915 ac_status=$?
50916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50917 (exit $ac_status); }; }; then
50918 glibcxx_cv_func__logf_use=yes
50919 else
50920 echo "$as_me: failed program was:" >&5
50921 sed 's/^/| /' conftest.$ac_ext >&5
50923 glibcxx_cv_func__logf_use=no
50925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50926 ac_ext=c
50927 ac_cpp='$CPP $CPPFLAGS'
50928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50937 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50939 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50941 for ac_func in _logf
50943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50944 echo "$as_me:$LINENO: checking for $ac_func" >&5
50945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50946 if eval "test \"\${$as_ac_var+set}\" = set"; then
50947 echo $ECHO_N "(cached) $ECHO_C" >&6
50948 else
50949 if test x$gcc_no_link = xyes; then
50950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50952 { (exit 1); exit 1; }; }
50954 cat >conftest.$ac_ext <<_ACEOF
50955 /* confdefs.h. */
50956 _ACEOF
50957 cat confdefs.h >>conftest.$ac_ext
50958 cat >>conftest.$ac_ext <<_ACEOF
50959 /* end confdefs.h. */
50960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50962 #define $ac_func innocuous_$ac_func
50964 /* System header to define __stub macros and hopefully few prototypes,
50965 which can conflict with char $ac_func (); below.
50966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50967 <limits.h> exists even on freestanding compilers. */
50969 #ifdef __STDC__
50970 # include <limits.h>
50971 #else
50972 # include <assert.h>
50973 #endif
50975 #undef $ac_func
50977 /* Override any gcc2 internal prototype to avoid an error. */
50978 #ifdef __cplusplus
50979 extern "C"
50981 #endif
50982 /* We use char because int might match the return type of a gcc2
50983 builtin and then its argument prototype would still apply. */
50984 char $ac_func ();
50985 /* The GNU C library defines this for functions which it implements
50986 to always fail with ENOSYS. Some functions are actually named
50987 something starting with __ and the normal name is an alias. */
50988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50989 choke me
50990 #else
50991 char (*f) () = $ac_func;
50992 #endif
50993 #ifdef __cplusplus
50995 #endif
50998 main ()
51000 return f != $ac_func;
51002 return 0;
51004 _ACEOF
51005 rm -f conftest.$ac_objext conftest$ac_exeext
51006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51007 (eval $ac_link) 2>conftest.er1
51008 ac_status=$?
51009 grep -v '^ *+' conftest.er1 >conftest.err
51010 rm -f conftest.er1
51011 cat conftest.err >&5
51012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013 (exit $ac_status); } &&
51014 { ac_try='test -z "$ac_c_werror_flag"
51015 || test ! -s conftest.err'
51016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51017 (eval $ac_try) 2>&5
51018 ac_status=$?
51019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51020 (exit $ac_status); }; } &&
51021 { ac_try='test -s conftest$ac_exeext'
51022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51023 (eval $ac_try) 2>&5
51024 ac_status=$?
51025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51026 (exit $ac_status); }; }; then
51027 eval "$as_ac_var=yes"
51028 else
51029 echo "$as_me: failed program was:" >&5
51030 sed 's/^/| /' conftest.$ac_ext >&5
51032 eval "$as_ac_var=no"
51034 rm -f conftest.err conftest.$ac_objext \
51035 conftest$ac_exeext conftest.$ac_ext
51037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51039 if test `eval echo '${'$as_ac_var'}'` = yes; then
51040 cat >>confdefs.h <<_ACEOF
51041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51042 _ACEOF
51045 done
51055 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51056 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51057 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51058 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51059 echo $ECHO_N "(cached) $ECHO_C" >&6
51060 else
51064 ac_ext=cc
51065 ac_cpp='$CXXCPP $CPPFLAGS'
51066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51070 cat >conftest.$ac_ext <<_ACEOF
51071 /* confdefs.h. */
51072 _ACEOF
51073 cat confdefs.h >>conftest.$ac_ext
51074 cat >>conftest.$ac_ext <<_ACEOF
51075 /* end confdefs.h. */
51076 #include <math.h>
51077 #ifdef HAVE_IEEEFP_H
51078 #include <ieeefp.h>
51079 #endif
51082 main ()
51084 log10f(0);
51086 return 0;
51088 _ACEOF
51089 rm -f conftest.$ac_objext
51090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51091 (eval $ac_compile) 2>conftest.er1
51092 ac_status=$?
51093 grep -v '^ *+' conftest.er1 >conftest.err
51094 rm -f conftest.er1
51095 cat conftest.err >&5
51096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51097 (exit $ac_status); } &&
51098 { ac_try='test -z "$ac_cxx_werror_flag"
51099 || test ! -s conftest.err'
51100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51101 (eval $ac_try) 2>&5
51102 ac_status=$?
51103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104 (exit $ac_status); }; } &&
51105 { ac_try='test -s conftest.$ac_objext'
51106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51107 (eval $ac_try) 2>&5
51108 ac_status=$?
51109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51110 (exit $ac_status); }; }; then
51111 glibcxx_cv_func_log10f_use=yes
51112 else
51113 echo "$as_me: failed program was:" >&5
51114 sed 's/^/| /' conftest.$ac_ext >&5
51116 glibcxx_cv_func_log10f_use=no
51118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51119 ac_ext=c
51120 ac_cpp='$CPP $CPPFLAGS'
51121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51130 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51132 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51134 for ac_func in log10f
51136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51137 echo "$as_me:$LINENO: checking for $ac_func" >&5
51138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51139 if eval "test \"\${$as_ac_var+set}\" = set"; then
51140 echo $ECHO_N "(cached) $ECHO_C" >&6
51141 else
51142 if test x$gcc_no_link = xyes; then
51143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51145 { (exit 1); exit 1; }; }
51147 cat >conftest.$ac_ext <<_ACEOF
51148 /* confdefs.h. */
51149 _ACEOF
51150 cat confdefs.h >>conftest.$ac_ext
51151 cat >>conftest.$ac_ext <<_ACEOF
51152 /* end confdefs.h. */
51153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51155 #define $ac_func innocuous_$ac_func
51157 /* System header to define __stub macros and hopefully few prototypes,
51158 which can conflict with char $ac_func (); below.
51159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51160 <limits.h> exists even on freestanding compilers. */
51162 #ifdef __STDC__
51163 # include <limits.h>
51164 #else
51165 # include <assert.h>
51166 #endif
51168 #undef $ac_func
51170 /* Override any gcc2 internal prototype to avoid an error. */
51171 #ifdef __cplusplus
51172 extern "C"
51174 #endif
51175 /* We use char because int might match the return type of a gcc2
51176 builtin and then its argument prototype would still apply. */
51177 char $ac_func ();
51178 /* The GNU C library defines this for functions which it implements
51179 to always fail with ENOSYS. Some functions are actually named
51180 something starting with __ and the normal name is an alias. */
51181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51182 choke me
51183 #else
51184 char (*f) () = $ac_func;
51185 #endif
51186 #ifdef __cplusplus
51188 #endif
51191 main ()
51193 return f != $ac_func;
51195 return 0;
51197 _ACEOF
51198 rm -f conftest.$ac_objext conftest$ac_exeext
51199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51200 (eval $ac_link) 2>conftest.er1
51201 ac_status=$?
51202 grep -v '^ *+' conftest.er1 >conftest.err
51203 rm -f conftest.er1
51204 cat conftest.err >&5
51205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51206 (exit $ac_status); } &&
51207 { ac_try='test -z "$ac_c_werror_flag"
51208 || test ! -s conftest.err'
51209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51210 (eval $ac_try) 2>&5
51211 ac_status=$?
51212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213 (exit $ac_status); }; } &&
51214 { ac_try='test -s conftest$ac_exeext'
51215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51216 (eval $ac_try) 2>&5
51217 ac_status=$?
51218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51219 (exit $ac_status); }; }; then
51220 eval "$as_ac_var=yes"
51221 else
51222 echo "$as_me: failed program was:" >&5
51223 sed 's/^/| /' conftest.$ac_ext >&5
51225 eval "$as_ac_var=no"
51227 rm -f conftest.err conftest.$ac_objext \
51228 conftest$ac_exeext conftest.$ac_ext
51230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51232 if test `eval echo '${'$as_ac_var'}'` = yes; then
51233 cat >>confdefs.h <<_ACEOF
51234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51235 _ACEOF
51238 done
51240 else
51242 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51243 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51244 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51245 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51246 echo $ECHO_N "(cached) $ECHO_C" >&6
51247 else
51251 ac_ext=cc
51252 ac_cpp='$CXXCPP $CPPFLAGS'
51253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51257 cat >conftest.$ac_ext <<_ACEOF
51258 /* confdefs.h. */
51259 _ACEOF
51260 cat confdefs.h >>conftest.$ac_ext
51261 cat >>conftest.$ac_ext <<_ACEOF
51262 /* end confdefs.h. */
51263 #include <math.h>
51264 #ifdef HAVE_IEEEFP_H
51265 #include <ieeefp.h>
51266 #endif
51269 main ()
51271 _log10f(0);
51273 return 0;
51275 _ACEOF
51276 rm -f conftest.$ac_objext
51277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51278 (eval $ac_compile) 2>conftest.er1
51279 ac_status=$?
51280 grep -v '^ *+' conftest.er1 >conftest.err
51281 rm -f conftest.er1
51282 cat conftest.err >&5
51283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284 (exit $ac_status); } &&
51285 { ac_try='test -z "$ac_cxx_werror_flag"
51286 || test ! -s conftest.err'
51287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288 (eval $ac_try) 2>&5
51289 ac_status=$?
51290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291 (exit $ac_status); }; } &&
51292 { ac_try='test -s conftest.$ac_objext'
51293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51294 (eval $ac_try) 2>&5
51295 ac_status=$?
51296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297 (exit $ac_status); }; }; then
51298 glibcxx_cv_func__log10f_use=yes
51299 else
51300 echo "$as_me: failed program was:" >&5
51301 sed 's/^/| /' conftest.$ac_ext >&5
51303 glibcxx_cv_func__log10f_use=no
51305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51306 ac_ext=c
51307 ac_cpp='$CPP $CPPFLAGS'
51308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51317 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51319 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51321 for ac_func in _log10f
51323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51324 echo "$as_me:$LINENO: checking for $ac_func" >&5
51325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51326 if eval "test \"\${$as_ac_var+set}\" = set"; then
51327 echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329 if test x$gcc_no_link = xyes; then
51330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51332 { (exit 1); exit 1; }; }
51334 cat >conftest.$ac_ext <<_ACEOF
51335 /* confdefs.h. */
51336 _ACEOF
51337 cat confdefs.h >>conftest.$ac_ext
51338 cat >>conftest.$ac_ext <<_ACEOF
51339 /* end confdefs.h. */
51340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51342 #define $ac_func innocuous_$ac_func
51344 /* System header to define __stub macros and hopefully few prototypes,
51345 which can conflict with char $ac_func (); below.
51346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51347 <limits.h> exists even on freestanding compilers. */
51349 #ifdef __STDC__
51350 # include <limits.h>
51351 #else
51352 # include <assert.h>
51353 #endif
51355 #undef $ac_func
51357 /* Override any gcc2 internal prototype to avoid an error. */
51358 #ifdef __cplusplus
51359 extern "C"
51361 #endif
51362 /* We use char because int might match the return type of a gcc2
51363 builtin and then its argument prototype would still apply. */
51364 char $ac_func ();
51365 /* The GNU C library defines this for functions which it implements
51366 to always fail with ENOSYS. Some functions are actually named
51367 something starting with __ and the normal name is an alias. */
51368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51369 choke me
51370 #else
51371 char (*f) () = $ac_func;
51372 #endif
51373 #ifdef __cplusplus
51375 #endif
51378 main ()
51380 return f != $ac_func;
51382 return 0;
51384 _ACEOF
51385 rm -f conftest.$ac_objext conftest$ac_exeext
51386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51387 (eval $ac_link) 2>conftest.er1
51388 ac_status=$?
51389 grep -v '^ *+' conftest.er1 >conftest.err
51390 rm -f conftest.er1
51391 cat conftest.err >&5
51392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51393 (exit $ac_status); } &&
51394 { ac_try='test -z "$ac_c_werror_flag"
51395 || test ! -s conftest.err'
51396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51397 (eval $ac_try) 2>&5
51398 ac_status=$?
51399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51400 (exit $ac_status); }; } &&
51401 { ac_try='test -s conftest$ac_exeext'
51402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51403 (eval $ac_try) 2>&5
51404 ac_status=$?
51405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406 (exit $ac_status); }; }; then
51407 eval "$as_ac_var=yes"
51408 else
51409 echo "$as_me: failed program was:" >&5
51410 sed 's/^/| /' conftest.$ac_ext >&5
51412 eval "$as_ac_var=no"
51414 rm -f conftest.err conftest.$ac_objext \
51415 conftest$ac_exeext conftest.$ac_ext
51417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51419 if test `eval echo '${'$as_ac_var'}'` = yes; then
51420 cat >>confdefs.h <<_ACEOF
51421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51422 _ACEOF
51425 done
51435 echo "$as_me:$LINENO: checking for modff declaration" >&5
51436 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51437 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51438 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51444 ac_ext=cc
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51450 cat >conftest.$ac_ext <<_ACEOF
51451 /* confdefs.h. */
51452 _ACEOF
51453 cat confdefs.h >>conftest.$ac_ext
51454 cat >>conftest.$ac_ext <<_ACEOF
51455 /* end confdefs.h. */
51456 #include <math.h>
51458 main ()
51460 modff(0, 0);
51462 return 0;
51464 _ACEOF
51465 rm -f conftest.$ac_objext
51466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51467 (eval $ac_compile) 2>conftest.er1
51468 ac_status=$?
51469 grep -v '^ *+' conftest.er1 >conftest.err
51470 rm -f conftest.er1
51471 cat conftest.err >&5
51472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473 (exit $ac_status); } &&
51474 { ac_try='test -z "$ac_cxx_werror_flag"
51475 || test ! -s conftest.err'
51476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51477 (eval $ac_try) 2>&5
51478 ac_status=$?
51479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51480 (exit $ac_status); }; } &&
51481 { ac_try='test -s conftest.$ac_objext'
51482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51483 (eval $ac_try) 2>&5
51484 ac_status=$?
51485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486 (exit $ac_status); }; }; then
51487 glibcxx_cv_func_modff_use=yes
51488 else
51489 echo "$as_me: failed program was:" >&5
51490 sed 's/^/| /' conftest.$ac_ext >&5
51492 glibcxx_cv_func_modff_use=no
51494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51495 ac_ext=c
51496 ac_cpp='$CPP $CPPFLAGS'
51497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51506 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51508 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51510 for ac_func in modff
51512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51513 echo "$as_me:$LINENO: checking for $ac_func" >&5
51514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51515 if eval "test \"\${$as_ac_var+set}\" = set"; then
51516 echo $ECHO_N "(cached) $ECHO_C" >&6
51517 else
51518 if test x$gcc_no_link = xyes; then
51519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51521 { (exit 1); exit 1; }; }
51523 cat >conftest.$ac_ext <<_ACEOF
51524 /* confdefs.h. */
51525 _ACEOF
51526 cat confdefs.h >>conftest.$ac_ext
51527 cat >>conftest.$ac_ext <<_ACEOF
51528 /* end confdefs.h. */
51529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51531 #define $ac_func innocuous_$ac_func
51533 /* System header to define __stub macros and hopefully few prototypes,
51534 which can conflict with char $ac_func (); below.
51535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51536 <limits.h> exists even on freestanding compilers. */
51538 #ifdef __STDC__
51539 # include <limits.h>
51540 #else
51541 # include <assert.h>
51542 #endif
51544 #undef $ac_func
51546 /* Override any gcc2 internal prototype to avoid an error. */
51547 #ifdef __cplusplus
51548 extern "C"
51550 #endif
51551 /* We use char because int might match the return type of a gcc2
51552 builtin and then its argument prototype would still apply. */
51553 char $ac_func ();
51554 /* The GNU C library defines this for functions which it implements
51555 to always fail with ENOSYS. Some functions are actually named
51556 something starting with __ and the normal name is an alias. */
51557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51558 choke me
51559 #else
51560 char (*f) () = $ac_func;
51561 #endif
51562 #ifdef __cplusplus
51564 #endif
51567 main ()
51569 return f != $ac_func;
51571 return 0;
51573 _ACEOF
51574 rm -f conftest.$ac_objext conftest$ac_exeext
51575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51576 (eval $ac_link) 2>conftest.er1
51577 ac_status=$?
51578 grep -v '^ *+' conftest.er1 >conftest.err
51579 rm -f conftest.er1
51580 cat conftest.err >&5
51581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582 (exit $ac_status); } &&
51583 { ac_try='test -z "$ac_c_werror_flag"
51584 || test ! -s conftest.err'
51585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586 (eval $ac_try) 2>&5
51587 ac_status=$?
51588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589 (exit $ac_status); }; } &&
51590 { ac_try='test -s conftest$ac_exeext'
51591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51592 (eval $ac_try) 2>&5
51593 ac_status=$?
51594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51595 (exit $ac_status); }; }; then
51596 eval "$as_ac_var=yes"
51597 else
51598 echo "$as_me: failed program was:" >&5
51599 sed 's/^/| /' conftest.$ac_ext >&5
51601 eval "$as_ac_var=no"
51603 rm -f conftest.err conftest.$ac_objext \
51604 conftest$ac_exeext conftest.$ac_ext
51606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51608 if test `eval echo '${'$as_ac_var'}'` = yes; then
51609 cat >>confdefs.h <<_ACEOF
51610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51611 _ACEOF
51614 done
51616 else
51618 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51619 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51620 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51621 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51622 echo $ECHO_N "(cached) $ECHO_C" >&6
51623 else
51627 ac_ext=cc
51628 ac_cpp='$CXXCPP $CPPFLAGS'
51629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51633 cat >conftest.$ac_ext <<_ACEOF
51634 /* confdefs.h. */
51635 _ACEOF
51636 cat confdefs.h >>conftest.$ac_ext
51637 cat >>conftest.$ac_ext <<_ACEOF
51638 /* end confdefs.h. */
51639 #include <math.h>
51641 main ()
51643 _modff(0, 0);
51645 return 0;
51647 _ACEOF
51648 rm -f conftest.$ac_objext
51649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51650 (eval $ac_compile) 2>conftest.er1
51651 ac_status=$?
51652 grep -v '^ *+' conftest.er1 >conftest.err
51653 rm -f conftest.er1
51654 cat conftest.err >&5
51655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51656 (exit $ac_status); } &&
51657 { ac_try='test -z "$ac_cxx_werror_flag"
51658 || test ! -s conftest.err'
51659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51660 (eval $ac_try) 2>&5
51661 ac_status=$?
51662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663 (exit $ac_status); }; } &&
51664 { ac_try='test -s conftest.$ac_objext'
51665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51666 (eval $ac_try) 2>&5
51667 ac_status=$?
51668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669 (exit $ac_status); }; }; then
51670 glibcxx_cv_func__modff_use=yes
51671 else
51672 echo "$as_me: failed program was:" >&5
51673 sed 's/^/| /' conftest.$ac_ext >&5
51675 glibcxx_cv_func__modff_use=no
51677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51678 ac_ext=c
51679 ac_cpp='$CPP $CPPFLAGS'
51680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51688 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51689 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51691 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51693 for ac_func in _modff
51695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51696 echo "$as_me:$LINENO: checking for $ac_func" >&5
51697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51698 if eval "test \"\${$as_ac_var+set}\" = set"; then
51699 echo $ECHO_N "(cached) $ECHO_C" >&6
51700 else
51701 if test x$gcc_no_link = xyes; then
51702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51704 { (exit 1); exit 1; }; }
51706 cat >conftest.$ac_ext <<_ACEOF
51707 /* confdefs.h. */
51708 _ACEOF
51709 cat confdefs.h >>conftest.$ac_ext
51710 cat >>conftest.$ac_ext <<_ACEOF
51711 /* end confdefs.h. */
51712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51714 #define $ac_func innocuous_$ac_func
51716 /* System header to define __stub macros and hopefully few prototypes,
51717 which can conflict with char $ac_func (); below.
51718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51719 <limits.h> exists even on freestanding compilers. */
51721 #ifdef __STDC__
51722 # include <limits.h>
51723 #else
51724 # include <assert.h>
51725 #endif
51727 #undef $ac_func
51729 /* Override any gcc2 internal prototype to avoid an error. */
51730 #ifdef __cplusplus
51731 extern "C"
51733 #endif
51734 /* We use char because int might match the return type of a gcc2
51735 builtin and then its argument prototype would still apply. */
51736 char $ac_func ();
51737 /* The GNU C library defines this for functions which it implements
51738 to always fail with ENOSYS. Some functions are actually named
51739 something starting with __ and the normal name is an alias. */
51740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51741 choke me
51742 #else
51743 char (*f) () = $ac_func;
51744 #endif
51745 #ifdef __cplusplus
51747 #endif
51750 main ()
51752 return f != $ac_func;
51754 return 0;
51756 _ACEOF
51757 rm -f conftest.$ac_objext conftest$ac_exeext
51758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51759 (eval $ac_link) 2>conftest.er1
51760 ac_status=$?
51761 grep -v '^ *+' conftest.er1 >conftest.err
51762 rm -f conftest.er1
51763 cat conftest.err >&5
51764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51765 (exit $ac_status); } &&
51766 { ac_try='test -z "$ac_c_werror_flag"
51767 || test ! -s conftest.err'
51768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51769 (eval $ac_try) 2>&5
51770 ac_status=$?
51771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772 (exit $ac_status); }; } &&
51773 { ac_try='test -s conftest$ac_exeext'
51774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51775 (eval $ac_try) 2>&5
51776 ac_status=$?
51777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778 (exit $ac_status); }; }; then
51779 eval "$as_ac_var=yes"
51780 else
51781 echo "$as_me: failed program was:" >&5
51782 sed 's/^/| /' conftest.$ac_ext >&5
51784 eval "$as_ac_var=no"
51786 rm -f conftest.err conftest.$ac_objext \
51787 conftest$ac_exeext conftest.$ac_ext
51789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51791 if test `eval echo '${'$as_ac_var'}'` = yes; then
51792 cat >>confdefs.h <<_ACEOF
51793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51794 _ACEOF
51797 done
51807 echo "$as_me:$LINENO: checking for modf declaration" >&5
51808 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51809 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51810 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51811 echo $ECHO_N "(cached) $ECHO_C" >&6
51812 else
51816 ac_ext=cc
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51822 cat >conftest.$ac_ext <<_ACEOF
51823 /* confdefs.h. */
51824 _ACEOF
51825 cat confdefs.h >>conftest.$ac_ext
51826 cat >>conftest.$ac_ext <<_ACEOF
51827 /* end confdefs.h. */
51828 #include <math.h>
51830 main ()
51832 modf(0, 0);
51834 return 0;
51836 _ACEOF
51837 rm -f conftest.$ac_objext
51838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51839 (eval $ac_compile) 2>conftest.er1
51840 ac_status=$?
51841 grep -v '^ *+' conftest.er1 >conftest.err
51842 rm -f conftest.er1
51843 cat conftest.err >&5
51844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51845 (exit $ac_status); } &&
51846 { ac_try='test -z "$ac_cxx_werror_flag"
51847 || test ! -s conftest.err'
51848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51849 (eval $ac_try) 2>&5
51850 ac_status=$?
51851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852 (exit $ac_status); }; } &&
51853 { ac_try='test -s conftest.$ac_objext'
51854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51855 (eval $ac_try) 2>&5
51856 ac_status=$?
51857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51858 (exit $ac_status); }; }; then
51859 glibcxx_cv_func_modf_use=yes
51860 else
51861 echo "$as_me: failed program was:" >&5
51862 sed 's/^/| /' conftest.$ac_ext >&5
51864 glibcxx_cv_func_modf_use=no
51866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51867 ac_ext=c
51868 ac_cpp='$CPP $CPPFLAGS'
51869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51877 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51878 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51880 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51882 for ac_func in modf
51884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51885 echo "$as_me:$LINENO: checking for $ac_func" >&5
51886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51887 if eval "test \"\${$as_ac_var+set}\" = set"; then
51888 echo $ECHO_N "(cached) $ECHO_C" >&6
51889 else
51890 if test x$gcc_no_link = xyes; then
51891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51893 { (exit 1); exit 1; }; }
51895 cat >conftest.$ac_ext <<_ACEOF
51896 /* confdefs.h. */
51897 _ACEOF
51898 cat confdefs.h >>conftest.$ac_ext
51899 cat >>conftest.$ac_ext <<_ACEOF
51900 /* end confdefs.h. */
51901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51903 #define $ac_func innocuous_$ac_func
51905 /* System header to define __stub macros and hopefully few prototypes,
51906 which can conflict with char $ac_func (); below.
51907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51908 <limits.h> exists even on freestanding compilers. */
51910 #ifdef __STDC__
51911 # include <limits.h>
51912 #else
51913 # include <assert.h>
51914 #endif
51916 #undef $ac_func
51918 /* Override any gcc2 internal prototype to avoid an error. */
51919 #ifdef __cplusplus
51920 extern "C"
51922 #endif
51923 /* We use char because int might match the return type of a gcc2
51924 builtin and then its argument prototype would still apply. */
51925 char $ac_func ();
51926 /* The GNU C library defines this for functions which it implements
51927 to always fail with ENOSYS. Some functions are actually named
51928 something starting with __ and the normal name is an alias. */
51929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51930 choke me
51931 #else
51932 char (*f) () = $ac_func;
51933 #endif
51934 #ifdef __cplusplus
51936 #endif
51939 main ()
51941 return f != $ac_func;
51943 return 0;
51945 _ACEOF
51946 rm -f conftest.$ac_objext conftest$ac_exeext
51947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51948 (eval $ac_link) 2>conftest.er1
51949 ac_status=$?
51950 grep -v '^ *+' conftest.er1 >conftest.err
51951 rm -f conftest.er1
51952 cat conftest.err >&5
51953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51954 (exit $ac_status); } &&
51955 { ac_try='test -z "$ac_c_werror_flag"
51956 || test ! -s conftest.err'
51957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51958 (eval $ac_try) 2>&5
51959 ac_status=$?
51960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961 (exit $ac_status); }; } &&
51962 { ac_try='test -s conftest$ac_exeext'
51963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51964 (eval $ac_try) 2>&5
51965 ac_status=$?
51966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967 (exit $ac_status); }; }; then
51968 eval "$as_ac_var=yes"
51969 else
51970 echo "$as_me: failed program was:" >&5
51971 sed 's/^/| /' conftest.$ac_ext >&5
51973 eval "$as_ac_var=no"
51975 rm -f conftest.err conftest.$ac_objext \
51976 conftest$ac_exeext conftest.$ac_ext
51978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51980 if test `eval echo '${'$as_ac_var'}'` = yes; then
51981 cat >>confdefs.h <<_ACEOF
51982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51983 _ACEOF
51986 done
51988 else
51990 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51991 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51992 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51993 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51994 echo $ECHO_N "(cached) $ECHO_C" >&6
51995 else
51999 ac_ext=cc
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52005 cat >conftest.$ac_ext <<_ACEOF
52006 /* confdefs.h. */
52007 _ACEOF
52008 cat confdefs.h >>conftest.$ac_ext
52009 cat >>conftest.$ac_ext <<_ACEOF
52010 /* end confdefs.h. */
52011 #include <math.h>
52013 main ()
52015 _modf(0, 0);
52017 return 0;
52019 _ACEOF
52020 rm -f conftest.$ac_objext
52021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52022 (eval $ac_compile) 2>conftest.er1
52023 ac_status=$?
52024 grep -v '^ *+' conftest.er1 >conftest.err
52025 rm -f conftest.er1
52026 cat conftest.err >&5
52027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028 (exit $ac_status); } &&
52029 { ac_try='test -z "$ac_cxx_werror_flag"
52030 || test ! -s conftest.err'
52031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032 (eval $ac_try) 2>&5
52033 ac_status=$?
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }; } &&
52036 { ac_try='test -s conftest.$ac_objext'
52037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52038 (eval $ac_try) 2>&5
52039 ac_status=$?
52040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52041 (exit $ac_status); }; }; then
52042 glibcxx_cv_func__modf_use=yes
52043 else
52044 echo "$as_me: failed program was:" >&5
52045 sed 's/^/| /' conftest.$ac_ext >&5
52047 glibcxx_cv_func__modf_use=no
52049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52050 ac_ext=c
52051 ac_cpp='$CPP $CPPFLAGS'
52052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52060 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52061 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52063 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52065 for ac_func in _modf
52067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52068 echo "$as_me:$LINENO: checking for $ac_func" >&5
52069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52070 if eval "test \"\${$as_ac_var+set}\" = set"; then
52071 echo $ECHO_N "(cached) $ECHO_C" >&6
52072 else
52073 if test x$gcc_no_link = xyes; then
52074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52076 { (exit 1); exit 1; }; }
52078 cat >conftest.$ac_ext <<_ACEOF
52079 /* confdefs.h. */
52080 _ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h. */
52084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52086 #define $ac_func innocuous_$ac_func
52088 /* System header to define __stub macros and hopefully few prototypes,
52089 which can conflict with char $ac_func (); below.
52090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52091 <limits.h> exists even on freestanding compilers. */
52093 #ifdef __STDC__
52094 # include <limits.h>
52095 #else
52096 # include <assert.h>
52097 #endif
52099 #undef $ac_func
52101 /* Override any gcc2 internal prototype to avoid an error. */
52102 #ifdef __cplusplus
52103 extern "C"
52105 #endif
52106 /* We use char because int might match the return type of a gcc2
52107 builtin and then its argument prototype would still apply. */
52108 char $ac_func ();
52109 /* The GNU C library defines this for functions which it implements
52110 to always fail with ENOSYS. Some functions are actually named
52111 something starting with __ and the normal name is an alias. */
52112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52113 choke me
52114 #else
52115 char (*f) () = $ac_func;
52116 #endif
52117 #ifdef __cplusplus
52119 #endif
52122 main ()
52124 return f != $ac_func;
52126 return 0;
52128 _ACEOF
52129 rm -f conftest.$ac_objext conftest$ac_exeext
52130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52131 (eval $ac_link) 2>conftest.er1
52132 ac_status=$?
52133 grep -v '^ *+' conftest.er1 >conftest.err
52134 rm -f conftest.er1
52135 cat conftest.err >&5
52136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52137 (exit $ac_status); } &&
52138 { ac_try='test -z "$ac_c_werror_flag"
52139 || test ! -s conftest.err'
52140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141 (eval $ac_try) 2>&5
52142 ac_status=$?
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); }; } &&
52145 { ac_try='test -s conftest$ac_exeext'
52146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52147 (eval $ac_try) 2>&5
52148 ac_status=$?
52149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52150 (exit $ac_status); }; }; then
52151 eval "$as_ac_var=yes"
52152 else
52153 echo "$as_me: failed program was:" >&5
52154 sed 's/^/| /' conftest.$ac_ext >&5
52156 eval "$as_ac_var=no"
52158 rm -f conftest.err conftest.$ac_objext \
52159 conftest$ac_exeext conftest.$ac_ext
52161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52163 if test `eval echo '${'$as_ac_var'}'` = yes; then
52164 cat >>confdefs.h <<_ACEOF
52165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52166 _ACEOF
52169 done
52179 echo "$as_me:$LINENO: checking for powf declaration" >&5
52180 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52181 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52182 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52183 echo $ECHO_N "(cached) $ECHO_C" >&6
52184 else
52188 ac_ext=cc
52189 ac_cpp='$CXXCPP $CPPFLAGS'
52190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52194 cat >conftest.$ac_ext <<_ACEOF
52195 /* confdefs.h. */
52196 _ACEOF
52197 cat confdefs.h >>conftest.$ac_ext
52198 cat >>conftest.$ac_ext <<_ACEOF
52199 /* end confdefs.h. */
52200 #include <math.h>
52202 main ()
52204 powf(0, 0);
52206 return 0;
52208 _ACEOF
52209 rm -f conftest.$ac_objext
52210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52211 (eval $ac_compile) 2>conftest.er1
52212 ac_status=$?
52213 grep -v '^ *+' conftest.er1 >conftest.err
52214 rm -f conftest.er1
52215 cat conftest.err >&5
52216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52217 (exit $ac_status); } &&
52218 { ac_try='test -z "$ac_cxx_werror_flag"
52219 || test ! -s conftest.err'
52220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52221 (eval $ac_try) 2>&5
52222 ac_status=$?
52223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224 (exit $ac_status); }; } &&
52225 { ac_try='test -s conftest.$ac_objext'
52226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52227 (eval $ac_try) 2>&5
52228 ac_status=$?
52229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52230 (exit $ac_status); }; }; then
52231 glibcxx_cv_func_powf_use=yes
52232 else
52233 echo "$as_me: failed program was:" >&5
52234 sed 's/^/| /' conftest.$ac_ext >&5
52236 glibcxx_cv_func_powf_use=no
52238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52239 ac_ext=c
52240 ac_cpp='$CPP $CPPFLAGS'
52241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52250 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52252 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52254 for ac_func in powf
52256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52257 echo "$as_me:$LINENO: checking for $ac_func" >&5
52258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52259 if eval "test \"\${$as_ac_var+set}\" = set"; then
52260 echo $ECHO_N "(cached) $ECHO_C" >&6
52261 else
52262 if test x$gcc_no_link = xyes; then
52263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52265 { (exit 1); exit 1; }; }
52267 cat >conftest.$ac_ext <<_ACEOF
52268 /* confdefs.h. */
52269 _ACEOF
52270 cat confdefs.h >>conftest.$ac_ext
52271 cat >>conftest.$ac_ext <<_ACEOF
52272 /* end confdefs.h. */
52273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52275 #define $ac_func innocuous_$ac_func
52277 /* System header to define __stub macros and hopefully few prototypes,
52278 which can conflict with char $ac_func (); below.
52279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52280 <limits.h> exists even on freestanding compilers. */
52282 #ifdef __STDC__
52283 # include <limits.h>
52284 #else
52285 # include <assert.h>
52286 #endif
52288 #undef $ac_func
52290 /* Override any gcc2 internal prototype to avoid an error. */
52291 #ifdef __cplusplus
52292 extern "C"
52294 #endif
52295 /* We use char because int might match the return type of a gcc2
52296 builtin and then its argument prototype would still apply. */
52297 char $ac_func ();
52298 /* The GNU C library defines this for functions which it implements
52299 to always fail with ENOSYS. Some functions are actually named
52300 something starting with __ and the normal name is an alias. */
52301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52302 choke me
52303 #else
52304 char (*f) () = $ac_func;
52305 #endif
52306 #ifdef __cplusplus
52308 #endif
52311 main ()
52313 return f != $ac_func;
52315 return 0;
52317 _ACEOF
52318 rm -f conftest.$ac_objext conftest$ac_exeext
52319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52320 (eval $ac_link) 2>conftest.er1
52321 ac_status=$?
52322 grep -v '^ *+' conftest.er1 >conftest.err
52323 rm -f conftest.er1
52324 cat conftest.err >&5
52325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52326 (exit $ac_status); } &&
52327 { ac_try='test -z "$ac_c_werror_flag"
52328 || test ! -s conftest.err'
52329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52330 (eval $ac_try) 2>&5
52331 ac_status=$?
52332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52333 (exit $ac_status); }; } &&
52334 { ac_try='test -s conftest$ac_exeext'
52335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52336 (eval $ac_try) 2>&5
52337 ac_status=$?
52338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52339 (exit $ac_status); }; }; then
52340 eval "$as_ac_var=yes"
52341 else
52342 echo "$as_me: failed program was:" >&5
52343 sed 's/^/| /' conftest.$ac_ext >&5
52345 eval "$as_ac_var=no"
52347 rm -f conftest.err conftest.$ac_objext \
52348 conftest$ac_exeext conftest.$ac_ext
52350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52352 if test `eval echo '${'$as_ac_var'}'` = yes; then
52353 cat >>confdefs.h <<_ACEOF
52354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52355 _ACEOF
52358 done
52360 else
52362 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52363 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52364 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52365 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52366 echo $ECHO_N "(cached) $ECHO_C" >&6
52367 else
52371 ac_ext=cc
52372 ac_cpp='$CXXCPP $CPPFLAGS'
52373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52377 cat >conftest.$ac_ext <<_ACEOF
52378 /* confdefs.h. */
52379 _ACEOF
52380 cat confdefs.h >>conftest.$ac_ext
52381 cat >>conftest.$ac_ext <<_ACEOF
52382 /* end confdefs.h. */
52383 #include <math.h>
52385 main ()
52387 _powf(0, 0);
52389 return 0;
52391 _ACEOF
52392 rm -f conftest.$ac_objext
52393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52394 (eval $ac_compile) 2>conftest.er1
52395 ac_status=$?
52396 grep -v '^ *+' conftest.er1 >conftest.err
52397 rm -f conftest.er1
52398 cat conftest.err >&5
52399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52400 (exit $ac_status); } &&
52401 { ac_try='test -z "$ac_cxx_werror_flag"
52402 || test ! -s conftest.err'
52403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52404 (eval $ac_try) 2>&5
52405 ac_status=$?
52406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407 (exit $ac_status); }; } &&
52408 { ac_try='test -s conftest.$ac_objext'
52409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52410 (eval $ac_try) 2>&5
52411 ac_status=$?
52412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413 (exit $ac_status); }; }; then
52414 glibcxx_cv_func__powf_use=yes
52415 else
52416 echo "$as_me: failed program was:" >&5
52417 sed 's/^/| /' conftest.$ac_ext >&5
52419 glibcxx_cv_func__powf_use=no
52421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52422 ac_ext=c
52423 ac_cpp='$CPP $CPPFLAGS'
52424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52433 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52435 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52437 for ac_func in _powf
52439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52440 echo "$as_me:$LINENO: checking for $ac_func" >&5
52441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52442 if eval "test \"\${$as_ac_var+set}\" = set"; then
52443 echo $ECHO_N "(cached) $ECHO_C" >&6
52444 else
52445 if test x$gcc_no_link = xyes; then
52446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52448 { (exit 1); exit 1; }; }
52450 cat >conftest.$ac_ext <<_ACEOF
52451 /* confdefs.h. */
52452 _ACEOF
52453 cat confdefs.h >>conftest.$ac_ext
52454 cat >>conftest.$ac_ext <<_ACEOF
52455 /* end confdefs.h. */
52456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52458 #define $ac_func innocuous_$ac_func
52460 /* System header to define __stub macros and hopefully few prototypes,
52461 which can conflict with char $ac_func (); below.
52462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52463 <limits.h> exists even on freestanding compilers. */
52465 #ifdef __STDC__
52466 # include <limits.h>
52467 #else
52468 # include <assert.h>
52469 #endif
52471 #undef $ac_func
52473 /* Override any gcc2 internal prototype to avoid an error. */
52474 #ifdef __cplusplus
52475 extern "C"
52477 #endif
52478 /* We use char because int might match the return type of a gcc2
52479 builtin and then its argument prototype would still apply. */
52480 char $ac_func ();
52481 /* The GNU C library defines this for functions which it implements
52482 to always fail with ENOSYS. Some functions are actually named
52483 something starting with __ and the normal name is an alias. */
52484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52485 choke me
52486 #else
52487 char (*f) () = $ac_func;
52488 #endif
52489 #ifdef __cplusplus
52491 #endif
52494 main ()
52496 return f != $ac_func;
52498 return 0;
52500 _ACEOF
52501 rm -f conftest.$ac_objext conftest$ac_exeext
52502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52503 (eval $ac_link) 2>conftest.er1
52504 ac_status=$?
52505 grep -v '^ *+' conftest.er1 >conftest.err
52506 rm -f conftest.er1
52507 cat conftest.err >&5
52508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52509 (exit $ac_status); } &&
52510 { ac_try='test -z "$ac_c_werror_flag"
52511 || test ! -s conftest.err'
52512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52513 (eval $ac_try) 2>&5
52514 ac_status=$?
52515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516 (exit $ac_status); }; } &&
52517 { ac_try='test -s conftest$ac_exeext'
52518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52519 (eval $ac_try) 2>&5
52520 ac_status=$?
52521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52522 (exit $ac_status); }; }; then
52523 eval "$as_ac_var=yes"
52524 else
52525 echo "$as_me: failed program was:" >&5
52526 sed 's/^/| /' conftest.$ac_ext >&5
52528 eval "$as_ac_var=no"
52530 rm -f conftest.err conftest.$ac_objext \
52531 conftest$ac_exeext conftest.$ac_ext
52533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52535 if test `eval echo '${'$as_ac_var'}'` = yes; then
52536 cat >>confdefs.h <<_ACEOF
52537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52538 _ACEOF
52541 done
52551 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52552 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52553 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52554 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52555 echo $ECHO_N "(cached) $ECHO_C" >&6
52556 else
52560 ac_ext=cc
52561 ac_cpp='$CXXCPP $CPPFLAGS'
52562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52566 cat >conftest.$ac_ext <<_ACEOF
52567 /* confdefs.h. */
52568 _ACEOF
52569 cat confdefs.h >>conftest.$ac_ext
52570 cat >>conftest.$ac_ext <<_ACEOF
52571 /* end confdefs.h. */
52572 #include <math.h>
52573 #ifdef HAVE_IEEEFP_H
52574 #include <ieeefp.h>
52575 #endif
52578 main ()
52580 sqrtf(0);
52582 return 0;
52584 _ACEOF
52585 rm -f conftest.$ac_objext
52586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52587 (eval $ac_compile) 2>conftest.er1
52588 ac_status=$?
52589 grep -v '^ *+' conftest.er1 >conftest.err
52590 rm -f conftest.er1
52591 cat conftest.err >&5
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); } &&
52594 { ac_try='test -z "$ac_cxx_werror_flag"
52595 || test ! -s conftest.err'
52596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597 (eval $ac_try) 2>&5
52598 ac_status=$?
52599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600 (exit $ac_status); }; } &&
52601 { ac_try='test -s conftest.$ac_objext'
52602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603 (eval $ac_try) 2>&5
52604 ac_status=$?
52605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606 (exit $ac_status); }; }; then
52607 glibcxx_cv_func_sqrtf_use=yes
52608 else
52609 echo "$as_me: failed program was:" >&5
52610 sed 's/^/| /' conftest.$ac_ext >&5
52612 glibcxx_cv_func_sqrtf_use=no
52614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52615 ac_ext=c
52616 ac_cpp='$CPP $CPPFLAGS'
52617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52626 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52628 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52630 for ac_func in sqrtf
52632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52633 echo "$as_me:$LINENO: checking for $ac_func" >&5
52634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52635 if eval "test \"\${$as_ac_var+set}\" = set"; then
52636 echo $ECHO_N "(cached) $ECHO_C" >&6
52637 else
52638 if test x$gcc_no_link = xyes; then
52639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52641 { (exit 1); exit 1; }; }
52643 cat >conftest.$ac_ext <<_ACEOF
52644 /* confdefs.h. */
52645 _ACEOF
52646 cat confdefs.h >>conftest.$ac_ext
52647 cat >>conftest.$ac_ext <<_ACEOF
52648 /* end confdefs.h. */
52649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52651 #define $ac_func innocuous_$ac_func
52653 /* System header to define __stub macros and hopefully few prototypes,
52654 which can conflict with char $ac_func (); below.
52655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52656 <limits.h> exists even on freestanding compilers. */
52658 #ifdef __STDC__
52659 # include <limits.h>
52660 #else
52661 # include <assert.h>
52662 #endif
52664 #undef $ac_func
52666 /* Override any gcc2 internal prototype to avoid an error. */
52667 #ifdef __cplusplus
52668 extern "C"
52670 #endif
52671 /* We use char because int might match the return type of a gcc2
52672 builtin and then its argument prototype would still apply. */
52673 char $ac_func ();
52674 /* The GNU C library defines this for functions which it implements
52675 to always fail with ENOSYS. Some functions are actually named
52676 something starting with __ and the normal name is an alias. */
52677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52678 choke me
52679 #else
52680 char (*f) () = $ac_func;
52681 #endif
52682 #ifdef __cplusplus
52684 #endif
52687 main ()
52689 return f != $ac_func;
52691 return 0;
52693 _ACEOF
52694 rm -f conftest.$ac_objext conftest$ac_exeext
52695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52696 (eval $ac_link) 2>conftest.er1
52697 ac_status=$?
52698 grep -v '^ *+' conftest.er1 >conftest.err
52699 rm -f conftest.er1
52700 cat conftest.err >&5
52701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52702 (exit $ac_status); } &&
52703 { ac_try='test -z "$ac_c_werror_flag"
52704 || test ! -s conftest.err'
52705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52706 (eval $ac_try) 2>&5
52707 ac_status=$?
52708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52709 (exit $ac_status); }; } &&
52710 { ac_try='test -s conftest$ac_exeext'
52711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52712 (eval $ac_try) 2>&5
52713 ac_status=$?
52714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52715 (exit $ac_status); }; }; then
52716 eval "$as_ac_var=yes"
52717 else
52718 echo "$as_me: failed program was:" >&5
52719 sed 's/^/| /' conftest.$ac_ext >&5
52721 eval "$as_ac_var=no"
52723 rm -f conftest.err conftest.$ac_objext \
52724 conftest$ac_exeext conftest.$ac_ext
52726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52728 if test `eval echo '${'$as_ac_var'}'` = yes; then
52729 cat >>confdefs.h <<_ACEOF
52730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52731 _ACEOF
52734 done
52736 else
52738 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52739 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52740 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52741 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52742 echo $ECHO_N "(cached) $ECHO_C" >&6
52743 else
52747 ac_ext=cc
52748 ac_cpp='$CXXCPP $CPPFLAGS'
52749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52753 cat >conftest.$ac_ext <<_ACEOF
52754 /* confdefs.h. */
52755 _ACEOF
52756 cat confdefs.h >>conftest.$ac_ext
52757 cat >>conftest.$ac_ext <<_ACEOF
52758 /* end confdefs.h. */
52759 #include <math.h>
52760 #ifdef HAVE_IEEEFP_H
52761 #include <ieeefp.h>
52762 #endif
52765 main ()
52767 _sqrtf(0);
52769 return 0;
52771 _ACEOF
52772 rm -f conftest.$ac_objext
52773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52774 (eval $ac_compile) 2>conftest.er1
52775 ac_status=$?
52776 grep -v '^ *+' conftest.er1 >conftest.err
52777 rm -f conftest.er1
52778 cat conftest.err >&5
52779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52780 (exit $ac_status); } &&
52781 { ac_try='test -z "$ac_cxx_werror_flag"
52782 || test ! -s conftest.err'
52783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52784 (eval $ac_try) 2>&5
52785 ac_status=$?
52786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52787 (exit $ac_status); }; } &&
52788 { ac_try='test -s conftest.$ac_objext'
52789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52790 (eval $ac_try) 2>&5
52791 ac_status=$?
52792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52793 (exit $ac_status); }; }; then
52794 glibcxx_cv_func__sqrtf_use=yes
52795 else
52796 echo "$as_me: failed program was:" >&5
52797 sed 's/^/| /' conftest.$ac_ext >&5
52799 glibcxx_cv_func__sqrtf_use=no
52801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52802 ac_ext=c
52803 ac_cpp='$CPP $CPPFLAGS'
52804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52813 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52815 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52817 for ac_func in _sqrtf
52819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52820 echo "$as_me:$LINENO: checking for $ac_func" >&5
52821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52822 if eval "test \"\${$as_ac_var+set}\" = set"; then
52823 echo $ECHO_N "(cached) $ECHO_C" >&6
52824 else
52825 if test x$gcc_no_link = xyes; then
52826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52828 { (exit 1); exit 1; }; }
52830 cat >conftest.$ac_ext <<_ACEOF
52831 /* confdefs.h. */
52832 _ACEOF
52833 cat confdefs.h >>conftest.$ac_ext
52834 cat >>conftest.$ac_ext <<_ACEOF
52835 /* end confdefs.h. */
52836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52838 #define $ac_func innocuous_$ac_func
52840 /* System header to define __stub macros and hopefully few prototypes,
52841 which can conflict with char $ac_func (); below.
52842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52843 <limits.h> exists even on freestanding compilers. */
52845 #ifdef __STDC__
52846 # include <limits.h>
52847 #else
52848 # include <assert.h>
52849 #endif
52851 #undef $ac_func
52853 /* Override any gcc2 internal prototype to avoid an error. */
52854 #ifdef __cplusplus
52855 extern "C"
52857 #endif
52858 /* We use char because int might match the return type of a gcc2
52859 builtin and then its argument prototype would still apply. */
52860 char $ac_func ();
52861 /* The GNU C library defines this for functions which it implements
52862 to always fail with ENOSYS. Some functions are actually named
52863 something starting with __ and the normal name is an alias. */
52864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52865 choke me
52866 #else
52867 char (*f) () = $ac_func;
52868 #endif
52869 #ifdef __cplusplus
52871 #endif
52874 main ()
52876 return f != $ac_func;
52878 return 0;
52880 _ACEOF
52881 rm -f conftest.$ac_objext conftest$ac_exeext
52882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52883 (eval $ac_link) 2>conftest.er1
52884 ac_status=$?
52885 grep -v '^ *+' conftest.er1 >conftest.err
52886 rm -f conftest.er1
52887 cat conftest.err >&5
52888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889 (exit $ac_status); } &&
52890 { ac_try='test -z "$ac_c_werror_flag"
52891 || test ! -s conftest.err'
52892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893 (eval $ac_try) 2>&5
52894 ac_status=$?
52895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896 (exit $ac_status); }; } &&
52897 { ac_try='test -s conftest$ac_exeext'
52898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899 (eval $ac_try) 2>&5
52900 ac_status=$?
52901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902 (exit $ac_status); }; }; then
52903 eval "$as_ac_var=yes"
52904 else
52905 echo "$as_me: failed program was:" >&5
52906 sed 's/^/| /' conftest.$ac_ext >&5
52908 eval "$as_ac_var=no"
52910 rm -f conftest.err conftest.$ac_objext \
52911 conftest$ac_exeext conftest.$ac_ext
52913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52915 if test `eval echo '${'$as_ac_var'}'` = yes; then
52916 cat >>confdefs.h <<_ACEOF
52917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52918 _ACEOF
52921 done
52931 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52932 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52933 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52934 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52935 echo $ECHO_N "(cached) $ECHO_C" >&6
52936 else
52940 ac_ext=cc
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52946 cat >conftest.$ac_ext <<_ACEOF
52947 /* confdefs.h. */
52948 _ACEOF
52949 cat confdefs.h >>conftest.$ac_ext
52950 cat >>conftest.$ac_ext <<_ACEOF
52951 /* end confdefs.h. */
52952 #include <math.h>
52954 main ()
52956 sincosf(0, 0, 0);
52958 return 0;
52960 _ACEOF
52961 rm -f conftest.$ac_objext
52962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52963 (eval $ac_compile) 2>conftest.er1
52964 ac_status=$?
52965 grep -v '^ *+' conftest.er1 >conftest.err
52966 rm -f conftest.er1
52967 cat conftest.err >&5
52968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969 (exit $ac_status); } &&
52970 { ac_try='test -z "$ac_cxx_werror_flag"
52971 || test ! -s conftest.err'
52972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973 (eval $ac_try) 2>&5
52974 ac_status=$?
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); }; } &&
52977 { ac_try='test -s conftest.$ac_objext'
52978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52979 (eval $ac_try) 2>&5
52980 ac_status=$?
52981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52982 (exit $ac_status); }; }; then
52983 glibcxx_cv_func_sincosf_use=yes
52984 else
52985 echo "$as_me: failed program was:" >&5
52986 sed 's/^/| /' conftest.$ac_ext >&5
52988 glibcxx_cv_func_sincosf_use=no
52990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52991 ac_ext=c
52992 ac_cpp='$CPP $CPPFLAGS'
52993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53002 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53004 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53006 for ac_func in sincosf
53008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53009 echo "$as_me:$LINENO: checking for $ac_func" >&5
53010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53011 if eval "test \"\${$as_ac_var+set}\" = set"; then
53012 echo $ECHO_N "(cached) $ECHO_C" >&6
53013 else
53014 if test x$gcc_no_link = xyes; then
53015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53017 { (exit 1); exit 1; }; }
53019 cat >conftest.$ac_ext <<_ACEOF
53020 /* confdefs.h. */
53021 _ACEOF
53022 cat confdefs.h >>conftest.$ac_ext
53023 cat >>conftest.$ac_ext <<_ACEOF
53024 /* end confdefs.h. */
53025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53027 #define $ac_func innocuous_$ac_func
53029 /* System header to define __stub macros and hopefully few prototypes,
53030 which can conflict with char $ac_func (); below.
53031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53032 <limits.h> exists even on freestanding compilers. */
53034 #ifdef __STDC__
53035 # include <limits.h>
53036 #else
53037 # include <assert.h>
53038 #endif
53040 #undef $ac_func
53042 /* Override any gcc2 internal prototype to avoid an error. */
53043 #ifdef __cplusplus
53044 extern "C"
53046 #endif
53047 /* We use char because int might match the return type of a gcc2
53048 builtin and then its argument prototype would still apply. */
53049 char $ac_func ();
53050 /* The GNU C library defines this for functions which it implements
53051 to always fail with ENOSYS. Some functions are actually named
53052 something starting with __ and the normal name is an alias. */
53053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53054 choke me
53055 #else
53056 char (*f) () = $ac_func;
53057 #endif
53058 #ifdef __cplusplus
53060 #endif
53063 main ()
53065 return f != $ac_func;
53067 return 0;
53069 _ACEOF
53070 rm -f conftest.$ac_objext conftest$ac_exeext
53071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53072 (eval $ac_link) 2>conftest.er1
53073 ac_status=$?
53074 grep -v '^ *+' conftest.er1 >conftest.err
53075 rm -f conftest.er1
53076 cat conftest.err >&5
53077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53078 (exit $ac_status); } &&
53079 { ac_try='test -z "$ac_c_werror_flag"
53080 || test ! -s conftest.err'
53081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53082 (eval $ac_try) 2>&5
53083 ac_status=$?
53084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53085 (exit $ac_status); }; } &&
53086 { ac_try='test -s conftest$ac_exeext'
53087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53088 (eval $ac_try) 2>&5
53089 ac_status=$?
53090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091 (exit $ac_status); }; }; then
53092 eval "$as_ac_var=yes"
53093 else
53094 echo "$as_me: failed program was:" >&5
53095 sed 's/^/| /' conftest.$ac_ext >&5
53097 eval "$as_ac_var=no"
53099 rm -f conftest.err conftest.$ac_objext \
53100 conftest$ac_exeext conftest.$ac_ext
53102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53104 if test `eval echo '${'$as_ac_var'}'` = yes; then
53105 cat >>confdefs.h <<_ACEOF
53106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53107 _ACEOF
53110 done
53112 else
53114 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53115 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53116 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53117 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53118 echo $ECHO_N "(cached) $ECHO_C" >&6
53119 else
53123 ac_ext=cc
53124 ac_cpp='$CXXCPP $CPPFLAGS'
53125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53129 cat >conftest.$ac_ext <<_ACEOF
53130 /* confdefs.h. */
53131 _ACEOF
53132 cat confdefs.h >>conftest.$ac_ext
53133 cat >>conftest.$ac_ext <<_ACEOF
53134 /* end confdefs.h. */
53135 #include <math.h>
53137 main ()
53139 _sincosf(0, 0, 0);
53141 return 0;
53143 _ACEOF
53144 rm -f conftest.$ac_objext
53145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53146 (eval $ac_compile) 2>conftest.er1
53147 ac_status=$?
53148 grep -v '^ *+' conftest.er1 >conftest.err
53149 rm -f conftest.er1
53150 cat conftest.err >&5
53151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53152 (exit $ac_status); } &&
53153 { ac_try='test -z "$ac_cxx_werror_flag"
53154 || test ! -s conftest.err'
53155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53156 (eval $ac_try) 2>&5
53157 ac_status=$?
53158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159 (exit $ac_status); }; } &&
53160 { ac_try='test -s conftest.$ac_objext'
53161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53162 (eval $ac_try) 2>&5
53163 ac_status=$?
53164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165 (exit $ac_status); }; }; then
53166 glibcxx_cv_func__sincosf_use=yes
53167 else
53168 echo "$as_me: failed program was:" >&5
53169 sed 's/^/| /' conftest.$ac_ext >&5
53171 glibcxx_cv_func__sincosf_use=no
53173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53174 ac_ext=c
53175 ac_cpp='$CPP $CPPFLAGS'
53176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53184 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53185 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53187 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53189 for ac_func in _sincosf
53191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53192 echo "$as_me:$LINENO: checking for $ac_func" >&5
53193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53194 if eval "test \"\${$as_ac_var+set}\" = set"; then
53195 echo $ECHO_N "(cached) $ECHO_C" >&6
53196 else
53197 if test x$gcc_no_link = xyes; then
53198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53200 { (exit 1); exit 1; }; }
53202 cat >conftest.$ac_ext <<_ACEOF
53203 /* confdefs.h. */
53204 _ACEOF
53205 cat confdefs.h >>conftest.$ac_ext
53206 cat >>conftest.$ac_ext <<_ACEOF
53207 /* end confdefs.h. */
53208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53210 #define $ac_func innocuous_$ac_func
53212 /* System header to define __stub macros and hopefully few prototypes,
53213 which can conflict with char $ac_func (); below.
53214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53215 <limits.h> exists even on freestanding compilers. */
53217 #ifdef __STDC__
53218 # include <limits.h>
53219 #else
53220 # include <assert.h>
53221 #endif
53223 #undef $ac_func
53225 /* Override any gcc2 internal prototype to avoid an error. */
53226 #ifdef __cplusplus
53227 extern "C"
53229 #endif
53230 /* We use char because int might match the return type of a gcc2
53231 builtin and then its argument prototype would still apply. */
53232 char $ac_func ();
53233 /* The GNU C library defines this for functions which it implements
53234 to always fail with ENOSYS. Some functions are actually named
53235 something starting with __ and the normal name is an alias. */
53236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53237 choke me
53238 #else
53239 char (*f) () = $ac_func;
53240 #endif
53241 #ifdef __cplusplus
53243 #endif
53246 main ()
53248 return f != $ac_func;
53250 return 0;
53252 _ACEOF
53253 rm -f conftest.$ac_objext conftest$ac_exeext
53254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53255 (eval $ac_link) 2>conftest.er1
53256 ac_status=$?
53257 grep -v '^ *+' conftest.er1 >conftest.err
53258 rm -f conftest.er1
53259 cat conftest.err >&5
53260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53261 (exit $ac_status); } &&
53262 { ac_try='test -z "$ac_c_werror_flag"
53263 || test ! -s conftest.err'
53264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53265 (eval $ac_try) 2>&5
53266 ac_status=$?
53267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53268 (exit $ac_status); }; } &&
53269 { ac_try='test -s conftest$ac_exeext'
53270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53271 (eval $ac_try) 2>&5
53272 ac_status=$?
53273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274 (exit $ac_status); }; }; then
53275 eval "$as_ac_var=yes"
53276 else
53277 echo "$as_me: failed program was:" >&5
53278 sed 's/^/| /' conftest.$ac_ext >&5
53280 eval "$as_ac_var=no"
53282 rm -f conftest.err conftest.$ac_objext \
53283 conftest$ac_exeext conftest.$ac_ext
53285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53287 if test `eval echo '${'$as_ac_var'}'` = yes; then
53288 cat >>confdefs.h <<_ACEOF
53289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53290 _ACEOF
53293 done
53303 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53304 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53305 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53306 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53307 echo $ECHO_N "(cached) $ECHO_C" >&6
53308 else
53312 ac_ext=cc
53313 ac_cpp='$CXXCPP $CPPFLAGS'
53314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53318 cat >conftest.$ac_ext <<_ACEOF
53319 /* confdefs.h. */
53320 _ACEOF
53321 cat confdefs.h >>conftest.$ac_ext
53322 cat >>conftest.$ac_ext <<_ACEOF
53323 /* end confdefs.h. */
53324 #include <math.h>
53325 #ifdef HAVE_IEEEFP_H
53326 #include <ieeefp.h>
53327 #endif
53330 main ()
53332 finitef(0);
53334 return 0;
53336 _ACEOF
53337 rm -f conftest.$ac_objext
53338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53339 (eval $ac_compile) 2>conftest.er1
53340 ac_status=$?
53341 grep -v '^ *+' conftest.er1 >conftest.err
53342 rm -f conftest.er1
53343 cat conftest.err >&5
53344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53345 (exit $ac_status); } &&
53346 { ac_try='test -z "$ac_cxx_werror_flag"
53347 || test ! -s conftest.err'
53348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53349 (eval $ac_try) 2>&5
53350 ac_status=$?
53351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352 (exit $ac_status); }; } &&
53353 { ac_try='test -s conftest.$ac_objext'
53354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53355 (eval $ac_try) 2>&5
53356 ac_status=$?
53357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53358 (exit $ac_status); }; }; then
53359 glibcxx_cv_func_finitef_use=yes
53360 else
53361 echo "$as_me: failed program was:" >&5
53362 sed 's/^/| /' conftest.$ac_ext >&5
53364 glibcxx_cv_func_finitef_use=no
53366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53367 ac_ext=c
53368 ac_cpp='$CPP $CPPFLAGS'
53369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53378 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53380 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53382 for ac_func in finitef
53384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53385 echo "$as_me:$LINENO: checking for $ac_func" >&5
53386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53387 if eval "test \"\${$as_ac_var+set}\" = set"; then
53388 echo $ECHO_N "(cached) $ECHO_C" >&6
53389 else
53390 if test x$gcc_no_link = xyes; then
53391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53393 { (exit 1); exit 1; }; }
53395 cat >conftest.$ac_ext <<_ACEOF
53396 /* confdefs.h. */
53397 _ACEOF
53398 cat confdefs.h >>conftest.$ac_ext
53399 cat >>conftest.$ac_ext <<_ACEOF
53400 /* end confdefs.h. */
53401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53403 #define $ac_func innocuous_$ac_func
53405 /* System header to define __stub macros and hopefully few prototypes,
53406 which can conflict with char $ac_func (); below.
53407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53408 <limits.h> exists even on freestanding compilers. */
53410 #ifdef __STDC__
53411 # include <limits.h>
53412 #else
53413 # include <assert.h>
53414 #endif
53416 #undef $ac_func
53418 /* Override any gcc2 internal prototype to avoid an error. */
53419 #ifdef __cplusplus
53420 extern "C"
53422 #endif
53423 /* We use char because int might match the return type of a gcc2
53424 builtin and then its argument prototype would still apply. */
53425 char $ac_func ();
53426 /* The GNU C library defines this for functions which it implements
53427 to always fail with ENOSYS. Some functions are actually named
53428 something starting with __ and the normal name is an alias. */
53429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53430 choke me
53431 #else
53432 char (*f) () = $ac_func;
53433 #endif
53434 #ifdef __cplusplus
53436 #endif
53439 main ()
53441 return f != $ac_func;
53443 return 0;
53445 _ACEOF
53446 rm -f conftest.$ac_objext conftest$ac_exeext
53447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53448 (eval $ac_link) 2>conftest.er1
53449 ac_status=$?
53450 grep -v '^ *+' conftest.er1 >conftest.err
53451 rm -f conftest.er1
53452 cat conftest.err >&5
53453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53454 (exit $ac_status); } &&
53455 { ac_try='test -z "$ac_c_werror_flag"
53456 || test ! -s conftest.err'
53457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53458 (eval $ac_try) 2>&5
53459 ac_status=$?
53460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53461 (exit $ac_status); }; } &&
53462 { ac_try='test -s conftest$ac_exeext'
53463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53464 (eval $ac_try) 2>&5
53465 ac_status=$?
53466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53467 (exit $ac_status); }; }; then
53468 eval "$as_ac_var=yes"
53469 else
53470 echo "$as_me: failed program was:" >&5
53471 sed 's/^/| /' conftest.$ac_ext >&5
53473 eval "$as_ac_var=no"
53475 rm -f conftest.err conftest.$ac_objext \
53476 conftest$ac_exeext conftest.$ac_ext
53478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53480 if test `eval echo '${'$as_ac_var'}'` = yes; then
53481 cat >>confdefs.h <<_ACEOF
53482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53483 _ACEOF
53486 done
53488 else
53490 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53491 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53492 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53493 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53494 echo $ECHO_N "(cached) $ECHO_C" >&6
53495 else
53499 ac_ext=cc
53500 ac_cpp='$CXXCPP $CPPFLAGS'
53501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53505 cat >conftest.$ac_ext <<_ACEOF
53506 /* confdefs.h. */
53507 _ACEOF
53508 cat confdefs.h >>conftest.$ac_ext
53509 cat >>conftest.$ac_ext <<_ACEOF
53510 /* end confdefs.h. */
53511 #include <math.h>
53512 #ifdef HAVE_IEEEFP_H
53513 #include <ieeefp.h>
53514 #endif
53517 main ()
53519 _finitef(0);
53521 return 0;
53523 _ACEOF
53524 rm -f conftest.$ac_objext
53525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53526 (eval $ac_compile) 2>conftest.er1
53527 ac_status=$?
53528 grep -v '^ *+' conftest.er1 >conftest.err
53529 rm -f conftest.er1
53530 cat conftest.err >&5
53531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53532 (exit $ac_status); } &&
53533 { ac_try='test -z "$ac_cxx_werror_flag"
53534 || test ! -s conftest.err'
53535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53536 (eval $ac_try) 2>&5
53537 ac_status=$?
53538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53539 (exit $ac_status); }; } &&
53540 { ac_try='test -s conftest.$ac_objext'
53541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53542 (eval $ac_try) 2>&5
53543 ac_status=$?
53544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53545 (exit $ac_status); }; }; then
53546 glibcxx_cv_func__finitef_use=yes
53547 else
53548 echo "$as_me: failed program was:" >&5
53549 sed 's/^/| /' conftest.$ac_ext >&5
53551 glibcxx_cv_func__finitef_use=no
53553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53554 ac_ext=c
53555 ac_cpp='$CPP $CPPFLAGS'
53556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53565 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53567 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53569 for ac_func in _finitef
53571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53572 echo "$as_me:$LINENO: checking for $ac_func" >&5
53573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53574 if eval "test \"\${$as_ac_var+set}\" = set"; then
53575 echo $ECHO_N "(cached) $ECHO_C" >&6
53576 else
53577 if test x$gcc_no_link = xyes; then
53578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53580 { (exit 1); exit 1; }; }
53582 cat >conftest.$ac_ext <<_ACEOF
53583 /* confdefs.h. */
53584 _ACEOF
53585 cat confdefs.h >>conftest.$ac_ext
53586 cat >>conftest.$ac_ext <<_ACEOF
53587 /* end confdefs.h. */
53588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53590 #define $ac_func innocuous_$ac_func
53592 /* System header to define __stub macros and hopefully few prototypes,
53593 which can conflict with char $ac_func (); below.
53594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53595 <limits.h> exists even on freestanding compilers. */
53597 #ifdef __STDC__
53598 # include <limits.h>
53599 #else
53600 # include <assert.h>
53601 #endif
53603 #undef $ac_func
53605 /* Override any gcc2 internal prototype to avoid an error. */
53606 #ifdef __cplusplus
53607 extern "C"
53609 #endif
53610 /* We use char because int might match the return type of a gcc2
53611 builtin and then its argument prototype would still apply. */
53612 char $ac_func ();
53613 /* The GNU C library defines this for functions which it implements
53614 to always fail with ENOSYS. Some functions are actually named
53615 something starting with __ and the normal name is an alias. */
53616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53617 choke me
53618 #else
53619 char (*f) () = $ac_func;
53620 #endif
53621 #ifdef __cplusplus
53623 #endif
53626 main ()
53628 return f != $ac_func;
53630 return 0;
53632 _ACEOF
53633 rm -f conftest.$ac_objext conftest$ac_exeext
53634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53635 (eval $ac_link) 2>conftest.er1
53636 ac_status=$?
53637 grep -v '^ *+' conftest.er1 >conftest.err
53638 rm -f conftest.er1
53639 cat conftest.err >&5
53640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53641 (exit $ac_status); } &&
53642 { ac_try='test -z "$ac_c_werror_flag"
53643 || test ! -s conftest.err'
53644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53645 (eval $ac_try) 2>&5
53646 ac_status=$?
53647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53648 (exit $ac_status); }; } &&
53649 { ac_try='test -s conftest$ac_exeext'
53650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53651 (eval $ac_try) 2>&5
53652 ac_status=$?
53653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53654 (exit $ac_status); }; }; then
53655 eval "$as_ac_var=yes"
53656 else
53657 echo "$as_me: failed program was:" >&5
53658 sed 's/^/| /' conftest.$ac_ext >&5
53660 eval "$as_ac_var=no"
53662 rm -f conftest.err conftest.$ac_objext \
53663 conftest$ac_exeext conftest.$ac_ext
53665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53667 if test `eval echo '${'$as_ac_var'}'` = yes; then
53668 cat >>confdefs.h <<_ACEOF
53669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53670 _ACEOF
53673 done
53683 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53684 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53685 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53686 echo $ECHO_N "(cached) $ECHO_C" >&6
53687 else
53691 ac_ext=cc
53692 ac_cpp='$CXXCPP $CPPFLAGS'
53693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53697 cat >conftest.$ac_ext <<_ACEOF
53698 /* confdefs.h. */
53699 _ACEOF
53700 cat confdefs.h >>conftest.$ac_ext
53701 cat >>conftest.$ac_ext <<_ACEOF
53702 /* end confdefs.h. */
53703 #include <math.h>
53705 main ()
53707 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53709 return 0;
53711 _ACEOF
53712 rm -f conftest.$ac_objext
53713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53714 (eval $ac_compile) 2>conftest.er1
53715 ac_status=$?
53716 grep -v '^ *+' conftest.er1 >conftest.err
53717 rm -f conftest.er1
53718 cat conftest.err >&5
53719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53720 (exit $ac_status); } &&
53721 { ac_try='test -z "$ac_cxx_werror_flag"
53722 || test ! -s conftest.err'
53723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53724 (eval $ac_try) 2>&5
53725 ac_status=$?
53726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727 (exit $ac_status); }; } &&
53728 { ac_try='test -s conftest.$ac_objext'
53729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53730 (eval $ac_try) 2>&5
53731 ac_status=$?
53732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53733 (exit $ac_status); }; }; then
53734 glibcxx_cv_func_long_double_trig_use=yes
53735 else
53736 echo "$as_me: failed program was:" >&5
53737 sed 's/^/| /' conftest.$ac_ext >&5
53739 glibcxx_cv_func_long_double_trig_use=no
53741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53742 ac_ext=c
53743 ac_cpp='$CPP $CPPFLAGS'
53744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53751 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53752 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53762 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 echo "$as_me:$LINENO: checking for $ac_func" >&5
53766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53767 if eval "test \"\${$as_ac_var+set}\" = set"; then
53768 echo $ECHO_N "(cached) $ECHO_C" >&6
53769 else
53770 if test x$gcc_no_link = xyes; then
53771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53773 { (exit 1); exit 1; }; }
53775 cat >conftest.$ac_ext <<_ACEOF
53776 /* confdefs.h. */
53777 _ACEOF
53778 cat confdefs.h >>conftest.$ac_ext
53779 cat >>conftest.$ac_ext <<_ACEOF
53780 /* end confdefs.h. */
53781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53783 #define $ac_func innocuous_$ac_func
53785 /* System header to define __stub macros and hopefully few prototypes,
53786 which can conflict with char $ac_func (); below.
53787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53788 <limits.h> exists even on freestanding compilers. */
53790 #ifdef __STDC__
53791 # include <limits.h>
53792 #else
53793 # include <assert.h>
53794 #endif
53796 #undef $ac_func
53798 /* Override any gcc2 internal prototype to avoid an error. */
53799 #ifdef __cplusplus
53800 extern "C"
53802 #endif
53803 /* We use char because int might match the return type of a gcc2
53804 builtin and then its argument prototype would still apply. */
53805 char $ac_func ();
53806 /* The GNU C library defines this for functions which it implements
53807 to always fail with ENOSYS. Some functions are actually named
53808 something starting with __ and the normal name is an alias. */
53809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53810 choke me
53811 #else
53812 char (*f) () = $ac_func;
53813 #endif
53814 #ifdef __cplusplus
53816 #endif
53819 main ()
53821 return f != $ac_func;
53823 return 0;
53825 _ACEOF
53826 rm -f conftest.$ac_objext conftest$ac_exeext
53827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53828 (eval $ac_link) 2>conftest.er1
53829 ac_status=$?
53830 grep -v '^ *+' conftest.er1 >conftest.err
53831 rm -f conftest.er1
53832 cat conftest.err >&5
53833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53834 (exit $ac_status); } &&
53835 { ac_try='test -z "$ac_c_werror_flag"
53836 || test ! -s conftest.err'
53837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53838 (eval $ac_try) 2>&5
53839 ac_status=$?
53840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53841 (exit $ac_status); }; } &&
53842 { ac_try='test -s conftest$ac_exeext'
53843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53844 (eval $ac_try) 2>&5
53845 ac_status=$?
53846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53847 (exit $ac_status); }; }; then
53848 eval "$as_ac_var=yes"
53849 else
53850 echo "$as_me: failed program was:" >&5
53851 sed 's/^/| /' conftest.$ac_ext >&5
53853 eval "$as_ac_var=no"
53855 rm -f conftest.err conftest.$ac_objext \
53856 conftest$ac_exeext conftest.$ac_ext
53858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53860 if test `eval echo '${'$as_ac_var'}'` = yes; then
53861 cat >>confdefs.h <<_ACEOF
53862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53863 _ACEOF
53866 done
53868 else
53869 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53870 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53871 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53872 echo $ECHO_N "(cached) $ECHO_C" >&6
53873 else
53877 ac_ext=cc
53878 ac_cpp='$CXXCPP $CPPFLAGS'
53879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53883 cat >conftest.$ac_ext <<_ACEOF
53884 /* confdefs.h. */
53885 _ACEOF
53886 cat confdefs.h >>conftest.$ac_ext
53887 cat >>conftest.$ac_ext <<_ACEOF
53888 /* end confdefs.h. */
53889 #include <math.h>
53891 main ()
53893 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53895 return 0;
53897 _ACEOF
53898 rm -f conftest.$ac_objext
53899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53900 (eval $ac_compile) 2>conftest.er1
53901 ac_status=$?
53902 grep -v '^ *+' conftest.er1 >conftest.err
53903 rm -f conftest.er1
53904 cat conftest.err >&5
53905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906 (exit $ac_status); } &&
53907 { ac_try='test -z "$ac_cxx_werror_flag"
53908 || test ! -s conftest.err'
53909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910 (eval $ac_try) 2>&5
53911 ac_status=$?
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); }; } &&
53914 { ac_try='test -s conftest.$ac_objext'
53915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916 (eval $ac_try) 2>&5
53917 ac_status=$?
53918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919 (exit $ac_status); }; }; then
53920 glibcxx_cv_func__long_double_trig_use=yes
53921 else
53922 echo "$as_me: failed program was:" >&5
53923 sed 's/^/| /' conftest.$ac_ext >&5
53925 glibcxx_cv_func__long_double_trig_use=no
53927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53928 ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53937 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53938 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53948 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53951 echo "$as_me:$LINENO: checking for $ac_func" >&5
53952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53953 if eval "test \"\${$as_ac_var+set}\" = set"; then
53954 echo $ECHO_N "(cached) $ECHO_C" >&6
53955 else
53956 if test x$gcc_no_link = xyes; then
53957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53959 { (exit 1); exit 1; }; }
53961 cat >conftest.$ac_ext <<_ACEOF
53962 /* confdefs.h. */
53963 _ACEOF
53964 cat confdefs.h >>conftest.$ac_ext
53965 cat >>conftest.$ac_ext <<_ACEOF
53966 /* end confdefs.h. */
53967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53969 #define $ac_func innocuous_$ac_func
53971 /* System header to define __stub macros and hopefully few prototypes,
53972 which can conflict with char $ac_func (); below.
53973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53974 <limits.h> exists even on freestanding compilers. */
53976 #ifdef __STDC__
53977 # include <limits.h>
53978 #else
53979 # include <assert.h>
53980 #endif
53982 #undef $ac_func
53984 /* Override any gcc2 internal prototype to avoid an error. */
53985 #ifdef __cplusplus
53986 extern "C"
53988 #endif
53989 /* We use char because int might match the return type of a gcc2
53990 builtin and then its argument prototype would still apply. */
53991 char $ac_func ();
53992 /* The GNU C library defines this for functions which it implements
53993 to always fail with ENOSYS. Some functions are actually named
53994 something starting with __ and the normal name is an alias. */
53995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53996 choke me
53997 #else
53998 char (*f) () = $ac_func;
53999 #endif
54000 #ifdef __cplusplus
54002 #endif
54005 main ()
54007 return f != $ac_func;
54009 return 0;
54011 _ACEOF
54012 rm -f conftest.$ac_objext conftest$ac_exeext
54013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54014 (eval $ac_link) 2>conftest.er1
54015 ac_status=$?
54016 grep -v '^ *+' conftest.er1 >conftest.err
54017 rm -f conftest.er1
54018 cat conftest.err >&5
54019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54020 (exit $ac_status); } &&
54021 { ac_try='test -z "$ac_c_werror_flag"
54022 || test ! -s conftest.err'
54023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54024 (eval $ac_try) 2>&5
54025 ac_status=$?
54026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54027 (exit $ac_status); }; } &&
54028 { ac_try='test -s conftest$ac_exeext'
54029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54030 (eval $ac_try) 2>&5
54031 ac_status=$?
54032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033 (exit $ac_status); }; }; then
54034 eval "$as_ac_var=yes"
54035 else
54036 echo "$as_me: failed program was:" >&5
54037 sed 's/^/| /' conftest.$ac_ext >&5
54039 eval "$as_ac_var=no"
54041 rm -f conftest.err conftest.$ac_objext \
54042 conftest$ac_exeext conftest.$ac_ext
54044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54046 if test `eval echo '${'$as_ac_var'}'` = yes; then
54047 cat >>confdefs.h <<_ACEOF
54048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54049 _ACEOF
54052 done
54070 echo "$as_me:$LINENO: checking for long double round functions" >&5
54071 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54072 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54073 echo $ECHO_N "(cached) $ECHO_C" >&6
54074 else
54078 ac_ext=cc
54079 ac_cpp='$CXXCPP $CPPFLAGS'
54080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54084 cat >conftest.$ac_ext <<_ACEOF
54085 /* confdefs.h. */
54086 _ACEOF
54087 cat confdefs.h >>conftest.$ac_ext
54088 cat >>conftest.$ac_ext <<_ACEOF
54089 /* end confdefs.h. */
54090 #include <math.h>
54092 main ()
54094 ceill (0); floorl (0);
54096 return 0;
54098 _ACEOF
54099 rm -f conftest.$ac_objext
54100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54101 (eval $ac_compile) 2>conftest.er1
54102 ac_status=$?
54103 grep -v '^ *+' conftest.er1 >conftest.err
54104 rm -f conftest.er1
54105 cat conftest.err >&5
54106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54107 (exit $ac_status); } &&
54108 { ac_try='test -z "$ac_cxx_werror_flag"
54109 || test ! -s conftest.err'
54110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54111 (eval $ac_try) 2>&5
54112 ac_status=$?
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); }; } &&
54115 { ac_try='test -s conftest.$ac_objext'
54116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54117 (eval $ac_try) 2>&5
54118 ac_status=$?
54119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54120 (exit $ac_status); }; }; then
54121 glibcxx_cv_func_long_double_round_use=yes
54122 else
54123 echo "$as_me: failed program was:" >&5
54124 sed 's/^/| /' conftest.$ac_ext >&5
54126 glibcxx_cv_func_long_double_round_use=no
54128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54129 ac_ext=c
54130 ac_cpp='$CPP $CPPFLAGS'
54131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54138 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54139 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54142 for ac_func in ceill floorl
54144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54145 echo "$as_me:$LINENO: checking for $ac_func" >&5
54146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54147 if eval "test \"\${$as_ac_var+set}\" = set"; then
54148 echo $ECHO_N "(cached) $ECHO_C" >&6
54149 else
54150 if test x$gcc_no_link = xyes; then
54151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54153 { (exit 1); exit 1; }; }
54155 cat >conftest.$ac_ext <<_ACEOF
54156 /* confdefs.h. */
54157 _ACEOF
54158 cat confdefs.h >>conftest.$ac_ext
54159 cat >>conftest.$ac_ext <<_ACEOF
54160 /* end confdefs.h. */
54161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54163 #define $ac_func innocuous_$ac_func
54165 /* System header to define __stub macros and hopefully few prototypes,
54166 which can conflict with char $ac_func (); below.
54167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54168 <limits.h> exists even on freestanding compilers. */
54170 #ifdef __STDC__
54171 # include <limits.h>
54172 #else
54173 # include <assert.h>
54174 #endif
54176 #undef $ac_func
54178 /* Override any gcc2 internal prototype to avoid an error. */
54179 #ifdef __cplusplus
54180 extern "C"
54182 #endif
54183 /* We use char because int might match the return type of a gcc2
54184 builtin and then its argument prototype would still apply. */
54185 char $ac_func ();
54186 /* The GNU C library defines this for functions which it implements
54187 to always fail with ENOSYS. Some functions are actually named
54188 something starting with __ and the normal name is an alias. */
54189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54190 choke me
54191 #else
54192 char (*f) () = $ac_func;
54193 #endif
54194 #ifdef __cplusplus
54196 #endif
54199 main ()
54201 return f != $ac_func;
54203 return 0;
54205 _ACEOF
54206 rm -f conftest.$ac_objext conftest$ac_exeext
54207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54208 (eval $ac_link) 2>conftest.er1
54209 ac_status=$?
54210 grep -v '^ *+' conftest.er1 >conftest.err
54211 rm -f conftest.er1
54212 cat conftest.err >&5
54213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54214 (exit $ac_status); } &&
54215 { ac_try='test -z "$ac_c_werror_flag"
54216 || test ! -s conftest.err'
54217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54218 (eval $ac_try) 2>&5
54219 ac_status=$?
54220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221 (exit $ac_status); }; } &&
54222 { ac_try='test -s conftest$ac_exeext'
54223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54224 (eval $ac_try) 2>&5
54225 ac_status=$?
54226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54227 (exit $ac_status); }; }; then
54228 eval "$as_ac_var=yes"
54229 else
54230 echo "$as_me: failed program was:" >&5
54231 sed 's/^/| /' conftest.$ac_ext >&5
54233 eval "$as_ac_var=no"
54235 rm -f conftest.err conftest.$ac_objext \
54236 conftest$ac_exeext conftest.$ac_ext
54238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54240 if test `eval echo '${'$as_ac_var'}'` = yes; then
54241 cat >>confdefs.h <<_ACEOF
54242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54243 _ACEOF
54246 done
54248 else
54249 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54250 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54251 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54252 echo $ECHO_N "(cached) $ECHO_C" >&6
54253 else
54257 ac_ext=cc
54258 ac_cpp='$CXXCPP $CPPFLAGS'
54259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54263 cat >conftest.$ac_ext <<_ACEOF
54264 /* confdefs.h. */
54265 _ACEOF
54266 cat confdefs.h >>conftest.$ac_ext
54267 cat >>conftest.$ac_ext <<_ACEOF
54268 /* end confdefs.h. */
54269 #include <math.h>
54271 main ()
54273 _ceill (0); _floorl (0);
54275 return 0;
54277 _ACEOF
54278 rm -f conftest.$ac_objext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54280 (eval $ac_compile) 2>conftest.er1
54281 ac_status=$?
54282 grep -v '^ *+' conftest.er1 >conftest.err
54283 rm -f conftest.er1
54284 cat conftest.err >&5
54285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286 (exit $ac_status); } &&
54287 { ac_try='test -z "$ac_cxx_werror_flag"
54288 || test ! -s conftest.err'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54291 ac_status=$?
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; } &&
54294 { ac_try='test -s conftest.$ac_objext'
54295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296 (eval $ac_try) 2>&5
54297 ac_status=$?
54298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299 (exit $ac_status); }; }; then
54300 glibcxx_cv_func__long_double_round_use=yes
54301 else
54302 echo "$as_me: failed program was:" >&5
54303 sed 's/^/| /' conftest.$ac_ext >&5
54305 glibcxx_cv_func__long_double_round_use=no
54307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54308 ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54317 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54318 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54321 for ac_func in _ceill _floorl
54323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54324 echo "$as_me:$LINENO: checking for $ac_func" >&5
54325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54326 if eval "test \"\${$as_ac_var+set}\" = set"; then
54327 echo $ECHO_N "(cached) $ECHO_C" >&6
54328 else
54329 if test x$gcc_no_link = xyes; then
54330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54332 { (exit 1); exit 1; }; }
54334 cat >conftest.$ac_ext <<_ACEOF
54335 /* confdefs.h. */
54336 _ACEOF
54337 cat confdefs.h >>conftest.$ac_ext
54338 cat >>conftest.$ac_ext <<_ACEOF
54339 /* end confdefs.h. */
54340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54342 #define $ac_func innocuous_$ac_func
54344 /* System header to define __stub macros and hopefully few prototypes,
54345 which can conflict with char $ac_func (); below.
54346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54347 <limits.h> exists even on freestanding compilers. */
54349 #ifdef __STDC__
54350 # include <limits.h>
54351 #else
54352 # include <assert.h>
54353 #endif
54355 #undef $ac_func
54357 /* Override any gcc2 internal prototype to avoid an error. */
54358 #ifdef __cplusplus
54359 extern "C"
54361 #endif
54362 /* We use char because int might match the return type of a gcc2
54363 builtin and then its argument prototype would still apply. */
54364 char $ac_func ();
54365 /* The GNU C library defines this for functions which it implements
54366 to always fail with ENOSYS. Some functions are actually named
54367 something starting with __ and the normal name is an alias. */
54368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54369 choke me
54370 #else
54371 char (*f) () = $ac_func;
54372 #endif
54373 #ifdef __cplusplus
54375 #endif
54378 main ()
54380 return f != $ac_func;
54382 return 0;
54384 _ACEOF
54385 rm -f conftest.$ac_objext conftest$ac_exeext
54386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54387 (eval $ac_link) 2>conftest.er1
54388 ac_status=$?
54389 grep -v '^ *+' conftest.er1 >conftest.err
54390 rm -f conftest.er1
54391 cat conftest.err >&5
54392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54393 (exit $ac_status); } &&
54394 { ac_try='test -z "$ac_c_werror_flag"
54395 || test ! -s conftest.err'
54396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54397 (eval $ac_try) 2>&5
54398 ac_status=$?
54399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54400 (exit $ac_status); }; } &&
54401 { ac_try='test -s conftest$ac_exeext'
54402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54403 (eval $ac_try) 2>&5
54404 ac_status=$?
54405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54406 (exit $ac_status); }; }; then
54407 eval "$as_ac_var=yes"
54408 else
54409 echo "$as_me: failed program was:" >&5
54410 sed 's/^/| /' conftest.$ac_ext >&5
54412 eval "$as_ac_var=no"
54414 rm -f conftest.err conftest.$ac_objext \
54415 conftest$ac_exeext conftest.$ac_ext
54417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54419 if test `eval echo '${'$as_ac_var'}'` = yes; then
54420 cat >>confdefs.h <<_ACEOF
54421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54422 _ACEOF
54425 done
54437 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54438 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54439 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54440 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54441 echo $ECHO_N "(cached) $ECHO_C" >&6
54442 else
54446 ac_ext=cc
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452 cat >conftest.$ac_ext <<_ACEOF
54453 /* confdefs.h. */
54454 _ACEOF
54455 cat confdefs.h >>conftest.$ac_ext
54456 cat >>conftest.$ac_ext <<_ACEOF
54457 /* end confdefs.h. */
54458 #include <math.h>
54459 #ifdef HAVE_IEEEFP_H
54460 #include <ieeefp.h>
54461 #endif
54464 main ()
54466 isnanl(0);
54468 return 0;
54470 _ACEOF
54471 rm -f conftest.$ac_objext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54473 (eval $ac_compile) 2>conftest.er1
54474 ac_status=$?
54475 grep -v '^ *+' conftest.er1 >conftest.err
54476 rm -f conftest.er1
54477 cat conftest.err >&5
54478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479 (exit $ac_status); } &&
54480 { ac_try='test -z "$ac_cxx_werror_flag"
54481 || test ! -s conftest.err'
54482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483 (eval $ac_try) 2>&5
54484 ac_status=$?
54485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486 (exit $ac_status); }; } &&
54487 { ac_try='test -s conftest.$ac_objext'
54488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489 (eval $ac_try) 2>&5
54490 ac_status=$?
54491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492 (exit $ac_status); }; }; then
54493 glibcxx_cv_func_isnanl_use=yes
54494 else
54495 echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54498 glibcxx_cv_func_isnanl_use=no
54500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54512 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54514 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54516 for ac_func in isnanl
54518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54519 echo "$as_me:$LINENO: checking for $ac_func" >&5
54520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54521 if eval "test \"\${$as_ac_var+set}\" = set"; then
54522 echo $ECHO_N "(cached) $ECHO_C" >&6
54523 else
54524 if test x$gcc_no_link = xyes; then
54525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54527 { (exit 1); exit 1; }; }
54529 cat >conftest.$ac_ext <<_ACEOF
54530 /* confdefs.h. */
54531 _ACEOF
54532 cat confdefs.h >>conftest.$ac_ext
54533 cat >>conftest.$ac_ext <<_ACEOF
54534 /* end confdefs.h. */
54535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54537 #define $ac_func innocuous_$ac_func
54539 /* System header to define __stub macros and hopefully few prototypes,
54540 which can conflict with char $ac_func (); below.
54541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54542 <limits.h> exists even on freestanding compilers. */
54544 #ifdef __STDC__
54545 # include <limits.h>
54546 #else
54547 # include <assert.h>
54548 #endif
54550 #undef $ac_func
54552 /* Override any gcc2 internal prototype to avoid an error. */
54553 #ifdef __cplusplus
54554 extern "C"
54556 #endif
54557 /* We use char because int might match the return type of a gcc2
54558 builtin and then its argument prototype would still apply. */
54559 char $ac_func ();
54560 /* The GNU C library defines this for functions which it implements
54561 to always fail with ENOSYS. Some functions are actually named
54562 something starting with __ and the normal name is an alias. */
54563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54564 choke me
54565 #else
54566 char (*f) () = $ac_func;
54567 #endif
54568 #ifdef __cplusplus
54570 #endif
54573 main ()
54575 return f != $ac_func;
54577 return 0;
54579 _ACEOF
54580 rm -f conftest.$ac_objext conftest$ac_exeext
54581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54582 (eval $ac_link) 2>conftest.er1
54583 ac_status=$?
54584 grep -v '^ *+' conftest.er1 >conftest.err
54585 rm -f conftest.er1
54586 cat conftest.err >&5
54587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54588 (exit $ac_status); } &&
54589 { ac_try='test -z "$ac_c_werror_flag"
54590 || test ! -s conftest.err'
54591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592 (eval $ac_try) 2>&5
54593 ac_status=$?
54594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595 (exit $ac_status); }; } &&
54596 { ac_try='test -s conftest$ac_exeext'
54597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54598 (eval $ac_try) 2>&5
54599 ac_status=$?
54600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54601 (exit $ac_status); }; }; then
54602 eval "$as_ac_var=yes"
54603 else
54604 echo "$as_me: failed program was:" >&5
54605 sed 's/^/| /' conftest.$ac_ext >&5
54607 eval "$as_ac_var=no"
54609 rm -f conftest.err conftest.$ac_objext \
54610 conftest$ac_exeext conftest.$ac_ext
54612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54614 if test `eval echo '${'$as_ac_var'}'` = yes; then
54615 cat >>confdefs.h <<_ACEOF
54616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54617 _ACEOF
54620 done
54622 else
54624 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54625 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54626 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54627 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54628 echo $ECHO_N "(cached) $ECHO_C" >&6
54629 else
54633 ac_ext=cc
54634 ac_cpp='$CXXCPP $CPPFLAGS'
54635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639 cat >conftest.$ac_ext <<_ACEOF
54640 /* confdefs.h. */
54641 _ACEOF
54642 cat confdefs.h >>conftest.$ac_ext
54643 cat >>conftest.$ac_ext <<_ACEOF
54644 /* end confdefs.h. */
54645 #include <math.h>
54646 #ifdef HAVE_IEEEFP_H
54647 #include <ieeefp.h>
54648 #endif
54651 main ()
54653 _isnanl(0);
54655 return 0;
54657 _ACEOF
54658 rm -f conftest.$ac_objext
54659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54660 (eval $ac_compile) 2>conftest.er1
54661 ac_status=$?
54662 grep -v '^ *+' conftest.er1 >conftest.err
54663 rm -f conftest.er1
54664 cat conftest.err >&5
54665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666 (exit $ac_status); } &&
54667 { ac_try='test -z "$ac_cxx_werror_flag"
54668 || test ! -s conftest.err'
54669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54670 (eval $ac_try) 2>&5
54671 ac_status=$?
54672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673 (exit $ac_status); }; } &&
54674 { ac_try='test -s conftest.$ac_objext'
54675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54676 (eval $ac_try) 2>&5
54677 ac_status=$?
54678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679 (exit $ac_status); }; }; then
54680 glibcxx_cv_func__isnanl_use=yes
54681 else
54682 echo "$as_me: failed program was:" >&5
54683 sed 's/^/| /' conftest.$ac_ext >&5
54685 glibcxx_cv_func__isnanl_use=no
54687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54688 ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54699 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54701 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54703 for ac_func in _isnanl
54705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54706 echo "$as_me:$LINENO: checking for $ac_func" >&5
54707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54708 if eval "test \"\${$as_ac_var+set}\" = set"; then
54709 echo $ECHO_N "(cached) $ECHO_C" >&6
54710 else
54711 if test x$gcc_no_link = xyes; then
54712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54714 { (exit 1); exit 1; }; }
54716 cat >conftest.$ac_ext <<_ACEOF
54717 /* confdefs.h. */
54718 _ACEOF
54719 cat confdefs.h >>conftest.$ac_ext
54720 cat >>conftest.$ac_ext <<_ACEOF
54721 /* end confdefs.h. */
54722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54724 #define $ac_func innocuous_$ac_func
54726 /* System header to define __stub macros and hopefully few prototypes,
54727 which can conflict with char $ac_func (); below.
54728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54729 <limits.h> exists even on freestanding compilers. */
54731 #ifdef __STDC__
54732 # include <limits.h>
54733 #else
54734 # include <assert.h>
54735 #endif
54737 #undef $ac_func
54739 /* Override any gcc2 internal prototype to avoid an error. */
54740 #ifdef __cplusplus
54741 extern "C"
54743 #endif
54744 /* We use char because int might match the return type of a gcc2
54745 builtin and then its argument prototype would still apply. */
54746 char $ac_func ();
54747 /* The GNU C library defines this for functions which it implements
54748 to always fail with ENOSYS. Some functions are actually named
54749 something starting with __ and the normal name is an alias. */
54750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54751 choke me
54752 #else
54753 char (*f) () = $ac_func;
54754 #endif
54755 #ifdef __cplusplus
54757 #endif
54760 main ()
54762 return f != $ac_func;
54764 return 0;
54766 _ACEOF
54767 rm -f conftest.$ac_objext conftest$ac_exeext
54768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54769 (eval $ac_link) 2>conftest.er1
54770 ac_status=$?
54771 grep -v '^ *+' conftest.er1 >conftest.err
54772 rm -f conftest.er1
54773 cat conftest.err >&5
54774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54775 (exit $ac_status); } &&
54776 { ac_try='test -z "$ac_c_werror_flag"
54777 || test ! -s conftest.err'
54778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54779 (eval $ac_try) 2>&5
54780 ac_status=$?
54781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782 (exit $ac_status); }; } &&
54783 { ac_try='test -s conftest$ac_exeext'
54784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54785 (eval $ac_try) 2>&5
54786 ac_status=$?
54787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54788 (exit $ac_status); }; }; then
54789 eval "$as_ac_var=yes"
54790 else
54791 echo "$as_me: failed program was:" >&5
54792 sed 's/^/| /' conftest.$ac_ext >&5
54794 eval "$as_ac_var=no"
54796 rm -f conftest.err conftest.$ac_objext \
54797 conftest$ac_exeext conftest.$ac_ext
54799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54801 if test `eval echo '${'$as_ac_var'}'` = yes; then
54802 cat >>confdefs.h <<_ACEOF
54803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54804 _ACEOF
54807 done
54817 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54818 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54819 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54820 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54821 echo $ECHO_N "(cached) $ECHO_C" >&6
54822 else
54826 ac_ext=cc
54827 ac_cpp='$CXXCPP $CPPFLAGS'
54828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54832 cat >conftest.$ac_ext <<_ACEOF
54833 /* confdefs.h. */
54834 _ACEOF
54835 cat confdefs.h >>conftest.$ac_ext
54836 cat >>conftest.$ac_ext <<_ACEOF
54837 /* end confdefs.h. */
54838 #include <math.h>
54839 #ifdef HAVE_IEEEFP_H
54840 #include <ieeefp.h>
54841 #endif
54844 main ()
54846 isinfl(0);
54848 return 0;
54850 _ACEOF
54851 rm -f conftest.$ac_objext
54852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54853 (eval $ac_compile) 2>conftest.er1
54854 ac_status=$?
54855 grep -v '^ *+' conftest.er1 >conftest.err
54856 rm -f conftest.er1
54857 cat conftest.err >&5
54858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54859 (exit $ac_status); } &&
54860 { ac_try='test -z "$ac_cxx_werror_flag"
54861 || test ! -s conftest.err'
54862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863 (eval $ac_try) 2>&5
54864 ac_status=$?
54865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866 (exit $ac_status); }; } &&
54867 { ac_try='test -s conftest.$ac_objext'
54868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54869 (eval $ac_try) 2>&5
54870 ac_status=$?
54871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54872 (exit $ac_status); }; }; then
54873 glibcxx_cv_func_isinfl_use=yes
54874 else
54875 echo "$as_me: failed program was:" >&5
54876 sed 's/^/| /' conftest.$ac_ext >&5
54878 glibcxx_cv_func_isinfl_use=no
54880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54881 ac_ext=c
54882 ac_cpp='$CPP $CPPFLAGS'
54883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54892 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54894 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54896 for ac_func in isinfl
54898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54899 echo "$as_me:$LINENO: checking for $ac_func" >&5
54900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54901 if eval "test \"\${$as_ac_var+set}\" = set"; then
54902 echo $ECHO_N "(cached) $ECHO_C" >&6
54903 else
54904 if test x$gcc_no_link = xyes; then
54905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54907 { (exit 1); exit 1; }; }
54909 cat >conftest.$ac_ext <<_ACEOF
54910 /* confdefs.h. */
54911 _ACEOF
54912 cat confdefs.h >>conftest.$ac_ext
54913 cat >>conftest.$ac_ext <<_ACEOF
54914 /* end confdefs.h. */
54915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54917 #define $ac_func innocuous_$ac_func
54919 /* System header to define __stub macros and hopefully few prototypes,
54920 which can conflict with char $ac_func (); below.
54921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54922 <limits.h> exists even on freestanding compilers. */
54924 #ifdef __STDC__
54925 # include <limits.h>
54926 #else
54927 # include <assert.h>
54928 #endif
54930 #undef $ac_func
54932 /* Override any gcc2 internal prototype to avoid an error. */
54933 #ifdef __cplusplus
54934 extern "C"
54936 #endif
54937 /* We use char because int might match the return type of a gcc2
54938 builtin and then its argument prototype would still apply. */
54939 char $ac_func ();
54940 /* The GNU C library defines this for functions which it implements
54941 to always fail with ENOSYS. Some functions are actually named
54942 something starting with __ and the normal name is an alias. */
54943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54944 choke me
54945 #else
54946 char (*f) () = $ac_func;
54947 #endif
54948 #ifdef __cplusplus
54950 #endif
54953 main ()
54955 return f != $ac_func;
54957 return 0;
54959 _ACEOF
54960 rm -f conftest.$ac_objext conftest$ac_exeext
54961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54962 (eval $ac_link) 2>conftest.er1
54963 ac_status=$?
54964 grep -v '^ *+' conftest.er1 >conftest.err
54965 rm -f conftest.er1
54966 cat conftest.err >&5
54967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54968 (exit $ac_status); } &&
54969 { ac_try='test -z "$ac_c_werror_flag"
54970 || test ! -s conftest.err'
54971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54972 (eval $ac_try) 2>&5
54973 ac_status=$?
54974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975 (exit $ac_status); }; } &&
54976 { ac_try='test -s conftest$ac_exeext'
54977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54978 (eval $ac_try) 2>&5
54979 ac_status=$?
54980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54981 (exit $ac_status); }; }; then
54982 eval "$as_ac_var=yes"
54983 else
54984 echo "$as_me: failed program was:" >&5
54985 sed 's/^/| /' conftest.$ac_ext >&5
54987 eval "$as_ac_var=no"
54989 rm -f conftest.err conftest.$ac_objext \
54990 conftest$ac_exeext conftest.$ac_ext
54992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54994 if test `eval echo '${'$as_ac_var'}'` = yes; then
54995 cat >>confdefs.h <<_ACEOF
54996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54997 _ACEOF
55000 done
55002 else
55004 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55005 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55006 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55007 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55008 echo $ECHO_N "(cached) $ECHO_C" >&6
55009 else
55013 ac_ext=cc
55014 ac_cpp='$CXXCPP $CPPFLAGS'
55015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55019 cat >conftest.$ac_ext <<_ACEOF
55020 /* confdefs.h. */
55021 _ACEOF
55022 cat confdefs.h >>conftest.$ac_ext
55023 cat >>conftest.$ac_ext <<_ACEOF
55024 /* end confdefs.h. */
55025 #include <math.h>
55026 #ifdef HAVE_IEEEFP_H
55027 #include <ieeefp.h>
55028 #endif
55031 main ()
55033 _isinfl(0);
55035 return 0;
55037 _ACEOF
55038 rm -f conftest.$ac_objext
55039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55040 (eval $ac_compile) 2>conftest.er1
55041 ac_status=$?
55042 grep -v '^ *+' conftest.er1 >conftest.err
55043 rm -f conftest.er1
55044 cat conftest.err >&5
55045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046 (exit $ac_status); } &&
55047 { ac_try='test -z "$ac_cxx_werror_flag"
55048 || test ! -s conftest.err'
55049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55050 (eval $ac_try) 2>&5
55051 ac_status=$?
55052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55053 (exit $ac_status); }; } &&
55054 { ac_try='test -s conftest.$ac_objext'
55055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55056 (eval $ac_try) 2>&5
55057 ac_status=$?
55058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55059 (exit $ac_status); }; }; then
55060 glibcxx_cv_func__isinfl_use=yes
55061 else
55062 echo "$as_me: failed program was:" >&5
55063 sed 's/^/| /' conftest.$ac_ext >&5
55065 glibcxx_cv_func__isinfl_use=no
55067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55068 ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55079 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55081 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55083 for ac_func in _isinfl
55085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55086 echo "$as_me:$LINENO: checking for $ac_func" >&5
55087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55088 if eval "test \"\${$as_ac_var+set}\" = set"; then
55089 echo $ECHO_N "(cached) $ECHO_C" >&6
55090 else
55091 if test x$gcc_no_link = xyes; then
55092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55094 { (exit 1); exit 1; }; }
55096 cat >conftest.$ac_ext <<_ACEOF
55097 /* confdefs.h. */
55098 _ACEOF
55099 cat confdefs.h >>conftest.$ac_ext
55100 cat >>conftest.$ac_ext <<_ACEOF
55101 /* end confdefs.h. */
55102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55104 #define $ac_func innocuous_$ac_func
55106 /* System header to define __stub macros and hopefully few prototypes,
55107 which can conflict with char $ac_func (); below.
55108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55109 <limits.h> exists even on freestanding compilers. */
55111 #ifdef __STDC__
55112 # include <limits.h>
55113 #else
55114 # include <assert.h>
55115 #endif
55117 #undef $ac_func
55119 /* Override any gcc2 internal prototype to avoid an error. */
55120 #ifdef __cplusplus
55121 extern "C"
55123 #endif
55124 /* We use char because int might match the return type of a gcc2
55125 builtin and then its argument prototype would still apply. */
55126 char $ac_func ();
55127 /* The GNU C library defines this for functions which it implements
55128 to always fail with ENOSYS. Some functions are actually named
55129 something starting with __ and the normal name is an alias. */
55130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55131 choke me
55132 #else
55133 char (*f) () = $ac_func;
55134 #endif
55135 #ifdef __cplusplus
55137 #endif
55140 main ()
55142 return f != $ac_func;
55144 return 0;
55146 _ACEOF
55147 rm -f conftest.$ac_objext conftest$ac_exeext
55148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55149 (eval $ac_link) 2>conftest.er1
55150 ac_status=$?
55151 grep -v '^ *+' conftest.er1 >conftest.err
55152 rm -f conftest.er1
55153 cat conftest.err >&5
55154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55155 (exit $ac_status); } &&
55156 { ac_try='test -z "$ac_c_werror_flag"
55157 || test ! -s conftest.err'
55158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55159 (eval $ac_try) 2>&5
55160 ac_status=$?
55161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55162 (exit $ac_status); }; } &&
55163 { ac_try='test -s conftest$ac_exeext'
55164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55165 (eval $ac_try) 2>&5
55166 ac_status=$?
55167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55168 (exit $ac_status); }; }; then
55169 eval "$as_ac_var=yes"
55170 else
55171 echo "$as_me: failed program was:" >&5
55172 sed 's/^/| /' conftest.$ac_ext >&5
55174 eval "$as_ac_var=no"
55176 rm -f conftest.err conftest.$ac_objext \
55177 conftest$ac_exeext conftest.$ac_ext
55179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55181 if test `eval echo '${'$as_ac_var'}'` = yes; then
55182 cat >>confdefs.h <<_ACEOF
55183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55184 _ACEOF
55187 done
55197 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55198 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55199 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55200 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55201 echo $ECHO_N "(cached) $ECHO_C" >&6
55202 else
55206 ac_ext=cc
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat >conftest.$ac_ext <<_ACEOF
55213 /* confdefs.h. */
55214 _ACEOF
55215 cat confdefs.h >>conftest.$ac_ext
55216 cat >>conftest.$ac_ext <<_ACEOF
55217 /* end confdefs.h. */
55218 #include <math.h>
55220 main ()
55222 copysignl(0, 0);
55224 return 0;
55226 _ACEOF
55227 rm -f conftest.$ac_objext
55228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55229 (eval $ac_compile) 2>conftest.er1
55230 ac_status=$?
55231 grep -v '^ *+' conftest.er1 >conftest.err
55232 rm -f conftest.er1
55233 cat conftest.err >&5
55234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55235 (exit $ac_status); } &&
55236 { ac_try='test -z "$ac_cxx_werror_flag"
55237 || test ! -s conftest.err'
55238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55239 (eval $ac_try) 2>&5
55240 ac_status=$?
55241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55242 (exit $ac_status); }; } &&
55243 { ac_try='test -s conftest.$ac_objext'
55244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55245 (eval $ac_try) 2>&5
55246 ac_status=$?
55247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55248 (exit $ac_status); }; }; then
55249 glibcxx_cv_func_copysignl_use=yes
55250 else
55251 echo "$as_me: failed program was:" >&5
55252 sed 's/^/| /' conftest.$ac_ext >&5
55254 glibcxx_cv_func_copysignl_use=no
55256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55257 ac_ext=c
55258 ac_cpp='$CPP $CPPFLAGS'
55259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55268 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55270 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55272 for ac_func in copysignl
55274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55275 echo "$as_me:$LINENO: checking for $ac_func" >&5
55276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55277 if eval "test \"\${$as_ac_var+set}\" = set"; then
55278 echo $ECHO_N "(cached) $ECHO_C" >&6
55279 else
55280 if test x$gcc_no_link = xyes; then
55281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55283 { (exit 1); exit 1; }; }
55285 cat >conftest.$ac_ext <<_ACEOF
55286 /* confdefs.h. */
55287 _ACEOF
55288 cat confdefs.h >>conftest.$ac_ext
55289 cat >>conftest.$ac_ext <<_ACEOF
55290 /* end confdefs.h. */
55291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55293 #define $ac_func innocuous_$ac_func
55295 /* System header to define __stub macros and hopefully few prototypes,
55296 which can conflict with char $ac_func (); below.
55297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55298 <limits.h> exists even on freestanding compilers. */
55300 #ifdef __STDC__
55301 # include <limits.h>
55302 #else
55303 # include <assert.h>
55304 #endif
55306 #undef $ac_func
55308 /* Override any gcc2 internal prototype to avoid an error. */
55309 #ifdef __cplusplus
55310 extern "C"
55312 #endif
55313 /* We use char because int might match the return type of a gcc2
55314 builtin and then its argument prototype would still apply. */
55315 char $ac_func ();
55316 /* The GNU C library defines this for functions which it implements
55317 to always fail with ENOSYS. Some functions are actually named
55318 something starting with __ and the normal name is an alias. */
55319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55320 choke me
55321 #else
55322 char (*f) () = $ac_func;
55323 #endif
55324 #ifdef __cplusplus
55326 #endif
55329 main ()
55331 return f != $ac_func;
55333 return 0;
55335 _ACEOF
55336 rm -f conftest.$ac_objext conftest$ac_exeext
55337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55338 (eval $ac_link) 2>conftest.er1
55339 ac_status=$?
55340 grep -v '^ *+' conftest.er1 >conftest.err
55341 rm -f conftest.er1
55342 cat conftest.err >&5
55343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55344 (exit $ac_status); } &&
55345 { ac_try='test -z "$ac_c_werror_flag"
55346 || test ! -s conftest.err'
55347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55348 (eval $ac_try) 2>&5
55349 ac_status=$?
55350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351 (exit $ac_status); }; } &&
55352 { ac_try='test -s conftest$ac_exeext'
55353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55354 (eval $ac_try) 2>&5
55355 ac_status=$?
55356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357 (exit $ac_status); }; }; then
55358 eval "$as_ac_var=yes"
55359 else
55360 echo "$as_me: failed program was:" >&5
55361 sed 's/^/| /' conftest.$ac_ext >&5
55363 eval "$as_ac_var=no"
55365 rm -f conftest.err conftest.$ac_objext \
55366 conftest$ac_exeext conftest.$ac_ext
55368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55370 if test `eval echo '${'$as_ac_var'}'` = yes; then
55371 cat >>confdefs.h <<_ACEOF
55372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55373 _ACEOF
55376 done
55378 else
55380 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55381 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55382 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55383 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55384 echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55389 ac_ext=cc
55390 ac_cpp='$CXXCPP $CPPFLAGS'
55391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55395 cat >conftest.$ac_ext <<_ACEOF
55396 /* confdefs.h. */
55397 _ACEOF
55398 cat confdefs.h >>conftest.$ac_ext
55399 cat >>conftest.$ac_ext <<_ACEOF
55400 /* end confdefs.h. */
55401 #include <math.h>
55403 main ()
55405 _copysignl(0, 0);
55407 return 0;
55409 _ACEOF
55410 rm -f conftest.$ac_objext
55411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55412 (eval $ac_compile) 2>conftest.er1
55413 ac_status=$?
55414 grep -v '^ *+' conftest.er1 >conftest.err
55415 rm -f conftest.er1
55416 cat conftest.err >&5
55417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55418 (exit $ac_status); } &&
55419 { ac_try='test -z "$ac_cxx_werror_flag"
55420 || test ! -s conftest.err'
55421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55422 (eval $ac_try) 2>&5
55423 ac_status=$?
55424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425 (exit $ac_status); }; } &&
55426 { ac_try='test -s conftest.$ac_objext'
55427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428 (eval $ac_try) 2>&5
55429 ac_status=$?
55430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431 (exit $ac_status); }; }; then
55432 glibcxx_cv_func__copysignl_use=yes
55433 else
55434 echo "$as_me: failed program was:" >&5
55435 sed 's/^/| /' conftest.$ac_ext >&5
55437 glibcxx_cv_func__copysignl_use=no
55439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55440 ac_ext=c
55441 ac_cpp='$CPP $CPPFLAGS'
55442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55451 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55453 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55455 for ac_func in _copysignl
55457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55458 echo "$as_me:$LINENO: checking for $ac_func" >&5
55459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55460 if eval "test \"\${$as_ac_var+set}\" = set"; then
55461 echo $ECHO_N "(cached) $ECHO_C" >&6
55462 else
55463 if test x$gcc_no_link = xyes; then
55464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55466 { (exit 1); exit 1; }; }
55468 cat >conftest.$ac_ext <<_ACEOF
55469 /* confdefs.h. */
55470 _ACEOF
55471 cat confdefs.h >>conftest.$ac_ext
55472 cat >>conftest.$ac_ext <<_ACEOF
55473 /* end confdefs.h. */
55474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55476 #define $ac_func innocuous_$ac_func
55478 /* System header to define __stub macros and hopefully few prototypes,
55479 which can conflict with char $ac_func (); below.
55480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55481 <limits.h> exists even on freestanding compilers. */
55483 #ifdef __STDC__
55484 # include <limits.h>
55485 #else
55486 # include <assert.h>
55487 #endif
55489 #undef $ac_func
55491 /* Override any gcc2 internal prototype to avoid an error. */
55492 #ifdef __cplusplus
55493 extern "C"
55495 #endif
55496 /* We use char because int might match the return type of a gcc2
55497 builtin and then its argument prototype would still apply. */
55498 char $ac_func ();
55499 /* The GNU C library defines this for functions which it implements
55500 to always fail with ENOSYS. Some functions are actually named
55501 something starting with __ and the normal name is an alias. */
55502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55503 choke me
55504 #else
55505 char (*f) () = $ac_func;
55506 #endif
55507 #ifdef __cplusplus
55509 #endif
55512 main ()
55514 return f != $ac_func;
55516 return 0;
55518 _ACEOF
55519 rm -f conftest.$ac_objext conftest$ac_exeext
55520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55521 (eval $ac_link) 2>conftest.er1
55522 ac_status=$?
55523 grep -v '^ *+' conftest.er1 >conftest.err
55524 rm -f conftest.er1
55525 cat conftest.err >&5
55526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527 (exit $ac_status); } &&
55528 { ac_try='test -z "$ac_c_werror_flag"
55529 || test ! -s conftest.err'
55530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531 (eval $ac_try) 2>&5
55532 ac_status=$?
55533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534 (exit $ac_status); }; } &&
55535 { ac_try='test -s conftest$ac_exeext'
55536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537 (eval $ac_try) 2>&5
55538 ac_status=$?
55539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540 (exit $ac_status); }; }; then
55541 eval "$as_ac_var=yes"
55542 else
55543 echo "$as_me: failed program was:" >&5
55544 sed 's/^/| /' conftest.$ac_ext >&5
55546 eval "$as_ac_var=no"
55548 rm -f conftest.err conftest.$ac_objext \
55549 conftest$ac_exeext conftest.$ac_ext
55551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55553 if test `eval echo '${'$as_ac_var'}'` = yes; then
55554 cat >>confdefs.h <<_ACEOF
55555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 _ACEOF
55559 done
55569 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55570 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55571 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55572 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55573 echo $ECHO_N "(cached) $ECHO_C" >&6
55574 else
55578 ac_ext=cc
55579 ac_cpp='$CXXCPP $CPPFLAGS'
55580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55584 cat >conftest.$ac_ext <<_ACEOF
55585 /* confdefs.h. */
55586 _ACEOF
55587 cat confdefs.h >>conftest.$ac_ext
55588 cat >>conftest.$ac_ext <<_ACEOF
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 atan2l(0, 0);
55596 return 0;
55598 _ACEOF
55599 rm -f conftest.$ac_objext
55600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55601 (eval $ac_compile) 2>conftest.er1
55602 ac_status=$?
55603 grep -v '^ *+' conftest.er1 >conftest.err
55604 rm -f conftest.er1
55605 cat conftest.err >&5
55606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607 (exit $ac_status); } &&
55608 { ac_try='test -z "$ac_cxx_werror_flag"
55609 || test ! -s conftest.err'
55610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55611 (eval $ac_try) 2>&5
55612 ac_status=$?
55613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614 (exit $ac_status); }; } &&
55615 { ac_try='test -s conftest.$ac_objext'
55616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55617 (eval $ac_try) 2>&5
55618 ac_status=$?
55619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55620 (exit $ac_status); }; }; then
55621 glibcxx_cv_func_atan2l_use=yes
55622 else
55623 echo "$as_me: failed program was:" >&5
55624 sed 's/^/| /' conftest.$ac_ext >&5
55626 glibcxx_cv_func_atan2l_use=no
55628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55629 ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55640 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55642 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55644 for ac_func in atan2l
55646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55647 echo "$as_me:$LINENO: checking for $ac_func" >&5
55648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55649 if eval "test \"\${$as_ac_var+set}\" = set"; then
55650 echo $ECHO_N "(cached) $ECHO_C" >&6
55651 else
55652 if test x$gcc_no_link = xyes; then
55653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55655 { (exit 1); exit 1; }; }
55657 cat >conftest.$ac_ext <<_ACEOF
55658 /* confdefs.h. */
55659 _ACEOF
55660 cat confdefs.h >>conftest.$ac_ext
55661 cat >>conftest.$ac_ext <<_ACEOF
55662 /* end confdefs.h. */
55663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55665 #define $ac_func innocuous_$ac_func
55667 /* System header to define __stub macros and hopefully few prototypes,
55668 which can conflict with char $ac_func (); below.
55669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55670 <limits.h> exists even on freestanding compilers. */
55672 #ifdef __STDC__
55673 # include <limits.h>
55674 #else
55675 # include <assert.h>
55676 #endif
55678 #undef $ac_func
55680 /* Override any gcc2 internal prototype to avoid an error. */
55681 #ifdef __cplusplus
55682 extern "C"
55684 #endif
55685 /* We use char because int might match the return type of a gcc2
55686 builtin and then its argument prototype would still apply. */
55687 char $ac_func ();
55688 /* The GNU C library defines this for functions which it implements
55689 to always fail with ENOSYS. Some functions are actually named
55690 something starting with __ and the normal name is an alias. */
55691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55692 choke me
55693 #else
55694 char (*f) () = $ac_func;
55695 #endif
55696 #ifdef __cplusplus
55698 #endif
55701 main ()
55703 return f != $ac_func;
55705 return 0;
55707 _ACEOF
55708 rm -f conftest.$ac_objext conftest$ac_exeext
55709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55710 (eval $ac_link) 2>conftest.er1
55711 ac_status=$?
55712 grep -v '^ *+' conftest.er1 >conftest.err
55713 rm -f conftest.er1
55714 cat conftest.err >&5
55715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716 (exit $ac_status); } &&
55717 { ac_try='test -z "$ac_c_werror_flag"
55718 || test ! -s conftest.err'
55719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55720 (eval $ac_try) 2>&5
55721 ac_status=$?
55722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723 (exit $ac_status); }; } &&
55724 { ac_try='test -s conftest$ac_exeext'
55725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55726 (eval $ac_try) 2>&5
55727 ac_status=$?
55728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55729 (exit $ac_status); }; }; then
55730 eval "$as_ac_var=yes"
55731 else
55732 echo "$as_me: failed program was:" >&5
55733 sed 's/^/| /' conftest.$ac_ext >&5
55735 eval "$as_ac_var=no"
55737 rm -f conftest.err conftest.$ac_objext \
55738 conftest$ac_exeext conftest.$ac_ext
55740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55742 if test `eval echo '${'$as_ac_var'}'` = yes; then
55743 cat >>confdefs.h <<_ACEOF
55744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55745 _ACEOF
55748 done
55750 else
55752 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55753 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55754 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55755 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55756 echo $ECHO_N "(cached) $ECHO_C" >&6
55757 else
55761 ac_ext=cc
55762 ac_cpp='$CXXCPP $CPPFLAGS'
55763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55767 cat >conftest.$ac_ext <<_ACEOF
55768 /* confdefs.h. */
55769 _ACEOF
55770 cat confdefs.h >>conftest.$ac_ext
55771 cat >>conftest.$ac_ext <<_ACEOF
55772 /* end confdefs.h. */
55773 #include <math.h>
55775 main ()
55777 _atan2l(0, 0);
55779 return 0;
55781 _ACEOF
55782 rm -f conftest.$ac_objext
55783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55784 (eval $ac_compile) 2>conftest.er1
55785 ac_status=$?
55786 grep -v '^ *+' conftest.er1 >conftest.err
55787 rm -f conftest.er1
55788 cat conftest.err >&5
55789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55790 (exit $ac_status); } &&
55791 { ac_try='test -z "$ac_cxx_werror_flag"
55792 || test ! -s conftest.err'
55793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55794 (eval $ac_try) 2>&5
55795 ac_status=$?
55796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797 (exit $ac_status); }; } &&
55798 { ac_try='test -s conftest.$ac_objext'
55799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55800 (eval $ac_try) 2>&5
55801 ac_status=$?
55802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55803 (exit $ac_status); }; }; then
55804 glibcxx_cv_func__atan2l_use=yes
55805 else
55806 echo "$as_me: failed program was:" >&5
55807 sed 's/^/| /' conftest.$ac_ext >&5
55809 glibcxx_cv_func__atan2l_use=no
55811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55812 ac_ext=c
55813 ac_cpp='$CPP $CPPFLAGS'
55814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55822 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55823 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55825 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55827 for ac_func in _atan2l
55829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55830 echo "$as_me:$LINENO: checking for $ac_func" >&5
55831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55832 if eval "test \"\${$as_ac_var+set}\" = set"; then
55833 echo $ECHO_N "(cached) $ECHO_C" >&6
55834 else
55835 if test x$gcc_no_link = xyes; then
55836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55838 { (exit 1); exit 1; }; }
55840 cat >conftest.$ac_ext <<_ACEOF
55841 /* confdefs.h. */
55842 _ACEOF
55843 cat confdefs.h >>conftest.$ac_ext
55844 cat >>conftest.$ac_ext <<_ACEOF
55845 /* end confdefs.h. */
55846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55848 #define $ac_func innocuous_$ac_func
55850 /* System header to define __stub macros and hopefully few prototypes,
55851 which can conflict with char $ac_func (); below.
55852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55853 <limits.h> exists even on freestanding compilers. */
55855 #ifdef __STDC__
55856 # include <limits.h>
55857 #else
55858 # include <assert.h>
55859 #endif
55861 #undef $ac_func
55863 /* Override any gcc2 internal prototype to avoid an error. */
55864 #ifdef __cplusplus
55865 extern "C"
55867 #endif
55868 /* We use char because int might match the return type of a gcc2
55869 builtin and then its argument prototype would still apply. */
55870 char $ac_func ();
55871 /* The GNU C library defines this for functions which it implements
55872 to always fail with ENOSYS. Some functions are actually named
55873 something starting with __ and the normal name is an alias. */
55874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55875 choke me
55876 #else
55877 char (*f) () = $ac_func;
55878 #endif
55879 #ifdef __cplusplus
55881 #endif
55884 main ()
55886 return f != $ac_func;
55888 return 0;
55890 _ACEOF
55891 rm -f conftest.$ac_objext conftest$ac_exeext
55892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55893 (eval $ac_link) 2>conftest.er1
55894 ac_status=$?
55895 grep -v '^ *+' conftest.er1 >conftest.err
55896 rm -f conftest.er1
55897 cat conftest.err >&5
55898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899 (exit $ac_status); } &&
55900 { ac_try='test -z "$ac_c_werror_flag"
55901 || test ! -s conftest.err'
55902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55903 (eval $ac_try) 2>&5
55904 ac_status=$?
55905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906 (exit $ac_status); }; } &&
55907 { ac_try='test -s conftest$ac_exeext'
55908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55909 (eval $ac_try) 2>&5
55910 ac_status=$?
55911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55912 (exit $ac_status); }; }; then
55913 eval "$as_ac_var=yes"
55914 else
55915 echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55918 eval "$as_ac_var=no"
55920 rm -f conftest.err conftest.$ac_objext \
55921 conftest$ac_exeext conftest.$ac_ext
55923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55925 if test `eval echo '${'$as_ac_var'}'` = yes; then
55926 cat >>confdefs.h <<_ACEOF
55927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55928 _ACEOF
55931 done
55941 echo "$as_me:$LINENO: checking for expl declaration" >&5
55942 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55943 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55944 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55945 echo $ECHO_N "(cached) $ECHO_C" >&6
55946 else
55950 ac_ext=cc
55951 ac_cpp='$CXXCPP $CPPFLAGS'
55952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55956 cat >conftest.$ac_ext <<_ACEOF
55957 /* confdefs.h. */
55958 _ACEOF
55959 cat confdefs.h >>conftest.$ac_ext
55960 cat >>conftest.$ac_ext <<_ACEOF
55961 /* end confdefs.h. */
55962 #include <math.h>
55963 #ifdef HAVE_IEEEFP_H
55964 #include <ieeefp.h>
55965 #endif
55968 main ()
55970 expl(0);
55972 return 0;
55974 _ACEOF
55975 rm -f conftest.$ac_objext
55976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55977 (eval $ac_compile) 2>conftest.er1
55978 ac_status=$?
55979 grep -v '^ *+' conftest.er1 >conftest.err
55980 rm -f conftest.er1
55981 cat conftest.err >&5
55982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983 (exit $ac_status); } &&
55984 { ac_try='test -z "$ac_cxx_werror_flag"
55985 || test ! -s conftest.err'
55986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55987 (eval $ac_try) 2>&5
55988 ac_status=$?
55989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990 (exit $ac_status); }; } &&
55991 { ac_try='test -s conftest.$ac_objext'
55992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55993 (eval $ac_try) 2>&5
55994 ac_status=$?
55995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996 (exit $ac_status); }; }; then
55997 glibcxx_cv_func_expl_use=yes
55998 else
55999 echo "$as_me: failed program was:" >&5
56000 sed 's/^/| /' conftest.$ac_ext >&5
56002 glibcxx_cv_func_expl_use=no
56004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56005 ac_ext=c
56006 ac_cpp='$CPP $CPPFLAGS'
56007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56016 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56018 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56020 for ac_func in expl
56022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56023 echo "$as_me:$LINENO: checking for $ac_func" >&5
56024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56025 if eval "test \"\${$as_ac_var+set}\" = set"; then
56026 echo $ECHO_N "(cached) $ECHO_C" >&6
56027 else
56028 if test x$gcc_no_link = xyes; then
56029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56031 { (exit 1); exit 1; }; }
56033 cat >conftest.$ac_ext <<_ACEOF
56034 /* confdefs.h. */
56035 _ACEOF
56036 cat confdefs.h >>conftest.$ac_ext
56037 cat >>conftest.$ac_ext <<_ACEOF
56038 /* end confdefs.h. */
56039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56041 #define $ac_func innocuous_$ac_func
56043 /* System header to define __stub macros and hopefully few prototypes,
56044 which can conflict with char $ac_func (); below.
56045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56046 <limits.h> exists even on freestanding compilers. */
56048 #ifdef __STDC__
56049 # include <limits.h>
56050 #else
56051 # include <assert.h>
56052 #endif
56054 #undef $ac_func
56056 /* Override any gcc2 internal prototype to avoid an error. */
56057 #ifdef __cplusplus
56058 extern "C"
56060 #endif
56061 /* We use char because int might match the return type of a gcc2
56062 builtin and then its argument prototype would still apply. */
56063 char $ac_func ();
56064 /* The GNU C library defines this for functions which it implements
56065 to always fail with ENOSYS. Some functions are actually named
56066 something starting with __ and the normal name is an alias. */
56067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56068 choke me
56069 #else
56070 char (*f) () = $ac_func;
56071 #endif
56072 #ifdef __cplusplus
56074 #endif
56077 main ()
56079 return f != $ac_func;
56081 return 0;
56083 _ACEOF
56084 rm -f conftest.$ac_objext conftest$ac_exeext
56085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56086 (eval $ac_link) 2>conftest.er1
56087 ac_status=$?
56088 grep -v '^ *+' conftest.er1 >conftest.err
56089 rm -f conftest.er1
56090 cat conftest.err >&5
56091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092 (exit $ac_status); } &&
56093 { ac_try='test -z "$ac_c_werror_flag"
56094 || test ! -s conftest.err'
56095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56096 (eval $ac_try) 2>&5
56097 ac_status=$?
56098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099 (exit $ac_status); }; } &&
56100 { ac_try='test -s conftest$ac_exeext'
56101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56102 (eval $ac_try) 2>&5
56103 ac_status=$?
56104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105 (exit $ac_status); }; }; then
56106 eval "$as_ac_var=yes"
56107 else
56108 echo "$as_me: failed program was:" >&5
56109 sed 's/^/| /' conftest.$ac_ext >&5
56111 eval "$as_ac_var=no"
56113 rm -f conftest.err conftest.$ac_objext \
56114 conftest$ac_exeext conftest.$ac_ext
56116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56118 if test `eval echo '${'$as_ac_var'}'` = yes; then
56119 cat >>confdefs.h <<_ACEOF
56120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56121 _ACEOF
56124 done
56126 else
56128 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56129 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56130 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56131 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56132 echo $ECHO_N "(cached) $ECHO_C" >&6
56133 else
56137 ac_ext=cc
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat >conftest.$ac_ext <<_ACEOF
56144 /* confdefs.h. */
56145 _ACEOF
56146 cat confdefs.h >>conftest.$ac_ext
56147 cat >>conftest.$ac_ext <<_ACEOF
56148 /* end confdefs.h. */
56149 #include <math.h>
56150 #ifdef HAVE_IEEEFP_H
56151 #include <ieeefp.h>
56152 #endif
56155 main ()
56157 _expl(0);
56159 return 0;
56161 _ACEOF
56162 rm -f conftest.$ac_objext
56163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56164 (eval $ac_compile) 2>conftest.er1
56165 ac_status=$?
56166 grep -v '^ *+' conftest.er1 >conftest.err
56167 rm -f conftest.er1
56168 cat conftest.err >&5
56169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56170 (exit $ac_status); } &&
56171 { ac_try='test -z "$ac_cxx_werror_flag"
56172 || test ! -s conftest.err'
56173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56174 (eval $ac_try) 2>&5
56175 ac_status=$?
56176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56177 (exit $ac_status); }; } &&
56178 { ac_try='test -s conftest.$ac_objext'
56179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180 (eval $ac_try) 2>&5
56181 ac_status=$?
56182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183 (exit $ac_status); }; }; then
56184 glibcxx_cv_func__expl_use=yes
56185 else
56186 echo "$as_me: failed program was:" >&5
56187 sed 's/^/| /' conftest.$ac_ext >&5
56189 glibcxx_cv_func__expl_use=no
56191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56192 ac_ext=c
56193 ac_cpp='$CPP $CPPFLAGS'
56194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56203 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56205 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56207 for ac_func in _expl
56209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56210 echo "$as_me:$LINENO: checking for $ac_func" >&5
56211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56212 if eval "test \"\${$as_ac_var+set}\" = set"; then
56213 echo $ECHO_N "(cached) $ECHO_C" >&6
56214 else
56215 if test x$gcc_no_link = xyes; then
56216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56218 { (exit 1); exit 1; }; }
56220 cat >conftest.$ac_ext <<_ACEOF
56221 /* confdefs.h. */
56222 _ACEOF
56223 cat confdefs.h >>conftest.$ac_ext
56224 cat >>conftest.$ac_ext <<_ACEOF
56225 /* end confdefs.h. */
56226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56228 #define $ac_func innocuous_$ac_func
56230 /* System header to define __stub macros and hopefully few prototypes,
56231 which can conflict with char $ac_func (); below.
56232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56233 <limits.h> exists even on freestanding compilers. */
56235 #ifdef __STDC__
56236 # include <limits.h>
56237 #else
56238 # include <assert.h>
56239 #endif
56241 #undef $ac_func
56243 /* Override any gcc2 internal prototype to avoid an error. */
56244 #ifdef __cplusplus
56245 extern "C"
56247 #endif
56248 /* We use char because int might match the return type of a gcc2
56249 builtin and then its argument prototype would still apply. */
56250 char $ac_func ();
56251 /* The GNU C library defines this for functions which it implements
56252 to always fail with ENOSYS. Some functions are actually named
56253 something starting with __ and the normal name is an alias. */
56254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56255 choke me
56256 #else
56257 char (*f) () = $ac_func;
56258 #endif
56259 #ifdef __cplusplus
56261 #endif
56264 main ()
56266 return f != $ac_func;
56268 return 0;
56270 _ACEOF
56271 rm -f conftest.$ac_objext conftest$ac_exeext
56272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56273 (eval $ac_link) 2>conftest.er1
56274 ac_status=$?
56275 grep -v '^ *+' conftest.er1 >conftest.err
56276 rm -f conftest.er1
56277 cat conftest.err >&5
56278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279 (exit $ac_status); } &&
56280 { ac_try='test -z "$ac_c_werror_flag"
56281 || test ! -s conftest.err'
56282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56283 (eval $ac_try) 2>&5
56284 ac_status=$?
56285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56286 (exit $ac_status); }; } &&
56287 { ac_try='test -s conftest$ac_exeext'
56288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56289 (eval $ac_try) 2>&5
56290 ac_status=$?
56291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56292 (exit $ac_status); }; }; then
56293 eval "$as_ac_var=yes"
56294 else
56295 echo "$as_me: failed program was:" >&5
56296 sed 's/^/| /' conftest.$ac_ext >&5
56298 eval "$as_ac_var=no"
56300 rm -f conftest.err conftest.$ac_objext \
56301 conftest$ac_exeext conftest.$ac_ext
56303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56305 if test `eval echo '${'$as_ac_var'}'` = yes; then
56306 cat >>confdefs.h <<_ACEOF
56307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56308 _ACEOF
56311 done
56321 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56322 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56323 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56324 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56325 echo $ECHO_N "(cached) $ECHO_C" >&6
56326 else
56330 ac_ext=cc
56331 ac_cpp='$CXXCPP $CPPFLAGS'
56332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56336 cat >conftest.$ac_ext <<_ACEOF
56337 /* confdefs.h. */
56338 _ACEOF
56339 cat confdefs.h >>conftest.$ac_ext
56340 cat >>conftest.$ac_ext <<_ACEOF
56341 /* end confdefs.h. */
56342 #include <math.h>
56343 #ifdef HAVE_IEEEFP_H
56344 #include <ieeefp.h>
56345 #endif
56348 main ()
56350 fabsl(0);
56352 return 0;
56354 _ACEOF
56355 rm -f conftest.$ac_objext
56356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56357 (eval $ac_compile) 2>conftest.er1
56358 ac_status=$?
56359 grep -v '^ *+' conftest.er1 >conftest.err
56360 rm -f conftest.er1
56361 cat conftest.err >&5
56362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56363 (exit $ac_status); } &&
56364 { ac_try='test -z "$ac_cxx_werror_flag"
56365 || test ! -s conftest.err'
56366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56367 (eval $ac_try) 2>&5
56368 ac_status=$?
56369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56370 (exit $ac_status); }; } &&
56371 { ac_try='test -s conftest.$ac_objext'
56372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56373 (eval $ac_try) 2>&5
56374 ac_status=$?
56375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56376 (exit $ac_status); }; }; then
56377 glibcxx_cv_func_fabsl_use=yes
56378 else
56379 echo "$as_me: failed program was:" >&5
56380 sed 's/^/| /' conftest.$ac_ext >&5
56382 glibcxx_cv_func_fabsl_use=no
56384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56385 ac_ext=c
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56396 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56398 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56400 for ac_func in fabsl
56402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56403 echo "$as_me:$LINENO: checking for $ac_func" >&5
56404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56405 if eval "test \"\${$as_ac_var+set}\" = set"; then
56406 echo $ECHO_N "(cached) $ECHO_C" >&6
56407 else
56408 if test x$gcc_no_link = xyes; then
56409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56411 { (exit 1); exit 1; }; }
56413 cat >conftest.$ac_ext <<_ACEOF
56414 /* confdefs.h. */
56415 _ACEOF
56416 cat confdefs.h >>conftest.$ac_ext
56417 cat >>conftest.$ac_ext <<_ACEOF
56418 /* end confdefs.h. */
56419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56421 #define $ac_func innocuous_$ac_func
56423 /* System header to define __stub macros and hopefully few prototypes,
56424 which can conflict with char $ac_func (); below.
56425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56426 <limits.h> exists even on freestanding compilers. */
56428 #ifdef __STDC__
56429 # include <limits.h>
56430 #else
56431 # include <assert.h>
56432 #endif
56434 #undef $ac_func
56436 /* Override any gcc2 internal prototype to avoid an error. */
56437 #ifdef __cplusplus
56438 extern "C"
56440 #endif
56441 /* We use char because int might match the return type of a gcc2
56442 builtin and then its argument prototype would still apply. */
56443 char $ac_func ();
56444 /* The GNU C library defines this for functions which it implements
56445 to always fail with ENOSYS. Some functions are actually named
56446 something starting with __ and the normal name is an alias. */
56447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56448 choke me
56449 #else
56450 char (*f) () = $ac_func;
56451 #endif
56452 #ifdef __cplusplus
56454 #endif
56457 main ()
56459 return f != $ac_func;
56461 return 0;
56463 _ACEOF
56464 rm -f conftest.$ac_objext conftest$ac_exeext
56465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56466 (eval $ac_link) 2>conftest.er1
56467 ac_status=$?
56468 grep -v '^ *+' conftest.er1 >conftest.err
56469 rm -f conftest.er1
56470 cat conftest.err >&5
56471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56472 (exit $ac_status); } &&
56473 { ac_try='test -z "$ac_c_werror_flag"
56474 || test ! -s conftest.err'
56475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56476 (eval $ac_try) 2>&5
56477 ac_status=$?
56478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479 (exit $ac_status); }; } &&
56480 { ac_try='test -s conftest$ac_exeext'
56481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56482 (eval $ac_try) 2>&5
56483 ac_status=$?
56484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56485 (exit $ac_status); }; }; then
56486 eval "$as_ac_var=yes"
56487 else
56488 echo "$as_me: failed program was:" >&5
56489 sed 's/^/| /' conftest.$ac_ext >&5
56491 eval "$as_ac_var=no"
56493 rm -f conftest.err conftest.$ac_objext \
56494 conftest$ac_exeext conftest.$ac_ext
56496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56498 if test `eval echo '${'$as_ac_var'}'` = yes; then
56499 cat >>confdefs.h <<_ACEOF
56500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56501 _ACEOF
56504 done
56506 else
56508 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56509 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56510 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56511 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56512 echo $ECHO_N "(cached) $ECHO_C" >&6
56513 else
56517 ac_ext=cc
56518 ac_cpp='$CXXCPP $CPPFLAGS'
56519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56523 cat >conftest.$ac_ext <<_ACEOF
56524 /* confdefs.h. */
56525 _ACEOF
56526 cat confdefs.h >>conftest.$ac_ext
56527 cat >>conftest.$ac_ext <<_ACEOF
56528 /* end confdefs.h. */
56529 #include <math.h>
56530 #ifdef HAVE_IEEEFP_H
56531 #include <ieeefp.h>
56532 #endif
56535 main ()
56537 _fabsl(0);
56539 return 0;
56541 _ACEOF
56542 rm -f conftest.$ac_objext
56543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56544 (eval $ac_compile) 2>conftest.er1
56545 ac_status=$?
56546 grep -v '^ *+' conftest.er1 >conftest.err
56547 rm -f conftest.er1
56548 cat conftest.err >&5
56549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550 (exit $ac_status); } &&
56551 { ac_try='test -z "$ac_cxx_werror_flag"
56552 || test ! -s conftest.err'
56553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56554 (eval $ac_try) 2>&5
56555 ac_status=$?
56556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557 (exit $ac_status); }; } &&
56558 { ac_try='test -s conftest.$ac_objext'
56559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560 (eval $ac_try) 2>&5
56561 ac_status=$?
56562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563 (exit $ac_status); }; }; then
56564 glibcxx_cv_func__fabsl_use=yes
56565 else
56566 echo "$as_me: failed program was:" >&5
56567 sed 's/^/| /' conftest.$ac_ext >&5
56569 glibcxx_cv_func__fabsl_use=no
56571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56583 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56585 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56587 for ac_func in _fabsl
56589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56590 echo "$as_me:$LINENO: checking for $ac_func" >&5
56591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56592 if eval "test \"\${$as_ac_var+set}\" = set"; then
56593 echo $ECHO_N "(cached) $ECHO_C" >&6
56594 else
56595 if test x$gcc_no_link = xyes; then
56596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56598 { (exit 1); exit 1; }; }
56600 cat >conftest.$ac_ext <<_ACEOF
56601 /* confdefs.h. */
56602 _ACEOF
56603 cat confdefs.h >>conftest.$ac_ext
56604 cat >>conftest.$ac_ext <<_ACEOF
56605 /* end confdefs.h. */
56606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56608 #define $ac_func innocuous_$ac_func
56610 /* System header to define __stub macros and hopefully few prototypes,
56611 which can conflict with char $ac_func (); below.
56612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56613 <limits.h> exists even on freestanding compilers. */
56615 #ifdef __STDC__
56616 # include <limits.h>
56617 #else
56618 # include <assert.h>
56619 #endif
56621 #undef $ac_func
56623 /* Override any gcc2 internal prototype to avoid an error. */
56624 #ifdef __cplusplus
56625 extern "C"
56627 #endif
56628 /* We use char because int might match the return type of a gcc2
56629 builtin and then its argument prototype would still apply. */
56630 char $ac_func ();
56631 /* The GNU C library defines this for functions which it implements
56632 to always fail with ENOSYS. Some functions are actually named
56633 something starting with __ and the normal name is an alias. */
56634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56635 choke me
56636 #else
56637 char (*f) () = $ac_func;
56638 #endif
56639 #ifdef __cplusplus
56641 #endif
56644 main ()
56646 return f != $ac_func;
56648 return 0;
56650 _ACEOF
56651 rm -f conftest.$ac_objext conftest$ac_exeext
56652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56653 (eval $ac_link) 2>conftest.er1
56654 ac_status=$?
56655 grep -v '^ *+' conftest.er1 >conftest.err
56656 rm -f conftest.er1
56657 cat conftest.err >&5
56658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659 (exit $ac_status); } &&
56660 { ac_try='test -z "$ac_c_werror_flag"
56661 || test ! -s conftest.err'
56662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56663 (eval $ac_try) 2>&5
56664 ac_status=$?
56665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56666 (exit $ac_status); }; } &&
56667 { ac_try='test -s conftest$ac_exeext'
56668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56669 (eval $ac_try) 2>&5
56670 ac_status=$?
56671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56672 (exit $ac_status); }; }; then
56673 eval "$as_ac_var=yes"
56674 else
56675 echo "$as_me: failed program was:" >&5
56676 sed 's/^/| /' conftest.$ac_ext >&5
56678 eval "$as_ac_var=no"
56680 rm -f conftest.err conftest.$ac_objext \
56681 conftest$ac_exeext conftest.$ac_ext
56683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56685 if test `eval echo '${'$as_ac_var'}'` = yes; then
56686 cat >>confdefs.h <<_ACEOF
56687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56688 _ACEOF
56691 done
56701 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56702 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56703 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56704 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56705 echo $ECHO_N "(cached) $ECHO_C" >&6
56706 else
56710 ac_ext=cc
56711 ac_cpp='$CXXCPP $CPPFLAGS'
56712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716 cat >conftest.$ac_ext <<_ACEOF
56717 /* confdefs.h. */
56718 _ACEOF
56719 cat confdefs.h >>conftest.$ac_ext
56720 cat >>conftest.$ac_ext <<_ACEOF
56721 /* end confdefs.h. */
56722 #include <math.h>
56724 main ()
56726 fmodl(0, 0);
56728 return 0;
56730 _ACEOF
56731 rm -f conftest.$ac_objext
56732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56733 (eval $ac_compile) 2>conftest.er1
56734 ac_status=$?
56735 grep -v '^ *+' conftest.er1 >conftest.err
56736 rm -f conftest.er1
56737 cat conftest.err >&5
56738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56739 (exit $ac_status); } &&
56740 { ac_try='test -z "$ac_cxx_werror_flag"
56741 || test ! -s conftest.err'
56742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56743 (eval $ac_try) 2>&5
56744 ac_status=$?
56745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56746 (exit $ac_status); }; } &&
56747 { ac_try='test -s conftest.$ac_objext'
56748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56749 (eval $ac_try) 2>&5
56750 ac_status=$?
56751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56752 (exit $ac_status); }; }; then
56753 glibcxx_cv_func_fmodl_use=yes
56754 else
56755 echo "$as_me: failed program was:" >&5
56756 sed 's/^/| /' conftest.$ac_ext >&5
56758 glibcxx_cv_func_fmodl_use=no
56760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56761 ac_ext=c
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56772 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56774 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56776 for ac_func in fmodl
56778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56779 echo "$as_me:$LINENO: checking for $ac_func" >&5
56780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56781 if eval "test \"\${$as_ac_var+set}\" = set"; then
56782 echo $ECHO_N "(cached) $ECHO_C" >&6
56783 else
56784 if test x$gcc_no_link = xyes; then
56785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56787 { (exit 1); exit 1; }; }
56789 cat >conftest.$ac_ext <<_ACEOF
56790 /* confdefs.h. */
56791 _ACEOF
56792 cat confdefs.h >>conftest.$ac_ext
56793 cat >>conftest.$ac_ext <<_ACEOF
56794 /* end confdefs.h. */
56795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56797 #define $ac_func innocuous_$ac_func
56799 /* System header to define __stub macros and hopefully few prototypes,
56800 which can conflict with char $ac_func (); below.
56801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56802 <limits.h> exists even on freestanding compilers. */
56804 #ifdef __STDC__
56805 # include <limits.h>
56806 #else
56807 # include <assert.h>
56808 #endif
56810 #undef $ac_func
56812 /* Override any gcc2 internal prototype to avoid an error. */
56813 #ifdef __cplusplus
56814 extern "C"
56816 #endif
56817 /* We use char because int might match the return type of a gcc2
56818 builtin and then its argument prototype would still apply. */
56819 char $ac_func ();
56820 /* The GNU C library defines this for functions which it implements
56821 to always fail with ENOSYS. Some functions are actually named
56822 something starting with __ and the normal name is an alias. */
56823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56824 choke me
56825 #else
56826 char (*f) () = $ac_func;
56827 #endif
56828 #ifdef __cplusplus
56830 #endif
56833 main ()
56835 return f != $ac_func;
56837 return 0;
56839 _ACEOF
56840 rm -f conftest.$ac_objext conftest$ac_exeext
56841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56842 (eval $ac_link) 2>conftest.er1
56843 ac_status=$?
56844 grep -v '^ *+' conftest.er1 >conftest.err
56845 rm -f conftest.er1
56846 cat conftest.err >&5
56847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56848 (exit $ac_status); } &&
56849 { ac_try='test -z "$ac_c_werror_flag"
56850 || test ! -s conftest.err'
56851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56852 (eval $ac_try) 2>&5
56853 ac_status=$?
56854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855 (exit $ac_status); }; } &&
56856 { ac_try='test -s conftest$ac_exeext'
56857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56858 (eval $ac_try) 2>&5
56859 ac_status=$?
56860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56861 (exit $ac_status); }; }; then
56862 eval "$as_ac_var=yes"
56863 else
56864 echo "$as_me: failed program was:" >&5
56865 sed 's/^/| /' conftest.$ac_ext >&5
56867 eval "$as_ac_var=no"
56869 rm -f conftest.err conftest.$ac_objext \
56870 conftest$ac_exeext conftest.$ac_ext
56872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56874 if test `eval echo '${'$as_ac_var'}'` = yes; then
56875 cat >>confdefs.h <<_ACEOF
56876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56877 _ACEOF
56880 done
56882 else
56884 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56885 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56886 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56887 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56888 echo $ECHO_N "(cached) $ECHO_C" >&6
56889 else
56893 ac_ext=cc
56894 ac_cpp='$CXXCPP $CPPFLAGS'
56895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56899 cat >conftest.$ac_ext <<_ACEOF
56900 /* confdefs.h. */
56901 _ACEOF
56902 cat confdefs.h >>conftest.$ac_ext
56903 cat >>conftest.$ac_ext <<_ACEOF
56904 /* end confdefs.h. */
56905 #include <math.h>
56907 main ()
56909 _fmodl(0, 0);
56911 return 0;
56913 _ACEOF
56914 rm -f conftest.$ac_objext
56915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56916 (eval $ac_compile) 2>conftest.er1
56917 ac_status=$?
56918 grep -v '^ *+' conftest.er1 >conftest.err
56919 rm -f conftest.er1
56920 cat conftest.err >&5
56921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56922 (exit $ac_status); } &&
56923 { ac_try='test -z "$ac_cxx_werror_flag"
56924 || test ! -s conftest.err'
56925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56926 (eval $ac_try) 2>&5
56927 ac_status=$?
56928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56929 (exit $ac_status); }; } &&
56930 { ac_try='test -s conftest.$ac_objext'
56931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56932 (eval $ac_try) 2>&5
56933 ac_status=$?
56934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935 (exit $ac_status); }; }; then
56936 glibcxx_cv_func__fmodl_use=yes
56937 else
56938 echo "$as_me: failed program was:" >&5
56939 sed 's/^/| /' conftest.$ac_ext >&5
56941 glibcxx_cv_func__fmodl_use=no
56943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56944 ac_ext=c
56945 ac_cpp='$CPP $CPPFLAGS'
56946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56955 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56957 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56959 for ac_func in _fmodl
56961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56962 echo "$as_me:$LINENO: checking for $ac_func" >&5
56963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56964 if eval "test \"\${$as_ac_var+set}\" = set"; then
56965 echo $ECHO_N "(cached) $ECHO_C" >&6
56966 else
56967 if test x$gcc_no_link = xyes; then
56968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56970 { (exit 1); exit 1; }; }
56972 cat >conftest.$ac_ext <<_ACEOF
56973 /* confdefs.h. */
56974 _ACEOF
56975 cat confdefs.h >>conftest.$ac_ext
56976 cat >>conftest.$ac_ext <<_ACEOF
56977 /* end confdefs.h. */
56978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56980 #define $ac_func innocuous_$ac_func
56982 /* System header to define __stub macros and hopefully few prototypes,
56983 which can conflict with char $ac_func (); below.
56984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56985 <limits.h> exists even on freestanding compilers. */
56987 #ifdef __STDC__
56988 # include <limits.h>
56989 #else
56990 # include <assert.h>
56991 #endif
56993 #undef $ac_func
56995 /* Override any gcc2 internal prototype to avoid an error. */
56996 #ifdef __cplusplus
56997 extern "C"
56999 #endif
57000 /* We use char because int might match the return type of a gcc2
57001 builtin and then its argument prototype would still apply. */
57002 char $ac_func ();
57003 /* The GNU C library defines this for functions which it implements
57004 to always fail with ENOSYS. Some functions are actually named
57005 something starting with __ and the normal name is an alias. */
57006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57007 choke me
57008 #else
57009 char (*f) () = $ac_func;
57010 #endif
57011 #ifdef __cplusplus
57013 #endif
57016 main ()
57018 return f != $ac_func;
57020 return 0;
57022 _ACEOF
57023 rm -f conftest.$ac_objext conftest$ac_exeext
57024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57025 (eval $ac_link) 2>conftest.er1
57026 ac_status=$?
57027 grep -v '^ *+' conftest.er1 >conftest.err
57028 rm -f conftest.er1
57029 cat conftest.err >&5
57030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031 (exit $ac_status); } &&
57032 { ac_try='test -z "$ac_c_werror_flag"
57033 || test ! -s conftest.err'
57034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035 (eval $ac_try) 2>&5
57036 ac_status=$?
57037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038 (exit $ac_status); }; } &&
57039 { ac_try='test -s conftest$ac_exeext'
57040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57041 (eval $ac_try) 2>&5
57042 ac_status=$?
57043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044 (exit $ac_status); }; }; then
57045 eval "$as_ac_var=yes"
57046 else
57047 echo "$as_me: failed program was:" >&5
57048 sed 's/^/| /' conftest.$ac_ext >&5
57050 eval "$as_ac_var=no"
57052 rm -f conftest.err conftest.$ac_objext \
57053 conftest$ac_exeext conftest.$ac_ext
57055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57057 if test `eval echo '${'$as_ac_var'}'` = yes; then
57058 cat >>confdefs.h <<_ACEOF
57059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57060 _ACEOF
57063 done
57073 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57074 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57075 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57076 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57077 echo $ECHO_N "(cached) $ECHO_C" >&6
57078 else
57082 ac_ext=cc
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57088 cat >conftest.$ac_ext <<_ACEOF
57089 /* confdefs.h. */
57090 _ACEOF
57091 cat confdefs.h >>conftest.$ac_ext
57092 cat >>conftest.$ac_ext <<_ACEOF
57093 /* end confdefs.h. */
57094 #include <math.h>
57096 main ()
57098 frexpl(0, 0);
57100 return 0;
57102 _ACEOF
57103 rm -f conftest.$ac_objext
57104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57105 (eval $ac_compile) 2>conftest.er1
57106 ac_status=$?
57107 grep -v '^ *+' conftest.er1 >conftest.err
57108 rm -f conftest.er1
57109 cat conftest.err >&5
57110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111 (exit $ac_status); } &&
57112 { ac_try='test -z "$ac_cxx_werror_flag"
57113 || test ! -s conftest.err'
57114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115 (eval $ac_try) 2>&5
57116 ac_status=$?
57117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118 (exit $ac_status); }; } &&
57119 { ac_try='test -s conftest.$ac_objext'
57120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121 (eval $ac_try) 2>&5
57122 ac_status=$?
57123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124 (exit $ac_status); }; }; then
57125 glibcxx_cv_func_frexpl_use=yes
57126 else
57127 echo "$as_me: failed program was:" >&5
57128 sed 's/^/| /' conftest.$ac_ext >&5
57130 glibcxx_cv_func_frexpl_use=no
57132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57133 ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57144 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57146 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57148 for ac_func in frexpl
57150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57151 echo "$as_me:$LINENO: checking for $ac_func" >&5
57152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57153 if eval "test \"\${$as_ac_var+set}\" = set"; then
57154 echo $ECHO_N "(cached) $ECHO_C" >&6
57155 else
57156 if test x$gcc_no_link = xyes; then
57157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57159 { (exit 1); exit 1; }; }
57161 cat >conftest.$ac_ext <<_ACEOF
57162 /* confdefs.h. */
57163 _ACEOF
57164 cat confdefs.h >>conftest.$ac_ext
57165 cat >>conftest.$ac_ext <<_ACEOF
57166 /* end confdefs.h. */
57167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57169 #define $ac_func innocuous_$ac_func
57171 /* System header to define __stub macros and hopefully few prototypes,
57172 which can conflict with char $ac_func (); below.
57173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57174 <limits.h> exists even on freestanding compilers. */
57176 #ifdef __STDC__
57177 # include <limits.h>
57178 #else
57179 # include <assert.h>
57180 #endif
57182 #undef $ac_func
57184 /* Override any gcc2 internal prototype to avoid an error. */
57185 #ifdef __cplusplus
57186 extern "C"
57188 #endif
57189 /* We use char because int might match the return type of a gcc2
57190 builtin and then its argument prototype would still apply. */
57191 char $ac_func ();
57192 /* The GNU C library defines this for functions which it implements
57193 to always fail with ENOSYS. Some functions are actually named
57194 something starting with __ and the normal name is an alias. */
57195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57196 choke me
57197 #else
57198 char (*f) () = $ac_func;
57199 #endif
57200 #ifdef __cplusplus
57202 #endif
57205 main ()
57207 return f != $ac_func;
57209 return 0;
57211 _ACEOF
57212 rm -f conftest.$ac_objext conftest$ac_exeext
57213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57214 (eval $ac_link) 2>conftest.er1
57215 ac_status=$?
57216 grep -v '^ *+' conftest.er1 >conftest.err
57217 rm -f conftest.er1
57218 cat conftest.err >&5
57219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57220 (exit $ac_status); } &&
57221 { ac_try='test -z "$ac_c_werror_flag"
57222 || test ! -s conftest.err'
57223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57224 (eval $ac_try) 2>&5
57225 ac_status=$?
57226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227 (exit $ac_status); }; } &&
57228 { ac_try='test -s conftest$ac_exeext'
57229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57230 (eval $ac_try) 2>&5
57231 ac_status=$?
57232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57233 (exit $ac_status); }; }; then
57234 eval "$as_ac_var=yes"
57235 else
57236 echo "$as_me: failed program was:" >&5
57237 sed 's/^/| /' conftest.$ac_ext >&5
57239 eval "$as_ac_var=no"
57241 rm -f conftest.err conftest.$ac_objext \
57242 conftest$ac_exeext conftest.$ac_ext
57244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57246 if test `eval echo '${'$as_ac_var'}'` = yes; then
57247 cat >>confdefs.h <<_ACEOF
57248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57249 _ACEOF
57252 done
57254 else
57256 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57257 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57258 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57259 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57260 echo $ECHO_N "(cached) $ECHO_C" >&6
57261 else
57265 ac_ext=cc
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57271 cat >conftest.$ac_ext <<_ACEOF
57272 /* confdefs.h. */
57273 _ACEOF
57274 cat confdefs.h >>conftest.$ac_ext
57275 cat >>conftest.$ac_ext <<_ACEOF
57276 /* end confdefs.h. */
57277 #include <math.h>
57279 main ()
57281 _frexpl(0, 0);
57283 return 0;
57285 _ACEOF
57286 rm -f conftest.$ac_objext
57287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57288 (eval $ac_compile) 2>conftest.er1
57289 ac_status=$?
57290 grep -v '^ *+' conftest.er1 >conftest.err
57291 rm -f conftest.er1
57292 cat conftest.err >&5
57293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294 (exit $ac_status); } &&
57295 { ac_try='test -z "$ac_cxx_werror_flag"
57296 || test ! -s conftest.err'
57297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57298 (eval $ac_try) 2>&5
57299 ac_status=$?
57300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301 (exit $ac_status); }; } &&
57302 { ac_try='test -s conftest.$ac_objext'
57303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304 (eval $ac_try) 2>&5
57305 ac_status=$?
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); }; }; then
57308 glibcxx_cv_func__frexpl_use=yes
57309 else
57310 echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57313 glibcxx_cv_func__frexpl_use=no
57315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57316 ac_ext=c
57317 ac_cpp='$CPP $CPPFLAGS'
57318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57326 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57327 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57329 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57331 for ac_func in _frexpl
57333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57334 echo "$as_me:$LINENO: checking for $ac_func" >&5
57335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57336 if eval "test \"\${$as_ac_var+set}\" = set"; then
57337 echo $ECHO_N "(cached) $ECHO_C" >&6
57338 else
57339 if test x$gcc_no_link = xyes; then
57340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57342 { (exit 1); exit 1; }; }
57344 cat >conftest.$ac_ext <<_ACEOF
57345 /* confdefs.h. */
57346 _ACEOF
57347 cat confdefs.h >>conftest.$ac_ext
57348 cat >>conftest.$ac_ext <<_ACEOF
57349 /* end confdefs.h. */
57350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57352 #define $ac_func innocuous_$ac_func
57354 /* System header to define __stub macros and hopefully few prototypes,
57355 which can conflict with char $ac_func (); below.
57356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57357 <limits.h> exists even on freestanding compilers. */
57359 #ifdef __STDC__
57360 # include <limits.h>
57361 #else
57362 # include <assert.h>
57363 #endif
57365 #undef $ac_func
57367 /* Override any gcc2 internal prototype to avoid an error. */
57368 #ifdef __cplusplus
57369 extern "C"
57371 #endif
57372 /* We use char because int might match the return type of a gcc2
57373 builtin and then its argument prototype would still apply. */
57374 char $ac_func ();
57375 /* The GNU C library defines this for functions which it implements
57376 to always fail with ENOSYS. Some functions are actually named
57377 something starting with __ and the normal name is an alias. */
57378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57379 choke me
57380 #else
57381 char (*f) () = $ac_func;
57382 #endif
57383 #ifdef __cplusplus
57385 #endif
57388 main ()
57390 return f != $ac_func;
57392 return 0;
57394 _ACEOF
57395 rm -f conftest.$ac_objext conftest$ac_exeext
57396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57397 (eval $ac_link) 2>conftest.er1
57398 ac_status=$?
57399 grep -v '^ *+' conftest.er1 >conftest.err
57400 rm -f conftest.er1
57401 cat conftest.err >&5
57402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57403 (exit $ac_status); } &&
57404 { ac_try='test -z "$ac_c_werror_flag"
57405 || test ! -s conftest.err'
57406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57407 (eval $ac_try) 2>&5
57408 ac_status=$?
57409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57410 (exit $ac_status); }; } &&
57411 { ac_try='test -s conftest$ac_exeext'
57412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57413 (eval $ac_try) 2>&5
57414 ac_status=$?
57415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57416 (exit $ac_status); }; }; then
57417 eval "$as_ac_var=yes"
57418 else
57419 echo "$as_me: failed program was:" >&5
57420 sed 's/^/| /' conftest.$ac_ext >&5
57422 eval "$as_ac_var=no"
57424 rm -f conftest.err conftest.$ac_objext \
57425 conftest$ac_exeext conftest.$ac_ext
57427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57429 if test `eval echo '${'$as_ac_var'}'` = yes; then
57430 cat >>confdefs.h <<_ACEOF
57431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57432 _ACEOF
57435 done
57445 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57446 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57447 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57448 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57449 echo $ECHO_N "(cached) $ECHO_C" >&6
57450 else
57454 ac_ext=cc
57455 ac_cpp='$CXXCPP $CPPFLAGS'
57456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57460 cat >conftest.$ac_ext <<_ACEOF
57461 /* confdefs.h. */
57462 _ACEOF
57463 cat confdefs.h >>conftest.$ac_ext
57464 cat >>conftest.$ac_ext <<_ACEOF
57465 /* end confdefs.h. */
57466 #include <math.h>
57468 main ()
57470 hypotl(0, 0);
57472 return 0;
57474 _ACEOF
57475 rm -f conftest.$ac_objext
57476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57477 (eval $ac_compile) 2>conftest.er1
57478 ac_status=$?
57479 grep -v '^ *+' conftest.er1 >conftest.err
57480 rm -f conftest.er1
57481 cat conftest.err >&5
57482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57483 (exit $ac_status); } &&
57484 { ac_try='test -z "$ac_cxx_werror_flag"
57485 || test ! -s conftest.err'
57486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57487 (eval $ac_try) 2>&5
57488 ac_status=$?
57489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490 (exit $ac_status); }; } &&
57491 { ac_try='test -s conftest.$ac_objext'
57492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57493 (eval $ac_try) 2>&5
57494 ac_status=$?
57495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57496 (exit $ac_status); }; }; then
57497 glibcxx_cv_func_hypotl_use=yes
57498 else
57499 echo "$as_me: failed program was:" >&5
57500 sed 's/^/| /' conftest.$ac_ext >&5
57502 glibcxx_cv_func_hypotl_use=no
57504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57505 ac_ext=c
57506 ac_cpp='$CPP $CPPFLAGS'
57507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57516 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57518 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57520 for ac_func in hypotl
57522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57523 echo "$as_me:$LINENO: checking for $ac_func" >&5
57524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57525 if eval "test \"\${$as_ac_var+set}\" = set"; then
57526 echo $ECHO_N "(cached) $ECHO_C" >&6
57527 else
57528 if test x$gcc_no_link = xyes; then
57529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57531 { (exit 1); exit 1; }; }
57533 cat >conftest.$ac_ext <<_ACEOF
57534 /* confdefs.h. */
57535 _ACEOF
57536 cat confdefs.h >>conftest.$ac_ext
57537 cat >>conftest.$ac_ext <<_ACEOF
57538 /* end confdefs.h. */
57539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57541 #define $ac_func innocuous_$ac_func
57543 /* System header to define __stub macros and hopefully few prototypes,
57544 which can conflict with char $ac_func (); below.
57545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57546 <limits.h> exists even on freestanding compilers. */
57548 #ifdef __STDC__
57549 # include <limits.h>
57550 #else
57551 # include <assert.h>
57552 #endif
57554 #undef $ac_func
57556 /* Override any gcc2 internal prototype to avoid an error. */
57557 #ifdef __cplusplus
57558 extern "C"
57560 #endif
57561 /* We use char because int might match the return type of a gcc2
57562 builtin and then its argument prototype would still apply. */
57563 char $ac_func ();
57564 /* The GNU C library defines this for functions which it implements
57565 to always fail with ENOSYS. Some functions are actually named
57566 something starting with __ and the normal name is an alias. */
57567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57568 choke me
57569 #else
57570 char (*f) () = $ac_func;
57571 #endif
57572 #ifdef __cplusplus
57574 #endif
57577 main ()
57579 return f != $ac_func;
57581 return 0;
57583 _ACEOF
57584 rm -f conftest.$ac_objext conftest$ac_exeext
57585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57586 (eval $ac_link) 2>conftest.er1
57587 ac_status=$?
57588 grep -v '^ *+' conftest.er1 >conftest.err
57589 rm -f conftest.er1
57590 cat conftest.err >&5
57591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57592 (exit $ac_status); } &&
57593 { ac_try='test -z "$ac_c_werror_flag"
57594 || test ! -s conftest.err'
57595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57596 (eval $ac_try) 2>&5
57597 ac_status=$?
57598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57599 (exit $ac_status); }; } &&
57600 { ac_try='test -s conftest$ac_exeext'
57601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57602 (eval $ac_try) 2>&5
57603 ac_status=$?
57604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57605 (exit $ac_status); }; }; then
57606 eval "$as_ac_var=yes"
57607 else
57608 echo "$as_me: failed program was:" >&5
57609 sed 's/^/| /' conftest.$ac_ext >&5
57611 eval "$as_ac_var=no"
57613 rm -f conftest.err conftest.$ac_objext \
57614 conftest$ac_exeext conftest.$ac_ext
57616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57618 if test `eval echo '${'$as_ac_var'}'` = yes; then
57619 cat >>confdefs.h <<_ACEOF
57620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57621 _ACEOF
57624 done
57626 else
57628 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57629 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57630 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57631 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57632 echo $ECHO_N "(cached) $ECHO_C" >&6
57633 else
57637 ac_ext=cc
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57643 cat >conftest.$ac_ext <<_ACEOF
57644 /* confdefs.h. */
57645 _ACEOF
57646 cat confdefs.h >>conftest.$ac_ext
57647 cat >>conftest.$ac_ext <<_ACEOF
57648 /* end confdefs.h. */
57649 #include <math.h>
57651 main ()
57653 _hypotl(0, 0);
57655 return 0;
57657 _ACEOF
57658 rm -f conftest.$ac_objext
57659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57660 (eval $ac_compile) 2>conftest.er1
57661 ac_status=$?
57662 grep -v '^ *+' conftest.er1 >conftest.err
57663 rm -f conftest.er1
57664 cat conftest.err >&5
57665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57666 (exit $ac_status); } &&
57667 { ac_try='test -z "$ac_cxx_werror_flag"
57668 || test ! -s conftest.err'
57669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57670 (eval $ac_try) 2>&5
57671 ac_status=$?
57672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57673 (exit $ac_status); }; } &&
57674 { ac_try='test -s conftest.$ac_objext'
57675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57676 (eval $ac_try) 2>&5
57677 ac_status=$?
57678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57679 (exit $ac_status); }; }; then
57680 glibcxx_cv_func__hypotl_use=yes
57681 else
57682 echo "$as_me: failed program was:" >&5
57683 sed 's/^/| /' conftest.$ac_ext >&5
57685 glibcxx_cv_func__hypotl_use=no
57687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57688 ac_ext=c
57689 ac_cpp='$CPP $CPPFLAGS'
57690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57699 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57701 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57703 for ac_func in _hypotl
57705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57706 echo "$as_me:$LINENO: checking for $ac_func" >&5
57707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57708 if eval "test \"\${$as_ac_var+set}\" = set"; then
57709 echo $ECHO_N "(cached) $ECHO_C" >&6
57710 else
57711 if test x$gcc_no_link = xyes; then
57712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57714 { (exit 1); exit 1; }; }
57716 cat >conftest.$ac_ext <<_ACEOF
57717 /* confdefs.h. */
57718 _ACEOF
57719 cat confdefs.h >>conftest.$ac_ext
57720 cat >>conftest.$ac_ext <<_ACEOF
57721 /* end confdefs.h. */
57722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57724 #define $ac_func innocuous_$ac_func
57726 /* System header to define __stub macros and hopefully few prototypes,
57727 which can conflict with char $ac_func (); below.
57728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57729 <limits.h> exists even on freestanding compilers. */
57731 #ifdef __STDC__
57732 # include <limits.h>
57733 #else
57734 # include <assert.h>
57735 #endif
57737 #undef $ac_func
57739 /* Override any gcc2 internal prototype to avoid an error. */
57740 #ifdef __cplusplus
57741 extern "C"
57743 #endif
57744 /* We use char because int might match the return type of a gcc2
57745 builtin and then its argument prototype would still apply. */
57746 char $ac_func ();
57747 /* The GNU C library defines this for functions which it implements
57748 to always fail with ENOSYS. Some functions are actually named
57749 something starting with __ and the normal name is an alias. */
57750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57751 choke me
57752 #else
57753 char (*f) () = $ac_func;
57754 #endif
57755 #ifdef __cplusplus
57757 #endif
57760 main ()
57762 return f != $ac_func;
57764 return 0;
57766 _ACEOF
57767 rm -f conftest.$ac_objext conftest$ac_exeext
57768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57769 (eval $ac_link) 2>conftest.er1
57770 ac_status=$?
57771 grep -v '^ *+' conftest.er1 >conftest.err
57772 rm -f conftest.er1
57773 cat conftest.err >&5
57774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57775 (exit $ac_status); } &&
57776 { ac_try='test -z "$ac_c_werror_flag"
57777 || test ! -s conftest.err'
57778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57779 (eval $ac_try) 2>&5
57780 ac_status=$?
57781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782 (exit $ac_status); }; } &&
57783 { ac_try='test -s conftest$ac_exeext'
57784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57785 (eval $ac_try) 2>&5
57786 ac_status=$?
57787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57788 (exit $ac_status); }; }; then
57789 eval "$as_ac_var=yes"
57790 else
57791 echo "$as_me: failed program was:" >&5
57792 sed 's/^/| /' conftest.$ac_ext >&5
57794 eval "$as_ac_var=no"
57796 rm -f conftest.err conftest.$ac_objext \
57797 conftest$ac_exeext conftest.$ac_ext
57799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57801 if test `eval echo '${'$as_ac_var'}'` = yes; then
57802 cat >>confdefs.h <<_ACEOF
57803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57804 _ACEOF
57807 done
57817 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57818 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57819 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57820 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57821 echo $ECHO_N "(cached) $ECHO_C" >&6
57822 else
57826 ac_ext=cc
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57832 cat >conftest.$ac_ext <<_ACEOF
57833 /* confdefs.h. */
57834 _ACEOF
57835 cat confdefs.h >>conftest.$ac_ext
57836 cat >>conftest.$ac_ext <<_ACEOF
57837 /* end confdefs.h. */
57838 #include <math.h>
57840 main ()
57842 ldexpl(0, 0);
57844 return 0;
57846 _ACEOF
57847 rm -f conftest.$ac_objext
57848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57849 (eval $ac_compile) 2>conftest.er1
57850 ac_status=$?
57851 grep -v '^ *+' conftest.er1 >conftest.err
57852 rm -f conftest.er1
57853 cat conftest.err >&5
57854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57855 (exit $ac_status); } &&
57856 { ac_try='test -z "$ac_cxx_werror_flag"
57857 || test ! -s conftest.err'
57858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57859 (eval $ac_try) 2>&5
57860 ac_status=$?
57861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57862 (exit $ac_status); }; } &&
57863 { ac_try='test -s conftest.$ac_objext'
57864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57865 (eval $ac_try) 2>&5
57866 ac_status=$?
57867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57868 (exit $ac_status); }; }; then
57869 glibcxx_cv_func_ldexpl_use=yes
57870 else
57871 echo "$as_me: failed program was:" >&5
57872 sed 's/^/| /' conftest.$ac_ext >&5
57874 glibcxx_cv_func_ldexpl_use=no
57876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57877 ac_ext=c
57878 ac_cpp='$CPP $CPPFLAGS'
57879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57888 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57890 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57892 for ac_func in ldexpl
57894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57895 echo "$as_me:$LINENO: checking for $ac_func" >&5
57896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57897 if eval "test \"\${$as_ac_var+set}\" = set"; then
57898 echo $ECHO_N "(cached) $ECHO_C" >&6
57899 else
57900 if test x$gcc_no_link = xyes; then
57901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57903 { (exit 1); exit 1; }; }
57905 cat >conftest.$ac_ext <<_ACEOF
57906 /* confdefs.h. */
57907 _ACEOF
57908 cat confdefs.h >>conftest.$ac_ext
57909 cat >>conftest.$ac_ext <<_ACEOF
57910 /* end confdefs.h. */
57911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57913 #define $ac_func innocuous_$ac_func
57915 /* System header to define __stub macros and hopefully few prototypes,
57916 which can conflict with char $ac_func (); below.
57917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57918 <limits.h> exists even on freestanding compilers. */
57920 #ifdef __STDC__
57921 # include <limits.h>
57922 #else
57923 # include <assert.h>
57924 #endif
57926 #undef $ac_func
57928 /* Override any gcc2 internal prototype to avoid an error. */
57929 #ifdef __cplusplus
57930 extern "C"
57932 #endif
57933 /* We use char because int might match the return type of a gcc2
57934 builtin and then its argument prototype would still apply. */
57935 char $ac_func ();
57936 /* The GNU C library defines this for functions which it implements
57937 to always fail with ENOSYS. Some functions are actually named
57938 something starting with __ and the normal name is an alias. */
57939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57940 choke me
57941 #else
57942 char (*f) () = $ac_func;
57943 #endif
57944 #ifdef __cplusplus
57946 #endif
57949 main ()
57951 return f != $ac_func;
57953 return 0;
57955 _ACEOF
57956 rm -f conftest.$ac_objext conftest$ac_exeext
57957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57958 (eval $ac_link) 2>conftest.er1
57959 ac_status=$?
57960 grep -v '^ *+' conftest.er1 >conftest.err
57961 rm -f conftest.er1
57962 cat conftest.err >&5
57963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57964 (exit $ac_status); } &&
57965 { ac_try='test -z "$ac_c_werror_flag"
57966 || test ! -s conftest.err'
57967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57968 (eval $ac_try) 2>&5
57969 ac_status=$?
57970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57971 (exit $ac_status); }; } &&
57972 { ac_try='test -s conftest$ac_exeext'
57973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57974 (eval $ac_try) 2>&5
57975 ac_status=$?
57976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57977 (exit $ac_status); }; }; then
57978 eval "$as_ac_var=yes"
57979 else
57980 echo "$as_me: failed program was:" >&5
57981 sed 's/^/| /' conftest.$ac_ext >&5
57983 eval "$as_ac_var=no"
57985 rm -f conftest.err conftest.$ac_objext \
57986 conftest$ac_exeext conftest.$ac_ext
57988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57990 if test `eval echo '${'$as_ac_var'}'` = yes; then
57991 cat >>confdefs.h <<_ACEOF
57992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57993 _ACEOF
57996 done
57998 else
58000 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58001 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58002 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58003 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58004 echo $ECHO_N "(cached) $ECHO_C" >&6
58005 else
58009 ac_ext=cc
58010 ac_cpp='$CXXCPP $CPPFLAGS'
58011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58015 cat >conftest.$ac_ext <<_ACEOF
58016 /* confdefs.h. */
58017 _ACEOF
58018 cat confdefs.h >>conftest.$ac_ext
58019 cat >>conftest.$ac_ext <<_ACEOF
58020 /* end confdefs.h. */
58021 #include <math.h>
58023 main ()
58025 _ldexpl(0, 0);
58027 return 0;
58029 _ACEOF
58030 rm -f conftest.$ac_objext
58031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58032 (eval $ac_compile) 2>conftest.er1
58033 ac_status=$?
58034 grep -v '^ *+' conftest.er1 >conftest.err
58035 rm -f conftest.er1
58036 cat conftest.err >&5
58037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038 (exit $ac_status); } &&
58039 { ac_try='test -z "$ac_cxx_werror_flag"
58040 || test ! -s conftest.err'
58041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042 (eval $ac_try) 2>&5
58043 ac_status=$?
58044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045 (exit $ac_status); }; } &&
58046 { ac_try='test -s conftest.$ac_objext'
58047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58048 (eval $ac_try) 2>&5
58049 ac_status=$?
58050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58051 (exit $ac_status); }; }; then
58052 glibcxx_cv_func__ldexpl_use=yes
58053 else
58054 echo "$as_me: failed program was:" >&5
58055 sed 's/^/| /' conftest.$ac_ext >&5
58057 glibcxx_cv_func__ldexpl_use=no
58059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58060 ac_ext=c
58061 ac_cpp='$CPP $CPPFLAGS'
58062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58070 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58071 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58073 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58075 for ac_func in _ldexpl
58077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58078 echo "$as_me:$LINENO: checking for $ac_func" >&5
58079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58080 if eval "test \"\${$as_ac_var+set}\" = set"; then
58081 echo $ECHO_N "(cached) $ECHO_C" >&6
58082 else
58083 if test x$gcc_no_link = xyes; then
58084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58086 { (exit 1); exit 1; }; }
58088 cat >conftest.$ac_ext <<_ACEOF
58089 /* confdefs.h. */
58090 _ACEOF
58091 cat confdefs.h >>conftest.$ac_ext
58092 cat >>conftest.$ac_ext <<_ACEOF
58093 /* end confdefs.h. */
58094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58096 #define $ac_func innocuous_$ac_func
58098 /* System header to define __stub macros and hopefully few prototypes,
58099 which can conflict with char $ac_func (); below.
58100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58101 <limits.h> exists even on freestanding compilers. */
58103 #ifdef __STDC__
58104 # include <limits.h>
58105 #else
58106 # include <assert.h>
58107 #endif
58109 #undef $ac_func
58111 /* Override any gcc2 internal prototype to avoid an error. */
58112 #ifdef __cplusplus
58113 extern "C"
58115 #endif
58116 /* We use char because int might match the return type of a gcc2
58117 builtin and then its argument prototype would still apply. */
58118 char $ac_func ();
58119 /* The GNU C library defines this for functions which it implements
58120 to always fail with ENOSYS. Some functions are actually named
58121 something starting with __ and the normal name is an alias. */
58122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58123 choke me
58124 #else
58125 char (*f) () = $ac_func;
58126 #endif
58127 #ifdef __cplusplus
58129 #endif
58132 main ()
58134 return f != $ac_func;
58136 return 0;
58138 _ACEOF
58139 rm -f conftest.$ac_objext conftest$ac_exeext
58140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58141 (eval $ac_link) 2>conftest.er1
58142 ac_status=$?
58143 grep -v '^ *+' conftest.er1 >conftest.err
58144 rm -f conftest.er1
58145 cat conftest.err >&5
58146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58147 (exit $ac_status); } &&
58148 { ac_try='test -z "$ac_c_werror_flag"
58149 || test ! -s conftest.err'
58150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58151 (eval $ac_try) 2>&5
58152 ac_status=$?
58153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58154 (exit $ac_status); }; } &&
58155 { ac_try='test -s conftest$ac_exeext'
58156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58157 (eval $ac_try) 2>&5
58158 ac_status=$?
58159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58160 (exit $ac_status); }; }; then
58161 eval "$as_ac_var=yes"
58162 else
58163 echo "$as_me: failed program was:" >&5
58164 sed 's/^/| /' conftest.$ac_ext >&5
58166 eval "$as_ac_var=no"
58168 rm -f conftest.err conftest.$ac_objext \
58169 conftest$ac_exeext conftest.$ac_ext
58171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58173 if test `eval echo '${'$as_ac_var'}'` = yes; then
58174 cat >>confdefs.h <<_ACEOF
58175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58176 _ACEOF
58179 done
58189 echo "$as_me:$LINENO: checking for logl declaration" >&5
58190 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58191 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58192 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58193 echo $ECHO_N "(cached) $ECHO_C" >&6
58194 else
58198 ac_ext=cc
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58204 cat >conftest.$ac_ext <<_ACEOF
58205 /* confdefs.h. */
58206 _ACEOF
58207 cat confdefs.h >>conftest.$ac_ext
58208 cat >>conftest.$ac_ext <<_ACEOF
58209 /* end confdefs.h. */
58210 #include <math.h>
58211 #ifdef HAVE_IEEEFP_H
58212 #include <ieeefp.h>
58213 #endif
58216 main ()
58218 logl(0);
58220 return 0;
58222 _ACEOF
58223 rm -f conftest.$ac_objext
58224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58225 (eval $ac_compile) 2>conftest.er1
58226 ac_status=$?
58227 grep -v '^ *+' conftest.er1 >conftest.err
58228 rm -f conftest.er1
58229 cat conftest.err >&5
58230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58231 (exit $ac_status); } &&
58232 { ac_try='test -z "$ac_cxx_werror_flag"
58233 || test ! -s conftest.err'
58234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58235 (eval $ac_try) 2>&5
58236 ac_status=$?
58237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238 (exit $ac_status); }; } &&
58239 { ac_try='test -s conftest.$ac_objext'
58240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58241 (eval $ac_try) 2>&5
58242 ac_status=$?
58243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58244 (exit $ac_status); }; }; then
58245 glibcxx_cv_func_logl_use=yes
58246 else
58247 echo "$as_me: failed program was:" >&5
58248 sed 's/^/| /' conftest.$ac_ext >&5
58250 glibcxx_cv_func_logl_use=no
58252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58253 ac_ext=c
58254 ac_cpp='$CPP $CPPFLAGS'
58255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58264 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58266 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58268 for ac_func in logl
58270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58271 echo "$as_me:$LINENO: checking for $ac_func" >&5
58272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58273 if eval "test \"\${$as_ac_var+set}\" = set"; then
58274 echo $ECHO_N "(cached) $ECHO_C" >&6
58275 else
58276 if test x$gcc_no_link = xyes; then
58277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58279 { (exit 1); exit 1; }; }
58281 cat >conftest.$ac_ext <<_ACEOF
58282 /* confdefs.h. */
58283 _ACEOF
58284 cat confdefs.h >>conftest.$ac_ext
58285 cat >>conftest.$ac_ext <<_ACEOF
58286 /* end confdefs.h. */
58287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58289 #define $ac_func innocuous_$ac_func
58291 /* System header to define __stub macros and hopefully few prototypes,
58292 which can conflict with char $ac_func (); below.
58293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58294 <limits.h> exists even on freestanding compilers. */
58296 #ifdef __STDC__
58297 # include <limits.h>
58298 #else
58299 # include <assert.h>
58300 #endif
58302 #undef $ac_func
58304 /* Override any gcc2 internal prototype to avoid an error. */
58305 #ifdef __cplusplus
58306 extern "C"
58308 #endif
58309 /* We use char because int might match the return type of a gcc2
58310 builtin and then its argument prototype would still apply. */
58311 char $ac_func ();
58312 /* The GNU C library defines this for functions which it implements
58313 to always fail with ENOSYS. Some functions are actually named
58314 something starting with __ and the normal name is an alias. */
58315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58316 choke me
58317 #else
58318 char (*f) () = $ac_func;
58319 #endif
58320 #ifdef __cplusplus
58322 #endif
58325 main ()
58327 return f != $ac_func;
58329 return 0;
58331 _ACEOF
58332 rm -f conftest.$ac_objext conftest$ac_exeext
58333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58334 (eval $ac_link) 2>conftest.er1
58335 ac_status=$?
58336 grep -v '^ *+' conftest.er1 >conftest.err
58337 rm -f conftest.er1
58338 cat conftest.err >&5
58339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58340 (exit $ac_status); } &&
58341 { ac_try='test -z "$ac_c_werror_flag"
58342 || test ! -s conftest.err'
58343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58344 (eval $ac_try) 2>&5
58345 ac_status=$?
58346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58347 (exit $ac_status); }; } &&
58348 { ac_try='test -s conftest$ac_exeext'
58349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58350 (eval $ac_try) 2>&5
58351 ac_status=$?
58352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58353 (exit $ac_status); }; }; then
58354 eval "$as_ac_var=yes"
58355 else
58356 echo "$as_me: failed program was:" >&5
58357 sed 's/^/| /' conftest.$ac_ext >&5
58359 eval "$as_ac_var=no"
58361 rm -f conftest.err conftest.$ac_objext \
58362 conftest$ac_exeext conftest.$ac_ext
58364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58366 if test `eval echo '${'$as_ac_var'}'` = yes; then
58367 cat >>confdefs.h <<_ACEOF
58368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58369 _ACEOF
58372 done
58374 else
58376 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58377 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58378 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58379 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58380 echo $ECHO_N "(cached) $ECHO_C" >&6
58381 else
58385 ac_ext=cc
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58391 cat >conftest.$ac_ext <<_ACEOF
58392 /* confdefs.h. */
58393 _ACEOF
58394 cat confdefs.h >>conftest.$ac_ext
58395 cat >>conftest.$ac_ext <<_ACEOF
58396 /* end confdefs.h. */
58397 #include <math.h>
58398 #ifdef HAVE_IEEEFP_H
58399 #include <ieeefp.h>
58400 #endif
58403 main ()
58405 _logl(0);
58407 return 0;
58409 _ACEOF
58410 rm -f conftest.$ac_objext
58411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58412 (eval $ac_compile) 2>conftest.er1
58413 ac_status=$?
58414 grep -v '^ *+' conftest.er1 >conftest.err
58415 rm -f conftest.er1
58416 cat conftest.err >&5
58417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58418 (exit $ac_status); } &&
58419 { ac_try='test -z "$ac_cxx_werror_flag"
58420 || test ! -s conftest.err'
58421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58422 (eval $ac_try) 2>&5
58423 ac_status=$?
58424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58425 (exit $ac_status); }; } &&
58426 { ac_try='test -s conftest.$ac_objext'
58427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58428 (eval $ac_try) 2>&5
58429 ac_status=$?
58430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58431 (exit $ac_status); }; }; then
58432 glibcxx_cv_func__logl_use=yes
58433 else
58434 echo "$as_me: failed program was:" >&5
58435 sed 's/^/| /' conftest.$ac_ext >&5
58437 glibcxx_cv_func__logl_use=no
58439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58451 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58453 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58455 for ac_func in _logl
58457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58458 echo "$as_me:$LINENO: checking for $ac_func" >&5
58459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58460 if eval "test \"\${$as_ac_var+set}\" = set"; then
58461 echo $ECHO_N "(cached) $ECHO_C" >&6
58462 else
58463 if test x$gcc_no_link = xyes; then
58464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58466 { (exit 1); exit 1; }; }
58468 cat >conftest.$ac_ext <<_ACEOF
58469 /* confdefs.h. */
58470 _ACEOF
58471 cat confdefs.h >>conftest.$ac_ext
58472 cat >>conftest.$ac_ext <<_ACEOF
58473 /* end confdefs.h. */
58474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58476 #define $ac_func innocuous_$ac_func
58478 /* System header to define __stub macros and hopefully few prototypes,
58479 which can conflict with char $ac_func (); below.
58480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58481 <limits.h> exists even on freestanding compilers. */
58483 #ifdef __STDC__
58484 # include <limits.h>
58485 #else
58486 # include <assert.h>
58487 #endif
58489 #undef $ac_func
58491 /* Override any gcc2 internal prototype to avoid an error. */
58492 #ifdef __cplusplus
58493 extern "C"
58495 #endif
58496 /* We use char because int might match the return type of a gcc2
58497 builtin and then its argument prototype would still apply. */
58498 char $ac_func ();
58499 /* The GNU C library defines this for functions which it implements
58500 to always fail with ENOSYS. Some functions are actually named
58501 something starting with __ and the normal name is an alias. */
58502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58503 choke me
58504 #else
58505 char (*f) () = $ac_func;
58506 #endif
58507 #ifdef __cplusplus
58509 #endif
58512 main ()
58514 return f != $ac_func;
58516 return 0;
58518 _ACEOF
58519 rm -f conftest.$ac_objext conftest$ac_exeext
58520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58521 (eval $ac_link) 2>conftest.er1
58522 ac_status=$?
58523 grep -v '^ *+' conftest.er1 >conftest.err
58524 rm -f conftest.er1
58525 cat conftest.err >&5
58526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58527 (exit $ac_status); } &&
58528 { ac_try='test -z "$ac_c_werror_flag"
58529 || test ! -s conftest.err'
58530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58531 (eval $ac_try) 2>&5
58532 ac_status=$?
58533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58534 (exit $ac_status); }; } &&
58535 { ac_try='test -s conftest$ac_exeext'
58536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58537 (eval $ac_try) 2>&5
58538 ac_status=$?
58539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58540 (exit $ac_status); }; }; then
58541 eval "$as_ac_var=yes"
58542 else
58543 echo "$as_me: failed program was:" >&5
58544 sed 's/^/| /' conftest.$ac_ext >&5
58546 eval "$as_ac_var=no"
58548 rm -f conftest.err conftest.$ac_objext \
58549 conftest$ac_exeext conftest.$ac_ext
58551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58553 if test `eval echo '${'$as_ac_var'}'` = yes; then
58554 cat >>confdefs.h <<_ACEOF
58555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58556 _ACEOF
58559 done
58569 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58570 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58571 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58572 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58573 echo $ECHO_N "(cached) $ECHO_C" >&6
58574 else
58578 ac_ext=cc
58579 ac_cpp='$CXXCPP $CPPFLAGS'
58580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58584 cat >conftest.$ac_ext <<_ACEOF
58585 /* confdefs.h. */
58586 _ACEOF
58587 cat confdefs.h >>conftest.$ac_ext
58588 cat >>conftest.$ac_ext <<_ACEOF
58589 /* end confdefs.h. */
58590 #include <math.h>
58591 #ifdef HAVE_IEEEFP_H
58592 #include <ieeefp.h>
58593 #endif
58596 main ()
58598 log10l(0);
58600 return 0;
58602 _ACEOF
58603 rm -f conftest.$ac_objext
58604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58605 (eval $ac_compile) 2>conftest.er1
58606 ac_status=$?
58607 grep -v '^ *+' conftest.er1 >conftest.err
58608 rm -f conftest.er1
58609 cat conftest.err >&5
58610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58611 (exit $ac_status); } &&
58612 { ac_try='test -z "$ac_cxx_werror_flag"
58613 || test ! -s conftest.err'
58614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615 (eval $ac_try) 2>&5
58616 ac_status=$?
58617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618 (exit $ac_status); }; } &&
58619 { ac_try='test -s conftest.$ac_objext'
58620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621 (eval $ac_try) 2>&5
58622 ac_status=$?
58623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624 (exit $ac_status); }; }; then
58625 glibcxx_cv_func_log10l_use=yes
58626 else
58627 echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58630 glibcxx_cv_func_log10l_use=no
58632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58633 ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58644 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58646 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58648 for ac_func in log10l
58650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58651 echo "$as_me:$LINENO: checking for $ac_func" >&5
58652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58653 if eval "test \"\${$as_ac_var+set}\" = set"; then
58654 echo $ECHO_N "(cached) $ECHO_C" >&6
58655 else
58656 if test x$gcc_no_link = xyes; then
58657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58659 { (exit 1); exit 1; }; }
58661 cat >conftest.$ac_ext <<_ACEOF
58662 /* confdefs.h. */
58663 _ACEOF
58664 cat confdefs.h >>conftest.$ac_ext
58665 cat >>conftest.$ac_ext <<_ACEOF
58666 /* end confdefs.h. */
58667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58669 #define $ac_func innocuous_$ac_func
58671 /* System header to define __stub macros and hopefully few prototypes,
58672 which can conflict with char $ac_func (); below.
58673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58674 <limits.h> exists even on freestanding compilers. */
58676 #ifdef __STDC__
58677 # include <limits.h>
58678 #else
58679 # include <assert.h>
58680 #endif
58682 #undef $ac_func
58684 /* Override any gcc2 internal prototype to avoid an error. */
58685 #ifdef __cplusplus
58686 extern "C"
58688 #endif
58689 /* We use char because int might match the return type of a gcc2
58690 builtin and then its argument prototype would still apply. */
58691 char $ac_func ();
58692 /* The GNU C library defines this for functions which it implements
58693 to always fail with ENOSYS. Some functions are actually named
58694 something starting with __ and the normal name is an alias. */
58695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58696 choke me
58697 #else
58698 char (*f) () = $ac_func;
58699 #endif
58700 #ifdef __cplusplus
58702 #endif
58705 main ()
58707 return f != $ac_func;
58709 return 0;
58711 _ACEOF
58712 rm -f conftest.$ac_objext conftest$ac_exeext
58713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58714 (eval $ac_link) 2>conftest.er1
58715 ac_status=$?
58716 grep -v '^ *+' conftest.er1 >conftest.err
58717 rm -f conftest.er1
58718 cat conftest.err >&5
58719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720 (exit $ac_status); } &&
58721 { ac_try='test -z "$ac_c_werror_flag"
58722 || test ! -s conftest.err'
58723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724 (eval $ac_try) 2>&5
58725 ac_status=$?
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); }; } &&
58728 { ac_try='test -s conftest$ac_exeext'
58729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58730 (eval $ac_try) 2>&5
58731 ac_status=$?
58732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733 (exit $ac_status); }; }; then
58734 eval "$as_ac_var=yes"
58735 else
58736 echo "$as_me: failed program was:" >&5
58737 sed 's/^/| /' conftest.$ac_ext >&5
58739 eval "$as_ac_var=no"
58741 rm -f conftest.err conftest.$ac_objext \
58742 conftest$ac_exeext conftest.$ac_ext
58744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58746 if test `eval echo '${'$as_ac_var'}'` = yes; then
58747 cat >>confdefs.h <<_ACEOF
58748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58749 _ACEOF
58752 done
58754 else
58756 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58757 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58758 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58759 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58760 echo $ECHO_N "(cached) $ECHO_C" >&6
58761 else
58765 ac_ext=cc
58766 ac_cpp='$CXXCPP $CPPFLAGS'
58767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58771 cat >conftest.$ac_ext <<_ACEOF
58772 /* confdefs.h. */
58773 _ACEOF
58774 cat confdefs.h >>conftest.$ac_ext
58775 cat >>conftest.$ac_ext <<_ACEOF
58776 /* end confdefs.h. */
58777 #include <math.h>
58778 #ifdef HAVE_IEEEFP_H
58779 #include <ieeefp.h>
58780 #endif
58783 main ()
58785 _log10l(0);
58787 return 0;
58789 _ACEOF
58790 rm -f conftest.$ac_objext
58791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58792 (eval $ac_compile) 2>conftest.er1
58793 ac_status=$?
58794 grep -v '^ *+' conftest.er1 >conftest.err
58795 rm -f conftest.er1
58796 cat conftest.err >&5
58797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798 (exit $ac_status); } &&
58799 { ac_try='test -z "$ac_cxx_werror_flag"
58800 || test ! -s conftest.err'
58801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58802 (eval $ac_try) 2>&5
58803 ac_status=$?
58804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805 (exit $ac_status); }; } &&
58806 { ac_try='test -s conftest.$ac_objext'
58807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808 (eval $ac_try) 2>&5
58809 ac_status=$?
58810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811 (exit $ac_status); }; }; then
58812 glibcxx_cv_func__log10l_use=yes
58813 else
58814 echo "$as_me: failed program was:" >&5
58815 sed 's/^/| /' conftest.$ac_ext >&5
58817 glibcxx_cv_func__log10l_use=no
58819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58820 ac_ext=c
58821 ac_cpp='$CPP $CPPFLAGS'
58822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58830 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58831 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58833 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58835 for ac_func in _log10l
58837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58838 echo "$as_me:$LINENO: checking for $ac_func" >&5
58839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58840 if eval "test \"\${$as_ac_var+set}\" = set"; then
58841 echo $ECHO_N "(cached) $ECHO_C" >&6
58842 else
58843 if test x$gcc_no_link = xyes; then
58844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58846 { (exit 1); exit 1; }; }
58848 cat >conftest.$ac_ext <<_ACEOF
58849 /* confdefs.h. */
58850 _ACEOF
58851 cat confdefs.h >>conftest.$ac_ext
58852 cat >>conftest.$ac_ext <<_ACEOF
58853 /* end confdefs.h. */
58854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58856 #define $ac_func innocuous_$ac_func
58858 /* System header to define __stub macros and hopefully few prototypes,
58859 which can conflict with char $ac_func (); below.
58860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58861 <limits.h> exists even on freestanding compilers. */
58863 #ifdef __STDC__
58864 # include <limits.h>
58865 #else
58866 # include <assert.h>
58867 #endif
58869 #undef $ac_func
58871 /* Override any gcc2 internal prototype to avoid an error. */
58872 #ifdef __cplusplus
58873 extern "C"
58875 #endif
58876 /* We use char because int might match the return type of a gcc2
58877 builtin and then its argument prototype would still apply. */
58878 char $ac_func ();
58879 /* The GNU C library defines this for functions which it implements
58880 to always fail with ENOSYS. Some functions are actually named
58881 something starting with __ and the normal name is an alias. */
58882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58883 choke me
58884 #else
58885 char (*f) () = $ac_func;
58886 #endif
58887 #ifdef __cplusplus
58889 #endif
58892 main ()
58894 return f != $ac_func;
58896 return 0;
58898 _ACEOF
58899 rm -f conftest.$ac_objext conftest$ac_exeext
58900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58901 (eval $ac_link) 2>conftest.er1
58902 ac_status=$?
58903 grep -v '^ *+' conftest.er1 >conftest.err
58904 rm -f conftest.er1
58905 cat conftest.err >&5
58906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58907 (exit $ac_status); } &&
58908 { ac_try='test -z "$ac_c_werror_flag"
58909 || test ! -s conftest.err'
58910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911 (eval $ac_try) 2>&5
58912 ac_status=$?
58913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914 (exit $ac_status); }; } &&
58915 { ac_try='test -s conftest$ac_exeext'
58916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917 (eval $ac_try) 2>&5
58918 ac_status=$?
58919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920 (exit $ac_status); }; }; then
58921 eval "$as_ac_var=yes"
58922 else
58923 echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58926 eval "$as_ac_var=no"
58928 rm -f conftest.err conftest.$ac_objext \
58929 conftest$ac_exeext conftest.$ac_ext
58931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58933 if test `eval echo '${'$as_ac_var'}'` = yes; then
58934 cat >>confdefs.h <<_ACEOF
58935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58936 _ACEOF
58939 done
58949 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58950 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58951 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58952 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58953 echo $ECHO_N "(cached) $ECHO_C" >&6
58954 else
58958 ac_ext=cc
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58964 cat >conftest.$ac_ext <<_ACEOF
58965 /* confdefs.h. */
58966 _ACEOF
58967 cat confdefs.h >>conftest.$ac_ext
58968 cat >>conftest.$ac_ext <<_ACEOF
58969 /* end confdefs.h. */
58970 #include <math.h>
58972 main ()
58974 modfl(0, 0);
58976 return 0;
58978 _ACEOF
58979 rm -f conftest.$ac_objext
58980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58981 (eval $ac_compile) 2>conftest.er1
58982 ac_status=$?
58983 grep -v '^ *+' conftest.er1 >conftest.err
58984 rm -f conftest.er1
58985 cat conftest.err >&5
58986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58987 (exit $ac_status); } &&
58988 { ac_try='test -z "$ac_cxx_werror_flag"
58989 || test ! -s conftest.err'
58990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58991 (eval $ac_try) 2>&5
58992 ac_status=$?
58993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58994 (exit $ac_status); }; } &&
58995 { ac_try='test -s conftest.$ac_objext'
58996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58997 (eval $ac_try) 2>&5
58998 ac_status=$?
58999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59000 (exit $ac_status); }; }; then
59001 glibcxx_cv_func_modfl_use=yes
59002 else
59003 echo "$as_me: failed program was:" >&5
59004 sed 's/^/| /' conftest.$ac_ext >&5
59006 glibcxx_cv_func_modfl_use=no
59008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59009 ac_ext=c
59010 ac_cpp='$CPP $CPPFLAGS'
59011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59020 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59022 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59024 for ac_func in modfl
59026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59027 echo "$as_me:$LINENO: checking for $ac_func" >&5
59028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59029 if eval "test \"\${$as_ac_var+set}\" = set"; then
59030 echo $ECHO_N "(cached) $ECHO_C" >&6
59031 else
59032 if test x$gcc_no_link = xyes; then
59033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59035 { (exit 1); exit 1; }; }
59037 cat >conftest.$ac_ext <<_ACEOF
59038 /* confdefs.h. */
59039 _ACEOF
59040 cat confdefs.h >>conftest.$ac_ext
59041 cat >>conftest.$ac_ext <<_ACEOF
59042 /* end confdefs.h. */
59043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59045 #define $ac_func innocuous_$ac_func
59047 /* System header to define __stub macros and hopefully few prototypes,
59048 which can conflict with char $ac_func (); below.
59049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59050 <limits.h> exists even on freestanding compilers. */
59052 #ifdef __STDC__
59053 # include <limits.h>
59054 #else
59055 # include <assert.h>
59056 #endif
59058 #undef $ac_func
59060 /* Override any gcc2 internal prototype to avoid an error. */
59061 #ifdef __cplusplus
59062 extern "C"
59064 #endif
59065 /* We use char because int might match the return type of a gcc2
59066 builtin and then its argument prototype would still apply. */
59067 char $ac_func ();
59068 /* The GNU C library defines this for functions which it implements
59069 to always fail with ENOSYS. Some functions are actually named
59070 something starting with __ and the normal name is an alias. */
59071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59072 choke me
59073 #else
59074 char (*f) () = $ac_func;
59075 #endif
59076 #ifdef __cplusplus
59078 #endif
59081 main ()
59083 return f != $ac_func;
59085 return 0;
59087 _ACEOF
59088 rm -f conftest.$ac_objext conftest$ac_exeext
59089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59090 (eval $ac_link) 2>conftest.er1
59091 ac_status=$?
59092 grep -v '^ *+' conftest.er1 >conftest.err
59093 rm -f conftest.er1
59094 cat conftest.err >&5
59095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59096 (exit $ac_status); } &&
59097 { ac_try='test -z "$ac_c_werror_flag"
59098 || test ! -s conftest.err'
59099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59100 (eval $ac_try) 2>&5
59101 ac_status=$?
59102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103 (exit $ac_status); }; } &&
59104 { ac_try='test -s conftest$ac_exeext'
59105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59106 (eval $ac_try) 2>&5
59107 ac_status=$?
59108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59109 (exit $ac_status); }; }; then
59110 eval "$as_ac_var=yes"
59111 else
59112 echo "$as_me: failed program was:" >&5
59113 sed 's/^/| /' conftest.$ac_ext >&5
59115 eval "$as_ac_var=no"
59117 rm -f conftest.err conftest.$ac_objext \
59118 conftest$ac_exeext conftest.$ac_ext
59120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59122 if test `eval echo '${'$as_ac_var'}'` = yes; then
59123 cat >>confdefs.h <<_ACEOF
59124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59125 _ACEOF
59128 done
59130 else
59132 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59133 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59134 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59135 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59136 echo $ECHO_N "(cached) $ECHO_C" >&6
59137 else
59141 ac_ext=cc
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59147 cat >conftest.$ac_ext <<_ACEOF
59148 /* confdefs.h. */
59149 _ACEOF
59150 cat confdefs.h >>conftest.$ac_ext
59151 cat >>conftest.$ac_ext <<_ACEOF
59152 /* end confdefs.h. */
59153 #include <math.h>
59155 main ()
59157 _modfl(0, 0);
59159 return 0;
59161 _ACEOF
59162 rm -f conftest.$ac_objext
59163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59164 (eval $ac_compile) 2>conftest.er1
59165 ac_status=$?
59166 grep -v '^ *+' conftest.er1 >conftest.err
59167 rm -f conftest.er1
59168 cat conftest.err >&5
59169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59170 (exit $ac_status); } &&
59171 { ac_try='test -z "$ac_cxx_werror_flag"
59172 || test ! -s conftest.err'
59173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59174 (eval $ac_try) 2>&5
59175 ac_status=$?
59176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59177 (exit $ac_status); }; } &&
59178 { ac_try='test -s conftest.$ac_objext'
59179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59180 (eval $ac_try) 2>&5
59181 ac_status=$?
59182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59183 (exit $ac_status); }; }; then
59184 glibcxx_cv_func__modfl_use=yes
59185 else
59186 echo "$as_me: failed program was:" >&5
59187 sed 's/^/| /' conftest.$ac_ext >&5
59189 glibcxx_cv_func__modfl_use=no
59191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59192 ac_ext=c
59193 ac_cpp='$CPP $CPPFLAGS'
59194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59203 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59205 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59207 for ac_func in _modfl
59209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59210 echo "$as_me:$LINENO: checking for $ac_func" >&5
59211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59212 if eval "test \"\${$as_ac_var+set}\" = set"; then
59213 echo $ECHO_N "(cached) $ECHO_C" >&6
59214 else
59215 if test x$gcc_no_link = xyes; then
59216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59218 { (exit 1); exit 1; }; }
59220 cat >conftest.$ac_ext <<_ACEOF
59221 /* confdefs.h. */
59222 _ACEOF
59223 cat confdefs.h >>conftest.$ac_ext
59224 cat >>conftest.$ac_ext <<_ACEOF
59225 /* end confdefs.h. */
59226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59228 #define $ac_func innocuous_$ac_func
59230 /* System header to define __stub macros and hopefully few prototypes,
59231 which can conflict with char $ac_func (); below.
59232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59233 <limits.h> exists even on freestanding compilers. */
59235 #ifdef __STDC__
59236 # include <limits.h>
59237 #else
59238 # include <assert.h>
59239 #endif
59241 #undef $ac_func
59243 /* Override any gcc2 internal prototype to avoid an error. */
59244 #ifdef __cplusplus
59245 extern "C"
59247 #endif
59248 /* We use char because int might match the return type of a gcc2
59249 builtin and then its argument prototype would still apply. */
59250 char $ac_func ();
59251 /* The GNU C library defines this for functions which it implements
59252 to always fail with ENOSYS. Some functions are actually named
59253 something starting with __ and the normal name is an alias. */
59254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59255 choke me
59256 #else
59257 char (*f) () = $ac_func;
59258 #endif
59259 #ifdef __cplusplus
59261 #endif
59264 main ()
59266 return f != $ac_func;
59268 return 0;
59270 _ACEOF
59271 rm -f conftest.$ac_objext conftest$ac_exeext
59272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59273 (eval $ac_link) 2>conftest.er1
59274 ac_status=$?
59275 grep -v '^ *+' conftest.er1 >conftest.err
59276 rm -f conftest.er1
59277 cat conftest.err >&5
59278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59279 (exit $ac_status); } &&
59280 { ac_try='test -z "$ac_c_werror_flag"
59281 || test ! -s conftest.err'
59282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59283 (eval $ac_try) 2>&5
59284 ac_status=$?
59285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59286 (exit $ac_status); }; } &&
59287 { ac_try='test -s conftest$ac_exeext'
59288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59289 (eval $ac_try) 2>&5
59290 ac_status=$?
59291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59292 (exit $ac_status); }; }; then
59293 eval "$as_ac_var=yes"
59294 else
59295 echo "$as_me: failed program was:" >&5
59296 sed 's/^/| /' conftest.$ac_ext >&5
59298 eval "$as_ac_var=no"
59300 rm -f conftest.err conftest.$ac_objext \
59301 conftest$ac_exeext conftest.$ac_ext
59303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59305 if test `eval echo '${'$as_ac_var'}'` = yes; then
59306 cat >>confdefs.h <<_ACEOF
59307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59308 _ACEOF
59311 done
59321 echo "$as_me:$LINENO: checking for powl declaration" >&5
59322 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59323 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59324 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59325 echo $ECHO_N "(cached) $ECHO_C" >&6
59326 else
59330 ac_ext=cc
59331 ac_cpp='$CXXCPP $CPPFLAGS'
59332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59336 cat >conftest.$ac_ext <<_ACEOF
59337 /* confdefs.h. */
59338 _ACEOF
59339 cat confdefs.h >>conftest.$ac_ext
59340 cat >>conftest.$ac_ext <<_ACEOF
59341 /* end confdefs.h. */
59342 #include <math.h>
59344 main ()
59346 powl(0, 0);
59348 return 0;
59350 _ACEOF
59351 rm -f conftest.$ac_objext
59352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59353 (eval $ac_compile) 2>conftest.er1
59354 ac_status=$?
59355 grep -v '^ *+' conftest.er1 >conftest.err
59356 rm -f conftest.er1
59357 cat conftest.err >&5
59358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59359 (exit $ac_status); } &&
59360 { ac_try='test -z "$ac_cxx_werror_flag"
59361 || test ! -s conftest.err'
59362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59363 (eval $ac_try) 2>&5
59364 ac_status=$?
59365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366 (exit $ac_status); }; } &&
59367 { ac_try='test -s conftest.$ac_objext'
59368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59369 (eval $ac_try) 2>&5
59370 ac_status=$?
59371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59372 (exit $ac_status); }; }; then
59373 glibcxx_cv_func_powl_use=yes
59374 else
59375 echo "$as_me: failed program was:" >&5
59376 sed 's/^/| /' conftest.$ac_ext >&5
59378 glibcxx_cv_func_powl_use=no
59380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59381 ac_ext=c
59382 ac_cpp='$CPP $CPPFLAGS'
59383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59392 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59394 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59396 for ac_func in powl
59398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59399 echo "$as_me:$LINENO: checking for $ac_func" >&5
59400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59401 if eval "test \"\${$as_ac_var+set}\" = set"; then
59402 echo $ECHO_N "(cached) $ECHO_C" >&6
59403 else
59404 if test x$gcc_no_link = xyes; then
59405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59407 { (exit 1); exit 1; }; }
59409 cat >conftest.$ac_ext <<_ACEOF
59410 /* confdefs.h. */
59411 _ACEOF
59412 cat confdefs.h >>conftest.$ac_ext
59413 cat >>conftest.$ac_ext <<_ACEOF
59414 /* end confdefs.h. */
59415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59417 #define $ac_func innocuous_$ac_func
59419 /* System header to define __stub macros and hopefully few prototypes,
59420 which can conflict with char $ac_func (); below.
59421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59422 <limits.h> exists even on freestanding compilers. */
59424 #ifdef __STDC__
59425 # include <limits.h>
59426 #else
59427 # include <assert.h>
59428 #endif
59430 #undef $ac_func
59432 /* Override any gcc2 internal prototype to avoid an error. */
59433 #ifdef __cplusplus
59434 extern "C"
59436 #endif
59437 /* We use char because int might match the return type of a gcc2
59438 builtin and then its argument prototype would still apply. */
59439 char $ac_func ();
59440 /* The GNU C library defines this for functions which it implements
59441 to always fail with ENOSYS. Some functions are actually named
59442 something starting with __ and the normal name is an alias. */
59443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59444 choke me
59445 #else
59446 char (*f) () = $ac_func;
59447 #endif
59448 #ifdef __cplusplus
59450 #endif
59453 main ()
59455 return f != $ac_func;
59457 return 0;
59459 _ACEOF
59460 rm -f conftest.$ac_objext conftest$ac_exeext
59461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59462 (eval $ac_link) 2>conftest.er1
59463 ac_status=$?
59464 grep -v '^ *+' conftest.er1 >conftest.err
59465 rm -f conftest.er1
59466 cat conftest.err >&5
59467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59468 (exit $ac_status); } &&
59469 { ac_try='test -z "$ac_c_werror_flag"
59470 || test ! -s conftest.err'
59471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59472 (eval $ac_try) 2>&5
59473 ac_status=$?
59474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59475 (exit $ac_status); }; } &&
59476 { ac_try='test -s conftest$ac_exeext'
59477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59478 (eval $ac_try) 2>&5
59479 ac_status=$?
59480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59481 (exit $ac_status); }; }; then
59482 eval "$as_ac_var=yes"
59483 else
59484 echo "$as_me: failed program was:" >&5
59485 sed 's/^/| /' conftest.$ac_ext >&5
59487 eval "$as_ac_var=no"
59489 rm -f conftest.err conftest.$ac_objext \
59490 conftest$ac_exeext conftest.$ac_ext
59492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59494 if test `eval echo '${'$as_ac_var'}'` = yes; then
59495 cat >>confdefs.h <<_ACEOF
59496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59497 _ACEOF
59500 done
59502 else
59504 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59505 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59506 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59507 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59508 echo $ECHO_N "(cached) $ECHO_C" >&6
59509 else
59513 ac_ext=cc
59514 ac_cpp='$CXXCPP $CPPFLAGS'
59515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59519 cat >conftest.$ac_ext <<_ACEOF
59520 /* confdefs.h. */
59521 _ACEOF
59522 cat confdefs.h >>conftest.$ac_ext
59523 cat >>conftest.$ac_ext <<_ACEOF
59524 /* end confdefs.h. */
59525 #include <math.h>
59527 main ()
59529 _powl(0, 0);
59531 return 0;
59533 _ACEOF
59534 rm -f conftest.$ac_objext
59535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59536 (eval $ac_compile) 2>conftest.er1
59537 ac_status=$?
59538 grep -v '^ *+' conftest.er1 >conftest.err
59539 rm -f conftest.er1
59540 cat conftest.err >&5
59541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59542 (exit $ac_status); } &&
59543 { ac_try='test -z "$ac_cxx_werror_flag"
59544 || test ! -s conftest.err'
59545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59546 (eval $ac_try) 2>&5
59547 ac_status=$?
59548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59549 (exit $ac_status); }; } &&
59550 { ac_try='test -s conftest.$ac_objext'
59551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59552 (eval $ac_try) 2>&5
59553 ac_status=$?
59554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59555 (exit $ac_status); }; }; then
59556 glibcxx_cv_func__powl_use=yes
59557 else
59558 echo "$as_me: failed program was:" >&5
59559 sed 's/^/| /' conftest.$ac_ext >&5
59561 glibcxx_cv_func__powl_use=no
59563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59564 ac_ext=c
59565 ac_cpp='$CPP $CPPFLAGS'
59566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59574 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59575 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59577 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59579 for ac_func in _powl
59581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59582 echo "$as_me:$LINENO: checking for $ac_func" >&5
59583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59584 if eval "test \"\${$as_ac_var+set}\" = set"; then
59585 echo $ECHO_N "(cached) $ECHO_C" >&6
59586 else
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. */
59598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59600 #define $ac_func innocuous_$ac_func
59602 /* System header to define __stub macros and hopefully few prototypes,
59603 which can conflict with char $ac_func (); below.
59604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59605 <limits.h> exists even on freestanding compilers. */
59607 #ifdef __STDC__
59608 # include <limits.h>
59609 #else
59610 # include <assert.h>
59611 #endif
59613 #undef $ac_func
59615 /* Override any gcc2 internal prototype to avoid an error. */
59616 #ifdef __cplusplus
59617 extern "C"
59619 #endif
59620 /* We use char because int might match the return type of a gcc2
59621 builtin and then its argument prototype would still apply. */
59622 char $ac_func ();
59623 /* The GNU C library defines this for functions which it implements
59624 to always fail with ENOSYS. Some functions are actually named
59625 something starting with __ and the normal name is an alias. */
59626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59627 choke me
59628 #else
59629 char (*f) () = $ac_func;
59630 #endif
59631 #ifdef __cplusplus
59633 #endif
59636 main ()
59638 return f != $ac_func;
59640 return 0;
59642 _ACEOF
59643 rm -f conftest.$ac_objext conftest$ac_exeext
59644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59645 (eval $ac_link) 2>conftest.er1
59646 ac_status=$?
59647 grep -v '^ *+' conftest.er1 >conftest.err
59648 rm -f conftest.er1
59649 cat conftest.err >&5
59650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59651 (exit $ac_status); } &&
59652 { ac_try='test -z "$ac_c_werror_flag"
59653 || test ! -s conftest.err'
59654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59655 (eval $ac_try) 2>&5
59656 ac_status=$?
59657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59658 (exit $ac_status); }; } &&
59659 { ac_try='test -s conftest$ac_exeext'
59660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59661 (eval $ac_try) 2>&5
59662 ac_status=$?
59663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59664 (exit $ac_status); }; }; then
59665 eval "$as_ac_var=yes"
59666 else
59667 echo "$as_me: failed program was:" >&5
59668 sed 's/^/| /' conftest.$ac_ext >&5
59670 eval "$as_ac_var=no"
59672 rm -f conftest.err conftest.$ac_objext \
59673 conftest$ac_exeext conftest.$ac_ext
59675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59677 if test `eval echo '${'$as_ac_var'}'` = yes; then
59678 cat >>confdefs.h <<_ACEOF
59679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59680 _ACEOF
59683 done
59693 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59694 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59695 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59696 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59697 echo $ECHO_N "(cached) $ECHO_C" >&6
59698 else
59702 ac_ext=cc
59703 ac_cpp='$CXXCPP $CPPFLAGS'
59704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59708 cat >conftest.$ac_ext <<_ACEOF
59709 /* confdefs.h. */
59710 _ACEOF
59711 cat confdefs.h >>conftest.$ac_ext
59712 cat >>conftest.$ac_ext <<_ACEOF
59713 /* end confdefs.h. */
59714 #include <math.h>
59715 #ifdef HAVE_IEEEFP_H
59716 #include <ieeefp.h>
59717 #endif
59720 main ()
59722 sqrtl(0);
59724 return 0;
59726 _ACEOF
59727 rm -f conftest.$ac_objext
59728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59729 (eval $ac_compile) 2>conftest.er1
59730 ac_status=$?
59731 grep -v '^ *+' conftest.er1 >conftest.err
59732 rm -f conftest.er1
59733 cat conftest.err >&5
59734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59735 (exit $ac_status); } &&
59736 { ac_try='test -z "$ac_cxx_werror_flag"
59737 || test ! -s conftest.err'
59738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59739 (eval $ac_try) 2>&5
59740 ac_status=$?
59741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59742 (exit $ac_status); }; } &&
59743 { ac_try='test -s conftest.$ac_objext'
59744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59745 (eval $ac_try) 2>&5
59746 ac_status=$?
59747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59748 (exit $ac_status); }; }; then
59749 glibcxx_cv_func_sqrtl_use=yes
59750 else
59751 echo "$as_me: failed program was:" >&5
59752 sed 's/^/| /' conftest.$ac_ext >&5
59754 glibcxx_cv_func_sqrtl_use=no
59756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59757 ac_ext=c
59758 ac_cpp='$CPP $CPPFLAGS'
59759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59768 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59770 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59772 for ac_func in sqrtl
59774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59775 echo "$as_me:$LINENO: checking for $ac_func" >&5
59776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59777 if eval "test \"\${$as_ac_var+set}\" = set"; then
59778 echo $ECHO_N "(cached) $ECHO_C" >&6
59779 else
59780 if test x$gcc_no_link = xyes; then
59781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59783 { (exit 1); exit 1; }; }
59785 cat >conftest.$ac_ext <<_ACEOF
59786 /* confdefs.h. */
59787 _ACEOF
59788 cat confdefs.h >>conftest.$ac_ext
59789 cat >>conftest.$ac_ext <<_ACEOF
59790 /* end confdefs.h. */
59791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59793 #define $ac_func innocuous_$ac_func
59795 /* System header to define __stub macros and hopefully few prototypes,
59796 which can conflict with char $ac_func (); below.
59797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59798 <limits.h> exists even on freestanding compilers. */
59800 #ifdef __STDC__
59801 # include <limits.h>
59802 #else
59803 # include <assert.h>
59804 #endif
59806 #undef $ac_func
59808 /* Override any gcc2 internal prototype to avoid an error. */
59809 #ifdef __cplusplus
59810 extern "C"
59812 #endif
59813 /* We use char because int might match the return type of a gcc2
59814 builtin and then its argument prototype would still apply. */
59815 char $ac_func ();
59816 /* The GNU C library defines this for functions which it implements
59817 to always fail with ENOSYS. Some functions are actually named
59818 something starting with __ and the normal name is an alias. */
59819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59820 choke me
59821 #else
59822 char (*f) () = $ac_func;
59823 #endif
59824 #ifdef __cplusplus
59826 #endif
59829 main ()
59831 return f != $ac_func;
59833 return 0;
59835 _ACEOF
59836 rm -f conftest.$ac_objext conftest$ac_exeext
59837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59838 (eval $ac_link) 2>conftest.er1
59839 ac_status=$?
59840 grep -v '^ *+' conftest.er1 >conftest.err
59841 rm -f conftest.er1
59842 cat conftest.err >&5
59843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844 (exit $ac_status); } &&
59845 { ac_try='test -z "$ac_c_werror_flag"
59846 || test ! -s conftest.err'
59847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59848 (eval $ac_try) 2>&5
59849 ac_status=$?
59850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59851 (exit $ac_status); }; } &&
59852 { ac_try='test -s conftest$ac_exeext'
59853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59854 (eval $ac_try) 2>&5
59855 ac_status=$?
59856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59857 (exit $ac_status); }; }; then
59858 eval "$as_ac_var=yes"
59859 else
59860 echo "$as_me: failed program was:" >&5
59861 sed 's/^/| /' conftest.$ac_ext >&5
59863 eval "$as_ac_var=no"
59865 rm -f conftest.err conftest.$ac_objext \
59866 conftest$ac_exeext conftest.$ac_ext
59868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59870 if test `eval echo '${'$as_ac_var'}'` = yes; then
59871 cat >>confdefs.h <<_ACEOF
59872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59873 _ACEOF
59876 done
59878 else
59880 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59881 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59882 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59883 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59884 echo $ECHO_N "(cached) $ECHO_C" >&6
59885 else
59889 ac_ext=cc
59890 ac_cpp='$CXXCPP $CPPFLAGS'
59891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59895 cat >conftest.$ac_ext <<_ACEOF
59896 /* confdefs.h. */
59897 _ACEOF
59898 cat confdefs.h >>conftest.$ac_ext
59899 cat >>conftest.$ac_ext <<_ACEOF
59900 /* end confdefs.h. */
59901 #include <math.h>
59902 #ifdef HAVE_IEEEFP_H
59903 #include <ieeefp.h>
59904 #endif
59907 main ()
59909 _sqrtl(0);
59911 return 0;
59913 _ACEOF
59914 rm -f conftest.$ac_objext
59915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59916 (eval $ac_compile) 2>conftest.er1
59917 ac_status=$?
59918 grep -v '^ *+' conftest.er1 >conftest.err
59919 rm -f conftest.er1
59920 cat conftest.err >&5
59921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59922 (exit $ac_status); } &&
59923 { ac_try='test -z "$ac_cxx_werror_flag"
59924 || test ! -s conftest.err'
59925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59926 (eval $ac_try) 2>&5
59927 ac_status=$?
59928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59929 (exit $ac_status); }; } &&
59930 { ac_try='test -s conftest.$ac_objext'
59931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59932 (eval $ac_try) 2>&5
59933 ac_status=$?
59934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59935 (exit $ac_status); }; }; then
59936 glibcxx_cv_func__sqrtl_use=yes
59937 else
59938 echo "$as_me: failed program was:" >&5
59939 sed 's/^/| /' conftest.$ac_ext >&5
59941 glibcxx_cv_func__sqrtl_use=no
59943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59944 ac_ext=c
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59955 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59957 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59959 for ac_func in _sqrtl
59961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59962 echo "$as_me:$LINENO: checking for $ac_func" >&5
59963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59964 if eval "test \"\${$as_ac_var+set}\" = set"; then
59965 echo $ECHO_N "(cached) $ECHO_C" >&6
59966 else
59967 if test x$gcc_no_link = xyes; then
59968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59970 { (exit 1); exit 1; }; }
59972 cat >conftest.$ac_ext <<_ACEOF
59973 /* confdefs.h. */
59974 _ACEOF
59975 cat confdefs.h >>conftest.$ac_ext
59976 cat >>conftest.$ac_ext <<_ACEOF
59977 /* end confdefs.h. */
59978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59980 #define $ac_func innocuous_$ac_func
59982 /* System header to define __stub macros and hopefully few prototypes,
59983 which can conflict with char $ac_func (); below.
59984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59985 <limits.h> exists even on freestanding compilers. */
59987 #ifdef __STDC__
59988 # include <limits.h>
59989 #else
59990 # include <assert.h>
59991 #endif
59993 #undef $ac_func
59995 /* Override any gcc2 internal prototype to avoid an error. */
59996 #ifdef __cplusplus
59997 extern "C"
59999 #endif
60000 /* We use char because int might match the return type of a gcc2
60001 builtin and then its argument prototype would still apply. */
60002 char $ac_func ();
60003 /* The GNU C library defines this for functions which it implements
60004 to always fail with ENOSYS. Some functions are actually named
60005 something starting with __ and the normal name is an alias. */
60006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60007 choke me
60008 #else
60009 char (*f) () = $ac_func;
60010 #endif
60011 #ifdef __cplusplus
60013 #endif
60016 main ()
60018 return f != $ac_func;
60020 return 0;
60022 _ACEOF
60023 rm -f conftest.$ac_objext conftest$ac_exeext
60024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60025 (eval $ac_link) 2>conftest.er1
60026 ac_status=$?
60027 grep -v '^ *+' conftest.er1 >conftest.err
60028 rm -f conftest.er1
60029 cat conftest.err >&5
60030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60031 (exit $ac_status); } &&
60032 { ac_try='test -z "$ac_c_werror_flag"
60033 || test ! -s conftest.err'
60034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60035 (eval $ac_try) 2>&5
60036 ac_status=$?
60037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60038 (exit $ac_status); }; } &&
60039 { ac_try='test -s conftest$ac_exeext'
60040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60041 (eval $ac_try) 2>&5
60042 ac_status=$?
60043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60044 (exit $ac_status); }; }; then
60045 eval "$as_ac_var=yes"
60046 else
60047 echo "$as_me: failed program was:" >&5
60048 sed 's/^/| /' conftest.$ac_ext >&5
60050 eval "$as_ac_var=no"
60052 rm -f conftest.err conftest.$ac_objext \
60053 conftest$ac_exeext conftest.$ac_ext
60055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60057 if test `eval echo '${'$as_ac_var'}'` = yes; then
60058 cat >>confdefs.h <<_ACEOF
60059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60060 _ACEOF
60063 done
60073 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60074 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60075 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60076 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60077 echo $ECHO_N "(cached) $ECHO_C" >&6
60078 else
60082 ac_ext=cc
60083 ac_cpp='$CXXCPP $CPPFLAGS'
60084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60088 cat >conftest.$ac_ext <<_ACEOF
60089 /* confdefs.h. */
60090 _ACEOF
60091 cat confdefs.h >>conftest.$ac_ext
60092 cat >>conftest.$ac_ext <<_ACEOF
60093 /* end confdefs.h. */
60094 #include <math.h>
60096 main ()
60098 sincosl(0, 0, 0);
60100 return 0;
60102 _ACEOF
60103 rm -f conftest.$ac_objext
60104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60105 (eval $ac_compile) 2>conftest.er1
60106 ac_status=$?
60107 grep -v '^ *+' conftest.er1 >conftest.err
60108 rm -f conftest.er1
60109 cat conftest.err >&5
60110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60111 (exit $ac_status); } &&
60112 { ac_try='test -z "$ac_cxx_werror_flag"
60113 || test ! -s conftest.err'
60114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115 (eval $ac_try) 2>&5
60116 ac_status=$?
60117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118 (exit $ac_status); }; } &&
60119 { ac_try='test -s conftest.$ac_objext'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; }; then
60125 glibcxx_cv_func_sincosl_use=yes
60126 else
60127 echo "$as_me: failed program was:" >&5
60128 sed 's/^/| /' conftest.$ac_ext >&5
60130 glibcxx_cv_func_sincosl_use=no
60132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60133 ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60143 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60144 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60146 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60148 for ac_func in sincosl
60150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60151 echo "$as_me:$LINENO: checking for $ac_func" >&5
60152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60153 if eval "test \"\${$as_ac_var+set}\" = set"; then
60154 echo $ECHO_N "(cached) $ECHO_C" >&6
60155 else
60156 if test x$gcc_no_link = xyes; then
60157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60159 { (exit 1); exit 1; }; }
60161 cat >conftest.$ac_ext <<_ACEOF
60162 /* confdefs.h. */
60163 _ACEOF
60164 cat confdefs.h >>conftest.$ac_ext
60165 cat >>conftest.$ac_ext <<_ACEOF
60166 /* end confdefs.h. */
60167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60169 #define $ac_func innocuous_$ac_func
60171 /* System header to define __stub macros and hopefully few prototypes,
60172 which can conflict with char $ac_func (); below.
60173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60174 <limits.h> exists even on freestanding compilers. */
60176 #ifdef __STDC__
60177 # include <limits.h>
60178 #else
60179 # include <assert.h>
60180 #endif
60182 #undef $ac_func
60184 /* Override any gcc2 internal prototype to avoid an error. */
60185 #ifdef __cplusplus
60186 extern "C"
60188 #endif
60189 /* We use char because int might match the return type of a gcc2
60190 builtin and then its argument prototype would still apply. */
60191 char $ac_func ();
60192 /* The GNU C library defines this for functions which it implements
60193 to always fail with ENOSYS. Some functions are actually named
60194 something starting with __ and the normal name is an alias. */
60195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60196 choke me
60197 #else
60198 char (*f) () = $ac_func;
60199 #endif
60200 #ifdef __cplusplus
60202 #endif
60205 main ()
60207 return f != $ac_func;
60209 return 0;
60211 _ACEOF
60212 rm -f conftest.$ac_objext conftest$ac_exeext
60213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60214 (eval $ac_link) 2>conftest.er1
60215 ac_status=$?
60216 grep -v '^ *+' conftest.er1 >conftest.err
60217 rm -f conftest.er1
60218 cat conftest.err >&5
60219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60220 (exit $ac_status); } &&
60221 { ac_try='test -z "$ac_c_werror_flag"
60222 || test ! -s conftest.err'
60223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60224 (eval $ac_try) 2>&5
60225 ac_status=$?
60226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60227 (exit $ac_status); }; } &&
60228 { ac_try='test -s conftest$ac_exeext'
60229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60230 (eval $ac_try) 2>&5
60231 ac_status=$?
60232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233 (exit $ac_status); }; }; then
60234 eval "$as_ac_var=yes"
60235 else
60236 echo "$as_me: failed program was:" >&5
60237 sed 's/^/| /' conftest.$ac_ext >&5
60239 eval "$as_ac_var=no"
60241 rm -f conftest.err conftest.$ac_objext \
60242 conftest$ac_exeext conftest.$ac_ext
60244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60246 if test `eval echo '${'$as_ac_var'}'` = yes; then
60247 cat >>confdefs.h <<_ACEOF
60248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60249 _ACEOF
60252 done
60254 else
60256 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60257 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60258 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60259 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60260 echo $ECHO_N "(cached) $ECHO_C" >&6
60261 else
60265 ac_ext=cc
60266 ac_cpp='$CXXCPP $CPPFLAGS'
60267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60271 cat >conftest.$ac_ext <<_ACEOF
60272 /* confdefs.h. */
60273 _ACEOF
60274 cat confdefs.h >>conftest.$ac_ext
60275 cat >>conftest.$ac_ext <<_ACEOF
60276 /* end confdefs.h. */
60277 #include <math.h>
60279 main ()
60281 _sincosl(0, 0, 0);
60283 return 0;
60285 _ACEOF
60286 rm -f conftest.$ac_objext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60288 (eval $ac_compile) 2>conftest.er1
60289 ac_status=$?
60290 grep -v '^ *+' conftest.er1 >conftest.err
60291 rm -f conftest.er1
60292 cat conftest.err >&5
60293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294 (exit $ac_status); } &&
60295 { ac_try='test -z "$ac_cxx_werror_flag"
60296 || test ! -s conftest.err'
60297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60298 (eval $ac_try) 2>&5
60299 ac_status=$?
60300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301 (exit $ac_status); }; } &&
60302 { ac_try='test -s conftest.$ac_objext'
60303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60304 (eval $ac_try) 2>&5
60305 ac_status=$?
60306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307 (exit $ac_status); }; }; then
60308 glibcxx_cv_func__sincosl_use=yes
60309 else
60310 echo "$as_me: failed program was:" >&5
60311 sed 's/^/| /' conftest.$ac_ext >&5
60313 glibcxx_cv_func__sincosl_use=no
60315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60316 ac_ext=c
60317 ac_cpp='$CPP $CPPFLAGS'
60318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60326 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60327 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60329 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60331 for ac_func in _sincosl
60333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60334 echo "$as_me:$LINENO: checking for $ac_func" >&5
60335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60336 if eval "test \"\${$as_ac_var+set}\" = set"; then
60337 echo $ECHO_N "(cached) $ECHO_C" >&6
60338 else
60339 if test x$gcc_no_link = xyes; then
60340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60342 { (exit 1); exit 1; }; }
60344 cat >conftest.$ac_ext <<_ACEOF
60345 /* confdefs.h. */
60346 _ACEOF
60347 cat confdefs.h >>conftest.$ac_ext
60348 cat >>conftest.$ac_ext <<_ACEOF
60349 /* end confdefs.h. */
60350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60352 #define $ac_func innocuous_$ac_func
60354 /* System header to define __stub macros and hopefully few prototypes,
60355 which can conflict with char $ac_func (); below.
60356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60357 <limits.h> exists even on freestanding compilers. */
60359 #ifdef __STDC__
60360 # include <limits.h>
60361 #else
60362 # include <assert.h>
60363 #endif
60365 #undef $ac_func
60367 /* Override any gcc2 internal prototype to avoid an error. */
60368 #ifdef __cplusplus
60369 extern "C"
60371 #endif
60372 /* We use char because int might match the return type of a gcc2
60373 builtin and then its argument prototype would still apply. */
60374 char $ac_func ();
60375 /* The GNU C library defines this for functions which it implements
60376 to always fail with ENOSYS. Some functions are actually named
60377 something starting with __ and the normal name is an alias. */
60378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60379 choke me
60380 #else
60381 char (*f) () = $ac_func;
60382 #endif
60383 #ifdef __cplusplus
60385 #endif
60388 main ()
60390 return f != $ac_func;
60392 return 0;
60394 _ACEOF
60395 rm -f conftest.$ac_objext conftest$ac_exeext
60396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60397 (eval $ac_link) 2>conftest.er1
60398 ac_status=$?
60399 grep -v '^ *+' conftest.er1 >conftest.err
60400 rm -f conftest.er1
60401 cat conftest.err >&5
60402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60403 (exit $ac_status); } &&
60404 { ac_try='test -z "$ac_c_werror_flag"
60405 || test ! -s conftest.err'
60406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60407 (eval $ac_try) 2>&5
60408 ac_status=$?
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); }; } &&
60411 { ac_try='test -s conftest$ac_exeext'
60412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60413 (eval $ac_try) 2>&5
60414 ac_status=$?
60415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416 (exit $ac_status); }; }; then
60417 eval "$as_ac_var=yes"
60418 else
60419 echo "$as_me: failed program was:" >&5
60420 sed 's/^/| /' conftest.$ac_ext >&5
60422 eval "$as_ac_var=no"
60424 rm -f conftest.err conftest.$ac_objext \
60425 conftest$ac_exeext conftest.$ac_ext
60427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60429 if test `eval echo '${'$as_ac_var'}'` = yes; then
60430 cat >>confdefs.h <<_ACEOF
60431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60432 _ACEOF
60435 done
60445 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60446 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60447 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60448 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60449 echo $ECHO_N "(cached) $ECHO_C" >&6
60450 else
60454 ac_ext=cc
60455 ac_cpp='$CXXCPP $CPPFLAGS'
60456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60460 cat >conftest.$ac_ext <<_ACEOF
60461 /* confdefs.h. */
60462 _ACEOF
60463 cat confdefs.h >>conftest.$ac_ext
60464 cat >>conftest.$ac_ext <<_ACEOF
60465 /* end confdefs.h. */
60466 #include <math.h>
60467 #ifdef HAVE_IEEEFP_H
60468 #include <ieeefp.h>
60469 #endif
60472 main ()
60474 finitel(0);
60476 return 0;
60478 _ACEOF
60479 rm -f conftest.$ac_objext
60480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60481 (eval $ac_compile) 2>conftest.er1
60482 ac_status=$?
60483 grep -v '^ *+' conftest.er1 >conftest.err
60484 rm -f conftest.er1
60485 cat conftest.err >&5
60486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60487 (exit $ac_status); } &&
60488 { ac_try='test -z "$ac_cxx_werror_flag"
60489 || test ! -s conftest.err'
60490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60491 (eval $ac_try) 2>&5
60492 ac_status=$?
60493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494 (exit $ac_status); }; } &&
60495 { ac_try='test -s conftest.$ac_objext'
60496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60497 (eval $ac_try) 2>&5
60498 ac_status=$?
60499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60500 (exit $ac_status); }; }; then
60501 glibcxx_cv_func_finitel_use=yes
60502 else
60503 echo "$as_me: failed program was:" >&5
60504 sed 's/^/| /' conftest.$ac_ext >&5
60506 glibcxx_cv_func_finitel_use=no
60508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60509 ac_ext=c
60510 ac_cpp='$CPP $CPPFLAGS'
60511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60519 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60520 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60522 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60524 for ac_func in finitel
60526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60527 echo "$as_me:$LINENO: checking for $ac_func" >&5
60528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60529 if eval "test \"\${$as_ac_var+set}\" = set"; then
60530 echo $ECHO_N "(cached) $ECHO_C" >&6
60531 else
60532 if test x$gcc_no_link = xyes; then
60533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60535 { (exit 1); exit 1; }; }
60537 cat >conftest.$ac_ext <<_ACEOF
60538 /* confdefs.h. */
60539 _ACEOF
60540 cat confdefs.h >>conftest.$ac_ext
60541 cat >>conftest.$ac_ext <<_ACEOF
60542 /* end confdefs.h. */
60543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60545 #define $ac_func innocuous_$ac_func
60547 /* System header to define __stub macros and hopefully few prototypes,
60548 which can conflict with char $ac_func (); below.
60549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60550 <limits.h> exists even on freestanding compilers. */
60552 #ifdef __STDC__
60553 # include <limits.h>
60554 #else
60555 # include <assert.h>
60556 #endif
60558 #undef $ac_func
60560 /* Override any gcc2 internal prototype to avoid an error. */
60561 #ifdef __cplusplus
60562 extern "C"
60564 #endif
60565 /* We use char because int might match the return type of a gcc2
60566 builtin and then its argument prototype would still apply. */
60567 char $ac_func ();
60568 /* The GNU C library defines this for functions which it implements
60569 to always fail with ENOSYS. Some functions are actually named
60570 something starting with __ and the normal name is an alias. */
60571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60572 choke me
60573 #else
60574 char (*f) () = $ac_func;
60575 #endif
60576 #ifdef __cplusplus
60578 #endif
60581 main ()
60583 return f != $ac_func;
60585 return 0;
60587 _ACEOF
60588 rm -f conftest.$ac_objext conftest$ac_exeext
60589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60590 (eval $ac_link) 2>conftest.er1
60591 ac_status=$?
60592 grep -v '^ *+' conftest.er1 >conftest.err
60593 rm -f conftest.er1
60594 cat conftest.err >&5
60595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60596 (exit $ac_status); } &&
60597 { ac_try='test -z "$ac_c_werror_flag"
60598 || test ! -s conftest.err'
60599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60600 (eval $ac_try) 2>&5
60601 ac_status=$?
60602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603 (exit $ac_status); }; } &&
60604 { ac_try='test -s conftest$ac_exeext'
60605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60606 (eval $ac_try) 2>&5
60607 ac_status=$?
60608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60609 (exit $ac_status); }; }; then
60610 eval "$as_ac_var=yes"
60611 else
60612 echo "$as_me: failed program was:" >&5
60613 sed 's/^/| /' conftest.$ac_ext >&5
60615 eval "$as_ac_var=no"
60617 rm -f conftest.err conftest.$ac_objext \
60618 conftest$ac_exeext conftest.$ac_ext
60620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60622 if test `eval echo '${'$as_ac_var'}'` = yes; then
60623 cat >>confdefs.h <<_ACEOF
60624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60625 _ACEOF
60628 done
60630 else
60632 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60633 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60634 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60635 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60636 echo $ECHO_N "(cached) $ECHO_C" >&6
60637 else
60641 ac_ext=cc
60642 ac_cpp='$CXXCPP $CPPFLAGS'
60643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60647 cat >conftest.$ac_ext <<_ACEOF
60648 /* confdefs.h. */
60649 _ACEOF
60650 cat confdefs.h >>conftest.$ac_ext
60651 cat >>conftest.$ac_ext <<_ACEOF
60652 /* end confdefs.h. */
60653 #include <math.h>
60654 #ifdef HAVE_IEEEFP_H
60655 #include <ieeefp.h>
60656 #endif
60659 main ()
60661 _finitel(0);
60663 return 0;
60665 _ACEOF
60666 rm -f conftest.$ac_objext
60667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60668 (eval $ac_compile) 2>conftest.er1
60669 ac_status=$?
60670 grep -v '^ *+' conftest.er1 >conftest.err
60671 rm -f conftest.er1
60672 cat conftest.err >&5
60673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60674 (exit $ac_status); } &&
60675 { ac_try='test -z "$ac_cxx_werror_flag"
60676 || test ! -s conftest.err'
60677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60678 (eval $ac_try) 2>&5
60679 ac_status=$?
60680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60681 (exit $ac_status); }; } &&
60682 { ac_try='test -s conftest.$ac_objext'
60683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684 (eval $ac_try) 2>&5
60685 ac_status=$?
60686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687 (exit $ac_status); }; }; then
60688 glibcxx_cv_func__finitel_use=yes
60689 else
60690 echo "$as_me: failed program was:" >&5
60691 sed 's/^/| /' conftest.$ac_ext >&5
60693 glibcxx_cv_func__finitel_use=no
60695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60707 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60709 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60711 for ac_func in _finitel
60713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60714 echo "$as_me:$LINENO: checking for $ac_func" >&5
60715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60716 if eval "test \"\${$as_ac_var+set}\" = set"; then
60717 echo $ECHO_N "(cached) $ECHO_C" >&6
60718 else
60719 if test x$gcc_no_link = xyes; then
60720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60722 { (exit 1); exit 1; }; }
60724 cat >conftest.$ac_ext <<_ACEOF
60725 /* confdefs.h. */
60726 _ACEOF
60727 cat confdefs.h >>conftest.$ac_ext
60728 cat >>conftest.$ac_ext <<_ACEOF
60729 /* end confdefs.h. */
60730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60732 #define $ac_func innocuous_$ac_func
60734 /* System header to define __stub macros and hopefully few prototypes,
60735 which can conflict with char $ac_func (); below.
60736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60737 <limits.h> exists even on freestanding compilers. */
60739 #ifdef __STDC__
60740 # include <limits.h>
60741 #else
60742 # include <assert.h>
60743 #endif
60745 #undef $ac_func
60747 /* Override any gcc2 internal prototype to avoid an error. */
60748 #ifdef __cplusplus
60749 extern "C"
60751 #endif
60752 /* We use char because int might match the return type of a gcc2
60753 builtin and then its argument prototype would still apply. */
60754 char $ac_func ();
60755 /* The GNU C library defines this for functions which it implements
60756 to always fail with ENOSYS. Some functions are actually named
60757 something starting with __ and the normal name is an alias. */
60758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60759 choke me
60760 #else
60761 char (*f) () = $ac_func;
60762 #endif
60763 #ifdef __cplusplus
60765 #endif
60768 main ()
60770 return f != $ac_func;
60772 return 0;
60774 _ACEOF
60775 rm -f conftest.$ac_objext conftest$ac_exeext
60776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60777 (eval $ac_link) 2>conftest.er1
60778 ac_status=$?
60779 grep -v '^ *+' conftest.er1 >conftest.err
60780 rm -f conftest.er1
60781 cat conftest.err >&5
60782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60783 (exit $ac_status); } &&
60784 { ac_try='test -z "$ac_c_werror_flag"
60785 || test ! -s conftest.err'
60786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60787 (eval $ac_try) 2>&5
60788 ac_status=$?
60789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60790 (exit $ac_status); }; } &&
60791 { ac_try='test -s conftest$ac_exeext'
60792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60793 (eval $ac_try) 2>&5
60794 ac_status=$?
60795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60796 (exit $ac_status); }; }; then
60797 eval "$as_ac_var=yes"
60798 else
60799 echo "$as_me: failed program was:" >&5
60800 sed 's/^/| /' conftest.$ac_ext >&5
60802 eval "$as_ac_var=no"
60804 rm -f conftest.err conftest.$ac_objext \
60805 conftest$ac_exeext conftest.$ac_ext
60807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60809 if test `eval echo '${'$as_ac_var'}'` = yes; then
60810 cat >>confdefs.h <<_ACEOF
60811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60812 _ACEOF
60815 done
60824 LIBS="$ac_save_LIBS"
60825 CXXFLAGS="$ac_save_CXXFLAGS"
60829 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60830 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60831 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60832 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60833 echo $ECHO_N "(cached) $ECHO_C" >&6
60834 else
60838 ac_ext=cc
60839 ac_cpp='$CXXCPP $CPPFLAGS'
60840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60844 cat >conftest.$ac_ext <<_ACEOF
60845 /* confdefs.h. */
60846 _ACEOF
60847 cat confdefs.h >>conftest.$ac_ext
60848 cat >>conftest.$ac_ext <<_ACEOF
60849 /* end confdefs.h. */
60850 #include <math.h>
60852 main ()
60854 __builtin_abs(0);
60856 return 0;
60858 _ACEOF
60859 rm -f conftest.$ac_objext
60860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60861 (eval $ac_compile) 2>conftest.er1
60862 ac_status=$?
60863 grep -v '^ *+' conftest.er1 >conftest.err
60864 rm -f conftest.er1
60865 cat conftest.err >&5
60866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60867 (exit $ac_status); } &&
60868 { ac_try='test -z "$ac_cxx_werror_flag"
60869 || test ! -s conftest.err'
60870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60871 (eval $ac_try) 2>&5
60872 ac_status=$?
60873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60874 (exit $ac_status); }; } &&
60875 { ac_try='test -s conftest.$ac_objext'
60876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60877 (eval $ac_try) 2>&5
60878 ac_status=$?
60879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880 (exit $ac_status); }; }; then
60881 glibcxx_cv_func___builtin_abs_use=yes
60882 else
60883 echo "$as_me: failed program was:" >&5
60884 sed 's/^/| /' conftest.$ac_ext >&5
60886 glibcxx_cv_func___builtin_abs_use=no
60888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60889 ac_ext=c
60890 ac_cpp='$CPP $CPPFLAGS'
60891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60900 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60901 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60902 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60903 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60904 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60905 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60906 echo $ECHO_N "(cached) $ECHO_C" >&6
60907 else
60909 if test x$gcc_no_link = xyes; then
60910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60912 { (exit 1); exit 1; }; }
60914 cat >conftest.$ac_ext <<_ACEOF
60915 /* confdefs.h. */
60916 _ACEOF
60917 cat confdefs.h >>conftest.$ac_ext
60918 cat >>conftest.$ac_ext <<_ACEOF
60919 /* end confdefs.h. */
60920 #include <math.h>
60922 main ()
60924 __builtin_abs(0);
60926 return 0;
60928 _ACEOF
60929 rm -f conftest.$ac_objext conftest$ac_exeext
60930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60931 (eval $ac_link) 2>conftest.er1
60932 ac_status=$?
60933 grep -v '^ *+' conftest.er1 >conftest.err
60934 rm -f conftest.er1
60935 cat conftest.err >&5
60936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60937 (exit $ac_status); } &&
60938 { ac_try='test -z "$ac_c_werror_flag"
60939 || test ! -s conftest.err'
60940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60941 (eval $ac_try) 2>&5
60942 ac_status=$?
60943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60944 (exit $ac_status); }; } &&
60945 { ac_try='test -s conftest$ac_exeext'
60946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60947 (eval $ac_try) 2>&5
60948 ac_status=$?
60949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60950 (exit $ac_status); }; }; then
60951 glibcxx_cv_func___builtin_abs_link=yes
60952 else
60953 echo "$as_me: failed program was:" >&5
60954 sed 's/^/| /' conftest.$ac_ext >&5
60956 glibcxx_cv_func___builtin_abs_link=no
60958 rm -f conftest.err conftest.$ac_objext \
60959 conftest$ac_exeext conftest.$ac_ext
60964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60965 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60967 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60969 cat >>confdefs.h <<\_ACEOF
60970 #define HAVE___BUILTIN_ABS 1
60971 _ACEOF
60978 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60979 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60980 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60981 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60982 echo $ECHO_N "(cached) $ECHO_C" >&6
60983 else
60987 ac_ext=cc
60988 ac_cpp='$CXXCPP $CPPFLAGS'
60989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60993 cat >conftest.$ac_ext <<_ACEOF
60994 /* confdefs.h. */
60995 _ACEOF
60996 cat confdefs.h >>conftest.$ac_ext
60997 cat >>conftest.$ac_ext <<_ACEOF
60998 /* end confdefs.h. */
60999 #include <math.h>
61001 main ()
61003 __builtin_fabsf(0);
61005 return 0;
61007 _ACEOF
61008 rm -f conftest.$ac_objext
61009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61010 (eval $ac_compile) 2>conftest.er1
61011 ac_status=$?
61012 grep -v '^ *+' conftest.er1 >conftest.err
61013 rm -f conftest.er1
61014 cat conftest.err >&5
61015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61016 (exit $ac_status); } &&
61017 { ac_try='test -z "$ac_cxx_werror_flag"
61018 || test ! -s conftest.err'
61019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61020 (eval $ac_try) 2>&5
61021 ac_status=$?
61022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61023 (exit $ac_status); }; } &&
61024 { ac_try='test -s conftest.$ac_objext'
61025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61026 (eval $ac_try) 2>&5
61027 ac_status=$?
61028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61029 (exit $ac_status); }; }; then
61030 glibcxx_cv_func___builtin_fabsf_use=yes
61031 else
61032 echo "$as_me: failed program was:" >&5
61033 sed 's/^/| /' conftest.$ac_ext >&5
61035 glibcxx_cv_func___builtin_fabsf_use=no
61037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61038 ac_ext=c
61039 ac_cpp='$CPP $CPPFLAGS'
61040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61050 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61051 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61052 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61053 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61054 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61055 echo $ECHO_N "(cached) $ECHO_C" >&6
61056 else
61058 if test x$gcc_no_link = xyes; then
61059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61061 { (exit 1); exit 1; }; }
61063 cat >conftest.$ac_ext <<_ACEOF
61064 /* confdefs.h. */
61065 _ACEOF
61066 cat confdefs.h >>conftest.$ac_ext
61067 cat >>conftest.$ac_ext <<_ACEOF
61068 /* end confdefs.h. */
61069 #include <math.h>
61071 main ()
61073 __builtin_fabsf(0);
61075 return 0;
61077 _ACEOF
61078 rm -f conftest.$ac_objext conftest$ac_exeext
61079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61080 (eval $ac_link) 2>conftest.er1
61081 ac_status=$?
61082 grep -v '^ *+' conftest.er1 >conftest.err
61083 rm -f conftest.er1
61084 cat conftest.err >&5
61085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61086 (exit $ac_status); } &&
61087 { ac_try='test -z "$ac_c_werror_flag"
61088 || test ! -s conftest.err'
61089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61090 (eval $ac_try) 2>&5
61091 ac_status=$?
61092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61093 (exit $ac_status); }; } &&
61094 { ac_try='test -s conftest$ac_exeext'
61095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61096 (eval $ac_try) 2>&5
61097 ac_status=$?
61098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61099 (exit $ac_status); }; }; then
61100 glibcxx_cv_func___builtin_fabsf_link=yes
61101 else
61102 echo "$as_me: failed program was:" >&5
61103 sed 's/^/| /' conftest.$ac_ext >&5
61105 glibcxx_cv_func___builtin_fabsf_link=no
61107 rm -f conftest.err conftest.$ac_objext \
61108 conftest$ac_exeext conftest.$ac_ext
61113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61114 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61116 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61118 cat >>confdefs.h <<\_ACEOF
61119 #define HAVE___BUILTIN_FABSF 1
61120 _ACEOF
61127 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61128 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61129 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61130 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61131 echo $ECHO_N "(cached) $ECHO_C" >&6
61132 else
61136 ac_ext=cc
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61142 cat >conftest.$ac_ext <<_ACEOF
61143 /* confdefs.h. */
61144 _ACEOF
61145 cat confdefs.h >>conftest.$ac_ext
61146 cat >>conftest.$ac_ext <<_ACEOF
61147 /* end confdefs.h. */
61148 #include <math.h>
61150 main ()
61152 __builtin_fabs(0);
61154 return 0;
61156 _ACEOF
61157 rm -f conftest.$ac_objext
61158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61159 (eval $ac_compile) 2>conftest.er1
61160 ac_status=$?
61161 grep -v '^ *+' conftest.er1 >conftest.err
61162 rm -f conftest.er1
61163 cat conftest.err >&5
61164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165 (exit $ac_status); } &&
61166 { ac_try='test -z "$ac_cxx_werror_flag"
61167 || test ! -s conftest.err'
61168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61169 (eval $ac_try) 2>&5
61170 ac_status=$?
61171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172 (exit $ac_status); }; } &&
61173 { ac_try='test -s conftest.$ac_objext'
61174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61175 (eval $ac_try) 2>&5
61176 ac_status=$?
61177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61178 (exit $ac_status); }; }; then
61179 glibcxx_cv_func___builtin_fabs_use=yes
61180 else
61181 echo "$as_me: failed program was:" >&5
61182 sed 's/^/| /' conftest.$ac_ext >&5
61184 glibcxx_cv_func___builtin_fabs_use=no
61186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61187 ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61197 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61198 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61199 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61200 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61201 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61202 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61203 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61204 echo $ECHO_N "(cached) $ECHO_C" >&6
61205 else
61207 if test x$gcc_no_link = xyes; then
61208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61210 { (exit 1); exit 1; }; }
61212 cat >conftest.$ac_ext <<_ACEOF
61213 /* confdefs.h. */
61214 _ACEOF
61215 cat confdefs.h >>conftest.$ac_ext
61216 cat >>conftest.$ac_ext <<_ACEOF
61217 /* end confdefs.h. */
61218 #include <math.h>
61220 main ()
61222 __builtin_fabs(0);
61224 return 0;
61226 _ACEOF
61227 rm -f conftest.$ac_objext conftest$ac_exeext
61228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61229 (eval $ac_link) 2>conftest.er1
61230 ac_status=$?
61231 grep -v '^ *+' conftest.er1 >conftest.err
61232 rm -f conftest.er1
61233 cat conftest.err >&5
61234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61235 (exit $ac_status); } &&
61236 { ac_try='test -z "$ac_c_werror_flag"
61237 || test ! -s conftest.err'
61238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61239 (eval $ac_try) 2>&5
61240 ac_status=$?
61241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61242 (exit $ac_status); }; } &&
61243 { ac_try='test -s conftest$ac_exeext'
61244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61245 (eval $ac_try) 2>&5
61246 ac_status=$?
61247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61248 (exit $ac_status); }; }; then
61249 glibcxx_cv_func___builtin_fabs_link=yes
61250 else
61251 echo "$as_me: failed program was:" >&5
61252 sed 's/^/| /' conftest.$ac_ext >&5
61254 glibcxx_cv_func___builtin_fabs_link=no
61256 rm -f conftest.err conftest.$ac_objext \
61257 conftest$ac_exeext conftest.$ac_ext
61262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61263 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61265 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61267 cat >>confdefs.h <<\_ACEOF
61268 #define HAVE___BUILTIN_FABS 1
61269 _ACEOF
61276 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61277 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61278 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61279 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61280 echo $ECHO_N "(cached) $ECHO_C" >&6
61281 else
61285 ac_ext=cc
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61291 cat >conftest.$ac_ext <<_ACEOF
61292 /* confdefs.h. */
61293 _ACEOF
61294 cat confdefs.h >>conftest.$ac_ext
61295 cat >>conftest.$ac_ext <<_ACEOF
61296 /* end confdefs.h. */
61297 #include <math.h>
61299 main ()
61301 __builtin_fabsl(0);
61303 return 0;
61305 _ACEOF
61306 rm -f conftest.$ac_objext
61307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61308 (eval $ac_compile) 2>conftest.er1
61309 ac_status=$?
61310 grep -v '^ *+' conftest.er1 >conftest.err
61311 rm -f conftest.er1
61312 cat conftest.err >&5
61313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61314 (exit $ac_status); } &&
61315 { ac_try='test -z "$ac_cxx_werror_flag"
61316 || test ! -s conftest.err'
61317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61318 (eval $ac_try) 2>&5
61319 ac_status=$?
61320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61321 (exit $ac_status); }; } &&
61322 { ac_try='test -s conftest.$ac_objext'
61323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61324 (eval $ac_try) 2>&5
61325 ac_status=$?
61326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61327 (exit $ac_status); }; }; then
61328 glibcxx_cv_func___builtin_fabsl_use=yes
61329 else
61330 echo "$as_me: failed program was:" >&5
61331 sed 's/^/| /' conftest.$ac_ext >&5
61333 glibcxx_cv_func___builtin_fabsl_use=no
61335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61336 ac_ext=c
61337 ac_cpp='$CPP $CPPFLAGS'
61338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61346 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61347 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61348 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61349 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61350 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61351 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61352 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61353 echo $ECHO_N "(cached) $ECHO_C" >&6
61354 else
61356 if test x$gcc_no_link = xyes; then
61357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61359 { (exit 1); exit 1; }; }
61361 cat >conftest.$ac_ext <<_ACEOF
61362 /* confdefs.h. */
61363 _ACEOF
61364 cat confdefs.h >>conftest.$ac_ext
61365 cat >>conftest.$ac_ext <<_ACEOF
61366 /* end confdefs.h. */
61367 #include <math.h>
61369 main ()
61371 __builtin_fabsl(0);
61373 return 0;
61375 _ACEOF
61376 rm -f conftest.$ac_objext conftest$ac_exeext
61377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61378 (eval $ac_link) 2>conftest.er1
61379 ac_status=$?
61380 grep -v '^ *+' conftest.er1 >conftest.err
61381 rm -f conftest.er1
61382 cat conftest.err >&5
61383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61384 (exit $ac_status); } &&
61385 { ac_try='test -z "$ac_c_werror_flag"
61386 || test ! -s conftest.err'
61387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61388 (eval $ac_try) 2>&5
61389 ac_status=$?
61390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61391 (exit $ac_status); }; } &&
61392 { ac_try='test -s conftest$ac_exeext'
61393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61394 (eval $ac_try) 2>&5
61395 ac_status=$?
61396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61397 (exit $ac_status); }; }; then
61398 glibcxx_cv_func___builtin_fabsl_link=yes
61399 else
61400 echo "$as_me: failed program was:" >&5
61401 sed 's/^/| /' conftest.$ac_ext >&5
61403 glibcxx_cv_func___builtin_fabsl_link=no
61405 rm -f conftest.err conftest.$ac_objext \
61406 conftest$ac_exeext conftest.$ac_ext
61411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61412 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61414 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61416 cat >>confdefs.h <<\_ACEOF
61417 #define HAVE___BUILTIN_FABSL 1
61418 _ACEOF
61425 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61426 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61427 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61428 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61429 echo $ECHO_N "(cached) $ECHO_C" >&6
61430 else
61434 ac_ext=cc
61435 ac_cpp='$CXXCPP $CPPFLAGS'
61436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61440 cat >conftest.$ac_ext <<_ACEOF
61441 /* confdefs.h. */
61442 _ACEOF
61443 cat confdefs.h >>conftest.$ac_ext
61444 cat >>conftest.$ac_ext <<_ACEOF
61445 /* end confdefs.h. */
61446 #include <math.h>
61448 main ()
61450 __builtin_labs(0);
61452 return 0;
61454 _ACEOF
61455 rm -f conftest.$ac_objext
61456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61457 (eval $ac_compile) 2>conftest.er1
61458 ac_status=$?
61459 grep -v '^ *+' conftest.er1 >conftest.err
61460 rm -f conftest.er1
61461 cat conftest.err >&5
61462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61463 (exit $ac_status); } &&
61464 { ac_try='test -z "$ac_cxx_werror_flag"
61465 || test ! -s conftest.err'
61466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61467 (eval $ac_try) 2>&5
61468 ac_status=$?
61469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61470 (exit $ac_status); }; } &&
61471 { ac_try='test -s conftest.$ac_objext'
61472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61473 (eval $ac_try) 2>&5
61474 ac_status=$?
61475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61476 (exit $ac_status); }; }; then
61477 glibcxx_cv_func___builtin_labs_use=yes
61478 else
61479 echo "$as_me: failed program was:" >&5
61480 sed 's/^/| /' conftest.$ac_ext >&5
61482 glibcxx_cv_func___builtin_labs_use=no
61484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61485 ac_ext=c
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61495 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61496 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61497 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61498 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61499 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61500 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61501 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61502 echo $ECHO_N "(cached) $ECHO_C" >&6
61503 else
61505 if test x$gcc_no_link = xyes; then
61506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61508 { (exit 1); exit 1; }; }
61510 cat >conftest.$ac_ext <<_ACEOF
61511 /* confdefs.h. */
61512 _ACEOF
61513 cat confdefs.h >>conftest.$ac_ext
61514 cat >>conftest.$ac_ext <<_ACEOF
61515 /* end confdefs.h. */
61516 #include <math.h>
61518 main ()
61520 __builtin_labs(0);
61522 return 0;
61524 _ACEOF
61525 rm -f conftest.$ac_objext conftest$ac_exeext
61526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61527 (eval $ac_link) 2>conftest.er1
61528 ac_status=$?
61529 grep -v '^ *+' conftest.er1 >conftest.err
61530 rm -f conftest.er1
61531 cat conftest.err >&5
61532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61533 (exit $ac_status); } &&
61534 { ac_try='test -z "$ac_c_werror_flag"
61535 || test ! -s conftest.err'
61536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61537 (eval $ac_try) 2>&5
61538 ac_status=$?
61539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61540 (exit $ac_status); }; } &&
61541 { ac_try='test -s conftest$ac_exeext'
61542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61543 (eval $ac_try) 2>&5
61544 ac_status=$?
61545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61546 (exit $ac_status); }; }; then
61547 glibcxx_cv_func___builtin_labs_link=yes
61548 else
61549 echo "$as_me: failed program was:" >&5
61550 sed 's/^/| /' conftest.$ac_ext >&5
61552 glibcxx_cv_func___builtin_labs_link=no
61554 rm -f conftest.err conftest.$ac_objext \
61555 conftest$ac_exeext conftest.$ac_ext
61560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61561 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61563 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61565 cat >>confdefs.h <<\_ACEOF
61566 #define HAVE___BUILTIN_LABS 1
61567 _ACEOF
61575 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61576 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61577 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61578 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61579 echo $ECHO_N "(cached) $ECHO_C" >&6
61580 else
61584 ac_ext=cc
61585 ac_cpp='$CXXCPP $CPPFLAGS'
61586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61590 cat >conftest.$ac_ext <<_ACEOF
61591 /* confdefs.h. */
61592 _ACEOF
61593 cat confdefs.h >>conftest.$ac_ext
61594 cat >>conftest.$ac_ext <<_ACEOF
61595 /* end confdefs.h. */
61596 #include <math.h>
61598 main ()
61600 __builtin_sqrtf(0);
61602 return 0;
61604 _ACEOF
61605 rm -f conftest.$ac_objext
61606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61607 (eval $ac_compile) 2>conftest.er1
61608 ac_status=$?
61609 grep -v '^ *+' conftest.er1 >conftest.err
61610 rm -f conftest.er1
61611 cat conftest.err >&5
61612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61613 (exit $ac_status); } &&
61614 { ac_try='test -z "$ac_cxx_werror_flag"
61615 || test ! -s conftest.err'
61616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61617 (eval $ac_try) 2>&5
61618 ac_status=$?
61619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61620 (exit $ac_status); }; } &&
61621 { ac_try='test -s conftest.$ac_objext'
61622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61623 (eval $ac_try) 2>&5
61624 ac_status=$?
61625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626 (exit $ac_status); }; }; then
61627 glibcxx_cv_func___builtin_sqrtf_use=yes
61628 else
61629 echo "$as_me: failed program was:" >&5
61630 sed 's/^/| /' conftest.$ac_ext >&5
61632 glibcxx_cv_func___builtin_sqrtf_use=no
61634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61645 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61646 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61647 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61648 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61649 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61650 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61651 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61652 echo $ECHO_N "(cached) $ECHO_C" >&6
61653 else
61655 if test x$gcc_no_link = xyes; then
61656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61658 { (exit 1); exit 1; }; }
61660 cat >conftest.$ac_ext <<_ACEOF
61661 /* confdefs.h. */
61662 _ACEOF
61663 cat confdefs.h >>conftest.$ac_ext
61664 cat >>conftest.$ac_ext <<_ACEOF
61665 /* end confdefs.h. */
61666 #include <math.h>
61668 main ()
61670 __builtin_sqrtf(0);
61672 return 0;
61674 _ACEOF
61675 rm -f conftest.$ac_objext conftest$ac_exeext
61676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61677 (eval $ac_link) 2>conftest.er1
61678 ac_status=$?
61679 grep -v '^ *+' conftest.er1 >conftest.err
61680 rm -f conftest.er1
61681 cat conftest.err >&5
61682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61683 (exit $ac_status); } &&
61684 { ac_try='test -z "$ac_c_werror_flag"
61685 || test ! -s conftest.err'
61686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61687 (eval $ac_try) 2>&5
61688 ac_status=$?
61689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61690 (exit $ac_status); }; } &&
61691 { ac_try='test -s conftest$ac_exeext'
61692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61693 (eval $ac_try) 2>&5
61694 ac_status=$?
61695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61696 (exit $ac_status); }; }; then
61697 glibcxx_cv_func___builtin_sqrtf_link=yes
61698 else
61699 echo "$as_me: failed program was:" >&5
61700 sed 's/^/| /' conftest.$ac_ext >&5
61702 glibcxx_cv_func___builtin_sqrtf_link=no
61704 rm -f conftest.err conftest.$ac_objext \
61705 conftest$ac_exeext conftest.$ac_ext
61710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61713 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61715 cat >>confdefs.h <<\_ACEOF
61716 #define HAVE___BUILTIN_SQRTF 1
61717 _ACEOF
61724 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61725 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61726 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61727 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61728 echo $ECHO_N "(cached) $ECHO_C" >&6
61729 else
61733 ac_ext=cc
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739 cat >conftest.$ac_ext <<_ACEOF
61740 /* confdefs.h. */
61741 _ACEOF
61742 cat confdefs.h >>conftest.$ac_ext
61743 cat >>conftest.$ac_ext <<_ACEOF
61744 /* end confdefs.h. */
61745 #include <math.h>
61747 main ()
61749 __builtin_sqrt(0);
61751 return 0;
61753 _ACEOF
61754 rm -f conftest.$ac_objext
61755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61756 (eval $ac_compile) 2>conftest.er1
61757 ac_status=$?
61758 grep -v '^ *+' conftest.er1 >conftest.err
61759 rm -f conftest.er1
61760 cat conftest.err >&5
61761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762 (exit $ac_status); } &&
61763 { ac_try='test -z "$ac_cxx_werror_flag"
61764 || test ! -s conftest.err'
61765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61766 (eval $ac_try) 2>&5
61767 ac_status=$?
61768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61769 (exit $ac_status); }; } &&
61770 { ac_try='test -s conftest.$ac_objext'
61771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61772 (eval $ac_try) 2>&5
61773 ac_status=$?
61774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775 (exit $ac_status); }; }; then
61776 glibcxx_cv_func___builtin_sqrt_use=yes
61777 else
61778 echo "$as_me: failed program was:" >&5
61779 sed 's/^/| /' conftest.$ac_ext >&5
61781 glibcxx_cv_func___builtin_sqrt_use=no
61783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61784 ac_ext=c
61785 ac_cpp='$CPP $CPPFLAGS'
61786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61794 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61795 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61796 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61797 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61798 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61799 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61800 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61801 echo $ECHO_N "(cached) $ECHO_C" >&6
61802 else
61804 if test x$gcc_no_link = xyes; then
61805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61807 { (exit 1); exit 1; }; }
61809 cat >conftest.$ac_ext <<_ACEOF
61810 /* confdefs.h. */
61811 _ACEOF
61812 cat confdefs.h >>conftest.$ac_ext
61813 cat >>conftest.$ac_ext <<_ACEOF
61814 /* end confdefs.h. */
61815 #include <math.h>
61817 main ()
61819 __builtin_sqrt(0);
61821 return 0;
61823 _ACEOF
61824 rm -f conftest.$ac_objext conftest$ac_exeext
61825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61826 (eval $ac_link) 2>conftest.er1
61827 ac_status=$?
61828 grep -v '^ *+' conftest.er1 >conftest.err
61829 rm -f conftest.er1
61830 cat conftest.err >&5
61831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61832 (exit $ac_status); } &&
61833 { ac_try='test -z "$ac_c_werror_flag"
61834 || test ! -s conftest.err'
61835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61836 (eval $ac_try) 2>&5
61837 ac_status=$?
61838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839 (exit $ac_status); }; } &&
61840 { ac_try='test -s conftest$ac_exeext'
61841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61842 (eval $ac_try) 2>&5
61843 ac_status=$?
61844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61845 (exit $ac_status); }; }; then
61846 glibcxx_cv_func___builtin_sqrt_link=yes
61847 else
61848 echo "$as_me: failed program was:" >&5
61849 sed 's/^/| /' conftest.$ac_ext >&5
61851 glibcxx_cv_func___builtin_sqrt_link=no
61853 rm -f conftest.err conftest.$ac_objext \
61854 conftest$ac_exeext conftest.$ac_ext
61859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61860 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61862 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61864 cat >>confdefs.h <<\_ACEOF
61865 #define HAVE___BUILTIN_SQRT 1
61866 _ACEOF
61873 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61874 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61875 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61876 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61877 echo $ECHO_N "(cached) $ECHO_C" >&6
61878 else
61882 ac_ext=cc
61883 ac_cpp='$CXXCPP $CPPFLAGS'
61884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61888 cat >conftest.$ac_ext <<_ACEOF
61889 /* confdefs.h. */
61890 _ACEOF
61891 cat confdefs.h >>conftest.$ac_ext
61892 cat >>conftest.$ac_ext <<_ACEOF
61893 /* end confdefs.h. */
61894 #include <math.h>
61896 main ()
61898 __builtin_sqrtl(0);
61900 return 0;
61902 _ACEOF
61903 rm -f conftest.$ac_objext
61904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61905 (eval $ac_compile) 2>conftest.er1
61906 ac_status=$?
61907 grep -v '^ *+' conftest.er1 >conftest.err
61908 rm -f conftest.er1
61909 cat conftest.err >&5
61910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61911 (exit $ac_status); } &&
61912 { ac_try='test -z "$ac_cxx_werror_flag"
61913 || test ! -s conftest.err'
61914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61915 (eval $ac_try) 2>&5
61916 ac_status=$?
61917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918 (exit $ac_status); }; } &&
61919 { ac_try='test -s conftest.$ac_objext'
61920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921 (eval $ac_try) 2>&5
61922 ac_status=$?
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); }; }; then
61925 glibcxx_cv_func___builtin_sqrtl_use=yes
61926 else
61927 echo "$as_me: failed program was:" >&5
61928 sed 's/^/| /' conftest.$ac_ext >&5
61930 glibcxx_cv_func___builtin_sqrtl_use=no
61932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61944 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61945 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61946 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61947 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61948 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61949 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61950 echo $ECHO_N "(cached) $ECHO_C" >&6
61951 else
61953 if test x$gcc_no_link = xyes; then
61954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61956 { (exit 1); exit 1; }; }
61958 cat >conftest.$ac_ext <<_ACEOF
61959 /* confdefs.h. */
61960 _ACEOF
61961 cat confdefs.h >>conftest.$ac_ext
61962 cat >>conftest.$ac_ext <<_ACEOF
61963 /* end confdefs.h. */
61964 #include <math.h>
61966 main ()
61968 __builtin_sqrtl(0);
61970 return 0;
61972 _ACEOF
61973 rm -f conftest.$ac_objext conftest$ac_exeext
61974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61975 (eval $ac_link) 2>conftest.er1
61976 ac_status=$?
61977 grep -v '^ *+' conftest.er1 >conftest.err
61978 rm -f conftest.er1
61979 cat conftest.err >&5
61980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61981 (exit $ac_status); } &&
61982 { ac_try='test -z "$ac_c_werror_flag"
61983 || test ! -s conftest.err'
61984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61985 (eval $ac_try) 2>&5
61986 ac_status=$?
61987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61988 (exit $ac_status); }; } &&
61989 { ac_try='test -s conftest$ac_exeext'
61990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61991 (eval $ac_try) 2>&5
61992 ac_status=$?
61993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61994 (exit $ac_status); }; }; then
61995 glibcxx_cv_func___builtin_sqrtl_link=yes
61996 else
61997 echo "$as_me: failed program was:" >&5
61998 sed 's/^/| /' conftest.$ac_ext >&5
62000 glibcxx_cv_func___builtin_sqrtl_link=no
62002 rm -f conftest.err conftest.$ac_objext \
62003 conftest$ac_exeext conftest.$ac_ext
62008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62011 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62013 cat >>confdefs.h <<\_ACEOF
62014 #define HAVE___BUILTIN_SQRTL 1
62015 _ACEOF
62023 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62024 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62025 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62026 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62027 echo $ECHO_N "(cached) $ECHO_C" >&6
62028 else
62032 ac_ext=cc
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62038 cat >conftest.$ac_ext <<_ACEOF
62039 /* confdefs.h. */
62040 _ACEOF
62041 cat confdefs.h >>conftest.$ac_ext
62042 cat >>conftest.$ac_ext <<_ACEOF
62043 /* end confdefs.h. */
62044 #include <math.h>
62046 main ()
62048 __builtin_sinf(0);
62050 return 0;
62052 _ACEOF
62053 rm -f conftest.$ac_objext
62054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62055 (eval $ac_compile) 2>conftest.er1
62056 ac_status=$?
62057 grep -v '^ *+' conftest.er1 >conftest.err
62058 rm -f conftest.er1
62059 cat conftest.err >&5
62060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62061 (exit $ac_status); } &&
62062 { ac_try='test -z "$ac_cxx_werror_flag"
62063 || test ! -s conftest.err'
62064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62065 (eval $ac_try) 2>&5
62066 ac_status=$?
62067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62068 (exit $ac_status); }; } &&
62069 { ac_try='test -s conftest.$ac_objext'
62070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62071 (eval $ac_try) 2>&5
62072 ac_status=$?
62073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62074 (exit $ac_status); }; }; then
62075 glibcxx_cv_func___builtin_sinf_use=yes
62076 else
62077 echo "$as_me: failed program was:" >&5
62078 sed 's/^/| /' conftest.$ac_ext >&5
62080 glibcxx_cv_func___builtin_sinf_use=no
62082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62083 ac_ext=c
62084 ac_cpp='$CPP $CPPFLAGS'
62085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62095 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62096 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62097 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62098 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62099 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62100 echo $ECHO_N "(cached) $ECHO_C" >&6
62101 else
62103 if test x$gcc_no_link = xyes; then
62104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62106 { (exit 1); exit 1; }; }
62108 cat >conftest.$ac_ext <<_ACEOF
62109 /* confdefs.h. */
62110 _ACEOF
62111 cat confdefs.h >>conftest.$ac_ext
62112 cat >>conftest.$ac_ext <<_ACEOF
62113 /* end confdefs.h. */
62114 #include <math.h>
62116 main ()
62118 __builtin_sinf(0);
62120 return 0;
62122 _ACEOF
62123 rm -f conftest.$ac_objext conftest$ac_exeext
62124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62125 (eval $ac_link) 2>conftest.er1
62126 ac_status=$?
62127 grep -v '^ *+' conftest.er1 >conftest.err
62128 rm -f conftest.er1
62129 cat conftest.err >&5
62130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62131 (exit $ac_status); } &&
62132 { ac_try='test -z "$ac_c_werror_flag"
62133 || test ! -s conftest.err'
62134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62135 (eval $ac_try) 2>&5
62136 ac_status=$?
62137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62138 (exit $ac_status); }; } &&
62139 { ac_try='test -s conftest$ac_exeext'
62140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62141 (eval $ac_try) 2>&5
62142 ac_status=$?
62143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144 (exit $ac_status); }; }; then
62145 glibcxx_cv_func___builtin_sinf_link=yes
62146 else
62147 echo "$as_me: failed program was:" >&5
62148 sed 's/^/| /' conftest.$ac_ext >&5
62150 glibcxx_cv_func___builtin_sinf_link=no
62152 rm -f conftest.err conftest.$ac_objext \
62153 conftest$ac_exeext conftest.$ac_ext
62158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62161 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62163 cat >>confdefs.h <<\_ACEOF
62164 #define HAVE___BUILTIN_SINF 1
62165 _ACEOF
62172 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62173 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62174 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62175 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62176 echo $ECHO_N "(cached) $ECHO_C" >&6
62177 else
62181 ac_ext=cc
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62187 cat >conftest.$ac_ext <<_ACEOF
62188 /* confdefs.h. */
62189 _ACEOF
62190 cat confdefs.h >>conftest.$ac_ext
62191 cat >>conftest.$ac_ext <<_ACEOF
62192 /* end confdefs.h. */
62193 #include <math.h>
62195 main ()
62197 __builtin_sin(0);
62199 return 0;
62201 _ACEOF
62202 rm -f conftest.$ac_objext
62203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62204 (eval $ac_compile) 2>conftest.er1
62205 ac_status=$?
62206 grep -v '^ *+' conftest.er1 >conftest.err
62207 rm -f conftest.er1
62208 cat conftest.err >&5
62209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62210 (exit $ac_status); } &&
62211 { ac_try='test -z "$ac_cxx_werror_flag"
62212 || test ! -s conftest.err'
62213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62214 (eval $ac_try) 2>&5
62215 ac_status=$?
62216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217 (exit $ac_status); }; } &&
62218 { ac_try='test -s conftest.$ac_objext'
62219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62220 (eval $ac_try) 2>&5
62221 ac_status=$?
62222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62223 (exit $ac_status); }; }; then
62224 glibcxx_cv_func___builtin_sin_use=yes
62225 else
62226 echo "$as_me: failed program was:" >&5
62227 sed 's/^/| /' conftest.$ac_ext >&5
62229 glibcxx_cv_func___builtin_sin_use=no
62231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62232 ac_ext=c
62233 ac_cpp='$CPP $CPPFLAGS'
62234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62243 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62244 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62245 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62246 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62247 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62248 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62249 echo $ECHO_N "(cached) $ECHO_C" >&6
62250 else
62252 if test x$gcc_no_link = xyes; then
62253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62255 { (exit 1); exit 1; }; }
62257 cat >conftest.$ac_ext <<_ACEOF
62258 /* confdefs.h. */
62259 _ACEOF
62260 cat confdefs.h >>conftest.$ac_ext
62261 cat >>conftest.$ac_ext <<_ACEOF
62262 /* end confdefs.h. */
62263 #include <math.h>
62265 main ()
62267 __builtin_sin(0);
62269 return 0;
62271 _ACEOF
62272 rm -f conftest.$ac_objext conftest$ac_exeext
62273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62274 (eval $ac_link) 2>conftest.er1
62275 ac_status=$?
62276 grep -v '^ *+' conftest.er1 >conftest.err
62277 rm -f conftest.er1
62278 cat conftest.err >&5
62279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62280 (exit $ac_status); } &&
62281 { ac_try='test -z "$ac_c_werror_flag"
62282 || test ! -s conftest.err'
62283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62284 (eval $ac_try) 2>&5
62285 ac_status=$?
62286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62287 (exit $ac_status); }; } &&
62288 { ac_try='test -s conftest$ac_exeext'
62289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62290 (eval $ac_try) 2>&5
62291 ac_status=$?
62292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62293 (exit $ac_status); }; }; then
62294 glibcxx_cv_func___builtin_sin_link=yes
62295 else
62296 echo "$as_me: failed program was:" >&5
62297 sed 's/^/| /' conftest.$ac_ext >&5
62299 glibcxx_cv_func___builtin_sin_link=no
62301 rm -f conftest.err conftest.$ac_objext \
62302 conftest$ac_exeext conftest.$ac_ext
62307 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62308 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62310 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62312 cat >>confdefs.h <<\_ACEOF
62313 #define HAVE___BUILTIN_SIN 1
62314 _ACEOF
62321 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62322 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62323 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62324 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62325 echo $ECHO_N "(cached) $ECHO_C" >&6
62326 else
62330 ac_ext=cc
62331 ac_cpp='$CXXCPP $CPPFLAGS'
62332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62336 cat >conftest.$ac_ext <<_ACEOF
62337 /* confdefs.h. */
62338 _ACEOF
62339 cat confdefs.h >>conftest.$ac_ext
62340 cat >>conftest.$ac_ext <<_ACEOF
62341 /* end confdefs.h. */
62342 #include <math.h>
62344 main ()
62346 __builtin_sinl(0);
62348 return 0;
62350 _ACEOF
62351 rm -f conftest.$ac_objext
62352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62353 (eval $ac_compile) 2>conftest.er1
62354 ac_status=$?
62355 grep -v '^ *+' conftest.er1 >conftest.err
62356 rm -f conftest.er1
62357 cat conftest.err >&5
62358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62359 (exit $ac_status); } &&
62360 { ac_try='test -z "$ac_cxx_werror_flag"
62361 || test ! -s conftest.err'
62362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62363 (eval $ac_try) 2>&5
62364 ac_status=$?
62365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366 (exit $ac_status); }; } &&
62367 { ac_try='test -s conftest.$ac_objext'
62368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62369 (eval $ac_try) 2>&5
62370 ac_status=$?
62371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62372 (exit $ac_status); }; }; then
62373 glibcxx_cv_func___builtin_sinl_use=yes
62374 else
62375 echo "$as_me: failed program was:" >&5
62376 sed 's/^/| /' conftest.$ac_ext >&5
62378 glibcxx_cv_func___builtin_sinl_use=no
62380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62381 ac_ext=c
62382 ac_cpp='$CPP $CPPFLAGS'
62383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62393 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62394 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62395 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62396 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62397 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62398 echo $ECHO_N "(cached) $ECHO_C" >&6
62399 else
62401 if test x$gcc_no_link = xyes; then
62402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62404 { (exit 1); exit 1; }; }
62406 cat >conftest.$ac_ext <<_ACEOF
62407 /* confdefs.h. */
62408 _ACEOF
62409 cat confdefs.h >>conftest.$ac_ext
62410 cat >>conftest.$ac_ext <<_ACEOF
62411 /* end confdefs.h. */
62412 #include <math.h>
62414 main ()
62416 __builtin_sinl(0);
62418 return 0;
62420 _ACEOF
62421 rm -f conftest.$ac_objext conftest$ac_exeext
62422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62423 (eval $ac_link) 2>conftest.er1
62424 ac_status=$?
62425 grep -v '^ *+' conftest.er1 >conftest.err
62426 rm -f conftest.er1
62427 cat conftest.err >&5
62428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62429 (exit $ac_status); } &&
62430 { ac_try='test -z "$ac_c_werror_flag"
62431 || test ! -s conftest.err'
62432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62433 (eval $ac_try) 2>&5
62434 ac_status=$?
62435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62436 (exit $ac_status); }; } &&
62437 { ac_try='test -s conftest$ac_exeext'
62438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62439 (eval $ac_try) 2>&5
62440 ac_status=$?
62441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62442 (exit $ac_status); }; }; then
62443 glibcxx_cv_func___builtin_sinl_link=yes
62444 else
62445 echo "$as_me: failed program was:" >&5
62446 sed 's/^/| /' conftest.$ac_ext >&5
62448 glibcxx_cv_func___builtin_sinl_link=no
62450 rm -f conftest.err conftest.$ac_objext \
62451 conftest$ac_exeext conftest.$ac_ext
62456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62459 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62461 cat >>confdefs.h <<\_ACEOF
62462 #define HAVE___BUILTIN_SINL 1
62463 _ACEOF
62471 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62472 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62473 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62474 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62475 echo $ECHO_N "(cached) $ECHO_C" >&6
62476 else
62480 ac_ext=cc
62481 ac_cpp='$CXXCPP $CPPFLAGS'
62482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62486 cat >conftest.$ac_ext <<_ACEOF
62487 /* confdefs.h. */
62488 _ACEOF
62489 cat confdefs.h >>conftest.$ac_ext
62490 cat >>conftest.$ac_ext <<_ACEOF
62491 /* end confdefs.h. */
62492 #include <math.h>
62494 main ()
62496 __builtin_cosf(0);
62498 return 0;
62500 _ACEOF
62501 rm -f conftest.$ac_objext
62502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62503 (eval $ac_compile) 2>conftest.er1
62504 ac_status=$?
62505 grep -v '^ *+' conftest.er1 >conftest.err
62506 rm -f conftest.er1
62507 cat conftest.err >&5
62508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62509 (exit $ac_status); } &&
62510 { ac_try='test -z "$ac_cxx_werror_flag"
62511 || test ! -s conftest.err'
62512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62513 (eval $ac_try) 2>&5
62514 ac_status=$?
62515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62516 (exit $ac_status); }; } &&
62517 { ac_try='test -s conftest.$ac_objext'
62518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62519 (eval $ac_try) 2>&5
62520 ac_status=$?
62521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62522 (exit $ac_status); }; }; then
62523 glibcxx_cv_func___builtin_cosf_use=yes
62524 else
62525 echo "$as_me: failed program was:" >&5
62526 sed 's/^/| /' conftest.$ac_ext >&5
62528 glibcxx_cv_func___builtin_cosf_use=no
62530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62531 ac_ext=c
62532 ac_cpp='$CPP $CPPFLAGS'
62533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62543 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62544 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62545 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62546 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62547 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62548 echo $ECHO_N "(cached) $ECHO_C" >&6
62549 else
62551 if test x$gcc_no_link = xyes; then
62552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62554 { (exit 1); exit 1; }; }
62556 cat >conftest.$ac_ext <<_ACEOF
62557 /* confdefs.h. */
62558 _ACEOF
62559 cat confdefs.h >>conftest.$ac_ext
62560 cat >>conftest.$ac_ext <<_ACEOF
62561 /* end confdefs.h. */
62562 #include <math.h>
62564 main ()
62566 __builtin_cosf(0);
62568 return 0;
62570 _ACEOF
62571 rm -f conftest.$ac_objext conftest$ac_exeext
62572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62573 (eval $ac_link) 2>conftest.er1
62574 ac_status=$?
62575 grep -v '^ *+' conftest.er1 >conftest.err
62576 rm -f conftest.er1
62577 cat conftest.err >&5
62578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62579 (exit $ac_status); } &&
62580 { ac_try='test -z "$ac_c_werror_flag"
62581 || test ! -s conftest.err'
62582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62583 (eval $ac_try) 2>&5
62584 ac_status=$?
62585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62586 (exit $ac_status); }; } &&
62587 { ac_try='test -s conftest$ac_exeext'
62588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62589 (eval $ac_try) 2>&5
62590 ac_status=$?
62591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62592 (exit $ac_status); }; }; then
62593 glibcxx_cv_func___builtin_cosf_link=yes
62594 else
62595 echo "$as_me: failed program was:" >&5
62596 sed 's/^/| /' conftest.$ac_ext >&5
62598 glibcxx_cv_func___builtin_cosf_link=no
62600 rm -f conftest.err conftest.$ac_objext \
62601 conftest$ac_exeext conftest.$ac_ext
62606 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62609 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62611 cat >>confdefs.h <<\_ACEOF
62612 #define HAVE___BUILTIN_COSF 1
62613 _ACEOF
62620 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62621 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62622 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62623 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62624 echo $ECHO_N "(cached) $ECHO_C" >&6
62625 else
62629 ac_ext=cc
62630 ac_cpp='$CXXCPP $CPPFLAGS'
62631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62635 cat >conftest.$ac_ext <<_ACEOF
62636 /* confdefs.h. */
62637 _ACEOF
62638 cat confdefs.h >>conftest.$ac_ext
62639 cat >>conftest.$ac_ext <<_ACEOF
62640 /* end confdefs.h. */
62641 #include <math.h>
62643 main ()
62645 __builtin_cos(0);
62647 return 0;
62649 _ACEOF
62650 rm -f conftest.$ac_objext
62651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62652 (eval $ac_compile) 2>conftest.er1
62653 ac_status=$?
62654 grep -v '^ *+' conftest.er1 >conftest.err
62655 rm -f conftest.er1
62656 cat conftest.err >&5
62657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62658 (exit $ac_status); } &&
62659 { ac_try='test -z "$ac_cxx_werror_flag"
62660 || test ! -s conftest.err'
62661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62662 (eval $ac_try) 2>&5
62663 ac_status=$?
62664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62665 (exit $ac_status); }; } &&
62666 { ac_try='test -s conftest.$ac_objext'
62667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62668 (eval $ac_try) 2>&5
62669 ac_status=$?
62670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671 (exit $ac_status); }; }; then
62672 glibcxx_cv_func___builtin_cos_use=yes
62673 else
62674 echo "$as_me: failed program was:" >&5
62675 sed 's/^/| /' conftest.$ac_ext >&5
62677 glibcxx_cv_func___builtin_cos_use=no
62679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62680 ac_ext=c
62681 ac_cpp='$CPP $CPPFLAGS'
62682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62690 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62691 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62692 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62693 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62694 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62695 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62696 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62697 echo $ECHO_N "(cached) $ECHO_C" >&6
62698 else
62700 if test x$gcc_no_link = xyes; then
62701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62703 { (exit 1); exit 1; }; }
62705 cat >conftest.$ac_ext <<_ACEOF
62706 /* confdefs.h. */
62707 _ACEOF
62708 cat confdefs.h >>conftest.$ac_ext
62709 cat >>conftest.$ac_ext <<_ACEOF
62710 /* end confdefs.h. */
62711 #include <math.h>
62713 main ()
62715 __builtin_cos(0);
62717 return 0;
62719 _ACEOF
62720 rm -f conftest.$ac_objext conftest$ac_exeext
62721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62722 (eval $ac_link) 2>conftest.er1
62723 ac_status=$?
62724 grep -v '^ *+' conftest.er1 >conftest.err
62725 rm -f conftest.er1
62726 cat conftest.err >&5
62727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62728 (exit $ac_status); } &&
62729 { ac_try='test -z "$ac_c_werror_flag"
62730 || test ! -s conftest.err'
62731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62732 (eval $ac_try) 2>&5
62733 ac_status=$?
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 (exit $ac_status); }; } &&
62736 { ac_try='test -s conftest$ac_exeext'
62737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62738 (eval $ac_try) 2>&5
62739 ac_status=$?
62740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62741 (exit $ac_status); }; }; then
62742 glibcxx_cv_func___builtin_cos_link=yes
62743 else
62744 echo "$as_me: failed program was:" >&5
62745 sed 's/^/| /' conftest.$ac_ext >&5
62747 glibcxx_cv_func___builtin_cos_link=no
62749 rm -f conftest.err conftest.$ac_objext \
62750 conftest$ac_exeext conftest.$ac_ext
62755 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62756 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62758 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62760 cat >>confdefs.h <<\_ACEOF
62761 #define HAVE___BUILTIN_COS 1
62762 _ACEOF
62769 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62770 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62771 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62772 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62773 echo $ECHO_N "(cached) $ECHO_C" >&6
62774 else
62778 ac_ext=cc
62779 ac_cpp='$CXXCPP $CPPFLAGS'
62780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62784 cat >conftest.$ac_ext <<_ACEOF
62785 /* confdefs.h. */
62786 _ACEOF
62787 cat confdefs.h >>conftest.$ac_ext
62788 cat >>conftest.$ac_ext <<_ACEOF
62789 /* end confdefs.h. */
62790 #include <math.h>
62792 main ()
62794 __builtin_cosl(0);
62796 return 0;
62798 _ACEOF
62799 rm -f conftest.$ac_objext
62800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62801 (eval $ac_compile) 2>conftest.er1
62802 ac_status=$?
62803 grep -v '^ *+' conftest.er1 >conftest.err
62804 rm -f conftest.er1
62805 cat conftest.err >&5
62806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807 (exit $ac_status); } &&
62808 { ac_try='test -z "$ac_cxx_werror_flag"
62809 || test ! -s conftest.err'
62810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62811 (eval $ac_try) 2>&5
62812 ac_status=$?
62813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62814 (exit $ac_status); }; } &&
62815 { ac_try='test -s conftest.$ac_objext'
62816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62817 (eval $ac_try) 2>&5
62818 ac_status=$?
62819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62820 (exit $ac_status); }; }; then
62821 glibcxx_cv_func___builtin_cosl_use=yes
62822 else
62823 echo "$as_me: failed program was:" >&5
62824 sed 's/^/| /' conftest.$ac_ext >&5
62826 glibcxx_cv_func___builtin_cosl_use=no
62828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62829 ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62840 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62841 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62842 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62843 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62844 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62845 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62846 echo $ECHO_N "(cached) $ECHO_C" >&6
62847 else
62849 if test x$gcc_no_link = xyes; then
62850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62852 { (exit 1); exit 1; }; }
62854 cat >conftest.$ac_ext <<_ACEOF
62855 /* confdefs.h. */
62856 _ACEOF
62857 cat confdefs.h >>conftest.$ac_ext
62858 cat >>conftest.$ac_ext <<_ACEOF
62859 /* end confdefs.h. */
62860 #include <math.h>
62862 main ()
62864 __builtin_cosl(0);
62866 return 0;
62868 _ACEOF
62869 rm -f conftest.$ac_objext conftest$ac_exeext
62870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62871 (eval $ac_link) 2>conftest.er1
62872 ac_status=$?
62873 grep -v '^ *+' conftest.er1 >conftest.err
62874 rm -f conftest.er1
62875 cat conftest.err >&5
62876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877 (exit $ac_status); } &&
62878 { ac_try='test -z "$ac_c_werror_flag"
62879 || test ! -s conftest.err'
62880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62881 (eval $ac_try) 2>&5
62882 ac_status=$?
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); }; } &&
62885 { ac_try='test -s conftest$ac_exeext'
62886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62887 (eval $ac_try) 2>&5
62888 ac_status=$?
62889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62890 (exit $ac_status); }; }; then
62891 glibcxx_cv_func___builtin_cosl_link=yes
62892 else
62893 echo "$as_me: failed program was:" >&5
62894 sed 's/^/| /' conftest.$ac_ext >&5
62896 glibcxx_cv_func___builtin_cosl_link=no
62898 rm -f conftest.err conftest.$ac_objext \
62899 conftest$ac_exeext conftest.$ac_ext
62904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62907 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62909 cat >>confdefs.h <<\_ACEOF
62910 #define HAVE___BUILTIN_COSL 1
62911 _ACEOF
62920 echo "$as_me:$LINENO: checking for main in -lm" >&5
62921 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62922 if test "${ac_cv_lib_m_main+set}" = set; then
62923 echo $ECHO_N "(cached) $ECHO_C" >&6
62924 else
62925 ac_check_lib_save_LIBS=$LIBS
62926 LIBS="-lm $LIBS"
62927 if test x$gcc_no_link = xyes; then
62928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62930 { (exit 1); exit 1; }; }
62932 cat >conftest.$ac_ext <<_ACEOF
62933 /* confdefs.h. */
62934 _ACEOF
62935 cat confdefs.h >>conftest.$ac_ext
62936 cat >>conftest.$ac_ext <<_ACEOF
62937 /* end confdefs.h. */
62941 main ()
62943 main ();
62945 return 0;
62947 _ACEOF
62948 rm -f conftest.$ac_objext conftest$ac_exeext
62949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62950 (eval $ac_link) 2>conftest.er1
62951 ac_status=$?
62952 grep -v '^ *+' conftest.er1 >conftest.err
62953 rm -f conftest.er1
62954 cat conftest.err >&5
62955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62956 (exit $ac_status); } &&
62957 { ac_try='test -z "$ac_c_werror_flag"
62958 || test ! -s conftest.err'
62959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62960 (eval $ac_try) 2>&5
62961 ac_status=$?
62962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963 (exit $ac_status); }; } &&
62964 { ac_try='test -s conftest$ac_exeext'
62965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62966 (eval $ac_try) 2>&5
62967 ac_status=$?
62968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62969 (exit $ac_status); }; }; then
62970 ac_cv_lib_m_main=yes
62971 else
62972 echo "$as_me: failed program was:" >&5
62973 sed 's/^/| /' conftest.$ac_ext >&5
62975 ac_cv_lib_m_main=no
62977 rm -f conftest.err conftest.$ac_objext \
62978 conftest$ac_exeext conftest.$ac_ext
62979 LIBS=$ac_check_lib_save_LIBS
62981 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62982 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62983 if test $ac_cv_lib_m_main = yes; then
62984 cat >>confdefs.h <<_ACEOF
62985 #define HAVE_LIBM 1
62986 _ACEOF
62988 LIBS="-lm $LIBS"
62993 for ac_func in copysignf
62995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62996 echo "$as_me:$LINENO: checking for $ac_func" >&5
62997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62998 if eval "test \"\${$as_ac_var+set}\" = set"; then
62999 echo $ECHO_N "(cached) $ECHO_C" >&6
63000 else
63001 if test x$gcc_no_link = xyes; then
63002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63004 { (exit 1); exit 1; }; }
63006 cat >conftest.$ac_ext <<_ACEOF
63007 /* confdefs.h. */
63008 _ACEOF
63009 cat confdefs.h >>conftest.$ac_ext
63010 cat >>conftest.$ac_ext <<_ACEOF
63011 /* end confdefs.h. */
63012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63014 #define $ac_func innocuous_$ac_func
63016 /* System header to define __stub macros and hopefully few prototypes,
63017 which can conflict with char $ac_func (); below.
63018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63019 <limits.h> exists even on freestanding compilers. */
63021 #ifdef __STDC__
63022 # include <limits.h>
63023 #else
63024 # include <assert.h>
63025 #endif
63027 #undef $ac_func
63029 /* Override any gcc2 internal prototype to avoid an error. */
63030 #ifdef __cplusplus
63031 extern "C"
63033 #endif
63034 /* We use char because int might match the return type of a gcc2
63035 builtin and then its argument prototype would still apply. */
63036 char $ac_func ();
63037 /* The GNU C library defines this for functions which it implements
63038 to always fail with ENOSYS. Some functions are actually named
63039 something starting with __ and the normal name is an alias. */
63040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63041 choke me
63042 #else
63043 char (*f) () = $ac_func;
63044 #endif
63045 #ifdef __cplusplus
63047 #endif
63050 main ()
63052 return f != $ac_func;
63054 return 0;
63056 _ACEOF
63057 rm -f conftest.$ac_objext conftest$ac_exeext
63058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63059 (eval $ac_link) 2>conftest.er1
63060 ac_status=$?
63061 grep -v '^ *+' conftest.er1 >conftest.err
63062 rm -f conftest.er1
63063 cat conftest.err >&5
63064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63065 (exit $ac_status); } &&
63066 { ac_try='test -z "$ac_c_werror_flag"
63067 || test ! -s conftest.err'
63068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63069 (eval $ac_try) 2>&5
63070 ac_status=$?
63071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63072 (exit $ac_status); }; } &&
63073 { ac_try='test -s conftest$ac_exeext'
63074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63075 (eval $ac_try) 2>&5
63076 ac_status=$?
63077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63078 (exit $ac_status); }; }; then
63079 eval "$as_ac_var=yes"
63080 else
63081 echo "$as_me: failed program was:" >&5
63082 sed 's/^/| /' conftest.$ac_ext >&5
63084 eval "$as_ac_var=no"
63086 rm -f conftest.err conftest.$ac_objext \
63087 conftest$ac_exeext conftest.$ac_ext
63089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63091 if test `eval echo '${'$as_ac_var'}'` = yes; then
63092 cat >>confdefs.h <<_ACEOF
63093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63094 _ACEOF
63096 else
63097 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63099 done
63103 for ac_func in __signbit
63105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63106 echo "$as_me:$LINENO: checking for $ac_func" >&5
63107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63108 if eval "test \"\${$as_ac_var+set}\" = set"; then
63109 echo $ECHO_N "(cached) $ECHO_C" >&6
63110 else
63111 if test x$gcc_no_link = xyes; then
63112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63114 { (exit 1); exit 1; }; }
63116 cat >conftest.$ac_ext <<_ACEOF
63117 /* confdefs.h. */
63118 _ACEOF
63119 cat confdefs.h >>conftest.$ac_ext
63120 cat >>conftest.$ac_ext <<_ACEOF
63121 /* end confdefs.h. */
63122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63124 #define $ac_func innocuous_$ac_func
63126 /* System header to define __stub macros and hopefully few prototypes,
63127 which can conflict with char $ac_func (); below.
63128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63129 <limits.h> exists even on freestanding compilers. */
63131 #ifdef __STDC__
63132 # include <limits.h>
63133 #else
63134 # include <assert.h>
63135 #endif
63137 #undef $ac_func
63139 /* Override any gcc2 internal prototype to avoid an error. */
63140 #ifdef __cplusplus
63141 extern "C"
63143 #endif
63144 /* We use char because int might match the return type of a gcc2
63145 builtin and then its argument prototype would still apply. */
63146 char $ac_func ();
63147 /* The GNU C library defines this for functions which it implements
63148 to always fail with ENOSYS. Some functions are actually named
63149 something starting with __ and the normal name is an alias. */
63150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63151 choke me
63152 #else
63153 char (*f) () = $ac_func;
63154 #endif
63155 #ifdef __cplusplus
63157 #endif
63160 main ()
63162 return f != $ac_func;
63164 return 0;
63166 _ACEOF
63167 rm -f conftest.$ac_objext conftest$ac_exeext
63168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63169 (eval $ac_link) 2>conftest.er1
63170 ac_status=$?
63171 grep -v '^ *+' conftest.er1 >conftest.err
63172 rm -f conftest.er1
63173 cat conftest.err >&5
63174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63175 (exit $ac_status); } &&
63176 { ac_try='test -z "$ac_c_werror_flag"
63177 || test ! -s conftest.err'
63178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63179 (eval $ac_try) 2>&5
63180 ac_status=$?
63181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182 (exit $ac_status); }; } &&
63183 { ac_try='test -s conftest$ac_exeext'
63184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63185 (eval $ac_try) 2>&5
63186 ac_status=$?
63187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63188 (exit $ac_status); }; }; then
63189 eval "$as_ac_var=yes"
63190 else
63191 echo "$as_me: failed program was:" >&5
63192 sed 's/^/| /' conftest.$ac_ext >&5
63194 eval "$as_ac_var=no"
63196 rm -f conftest.err conftest.$ac_objext \
63197 conftest$ac_exeext conftest.$ac_ext
63199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63201 if test `eval echo '${'$as_ac_var'}'` = yes; then
63202 cat >>confdefs.h <<_ACEOF
63203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63204 _ACEOF
63206 else
63207 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63209 done
63213 for ac_func in __signbitf
63215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63216 echo "$as_me:$LINENO: checking for $ac_func" >&5
63217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63218 if eval "test \"\${$as_ac_var+set}\" = set"; then
63219 echo $ECHO_N "(cached) $ECHO_C" >&6
63220 else
63221 if test x$gcc_no_link = xyes; then
63222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63224 { (exit 1); exit 1; }; }
63226 cat >conftest.$ac_ext <<_ACEOF
63227 /* confdefs.h. */
63228 _ACEOF
63229 cat confdefs.h >>conftest.$ac_ext
63230 cat >>conftest.$ac_ext <<_ACEOF
63231 /* end confdefs.h. */
63232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63234 #define $ac_func innocuous_$ac_func
63236 /* System header to define __stub macros and hopefully few prototypes,
63237 which can conflict with char $ac_func (); below.
63238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63239 <limits.h> exists even on freestanding compilers. */
63241 #ifdef __STDC__
63242 # include <limits.h>
63243 #else
63244 # include <assert.h>
63245 #endif
63247 #undef $ac_func
63249 /* Override any gcc2 internal prototype to avoid an error. */
63250 #ifdef __cplusplus
63251 extern "C"
63253 #endif
63254 /* We use char because int might match the return type of a gcc2
63255 builtin and then its argument prototype would still apply. */
63256 char $ac_func ();
63257 /* The GNU C library defines this for functions which it implements
63258 to always fail with ENOSYS. Some functions are actually named
63259 something starting with __ and the normal name is an alias. */
63260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63261 choke me
63262 #else
63263 char (*f) () = $ac_func;
63264 #endif
63265 #ifdef __cplusplus
63267 #endif
63270 main ()
63272 return f != $ac_func;
63274 return 0;
63276 _ACEOF
63277 rm -f conftest.$ac_objext conftest$ac_exeext
63278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63279 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
63300 else
63301 echo "$as_me: failed program was:" >&5
63302 sed 's/^/| /' conftest.$ac_ext >&5
63304 eval "$as_ac_var=no"
63306 rm -f conftest.err conftest.$ac_objext \
63307 conftest$ac_exeext conftest.$ac_ext
63309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63311 if test `eval echo '${'$as_ac_var'}'` = yes; then
63312 cat >>confdefs.h <<_ACEOF
63313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63314 _ACEOF
63316 else
63317 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63319 done
63322 if test x$ac_cv_func_copysignl = x"yes"; then
63324 for ac_func in __signbitl
63326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63327 echo "$as_me:$LINENO: checking for $ac_func" >&5
63328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63329 if eval "test \"\${$as_ac_var+set}\" = set"; then
63330 echo $ECHO_N "(cached) $ECHO_C" >&6
63331 else
63332 if test x$gcc_no_link = xyes; then
63333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63335 { (exit 1); exit 1; }; }
63337 cat >conftest.$ac_ext <<_ACEOF
63338 /* confdefs.h. */
63339 _ACEOF
63340 cat confdefs.h >>conftest.$ac_ext
63341 cat >>conftest.$ac_ext <<_ACEOF
63342 /* end confdefs.h. */
63343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63345 #define $ac_func innocuous_$ac_func
63347 /* System header to define __stub macros and hopefully few prototypes,
63348 which can conflict with char $ac_func (); below.
63349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63350 <limits.h> exists even on freestanding compilers. */
63352 #ifdef __STDC__
63353 # include <limits.h>
63354 #else
63355 # include <assert.h>
63356 #endif
63358 #undef $ac_func
63360 /* Override any gcc2 internal prototype to avoid an error. */
63361 #ifdef __cplusplus
63362 extern "C"
63364 #endif
63365 /* We use char because int might match the return type of a gcc2
63366 builtin and then its argument prototype would still apply. */
63367 char $ac_func ();
63368 /* The GNU C library defines this for functions which it implements
63369 to always fail with ENOSYS. Some functions are actually named
63370 something starting with __ and the normal name is an alias. */
63371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63372 choke me
63373 #else
63374 char (*f) () = $ac_func;
63375 #endif
63376 #ifdef __cplusplus
63378 #endif
63381 main ()
63383 return f != $ac_func;
63385 return 0;
63387 _ACEOF
63388 rm -f conftest.$ac_objext conftest$ac_exeext
63389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63390 (eval $ac_link) 2>conftest.er1
63391 ac_status=$?
63392 grep -v '^ *+' conftest.er1 >conftest.err
63393 rm -f conftest.er1
63394 cat conftest.err >&5
63395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63396 (exit $ac_status); } &&
63397 { ac_try='test -z "$ac_c_werror_flag"
63398 || test ! -s conftest.err'
63399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63400 (eval $ac_try) 2>&5
63401 ac_status=$?
63402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403 (exit $ac_status); }; } &&
63404 { ac_try='test -s conftest$ac_exeext'
63405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63406 (eval $ac_try) 2>&5
63407 ac_status=$?
63408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63409 (exit $ac_status); }; }; then
63410 eval "$as_ac_var=yes"
63411 else
63412 echo "$as_me: failed program was:" >&5
63413 sed 's/^/| /' conftest.$ac_ext >&5
63415 eval "$as_ac_var=no"
63417 rm -f conftest.err conftest.$ac_objext \
63418 conftest$ac_exeext conftest.$ac_ext
63420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63422 if test `eval echo '${'$as_ac_var'}'` = yes; then
63423 cat >>confdefs.h <<_ACEOF
63424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63425 _ACEOF
63427 else
63428 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63430 done
63434 # Used in libmath/Makefile.am.
63435 if test -n "$LIBMATHOBJS"; then
63436 need_libmath=yes
63441 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63442 ac_save_CXXFLAGS="$CXXFLAGS"
63443 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63446 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63447 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63448 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63449 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63450 echo $ECHO_N "(cached) $ECHO_C" >&6
63451 else
63455 ac_ext=cc
63456 ac_cpp='$CXXCPP $CPPFLAGS'
63457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63461 cat >conftest.$ac_ext <<_ACEOF
63462 /* confdefs.h. */
63463 _ACEOF
63464 cat confdefs.h >>conftest.$ac_ext
63465 cat >>conftest.$ac_ext <<_ACEOF
63466 /* end confdefs.h. */
63467 #include <stdlib.h>
63469 main ()
63471 strtold(0, 0);
63473 return 0;
63475 _ACEOF
63476 rm -f conftest.$ac_objext
63477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63478 (eval $ac_compile) 2>conftest.er1
63479 ac_status=$?
63480 grep -v '^ *+' conftest.er1 >conftest.err
63481 rm -f conftest.er1
63482 cat conftest.err >&5
63483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63484 (exit $ac_status); } &&
63485 { ac_try='test -z "$ac_cxx_werror_flag"
63486 || test ! -s conftest.err'
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); }; } &&
63492 { ac_try='test -s conftest.$ac_objext'
63493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494 (eval $ac_try) 2>&5
63495 ac_status=$?
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); }; }; then
63498 glibcxx_cv_func_strtold_use=yes
63499 else
63500 echo "$as_me: failed program was:" >&5
63501 sed 's/^/| /' conftest.$ac_ext >&5
63503 glibcxx_cv_func_strtold_use=no
63505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63506 ac_ext=c
63507 ac_cpp='$CPP $CPPFLAGS'
63508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63517 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63518 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63520 for ac_func in strtold
63522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63523 echo "$as_me:$LINENO: checking for $ac_func" >&5
63524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63525 if eval "test \"\${$as_ac_var+set}\" = set"; then
63526 echo $ECHO_N "(cached) $ECHO_C" >&6
63527 else
63528 if test x$gcc_no_link = xyes; then
63529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63531 { (exit 1); exit 1; }; }
63533 cat >conftest.$ac_ext <<_ACEOF
63534 /* confdefs.h. */
63535 _ACEOF
63536 cat confdefs.h >>conftest.$ac_ext
63537 cat >>conftest.$ac_ext <<_ACEOF
63538 /* end confdefs.h. */
63539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63541 #define $ac_func innocuous_$ac_func
63543 /* System header to define __stub macros and hopefully few prototypes,
63544 which can conflict with char $ac_func (); below.
63545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63546 <limits.h> exists even on freestanding compilers. */
63548 #ifdef __STDC__
63549 # include <limits.h>
63550 #else
63551 # include <assert.h>
63552 #endif
63554 #undef $ac_func
63556 /* Override any gcc2 internal prototype to avoid an error. */
63557 #ifdef __cplusplus
63558 extern "C"
63560 #endif
63561 /* We use char because int might match the return type of a gcc2
63562 builtin and then its argument prototype would still apply. */
63563 char $ac_func ();
63564 /* The GNU C library defines this for functions which it implements
63565 to always fail with ENOSYS. Some functions are actually named
63566 something starting with __ and the normal name is an alias. */
63567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63568 choke me
63569 #else
63570 char (*f) () = $ac_func;
63571 #endif
63572 #ifdef __cplusplus
63574 #endif
63577 main ()
63579 return f != $ac_func;
63581 return 0;
63583 _ACEOF
63584 rm -f conftest.$ac_objext conftest$ac_exeext
63585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63586 (eval $ac_link) 2>conftest.er1
63587 ac_status=$?
63588 grep -v '^ *+' conftest.er1 >conftest.err
63589 rm -f conftest.er1
63590 cat conftest.err >&5
63591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63592 (exit $ac_status); } &&
63593 { ac_try='test -z "$ac_c_werror_flag"
63594 || test ! -s conftest.err'
63595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63596 (eval $ac_try) 2>&5
63597 ac_status=$?
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); }; } &&
63600 { ac_try='test -s conftest$ac_exeext'
63601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63602 (eval $ac_try) 2>&5
63603 ac_status=$?
63604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63605 (exit $ac_status); }; }; then
63606 eval "$as_ac_var=yes"
63607 else
63608 echo "$as_me: failed program was:" >&5
63609 sed 's/^/| /' conftest.$ac_ext >&5
63611 eval "$as_ac_var=no"
63613 rm -f conftest.err conftest.$ac_objext \
63614 conftest$ac_exeext conftest.$ac_ext
63616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63618 if test `eval echo '${'$as_ac_var'}'` = yes; then
63619 cat >>confdefs.h <<_ACEOF
63620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63621 _ACEOF
63624 done
63632 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63633 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63634 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63635 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63636 echo $ECHO_N "(cached) $ECHO_C" >&6
63637 else
63641 ac_ext=cc
63642 ac_cpp='$CXXCPP $CPPFLAGS'
63643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63647 cat >conftest.$ac_ext <<_ACEOF
63648 /* confdefs.h. */
63649 _ACEOF
63650 cat confdefs.h >>conftest.$ac_ext
63651 cat >>conftest.$ac_ext <<_ACEOF
63652 /* end confdefs.h. */
63653 #include <stdlib.h>
63655 main ()
63657 strtof(0, 0);
63659 return 0;
63661 _ACEOF
63662 rm -f conftest.$ac_objext
63663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63664 (eval $ac_compile) 2>conftest.er1
63665 ac_status=$?
63666 grep -v '^ *+' conftest.er1 >conftest.err
63667 rm -f conftest.er1
63668 cat conftest.err >&5
63669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63670 (exit $ac_status); } &&
63671 { ac_try='test -z "$ac_cxx_werror_flag"
63672 || test ! -s conftest.err'
63673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63674 (eval $ac_try) 2>&5
63675 ac_status=$?
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); }; } &&
63678 { ac_try='test -s conftest.$ac_objext'
63679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63680 (eval $ac_try) 2>&5
63681 ac_status=$?
63682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683 (exit $ac_status); }; }; then
63684 glibcxx_cv_func_strtof_use=yes
63685 else
63686 echo "$as_me: failed program was:" >&5
63687 sed 's/^/| /' conftest.$ac_ext >&5
63689 glibcxx_cv_func_strtof_use=no
63691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63692 ac_ext=c
63693 ac_cpp='$CPP $CPPFLAGS'
63694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63703 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63706 for ac_func in strtof
63708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63709 echo "$as_me:$LINENO: checking for $ac_func" >&5
63710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63711 if eval "test \"\${$as_ac_var+set}\" = set"; then
63712 echo $ECHO_N "(cached) $ECHO_C" >&6
63713 else
63714 if test x$gcc_no_link = xyes; then
63715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63717 { (exit 1); exit 1; }; }
63719 cat >conftest.$ac_ext <<_ACEOF
63720 /* confdefs.h. */
63721 _ACEOF
63722 cat confdefs.h >>conftest.$ac_ext
63723 cat >>conftest.$ac_ext <<_ACEOF
63724 /* end confdefs.h. */
63725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63727 #define $ac_func innocuous_$ac_func
63729 /* System header to define __stub macros and hopefully few prototypes,
63730 which can conflict with char $ac_func (); below.
63731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63732 <limits.h> exists even on freestanding compilers. */
63734 #ifdef __STDC__
63735 # include <limits.h>
63736 #else
63737 # include <assert.h>
63738 #endif
63740 #undef $ac_func
63742 /* Override any gcc2 internal prototype to avoid an error. */
63743 #ifdef __cplusplus
63744 extern "C"
63746 #endif
63747 /* We use char because int might match the return type of a gcc2
63748 builtin and then its argument prototype would still apply. */
63749 char $ac_func ();
63750 /* The GNU C library defines this for functions which it implements
63751 to always fail with ENOSYS. Some functions are actually named
63752 something starting with __ and the normal name is an alias. */
63753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63754 choke me
63755 #else
63756 char (*f) () = $ac_func;
63757 #endif
63758 #ifdef __cplusplus
63760 #endif
63763 main ()
63765 return f != $ac_func;
63767 return 0;
63769 _ACEOF
63770 rm -f conftest.$ac_objext conftest$ac_exeext
63771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63772 (eval $ac_link) 2>conftest.er1
63773 ac_status=$?
63774 grep -v '^ *+' conftest.er1 >conftest.err
63775 rm -f conftest.er1
63776 cat conftest.err >&5
63777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63778 (exit $ac_status); } &&
63779 { ac_try='test -z "$ac_c_werror_flag"
63780 || test ! -s conftest.err'
63781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63782 (eval $ac_try) 2>&5
63783 ac_status=$?
63784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63785 (exit $ac_status); }; } &&
63786 { ac_try='test -s conftest$ac_exeext'
63787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63788 (eval $ac_try) 2>&5
63789 ac_status=$?
63790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63791 (exit $ac_status); }; }; then
63792 eval "$as_ac_var=yes"
63793 else
63794 echo "$as_me: failed program was:" >&5
63795 sed 's/^/| /' conftest.$ac_ext >&5
63797 eval "$as_ac_var=no"
63799 rm -f conftest.err conftest.$ac_objext \
63800 conftest$ac_exeext conftest.$ac_ext
63802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63804 if test `eval echo '${'$as_ac_var'}'` = yes; then
63805 cat >>confdefs.h <<_ACEOF
63806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63807 _ACEOF
63810 done
63818 CXXFLAGS="$ac_save_CXXFLAGS"
63821 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63822 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63823 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63824 echo $ECHO_N "(cached) $ECHO_C" >&6
63825 else
63827 if test x$gcc_no_link = xyes; then
63828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63830 { (exit 1); exit 1; }; }
63832 cat >conftest.$ac_ext <<_ACEOF
63833 /* confdefs.h. */
63834 _ACEOF
63835 cat confdefs.h >>conftest.$ac_ext
63836 cat >>conftest.$ac_ext <<_ACEOF
63837 /* end confdefs.h. */
63838 #include <sys/stat.h>
63840 main ()
63842 struct stat buffer;
63843 fstat(0, &buffer);
63844 S_ISREG(buffer.st_mode);
63846 return 0;
63848 _ACEOF
63849 rm -f conftest.$ac_objext conftest$ac_exeext
63850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63851 (eval $ac_link) 2>conftest.er1
63852 ac_status=$?
63853 grep -v '^ *+' conftest.er1 >conftest.err
63854 rm -f conftest.er1
63855 cat conftest.err >&5
63856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857 (exit $ac_status); } &&
63858 { ac_try='test -z "$ac_c_werror_flag"
63859 || test ! -s conftest.err'
63860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63861 (eval $ac_try) 2>&5
63862 ac_status=$?
63863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864 (exit $ac_status); }; } &&
63865 { ac_try='test -s conftest$ac_exeext'
63866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867 (eval $ac_try) 2>&5
63868 ac_status=$?
63869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870 (exit $ac_status); }; }; then
63871 glibcxx_cv_S_ISREG=yes
63872 else
63873 echo "$as_me: failed program was:" >&5
63874 sed 's/^/| /' conftest.$ac_ext >&5
63876 glibcxx_cv_S_ISREG=no
63878 rm -f conftest.err conftest.$ac_objext \
63879 conftest$ac_exeext conftest.$ac_ext
63883 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63884 echo $ECHO_N "(cached) $ECHO_C" >&6
63885 else
63887 if test x$gcc_no_link = xyes; then
63888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63890 { (exit 1); exit 1; }; }
63892 cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h. */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h. */
63898 #include <sys/stat.h>
63900 main ()
63902 struct stat buffer;
63903 fstat(0, &buffer);
63904 S_IFREG & buffer.st_mode;
63906 return 0;
63908 _ACEOF
63909 rm -f conftest.$ac_objext conftest$ac_exeext
63910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63911 (eval $ac_link) 2>conftest.er1
63912 ac_status=$?
63913 grep -v '^ *+' conftest.er1 >conftest.err
63914 rm -f conftest.er1
63915 cat conftest.err >&5
63916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63917 (exit $ac_status); } &&
63918 { ac_try='test -z "$ac_c_werror_flag"
63919 || test ! -s conftest.err'
63920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63921 (eval $ac_try) 2>&5
63922 ac_status=$?
63923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924 (exit $ac_status); }; } &&
63925 { ac_try='test -s conftest$ac_exeext'
63926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63927 (eval $ac_try) 2>&5
63928 ac_status=$?
63929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63930 (exit $ac_status); }; }; then
63931 glibcxx_cv_S_IFREG=yes
63932 else
63933 echo "$as_me: failed program was:" >&5
63934 sed 's/^/| /' conftest.$ac_ext >&5
63936 glibcxx_cv_S_IFREG=no
63938 rm -f conftest.err conftest.$ac_objext \
63939 conftest$ac_exeext conftest.$ac_ext
63943 res=no
63944 if test $glibcxx_cv_S_ISREG = yes; then
63946 cat >>confdefs.h <<\_ACEOF
63947 #define HAVE_S_ISREG 1
63948 _ACEOF
63950 res=S_ISREG
63951 elif test $glibcxx_cv_S_IFREG = yes; then
63953 cat >>confdefs.h <<\_ACEOF
63954 #define HAVE_S_IFREG 1
63955 _ACEOF
63957 res=S_IFREG
63959 echo "$as_me:$LINENO: result: $res" >&5
63960 echo "${ECHO_T}$res" >&6
63962 cat >>confdefs.h <<\_ACEOF
63963 #define HAVE_SIGSETJMP 1
63964 _ACEOF
63966 cat >>confdefs.h <<\_ACEOF
63967 #define HAVE_GETPAGESIZE 1
63968 _ACEOF
63970 cat >>confdefs.h <<\_ACEOF
63971 #define HAVE_WRITEV 1
63972 _ACEOF
63974 cat >>confdefs.h <<\_ACEOF
63975 #define HAVE_INT64_T 1
63976 _ACEOF
63979 cat >>confdefs.h <<\_ACEOF
63980 #define HAVE_LIBM 1
63981 _ACEOF
63983 cat >>confdefs.h <<\_ACEOF
63984 #define HAVE_COPYSIGN 1
63985 _ACEOF
63987 cat >>confdefs.h <<\_ACEOF
63988 #define HAVE_FINITE 1
63989 _ACEOF
63991 cat >>confdefs.h <<\_ACEOF
63992 #define HAVE_HYPOT 1
63993 _ACEOF
63995 cat >>confdefs.h <<\_ACEOF
63996 #define HAVE_ISNAN 1
63997 _ACEOF
63999 cat >>confdefs.h <<\_ACEOF
64000 #define HAVE_ISINF 1
64001 _ACEOF
64004 cat >>confdefs.h <<\_ACEOF
64005 #define HAVE_LDEXPF 1
64006 _ACEOF
64008 cat >>confdefs.h <<\_ACEOF
64009 #define HAVE_MODF 1
64010 _ACEOF
64012 cat >>confdefs.h <<\_ACEOF
64013 #define HAVE_SQRTF 1
64014 _ACEOF
64018 *-darwin*)
64019 # Darwin versions vary, but the linker should work in a cross environment,
64020 # so we just check for all the features here.
64021 # Check for available headers.
64035 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64036 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
64037 sys/types.h
64039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64041 echo "$as_me:$LINENO: checking for $ac_header" >&5
64042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64044 echo $ECHO_N "(cached) $ECHO_C" >&6
64046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64048 else
64049 # Is the header compilable?
64050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64052 cat >conftest.$ac_ext <<_ACEOF
64053 /* confdefs.h. */
64054 _ACEOF
64055 cat confdefs.h >>conftest.$ac_ext
64056 cat >>conftest.$ac_ext <<_ACEOF
64057 /* end confdefs.h. */
64058 $ac_includes_default
64059 #include <$ac_header>
64060 _ACEOF
64061 rm -f conftest.$ac_objext
64062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64063 (eval $ac_compile) 2>conftest.er1
64064 ac_status=$?
64065 grep -v '^ *+' conftest.er1 >conftest.err
64066 rm -f conftest.er1
64067 cat conftest.err >&5
64068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069 (exit $ac_status); } &&
64070 { ac_try='test -z "$ac_c_werror_flag"
64071 || test ! -s conftest.err'
64072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64073 (eval $ac_try) 2>&5
64074 ac_status=$?
64075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64076 (exit $ac_status); }; } &&
64077 { ac_try='test -s conftest.$ac_objext'
64078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64079 (eval $ac_try) 2>&5
64080 ac_status=$?
64081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64082 (exit $ac_status); }; }; then
64083 ac_header_compiler=yes
64084 else
64085 echo "$as_me: failed program was:" >&5
64086 sed 's/^/| /' conftest.$ac_ext >&5
64088 ac_header_compiler=no
64090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64092 echo "${ECHO_T}$ac_header_compiler" >&6
64094 # Is the header present?
64095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64097 cat >conftest.$ac_ext <<_ACEOF
64098 /* confdefs.h. */
64099 _ACEOF
64100 cat confdefs.h >>conftest.$ac_ext
64101 cat >>conftest.$ac_ext <<_ACEOF
64102 /* end confdefs.h. */
64103 #include <$ac_header>
64104 _ACEOF
64105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64107 ac_status=$?
64108 grep -v '^ *+' conftest.er1 >conftest.err
64109 rm -f conftest.er1
64110 cat conftest.err >&5
64111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112 (exit $ac_status); } >/dev/null; then
64113 if test -s conftest.err; then
64114 ac_cpp_err=$ac_c_preproc_warn_flag
64115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64116 else
64117 ac_cpp_err=
64119 else
64120 ac_cpp_err=yes
64122 if test -z "$ac_cpp_err"; then
64123 ac_header_preproc=yes
64124 else
64125 echo "$as_me: failed program was:" >&5
64126 sed 's/^/| /' conftest.$ac_ext >&5
64128 ac_header_preproc=no
64130 rm -f conftest.err conftest.$ac_ext
64131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64132 echo "${ECHO_T}$ac_header_preproc" >&6
64134 # So? What about this header?
64135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64136 yes:no: )
64137 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64141 ac_header_preproc=yes
64143 no:yes:* )
64144 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64146 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64147 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64148 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64150 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64151 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64154 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64157 cat <<\_ASBOX
64158 ## ----------------------------------------- ##
64159 ## Report this to the package-unused lists. ##
64160 ## ----------------------------------------- ##
64161 _ASBOX
64163 sed "s/^/$as_me: WARNING: /" >&2
64165 esac
64166 echo "$as_me:$LINENO: checking for $ac_header" >&5
64167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64169 echo $ECHO_N "(cached) $ECHO_C" >&6
64170 else
64171 eval "$as_ac_Header=\$ac_header_preproc"
64173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64178 cat >>confdefs.h <<_ACEOF
64179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64180 _ACEOF
64184 done
64187 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64190 ac_save_CXXFLAGS="$CXXFLAGS"
64191 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64193 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64194 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64195 if test "${ac_cv_lib_m_sin+set}" = set; then
64196 echo $ECHO_N "(cached) $ECHO_C" >&6
64197 else
64198 ac_check_lib_save_LIBS=$LIBS
64199 LIBS="-lm $LIBS"
64200 if test x$gcc_no_link = xyes; then
64201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64203 { (exit 1); exit 1; }; }
64205 cat >conftest.$ac_ext <<_ACEOF
64206 /* confdefs.h. */
64207 _ACEOF
64208 cat confdefs.h >>conftest.$ac_ext
64209 cat >>conftest.$ac_ext <<_ACEOF
64210 /* end confdefs.h. */
64212 /* Override any gcc2 internal prototype to avoid an error. */
64213 #ifdef __cplusplus
64214 extern "C"
64215 #endif
64216 /* We use char because int might match the return type of a gcc2
64217 builtin and then its argument prototype would still apply. */
64218 char sin ();
64220 main ()
64222 sin ();
64224 return 0;
64226 _ACEOF
64227 rm -f conftest.$ac_objext conftest$ac_exeext
64228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64229 (eval $ac_link) 2>conftest.er1
64230 ac_status=$?
64231 grep -v '^ *+' conftest.er1 >conftest.err
64232 rm -f conftest.er1
64233 cat conftest.err >&5
64234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64235 (exit $ac_status); } &&
64236 { ac_try='test -z "$ac_c_werror_flag"
64237 || test ! -s conftest.err'
64238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64239 (eval $ac_try) 2>&5
64240 ac_status=$?
64241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242 (exit $ac_status); }; } &&
64243 { ac_try='test -s conftest$ac_exeext'
64244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64245 (eval $ac_try) 2>&5
64246 ac_status=$?
64247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64248 (exit $ac_status); }; }; then
64249 ac_cv_lib_m_sin=yes
64250 else
64251 echo "$as_me: failed program was:" >&5
64252 sed 's/^/| /' conftest.$ac_ext >&5
64254 ac_cv_lib_m_sin=no
64256 rm -f conftest.err conftest.$ac_objext \
64257 conftest$ac_exeext conftest.$ac_ext
64258 LIBS=$ac_check_lib_save_LIBS
64260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64261 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64262 if test $ac_cv_lib_m_sin = yes; then
64263 libm="-lm"
64266 ac_save_LIBS="$LIBS"
64267 LIBS="$LIBS $libm"
64271 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64272 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64273 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64274 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64275 echo $ECHO_N "(cached) $ECHO_C" >&6
64276 else
64280 ac_ext=cc
64281 ac_cpp='$CXXCPP $CPPFLAGS'
64282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64286 cat >conftest.$ac_ext <<_ACEOF
64287 /* confdefs.h. */
64288 _ACEOF
64289 cat confdefs.h >>conftest.$ac_ext
64290 cat >>conftest.$ac_ext <<_ACEOF
64291 /* end confdefs.h. */
64292 #include <math.h>
64293 #ifdef HAVE_IEEEFP_H
64294 #include <ieeefp.h>
64295 #endif
64298 main ()
64300 isinf(0);
64302 return 0;
64304 _ACEOF
64305 rm -f conftest.$ac_objext
64306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64307 (eval $ac_compile) 2>conftest.er1
64308 ac_status=$?
64309 grep -v '^ *+' conftest.er1 >conftest.err
64310 rm -f conftest.er1
64311 cat conftest.err >&5
64312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64313 (exit $ac_status); } &&
64314 { ac_try='test -z "$ac_cxx_werror_flag"
64315 || test ! -s conftest.err'
64316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64317 (eval $ac_try) 2>&5
64318 ac_status=$?
64319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64320 (exit $ac_status); }; } &&
64321 { ac_try='test -s conftest.$ac_objext'
64322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64323 (eval $ac_try) 2>&5
64324 ac_status=$?
64325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64326 (exit $ac_status); }; }; then
64327 glibcxx_cv_func_isinf_use=yes
64328 else
64329 echo "$as_me: failed program was:" >&5
64330 sed 's/^/| /' conftest.$ac_ext >&5
64332 glibcxx_cv_func_isinf_use=no
64334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64335 ac_ext=c
64336 ac_cpp='$CPP $CPPFLAGS'
64337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64346 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64348 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64350 for ac_func in isinf
64352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64353 echo "$as_me:$LINENO: checking for $ac_func" >&5
64354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64355 if eval "test \"\${$as_ac_var+set}\" = set"; then
64356 echo $ECHO_N "(cached) $ECHO_C" >&6
64357 else
64358 if test x$gcc_no_link = xyes; then
64359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64361 { (exit 1); exit 1; }; }
64363 cat >conftest.$ac_ext <<_ACEOF
64364 /* confdefs.h. */
64365 _ACEOF
64366 cat confdefs.h >>conftest.$ac_ext
64367 cat >>conftest.$ac_ext <<_ACEOF
64368 /* end confdefs.h. */
64369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64371 #define $ac_func innocuous_$ac_func
64373 /* System header to define __stub macros and hopefully few prototypes,
64374 which can conflict with char $ac_func (); below.
64375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64376 <limits.h> exists even on freestanding compilers. */
64378 #ifdef __STDC__
64379 # include <limits.h>
64380 #else
64381 # include <assert.h>
64382 #endif
64384 #undef $ac_func
64386 /* Override any gcc2 internal prototype to avoid an error. */
64387 #ifdef __cplusplus
64388 extern "C"
64390 #endif
64391 /* We use char because int might match the return type of a gcc2
64392 builtin and then its argument prototype would still apply. */
64393 char $ac_func ();
64394 /* The GNU C library defines this for functions which it implements
64395 to always fail with ENOSYS. Some functions are actually named
64396 something starting with __ and the normal name is an alias. */
64397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64398 choke me
64399 #else
64400 char (*f) () = $ac_func;
64401 #endif
64402 #ifdef __cplusplus
64404 #endif
64407 main ()
64409 return f != $ac_func;
64411 return 0;
64413 _ACEOF
64414 rm -f conftest.$ac_objext conftest$ac_exeext
64415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64416 (eval $ac_link) 2>conftest.er1
64417 ac_status=$?
64418 grep -v '^ *+' conftest.er1 >conftest.err
64419 rm -f conftest.er1
64420 cat conftest.err >&5
64421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64422 (exit $ac_status); } &&
64423 { ac_try='test -z "$ac_c_werror_flag"
64424 || test ! -s conftest.err'
64425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64426 (eval $ac_try) 2>&5
64427 ac_status=$?
64428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429 (exit $ac_status); }; } &&
64430 { ac_try='test -s conftest$ac_exeext'
64431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64432 (eval $ac_try) 2>&5
64433 ac_status=$?
64434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64435 (exit $ac_status); }; }; then
64436 eval "$as_ac_var=yes"
64437 else
64438 echo "$as_me: failed program was:" >&5
64439 sed 's/^/| /' conftest.$ac_ext >&5
64441 eval "$as_ac_var=no"
64443 rm -f conftest.err conftest.$ac_objext \
64444 conftest$ac_exeext conftest.$ac_ext
64446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64448 if test `eval echo '${'$as_ac_var'}'` = yes; then
64449 cat >>confdefs.h <<_ACEOF
64450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64451 _ACEOF
64454 done
64456 else
64458 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64459 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64460 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64461 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64462 echo $ECHO_N "(cached) $ECHO_C" >&6
64463 else
64467 ac_ext=cc
64468 ac_cpp='$CXXCPP $CPPFLAGS'
64469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64473 cat >conftest.$ac_ext <<_ACEOF
64474 /* confdefs.h. */
64475 _ACEOF
64476 cat confdefs.h >>conftest.$ac_ext
64477 cat >>conftest.$ac_ext <<_ACEOF
64478 /* end confdefs.h. */
64479 #include <math.h>
64480 #ifdef HAVE_IEEEFP_H
64481 #include <ieeefp.h>
64482 #endif
64485 main ()
64487 _isinf(0);
64489 return 0;
64491 _ACEOF
64492 rm -f conftest.$ac_objext
64493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64494 (eval $ac_compile) 2>conftest.er1
64495 ac_status=$?
64496 grep -v '^ *+' conftest.er1 >conftest.err
64497 rm -f conftest.er1
64498 cat conftest.err >&5
64499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64500 (exit $ac_status); } &&
64501 { ac_try='test -z "$ac_cxx_werror_flag"
64502 || test ! -s conftest.err'
64503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64504 (eval $ac_try) 2>&5
64505 ac_status=$?
64506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64507 (exit $ac_status); }; } &&
64508 { ac_try='test -s conftest.$ac_objext'
64509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64510 (eval $ac_try) 2>&5
64511 ac_status=$?
64512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64513 (exit $ac_status); }; }; then
64514 glibcxx_cv_func__isinf_use=yes
64515 else
64516 echo "$as_me: failed program was:" >&5
64517 sed 's/^/| /' conftest.$ac_ext >&5
64519 glibcxx_cv_func__isinf_use=no
64521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64522 ac_ext=c
64523 ac_cpp='$CPP $CPPFLAGS'
64524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64533 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64535 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64537 for ac_func in _isinf
64539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64540 echo "$as_me:$LINENO: checking for $ac_func" >&5
64541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64542 if eval "test \"\${$as_ac_var+set}\" = set"; then
64543 echo $ECHO_N "(cached) $ECHO_C" >&6
64544 else
64545 if test x$gcc_no_link = xyes; then
64546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64548 { (exit 1); exit 1; }; }
64550 cat >conftest.$ac_ext <<_ACEOF
64551 /* confdefs.h. */
64552 _ACEOF
64553 cat confdefs.h >>conftest.$ac_ext
64554 cat >>conftest.$ac_ext <<_ACEOF
64555 /* end confdefs.h. */
64556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64558 #define $ac_func innocuous_$ac_func
64560 /* System header to define __stub macros and hopefully few prototypes,
64561 which can conflict with char $ac_func (); below.
64562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64563 <limits.h> exists even on freestanding compilers. */
64565 #ifdef __STDC__
64566 # include <limits.h>
64567 #else
64568 # include <assert.h>
64569 #endif
64571 #undef $ac_func
64573 /* Override any gcc2 internal prototype to avoid an error. */
64574 #ifdef __cplusplus
64575 extern "C"
64577 #endif
64578 /* We use char because int might match the return type of a gcc2
64579 builtin and then its argument prototype would still apply. */
64580 char $ac_func ();
64581 /* The GNU C library defines this for functions which it implements
64582 to always fail with ENOSYS. Some functions are actually named
64583 something starting with __ and the normal name is an alias. */
64584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64585 choke me
64586 #else
64587 char (*f) () = $ac_func;
64588 #endif
64589 #ifdef __cplusplus
64591 #endif
64594 main ()
64596 return f != $ac_func;
64598 return 0;
64600 _ACEOF
64601 rm -f conftest.$ac_objext conftest$ac_exeext
64602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64603 (eval $ac_link) 2>conftest.er1
64604 ac_status=$?
64605 grep -v '^ *+' conftest.er1 >conftest.err
64606 rm -f conftest.er1
64607 cat conftest.err >&5
64608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64609 (exit $ac_status); } &&
64610 { ac_try='test -z "$ac_c_werror_flag"
64611 || test ! -s conftest.err'
64612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64613 (eval $ac_try) 2>&5
64614 ac_status=$?
64615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64616 (exit $ac_status); }; } &&
64617 { ac_try='test -s conftest$ac_exeext'
64618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64619 (eval $ac_try) 2>&5
64620 ac_status=$?
64621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64622 (exit $ac_status); }; }; then
64623 eval "$as_ac_var=yes"
64624 else
64625 echo "$as_me: failed program was:" >&5
64626 sed 's/^/| /' conftest.$ac_ext >&5
64628 eval "$as_ac_var=no"
64630 rm -f conftest.err conftest.$ac_objext \
64631 conftest$ac_exeext conftest.$ac_ext
64633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64635 if test `eval echo '${'$as_ac_var'}'` = yes; then
64636 cat >>confdefs.h <<_ACEOF
64637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64638 _ACEOF
64641 done
64651 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64652 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64653 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64654 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64655 echo $ECHO_N "(cached) $ECHO_C" >&6
64656 else
64660 ac_ext=cc
64661 ac_cpp='$CXXCPP $CPPFLAGS'
64662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64666 cat >conftest.$ac_ext <<_ACEOF
64667 /* confdefs.h. */
64668 _ACEOF
64669 cat confdefs.h >>conftest.$ac_ext
64670 cat >>conftest.$ac_ext <<_ACEOF
64671 /* end confdefs.h. */
64672 #include <math.h>
64673 #ifdef HAVE_IEEEFP_H
64674 #include <ieeefp.h>
64675 #endif
64678 main ()
64680 isnan(0);
64682 return 0;
64684 _ACEOF
64685 rm -f conftest.$ac_objext
64686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64687 (eval $ac_compile) 2>conftest.er1
64688 ac_status=$?
64689 grep -v '^ *+' conftest.er1 >conftest.err
64690 rm -f conftest.er1
64691 cat conftest.err >&5
64692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64693 (exit $ac_status); } &&
64694 { ac_try='test -z "$ac_cxx_werror_flag"
64695 || test ! -s conftest.err'
64696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64697 (eval $ac_try) 2>&5
64698 ac_status=$?
64699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64700 (exit $ac_status); }; } &&
64701 { ac_try='test -s conftest.$ac_objext'
64702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64703 (eval $ac_try) 2>&5
64704 ac_status=$?
64705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64706 (exit $ac_status); }; }; then
64707 glibcxx_cv_func_isnan_use=yes
64708 else
64709 echo "$as_me: failed program was:" >&5
64710 sed 's/^/| /' conftest.$ac_ext >&5
64712 glibcxx_cv_func_isnan_use=no
64714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64715 ac_ext=c
64716 ac_cpp='$CPP $CPPFLAGS'
64717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64726 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64728 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64730 for ac_func in isnan
64732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64733 echo "$as_me:$LINENO: checking for $ac_func" >&5
64734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64735 if eval "test \"\${$as_ac_var+set}\" = set"; then
64736 echo $ECHO_N "(cached) $ECHO_C" >&6
64737 else
64738 if test x$gcc_no_link = xyes; then
64739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64741 { (exit 1); exit 1; }; }
64743 cat >conftest.$ac_ext <<_ACEOF
64744 /* confdefs.h. */
64745 _ACEOF
64746 cat confdefs.h >>conftest.$ac_ext
64747 cat >>conftest.$ac_ext <<_ACEOF
64748 /* end confdefs.h. */
64749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64751 #define $ac_func innocuous_$ac_func
64753 /* System header to define __stub macros and hopefully few prototypes,
64754 which can conflict with char $ac_func (); below.
64755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64756 <limits.h> exists even on freestanding compilers. */
64758 #ifdef __STDC__
64759 # include <limits.h>
64760 #else
64761 # include <assert.h>
64762 #endif
64764 #undef $ac_func
64766 /* Override any gcc2 internal prototype to avoid an error. */
64767 #ifdef __cplusplus
64768 extern "C"
64770 #endif
64771 /* We use char because int might match the return type of a gcc2
64772 builtin and then its argument prototype would still apply. */
64773 char $ac_func ();
64774 /* The GNU C library defines this for functions which it implements
64775 to always fail with ENOSYS. Some functions are actually named
64776 something starting with __ and the normal name is an alias. */
64777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64778 choke me
64779 #else
64780 char (*f) () = $ac_func;
64781 #endif
64782 #ifdef __cplusplus
64784 #endif
64787 main ()
64789 return f != $ac_func;
64791 return 0;
64793 _ACEOF
64794 rm -f conftest.$ac_objext conftest$ac_exeext
64795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64796 (eval $ac_link) 2>conftest.er1
64797 ac_status=$?
64798 grep -v '^ *+' conftest.er1 >conftest.err
64799 rm -f conftest.er1
64800 cat conftest.err >&5
64801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64802 (exit $ac_status); } &&
64803 { ac_try='test -z "$ac_c_werror_flag"
64804 || test ! -s conftest.err'
64805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64806 (eval $ac_try) 2>&5
64807 ac_status=$?
64808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64809 (exit $ac_status); }; } &&
64810 { ac_try='test -s conftest$ac_exeext'
64811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64812 (eval $ac_try) 2>&5
64813 ac_status=$?
64814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64815 (exit $ac_status); }; }; then
64816 eval "$as_ac_var=yes"
64817 else
64818 echo "$as_me: failed program was:" >&5
64819 sed 's/^/| /' conftest.$ac_ext >&5
64821 eval "$as_ac_var=no"
64823 rm -f conftest.err conftest.$ac_objext \
64824 conftest$ac_exeext conftest.$ac_ext
64826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64828 if test `eval echo '${'$as_ac_var'}'` = yes; then
64829 cat >>confdefs.h <<_ACEOF
64830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64831 _ACEOF
64834 done
64836 else
64838 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64839 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64840 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64841 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64842 echo $ECHO_N "(cached) $ECHO_C" >&6
64843 else
64847 ac_ext=cc
64848 ac_cpp='$CXXCPP $CPPFLAGS'
64849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64853 cat >conftest.$ac_ext <<_ACEOF
64854 /* confdefs.h. */
64855 _ACEOF
64856 cat confdefs.h >>conftest.$ac_ext
64857 cat >>conftest.$ac_ext <<_ACEOF
64858 /* end confdefs.h. */
64859 #include <math.h>
64860 #ifdef HAVE_IEEEFP_H
64861 #include <ieeefp.h>
64862 #endif
64865 main ()
64867 _isnan(0);
64869 return 0;
64871 _ACEOF
64872 rm -f conftest.$ac_objext
64873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64874 (eval $ac_compile) 2>conftest.er1
64875 ac_status=$?
64876 grep -v '^ *+' conftest.er1 >conftest.err
64877 rm -f conftest.er1
64878 cat conftest.err >&5
64879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64880 (exit $ac_status); } &&
64881 { ac_try='test -z "$ac_cxx_werror_flag"
64882 || test ! -s conftest.err'
64883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64884 (eval $ac_try) 2>&5
64885 ac_status=$?
64886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64887 (exit $ac_status); }; } &&
64888 { ac_try='test -s conftest.$ac_objext'
64889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64890 (eval $ac_try) 2>&5
64891 ac_status=$?
64892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893 (exit $ac_status); }; }; then
64894 glibcxx_cv_func__isnan_use=yes
64895 else
64896 echo "$as_me: failed program was:" >&5
64897 sed 's/^/| /' conftest.$ac_ext >&5
64899 glibcxx_cv_func__isnan_use=no
64901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64902 ac_ext=c
64903 ac_cpp='$CPP $CPPFLAGS'
64904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64913 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64915 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64917 for ac_func in _isnan
64919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64920 echo "$as_me:$LINENO: checking for $ac_func" >&5
64921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64922 if eval "test \"\${$as_ac_var+set}\" = set"; then
64923 echo $ECHO_N "(cached) $ECHO_C" >&6
64924 else
64925 if test x$gcc_no_link = xyes; then
64926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64928 { (exit 1); exit 1; }; }
64930 cat >conftest.$ac_ext <<_ACEOF
64931 /* confdefs.h. */
64932 _ACEOF
64933 cat confdefs.h >>conftest.$ac_ext
64934 cat >>conftest.$ac_ext <<_ACEOF
64935 /* end confdefs.h. */
64936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64938 #define $ac_func innocuous_$ac_func
64940 /* System header to define __stub macros and hopefully few prototypes,
64941 which can conflict with char $ac_func (); below.
64942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64943 <limits.h> exists even on freestanding compilers. */
64945 #ifdef __STDC__
64946 # include <limits.h>
64947 #else
64948 # include <assert.h>
64949 #endif
64951 #undef $ac_func
64953 /* Override any gcc2 internal prototype to avoid an error. */
64954 #ifdef __cplusplus
64955 extern "C"
64957 #endif
64958 /* We use char because int might match the return type of a gcc2
64959 builtin and then its argument prototype would still apply. */
64960 char $ac_func ();
64961 /* The GNU C library defines this for functions which it implements
64962 to always fail with ENOSYS. Some functions are actually named
64963 something starting with __ and the normal name is an alias. */
64964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64965 choke me
64966 #else
64967 char (*f) () = $ac_func;
64968 #endif
64969 #ifdef __cplusplus
64971 #endif
64974 main ()
64976 return f != $ac_func;
64978 return 0;
64980 _ACEOF
64981 rm -f conftest.$ac_objext conftest$ac_exeext
64982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64983 (eval $ac_link) 2>conftest.er1
64984 ac_status=$?
64985 grep -v '^ *+' conftest.er1 >conftest.err
64986 rm -f conftest.er1
64987 cat conftest.err >&5
64988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64989 (exit $ac_status); } &&
64990 { ac_try='test -z "$ac_c_werror_flag"
64991 || test ! -s conftest.err'
64992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64993 (eval $ac_try) 2>&5
64994 ac_status=$?
64995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64996 (exit $ac_status); }; } &&
64997 { ac_try='test -s conftest$ac_exeext'
64998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64999 (eval $ac_try) 2>&5
65000 ac_status=$?
65001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65002 (exit $ac_status); }; }; then
65003 eval "$as_ac_var=yes"
65004 else
65005 echo "$as_me: failed program was:" >&5
65006 sed 's/^/| /' conftest.$ac_ext >&5
65008 eval "$as_ac_var=no"
65010 rm -f conftest.err conftest.$ac_objext \
65011 conftest$ac_exeext conftest.$ac_ext
65013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65015 if test `eval echo '${'$as_ac_var'}'` = yes; then
65016 cat >>confdefs.h <<_ACEOF
65017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65018 _ACEOF
65021 done
65031 echo "$as_me:$LINENO: checking for finite declaration" >&5
65032 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65033 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65034 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65035 echo $ECHO_N "(cached) $ECHO_C" >&6
65036 else
65040 ac_ext=cc
65041 ac_cpp='$CXXCPP $CPPFLAGS'
65042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65046 cat >conftest.$ac_ext <<_ACEOF
65047 /* confdefs.h. */
65048 _ACEOF
65049 cat confdefs.h >>conftest.$ac_ext
65050 cat >>conftest.$ac_ext <<_ACEOF
65051 /* end confdefs.h. */
65052 #include <math.h>
65053 #ifdef HAVE_IEEEFP_H
65054 #include <ieeefp.h>
65055 #endif
65058 main ()
65060 finite(0);
65062 return 0;
65064 _ACEOF
65065 rm -f conftest.$ac_objext
65066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65067 (eval $ac_compile) 2>conftest.er1
65068 ac_status=$?
65069 grep -v '^ *+' conftest.er1 >conftest.err
65070 rm -f conftest.er1
65071 cat conftest.err >&5
65072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65073 (exit $ac_status); } &&
65074 { ac_try='test -z "$ac_cxx_werror_flag"
65075 || test ! -s conftest.err'
65076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65077 (eval $ac_try) 2>&5
65078 ac_status=$?
65079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65080 (exit $ac_status); }; } &&
65081 { ac_try='test -s conftest.$ac_objext'
65082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65083 (eval $ac_try) 2>&5
65084 ac_status=$?
65085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086 (exit $ac_status); }; }; then
65087 glibcxx_cv_func_finite_use=yes
65088 else
65089 echo "$as_me: failed program was:" >&5
65090 sed 's/^/| /' conftest.$ac_ext >&5
65092 glibcxx_cv_func_finite_use=no
65094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65095 ac_ext=c
65096 ac_cpp='$CPP $CPPFLAGS'
65097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65106 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65108 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65110 for ac_func in finite
65112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65113 echo "$as_me:$LINENO: checking for $ac_func" >&5
65114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65115 if eval "test \"\${$as_ac_var+set}\" = set"; then
65116 echo $ECHO_N "(cached) $ECHO_C" >&6
65117 else
65118 if test x$gcc_no_link = xyes; then
65119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65121 { (exit 1); exit 1; }; }
65123 cat >conftest.$ac_ext <<_ACEOF
65124 /* confdefs.h. */
65125 _ACEOF
65126 cat confdefs.h >>conftest.$ac_ext
65127 cat >>conftest.$ac_ext <<_ACEOF
65128 /* end confdefs.h. */
65129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65131 #define $ac_func innocuous_$ac_func
65133 /* System header to define __stub macros and hopefully few prototypes,
65134 which can conflict with char $ac_func (); below.
65135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65136 <limits.h> exists even on freestanding compilers. */
65138 #ifdef __STDC__
65139 # include <limits.h>
65140 #else
65141 # include <assert.h>
65142 #endif
65144 #undef $ac_func
65146 /* Override any gcc2 internal prototype to avoid an error. */
65147 #ifdef __cplusplus
65148 extern "C"
65150 #endif
65151 /* We use char because int might match the return type of a gcc2
65152 builtin and then its argument prototype would still apply. */
65153 char $ac_func ();
65154 /* The GNU C library defines this for functions which it implements
65155 to always fail with ENOSYS. Some functions are actually named
65156 something starting with __ and the normal name is an alias. */
65157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65158 choke me
65159 #else
65160 char (*f) () = $ac_func;
65161 #endif
65162 #ifdef __cplusplus
65164 #endif
65167 main ()
65169 return f != $ac_func;
65171 return 0;
65173 _ACEOF
65174 rm -f conftest.$ac_objext conftest$ac_exeext
65175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65176 (eval $ac_link) 2>conftest.er1
65177 ac_status=$?
65178 grep -v '^ *+' conftest.er1 >conftest.err
65179 rm -f conftest.er1
65180 cat conftest.err >&5
65181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65182 (exit $ac_status); } &&
65183 { ac_try='test -z "$ac_c_werror_flag"
65184 || test ! -s conftest.err'
65185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65186 (eval $ac_try) 2>&5
65187 ac_status=$?
65188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65189 (exit $ac_status); }; } &&
65190 { ac_try='test -s conftest$ac_exeext'
65191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65192 (eval $ac_try) 2>&5
65193 ac_status=$?
65194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65195 (exit $ac_status); }; }; then
65196 eval "$as_ac_var=yes"
65197 else
65198 echo "$as_me: failed program was:" >&5
65199 sed 's/^/| /' conftest.$ac_ext >&5
65201 eval "$as_ac_var=no"
65203 rm -f conftest.err conftest.$ac_objext \
65204 conftest$ac_exeext conftest.$ac_ext
65206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65208 if test `eval echo '${'$as_ac_var'}'` = yes; then
65209 cat >>confdefs.h <<_ACEOF
65210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65211 _ACEOF
65214 done
65216 else
65218 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65219 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65220 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65221 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65222 echo $ECHO_N "(cached) $ECHO_C" >&6
65223 else
65227 ac_ext=cc
65228 ac_cpp='$CXXCPP $CPPFLAGS'
65229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65233 cat >conftest.$ac_ext <<_ACEOF
65234 /* confdefs.h. */
65235 _ACEOF
65236 cat confdefs.h >>conftest.$ac_ext
65237 cat >>conftest.$ac_ext <<_ACEOF
65238 /* end confdefs.h. */
65239 #include <math.h>
65240 #ifdef HAVE_IEEEFP_H
65241 #include <ieeefp.h>
65242 #endif
65245 main ()
65247 _finite(0);
65249 return 0;
65251 _ACEOF
65252 rm -f conftest.$ac_objext
65253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65254 (eval $ac_compile) 2>conftest.er1
65255 ac_status=$?
65256 grep -v '^ *+' conftest.er1 >conftest.err
65257 rm -f conftest.er1
65258 cat conftest.err >&5
65259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65260 (exit $ac_status); } &&
65261 { ac_try='test -z "$ac_cxx_werror_flag"
65262 || test ! -s conftest.err'
65263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65264 (eval $ac_try) 2>&5
65265 ac_status=$?
65266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65267 (exit $ac_status); }; } &&
65268 { ac_try='test -s conftest.$ac_objext'
65269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65270 (eval $ac_try) 2>&5
65271 ac_status=$?
65272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65273 (exit $ac_status); }; }; then
65274 glibcxx_cv_func__finite_use=yes
65275 else
65276 echo "$as_me: failed program was:" >&5
65277 sed 's/^/| /' conftest.$ac_ext >&5
65279 glibcxx_cv_func__finite_use=no
65281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65282 ac_ext=c
65283 ac_cpp='$CPP $CPPFLAGS'
65284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65293 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65295 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65297 for ac_func in _finite
65299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65300 echo "$as_me:$LINENO: checking for $ac_func" >&5
65301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65302 if eval "test \"\${$as_ac_var+set}\" = set"; then
65303 echo $ECHO_N "(cached) $ECHO_C" >&6
65304 else
65305 if test x$gcc_no_link = xyes; then
65306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65308 { (exit 1); exit 1; }; }
65310 cat >conftest.$ac_ext <<_ACEOF
65311 /* confdefs.h. */
65312 _ACEOF
65313 cat confdefs.h >>conftest.$ac_ext
65314 cat >>conftest.$ac_ext <<_ACEOF
65315 /* end confdefs.h. */
65316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65318 #define $ac_func innocuous_$ac_func
65320 /* System header to define __stub macros and hopefully few prototypes,
65321 which can conflict with char $ac_func (); below.
65322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65323 <limits.h> exists even on freestanding compilers. */
65325 #ifdef __STDC__
65326 # include <limits.h>
65327 #else
65328 # include <assert.h>
65329 #endif
65331 #undef $ac_func
65333 /* Override any gcc2 internal prototype to avoid an error. */
65334 #ifdef __cplusplus
65335 extern "C"
65337 #endif
65338 /* We use char because int might match the return type of a gcc2
65339 builtin and then its argument prototype would still apply. */
65340 char $ac_func ();
65341 /* The GNU C library defines this for functions which it implements
65342 to always fail with ENOSYS. Some functions are actually named
65343 something starting with __ and the normal name is an alias. */
65344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65345 choke me
65346 #else
65347 char (*f) () = $ac_func;
65348 #endif
65349 #ifdef __cplusplus
65351 #endif
65354 main ()
65356 return f != $ac_func;
65358 return 0;
65360 _ACEOF
65361 rm -f conftest.$ac_objext conftest$ac_exeext
65362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65363 (eval $ac_link) 2>conftest.er1
65364 ac_status=$?
65365 grep -v '^ *+' conftest.er1 >conftest.err
65366 rm -f conftest.er1
65367 cat conftest.err >&5
65368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65369 (exit $ac_status); } &&
65370 { ac_try='test -z "$ac_c_werror_flag"
65371 || test ! -s conftest.err'
65372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65373 (eval $ac_try) 2>&5
65374 ac_status=$?
65375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65376 (exit $ac_status); }; } &&
65377 { ac_try='test -s conftest$ac_exeext'
65378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65379 (eval $ac_try) 2>&5
65380 ac_status=$?
65381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65382 (exit $ac_status); }; }; then
65383 eval "$as_ac_var=yes"
65384 else
65385 echo "$as_me: failed program was:" >&5
65386 sed 's/^/| /' conftest.$ac_ext >&5
65388 eval "$as_ac_var=no"
65390 rm -f conftest.err conftest.$ac_objext \
65391 conftest$ac_exeext conftest.$ac_ext
65393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65395 if test `eval echo '${'$as_ac_var'}'` = yes; then
65396 cat >>confdefs.h <<_ACEOF
65397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65398 _ACEOF
65401 done
65411 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65412 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65413 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65414 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65415 echo $ECHO_N "(cached) $ECHO_C" >&6
65416 else
65420 ac_ext=cc
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65426 cat >conftest.$ac_ext <<_ACEOF
65427 /* confdefs.h. */
65428 _ACEOF
65429 cat confdefs.h >>conftest.$ac_ext
65430 cat >>conftest.$ac_ext <<_ACEOF
65431 /* end confdefs.h. */
65432 #include <math.h>
65434 main ()
65436 copysign(0, 0);
65438 return 0;
65440 _ACEOF
65441 rm -f conftest.$ac_objext
65442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65443 (eval $ac_compile) 2>conftest.er1
65444 ac_status=$?
65445 grep -v '^ *+' conftest.er1 >conftest.err
65446 rm -f conftest.er1
65447 cat conftest.err >&5
65448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65449 (exit $ac_status); } &&
65450 { ac_try='test -z "$ac_cxx_werror_flag"
65451 || test ! -s conftest.err'
65452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65453 (eval $ac_try) 2>&5
65454 ac_status=$?
65455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65456 (exit $ac_status); }; } &&
65457 { ac_try='test -s conftest.$ac_objext'
65458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65459 (eval $ac_try) 2>&5
65460 ac_status=$?
65461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462 (exit $ac_status); }; }; then
65463 glibcxx_cv_func_copysign_use=yes
65464 else
65465 echo "$as_me: failed program was:" >&5
65466 sed 's/^/| /' conftest.$ac_ext >&5
65468 glibcxx_cv_func_copysign_use=no
65470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65471 ac_ext=c
65472 ac_cpp='$CPP $CPPFLAGS'
65473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65482 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65484 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65486 for ac_func in copysign
65488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65489 echo "$as_me:$LINENO: checking for $ac_func" >&5
65490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65491 if eval "test \"\${$as_ac_var+set}\" = set"; then
65492 echo $ECHO_N "(cached) $ECHO_C" >&6
65493 else
65494 if test x$gcc_no_link = xyes; then
65495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65497 { (exit 1); exit 1; }; }
65499 cat >conftest.$ac_ext <<_ACEOF
65500 /* confdefs.h. */
65501 _ACEOF
65502 cat confdefs.h >>conftest.$ac_ext
65503 cat >>conftest.$ac_ext <<_ACEOF
65504 /* end confdefs.h. */
65505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65507 #define $ac_func innocuous_$ac_func
65509 /* System header to define __stub macros and hopefully few prototypes,
65510 which can conflict with char $ac_func (); below.
65511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65512 <limits.h> exists even on freestanding compilers. */
65514 #ifdef __STDC__
65515 # include <limits.h>
65516 #else
65517 # include <assert.h>
65518 #endif
65520 #undef $ac_func
65522 /* Override any gcc2 internal prototype to avoid an error. */
65523 #ifdef __cplusplus
65524 extern "C"
65526 #endif
65527 /* We use char because int might match the return type of a gcc2
65528 builtin and then its argument prototype would still apply. */
65529 char $ac_func ();
65530 /* The GNU C library defines this for functions which it implements
65531 to always fail with ENOSYS. Some functions are actually named
65532 something starting with __ and the normal name is an alias. */
65533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65534 choke me
65535 #else
65536 char (*f) () = $ac_func;
65537 #endif
65538 #ifdef __cplusplus
65540 #endif
65543 main ()
65545 return f != $ac_func;
65547 return 0;
65549 _ACEOF
65550 rm -f conftest.$ac_objext conftest$ac_exeext
65551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65552 (eval $ac_link) 2>conftest.er1
65553 ac_status=$?
65554 grep -v '^ *+' conftest.er1 >conftest.err
65555 rm -f conftest.er1
65556 cat conftest.err >&5
65557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558 (exit $ac_status); } &&
65559 { ac_try='test -z "$ac_c_werror_flag"
65560 || test ! -s conftest.err'
65561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65562 (eval $ac_try) 2>&5
65563 ac_status=$?
65564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65565 (exit $ac_status); }; } &&
65566 { ac_try='test -s conftest$ac_exeext'
65567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568 (eval $ac_try) 2>&5
65569 ac_status=$?
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); }; }; then
65572 eval "$as_ac_var=yes"
65573 else
65574 echo "$as_me: failed program was:" >&5
65575 sed 's/^/| /' conftest.$ac_ext >&5
65577 eval "$as_ac_var=no"
65579 rm -f conftest.err conftest.$ac_objext \
65580 conftest$ac_exeext conftest.$ac_ext
65582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65584 if test `eval echo '${'$as_ac_var'}'` = yes; then
65585 cat >>confdefs.h <<_ACEOF
65586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65587 _ACEOF
65590 done
65592 else
65594 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65595 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65596 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65597 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65598 echo $ECHO_N "(cached) $ECHO_C" >&6
65599 else
65603 ac_ext=cc
65604 ac_cpp='$CXXCPP $CPPFLAGS'
65605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65609 cat >conftest.$ac_ext <<_ACEOF
65610 /* confdefs.h. */
65611 _ACEOF
65612 cat confdefs.h >>conftest.$ac_ext
65613 cat >>conftest.$ac_ext <<_ACEOF
65614 /* end confdefs.h. */
65615 #include <math.h>
65617 main ()
65619 _copysign(0, 0);
65621 return 0;
65623 _ACEOF
65624 rm -f conftest.$ac_objext
65625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65626 (eval $ac_compile) 2>conftest.er1
65627 ac_status=$?
65628 grep -v '^ *+' conftest.er1 >conftest.err
65629 rm -f conftest.er1
65630 cat conftest.err >&5
65631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65632 (exit $ac_status); } &&
65633 { ac_try='test -z "$ac_cxx_werror_flag"
65634 || test ! -s conftest.err'
65635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65636 (eval $ac_try) 2>&5
65637 ac_status=$?
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); }; } &&
65640 { ac_try='test -s conftest.$ac_objext'
65641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65642 (eval $ac_try) 2>&5
65643 ac_status=$?
65644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65645 (exit $ac_status); }; }; then
65646 glibcxx_cv_func__copysign_use=yes
65647 else
65648 echo "$as_me: failed program was:" >&5
65649 sed 's/^/| /' conftest.$ac_ext >&5
65651 glibcxx_cv_func__copysign_use=no
65653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65654 ac_ext=c
65655 ac_cpp='$CPP $CPPFLAGS'
65656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65665 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65667 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65669 for ac_func in _copysign
65671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65672 echo "$as_me:$LINENO: checking for $ac_func" >&5
65673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65674 if eval "test \"\${$as_ac_var+set}\" = set"; then
65675 echo $ECHO_N "(cached) $ECHO_C" >&6
65676 else
65677 if test x$gcc_no_link = xyes; then
65678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65680 { (exit 1); exit 1; }; }
65682 cat >conftest.$ac_ext <<_ACEOF
65683 /* confdefs.h. */
65684 _ACEOF
65685 cat confdefs.h >>conftest.$ac_ext
65686 cat >>conftest.$ac_ext <<_ACEOF
65687 /* end confdefs.h. */
65688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65690 #define $ac_func innocuous_$ac_func
65692 /* System header to define __stub macros and hopefully few prototypes,
65693 which can conflict with char $ac_func (); below.
65694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65695 <limits.h> exists even on freestanding compilers. */
65697 #ifdef __STDC__
65698 # include <limits.h>
65699 #else
65700 # include <assert.h>
65701 #endif
65703 #undef $ac_func
65705 /* Override any gcc2 internal prototype to avoid an error. */
65706 #ifdef __cplusplus
65707 extern "C"
65709 #endif
65710 /* We use char because int might match the return type of a gcc2
65711 builtin and then its argument prototype would still apply. */
65712 char $ac_func ();
65713 /* The GNU C library defines this for functions which it implements
65714 to always fail with ENOSYS. Some functions are actually named
65715 something starting with __ and the normal name is an alias. */
65716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65717 choke me
65718 #else
65719 char (*f) () = $ac_func;
65720 #endif
65721 #ifdef __cplusplus
65723 #endif
65726 main ()
65728 return f != $ac_func;
65730 return 0;
65732 _ACEOF
65733 rm -f conftest.$ac_objext conftest$ac_exeext
65734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65735 (eval $ac_link) 2>conftest.er1
65736 ac_status=$?
65737 grep -v '^ *+' conftest.er1 >conftest.err
65738 rm -f conftest.er1
65739 cat conftest.err >&5
65740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741 (exit $ac_status); } &&
65742 { ac_try='test -z "$ac_c_werror_flag"
65743 || test ! -s conftest.err'
65744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65745 (eval $ac_try) 2>&5
65746 ac_status=$?
65747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748 (exit $ac_status); }; } &&
65749 { ac_try='test -s conftest$ac_exeext'
65750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65751 (eval $ac_try) 2>&5
65752 ac_status=$?
65753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754 (exit $ac_status); }; }; then
65755 eval "$as_ac_var=yes"
65756 else
65757 echo "$as_me: failed program was:" >&5
65758 sed 's/^/| /' conftest.$ac_ext >&5
65760 eval "$as_ac_var=no"
65762 rm -f conftest.err conftest.$ac_objext \
65763 conftest$ac_exeext conftest.$ac_ext
65765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65767 if test `eval echo '${'$as_ac_var'}'` = yes; then
65768 cat >>confdefs.h <<_ACEOF
65769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65770 _ACEOF
65773 done
65783 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65784 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65785 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65786 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65787 echo $ECHO_N "(cached) $ECHO_C" >&6
65788 else
65792 ac_ext=cc
65793 ac_cpp='$CXXCPP $CPPFLAGS'
65794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65798 cat >conftest.$ac_ext <<_ACEOF
65799 /* confdefs.h. */
65800 _ACEOF
65801 cat confdefs.h >>conftest.$ac_ext
65802 cat >>conftest.$ac_ext <<_ACEOF
65803 /* end confdefs.h. */
65804 #include <math.h>
65806 main ()
65808 sincos(0, 0, 0);
65810 return 0;
65812 _ACEOF
65813 rm -f conftest.$ac_objext
65814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65815 (eval $ac_compile) 2>conftest.er1
65816 ac_status=$?
65817 grep -v '^ *+' conftest.er1 >conftest.err
65818 rm -f conftest.er1
65819 cat conftest.err >&5
65820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65821 (exit $ac_status); } &&
65822 { ac_try='test -z "$ac_cxx_werror_flag"
65823 || test ! -s conftest.err'
65824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65825 (eval $ac_try) 2>&5
65826 ac_status=$?
65827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65828 (exit $ac_status); }; } &&
65829 { ac_try='test -s conftest.$ac_objext'
65830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65831 (eval $ac_try) 2>&5
65832 ac_status=$?
65833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65834 (exit $ac_status); }; }; then
65835 glibcxx_cv_func_sincos_use=yes
65836 else
65837 echo "$as_me: failed program was:" >&5
65838 sed 's/^/| /' conftest.$ac_ext >&5
65840 glibcxx_cv_func_sincos_use=no
65842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65843 ac_ext=c
65844 ac_cpp='$CPP $CPPFLAGS'
65845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65854 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65856 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65858 for ac_func in sincos
65860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65861 echo "$as_me:$LINENO: checking for $ac_func" >&5
65862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65863 if eval "test \"\${$as_ac_var+set}\" = set"; then
65864 echo $ECHO_N "(cached) $ECHO_C" >&6
65865 else
65866 if test x$gcc_no_link = xyes; then
65867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65869 { (exit 1); exit 1; }; }
65871 cat >conftest.$ac_ext <<_ACEOF
65872 /* confdefs.h. */
65873 _ACEOF
65874 cat confdefs.h >>conftest.$ac_ext
65875 cat >>conftest.$ac_ext <<_ACEOF
65876 /* end confdefs.h. */
65877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65879 #define $ac_func innocuous_$ac_func
65881 /* System header to define __stub macros and hopefully few prototypes,
65882 which can conflict with char $ac_func (); below.
65883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65884 <limits.h> exists even on freestanding compilers. */
65886 #ifdef __STDC__
65887 # include <limits.h>
65888 #else
65889 # include <assert.h>
65890 #endif
65892 #undef $ac_func
65894 /* Override any gcc2 internal prototype to avoid an error. */
65895 #ifdef __cplusplus
65896 extern "C"
65898 #endif
65899 /* We use char because int might match the return type of a gcc2
65900 builtin and then its argument prototype would still apply. */
65901 char $ac_func ();
65902 /* The GNU C library defines this for functions which it implements
65903 to always fail with ENOSYS. Some functions are actually named
65904 something starting with __ and the normal name is an alias. */
65905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65906 choke me
65907 #else
65908 char (*f) () = $ac_func;
65909 #endif
65910 #ifdef __cplusplus
65912 #endif
65915 main ()
65917 return f != $ac_func;
65919 return 0;
65921 _ACEOF
65922 rm -f conftest.$ac_objext conftest$ac_exeext
65923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65924 (eval $ac_link) 2>conftest.er1
65925 ac_status=$?
65926 grep -v '^ *+' conftest.er1 >conftest.err
65927 rm -f conftest.er1
65928 cat conftest.err >&5
65929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65930 (exit $ac_status); } &&
65931 { ac_try='test -z "$ac_c_werror_flag"
65932 || test ! -s conftest.err'
65933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934 (eval $ac_try) 2>&5
65935 ac_status=$?
65936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937 (exit $ac_status); }; } &&
65938 { ac_try='test -s conftest$ac_exeext'
65939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65940 (eval $ac_try) 2>&5
65941 ac_status=$?
65942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943 (exit $ac_status); }; }; then
65944 eval "$as_ac_var=yes"
65945 else
65946 echo "$as_me: failed program was:" >&5
65947 sed 's/^/| /' conftest.$ac_ext >&5
65949 eval "$as_ac_var=no"
65951 rm -f conftest.err conftest.$ac_objext \
65952 conftest$ac_exeext conftest.$ac_ext
65954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65956 if test `eval echo '${'$as_ac_var'}'` = yes; then
65957 cat >>confdefs.h <<_ACEOF
65958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65959 _ACEOF
65962 done
65964 else
65966 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65967 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65968 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65969 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65970 echo $ECHO_N "(cached) $ECHO_C" >&6
65971 else
65975 ac_ext=cc
65976 ac_cpp='$CXXCPP $CPPFLAGS'
65977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65981 cat >conftest.$ac_ext <<_ACEOF
65982 /* confdefs.h. */
65983 _ACEOF
65984 cat confdefs.h >>conftest.$ac_ext
65985 cat >>conftest.$ac_ext <<_ACEOF
65986 /* end confdefs.h. */
65987 #include <math.h>
65989 main ()
65991 _sincos(0, 0, 0);
65993 return 0;
65995 _ACEOF
65996 rm -f conftest.$ac_objext
65997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65998 (eval $ac_compile) 2>conftest.er1
65999 ac_status=$?
66000 grep -v '^ *+' conftest.er1 >conftest.err
66001 rm -f conftest.er1
66002 cat conftest.err >&5
66003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004 (exit $ac_status); } &&
66005 { ac_try='test -z "$ac_cxx_werror_flag"
66006 || test ! -s conftest.err'
66007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66008 (eval $ac_try) 2>&5
66009 ac_status=$?
66010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66011 (exit $ac_status); }; } &&
66012 { ac_try='test -s conftest.$ac_objext'
66013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66014 (eval $ac_try) 2>&5
66015 ac_status=$?
66016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66017 (exit $ac_status); }; }; then
66018 glibcxx_cv_func__sincos_use=yes
66019 else
66020 echo "$as_me: failed program was:" >&5
66021 sed 's/^/| /' conftest.$ac_ext >&5
66023 glibcxx_cv_func__sincos_use=no
66025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66026 ac_ext=c
66027 ac_cpp='$CPP $CPPFLAGS'
66028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66037 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66039 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66041 for ac_func in _sincos
66043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66044 echo "$as_me:$LINENO: checking for $ac_func" >&5
66045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66046 if eval "test \"\${$as_ac_var+set}\" = set"; then
66047 echo $ECHO_N "(cached) $ECHO_C" >&6
66048 else
66049 if test x$gcc_no_link = xyes; then
66050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66052 { (exit 1); exit 1; }; }
66054 cat >conftest.$ac_ext <<_ACEOF
66055 /* confdefs.h. */
66056 _ACEOF
66057 cat confdefs.h >>conftest.$ac_ext
66058 cat >>conftest.$ac_ext <<_ACEOF
66059 /* end confdefs.h. */
66060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66062 #define $ac_func innocuous_$ac_func
66064 /* System header to define __stub macros and hopefully few prototypes,
66065 which can conflict with char $ac_func (); below.
66066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66067 <limits.h> exists even on freestanding compilers. */
66069 #ifdef __STDC__
66070 # include <limits.h>
66071 #else
66072 # include <assert.h>
66073 #endif
66075 #undef $ac_func
66077 /* Override any gcc2 internal prototype to avoid an error. */
66078 #ifdef __cplusplus
66079 extern "C"
66081 #endif
66082 /* We use char because int might match the return type of a gcc2
66083 builtin and then its argument prototype would still apply. */
66084 char $ac_func ();
66085 /* The GNU C library defines this for functions which it implements
66086 to always fail with ENOSYS. Some functions are actually named
66087 something starting with __ and the normal name is an alias. */
66088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66089 choke me
66090 #else
66091 char (*f) () = $ac_func;
66092 #endif
66093 #ifdef __cplusplus
66095 #endif
66098 main ()
66100 return f != $ac_func;
66102 return 0;
66104 _ACEOF
66105 rm -f conftest.$ac_objext conftest$ac_exeext
66106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66107 (eval $ac_link) 2>conftest.er1
66108 ac_status=$?
66109 grep -v '^ *+' conftest.er1 >conftest.err
66110 rm -f conftest.er1
66111 cat conftest.err >&5
66112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113 (exit $ac_status); } &&
66114 { ac_try='test -z "$ac_c_werror_flag"
66115 || test ! -s conftest.err'
66116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66117 (eval $ac_try) 2>&5
66118 ac_status=$?
66119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66120 (exit $ac_status); }; } &&
66121 { ac_try='test -s conftest$ac_exeext'
66122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66123 (eval $ac_try) 2>&5
66124 ac_status=$?
66125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66126 (exit $ac_status); }; }; then
66127 eval "$as_ac_var=yes"
66128 else
66129 echo "$as_me: failed program was:" >&5
66130 sed 's/^/| /' conftest.$ac_ext >&5
66132 eval "$as_ac_var=no"
66134 rm -f conftest.err conftest.$ac_objext \
66135 conftest$ac_exeext conftest.$ac_ext
66137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66139 if test `eval echo '${'$as_ac_var'}'` = yes; then
66140 cat >>confdefs.h <<_ACEOF
66141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66142 _ACEOF
66145 done
66155 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66156 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66157 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66158 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66159 echo $ECHO_N "(cached) $ECHO_C" >&6
66160 else
66164 ac_ext=cc
66165 ac_cpp='$CXXCPP $CPPFLAGS'
66166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66170 cat >conftest.$ac_ext <<_ACEOF
66171 /* confdefs.h. */
66172 _ACEOF
66173 cat confdefs.h >>conftest.$ac_ext
66174 cat >>conftest.$ac_ext <<_ACEOF
66175 /* end confdefs.h. */
66176 #include <math.h>
66177 #ifdef HAVE_IEEEFP_H
66178 #include <ieeefp.h>
66179 #endif
66182 main ()
66184 fpclass(0);
66186 return 0;
66188 _ACEOF
66189 rm -f conftest.$ac_objext
66190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66191 (eval $ac_compile) 2>conftest.er1
66192 ac_status=$?
66193 grep -v '^ *+' conftest.er1 >conftest.err
66194 rm -f conftest.er1
66195 cat conftest.err >&5
66196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197 (exit $ac_status); } &&
66198 { ac_try='test -z "$ac_cxx_werror_flag"
66199 || test ! -s conftest.err'
66200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66201 (eval $ac_try) 2>&5
66202 ac_status=$?
66203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66204 (exit $ac_status); }; } &&
66205 { ac_try='test -s conftest.$ac_objext'
66206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66207 (eval $ac_try) 2>&5
66208 ac_status=$?
66209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66210 (exit $ac_status); }; }; then
66211 glibcxx_cv_func_fpclass_use=yes
66212 else
66213 echo "$as_me: failed program was:" >&5
66214 sed 's/^/| /' conftest.$ac_ext >&5
66216 glibcxx_cv_func_fpclass_use=no
66218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66219 ac_ext=c
66220 ac_cpp='$CPP $CPPFLAGS'
66221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66229 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66230 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66232 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66234 for ac_func in fpclass
66236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66237 echo "$as_me:$LINENO: checking for $ac_func" >&5
66238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66239 if eval "test \"\${$as_ac_var+set}\" = set"; then
66240 echo $ECHO_N "(cached) $ECHO_C" >&6
66241 else
66242 if test x$gcc_no_link = xyes; then
66243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66245 { (exit 1); exit 1; }; }
66247 cat >conftest.$ac_ext <<_ACEOF
66248 /* confdefs.h. */
66249 _ACEOF
66250 cat confdefs.h >>conftest.$ac_ext
66251 cat >>conftest.$ac_ext <<_ACEOF
66252 /* end confdefs.h. */
66253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66255 #define $ac_func innocuous_$ac_func
66257 /* System header to define __stub macros and hopefully few prototypes,
66258 which can conflict with char $ac_func (); below.
66259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66260 <limits.h> exists even on freestanding compilers. */
66262 #ifdef __STDC__
66263 # include <limits.h>
66264 #else
66265 # include <assert.h>
66266 #endif
66268 #undef $ac_func
66270 /* Override any gcc2 internal prototype to avoid an error. */
66271 #ifdef __cplusplus
66272 extern "C"
66274 #endif
66275 /* We use char because int might match the return type of a gcc2
66276 builtin and then its argument prototype would still apply. */
66277 char $ac_func ();
66278 /* The GNU C library defines this for functions which it implements
66279 to always fail with ENOSYS. Some functions are actually named
66280 something starting with __ and the normal name is an alias. */
66281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66282 choke me
66283 #else
66284 char (*f) () = $ac_func;
66285 #endif
66286 #ifdef __cplusplus
66288 #endif
66291 main ()
66293 return f != $ac_func;
66295 return 0;
66297 _ACEOF
66298 rm -f conftest.$ac_objext conftest$ac_exeext
66299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66300 (eval $ac_link) 2>conftest.er1
66301 ac_status=$?
66302 grep -v '^ *+' conftest.er1 >conftest.err
66303 rm -f conftest.er1
66304 cat conftest.err >&5
66305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306 (exit $ac_status); } &&
66307 { ac_try='test -z "$ac_c_werror_flag"
66308 || test ! -s conftest.err'
66309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66310 (eval $ac_try) 2>&5
66311 ac_status=$?
66312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66313 (exit $ac_status); }; } &&
66314 { ac_try='test -s conftest$ac_exeext'
66315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66316 (eval $ac_try) 2>&5
66317 ac_status=$?
66318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66319 (exit $ac_status); }; }; then
66320 eval "$as_ac_var=yes"
66321 else
66322 echo "$as_me: failed program was:" >&5
66323 sed 's/^/| /' conftest.$ac_ext >&5
66325 eval "$as_ac_var=no"
66327 rm -f conftest.err conftest.$ac_objext \
66328 conftest$ac_exeext conftest.$ac_ext
66330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66332 if test `eval echo '${'$as_ac_var'}'` = yes; then
66333 cat >>confdefs.h <<_ACEOF
66334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66335 _ACEOF
66338 done
66340 else
66342 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66343 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66344 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66345 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66346 echo $ECHO_N "(cached) $ECHO_C" >&6
66347 else
66351 ac_ext=cc
66352 ac_cpp='$CXXCPP $CPPFLAGS'
66353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66357 cat >conftest.$ac_ext <<_ACEOF
66358 /* confdefs.h. */
66359 _ACEOF
66360 cat confdefs.h >>conftest.$ac_ext
66361 cat >>conftest.$ac_ext <<_ACEOF
66362 /* end confdefs.h. */
66363 #include <math.h>
66364 #ifdef HAVE_IEEEFP_H
66365 #include <ieeefp.h>
66366 #endif
66369 main ()
66371 _fpclass(0);
66373 return 0;
66375 _ACEOF
66376 rm -f conftest.$ac_objext
66377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66378 (eval $ac_compile) 2>conftest.er1
66379 ac_status=$?
66380 grep -v '^ *+' conftest.er1 >conftest.err
66381 rm -f conftest.er1
66382 cat conftest.err >&5
66383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66384 (exit $ac_status); } &&
66385 { ac_try='test -z "$ac_cxx_werror_flag"
66386 || test ! -s conftest.err'
66387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388 (eval $ac_try) 2>&5
66389 ac_status=$?
66390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391 (exit $ac_status); }; } &&
66392 { ac_try='test -s conftest.$ac_objext'
66393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66394 (eval $ac_try) 2>&5
66395 ac_status=$?
66396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397 (exit $ac_status); }; }; then
66398 glibcxx_cv_func__fpclass_use=yes
66399 else
66400 echo "$as_me: failed program was:" >&5
66401 sed 's/^/| /' conftest.$ac_ext >&5
66403 glibcxx_cv_func__fpclass_use=no
66405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66406 ac_ext=c
66407 ac_cpp='$CPP $CPPFLAGS'
66408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66417 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66419 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66421 for ac_func in _fpclass
66423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66424 echo "$as_me:$LINENO: checking for $ac_func" >&5
66425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66426 if eval "test \"\${$as_ac_var+set}\" = set"; then
66427 echo $ECHO_N "(cached) $ECHO_C" >&6
66428 else
66429 if test x$gcc_no_link = xyes; then
66430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66432 { (exit 1); exit 1; }; }
66434 cat >conftest.$ac_ext <<_ACEOF
66435 /* confdefs.h. */
66436 _ACEOF
66437 cat confdefs.h >>conftest.$ac_ext
66438 cat >>conftest.$ac_ext <<_ACEOF
66439 /* end confdefs.h. */
66440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66442 #define $ac_func innocuous_$ac_func
66444 /* System header to define __stub macros and hopefully few prototypes,
66445 which can conflict with char $ac_func (); below.
66446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66447 <limits.h> exists even on freestanding compilers. */
66449 #ifdef __STDC__
66450 # include <limits.h>
66451 #else
66452 # include <assert.h>
66453 #endif
66455 #undef $ac_func
66457 /* Override any gcc2 internal prototype to avoid an error. */
66458 #ifdef __cplusplus
66459 extern "C"
66461 #endif
66462 /* We use char because int might match the return type of a gcc2
66463 builtin and then its argument prototype would still apply. */
66464 char $ac_func ();
66465 /* The GNU C library defines this for functions which it implements
66466 to always fail with ENOSYS. Some functions are actually named
66467 something starting with __ and the normal name is an alias. */
66468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66469 choke me
66470 #else
66471 char (*f) () = $ac_func;
66472 #endif
66473 #ifdef __cplusplus
66475 #endif
66478 main ()
66480 return f != $ac_func;
66482 return 0;
66484 _ACEOF
66485 rm -f conftest.$ac_objext conftest$ac_exeext
66486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66487 (eval $ac_link) 2>conftest.er1
66488 ac_status=$?
66489 grep -v '^ *+' conftest.er1 >conftest.err
66490 rm -f conftest.er1
66491 cat conftest.err >&5
66492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66493 (exit $ac_status); } &&
66494 { ac_try='test -z "$ac_c_werror_flag"
66495 || test ! -s conftest.err'
66496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66497 (eval $ac_try) 2>&5
66498 ac_status=$?
66499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66500 (exit $ac_status); }; } &&
66501 { ac_try='test -s conftest$ac_exeext'
66502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66503 (eval $ac_try) 2>&5
66504 ac_status=$?
66505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66506 (exit $ac_status); }; }; then
66507 eval "$as_ac_var=yes"
66508 else
66509 echo "$as_me: failed program was:" >&5
66510 sed 's/^/| /' conftest.$ac_ext >&5
66512 eval "$as_ac_var=no"
66514 rm -f conftest.err conftest.$ac_objext \
66515 conftest$ac_exeext conftest.$ac_ext
66517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66519 if test `eval echo '${'$as_ac_var'}'` = yes; then
66520 cat >>confdefs.h <<_ACEOF
66521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66522 _ACEOF
66525 done
66535 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66536 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66537 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66538 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66539 echo $ECHO_N "(cached) $ECHO_C" >&6
66540 else
66544 ac_ext=cc
66545 ac_cpp='$CXXCPP $CPPFLAGS'
66546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66550 cat >conftest.$ac_ext <<_ACEOF
66551 /* confdefs.h. */
66552 _ACEOF
66553 cat confdefs.h >>conftest.$ac_ext
66554 cat >>conftest.$ac_ext <<_ACEOF
66555 /* end confdefs.h. */
66556 #include <math.h>
66557 #ifdef HAVE_IEEEFP_H
66558 #include <ieeefp.h>
66559 #endif
66562 main ()
66564 qfpclass(0);
66566 return 0;
66568 _ACEOF
66569 rm -f conftest.$ac_objext
66570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66571 (eval $ac_compile) 2>conftest.er1
66572 ac_status=$?
66573 grep -v '^ *+' conftest.er1 >conftest.err
66574 rm -f conftest.er1
66575 cat conftest.err >&5
66576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66577 (exit $ac_status); } &&
66578 { ac_try='test -z "$ac_cxx_werror_flag"
66579 || test ! -s conftest.err'
66580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66581 (eval $ac_try) 2>&5
66582 ac_status=$?
66583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584 (exit $ac_status); }; } &&
66585 { ac_try='test -s conftest.$ac_objext'
66586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66587 (eval $ac_try) 2>&5
66588 ac_status=$?
66589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66590 (exit $ac_status); }; }; then
66591 glibcxx_cv_func_qfpclass_use=yes
66592 else
66593 echo "$as_me: failed program was:" >&5
66594 sed 's/^/| /' conftest.$ac_ext >&5
66596 glibcxx_cv_func_qfpclass_use=no
66598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66599 ac_ext=c
66600 ac_cpp='$CPP $CPPFLAGS'
66601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66610 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66612 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66614 for ac_func in qfpclass
66616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66617 echo "$as_me:$LINENO: checking for $ac_func" >&5
66618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66619 if eval "test \"\${$as_ac_var+set}\" = set"; then
66620 echo $ECHO_N "(cached) $ECHO_C" >&6
66621 else
66622 if test x$gcc_no_link = xyes; then
66623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66625 { (exit 1); exit 1; }; }
66627 cat >conftest.$ac_ext <<_ACEOF
66628 /* confdefs.h. */
66629 _ACEOF
66630 cat confdefs.h >>conftest.$ac_ext
66631 cat >>conftest.$ac_ext <<_ACEOF
66632 /* end confdefs.h. */
66633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66635 #define $ac_func innocuous_$ac_func
66637 /* System header to define __stub macros and hopefully few prototypes,
66638 which can conflict with char $ac_func (); below.
66639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66640 <limits.h> exists even on freestanding compilers. */
66642 #ifdef __STDC__
66643 # include <limits.h>
66644 #else
66645 # include <assert.h>
66646 #endif
66648 #undef $ac_func
66650 /* Override any gcc2 internal prototype to avoid an error. */
66651 #ifdef __cplusplus
66652 extern "C"
66654 #endif
66655 /* We use char because int might match the return type of a gcc2
66656 builtin and then its argument prototype would still apply. */
66657 char $ac_func ();
66658 /* The GNU C library defines this for functions which it implements
66659 to always fail with ENOSYS. Some functions are actually named
66660 something starting with __ and the normal name is an alias. */
66661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66662 choke me
66663 #else
66664 char (*f) () = $ac_func;
66665 #endif
66666 #ifdef __cplusplus
66668 #endif
66671 main ()
66673 return f != $ac_func;
66675 return 0;
66677 _ACEOF
66678 rm -f conftest.$ac_objext conftest$ac_exeext
66679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66680 (eval $ac_link) 2>conftest.er1
66681 ac_status=$?
66682 grep -v '^ *+' conftest.er1 >conftest.err
66683 rm -f conftest.er1
66684 cat conftest.err >&5
66685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66686 (exit $ac_status); } &&
66687 { ac_try='test -z "$ac_c_werror_flag"
66688 || test ! -s conftest.err'
66689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66690 (eval $ac_try) 2>&5
66691 ac_status=$?
66692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66693 (exit $ac_status); }; } &&
66694 { ac_try='test -s conftest$ac_exeext'
66695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66696 (eval $ac_try) 2>&5
66697 ac_status=$?
66698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66699 (exit $ac_status); }; }; then
66700 eval "$as_ac_var=yes"
66701 else
66702 echo "$as_me: failed program was:" >&5
66703 sed 's/^/| /' conftest.$ac_ext >&5
66705 eval "$as_ac_var=no"
66707 rm -f conftest.err conftest.$ac_objext \
66708 conftest$ac_exeext conftest.$ac_ext
66710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66712 if test `eval echo '${'$as_ac_var'}'` = yes; then
66713 cat >>confdefs.h <<_ACEOF
66714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66715 _ACEOF
66718 done
66720 else
66722 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66723 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66724 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66725 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66726 echo $ECHO_N "(cached) $ECHO_C" >&6
66727 else
66731 ac_ext=cc
66732 ac_cpp='$CXXCPP $CPPFLAGS'
66733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66737 cat >conftest.$ac_ext <<_ACEOF
66738 /* confdefs.h. */
66739 _ACEOF
66740 cat confdefs.h >>conftest.$ac_ext
66741 cat >>conftest.$ac_ext <<_ACEOF
66742 /* end confdefs.h. */
66743 #include <math.h>
66744 #ifdef HAVE_IEEEFP_H
66745 #include <ieeefp.h>
66746 #endif
66749 main ()
66751 _qfpclass(0);
66753 return 0;
66755 _ACEOF
66756 rm -f conftest.$ac_objext
66757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66758 (eval $ac_compile) 2>conftest.er1
66759 ac_status=$?
66760 grep -v '^ *+' conftest.er1 >conftest.err
66761 rm -f conftest.er1
66762 cat conftest.err >&5
66763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66764 (exit $ac_status); } &&
66765 { ac_try='test -z "$ac_cxx_werror_flag"
66766 || test ! -s conftest.err'
66767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66768 (eval $ac_try) 2>&5
66769 ac_status=$?
66770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66771 (exit $ac_status); }; } &&
66772 { ac_try='test -s conftest.$ac_objext'
66773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66774 (eval $ac_try) 2>&5
66775 ac_status=$?
66776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66777 (exit $ac_status); }; }; then
66778 glibcxx_cv_func__qfpclass_use=yes
66779 else
66780 echo "$as_me: failed program was:" >&5
66781 sed 's/^/| /' conftest.$ac_ext >&5
66783 glibcxx_cv_func__qfpclass_use=no
66785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66786 ac_ext=c
66787 ac_cpp='$CPP $CPPFLAGS'
66788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66797 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66799 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66801 for ac_func in _qfpclass
66803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66804 echo "$as_me:$LINENO: checking for $ac_func" >&5
66805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66806 if eval "test \"\${$as_ac_var+set}\" = set"; then
66807 echo $ECHO_N "(cached) $ECHO_C" >&6
66808 else
66809 if test x$gcc_no_link = xyes; then
66810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66812 { (exit 1); exit 1; }; }
66814 cat >conftest.$ac_ext <<_ACEOF
66815 /* confdefs.h. */
66816 _ACEOF
66817 cat confdefs.h >>conftest.$ac_ext
66818 cat >>conftest.$ac_ext <<_ACEOF
66819 /* end confdefs.h. */
66820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66822 #define $ac_func innocuous_$ac_func
66824 /* System header to define __stub macros and hopefully few prototypes,
66825 which can conflict with char $ac_func (); below.
66826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66827 <limits.h> exists even on freestanding compilers. */
66829 #ifdef __STDC__
66830 # include <limits.h>
66831 #else
66832 # include <assert.h>
66833 #endif
66835 #undef $ac_func
66837 /* Override any gcc2 internal prototype to avoid an error. */
66838 #ifdef __cplusplus
66839 extern "C"
66841 #endif
66842 /* We use char because int might match the return type of a gcc2
66843 builtin and then its argument prototype would still apply. */
66844 char $ac_func ();
66845 /* The GNU C library defines this for functions which it implements
66846 to always fail with ENOSYS. Some functions are actually named
66847 something starting with __ and the normal name is an alias. */
66848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66849 choke me
66850 #else
66851 char (*f) () = $ac_func;
66852 #endif
66853 #ifdef __cplusplus
66855 #endif
66858 main ()
66860 return f != $ac_func;
66862 return 0;
66864 _ACEOF
66865 rm -f conftest.$ac_objext conftest$ac_exeext
66866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66867 (eval $ac_link) 2>conftest.er1
66868 ac_status=$?
66869 grep -v '^ *+' conftest.er1 >conftest.err
66870 rm -f conftest.er1
66871 cat conftest.err >&5
66872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66873 (exit $ac_status); } &&
66874 { ac_try='test -z "$ac_c_werror_flag"
66875 || test ! -s conftest.err'
66876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66877 (eval $ac_try) 2>&5
66878 ac_status=$?
66879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66880 (exit $ac_status); }; } &&
66881 { ac_try='test -s conftest$ac_exeext'
66882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883 (eval $ac_try) 2>&5
66884 ac_status=$?
66885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886 (exit $ac_status); }; }; then
66887 eval "$as_ac_var=yes"
66888 else
66889 echo "$as_me: failed program was:" >&5
66890 sed 's/^/| /' conftest.$ac_ext >&5
66892 eval "$as_ac_var=no"
66894 rm -f conftest.err conftest.$ac_objext \
66895 conftest$ac_exeext conftest.$ac_ext
66897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66899 if test `eval echo '${'$as_ac_var'}'` = yes; then
66900 cat >>confdefs.h <<_ACEOF
66901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66902 _ACEOF
66905 done
66915 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66916 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66917 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66918 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66919 echo $ECHO_N "(cached) $ECHO_C" >&6
66920 else
66924 ac_ext=cc
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930 cat >conftest.$ac_ext <<_ACEOF
66931 /* confdefs.h. */
66932 _ACEOF
66933 cat confdefs.h >>conftest.$ac_ext
66934 cat >>conftest.$ac_ext <<_ACEOF
66935 /* end confdefs.h. */
66936 #include <math.h>
66938 main ()
66940 hypot(0, 0);
66942 return 0;
66944 _ACEOF
66945 rm -f conftest.$ac_objext
66946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66947 (eval $ac_compile) 2>conftest.er1
66948 ac_status=$?
66949 grep -v '^ *+' conftest.er1 >conftest.err
66950 rm -f conftest.er1
66951 cat conftest.err >&5
66952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66953 (exit $ac_status); } &&
66954 { ac_try='test -z "$ac_cxx_werror_flag"
66955 || test ! -s conftest.err'
66956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66957 (eval $ac_try) 2>&5
66958 ac_status=$?
66959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66960 (exit $ac_status); }; } &&
66961 { ac_try='test -s conftest.$ac_objext'
66962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66963 (eval $ac_try) 2>&5
66964 ac_status=$?
66965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966 (exit $ac_status); }; }; then
66967 glibcxx_cv_func_hypot_use=yes
66968 else
66969 echo "$as_me: failed program was:" >&5
66970 sed 's/^/| /' conftest.$ac_ext >&5
66972 glibcxx_cv_func_hypot_use=no
66974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66975 ac_ext=c
66976 ac_cpp='$CPP $CPPFLAGS'
66977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66986 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66988 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66990 for ac_func in hypot
66992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66993 echo "$as_me:$LINENO: checking for $ac_func" >&5
66994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66995 if eval "test \"\${$as_ac_var+set}\" = set"; then
66996 echo $ECHO_N "(cached) $ECHO_C" >&6
66997 else
66998 if test x$gcc_no_link = xyes; then
66999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67001 { (exit 1); exit 1; }; }
67003 cat >conftest.$ac_ext <<_ACEOF
67004 /* confdefs.h. */
67005 _ACEOF
67006 cat confdefs.h >>conftest.$ac_ext
67007 cat >>conftest.$ac_ext <<_ACEOF
67008 /* end confdefs.h. */
67009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67011 #define $ac_func innocuous_$ac_func
67013 /* System header to define __stub macros and hopefully few prototypes,
67014 which can conflict with char $ac_func (); below.
67015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67016 <limits.h> exists even on freestanding compilers. */
67018 #ifdef __STDC__
67019 # include <limits.h>
67020 #else
67021 # include <assert.h>
67022 #endif
67024 #undef $ac_func
67026 /* Override any gcc2 internal prototype to avoid an error. */
67027 #ifdef __cplusplus
67028 extern "C"
67030 #endif
67031 /* We use char because int might match the return type of a gcc2
67032 builtin and then its argument prototype would still apply. */
67033 char $ac_func ();
67034 /* The GNU C library defines this for functions which it implements
67035 to always fail with ENOSYS. Some functions are actually named
67036 something starting with __ and the normal name is an alias. */
67037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67038 choke me
67039 #else
67040 char (*f) () = $ac_func;
67041 #endif
67042 #ifdef __cplusplus
67044 #endif
67047 main ()
67049 return f != $ac_func;
67051 return 0;
67053 _ACEOF
67054 rm -f conftest.$ac_objext conftest$ac_exeext
67055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67056 (eval $ac_link) 2>conftest.er1
67057 ac_status=$?
67058 grep -v '^ *+' conftest.er1 >conftest.err
67059 rm -f conftest.er1
67060 cat conftest.err >&5
67061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67062 (exit $ac_status); } &&
67063 { ac_try='test -z "$ac_c_werror_flag"
67064 || test ! -s conftest.err'
67065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67066 (eval $ac_try) 2>&5
67067 ac_status=$?
67068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67069 (exit $ac_status); }; } &&
67070 { ac_try='test -s conftest$ac_exeext'
67071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67072 (eval $ac_try) 2>&5
67073 ac_status=$?
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); }; }; then
67076 eval "$as_ac_var=yes"
67077 else
67078 echo "$as_me: failed program was:" >&5
67079 sed 's/^/| /' conftest.$ac_ext >&5
67081 eval "$as_ac_var=no"
67083 rm -f conftest.err conftest.$ac_objext \
67084 conftest$ac_exeext conftest.$ac_ext
67086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67088 if test `eval echo '${'$as_ac_var'}'` = yes; then
67089 cat >>confdefs.h <<_ACEOF
67090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67091 _ACEOF
67094 done
67096 else
67098 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67099 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67100 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67101 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67102 echo $ECHO_N "(cached) $ECHO_C" >&6
67103 else
67107 ac_ext=cc
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67113 cat >conftest.$ac_ext <<_ACEOF
67114 /* confdefs.h. */
67115 _ACEOF
67116 cat confdefs.h >>conftest.$ac_ext
67117 cat >>conftest.$ac_ext <<_ACEOF
67118 /* end confdefs.h. */
67119 #include <math.h>
67121 main ()
67123 _hypot(0, 0);
67125 return 0;
67127 _ACEOF
67128 rm -f conftest.$ac_objext
67129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67130 (eval $ac_compile) 2>conftest.er1
67131 ac_status=$?
67132 grep -v '^ *+' conftest.er1 >conftest.err
67133 rm -f conftest.er1
67134 cat conftest.err >&5
67135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67136 (exit $ac_status); } &&
67137 { ac_try='test -z "$ac_cxx_werror_flag"
67138 || test ! -s conftest.err'
67139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140 (eval $ac_try) 2>&5
67141 ac_status=$?
67142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143 (exit $ac_status); }; } &&
67144 { ac_try='test -s conftest.$ac_objext'
67145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67146 (eval $ac_try) 2>&5
67147 ac_status=$?
67148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67149 (exit $ac_status); }; }; then
67150 glibcxx_cv_func__hypot_use=yes
67151 else
67152 echo "$as_me: failed program was:" >&5
67153 sed 's/^/| /' conftest.$ac_ext >&5
67155 glibcxx_cv_func__hypot_use=no
67157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67158 ac_ext=c
67159 ac_cpp='$CPP $CPPFLAGS'
67160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67169 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67171 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67173 for ac_func in _hypot
67175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67176 echo "$as_me:$LINENO: checking for $ac_func" >&5
67177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67178 if eval "test \"\${$as_ac_var+set}\" = set"; then
67179 echo $ECHO_N "(cached) $ECHO_C" >&6
67180 else
67181 if test x$gcc_no_link = xyes; then
67182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67184 { (exit 1); exit 1; }; }
67186 cat >conftest.$ac_ext <<_ACEOF
67187 /* confdefs.h. */
67188 _ACEOF
67189 cat confdefs.h >>conftest.$ac_ext
67190 cat >>conftest.$ac_ext <<_ACEOF
67191 /* end confdefs.h. */
67192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67194 #define $ac_func innocuous_$ac_func
67196 /* System header to define __stub macros and hopefully few prototypes,
67197 which can conflict with char $ac_func (); below.
67198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67199 <limits.h> exists even on freestanding compilers. */
67201 #ifdef __STDC__
67202 # include <limits.h>
67203 #else
67204 # include <assert.h>
67205 #endif
67207 #undef $ac_func
67209 /* Override any gcc2 internal prototype to avoid an error. */
67210 #ifdef __cplusplus
67211 extern "C"
67213 #endif
67214 /* We use char because int might match the return type of a gcc2
67215 builtin and then its argument prototype would still apply. */
67216 char $ac_func ();
67217 /* The GNU C library defines this for functions which it implements
67218 to always fail with ENOSYS. Some functions are actually named
67219 something starting with __ and the normal name is an alias. */
67220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67221 choke me
67222 #else
67223 char (*f) () = $ac_func;
67224 #endif
67225 #ifdef __cplusplus
67227 #endif
67230 main ()
67232 return f != $ac_func;
67234 return 0;
67236 _ACEOF
67237 rm -f conftest.$ac_objext conftest$ac_exeext
67238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67239 (eval $ac_link) 2>conftest.er1
67240 ac_status=$?
67241 grep -v '^ *+' conftest.er1 >conftest.err
67242 rm -f conftest.er1
67243 cat conftest.err >&5
67244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67245 (exit $ac_status); } &&
67246 { ac_try='test -z "$ac_c_werror_flag"
67247 || test ! -s conftest.err'
67248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67249 (eval $ac_try) 2>&5
67250 ac_status=$?
67251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67252 (exit $ac_status); }; } &&
67253 { ac_try='test -s conftest$ac_exeext'
67254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67255 (eval $ac_try) 2>&5
67256 ac_status=$?
67257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67258 (exit $ac_status); }; }; then
67259 eval "$as_ac_var=yes"
67260 else
67261 echo "$as_me: failed program was:" >&5
67262 sed 's/^/| /' conftest.$ac_ext >&5
67264 eval "$as_ac_var=no"
67266 rm -f conftest.err conftest.$ac_objext \
67267 conftest$ac_exeext conftest.$ac_ext
67269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67271 if test `eval echo '${'$as_ac_var'}'` = yes; then
67272 cat >>confdefs.h <<_ACEOF
67273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67274 _ACEOF
67277 done
67287 echo "$as_me:$LINENO: checking for float trig functions" >&5
67288 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67289 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67290 echo $ECHO_N "(cached) $ECHO_C" >&6
67291 else
67295 ac_ext=cc
67296 ac_cpp='$CXXCPP $CPPFLAGS'
67297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67301 cat >conftest.$ac_ext <<_ACEOF
67302 /* confdefs.h. */
67303 _ACEOF
67304 cat confdefs.h >>conftest.$ac_ext
67305 cat >>conftest.$ac_ext <<_ACEOF
67306 /* end confdefs.h. */
67307 #include <math.h>
67309 main ()
67311 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67313 return 0;
67315 _ACEOF
67316 rm -f conftest.$ac_objext
67317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67318 (eval $ac_compile) 2>conftest.er1
67319 ac_status=$?
67320 grep -v '^ *+' conftest.er1 >conftest.err
67321 rm -f conftest.er1
67322 cat conftest.err >&5
67323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67324 (exit $ac_status); } &&
67325 { ac_try='test -z "$ac_cxx_werror_flag"
67326 || test ! -s conftest.err'
67327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67328 (eval $ac_try) 2>&5
67329 ac_status=$?
67330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67331 (exit $ac_status); }; } &&
67332 { ac_try='test -s conftest.$ac_objext'
67333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67334 (eval $ac_try) 2>&5
67335 ac_status=$?
67336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337 (exit $ac_status); }; }; then
67338 glibcxx_cv_func_float_trig_use=yes
67339 else
67340 echo "$as_me: failed program was:" >&5
67341 sed 's/^/| /' conftest.$ac_ext >&5
67343 glibcxx_cv_func_float_trig_use=no
67345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67346 ac_ext=c
67347 ac_cpp='$CPP $CPPFLAGS'
67348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67355 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67356 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67366 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67369 echo "$as_me:$LINENO: checking for $ac_func" >&5
67370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67371 if eval "test \"\${$as_ac_var+set}\" = set"; then
67372 echo $ECHO_N "(cached) $ECHO_C" >&6
67373 else
67374 if test x$gcc_no_link = xyes; then
67375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67377 { (exit 1); exit 1; }; }
67379 cat >conftest.$ac_ext <<_ACEOF
67380 /* confdefs.h. */
67381 _ACEOF
67382 cat confdefs.h >>conftest.$ac_ext
67383 cat >>conftest.$ac_ext <<_ACEOF
67384 /* end confdefs.h. */
67385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67387 #define $ac_func innocuous_$ac_func
67389 /* System header to define __stub macros and hopefully few prototypes,
67390 which can conflict with char $ac_func (); below.
67391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67392 <limits.h> exists even on freestanding compilers. */
67394 #ifdef __STDC__
67395 # include <limits.h>
67396 #else
67397 # include <assert.h>
67398 #endif
67400 #undef $ac_func
67402 /* Override any gcc2 internal prototype to avoid an error. */
67403 #ifdef __cplusplus
67404 extern "C"
67406 #endif
67407 /* We use char because int might match the return type of a gcc2
67408 builtin and then its argument prototype would still apply. */
67409 char $ac_func ();
67410 /* The GNU C library defines this for functions which it implements
67411 to always fail with ENOSYS. Some functions are actually named
67412 something starting with __ and the normal name is an alias. */
67413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67414 choke me
67415 #else
67416 char (*f) () = $ac_func;
67417 #endif
67418 #ifdef __cplusplus
67420 #endif
67423 main ()
67425 return f != $ac_func;
67427 return 0;
67429 _ACEOF
67430 rm -f conftest.$ac_objext conftest$ac_exeext
67431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67432 (eval $ac_link) 2>conftest.er1
67433 ac_status=$?
67434 grep -v '^ *+' conftest.er1 >conftest.err
67435 rm -f conftest.er1
67436 cat conftest.err >&5
67437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67438 (exit $ac_status); } &&
67439 { ac_try='test -z "$ac_c_werror_flag"
67440 || test ! -s conftest.err'
67441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67442 (eval $ac_try) 2>&5
67443 ac_status=$?
67444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67445 (exit $ac_status); }; } &&
67446 { ac_try='test -s conftest$ac_exeext'
67447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67448 (eval $ac_try) 2>&5
67449 ac_status=$?
67450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67451 (exit $ac_status); }; }; then
67452 eval "$as_ac_var=yes"
67453 else
67454 echo "$as_me: failed program was:" >&5
67455 sed 's/^/| /' conftest.$ac_ext >&5
67457 eval "$as_ac_var=no"
67459 rm -f conftest.err conftest.$ac_objext \
67460 conftest$ac_exeext conftest.$ac_ext
67462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67464 if test `eval echo '${'$as_ac_var'}'` = yes; then
67465 cat >>confdefs.h <<_ACEOF
67466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67467 _ACEOF
67470 done
67472 else
67473 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67474 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67475 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67476 echo $ECHO_N "(cached) $ECHO_C" >&6
67477 else
67481 ac_ext=cc
67482 ac_cpp='$CXXCPP $CPPFLAGS'
67483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67487 cat >conftest.$ac_ext <<_ACEOF
67488 /* confdefs.h. */
67489 _ACEOF
67490 cat confdefs.h >>conftest.$ac_ext
67491 cat >>conftest.$ac_ext <<_ACEOF
67492 /* end confdefs.h. */
67493 #include <math.h>
67495 main ()
67497 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67499 return 0;
67501 _ACEOF
67502 rm -f conftest.$ac_objext
67503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67504 (eval $ac_compile) 2>conftest.er1
67505 ac_status=$?
67506 grep -v '^ *+' conftest.er1 >conftest.err
67507 rm -f conftest.er1
67508 cat conftest.err >&5
67509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67510 (exit $ac_status); } &&
67511 { ac_try='test -z "$ac_cxx_werror_flag"
67512 || test ! -s conftest.err'
67513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67514 (eval $ac_try) 2>&5
67515 ac_status=$?
67516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517 (exit $ac_status); }; } &&
67518 { ac_try='test -s conftest.$ac_objext'
67519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67520 (eval $ac_try) 2>&5
67521 ac_status=$?
67522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523 (exit $ac_status); }; }; then
67524 glibcxx_cv_func__float_trig_use=yes
67525 else
67526 echo "$as_me: failed program was:" >&5
67527 sed 's/^/| /' conftest.$ac_ext >&5
67529 glibcxx_cv_func__float_trig_use=no
67531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67532 ac_ext=c
67533 ac_cpp='$CPP $CPPFLAGS'
67534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67541 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67542 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67552 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67555 echo "$as_me:$LINENO: checking for $ac_func" >&5
67556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67557 if eval "test \"\${$as_ac_var+set}\" = set"; then
67558 echo $ECHO_N "(cached) $ECHO_C" >&6
67559 else
67560 if test x$gcc_no_link = xyes; then
67561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67563 { (exit 1); exit 1; }; }
67565 cat >conftest.$ac_ext <<_ACEOF
67566 /* confdefs.h. */
67567 _ACEOF
67568 cat confdefs.h >>conftest.$ac_ext
67569 cat >>conftest.$ac_ext <<_ACEOF
67570 /* end confdefs.h. */
67571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67573 #define $ac_func innocuous_$ac_func
67575 /* System header to define __stub macros and hopefully few prototypes,
67576 which can conflict with char $ac_func (); below.
67577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67578 <limits.h> exists even on freestanding compilers. */
67580 #ifdef __STDC__
67581 # include <limits.h>
67582 #else
67583 # include <assert.h>
67584 #endif
67586 #undef $ac_func
67588 /* Override any gcc2 internal prototype to avoid an error. */
67589 #ifdef __cplusplus
67590 extern "C"
67592 #endif
67593 /* We use char because int might match the return type of a gcc2
67594 builtin and then its argument prototype would still apply. */
67595 char $ac_func ();
67596 /* The GNU C library defines this for functions which it implements
67597 to always fail with ENOSYS. Some functions are actually named
67598 something starting with __ and the normal name is an alias. */
67599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67600 choke me
67601 #else
67602 char (*f) () = $ac_func;
67603 #endif
67604 #ifdef __cplusplus
67606 #endif
67609 main ()
67611 return f != $ac_func;
67613 return 0;
67615 _ACEOF
67616 rm -f conftest.$ac_objext conftest$ac_exeext
67617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67618 (eval $ac_link) 2>conftest.er1
67619 ac_status=$?
67620 grep -v '^ *+' conftest.er1 >conftest.err
67621 rm -f conftest.er1
67622 cat conftest.err >&5
67623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67624 (exit $ac_status); } &&
67625 { ac_try='test -z "$ac_c_werror_flag"
67626 || test ! -s conftest.err'
67627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67628 (eval $ac_try) 2>&5
67629 ac_status=$?
67630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67631 (exit $ac_status); }; } &&
67632 { ac_try='test -s conftest$ac_exeext'
67633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67634 (eval $ac_try) 2>&5
67635 ac_status=$?
67636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67637 (exit $ac_status); }; }; then
67638 eval "$as_ac_var=yes"
67639 else
67640 echo "$as_me: failed program was:" >&5
67641 sed 's/^/| /' conftest.$ac_ext >&5
67643 eval "$as_ac_var=no"
67645 rm -f conftest.err conftest.$ac_objext \
67646 conftest$ac_exeext conftest.$ac_ext
67648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67650 if test `eval echo '${'$as_ac_var'}'` = yes; then
67651 cat >>confdefs.h <<_ACEOF
67652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67653 _ACEOF
67656 done
67674 echo "$as_me:$LINENO: checking for float round functions" >&5
67675 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67676 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67677 echo $ECHO_N "(cached) $ECHO_C" >&6
67678 else
67682 ac_ext=cc
67683 ac_cpp='$CXXCPP $CPPFLAGS'
67684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67688 cat >conftest.$ac_ext <<_ACEOF
67689 /* confdefs.h. */
67690 _ACEOF
67691 cat confdefs.h >>conftest.$ac_ext
67692 cat >>conftest.$ac_ext <<_ACEOF
67693 /* end confdefs.h. */
67694 #include <math.h>
67696 main ()
67698 ceilf (0); floorf (0);
67700 return 0;
67702 _ACEOF
67703 rm -f conftest.$ac_objext
67704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67705 (eval $ac_compile) 2>conftest.er1
67706 ac_status=$?
67707 grep -v '^ *+' conftest.er1 >conftest.err
67708 rm -f conftest.er1
67709 cat conftest.err >&5
67710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67711 (exit $ac_status); } &&
67712 { ac_try='test -z "$ac_cxx_werror_flag"
67713 || test ! -s conftest.err'
67714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67715 (eval $ac_try) 2>&5
67716 ac_status=$?
67717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67718 (exit $ac_status); }; } &&
67719 { ac_try='test -s conftest.$ac_objext'
67720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721 (eval $ac_try) 2>&5
67722 ac_status=$?
67723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724 (exit $ac_status); }; }; then
67725 glibcxx_cv_func_float_round_use=yes
67726 else
67727 echo "$as_me: failed program was:" >&5
67728 sed 's/^/| /' conftest.$ac_ext >&5
67730 glibcxx_cv_func_float_round_use=no
67732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67733 ac_ext=c
67734 ac_cpp='$CPP $CPPFLAGS'
67735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67742 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67743 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67746 for ac_func in ceilf floorf
67748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67749 echo "$as_me:$LINENO: checking for $ac_func" >&5
67750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67751 if eval "test \"\${$as_ac_var+set}\" = set"; then
67752 echo $ECHO_N "(cached) $ECHO_C" >&6
67753 else
67754 if test x$gcc_no_link = xyes; then
67755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67757 { (exit 1); exit 1; }; }
67759 cat >conftest.$ac_ext <<_ACEOF
67760 /* confdefs.h. */
67761 _ACEOF
67762 cat confdefs.h >>conftest.$ac_ext
67763 cat >>conftest.$ac_ext <<_ACEOF
67764 /* end confdefs.h. */
67765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67767 #define $ac_func innocuous_$ac_func
67769 /* System header to define __stub macros and hopefully few prototypes,
67770 which can conflict with char $ac_func (); below.
67771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67772 <limits.h> exists even on freestanding compilers. */
67774 #ifdef __STDC__
67775 # include <limits.h>
67776 #else
67777 # include <assert.h>
67778 #endif
67780 #undef $ac_func
67782 /* Override any gcc2 internal prototype to avoid an error. */
67783 #ifdef __cplusplus
67784 extern "C"
67786 #endif
67787 /* We use char because int might match the return type of a gcc2
67788 builtin and then its argument prototype would still apply. */
67789 char $ac_func ();
67790 /* The GNU C library defines this for functions which it implements
67791 to always fail with ENOSYS. Some functions are actually named
67792 something starting with __ and the normal name is an alias. */
67793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67794 choke me
67795 #else
67796 char (*f) () = $ac_func;
67797 #endif
67798 #ifdef __cplusplus
67800 #endif
67803 main ()
67805 return f != $ac_func;
67807 return 0;
67809 _ACEOF
67810 rm -f conftest.$ac_objext conftest$ac_exeext
67811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67812 (eval $ac_link) 2>conftest.er1
67813 ac_status=$?
67814 grep -v '^ *+' conftest.er1 >conftest.err
67815 rm -f conftest.er1
67816 cat conftest.err >&5
67817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67818 (exit $ac_status); } &&
67819 { ac_try='test -z "$ac_c_werror_flag"
67820 || test ! -s conftest.err'
67821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67822 (eval $ac_try) 2>&5
67823 ac_status=$?
67824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67825 (exit $ac_status); }; } &&
67826 { ac_try='test -s conftest$ac_exeext'
67827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828 (eval $ac_try) 2>&5
67829 ac_status=$?
67830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831 (exit $ac_status); }; }; then
67832 eval "$as_ac_var=yes"
67833 else
67834 echo "$as_me: failed program was:" >&5
67835 sed 's/^/| /' conftest.$ac_ext >&5
67837 eval "$as_ac_var=no"
67839 rm -f conftest.err conftest.$ac_objext \
67840 conftest$ac_exeext conftest.$ac_ext
67842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67844 if test `eval echo '${'$as_ac_var'}'` = yes; then
67845 cat >>confdefs.h <<_ACEOF
67846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67847 _ACEOF
67850 done
67852 else
67853 echo "$as_me:$LINENO: checking for _float round functions" >&5
67854 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67855 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67856 echo $ECHO_N "(cached) $ECHO_C" >&6
67857 else
67861 ac_ext=cc
67862 ac_cpp='$CXXCPP $CPPFLAGS'
67863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67867 cat >conftest.$ac_ext <<_ACEOF
67868 /* confdefs.h. */
67869 _ACEOF
67870 cat confdefs.h >>conftest.$ac_ext
67871 cat >>conftest.$ac_ext <<_ACEOF
67872 /* end confdefs.h. */
67873 #include <math.h>
67875 main ()
67877 _ceilf (0); _floorf (0);
67879 return 0;
67881 _ACEOF
67882 rm -f conftest.$ac_objext
67883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67884 (eval $ac_compile) 2>conftest.er1
67885 ac_status=$?
67886 grep -v '^ *+' conftest.er1 >conftest.err
67887 rm -f conftest.er1
67888 cat conftest.err >&5
67889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890 (exit $ac_status); } &&
67891 { ac_try='test -z "$ac_cxx_werror_flag"
67892 || test ! -s conftest.err'
67893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67894 (eval $ac_try) 2>&5
67895 ac_status=$?
67896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67897 (exit $ac_status); }; } &&
67898 { ac_try='test -s conftest.$ac_objext'
67899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67900 (eval $ac_try) 2>&5
67901 ac_status=$?
67902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67903 (exit $ac_status); }; }; then
67904 glibcxx_cv_func__float_round_use=yes
67905 else
67906 echo "$as_me: failed program was:" >&5
67907 sed 's/^/| /' conftest.$ac_ext >&5
67909 glibcxx_cv_func__float_round_use=no
67911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67912 ac_ext=c
67913 ac_cpp='$CPP $CPPFLAGS'
67914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67921 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67922 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67925 for ac_func in _ceilf _floorf
67927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67928 echo "$as_me:$LINENO: checking for $ac_func" >&5
67929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67930 if eval "test \"\${$as_ac_var+set}\" = set"; then
67931 echo $ECHO_N "(cached) $ECHO_C" >&6
67932 else
67933 if test x$gcc_no_link = xyes; then
67934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67936 { (exit 1); exit 1; }; }
67938 cat >conftest.$ac_ext <<_ACEOF
67939 /* confdefs.h. */
67940 _ACEOF
67941 cat confdefs.h >>conftest.$ac_ext
67942 cat >>conftest.$ac_ext <<_ACEOF
67943 /* end confdefs.h. */
67944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67946 #define $ac_func innocuous_$ac_func
67948 /* System header to define __stub macros and hopefully few prototypes,
67949 which can conflict with char $ac_func (); below.
67950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67951 <limits.h> exists even on freestanding compilers. */
67953 #ifdef __STDC__
67954 # include <limits.h>
67955 #else
67956 # include <assert.h>
67957 #endif
67959 #undef $ac_func
67961 /* Override any gcc2 internal prototype to avoid an error. */
67962 #ifdef __cplusplus
67963 extern "C"
67965 #endif
67966 /* We use char because int might match the return type of a gcc2
67967 builtin and then its argument prototype would still apply. */
67968 char $ac_func ();
67969 /* The GNU C library defines this for functions which it implements
67970 to always fail with ENOSYS. Some functions are actually named
67971 something starting with __ and the normal name is an alias. */
67972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67973 choke me
67974 #else
67975 char (*f) () = $ac_func;
67976 #endif
67977 #ifdef __cplusplus
67979 #endif
67982 main ()
67984 return f != $ac_func;
67986 return 0;
67988 _ACEOF
67989 rm -f conftest.$ac_objext conftest$ac_exeext
67990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67991 (eval $ac_link) 2>conftest.er1
67992 ac_status=$?
67993 grep -v '^ *+' conftest.er1 >conftest.err
67994 rm -f conftest.er1
67995 cat conftest.err >&5
67996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67997 (exit $ac_status); } &&
67998 { ac_try='test -z "$ac_c_werror_flag"
67999 || test ! -s conftest.err'
68000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68001 (eval $ac_try) 2>&5
68002 ac_status=$?
68003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68004 (exit $ac_status); }; } &&
68005 { ac_try='test -s conftest$ac_exeext'
68006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68007 (eval $ac_try) 2>&5
68008 ac_status=$?
68009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68010 (exit $ac_status); }; }; then
68011 eval "$as_ac_var=yes"
68012 else
68013 echo "$as_me: failed program was:" >&5
68014 sed 's/^/| /' conftest.$ac_ext >&5
68016 eval "$as_ac_var=no"
68018 rm -f conftest.err conftest.$ac_objext \
68019 conftest$ac_exeext conftest.$ac_ext
68021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68023 if test `eval echo '${'$as_ac_var'}'` = yes; then
68024 cat >>confdefs.h <<_ACEOF
68025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68026 _ACEOF
68029 done
68041 echo "$as_me:$LINENO: checking for expf declaration" >&5
68042 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68043 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68044 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68045 echo $ECHO_N "(cached) $ECHO_C" >&6
68046 else
68050 ac_ext=cc
68051 ac_cpp='$CXXCPP $CPPFLAGS'
68052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68056 cat >conftest.$ac_ext <<_ACEOF
68057 /* confdefs.h. */
68058 _ACEOF
68059 cat confdefs.h >>conftest.$ac_ext
68060 cat >>conftest.$ac_ext <<_ACEOF
68061 /* end confdefs.h. */
68062 #include <math.h>
68063 #ifdef HAVE_IEEEFP_H
68064 #include <ieeefp.h>
68065 #endif
68068 main ()
68070 expf(0);
68072 return 0;
68074 _ACEOF
68075 rm -f conftest.$ac_objext
68076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68077 (eval $ac_compile) 2>conftest.er1
68078 ac_status=$?
68079 grep -v '^ *+' conftest.er1 >conftest.err
68080 rm -f conftest.er1
68081 cat conftest.err >&5
68082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68083 (exit $ac_status); } &&
68084 { ac_try='test -z "$ac_cxx_werror_flag"
68085 || test ! -s conftest.err'
68086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68087 (eval $ac_try) 2>&5
68088 ac_status=$?
68089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090 (exit $ac_status); }; } &&
68091 { ac_try='test -s conftest.$ac_objext'
68092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68093 (eval $ac_try) 2>&5
68094 ac_status=$?
68095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68096 (exit $ac_status); }; }; then
68097 glibcxx_cv_func_expf_use=yes
68098 else
68099 echo "$as_me: failed program was:" >&5
68100 sed 's/^/| /' conftest.$ac_ext >&5
68102 glibcxx_cv_func_expf_use=no
68104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68105 ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68116 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68118 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68120 for ac_func in expf
68122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68123 echo "$as_me:$LINENO: checking for $ac_func" >&5
68124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68125 if eval "test \"\${$as_ac_var+set}\" = set"; then
68126 echo $ECHO_N "(cached) $ECHO_C" >&6
68127 else
68128 if test x$gcc_no_link = xyes; then
68129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68131 { (exit 1); exit 1; }; }
68133 cat >conftest.$ac_ext <<_ACEOF
68134 /* confdefs.h. */
68135 _ACEOF
68136 cat confdefs.h >>conftest.$ac_ext
68137 cat >>conftest.$ac_ext <<_ACEOF
68138 /* end confdefs.h. */
68139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68141 #define $ac_func innocuous_$ac_func
68143 /* System header to define __stub macros and hopefully few prototypes,
68144 which can conflict with char $ac_func (); below.
68145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68146 <limits.h> exists even on freestanding compilers. */
68148 #ifdef __STDC__
68149 # include <limits.h>
68150 #else
68151 # include <assert.h>
68152 #endif
68154 #undef $ac_func
68156 /* Override any gcc2 internal prototype to avoid an error. */
68157 #ifdef __cplusplus
68158 extern "C"
68160 #endif
68161 /* We use char because int might match the return type of a gcc2
68162 builtin and then its argument prototype would still apply. */
68163 char $ac_func ();
68164 /* The GNU C library defines this for functions which it implements
68165 to always fail with ENOSYS. Some functions are actually named
68166 something starting with __ and the normal name is an alias. */
68167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68168 choke me
68169 #else
68170 char (*f) () = $ac_func;
68171 #endif
68172 #ifdef __cplusplus
68174 #endif
68177 main ()
68179 return f != $ac_func;
68181 return 0;
68183 _ACEOF
68184 rm -f conftest.$ac_objext conftest$ac_exeext
68185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68186 (eval $ac_link) 2>conftest.er1
68187 ac_status=$?
68188 grep -v '^ *+' conftest.er1 >conftest.err
68189 rm -f conftest.er1
68190 cat conftest.err >&5
68191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68192 (exit $ac_status); } &&
68193 { ac_try='test -z "$ac_c_werror_flag"
68194 || test ! -s conftest.err'
68195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68196 (eval $ac_try) 2>&5
68197 ac_status=$?
68198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68199 (exit $ac_status); }; } &&
68200 { ac_try='test -s conftest$ac_exeext'
68201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202 (eval $ac_try) 2>&5
68203 ac_status=$?
68204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205 (exit $ac_status); }; }; then
68206 eval "$as_ac_var=yes"
68207 else
68208 echo "$as_me: failed program was:" >&5
68209 sed 's/^/| /' conftest.$ac_ext >&5
68211 eval "$as_ac_var=no"
68213 rm -f conftest.err conftest.$ac_objext \
68214 conftest$ac_exeext conftest.$ac_ext
68216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68218 if test `eval echo '${'$as_ac_var'}'` = yes; then
68219 cat >>confdefs.h <<_ACEOF
68220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68221 _ACEOF
68224 done
68226 else
68228 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68229 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68230 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68231 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68232 echo $ECHO_N "(cached) $ECHO_C" >&6
68233 else
68237 ac_ext=cc
68238 ac_cpp='$CXXCPP $CPPFLAGS'
68239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68243 cat >conftest.$ac_ext <<_ACEOF
68244 /* confdefs.h. */
68245 _ACEOF
68246 cat confdefs.h >>conftest.$ac_ext
68247 cat >>conftest.$ac_ext <<_ACEOF
68248 /* end confdefs.h. */
68249 #include <math.h>
68250 #ifdef HAVE_IEEEFP_H
68251 #include <ieeefp.h>
68252 #endif
68255 main ()
68257 _expf(0);
68259 return 0;
68261 _ACEOF
68262 rm -f conftest.$ac_objext
68263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68264 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__expf_use=yes
68285 else
68286 echo "$as_me: failed program was:" >&5
68287 sed 's/^/| /' conftest.$ac_ext >&5
68289 glibcxx_cv_func__expf_use=no
68291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68292 ac_ext=c
68293 ac_cpp='$CPP $CPPFLAGS'
68294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68303 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68305 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68307 for ac_func in _expf
68309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68310 echo "$as_me:$LINENO: checking for $ac_func" >&5
68311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68312 if eval "test \"\${$as_ac_var+set}\" = set"; then
68313 echo $ECHO_N "(cached) $ECHO_C" >&6
68314 else
68315 if test x$gcc_no_link = xyes; then
68316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68318 { (exit 1); exit 1; }; }
68320 cat >conftest.$ac_ext <<_ACEOF
68321 /* confdefs.h. */
68322 _ACEOF
68323 cat confdefs.h >>conftest.$ac_ext
68324 cat >>conftest.$ac_ext <<_ACEOF
68325 /* end confdefs.h. */
68326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68328 #define $ac_func innocuous_$ac_func
68330 /* System header to define __stub macros and hopefully few prototypes,
68331 which can conflict with char $ac_func (); below.
68332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68333 <limits.h> exists even on freestanding compilers. */
68335 #ifdef __STDC__
68336 # include <limits.h>
68337 #else
68338 # include <assert.h>
68339 #endif
68341 #undef $ac_func
68343 /* Override any gcc2 internal prototype to avoid an error. */
68344 #ifdef __cplusplus
68345 extern "C"
68347 #endif
68348 /* We use char because int might match the return type of a gcc2
68349 builtin and then its argument prototype would still apply. */
68350 char $ac_func ();
68351 /* The GNU C library defines this for functions which it implements
68352 to always fail with ENOSYS. Some functions are actually named
68353 something starting with __ and the normal name is an alias. */
68354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68355 choke me
68356 #else
68357 char (*f) () = $ac_func;
68358 #endif
68359 #ifdef __cplusplus
68361 #endif
68364 main ()
68366 return f != $ac_func;
68368 return 0;
68370 _ACEOF
68371 rm -f conftest.$ac_objext conftest$ac_exeext
68372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68373 (eval $ac_link) 2>conftest.er1
68374 ac_status=$?
68375 grep -v '^ *+' conftest.er1 >conftest.err
68376 rm -f conftest.er1
68377 cat conftest.err >&5
68378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68379 (exit $ac_status); } &&
68380 { ac_try='test -z "$ac_c_werror_flag"
68381 || test ! -s conftest.err'
68382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68383 (eval $ac_try) 2>&5
68384 ac_status=$?
68385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68386 (exit $ac_status); }; } &&
68387 { ac_try='test -s conftest$ac_exeext'
68388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68389 (eval $ac_try) 2>&5
68390 ac_status=$?
68391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68392 (exit $ac_status); }; }; then
68393 eval "$as_ac_var=yes"
68394 else
68395 echo "$as_me: failed program was:" >&5
68396 sed 's/^/| /' conftest.$ac_ext >&5
68398 eval "$as_ac_var=no"
68400 rm -f conftest.err conftest.$ac_objext \
68401 conftest$ac_exeext conftest.$ac_ext
68403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68405 if test `eval echo '${'$as_ac_var'}'` = yes; then
68406 cat >>confdefs.h <<_ACEOF
68407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68408 _ACEOF
68411 done
68421 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68422 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68423 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68424 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68425 echo $ECHO_N "(cached) $ECHO_C" >&6
68426 else
68430 ac_ext=cc
68431 ac_cpp='$CXXCPP $CPPFLAGS'
68432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68436 cat >conftest.$ac_ext <<_ACEOF
68437 /* confdefs.h. */
68438 _ACEOF
68439 cat confdefs.h >>conftest.$ac_ext
68440 cat >>conftest.$ac_ext <<_ACEOF
68441 /* end confdefs.h. */
68442 #include <math.h>
68443 #ifdef HAVE_IEEEFP_H
68444 #include <ieeefp.h>
68445 #endif
68448 main ()
68450 isnanf(0);
68452 return 0;
68454 _ACEOF
68455 rm -f conftest.$ac_objext
68456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68457 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_isnanf_use=yes
68478 else
68479 echo "$as_me: failed program was:" >&5
68480 sed 's/^/| /' conftest.$ac_ext >&5
68482 glibcxx_cv_func_isnanf_use=no
68484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68485 ac_ext=c
68486 ac_cpp='$CPP $CPPFLAGS'
68487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68496 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68498 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68500 for ac_func in isnanf
68502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68503 echo "$as_me:$LINENO: checking for $ac_func" >&5
68504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68505 if eval "test \"\${$as_ac_var+set}\" = set"; then
68506 echo $ECHO_N "(cached) $ECHO_C" >&6
68507 else
68508 if test x$gcc_no_link = xyes; then
68509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68511 { (exit 1); exit 1; }; }
68513 cat >conftest.$ac_ext <<_ACEOF
68514 /* confdefs.h. */
68515 _ACEOF
68516 cat confdefs.h >>conftest.$ac_ext
68517 cat >>conftest.$ac_ext <<_ACEOF
68518 /* end confdefs.h. */
68519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68521 #define $ac_func innocuous_$ac_func
68523 /* System header to define __stub macros and hopefully few prototypes,
68524 which can conflict with char $ac_func (); below.
68525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68526 <limits.h> exists even on freestanding compilers. */
68528 #ifdef __STDC__
68529 # include <limits.h>
68530 #else
68531 # include <assert.h>
68532 #endif
68534 #undef $ac_func
68536 /* Override any gcc2 internal prototype to avoid an error. */
68537 #ifdef __cplusplus
68538 extern "C"
68540 #endif
68541 /* We use char because int might match the return type of a gcc2
68542 builtin and then its argument prototype would still apply. */
68543 char $ac_func ();
68544 /* The GNU C library defines this for functions which it implements
68545 to always fail with ENOSYS. Some functions are actually named
68546 something starting with __ and the normal name is an alias. */
68547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68548 choke me
68549 #else
68550 char (*f) () = $ac_func;
68551 #endif
68552 #ifdef __cplusplus
68554 #endif
68557 main ()
68559 return f != $ac_func;
68561 return 0;
68563 _ACEOF
68564 rm -f conftest.$ac_objext conftest$ac_exeext
68565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68566 (eval $ac_link) 2>conftest.er1
68567 ac_status=$?
68568 grep -v '^ *+' conftest.er1 >conftest.err
68569 rm -f conftest.er1
68570 cat conftest.err >&5
68571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68572 (exit $ac_status); } &&
68573 { ac_try='test -z "$ac_c_werror_flag"
68574 || test ! -s conftest.err'
68575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68576 (eval $ac_try) 2>&5
68577 ac_status=$?
68578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579 (exit $ac_status); }; } &&
68580 { ac_try='test -s conftest$ac_exeext'
68581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68582 (eval $ac_try) 2>&5
68583 ac_status=$?
68584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585 (exit $ac_status); }; }; then
68586 eval "$as_ac_var=yes"
68587 else
68588 echo "$as_me: failed program was:" >&5
68589 sed 's/^/| /' conftest.$ac_ext >&5
68591 eval "$as_ac_var=no"
68593 rm -f conftest.err conftest.$ac_objext \
68594 conftest$ac_exeext conftest.$ac_ext
68596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68598 if test `eval echo '${'$as_ac_var'}'` = yes; then
68599 cat >>confdefs.h <<_ACEOF
68600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68601 _ACEOF
68604 done
68606 else
68608 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68609 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68610 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68611 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68612 echo $ECHO_N "(cached) $ECHO_C" >&6
68613 else
68617 ac_ext=cc
68618 ac_cpp='$CXXCPP $CPPFLAGS'
68619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68623 cat >conftest.$ac_ext <<_ACEOF
68624 /* confdefs.h. */
68625 _ACEOF
68626 cat confdefs.h >>conftest.$ac_ext
68627 cat >>conftest.$ac_ext <<_ACEOF
68628 /* end confdefs.h. */
68629 #include <math.h>
68630 #ifdef HAVE_IEEEFP_H
68631 #include <ieeefp.h>
68632 #endif
68635 main ()
68637 _isnanf(0);
68639 return 0;
68641 _ACEOF
68642 rm -f conftest.$ac_objext
68643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68644 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isnanf_use=yes
68665 else
68666 echo "$as_me: failed program was:" >&5
68667 sed 's/^/| /' conftest.$ac_ext >&5
68669 glibcxx_cv_func__isnanf_use=no
68671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68672 ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68683 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68685 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68687 for ac_func in _isnanf
68689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68690 echo "$as_me:$LINENO: checking for $ac_func" >&5
68691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68692 if eval "test \"\${$as_ac_var+set}\" = set"; then
68693 echo $ECHO_N "(cached) $ECHO_C" >&6
68694 else
68695 if test x$gcc_no_link = xyes; then
68696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68698 { (exit 1); exit 1; }; }
68700 cat >conftest.$ac_ext <<_ACEOF
68701 /* confdefs.h. */
68702 _ACEOF
68703 cat confdefs.h >>conftest.$ac_ext
68704 cat >>conftest.$ac_ext <<_ACEOF
68705 /* end confdefs.h. */
68706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68708 #define $ac_func innocuous_$ac_func
68710 /* System header to define __stub macros and hopefully few prototypes,
68711 which can conflict with char $ac_func (); below.
68712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68713 <limits.h> exists even on freestanding compilers. */
68715 #ifdef __STDC__
68716 # include <limits.h>
68717 #else
68718 # include <assert.h>
68719 #endif
68721 #undef $ac_func
68723 /* Override any gcc2 internal prototype to avoid an error. */
68724 #ifdef __cplusplus
68725 extern "C"
68727 #endif
68728 /* We use char because int might match the return type of a gcc2
68729 builtin and then its argument prototype would still apply. */
68730 char $ac_func ();
68731 /* The GNU C library defines this for functions which it implements
68732 to always fail with ENOSYS. Some functions are actually named
68733 something starting with __ and the normal name is an alias. */
68734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68735 choke me
68736 #else
68737 char (*f) () = $ac_func;
68738 #endif
68739 #ifdef __cplusplus
68741 #endif
68744 main ()
68746 return f != $ac_func;
68748 return 0;
68750 _ACEOF
68751 rm -f conftest.$ac_objext conftest$ac_exeext
68752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68753 (eval $ac_link) 2>conftest.er1
68754 ac_status=$?
68755 grep -v '^ *+' conftest.er1 >conftest.err
68756 rm -f conftest.er1
68757 cat conftest.err >&5
68758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68759 (exit $ac_status); } &&
68760 { ac_try='test -z "$ac_c_werror_flag"
68761 || test ! -s conftest.err'
68762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68763 (eval $ac_try) 2>&5
68764 ac_status=$?
68765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68766 (exit $ac_status); }; } &&
68767 { ac_try='test -s conftest$ac_exeext'
68768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68769 (eval $ac_try) 2>&5
68770 ac_status=$?
68771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68772 (exit $ac_status); }; }; then
68773 eval "$as_ac_var=yes"
68774 else
68775 echo "$as_me: failed program was:" >&5
68776 sed 's/^/| /' conftest.$ac_ext >&5
68778 eval "$as_ac_var=no"
68780 rm -f conftest.err conftest.$ac_objext \
68781 conftest$ac_exeext conftest.$ac_ext
68783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68785 if test `eval echo '${'$as_ac_var'}'` = yes; then
68786 cat >>confdefs.h <<_ACEOF
68787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68788 _ACEOF
68791 done
68801 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68802 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68803 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68804 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68805 echo $ECHO_N "(cached) $ECHO_C" >&6
68806 else
68810 ac_ext=cc
68811 ac_cpp='$CXXCPP $CPPFLAGS'
68812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68816 cat >conftest.$ac_ext <<_ACEOF
68817 /* confdefs.h. */
68818 _ACEOF
68819 cat confdefs.h >>conftest.$ac_ext
68820 cat >>conftest.$ac_ext <<_ACEOF
68821 /* end confdefs.h. */
68822 #include <math.h>
68823 #ifdef HAVE_IEEEFP_H
68824 #include <ieeefp.h>
68825 #endif
68828 main ()
68830 isinff(0);
68832 return 0;
68834 _ACEOF
68835 rm -f conftest.$ac_objext
68836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68837 (eval $ac_compile) 2>conftest.er1
68838 ac_status=$?
68839 grep -v '^ *+' conftest.er1 >conftest.err
68840 rm -f conftest.er1
68841 cat conftest.err >&5
68842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68843 (exit $ac_status); } &&
68844 { ac_try='test -z "$ac_cxx_werror_flag"
68845 || test ! -s conftest.err'
68846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68847 (eval $ac_try) 2>&5
68848 ac_status=$?
68849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850 (exit $ac_status); }; } &&
68851 { ac_try='test -s conftest.$ac_objext'
68852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853 (eval $ac_try) 2>&5
68854 ac_status=$?
68855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856 (exit $ac_status); }; }; then
68857 glibcxx_cv_func_isinff_use=yes
68858 else
68859 echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68862 glibcxx_cv_func_isinff_use=no
68864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68876 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68878 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68880 for ac_func in isinff
68882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68883 echo "$as_me:$LINENO: checking for $ac_func" >&5
68884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68885 if eval "test \"\${$as_ac_var+set}\" = set"; then
68886 echo $ECHO_N "(cached) $ECHO_C" >&6
68887 else
68888 if test x$gcc_no_link = xyes; then
68889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68891 { (exit 1); exit 1; }; }
68893 cat >conftest.$ac_ext <<_ACEOF
68894 /* confdefs.h. */
68895 _ACEOF
68896 cat confdefs.h >>conftest.$ac_ext
68897 cat >>conftest.$ac_ext <<_ACEOF
68898 /* end confdefs.h. */
68899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68901 #define $ac_func innocuous_$ac_func
68903 /* System header to define __stub macros and hopefully few prototypes,
68904 which can conflict with char $ac_func (); below.
68905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68906 <limits.h> exists even on freestanding compilers. */
68908 #ifdef __STDC__
68909 # include <limits.h>
68910 #else
68911 # include <assert.h>
68912 #endif
68914 #undef $ac_func
68916 /* Override any gcc2 internal prototype to avoid an error. */
68917 #ifdef __cplusplus
68918 extern "C"
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922 builtin and then its argument prototype would still apply. */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925 to always fail with ENOSYS. Some functions are actually named
68926 something starting with __ and the normal name is an alias. */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68934 #endif
68937 main ()
68939 return f != $ac_func;
68941 return 0;
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946 (eval $ac_link) 2>conftest.er1
68947 ac_status=$?
68948 grep -v '^ *+' conftest.er1 >conftest.err
68949 rm -f conftest.er1
68950 cat conftest.err >&5
68951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68952 (exit $ac_status); } &&
68953 { ac_try='test -z "$ac_c_werror_flag"
68954 || test ! -s conftest.err'
68955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68956 (eval $ac_try) 2>&5
68957 ac_status=$?
68958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68959 (exit $ac_status); }; } &&
68960 { ac_try='test -s conftest$ac_exeext'
68961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68962 (eval $ac_try) 2>&5
68963 ac_status=$?
68964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68965 (exit $ac_status); }; }; then
68966 eval "$as_ac_var=yes"
68967 else
68968 echo "$as_me: failed program was:" >&5
68969 sed 's/^/| /' conftest.$ac_ext >&5
68971 eval "$as_ac_var=no"
68973 rm -f conftest.err conftest.$ac_objext \
68974 conftest$ac_exeext conftest.$ac_ext
68976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68978 if test `eval echo '${'$as_ac_var'}'` = yes; then
68979 cat >>confdefs.h <<_ACEOF
68980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68981 _ACEOF
68984 done
68986 else
68988 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68989 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68990 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68991 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68992 echo $ECHO_N "(cached) $ECHO_C" >&6
68993 else
68997 ac_ext=cc
68998 ac_cpp='$CXXCPP $CPPFLAGS'
68999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69003 cat >conftest.$ac_ext <<_ACEOF
69004 /* confdefs.h. */
69005 _ACEOF
69006 cat confdefs.h >>conftest.$ac_ext
69007 cat >>conftest.$ac_ext <<_ACEOF
69008 /* end confdefs.h. */
69009 #include <math.h>
69010 #ifdef HAVE_IEEEFP_H
69011 #include <ieeefp.h>
69012 #endif
69015 main ()
69017 _isinff(0);
69019 return 0;
69021 _ACEOF
69022 rm -f conftest.$ac_objext
69023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69024 (eval $ac_compile) 2>conftest.er1
69025 ac_status=$?
69026 grep -v '^ *+' conftest.er1 >conftest.err
69027 rm -f conftest.er1
69028 cat conftest.err >&5
69029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69030 (exit $ac_status); } &&
69031 { ac_try='test -z "$ac_cxx_werror_flag"
69032 || test ! -s conftest.err'
69033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69034 (eval $ac_try) 2>&5
69035 ac_status=$?
69036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69037 (exit $ac_status); }; } &&
69038 { ac_try='test -s conftest.$ac_objext'
69039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69040 (eval $ac_try) 2>&5
69041 ac_status=$?
69042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69043 (exit $ac_status); }; }; then
69044 glibcxx_cv_func__isinff_use=yes
69045 else
69046 echo "$as_me: failed program was:" >&5
69047 sed 's/^/| /' conftest.$ac_ext >&5
69049 glibcxx_cv_func__isinff_use=no
69051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69052 ac_ext=c
69053 ac_cpp='$CPP $CPPFLAGS'
69054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69063 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69065 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69067 for ac_func in _isinff
69069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69070 echo "$as_me:$LINENO: checking for $ac_func" >&5
69071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69072 if eval "test \"\${$as_ac_var+set}\" = set"; then
69073 echo $ECHO_N "(cached) $ECHO_C" >&6
69074 else
69075 if test x$gcc_no_link = xyes; then
69076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69078 { (exit 1); exit 1; }; }
69080 cat >conftest.$ac_ext <<_ACEOF
69081 /* confdefs.h. */
69082 _ACEOF
69083 cat confdefs.h >>conftest.$ac_ext
69084 cat >>conftest.$ac_ext <<_ACEOF
69085 /* end confdefs.h. */
69086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69088 #define $ac_func innocuous_$ac_func
69090 /* System header to define __stub macros and hopefully few prototypes,
69091 which can conflict with char $ac_func (); below.
69092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69093 <limits.h> exists even on freestanding compilers. */
69095 #ifdef __STDC__
69096 # include <limits.h>
69097 #else
69098 # include <assert.h>
69099 #endif
69101 #undef $ac_func
69103 /* Override any gcc2 internal prototype to avoid an error. */
69104 #ifdef __cplusplus
69105 extern "C"
69107 #endif
69108 /* We use char because int might match the return type of a gcc2
69109 builtin and then its argument prototype would still apply. */
69110 char $ac_func ();
69111 /* The GNU C library defines this for functions which it implements
69112 to always fail with ENOSYS. Some functions are actually named
69113 something starting with __ and the normal name is an alias. */
69114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69115 choke me
69116 #else
69117 char (*f) () = $ac_func;
69118 #endif
69119 #ifdef __cplusplus
69121 #endif
69124 main ()
69126 return f != $ac_func;
69128 return 0;
69130 _ACEOF
69131 rm -f conftest.$ac_objext conftest$ac_exeext
69132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69133 (eval $ac_link) 2>conftest.er1
69134 ac_status=$?
69135 grep -v '^ *+' conftest.er1 >conftest.err
69136 rm -f conftest.er1
69137 cat conftest.err >&5
69138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69139 (exit $ac_status); } &&
69140 { ac_try='test -z "$ac_c_werror_flag"
69141 || test ! -s conftest.err'
69142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69143 (eval $ac_try) 2>&5
69144 ac_status=$?
69145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69146 (exit $ac_status); }; } &&
69147 { ac_try='test -s conftest$ac_exeext'
69148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69149 (eval $ac_try) 2>&5
69150 ac_status=$?
69151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69152 (exit $ac_status); }; }; then
69153 eval "$as_ac_var=yes"
69154 else
69155 echo "$as_me: failed program was:" >&5
69156 sed 's/^/| /' conftest.$ac_ext >&5
69158 eval "$as_ac_var=no"
69160 rm -f conftest.err conftest.$ac_objext \
69161 conftest$ac_exeext conftest.$ac_ext
69163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69165 if test `eval echo '${'$as_ac_var'}'` = yes; then
69166 cat >>confdefs.h <<_ACEOF
69167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69168 _ACEOF
69171 done
69181 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69182 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69183 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69184 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69185 echo $ECHO_N "(cached) $ECHO_C" >&6
69186 else
69190 ac_ext=cc
69191 ac_cpp='$CXXCPP $CPPFLAGS'
69192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69196 cat >conftest.$ac_ext <<_ACEOF
69197 /* confdefs.h. */
69198 _ACEOF
69199 cat confdefs.h >>conftest.$ac_ext
69200 cat >>conftest.$ac_ext <<_ACEOF
69201 /* end confdefs.h. */
69202 #include <math.h>
69204 main ()
69206 atan2f(0, 0);
69208 return 0;
69210 _ACEOF
69211 rm -f conftest.$ac_objext
69212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69213 (eval $ac_compile) 2>conftest.er1
69214 ac_status=$?
69215 grep -v '^ *+' conftest.er1 >conftest.err
69216 rm -f conftest.er1
69217 cat conftest.err >&5
69218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69219 (exit $ac_status); } &&
69220 { ac_try='test -z "$ac_cxx_werror_flag"
69221 || test ! -s conftest.err'
69222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69223 (eval $ac_try) 2>&5
69224 ac_status=$?
69225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69226 (exit $ac_status); }; } &&
69227 { ac_try='test -s conftest.$ac_objext'
69228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69229 (eval $ac_try) 2>&5
69230 ac_status=$?
69231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69232 (exit $ac_status); }; }; then
69233 glibcxx_cv_func_atan2f_use=yes
69234 else
69235 echo "$as_me: failed program was:" >&5
69236 sed 's/^/| /' conftest.$ac_ext >&5
69238 glibcxx_cv_func_atan2f_use=no
69240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69241 ac_ext=c
69242 ac_cpp='$CPP $CPPFLAGS'
69243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69252 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69254 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69256 for ac_func in atan2f
69258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69259 echo "$as_me:$LINENO: checking for $ac_func" >&5
69260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69261 if eval "test \"\${$as_ac_var+set}\" = set"; then
69262 echo $ECHO_N "(cached) $ECHO_C" >&6
69263 else
69264 if test x$gcc_no_link = xyes; then
69265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69267 { (exit 1); exit 1; }; }
69269 cat >conftest.$ac_ext <<_ACEOF
69270 /* confdefs.h. */
69271 _ACEOF
69272 cat confdefs.h >>conftest.$ac_ext
69273 cat >>conftest.$ac_ext <<_ACEOF
69274 /* end confdefs.h. */
69275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69277 #define $ac_func innocuous_$ac_func
69279 /* System header to define __stub macros and hopefully few prototypes,
69280 which can conflict with char $ac_func (); below.
69281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69282 <limits.h> exists even on freestanding compilers. */
69284 #ifdef __STDC__
69285 # include <limits.h>
69286 #else
69287 # include <assert.h>
69288 #endif
69290 #undef $ac_func
69292 /* Override any gcc2 internal prototype to avoid an error. */
69293 #ifdef __cplusplus
69294 extern "C"
69296 #endif
69297 /* We use char because int might match the return type of a gcc2
69298 builtin and then its argument prototype would still apply. */
69299 char $ac_func ();
69300 /* The GNU C library defines this for functions which it implements
69301 to always fail with ENOSYS. Some functions are actually named
69302 something starting with __ and the normal name is an alias. */
69303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69304 choke me
69305 #else
69306 char (*f) () = $ac_func;
69307 #endif
69308 #ifdef __cplusplus
69310 #endif
69313 main ()
69315 return f != $ac_func;
69317 return 0;
69319 _ACEOF
69320 rm -f conftest.$ac_objext conftest$ac_exeext
69321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69322 (eval $ac_link) 2>conftest.er1
69323 ac_status=$?
69324 grep -v '^ *+' conftest.er1 >conftest.err
69325 rm -f conftest.er1
69326 cat conftest.err >&5
69327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328 (exit $ac_status); } &&
69329 { ac_try='test -z "$ac_c_werror_flag"
69330 || test ! -s conftest.err'
69331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332 (eval $ac_try) 2>&5
69333 ac_status=$?
69334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335 (exit $ac_status); }; } &&
69336 { ac_try='test -s conftest$ac_exeext'
69337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338 (eval $ac_try) 2>&5
69339 ac_status=$?
69340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341 (exit $ac_status); }; }; then
69342 eval "$as_ac_var=yes"
69343 else
69344 echo "$as_me: failed program was:" >&5
69345 sed 's/^/| /' conftest.$ac_ext >&5
69347 eval "$as_ac_var=no"
69349 rm -f conftest.err conftest.$ac_objext \
69350 conftest$ac_exeext conftest.$ac_ext
69352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69354 if test `eval echo '${'$as_ac_var'}'` = yes; then
69355 cat >>confdefs.h <<_ACEOF
69356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69357 _ACEOF
69360 done
69362 else
69364 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69365 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69366 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69367 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69368 echo $ECHO_N "(cached) $ECHO_C" >&6
69369 else
69373 ac_ext=cc
69374 ac_cpp='$CXXCPP $CPPFLAGS'
69375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69379 cat >conftest.$ac_ext <<_ACEOF
69380 /* confdefs.h. */
69381 _ACEOF
69382 cat confdefs.h >>conftest.$ac_ext
69383 cat >>conftest.$ac_ext <<_ACEOF
69384 /* end confdefs.h. */
69385 #include <math.h>
69387 main ()
69389 _atan2f(0, 0);
69391 return 0;
69393 _ACEOF
69394 rm -f conftest.$ac_objext
69395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69396 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__atan2f_use=yes
69417 else
69418 echo "$as_me: failed program was:" >&5
69419 sed 's/^/| /' conftest.$ac_ext >&5
69421 glibcxx_cv_func__atan2f_use=no
69423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69424 ac_ext=c
69425 ac_cpp='$CPP $CPPFLAGS'
69426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69435 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69437 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69439 for ac_func in _atan2f
69441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69442 echo "$as_me:$LINENO: checking for $ac_func" >&5
69443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69444 if eval "test \"\${$as_ac_var+set}\" = set"; then
69445 echo $ECHO_N "(cached) $ECHO_C" >&6
69446 else
69447 if test x$gcc_no_link = xyes; then
69448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69450 { (exit 1); exit 1; }; }
69452 cat >conftest.$ac_ext <<_ACEOF
69453 /* confdefs.h. */
69454 _ACEOF
69455 cat confdefs.h >>conftest.$ac_ext
69456 cat >>conftest.$ac_ext <<_ACEOF
69457 /* end confdefs.h. */
69458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69460 #define $ac_func innocuous_$ac_func
69462 /* System header to define __stub macros and hopefully few prototypes,
69463 which can conflict with char $ac_func (); below.
69464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69465 <limits.h> exists even on freestanding compilers. */
69467 #ifdef __STDC__
69468 # include <limits.h>
69469 #else
69470 # include <assert.h>
69471 #endif
69473 #undef $ac_func
69475 /* Override any gcc2 internal prototype to avoid an error. */
69476 #ifdef __cplusplus
69477 extern "C"
69479 #endif
69480 /* We use char because int might match the return type of a gcc2
69481 builtin and then its argument prototype would still apply. */
69482 char $ac_func ();
69483 /* The GNU C library defines this for functions which it implements
69484 to always fail with ENOSYS. Some functions are actually named
69485 something starting with __ and the normal name is an alias. */
69486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69487 choke me
69488 #else
69489 char (*f) () = $ac_func;
69490 #endif
69491 #ifdef __cplusplus
69493 #endif
69496 main ()
69498 return f != $ac_func;
69500 return 0;
69502 _ACEOF
69503 rm -f conftest.$ac_objext conftest$ac_exeext
69504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69505 (eval $ac_link) 2>conftest.er1
69506 ac_status=$?
69507 grep -v '^ *+' conftest.er1 >conftest.err
69508 rm -f conftest.er1
69509 cat conftest.err >&5
69510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69511 (exit $ac_status); } &&
69512 { ac_try='test -z "$ac_c_werror_flag"
69513 || test ! -s conftest.err'
69514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69515 (eval $ac_try) 2>&5
69516 ac_status=$?
69517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69518 (exit $ac_status); }; } &&
69519 { ac_try='test -s conftest$ac_exeext'
69520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69521 (eval $ac_try) 2>&5
69522 ac_status=$?
69523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69524 (exit $ac_status); }; }; then
69525 eval "$as_ac_var=yes"
69526 else
69527 echo "$as_me: failed program was:" >&5
69528 sed 's/^/| /' conftest.$ac_ext >&5
69530 eval "$as_ac_var=no"
69532 rm -f conftest.err conftest.$ac_objext \
69533 conftest$ac_exeext conftest.$ac_ext
69535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69537 if test `eval echo '${'$as_ac_var'}'` = yes; then
69538 cat >>confdefs.h <<_ACEOF
69539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69540 _ACEOF
69543 done
69553 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69554 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69555 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69556 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69557 echo $ECHO_N "(cached) $ECHO_C" >&6
69558 else
69562 ac_ext=cc
69563 ac_cpp='$CXXCPP $CPPFLAGS'
69564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69568 cat >conftest.$ac_ext <<_ACEOF
69569 /* confdefs.h. */
69570 _ACEOF
69571 cat confdefs.h >>conftest.$ac_ext
69572 cat >>conftest.$ac_ext <<_ACEOF
69573 /* end confdefs.h. */
69574 #include <math.h>
69575 #ifdef HAVE_IEEEFP_H
69576 #include <ieeefp.h>
69577 #endif
69580 main ()
69582 fabsf(0);
69584 return 0;
69586 _ACEOF
69587 rm -f conftest.$ac_objext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69589 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_fabsf_use=yes
69610 else
69611 echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69614 glibcxx_cv_func_fabsf_use=no
69616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69628 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69630 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69632 for ac_func in fabsf
69634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69635 echo "$as_me:$LINENO: checking for $ac_func" >&5
69636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69637 if eval "test \"\${$as_ac_var+set}\" = set"; then
69638 echo $ECHO_N "(cached) $ECHO_C" >&6
69639 else
69640 if test x$gcc_no_link = xyes; then
69641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69643 { (exit 1); exit 1; }; }
69645 cat >conftest.$ac_ext <<_ACEOF
69646 /* confdefs.h. */
69647 _ACEOF
69648 cat confdefs.h >>conftest.$ac_ext
69649 cat >>conftest.$ac_ext <<_ACEOF
69650 /* end confdefs.h. */
69651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69653 #define $ac_func innocuous_$ac_func
69655 /* System header to define __stub macros and hopefully few prototypes,
69656 which can conflict with char $ac_func (); below.
69657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69658 <limits.h> exists even on freestanding compilers. */
69660 #ifdef __STDC__
69661 # include <limits.h>
69662 #else
69663 # include <assert.h>
69664 #endif
69666 #undef $ac_func
69668 /* Override any gcc2 internal prototype to avoid an error. */
69669 #ifdef __cplusplus
69670 extern "C"
69672 #endif
69673 /* We use char because int might match the return type of a gcc2
69674 builtin and then its argument prototype would still apply. */
69675 char $ac_func ();
69676 /* The GNU C library defines this for functions which it implements
69677 to always fail with ENOSYS. Some functions are actually named
69678 something starting with __ and the normal name is an alias. */
69679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69680 choke me
69681 #else
69682 char (*f) () = $ac_func;
69683 #endif
69684 #ifdef __cplusplus
69686 #endif
69689 main ()
69691 return f != $ac_func;
69693 return 0;
69695 _ACEOF
69696 rm -f conftest.$ac_objext conftest$ac_exeext
69697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69698 (eval $ac_link) 2>conftest.er1
69699 ac_status=$?
69700 grep -v '^ *+' conftest.er1 >conftest.err
69701 rm -f conftest.er1
69702 cat conftest.err >&5
69703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69704 (exit $ac_status); } &&
69705 { ac_try='test -z "$ac_c_werror_flag"
69706 || test ! -s conftest.err'
69707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69708 (eval $ac_try) 2>&5
69709 ac_status=$?
69710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711 (exit $ac_status); }; } &&
69712 { ac_try='test -s conftest$ac_exeext'
69713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714 (eval $ac_try) 2>&5
69715 ac_status=$?
69716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717 (exit $ac_status); }; }; then
69718 eval "$as_ac_var=yes"
69719 else
69720 echo "$as_me: failed program was:" >&5
69721 sed 's/^/| /' conftest.$ac_ext >&5
69723 eval "$as_ac_var=no"
69725 rm -f conftest.err conftest.$ac_objext \
69726 conftest$ac_exeext conftest.$ac_ext
69728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69730 if test `eval echo '${'$as_ac_var'}'` = yes; then
69731 cat >>confdefs.h <<_ACEOF
69732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69733 _ACEOF
69736 done
69738 else
69740 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69741 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69742 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69743 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69744 echo $ECHO_N "(cached) $ECHO_C" >&6
69745 else
69749 ac_ext=cc
69750 ac_cpp='$CXXCPP $CPPFLAGS'
69751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69755 cat >conftest.$ac_ext <<_ACEOF
69756 /* confdefs.h. */
69757 _ACEOF
69758 cat confdefs.h >>conftest.$ac_ext
69759 cat >>conftest.$ac_ext <<_ACEOF
69760 /* end confdefs.h. */
69761 #include <math.h>
69762 #ifdef HAVE_IEEEFP_H
69763 #include <ieeefp.h>
69764 #endif
69767 main ()
69769 _fabsf(0);
69771 return 0;
69773 _ACEOF
69774 rm -f conftest.$ac_objext
69775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69776 (eval $ac_compile) 2>conftest.er1
69777 ac_status=$?
69778 grep -v '^ *+' conftest.er1 >conftest.err
69779 rm -f conftest.er1
69780 cat conftest.err >&5
69781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69782 (exit $ac_status); } &&
69783 { ac_try='test -z "$ac_cxx_werror_flag"
69784 || test ! -s conftest.err'
69785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69786 (eval $ac_try) 2>&5
69787 ac_status=$?
69788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69789 (exit $ac_status); }; } &&
69790 { ac_try='test -s conftest.$ac_objext'
69791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69792 (eval $ac_try) 2>&5
69793 ac_status=$?
69794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69795 (exit $ac_status); }; }; then
69796 glibcxx_cv_func__fabsf_use=yes
69797 else
69798 echo "$as_me: failed program was:" >&5
69799 sed 's/^/| /' conftest.$ac_ext >&5
69801 glibcxx_cv_func__fabsf_use=no
69803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69804 ac_ext=c
69805 ac_cpp='$CPP $CPPFLAGS'
69806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69814 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69815 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69817 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69819 for ac_func in _fabsf
69821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69822 echo "$as_me:$LINENO: checking for $ac_func" >&5
69823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69824 if eval "test \"\${$as_ac_var+set}\" = set"; then
69825 echo $ECHO_N "(cached) $ECHO_C" >&6
69826 else
69827 if test x$gcc_no_link = xyes; then
69828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69830 { (exit 1); exit 1; }; }
69832 cat >conftest.$ac_ext <<_ACEOF
69833 /* confdefs.h. */
69834 _ACEOF
69835 cat confdefs.h >>conftest.$ac_ext
69836 cat >>conftest.$ac_ext <<_ACEOF
69837 /* end confdefs.h. */
69838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69840 #define $ac_func innocuous_$ac_func
69842 /* System header to define __stub macros and hopefully few prototypes,
69843 which can conflict with char $ac_func (); below.
69844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69845 <limits.h> exists even on freestanding compilers. */
69847 #ifdef __STDC__
69848 # include <limits.h>
69849 #else
69850 # include <assert.h>
69851 #endif
69853 #undef $ac_func
69855 /* Override any gcc2 internal prototype to avoid an error. */
69856 #ifdef __cplusplus
69857 extern "C"
69859 #endif
69860 /* We use char because int might match the return type of a gcc2
69861 builtin and then its argument prototype would still apply. */
69862 char $ac_func ();
69863 /* The GNU C library defines this for functions which it implements
69864 to always fail with ENOSYS. Some functions are actually named
69865 something starting with __ and the normal name is an alias. */
69866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69867 choke me
69868 #else
69869 char (*f) () = $ac_func;
69870 #endif
69871 #ifdef __cplusplus
69873 #endif
69876 main ()
69878 return f != $ac_func;
69880 return 0;
69882 _ACEOF
69883 rm -f conftest.$ac_objext conftest$ac_exeext
69884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69885 (eval $ac_link) 2>conftest.er1
69886 ac_status=$?
69887 grep -v '^ *+' conftest.er1 >conftest.err
69888 rm -f conftest.er1
69889 cat conftest.err >&5
69890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69891 (exit $ac_status); } &&
69892 { ac_try='test -z "$ac_c_werror_flag"
69893 || test ! -s conftest.err'
69894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69895 (eval $ac_try) 2>&5
69896 ac_status=$?
69897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69898 (exit $ac_status); }; } &&
69899 { ac_try='test -s conftest$ac_exeext'
69900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69901 (eval $ac_try) 2>&5
69902 ac_status=$?
69903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69904 (exit $ac_status); }; }; then
69905 eval "$as_ac_var=yes"
69906 else
69907 echo "$as_me: failed program was:" >&5
69908 sed 's/^/| /' conftest.$ac_ext >&5
69910 eval "$as_ac_var=no"
69912 rm -f conftest.err conftest.$ac_objext \
69913 conftest$ac_exeext conftest.$ac_ext
69915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69917 if test `eval echo '${'$as_ac_var'}'` = yes; then
69918 cat >>confdefs.h <<_ACEOF
69919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69920 _ACEOF
69923 done
69933 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69934 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69935 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69936 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69937 echo $ECHO_N "(cached) $ECHO_C" >&6
69938 else
69942 ac_ext=cc
69943 ac_cpp='$CXXCPP $CPPFLAGS'
69944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69948 cat >conftest.$ac_ext <<_ACEOF
69949 /* confdefs.h. */
69950 _ACEOF
69951 cat confdefs.h >>conftest.$ac_ext
69952 cat >>conftest.$ac_ext <<_ACEOF
69953 /* end confdefs.h. */
69954 #include <math.h>
69956 main ()
69958 fmodf(0, 0);
69960 return 0;
69962 _ACEOF
69963 rm -f conftest.$ac_objext
69964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69965 (eval $ac_compile) 2>conftest.er1
69966 ac_status=$?
69967 grep -v '^ *+' conftest.er1 >conftest.err
69968 rm -f conftest.er1
69969 cat conftest.err >&5
69970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69971 (exit $ac_status); } &&
69972 { ac_try='test -z "$ac_cxx_werror_flag"
69973 || test ! -s conftest.err'
69974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69975 (eval $ac_try) 2>&5
69976 ac_status=$?
69977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978 (exit $ac_status); }; } &&
69979 { ac_try='test -s conftest.$ac_objext'
69980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69981 (eval $ac_try) 2>&5
69982 ac_status=$?
69983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69984 (exit $ac_status); }; }; then
69985 glibcxx_cv_func_fmodf_use=yes
69986 else
69987 echo "$as_me: failed program was:" >&5
69988 sed 's/^/| /' conftest.$ac_ext >&5
69990 glibcxx_cv_func_fmodf_use=no
69992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69993 ac_ext=c
69994 ac_cpp='$CPP $CPPFLAGS'
69995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70004 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70006 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70008 for ac_func in fmodf
70010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70011 echo "$as_me:$LINENO: checking for $ac_func" >&5
70012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70013 if eval "test \"\${$as_ac_var+set}\" = set"; then
70014 echo $ECHO_N "(cached) $ECHO_C" >&6
70015 else
70016 if test x$gcc_no_link = xyes; then
70017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70019 { (exit 1); exit 1; }; }
70021 cat >conftest.$ac_ext <<_ACEOF
70022 /* confdefs.h. */
70023 _ACEOF
70024 cat confdefs.h >>conftest.$ac_ext
70025 cat >>conftest.$ac_ext <<_ACEOF
70026 /* end confdefs.h. */
70027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70029 #define $ac_func innocuous_$ac_func
70031 /* System header to define __stub macros and hopefully few prototypes,
70032 which can conflict with char $ac_func (); below.
70033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70034 <limits.h> exists even on freestanding compilers. */
70036 #ifdef __STDC__
70037 # include <limits.h>
70038 #else
70039 # include <assert.h>
70040 #endif
70042 #undef $ac_func
70044 /* Override any gcc2 internal prototype to avoid an error. */
70045 #ifdef __cplusplus
70046 extern "C"
70048 #endif
70049 /* We use char because int might match the return type of a gcc2
70050 builtin and then its argument prototype would still apply. */
70051 char $ac_func ();
70052 /* The GNU C library defines this for functions which it implements
70053 to always fail with ENOSYS. Some functions are actually named
70054 something starting with __ and the normal name is an alias. */
70055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70056 choke me
70057 #else
70058 char (*f) () = $ac_func;
70059 #endif
70060 #ifdef __cplusplus
70062 #endif
70065 main ()
70067 return f != $ac_func;
70069 return 0;
70071 _ACEOF
70072 rm -f conftest.$ac_objext conftest$ac_exeext
70073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70074 (eval $ac_link) 2>conftest.er1
70075 ac_status=$?
70076 grep -v '^ *+' conftest.er1 >conftest.err
70077 rm -f conftest.er1
70078 cat conftest.err >&5
70079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70080 (exit $ac_status); } &&
70081 { ac_try='test -z "$ac_c_werror_flag"
70082 || test ! -s conftest.err'
70083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084 (eval $ac_try) 2>&5
70085 ac_status=$?
70086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087 (exit $ac_status); }; } &&
70088 { ac_try='test -s conftest$ac_exeext'
70089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70090 (eval $ac_try) 2>&5
70091 ac_status=$?
70092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70093 (exit $ac_status); }; }; then
70094 eval "$as_ac_var=yes"
70095 else
70096 echo "$as_me: failed program was:" >&5
70097 sed 's/^/| /' conftest.$ac_ext >&5
70099 eval "$as_ac_var=no"
70101 rm -f conftest.err conftest.$ac_objext \
70102 conftest$ac_exeext conftest.$ac_ext
70104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70106 if test `eval echo '${'$as_ac_var'}'` = yes; then
70107 cat >>confdefs.h <<_ACEOF
70108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70109 _ACEOF
70112 done
70114 else
70116 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70117 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70118 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70119 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70120 echo $ECHO_N "(cached) $ECHO_C" >&6
70121 else
70125 ac_ext=cc
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70131 cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h. */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h. */
70137 #include <math.h>
70139 main ()
70141 _fmodf(0, 0);
70143 return 0;
70145 _ACEOF
70146 rm -f conftest.$ac_objext
70147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70148 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fmodf_use=yes
70169 else
70170 echo "$as_me: failed program was:" >&5
70171 sed 's/^/| /' conftest.$ac_ext >&5
70173 glibcxx_cv_func__fmodf_use=no
70175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70176 ac_ext=c
70177 ac_cpp='$CPP $CPPFLAGS'
70178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70187 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70189 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70191 for ac_func in _fmodf
70193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70194 echo "$as_me:$LINENO: checking for $ac_func" >&5
70195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70196 if eval "test \"\${$as_ac_var+set}\" = set"; then
70197 echo $ECHO_N "(cached) $ECHO_C" >&6
70198 else
70199 if test x$gcc_no_link = xyes; then
70200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70202 { (exit 1); exit 1; }; }
70204 cat >conftest.$ac_ext <<_ACEOF
70205 /* confdefs.h. */
70206 _ACEOF
70207 cat confdefs.h >>conftest.$ac_ext
70208 cat >>conftest.$ac_ext <<_ACEOF
70209 /* end confdefs.h. */
70210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70212 #define $ac_func innocuous_$ac_func
70214 /* System header to define __stub macros and hopefully few prototypes,
70215 which can conflict with char $ac_func (); below.
70216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70217 <limits.h> exists even on freestanding compilers. */
70219 #ifdef __STDC__
70220 # include <limits.h>
70221 #else
70222 # include <assert.h>
70223 #endif
70225 #undef $ac_func
70227 /* Override any gcc2 internal prototype to avoid an error. */
70228 #ifdef __cplusplus
70229 extern "C"
70231 #endif
70232 /* We use char because int might match the return type of a gcc2
70233 builtin and then its argument prototype would still apply. */
70234 char $ac_func ();
70235 /* The GNU C library defines this for functions which it implements
70236 to always fail with ENOSYS. Some functions are actually named
70237 something starting with __ and the normal name is an alias. */
70238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70239 choke me
70240 #else
70241 char (*f) () = $ac_func;
70242 #endif
70243 #ifdef __cplusplus
70245 #endif
70248 main ()
70250 return f != $ac_func;
70252 return 0;
70254 _ACEOF
70255 rm -f conftest.$ac_objext conftest$ac_exeext
70256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70257 (eval $ac_link) 2>conftest.er1
70258 ac_status=$?
70259 grep -v '^ *+' conftest.er1 >conftest.err
70260 rm -f conftest.er1
70261 cat conftest.err >&5
70262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70263 (exit $ac_status); } &&
70264 { ac_try='test -z "$ac_c_werror_flag"
70265 || test ! -s conftest.err'
70266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267 (eval $ac_try) 2>&5
70268 ac_status=$?
70269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270 (exit $ac_status); }; } &&
70271 { ac_try='test -s conftest$ac_exeext'
70272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273 (eval $ac_try) 2>&5
70274 ac_status=$?
70275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276 (exit $ac_status); }; }; then
70277 eval "$as_ac_var=yes"
70278 else
70279 echo "$as_me: failed program was:" >&5
70280 sed 's/^/| /' conftest.$ac_ext >&5
70282 eval "$as_ac_var=no"
70284 rm -f conftest.err conftest.$ac_objext \
70285 conftest$ac_exeext conftest.$ac_ext
70287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70289 if test `eval echo '${'$as_ac_var'}'` = yes; then
70290 cat >>confdefs.h <<_ACEOF
70291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70292 _ACEOF
70295 done
70305 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70306 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70307 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70308 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70309 echo $ECHO_N "(cached) $ECHO_C" >&6
70310 else
70314 ac_ext=cc
70315 ac_cpp='$CXXCPP $CPPFLAGS'
70316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70320 cat >conftest.$ac_ext <<_ACEOF
70321 /* confdefs.h. */
70322 _ACEOF
70323 cat confdefs.h >>conftest.$ac_ext
70324 cat >>conftest.$ac_ext <<_ACEOF
70325 /* end confdefs.h. */
70326 #include <math.h>
70328 main ()
70330 frexpf(0, 0);
70332 return 0;
70334 _ACEOF
70335 rm -f conftest.$ac_objext
70336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70337 (eval $ac_compile) 2>conftest.er1
70338 ac_status=$?
70339 grep -v '^ *+' conftest.er1 >conftest.err
70340 rm -f conftest.er1
70341 cat conftest.err >&5
70342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70343 (exit $ac_status); } &&
70344 { ac_try='test -z "$ac_cxx_werror_flag"
70345 || test ! -s conftest.err'
70346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70347 (eval $ac_try) 2>&5
70348 ac_status=$?
70349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70350 (exit $ac_status); }; } &&
70351 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
70357 glibcxx_cv_func_frexpf_use=yes
70358 else
70359 echo "$as_me: failed program was:" >&5
70360 sed 's/^/| /' conftest.$ac_ext >&5
70362 glibcxx_cv_func_frexpf_use=no
70364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70365 ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70376 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70378 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70380 for ac_func in frexpf
70382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70383 echo "$as_me:$LINENO: checking for $ac_func" >&5
70384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70385 if eval "test \"\${$as_ac_var+set}\" = set"; then
70386 echo $ECHO_N "(cached) $ECHO_C" >&6
70387 else
70388 if test x$gcc_no_link = xyes; then
70389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70391 { (exit 1); exit 1; }; }
70393 cat >conftest.$ac_ext <<_ACEOF
70394 /* confdefs.h. */
70395 _ACEOF
70396 cat confdefs.h >>conftest.$ac_ext
70397 cat >>conftest.$ac_ext <<_ACEOF
70398 /* end confdefs.h. */
70399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70401 #define $ac_func innocuous_$ac_func
70403 /* System header to define __stub macros and hopefully few prototypes,
70404 which can conflict with char $ac_func (); below.
70405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70406 <limits.h> exists even on freestanding compilers. */
70408 #ifdef __STDC__
70409 # include <limits.h>
70410 #else
70411 # include <assert.h>
70412 #endif
70414 #undef $ac_func
70416 /* Override any gcc2 internal prototype to avoid an error. */
70417 #ifdef __cplusplus
70418 extern "C"
70420 #endif
70421 /* We use char because int might match the return type of a gcc2
70422 builtin and then its argument prototype would still apply. */
70423 char $ac_func ();
70424 /* The GNU C library defines this for functions which it implements
70425 to always fail with ENOSYS. Some functions are actually named
70426 something starting with __ and the normal name is an alias. */
70427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70428 choke me
70429 #else
70430 char (*f) () = $ac_func;
70431 #endif
70432 #ifdef __cplusplus
70434 #endif
70437 main ()
70439 return f != $ac_func;
70441 return 0;
70443 _ACEOF
70444 rm -f conftest.$ac_objext conftest$ac_exeext
70445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70446 (eval $ac_link) 2>conftest.er1
70447 ac_status=$?
70448 grep -v '^ *+' conftest.er1 >conftest.err
70449 rm -f conftest.er1
70450 cat conftest.err >&5
70451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70452 (exit $ac_status); } &&
70453 { ac_try='test -z "$ac_c_werror_flag"
70454 || test ! -s conftest.err'
70455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70456 (eval $ac_try) 2>&5
70457 ac_status=$?
70458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70459 (exit $ac_status); }; } &&
70460 { ac_try='test -s conftest$ac_exeext'
70461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70462 (eval $ac_try) 2>&5
70463 ac_status=$?
70464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70465 (exit $ac_status); }; }; then
70466 eval "$as_ac_var=yes"
70467 else
70468 echo "$as_me: failed program was:" >&5
70469 sed 's/^/| /' conftest.$ac_ext >&5
70471 eval "$as_ac_var=no"
70473 rm -f conftest.err conftest.$ac_objext \
70474 conftest$ac_exeext conftest.$ac_ext
70476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70478 if test `eval echo '${'$as_ac_var'}'` = yes; then
70479 cat >>confdefs.h <<_ACEOF
70480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70481 _ACEOF
70484 done
70486 else
70488 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70489 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70490 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70491 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70492 echo $ECHO_N "(cached) $ECHO_C" >&6
70493 else
70497 ac_ext=cc
70498 ac_cpp='$CXXCPP $CPPFLAGS'
70499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70503 cat >conftest.$ac_ext <<_ACEOF
70504 /* confdefs.h. */
70505 _ACEOF
70506 cat confdefs.h >>conftest.$ac_ext
70507 cat >>conftest.$ac_ext <<_ACEOF
70508 /* end confdefs.h. */
70509 #include <math.h>
70511 main ()
70513 _frexpf(0, 0);
70515 return 0;
70517 _ACEOF
70518 rm -f conftest.$ac_objext
70519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70520 (eval $ac_compile) 2>conftest.er1
70521 ac_status=$?
70522 grep -v '^ *+' conftest.er1 >conftest.err
70523 rm -f conftest.er1
70524 cat conftest.err >&5
70525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70526 (exit $ac_status); } &&
70527 { ac_try='test -z "$ac_cxx_werror_flag"
70528 || test ! -s conftest.err'
70529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70530 (eval $ac_try) 2>&5
70531 ac_status=$?
70532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70533 (exit $ac_status); }; } &&
70534 { ac_try='test -s conftest.$ac_objext'
70535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70536 (eval $ac_try) 2>&5
70537 ac_status=$?
70538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539 (exit $ac_status); }; }; then
70540 glibcxx_cv_func__frexpf_use=yes
70541 else
70542 echo "$as_me: failed program was:" >&5
70543 sed 's/^/| /' conftest.$ac_ext >&5
70545 glibcxx_cv_func__frexpf_use=no
70547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70559 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70561 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70563 for ac_func in _frexpf
70565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70566 echo "$as_me:$LINENO: checking for $ac_func" >&5
70567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70568 if eval "test \"\${$as_ac_var+set}\" = set"; then
70569 echo $ECHO_N "(cached) $ECHO_C" >&6
70570 else
70571 if test x$gcc_no_link = xyes; then
70572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70574 { (exit 1); exit 1; }; }
70576 cat >conftest.$ac_ext <<_ACEOF
70577 /* confdefs.h. */
70578 _ACEOF
70579 cat confdefs.h >>conftest.$ac_ext
70580 cat >>conftest.$ac_ext <<_ACEOF
70581 /* end confdefs.h. */
70582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70584 #define $ac_func innocuous_$ac_func
70586 /* System header to define __stub macros and hopefully few prototypes,
70587 which can conflict with char $ac_func (); below.
70588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70589 <limits.h> exists even on freestanding compilers. */
70591 #ifdef __STDC__
70592 # include <limits.h>
70593 #else
70594 # include <assert.h>
70595 #endif
70597 #undef $ac_func
70599 /* Override any gcc2 internal prototype to avoid an error. */
70600 #ifdef __cplusplus
70601 extern "C"
70603 #endif
70604 /* We use char because int might match the return type of a gcc2
70605 builtin and then its argument prototype would still apply. */
70606 char $ac_func ();
70607 /* The GNU C library defines this for functions which it implements
70608 to always fail with ENOSYS. Some functions are actually named
70609 something starting with __ and the normal name is an alias. */
70610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70611 choke me
70612 #else
70613 char (*f) () = $ac_func;
70614 #endif
70615 #ifdef __cplusplus
70617 #endif
70620 main ()
70622 return f != $ac_func;
70624 return 0;
70626 _ACEOF
70627 rm -f conftest.$ac_objext conftest$ac_exeext
70628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70629 (eval $ac_link) 2>conftest.er1
70630 ac_status=$?
70631 grep -v '^ *+' conftest.er1 >conftest.err
70632 rm -f conftest.er1
70633 cat conftest.err >&5
70634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70635 (exit $ac_status); } &&
70636 { ac_try='test -z "$ac_c_werror_flag"
70637 || test ! -s conftest.err'
70638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70639 (eval $ac_try) 2>&5
70640 ac_status=$?
70641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70642 (exit $ac_status); }; } &&
70643 { ac_try='test -s conftest$ac_exeext'
70644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70645 (eval $ac_try) 2>&5
70646 ac_status=$?
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); }; }; then
70649 eval "$as_ac_var=yes"
70650 else
70651 echo "$as_me: failed program was:" >&5
70652 sed 's/^/| /' conftest.$ac_ext >&5
70654 eval "$as_ac_var=no"
70656 rm -f conftest.err conftest.$ac_objext \
70657 conftest$ac_exeext conftest.$ac_ext
70659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70661 if test `eval echo '${'$as_ac_var'}'` = yes; then
70662 cat >>confdefs.h <<_ACEOF
70663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70664 _ACEOF
70667 done
70677 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70678 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70679 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70680 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70681 echo $ECHO_N "(cached) $ECHO_C" >&6
70682 else
70686 ac_ext=cc
70687 ac_cpp='$CXXCPP $CPPFLAGS'
70688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70692 cat >conftest.$ac_ext <<_ACEOF
70693 /* confdefs.h. */
70694 _ACEOF
70695 cat confdefs.h >>conftest.$ac_ext
70696 cat >>conftest.$ac_ext <<_ACEOF
70697 /* end confdefs.h. */
70698 #include <math.h>
70700 main ()
70702 hypotf(0, 0);
70704 return 0;
70706 _ACEOF
70707 rm -f conftest.$ac_objext
70708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70709 (eval $ac_compile) 2>conftest.er1
70710 ac_status=$?
70711 grep -v '^ *+' conftest.er1 >conftest.err
70712 rm -f conftest.er1
70713 cat conftest.err >&5
70714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70715 (exit $ac_status); } &&
70716 { ac_try='test -z "$ac_cxx_werror_flag"
70717 || test ! -s conftest.err'
70718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70719 (eval $ac_try) 2>&5
70720 ac_status=$?
70721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70722 (exit $ac_status); }; } &&
70723 { ac_try='test -s conftest.$ac_objext'
70724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70725 (eval $ac_try) 2>&5
70726 ac_status=$?
70727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70728 (exit $ac_status); }; }; then
70729 glibcxx_cv_func_hypotf_use=yes
70730 else
70731 echo "$as_me: failed program was:" >&5
70732 sed 's/^/| /' conftest.$ac_ext >&5
70734 glibcxx_cv_func_hypotf_use=no
70736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70737 ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70748 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70750 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70752 for ac_func in hypotf
70754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70755 echo "$as_me:$LINENO: checking for $ac_func" >&5
70756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70757 if eval "test \"\${$as_ac_var+set}\" = set"; then
70758 echo $ECHO_N "(cached) $ECHO_C" >&6
70759 else
70760 if test x$gcc_no_link = xyes; then
70761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70763 { (exit 1); exit 1; }; }
70765 cat >conftest.$ac_ext <<_ACEOF
70766 /* confdefs.h. */
70767 _ACEOF
70768 cat confdefs.h >>conftest.$ac_ext
70769 cat >>conftest.$ac_ext <<_ACEOF
70770 /* end confdefs.h. */
70771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70773 #define $ac_func innocuous_$ac_func
70775 /* System header to define __stub macros and hopefully few prototypes,
70776 which can conflict with char $ac_func (); below.
70777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70778 <limits.h> exists even on freestanding compilers. */
70780 #ifdef __STDC__
70781 # include <limits.h>
70782 #else
70783 # include <assert.h>
70784 #endif
70786 #undef $ac_func
70788 /* Override any gcc2 internal prototype to avoid an error. */
70789 #ifdef __cplusplus
70790 extern "C"
70792 #endif
70793 /* We use char because int might match the return type of a gcc2
70794 builtin and then its argument prototype would still apply. */
70795 char $ac_func ();
70796 /* The GNU C library defines this for functions which it implements
70797 to always fail with ENOSYS. Some functions are actually named
70798 something starting with __ and the normal name is an alias. */
70799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70800 choke me
70801 #else
70802 char (*f) () = $ac_func;
70803 #endif
70804 #ifdef __cplusplus
70806 #endif
70809 main ()
70811 return f != $ac_func;
70813 return 0;
70815 _ACEOF
70816 rm -f conftest.$ac_objext conftest$ac_exeext
70817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70818 (eval $ac_link) 2>conftest.er1
70819 ac_status=$?
70820 grep -v '^ *+' conftest.er1 >conftest.err
70821 rm -f conftest.er1
70822 cat conftest.err >&5
70823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70824 (exit $ac_status); } &&
70825 { ac_try='test -z "$ac_c_werror_flag"
70826 || test ! -s conftest.err'
70827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70828 (eval $ac_try) 2>&5
70829 ac_status=$?
70830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70831 (exit $ac_status); }; } &&
70832 { ac_try='test -s conftest$ac_exeext'
70833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70834 (eval $ac_try) 2>&5
70835 ac_status=$?
70836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837 (exit $ac_status); }; }; then
70838 eval "$as_ac_var=yes"
70839 else
70840 echo "$as_me: failed program was:" >&5
70841 sed 's/^/| /' conftest.$ac_ext >&5
70843 eval "$as_ac_var=no"
70845 rm -f conftest.err conftest.$ac_objext \
70846 conftest$ac_exeext conftest.$ac_ext
70848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70850 if test `eval echo '${'$as_ac_var'}'` = yes; then
70851 cat >>confdefs.h <<_ACEOF
70852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70853 _ACEOF
70856 done
70858 else
70860 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70861 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70862 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70863 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70864 echo $ECHO_N "(cached) $ECHO_C" >&6
70865 else
70869 ac_ext=cc
70870 ac_cpp='$CXXCPP $CPPFLAGS'
70871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70875 cat >conftest.$ac_ext <<_ACEOF
70876 /* confdefs.h. */
70877 _ACEOF
70878 cat confdefs.h >>conftest.$ac_ext
70879 cat >>conftest.$ac_ext <<_ACEOF
70880 /* end confdefs.h. */
70881 #include <math.h>
70883 main ()
70885 _hypotf(0, 0);
70887 return 0;
70889 _ACEOF
70890 rm -f conftest.$ac_objext
70891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70892 (eval $ac_compile) 2>conftest.er1
70893 ac_status=$?
70894 grep -v '^ *+' conftest.er1 >conftest.err
70895 rm -f conftest.er1
70896 cat conftest.err >&5
70897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70898 (exit $ac_status); } &&
70899 { ac_try='test -z "$ac_cxx_werror_flag"
70900 || test ! -s conftest.err'
70901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70902 (eval $ac_try) 2>&5
70903 ac_status=$?
70904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70905 (exit $ac_status); }; } &&
70906 { ac_try='test -s conftest.$ac_objext'
70907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70908 (eval $ac_try) 2>&5
70909 ac_status=$?
70910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70911 (exit $ac_status); }; }; then
70912 glibcxx_cv_func__hypotf_use=yes
70913 else
70914 echo "$as_me: failed program was:" >&5
70915 sed 's/^/| /' conftest.$ac_ext >&5
70917 glibcxx_cv_func__hypotf_use=no
70919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70920 ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70931 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70933 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70935 for ac_func in _hypotf
70937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70938 echo "$as_me:$LINENO: checking for $ac_func" >&5
70939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70940 if eval "test \"\${$as_ac_var+set}\" = set"; then
70941 echo $ECHO_N "(cached) $ECHO_C" >&6
70942 else
70943 if test x$gcc_no_link = xyes; then
70944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70946 { (exit 1); exit 1; }; }
70948 cat >conftest.$ac_ext <<_ACEOF
70949 /* confdefs.h. */
70950 _ACEOF
70951 cat confdefs.h >>conftest.$ac_ext
70952 cat >>conftest.$ac_ext <<_ACEOF
70953 /* end confdefs.h. */
70954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70956 #define $ac_func innocuous_$ac_func
70958 /* System header to define __stub macros and hopefully few prototypes,
70959 which can conflict with char $ac_func (); below.
70960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70961 <limits.h> exists even on freestanding compilers. */
70963 #ifdef __STDC__
70964 # include <limits.h>
70965 #else
70966 # include <assert.h>
70967 #endif
70969 #undef $ac_func
70971 /* Override any gcc2 internal prototype to avoid an error. */
70972 #ifdef __cplusplus
70973 extern "C"
70975 #endif
70976 /* We use char because int might match the return type of a gcc2
70977 builtin and then its argument prototype would still apply. */
70978 char $ac_func ();
70979 /* The GNU C library defines this for functions which it implements
70980 to always fail with ENOSYS. Some functions are actually named
70981 something starting with __ and the normal name is an alias. */
70982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70983 choke me
70984 #else
70985 char (*f) () = $ac_func;
70986 #endif
70987 #ifdef __cplusplus
70989 #endif
70992 main ()
70994 return f != $ac_func;
70996 return 0;
70998 _ACEOF
70999 rm -f conftest.$ac_objext conftest$ac_exeext
71000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71001 (eval $ac_link) 2>conftest.er1
71002 ac_status=$?
71003 grep -v '^ *+' conftest.er1 >conftest.err
71004 rm -f conftest.er1
71005 cat conftest.err >&5
71006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71007 (exit $ac_status); } &&
71008 { ac_try='test -z "$ac_c_werror_flag"
71009 || test ! -s conftest.err'
71010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011 (eval $ac_try) 2>&5
71012 ac_status=$?
71013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014 (exit $ac_status); }; } &&
71015 { ac_try='test -s conftest$ac_exeext'
71016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71017 (eval $ac_try) 2>&5
71018 ac_status=$?
71019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020 (exit $ac_status); }; }; then
71021 eval "$as_ac_var=yes"
71022 else
71023 echo "$as_me: failed program was:" >&5
71024 sed 's/^/| /' conftest.$ac_ext >&5
71026 eval "$as_ac_var=no"
71028 rm -f conftest.err conftest.$ac_objext \
71029 conftest$ac_exeext conftest.$ac_ext
71031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71033 if test `eval echo '${'$as_ac_var'}'` = yes; then
71034 cat >>confdefs.h <<_ACEOF
71035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71036 _ACEOF
71039 done
71049 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71050 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71051 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71052 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71053 echo $ECHO_N "(cached) $ECHO_C" >&6
71054 else
71058 ac_ext=cc
71059 ac_cpp='$CXXCPP $CPPFLAGS'
71060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71064 cat >conftest.$ac_ext <<_ACEOF
71065 /* confdefs.h. */
71066 _ACEOF
71067 cat confdefs.h >>conftest.$ac_ext
71068 cat >>conftest.$ac_ext <<_ACEOF
71069 /* end confdefs.h. */
71070 #include <math.h>
71072 main ()
71074 ldexpf(0, 0);
71076 return 0;
71078 _ACEOF
71079 rm -f conftest.$ac_objext
71080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71081 (eval $ac_compile) 2>conftest.er1
71082 ac_status=$?
71083 grep -v '^ *+' conftest.er1 >conftest.err
71084 rm -f conftest.er1
71085 cat conftest.err >&5
71086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71087 (exit $ac_status); } &&
71088 { ac_try='test -z "$ac_cxx_werror_flag"
71089 || test ! -s conftest.err'
71090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71091 (eval $ac_try) 2>&5
71092 ac_status=$?
71093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71094 (exit $ac_status); }; } &&
71095 { ac_try='test -s conftest.$ac_objext'
71096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71097 (eval $ac_try) 2>&5
71098 ac_status=$?
71099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100 (exit $ac_status); }; }; then
71101 glibcxx_cv_func_ldexpf_use=yes
71102 else
71103 echo "$as_me: failed program was:" >&5
71104 sed 's/^/| /' conftest.$ac_ext >&5
71106 glibcxx_cv_func_ldexpf_use=no
71108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71109 ac_ext=c
71110 ac_cpp='$CPP $CPPFLAGS'
71111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71120 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71122 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71124 for ac_func in ldexpf
71126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71127 echo "$as_me:$LINENO: checking for $ac_func" >&5
71128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71129 if eval "test \"\${$as_ac_var+set}\" = set"; then
71130 echo $ECHO_N "(cached) $ECHO_C" >&6
71131 else
71132 if test x$gcc_no_link = xyes; then
71133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71135 { (exit 1); exit 1; }; }
71137 cat >conftest.$ac_ext <<_ACEOF
71138 /* confdefs.h. */
71139 _ACEOF
71140 cat confdefs.h >>conftest.$ac_ext
71141 cat >>conftest.$ac_ext <<_ACEOF
71142 /* end confdefs.h. */
71143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71145 #define $ac_func innocuous_$ac_func
71147 /* System header to define __stub macros and hopefully few prototypes,
71148 which can conflict with char $ac_func (); below.
71149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71150 <limits.h> exists even on freestanding compilers. */
71152 #ifdef __STDC__
71153 # include <limits.h>
71154 #else
71155 # include <assert.h>
71156 #endif
71158 #undef $ac_func
71160 /* Override any gcc2 internal prototype to avoid an error. */
71161 #ifdef __cplusplus
71162 extern "C"
71164 #endif
71165 /* We use char because int might match the return type of a gcc2
71166 builtin and then its argument prototype would still apply. */
71167 char $ac_func ();
71168 /* The GNU C library defines this for functions which it implements
71169 to always fail with ENOSYS. Some functions are actually named
71170 something starting with __ and the normal name is an alias. */
71171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71172 choke me
71173 #else
71174 char (*f) () = $ac_func;
71175 #endif
71176 #ifdef __cplusplus
71178 #endif
71181 main ()
71183 return f != $ac_func;
71185 return 0;
71187 _ACEOF
71188 rm -f conftest.$ac_objext conftest$ac_exeext
71189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71190 (eval $ac_link) 2>conftest.er1
71191 ac_status=$?
71192 grep -v '^ *+' conftest.er1 >conftest.err
71193 rm -f conftest.er1
71194 cat conftest.err >&5
71195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71196 (exit $ac_status); } &&
71197 { ac_try='test -z "$ac_c_werror_flag"
71198 || test ! -s conftest.err'
71199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71200 (eval $ac_try) 2>&5
71201 ac_status=$?
71202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71203 (exit $ac_status); }; } &&
71204 { ac_try='test -s conftest$ac_exeext'
71205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71206 (eval $ac_try) 2>&5
71207 ac_status=$?
71208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71209 (exit $ac_status); }; }; then
71210 eval "$as_ac_var=yes"
71211 else
71212 echo "$as_me: failed program was:" >&5
71213 sed 's/^/| /' conftest.$ac_ext >&5
71215 eval "$as_ac_var=no"
71217 rm -f conftest.err conftest.$ac_objext \
71218 conftest$ac_exeext conftest.$ac_ext
71220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71222 if test `eval echo '${'$as_ac_var'}'` = yes; then
71223 cat >>confdefs.h <<_ACEOF
71224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71225 _ACEOF
71228 done
71230 else
71232 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71233 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71234 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71235 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71236 echo $ECHO_N "(cached) $ECHO_C" >&6
71237 else
71241 ac_ext=cc
71242 ac_cpp='$CXXCPP $CPPFLAGS'
71243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71247 cat >conftest.$ac_ext <<_ACEOF
71248 /* confdefs.h. */
71249 _ACEOF
71250 cat confdefs.h >>conftest.$ac_ext
71251 cat >>conftest.$ac_ext <<_ACEOF
71252 /* end confdefs.h. */
71253 #include <math.h>
71255 main ()
71257 _ldexpf(0, 0);
71259 return 0;
71261 _ACEOF
71262 rm -f conftest.$ac_objext
71263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71264 (eval $ac_compile) 2>conftest.er1
71265 ac_status=$?
71266 grep -v '^ *+' conftest.er1 >conftest.err
71267 rm -f conftest.er1
71268 cat conftest.err >&5
71269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71270 (exit $ac_status); } &&
71271 { ac_try='test -z "$ac_cxx_werror_flag"
71272 || test ! -s conftest.err'
71273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71274 (eval $ac_try) 2>&5
71275 ac_status=$?
71276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71277 (exit $ac_status); }; } &&
71278 { ac_try='test -s conftest.$ac_objext'
71279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71280 (eval $ac_try) 2>&5
71281 ac_status=$?
71282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71283 (exit $ac_status); }; }; then
71284 glibcxx_cv_func__ldexpf_use=yes
71285 else
71286 echo "$as_me: failed program was:" >&5
71287 sed 's/^/| /' conftest.$ac_ext >&5
71289 glibcxx_cv_func__ldexpf_use=no
71291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71292 ac_ext=c
71293 ac_cpp='$CPP $CPPFLAGS'
71294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71303 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71305 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71307 for ac_func in _ldexpf
71309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71310 echo "$as_me:$LINENO: checking for $ac_func" >&5
71311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71312 if eval "test \"\${$as_ac_var+set}\" = set"; then
71313 echo $ECHO_N "(cached) $ECHO_C" >&6
71314 else
71315 if test x$gcc_no_link = xyes; then
71316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71318 { (exit 1); exit 1; }; }
71320 cat >conftest.$ac_ext <<_ACEOF
71321 /* confdefs.h. */
71322 _ACEOF
71323 cat confdefs.h >>conftest.$ac_ext
71324 cat >>conftest.$ac_ext <<_ACEOF
71325 /* end confdefs.h. */
71326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71328 #define $ac_func innocuous_$ac_func
71330 /* System header to define __stub macros and hopefully few prototypes,
71331 which can conflict with char $ac_func (); below.
71332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71333 <limits.h> exists even on freestanding compilers. */
71335 #ifdef __STDC__
71336 # include <limits.h>
71337 #else
71338 # include <assert.h>
71339 #endif
71341 #undef $ac_func
71343 /* Override any gcc2 internal prototype to avoid an error. */
71344 #ifdef __cplusplus
71345 extern "C"
71347 #endif
71348 /* We use char because int might match the return type of a gcc2
71349 builtin and then its argument prototype would still apply. */
71350 char $ac_func ();
71351 /* The GNU C library defines this for functions which it implements
71352 to always fail with ENOSYS. Some functions are actually named
71353 something starting with __ and the normal name is an alias. */
71354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71355 choke me
71356 #else
71357 char (*f) () = $ac_func;
71358 #endif
71359 #ifdef __cplusplus
71361 #endif
71364 main ()
71366 return f != $ac_func;
71368 return 0;
71370 _ACEOF
71371 rm -f conftest.$ac_objext conftest$ac_exeext
71372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71373 (eval $ac_link) 2>conftest.er1
71374 ac_status=$?
71375 grep -v '^ *+' conftest.er1 >conftest.err
71376 rm -f conftest.er1
71377 cat conftest.err >&5
71378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71379 (exit $ac_status); } &&
71380 { ac_try='test -z "$ac_c_werror_flag"
71381 || test ! -s conftest.err'
71382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71383 (eval $ac_try) 2>&5
71384 ac_status=$?
71385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71386 (exit $ac_status); }; } &&
71387 { ac_try='test -s conftest$ac_exeext'
71388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71389 (eval $ac_try) 2>&5
71390 ac_status=$?
71391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71392 (exit $ac_status); }; }; then
71393 eval "$as_ac_var=yes"
71394 else
71395 echo "$as_me: failed program was:" >&5
71396 sed 's/^/| /' conftest.$ac_ext >&5
71398 eval "$as_ac_var=no"
71400 rm -f conftest.err conftest.$ac_objext \
71401 conftest$ac_exeext conftest.$ac_ext
71403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71405 if test `eval echo '${'$as_ac_var'}'` = yes; then
71406 cat >>confdefs.h <<_ACEOF
71407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71408 _ACEOF
71411 done
71421 echo "$as_me:$LINENO: checking for logf declaration" >&5
71422 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71424 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71425 echo $ECHO_N "(cached) $ECHO_C" >&6
71426 else
71430 ac_ext=cc
71431 ac_cpp='$CXXCPP $CPPFLAGS'
71432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71436 cat >conftest.$ac_ext <<_ACEOF
71437 /* confdefs.h. */
71438 _ACEOF
71439 cat confdefs.h >>conftest.$ac_ext
71440 cat >>conftest.$ac_ext <<_ACEOF
71441 /* end confdefs.h. */
71442 #include <math.h>
71443 #ifdef HAVE_IEEEFP_H
71444 #include <ieeefp.h>
71445 #endif
71448 main ()
71450 logf(0);
71452 return 0;
71454 _ACEOF
71455 rm -f conftest.$ac_objext
71456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71457 (eval $ac_compile) 2>conftest.er1
71458 ac_status=$?
71459 grep -v '^ *+' conftest.er1 >conftest.err
71460 rm -f conftest.er1
71461 cat conftest.err >&5
71462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71463 (exit $ac_status); } &&
71464 { ac_try='test -z "$ac_cxx_werror_flag"
71465 || test ! -s conftest.err'
71466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71467 (eval $ac_try) 2>&5
71468 ac_status=$?
71469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71470 (exit $ac_status); }; } &&
71471 { ac_try='test -s conftest.$ac_objext'
71472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71473 (eval $ac_try) 2>&5
71474 ac_status=$?
71475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71476 (exit $ac_status); }; }; then
71477 glibcxx_cv_func_logf_use=yes
71478 else
71479 echo "$as_me: failed program was:" >&5
71480 sed 's/^/| /' conftest.$ac_ext >&5
71482 glibcxx_cv_func_logf_use=no
71484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71485 ac_ext=c
71486 ac_cpp='$CPP $CPPFLAGS'
71487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71496 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71498 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71500 for ac_func in logf
71502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71503 echo "$as_me:$LINENO: checking for $ac_func" >&5
71504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71505 if eval "test \"\${$as_ac_var+set}\" = set"; then
71506 echo $ECHO_N "(cached) $ECHO_C" >&6
71507 else
71508 if test x$gcc_no_link = xyes; then
71509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71511 { (exit 1); exit 1; }; }
71513 cat >conftest.$ac_ext <<_ACEOF
71514 /* confdefs.h. */
71515 _ACEOF
71516 cat confdefs.h >>conftest.$ac_ext
71517 cat >>conftest.$ac_ext <<_ACEOF
71518 /* end confdefs.h. */
71519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71521 #define $ac_func innocuous_$ac_func
71523 /* System header to define __stub macros and hopefully few prototypes,
71524 which can conflict with char $ac_func (); below.
71525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71526 <limits.h> exists even on freestanding compilers. */
71528 #ifdef __STDC__
71529 # include <limits.h>
71530 #else
71531 # include <assert.h>
71532 #endif
71534 #undef $ac_func
71536 /* Override any gcc2 internal prototype to avoid an error. */
71537 #ifdef __cplusplus
71538 extern "C"
71540 #endif
71541 /* We use char because int might match the return type of a gcc2
71542 builtin and then its argument prototype would still apply. */
71543 char $ac_func ();
71544 /* The GNU C library defines this for functions which it implements
71545 to always fail with ENOSYS. Some functions are actually named
71546 something starting with __ and the normal name is an alias. */
71547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71548 choke me
71549 #else
71550 char (*f) () = $ac_func;
71551 #endif
71552 #ifdef __cplusplus
71554 #endif
71557 main ()
71559 return f != $ac_func;
71561 return 0;
71563 _ACEOF
71564 rm -f conftest.$ac_objext conftest$ac_exeext
71565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71566 (eval $ac_link) 2>conftest.er1
71567 ac_status=$?
71568 grep -v '^ *+' conftest.er1 >conftest.err
71569 rm -f conftest.er1
71570 cat conftest.err >&5
71571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71572 (exit $ac_status); } &&
71573 { ac_try='test -z "$ac_c_werror_flag"
71574 || test ! -s conftest.err'
71575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71576 (eval $ac_try) 2>&5
71577 ac_status=$?
71578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71579 (exit $ac_status); }; } &&
71580 { ac_try='test -s conftest$ac_exeext'
71581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582 (eval $ac_try) 2>&5
71583 ac_status=$?
71584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585 (exit $ac_status); }; }; then
71586 eval "$as_ac_var=yes"
71587 else
71588 echo "$as_me: failed program was:" >&5
71589 sed 's/^/| /' conftest.$ac_ext >&5
71591 eval "$as_ac_var=no"
71593 rm -f conftest.err conftest.$ac_objext \
71594 conftest$ac_exeext conftest.$ac_ext
71596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71598 if test `eval echo '${'$as_ac_var'}'` = yes; then
71599 cat >>confdefs.h <<_ACEOF
71600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71601 _ACEOF
71604 done
71606 else
71608 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71609 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71610 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71611 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71612 echo $ECHO_N "(cached) $ECHO_C" >&6
71613 else
71617 ac_ext=cc
71618 ac_cpp='$CXXCPP $CPPFLAGS'
71619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71623 cat >conftest.$ac_ext <<_ACEOF
71624 /* confdefs.h. */
71625 _ACEOF
71626 cat confdefs.h >>conftest.$ac_ext
71627 cat >>conftest.$ac_ext <<_ACEOF
71628 /* end confdefs.h. */
71629 #include <math.h>
71630 #ifdef HAVE_IEEEFP_H
71631 #include <ieeefp.h>
71632 #endif
71635 main ()
71637 _logf(0);
71639 return 0;
71641 _ACEOF
71642 rm -f conftest.$ac_objext
71643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71644 (eval $ac_compile) 2>conftest.er1
71645 ac_status=$?
71646 grep -v '^ *+' conftest.er1 >conftest.err
71647 rm -f conftest.er1
71648 cat conftest.err >&5
71649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71650 (exit $ac_status); } &&
71651 { ac_try='test -z "$ac_cxx_werror_flag"
71652 || test ! -s conftest.err'
71653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71654 (eval $ac_try) 2>&5
71655 ac_status=$?
71656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71657 (exit $ac_status); }; } &&
71658 { ac_try='test -s conftest.$ac_objext'
71659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71660 (eval $ac_try) 2>&5
71661 ac_status=$?
71662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71663 (exit $ac_status); }; }; then
71664 glibcxx_cv_func__logf_use=yes
71665 else
71666 echo "$as_me: failed program was:" >&5
71667 sed 's/^/| /' conftest.$ac_ext >&5
71669 glibcxx_cv_func__logf_use=no
71671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71672 ac_ext=c
71673 ac_cpp='$CPP $CPPFLAGS'
71674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71683 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71685 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71687 for ac_func in _logf
71689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71690 echo "$as_me:$LINENO: checking for $ac_func" >&5
71691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71692 if eval "test \"\${$as_ac_var+set}\" = set"; then
71693 echo $ECHO_N "(cached) $ECHO_C" >&6
71694 else
71695 if test x$gcc_no_link = xyes; then
71696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71698 { (exit 1); exit 1; }; }
71700 cat >conftest.$ac_ext <<_ACEOF
71701 /* confdefs.h. */
71702 _ACEOF
71703 cat confdefs.h >>conftest.$ac_ext
71704 cat >>conftest.$ac_ext <<_ACEOF
71705 /* end confdefs.h. */
71706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71708 #define $ac_func innocuous_$ac_func
71710 /* System header to define __stub macros and hopefully few prototypes,
71711 which can conflict with char $ac_func (); below.
71712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71713 <limits.h> exists even on freestanding compilers. */
71715 #ifdef __STDC__
71716 # include <limits.h>
71717 #else
71718 # include <assert.h>
71719 #endif
71721 #undef $ac_func
71723 /* Override any gcc2 internal prototype to avoid an error. */
71724 #ifdef __cplusplus
71725 extern "C"
71727 #endif
71728 /* We use char because int might match the return type of a gcc2
71729 builtin and then its argument prototype would still apply. */
71730 char $ac_func ();
71731 /* The GNU C library defines this for functions which it implements
71732 to always fail with ENOSYS. Some functions are actually named
71733 something starting with __ and the normal name is an alias. */
71734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71735 choke me
71736 #else
71737 char (*f) () = $ac_func;
71738 #endif
71739 #ifdef __cplusplus
71741 #endif
71744 main ()
71746 return f != $ac_func;
71748 return 0;
71750 _ACEOF
71751 rm -f conftest.$ac_objext conftest$ac_exeext
71752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71753 (eval $ac_link) 2>conftest.er1
71754 ac_status=$?
71755 grep -v '^ *+' conftest.er1 >conftest.err
71756 rm -f conftest.er1
71757 cat conftest.err >&5
71758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71759 (exit $ac_status); } &&
71760 { ac_try='test -z "$ac_c_werror_flag"
71761 || test ! -s conftest.err'
71762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71763 (eval $ac_try) 2>&5
71764 ac_status=$?
71765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71766 (exit $ac_status); }; } &&
71767 { ac_try='test -s conftest$ac_exeext'
71768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71769 (eval $ac_try) 2>&5
71770 ac_status=$?
71771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71772 (exit $ac_status); }; }; then
71773 eval "$as_ac_var=yes"
71774 else
71775 echo "$as_me: failed program was:" >&5
71776 sed 's/^/| /' conftest.$ac_ext >&5
71778 eval "$as_ac_var=no"
71780 rm -f conftest.err conftest.$ac_objext \
71781 conftest$ac_exeext conftest.$ac_ext
71783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71785 if test `eval echo '${'$as_ac_var'}'` = yes; then
71786 cat >>confdefs.h <<_ACEOF
71787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71788 _ACEOF
71791 done
71801 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71802 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71803 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71804 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71805 echo $ECHO_N "(cached) $ECHO_C" >&6
71806 else
71810 ac_ext=cc
71811 ac_cpp='$CXXCPP $CPPFLAGS'
71812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71816 cat >conftest.$ac_ext <<_ACEOF
71817 /* confdefs.h. */
71818 _ACEOF
71819 cat confdefs.h >>conftest.$ac_ext
71820 cat >>conftest.$ac_ext <<_ACEOF
71821 /* end confdefs.h. */
71822 #include <math.h>
71823 #ifdef HAVE_IEEEFP_H
71824 #include <ieeefp.h>
71825 #endif
71828 main ()
71830 log10f(0);
71832 return 0;
71834 _ACEOF
71835 rm -f conftest.$ac_objext
71836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71837 (eval $ac_compile) 2>conftest.er1
71838 ac_status=$?
71839 grep -v '^ *+' conftest.er1 >conftest.err
71840 rm -f conftest.er1
71841 cat conftest.err >&5
71842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843 (exit $ac_status); } &&
71844 { ac_try='test -z "$ac_cxx_werror_flag"
71845 || test ! -s conftest.err'
71846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71847 (eval $ac_try) 2>&5
71848 ac_status=$?
71849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71850 (exit $ac_status); }; } &&
71851 { ac_try='test -s conftest.$ac_objext'
71852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853 (eval $ac_try) 2>&5
71854 ac_status=$?
71855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856 (exit $ac_status); }; }; then
71857 glibcxx_cv_func_log10f_use=yes
71858 else
71859 echo "$as_me: failed program was:" >&5
71860 sed 's/^/| /' conftest.$ac_ext >&5
71862 glibcxx_cv_func_log10f_use=no
71864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71865 ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71876 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71878 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71880 for ac_func in log10f
71882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71883 echo "$as_me:$LINENO: checking for $ac_func" >&5
71884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71885 if eval "test \"\${$as_ac_var+set}\" = set"; then
71886 echo $ECHO_N "(cached) $ECHO_C" >&6
71887 else
71888 if test x$gcc_no_link = xyes; then
71889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71891 { (exit 1); exit 1; }; }
71893 cat >conftest.$ac_ext <<_ACEOF
71894 /* confdefs.h. */
71895 _ACEOF
71896 cat confdefs.h >>conftest.$ac_ext
71897 cat >>conftest.$ac_ext <<_ACEOF
71898 /* end confdefs.h. */
71899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71901 #define $ac_func innocuous_$ac_func
71903 /* System header to define __stub macros and hopefully few prototypes,
71904 which can conflict with char $ac_func (); below.
71905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71906 <limits.h> exists even on freestanding compilers. */
71908 #ifdef __STDC__
71909 # include <limits.h>
71910 #else
71911 # include <assert.h>
71912 #endif
71914 #undef $ac_func
71916 /* Override any gcc2 internal prototype to avoid an error. */
71917 #ifdef __cplusplus
71918 extern "C"
71920 #endif
71921 /* We use char because int might match the return type of a gcc2
71922 builtin and then its argument prototype would still apply. */
71923 char $ac_func ();
71924 /* The GNU C library defines this for functions which it implements
71925 to always fail with ENOSYS. Some functions are actually named
71926 something starting with __ and the normal name is an alias. */
71927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71928 choke me
71929 #else
71930 char (*f) () = $ac_func;
71931 #endif
71932 #ifdef __cplusplus
71934 #endif
71937 main ()
71939 return f != $ac_func;
71941 return 0;
71943 _ACEOF
71944 rm -f conftest.$ac_objext conftest$ac_exeext
71945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71946 (eval $ac_link) 2>conftest.er1
71947 ac_status=$?
71948 grep -v '^ *+' conftest.er1 >conftest.err
71949 rm -f conftest.er1
71950 cat conftest.err >&5
71951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952 (exit $ac_status); } &&
71953 { ac_try='test -z "$ac_c_werror_flag"
71954 || test ! -s conftest.err'
71955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71956 (eval $ac_try) 2>&5
71957 ac_status=$?
71958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959 (exit $ac_status); }; } &&
71960 { ac_try='test -s conftest$ac_exeext'
71961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962 (eval $ac_try) 2>&5
71963 ac_status=$?
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); }; }; then
71966 eval "$as_ac_var=yes"
71967 else
71968 echo "$as_me: failed program was:" >&5
71969 sed 's/^/| /' conftest.$ac_ext >&5
71971 eval "$as_ac_var=no"
71973 rm -f conftest.err conftest.$ac_objext \
71974 conftest$ac_exeext conftest.$ac_ext
71976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71978 if test `eval echo '${'$as_ac_var'}'` = yes; then
71979 cat >>confdefs.h <<_ACEOF
71980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71981 _ACEOF
71984 done
71986 else
71988 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71989 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71990 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71991 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71992 echo $ECHO_N "(cached) $ECHO_C" >&6
71993 else
71997 ac_ext=cc
71998 ac_cpp='$CXXCPP $CPPFLAGS'
71999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72003 cat >conftest.$ac_ext <<_ACEOF
72004 /* confdefs.h. */
72005 _ACEOF
72006 cat confdefs.h >>conftest.$ac_ext
72007 cat >>conftest.$ac_ext <<_ACEOF
72008 /* end confdefs.h. */
72009 #include <math.h>
72010 #ifdef HAVE_IEEEFP_H
72011 #include <ieeefp.h>
72012 #endif
72015 main ()
72017 _log10f(0);
72019 return 0;
72021 _ACEOF
72022 rm -f conftest.$ac_objext
72023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72024 (eval $ac_compile) 2>conftest.er1
72025 ac_status=$?
72026 grep -v '^ *+' conftest.er1 >conftest.err
72027 rm -f conftest.er1
72028 cat conftest.err >&5
72029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72030 (exit $ac_status); } &&
72031 { ac_try='test -z "$ac_cxx_werror_flag"
72032 || test ! -s conftest.err'
72033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72034 (eval $ac_try) 2>&5
72035 ac_status=$?
72036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72037 (exit $ac_status); }; } &&
72038 { ac_try='test -s conftest.$ac_objext'
72039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72040 (eval $ac_try) 2>&5
72041 ac_status=$?
72042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72043 (exit $ac_status); }; }; then
72044 glibcxx_cv_func__log10f_use=yes
72045 else
72046 echo "$as_me: failed program was:" >&5
72047 sed 's/^/| /' conftest.$ac_ext >&5
72049 glibcxx_cv_func__log10f_use=no
72051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72052 ac_ext=c
72053 ac_cpp='$CPP $CPPFLAGS'
72054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72063 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72065 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72067 for ac_func in _log10f
72069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72070 echo "$as_me:$LINENO: checking for $ac_func" >&5
72071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72072 if eval "test \"\${$as_ac_var+set}\" = set"; then
72073 echo $ECHO_N "(cached) $ECHO_C" >&6
72074 else
72075 if test x$gcc_no_link = xyes; then
72076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72078 { (exit 1); exit 1; }; }
72080 cat >conftest.$ac_ext <<_ACEOF
72081 /* confdefs.h. */
72082 _ACEOF
72083 cat confdefs.h >>conftest.$ac_ext
72084 cat >>conftest.$ac_ext <<_ACEOF
72085 /* end confdefs.h. */
72086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72088 #define $ac_func innocuous_$ac_func
72090 /* System header to define __stub macros and hopefully few prototypes,
72091 which can conflict with char $ac_func (); below.
72092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72093 <limits.h> exists even on freestanding compilers. */
72095 #ifdef __STDC__
72096 # include <limits.h>
72097 #else
72098 # include <assert.h>
72099 #endif
72101 #undef $ac_func
72103 /* Override any gcc2 internal prototype to avoid an error. */
72104 #ifdef __cplusplus
72105 extern "C"
72107 #endif
72108 /* We use char because int might match the return type of a gcc2
72109 builtin and then its argument prototype would still apply. */
72110 char $ac_func ();
72111 /* The GNU C library defines this for functions which it implements
72112 to always fail with ENOSYS. Some functions are actually named
72113 something starting with __ and the normal name is an alias. */
72114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72115 choke me
72116 #else
72117 char (*f) () = $ac_func;
72118 #endif
72119 #ifdef __cplusplus
72121 #endif
72124 main ()
72126 return f != $ac_func;
72128 return 0;
72130 _ACEOF
72131 rm -f conftest.$ac_objext conftest$ac_exeext
72132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72133 (eval $ac_link) 2>conftest.er1
72134 ac_status=$?
72135 grep -v '^ *+' conftest.er1 >conftest.err
72136 rm -f conftest.er1
72137 cat conftest.err >&5
72138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72139 (exit $ac_status); } &&
72140 { ac_try='test -z "$ac_c_werror_flag"
72141 || test ! -s conftest.err'
72142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72143 (eval $ac_try) 2>&5
72144 ac_status=$?
72145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72146 (exit $ac_status); }; } &&
72147 { ac_try='test -s conftest$ac_exeext'
72148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72149 (eval $ac_try) 2>&5
72150 ac_status=$?
72151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152 (exit $ac_status); }; }; then
72153 eval "$as_ac_var=yes"
72154 else
72155 echo "$as_me: failed program was:" >&5
72156 sed 's/^/| /' conftest.$ac_ext >&5
72158 eval "$as_ac_var=no"
72160 rm -f conftest.err conftest.$ac_objext \
72161 conftest$ac_exeext conftest.$ac_ext
72163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72165 if test `eval echo '${'$as_ac_var'}'` = yes; then
72166 cat >>confdefs.h <<_ACEOF
72167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72168 _ACEOF
72171 done
72181 echo "$as_me:$LINENO: checking for modff declaration" >&5
72182 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72183 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72184 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72185 echo $ECHO_N "(cached) $ECHO_C" >&6
72186 else
72190 ac_ext=cc
72191 ac_cpp='$CXXCPP $CPPFLAGS'
72192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72196 cat >conftest.$ac_ext <<_ACEOF
72197 /* confdefs.h. */
72198 _ACEOF
72199 cat confdefs.h >>conftest.$ac_ext
72200 cat >>conftest.$ac_ext <<_ACEOF
72201 /* end confdefs.h. */
72202 #include <math.h>
72204 main ()
72206 modff(0, 0);
72208 return 0;
72210 _ACEOF
72211 rm -f conftest.$ac_objext
72212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72213 (eval $ac_compile) 2>conftest.er1
72214 ac_status=$?
72215 grep -v '^ *+' conftest.er1 >conftest.err
72216 rm -f conftest.er1
72217 cat conftest.err >&5
72218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219 (exit $ac_status); } &&
72220 { ac_try='test -z "$ac_cxx_werror_flag"
72221 || test ! -s conftest.err'
72222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72223 (eval $ac_try) 2>&5
72224 ac_status=$?
72225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72226 (exit $ac_status); }; } &&
72227 { ac_try='test -s conftest.$ac_objext'
72228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72229 (eval $ac_try) 2>&5
72230 ac_status=$?
72231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232 (exit $ac_status); }; }; then
72233 glibcxx_cv_func_modff_use=yes
72234 else
72235 echo "$as_me: failed program was:" >&5
72236 sed 's/^/| /' conftest.$ac_ext >&5
72238 glibcxx_cv_func_modff_use=no
72240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72252 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72254 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72256 for ac_func in modff
72258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72259 echo "$as_me:$LINENO: checking for $ac_func" >&5
72260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72261 if eval "test \"\${$as_ac_var+set}\" = set"; then
72262 echo $ECHO_N "(cached) $ECHO_C" >&6
72263 else
72264 if test x$gcc_no_link = xyes; then
72265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72267 { (exit 1); exit 1; }; }
72269 cat >conftest.$ac_ext <<_ACEOF
72270 /* confdefs.h. */
72271 _ACEOF
72272 cat confdefs.h >>conftest.$ac_ext
72273 cat >>conftest.$ac_ext <<_ACEOF
72274 /* end confdefs.h. */
72275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72277 #define $ac_func innocuous_$ac_func
72279 /* System header to define __stub macros and hopefully few prototypes,
72280 which can conflict with char $ac_func (); below.
72281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72282 <limits.h> exists even on freestanding compilers. */
72284 #ifdef __STDC__
72285 # include <limits.h>
72286 #else
72287 # include <assert.h>
72288 #endif
72290 #undef $ac_func
72292 /* Override any gcc2 internal prototype to avoid an error. */
72293 #ifdef __cplusplus
72294 extern "C"
72296 #endif
72297 /* We use char because int might match the return type of a gcc2
72298 builtin and then its argument prototype would still apply. */
72299 char $ac_func ();
72300 /* The GNU C library defines this for functions which it implements
72301 to always fail with ENOSYS. Some functions are actually named
72302 something starting with __ and the normal name is an alias. */
72303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72304 choke me
72305 #else
72306 char (*f) () = $ac_func;
72307 #endif
72308 #ifdef __cplusplus
72310 #endif
72313 main ()
72315 return f != $ac_func;
72317 return 0;
72319 _ACEOF
72320 rm -f conftest.$ac_objext conftest$ac_exeext
72321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72322 (eval $ac_link) 2>conftest.er1
72323 ac_status=$?
72324 grep -v '^ *+' conftest.er1 >conftest.err
72325 rm -f conftest.er1
72326 cat conftest.err >&5
72327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72328 (exit $ac_status); } &&
72329 { ac_try='test -z "$ac_c_werror_flag"
72330 || test ! -s conftest.err'
72331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72332 (eval $ac_try) 2>&5
72333 ac_status=$?
72334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72335 (exit $ac_status); }; } &&
72336 { ac_try='test -s conftest$ac_exeext'
72337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72338 (eval $ac_try) 2>&5
72339 ac_status=$?
72340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341 (exit $ac_status); }; }; then
72342 eval "$as_ac_var=yes"
72343 else
72344 echo "$as_me: failed program was:" >&5
72345 sed 's/^/| /' conftest.$ac_ext >&5
72347 eval "$as_ac_var=no"
72349 rm -f conftest.err conftest.$ac_objext \
72350 conftest$ac_exeext conftest.$ac_ext
72352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72354 if test `eval echo '${'$as_ac_var'}'` = yes; then
72355 cat >>confdefs.h <<_ACEOF
72356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72357 _ACEOF
72360 done
72362 else
72364 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72365 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72366 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72367 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72368 echo $ECHO_N "(cached) $ECHO_C" >&6
72369 else
72373 ac_ext=cc
72374 ac_cpp='$CXXCPP $CPPFLAGS'
72375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72379 cat >conftest.$ac_ext <<_ACEOF
72380 /* confdefs.h. */
72381 _ACEOF
72382 cat confdefs.h >>conftest.$ac_ext
72383 cat >>conftest.$ac_ext <<_ACEOF
72384 /* end confdefs.h. */
72385 #include <math.h>
72387 main ()
72389 _modff(0, 0);
72391 return 0;
72393 _ACEOF
72394 rm -f conftest.$ac_objext
72395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72396 (eval $ac_compile) 2>conftest.er1
72397 ac_status=$?
72398 grep -v '^ *+' conftest.er1 >conftest.err
72399 rm -f conftest.er1
72400 cat conftest.err >&5
72401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72402 (exit $ac_status); } &&
72403 { ac_try='test -z "$ac_cxx_werror_flag"
72404 || test ! -s conftest.err'
72405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72406 (eval $ac_try) 2>&5
72407 ac_status=$?
72408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72409 (exit $ac_status); }; } &&
72410 { ac_try='test -s conftest.$ac_objext'
72411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72412 (eval $ac_try) 2>&5
72413 ac_status=$?
72414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72415 (exit $ac_status); }; }; then
72416 glibcxx_cv_func__modff_use=yes
72417 else
72418 echo "$as_me: failed program was:" >&5
72419 sed 's/^/| /' conftest.$ac_ext >&5
72421 glibcxx_cv_func__modff_use=no
72423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72424 ac_ext=c
72425 ac_cpp='$CPP $CPPFLAGS'
72426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72435 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72437 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72439 for ac_func in _modff
72441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72442 echo "$as_me:$LINENO: checking for $ac_func" >&5
72443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72444 if eval "test \"\${$as_ac_var+set}\" = set"; then
72445 echo $ECHO_N "(cached) $ECHO_C" >&6
72446 else
72447 if test x$gcc_no_link = xyes; then
72448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72450 { (exit 1); exit 1; }; }
72452 cat >conftest.$ac_ext <<_ACEOF
72453 /* confdefs.h. */
72454 _ACEOF
72455 cat confdefs.h >>conftest.$ac_ext
72456 cat >>conftest.$ac_ext <<_ACEOF
72457 /* end confdefs.h. */
72458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72460 #define $ac_func innocuous_$ac_func
72462 /* System header to define __stub macros and hopefully few prototypes,
72463 which can conflict with char $ac_func (); below.
72464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72465 <limits.h> exists even on freestanding compilers. */
72467 #ifdef __STDC__
72468 # include <limits.h>
72469 #else
72470 # include <assert.h>
72471 #endif
72473 #undef $ac_func
72475 /* Override any gcc2 internal prototype to avoid an error. */
72476 #ifdef __cplusplus
72477 extern "C"
72479 #endif
72480 /* We use char because int might match the return type of a gcc2
72481 builtin and then its argument prototype would still apply. */
72482 char $ac_func ();
72483 /* The GNU C library defines this for functions which it implements
72484 to always fail with ENOSYS. Some functions are actually named
72485 something starting with __ and the normal name is an alias. */
72486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72487 choke me
72488 #else
72489 char (*f) () = $ac_func;
72490 #endif
72491 #ifdef __cplusplus
72493 #endif
72496 main ()
72498 return f != $ac_func;
72500 return 0;
72502 _ACEOF
72503 rm -f conftest.$ac_objext conftest$ac_exeext
72504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72505 (eval $ac_link) 2>conftest.er1
72506 ac_status=$?
72507 grep -v '^ *+' conftest.er1 >conftest.err
72508 rm -f conftest.er1
72509 cat conftest.err >&5
72510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72511 (exit $ac_status); } &&
72512 { ac_try='test -z "$ac_c_werror_flag"
72513 || test ! -s conftest.err'
72514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72515 (eval $ac_try) 2>&5
72516 ac_status=$?
72517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72518 (exit $ac_status); }; } &&
72519 { ac_try='test -s conftest$ac_exeext'
72520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72521 (eval $ac_try) 2>&5
72522 ac_status=$?
72523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524 (exit $ac_status); }; }; then
72525 eval "$as_ac_var=yes"
72526 else
72527 echo "$as_me: failed program was:" >&5
72528 sed 's/^/| /' conftest.$ac_ext >&5
72530 eval "$as_ac_var=no"
72532 rm -f conftest.err conftest.$ac_objext \
72533 conftest$ac_exeext conftest.$ac_ext
72535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72537 if test `eval echo '${'$as_ac_var'}'` = yes; then
72538 cat >>confdefs.h <<_ACEOF
72539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72540 _ACEOF
72543 done
72553 echo "$as_me:$LINENO: checking for modf declaration" >&5
72554 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72555 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72556 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72557 echo $ECHO_N "(cached) $ECHO_C" >&6
72558 else
72562 ac_ext=cc
72563 ac_cpp='$CXXCPP $CPPFLAGS'
72564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72568 cat >conftest.$ac_ext <<_ACEOF
72569 /* confdefs.h. */
72570 _ACEOF
72571 cat confdefs.h >>conftest.$ac_ext
72572 cat >>conftest.$ac_ext <<_ACEOF
72573 /* end confdefs.h. */
72574 #include <math.h>
72576 main ()
72578 modf(0, 0);
72580 return 0;
72582 _ACEOF
72583 rm -f conftest.$ac_objext
72584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72585 (eval $ac_compile) 2>conftest.er1
72586 ac_status=$?
72587 grep -v '^ *+' conftest.er1 >conftest.err
72588 rm -f conftest.er1
72589 cat conftest.err >&5
72590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72591 (exit $ac_status); } &&
72592 { ac_try='test -z "$ac_cxx_werror_flag"
72593 || test ! -s conftest.err'
72594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72595 (eval $ac_try) 2>&5
72596 ac_status=$?
72597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72598 (exit $ac_status); }; } &&
72599 { ac_try='test -s conftest.$ac_objext'
72600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72601 (eval $ac_try) 2>&5
72602 ac_status=$?
72603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72604 (exit $ac_status); }; }; then
72605 glibcxx_cv_func_modf_use=yes
72606 else
72607 echo "$as_me: failed program was:" >&5
72608 sed 's/^/| /' conftest.$ac_ext >&5
72610 glibcxx_cv_func_modf_use=no
72612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72613 ac_ext=c
72614 ac_cpp='$CPP $CPPFLAGS'
72615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72624 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72626 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72628 for ac_func in modf
72630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72631 echo "$as_me:$LINENO: checking for $ac_func" >&5
72632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72633 if eval "test \"\${$as_ac_var+set}\" = set"; then
72634 echo $ECHO_N "(cached) $ECHO_C" >&6
72635 else
72636 if test x$gcc_no_link = xyes; then
72637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72639 { (exit 1); exit 1; }; }
72641 cat >conftest.$ac_ext <<_ACEOF
72642 /* confdefs.h. */
72643 _ACEOF
72644 cat confdefs.h >>conftest.$ac_ext
72645 cat >>conftest.$ac_ext <<_ACEOF
72646 /* end confdefs.h. */
72647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72649 #define $ac_func innocuous_$ac_func
72651 /* System header to define __stub macros and hopefully few prototypes,
72652 which can conflict with char $ac_func (); below.
72653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72654 <limits.h> exists even on freestanding compilers. */
72656 #ifdef __STDC__
72657 # include <limits.h>
72658 #else
72659 # include <assert.h>
72660 #endif
72662 #undef $ac_func
72664 /* Override any gcc2 internal prototype to avoid an error. */
72665 #ifdef __cplusplus
72666 extern "C"
72668 #endif
72669 /* We use char because int might match the return type of a gcc2
72670 builtin and then its argument prototype would still apply. */
72671 char $ac_func ();
72672 /* The GNU C library defines this for functions which it implements
72673 to always fail with ENOSYS. Some functions are actually named
72674 something starting with __ and the normal name is an alias. */
72675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72676 choke me
72677 #else
72678 char (*f) () = $ac_func;
72679 #endif
72680 #ifdef __cplusplus
72682 #endif
72685 main ()
72687 return f != $ac_func;
72689 return 0;
72691 _ACEOF
72692 rm -f conftest.$ac_objext conftest$ac_exeext
72693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72694 (eval $ac_link) 2>conftest.er1
72695 ac_status=$?
72696 grep -v '^ *+' conftest.er1 >conftest.err
72697 rm -f conftest.er1
72698 cat conftest.err >&5
72699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72700 (exit $ac_status); } &&
72701 { ac_try='test -z "$ac_c_werror_flag"
72702 || test ! -s conftest.err'
72703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72704 (eval $ac_try) 2>&5
72705 ac_status=$?
72706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72707 (exit $ac_status); }; } &&
72708 { ac_try='test -s conftest$ac_exeext'
72709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72710 (eval $ac_try) 2>&5
72711 ac_status=$?
72712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72713 (exit $ac_status); }; }; then
72714 eval "$as_ac_var=yes"
72715 else
72716 echo "$as_me: failed program was:" >&5
72717 sed 's/^/| /' conftest.$ac_ext >&5
72719 eval "$as_ac_var=no"
72721 rm -f conftest.err conftest.$ac_objext \
72722 conftest$ac_exeext conftest.$ac_ext
72724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72726 if test `eval echo '${'$as_ac_var'}'` = yes; then
72727 cat >>confdefs.h <<_ACEOF
72728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72729 _ACEOF
72732 done
72734 else
72736 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72737 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72738 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72739 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72740 echo $ECHO_N "(cached) $ECHO_C" >&6
72741 else
72745 ac_ext=cc
72746 ac_cpp='$CXXCPP $CPPFLAGS'
72747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72751 cat >conftest.$ac_ext <<_ACEOF
72752 /* confdefs.h. */
72753 _ACEOF
72754 cat confdefs.h >>conftest.$ac_ext
72755 cat >>conftest.$ac_ext <<_ACEOF
72756 /* end confdefs.h. */
72757 #include <math.h>
72759 main ()
72761 _modf(0, 0);
72763 return 0;
72765 _ACEOF
72766 rm -f conftest.$ac_objext
72767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72768 (eval $ac_compile) 2>conftest.er1
72769 ac_status=$?
72770 grep -v '^ *+' conftest.er1 >conftest.err
72771 rm -f conftest.er1
72772 cat conftest.err >&5
72773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774 (exit $ac_status); } &&
72775 { ac_try='test -z "$ac_cxx_werror_flag"
72776 || test ! -s conftest.err'
72777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778 (eval $ac_try) 2>&5
72779 ac_status=$?
72780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781 (exit $ac_status); }; } &&
72782 { ac_try='test -s conftest.$ac_objext'
72783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784 (eval $ac_try) 2>&5
72785 ac_status=$?
72786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787 (exit $ac_status); }; }; then
72788 glibcxx_cv_func__modf_use=yes
72789 else
72790 echo "$as_me: failed program was:" >&5
72791 sed 's/^/| /' conftest.$ac_ext >&5
72793 glibcxx_cv_func__modf_use=no
72795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72796 ac_ext=c
72797 ac_cpp='$CPP $CPPFLAGS'
72798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72807 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72809 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72811 for ac_func in _modf
72813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72814 echo "$as_me:$LINENO: checking for $ac_func" >&5
72815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72816 if eval "test \"\${$as_ac_var+set}\" = set"; then
72817 echo $ECHO_N "(cached) $ECHO_C" >&6
72818 else
72819 if test x$gcc_no_link = xyes; then
72820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72822 { (exit 1); exit 1; }; }
72824 cat >conftest.$ac_ext <<_ACEOF
72825 /* confdefs.h. */
72826 _ACEOF
72827 cat confdefs.h >>conftest.$ac_ext
72828 cat >>conftest.$ac_ext <<_ACEOF
72829 /* end confdefs.h. */
72830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72832 #define $ac_func innocuous_$ac_func
72834 /* System header to define __stub macros and hopefully few prototypes,
72835 which can conflict with char $ac_func (); below.
72836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72837 <limits.h> exists even on freestanding compilers. */
72839 #ifdef __STDC__
72840 # include <limits.h>
72841 #else
72842 # include <assert.h>
72843 #endif
72845 #undef $ac_func
72847 /* Override any gcc2 internal prototype to avoid an error. */
72848 #ifdef __cplusplus
72849 extern "C"
72851 #endif
72852 /* We use char because int might match the return type of a gcc2
72853 builtin and then its argument prototype would still apply. */
72854 char $ac_func ();
72855 /* The GNU C library defines this for functions which it implements
72856 to always fail with ENOSYS. Some functions are actually named
72857 something starting with __ and the normal name is an alias. */
72858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72859 choke me
72860 #else
72861 char (*f) () = $ac_func;
72862 #endif
72863 #ifdef __cplusplus
72865 #endif
72868 main ()
72870 return f != $ac_func;
72872 return 0;
72874 _ACEOF
72875 rm -f conftest.$ac_objext conftest$ac_exeext
72876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72877 (eval $ac_link) 2>conftest.er1
72878 ac_status=$?
72879 grep -v '^ *+' conftest.er1 >conftest.err
72880 rm -f conftest.er1
72881 cat conftest.err >&5
72882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72883 (exit $ac_status); } &&
72884 { ac_try='test -z "$ac_c_werror_flag"
72885 || test ! -s conftest.err'
72886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72887 (eval $ac_try) 2>&5
72888 ac_status=$?
72889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72890 (exit $ac_status); }; } &&
72891 { ac_try='test -s conftest$ac_exeext'
72892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72893 (eval $ac_try) 2>&5
72894 ac_status=$?
72895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72896 (exit $ac_status); }; }; then
72897 eval "$as_ac_var=yes"
72898 else
72899 echo "$as_me: failed program was:" >&5
72900 sed 's/^/| /' conftest.$ac_ext >&5
72902 eval "$as_ac_var=no"
72904 rm -f conftest.err conftest.$ac_objext \
72905 conftest$ac_exeext conftest.$ac_ext
72907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72909 if test `eval echo '${'$as_ac_var'}'` = yes; then
72910 cat >>confdefs.h <<_ACEOF
72911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72912 _ACEOF
72915 done
72925 echo "$as_me:$LINENO: checking for powf declaration" >&5
72926 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72927 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72928 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72929 echo $ECHO_N "(cached) $ECHO_C" >&6
72930 else
72934 ac_ext=cc
72935 ac_cpp='$CXXCPP $CPPFLAGS'
72936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72940 cat >conftest.$ac_ext <<_ACEOF
72941 /* confdefs.h. */
72942 _ACEOF
72943 cat confdefs.h >>conftest.$ac_ext
72944 cat >>conftest.$ac_ext <<_ACEOF
72945 /* end confdefs.h. */
72946 #include <math.h>
72948 main ()
72950 powf(0, 0);
72952 return 0;
72954 _ACEOF
72955 rm -f conftest.$ac_objext
72956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72957 (eval $ac_compile) 2>conftest.er1
72958 ac_status=$?
72959 grep -v '^ *+' conftest.er1 >conftest.err
72960 rm -f conftest.er1
72961 cat conftest.err >&5
72962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72963 (exit $ac_status); } &&
72964 { ac_try='test -z "$ac_cxx_werror_flag"
72965 || test ! -s conftest.err'
72966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967 (eval $ac_try) 2>&5
72968 ac_status=$?
72969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970 (exit $ac_status); }; } &&
72971 { ac_try='test -s conftest.$ac_objext'
72972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973 (eval $ac_try) 2>&5
72974 ac_status=$?
72975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976 (exit $ac_status); }; }; then
72977 glibcxx_cv_func_powf_use=yes
72978 else
72979 echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72982 glibcxx_cv_func_powf_use=no
72984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72985 ac_ext=c
72986 ac_cpp='$CPP $CPPFLAGS'
72987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72996 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72998 if test x$glibcxx_cv_func_powf_use = x"yes"; then
73000 for ac_func in powf
73002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73003 echo "$as_me:$LINENO: checking for $ac_func" >&5
73004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73005 if eval "test \"\${$as_ac_var+set}\" = set"; then
73006 echo $ECHO_N "(cached) $ECHO_C" >&6
73007 else
73008 if test x$gcc_no_link = xyes; then
73009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73011 { (exit 1); exit 1; }; }
73013 cat >conftest.$ac_ext <<_ACEOF
73014 /* confdefs.h. */
73015 _ACEOF
73016 cat confdefs.h >>conftest.$ac_ext
73017 cat >>conftest.$ac_ext <<_ACEOF
73018 /* end confdefs.h. */
73019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73021 #define $ac_func innocuous_$ac_func
73023 /* System header to define __stub macros and hopefully few prototypes,
73024 which can conflict with char $ac_func (); below.
73025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73026 <limits.h> exists even on freestanding compilers. */
73028 #ifdef __STDC__
73029 # include <limits.h>
73030 #else
73031 # include <assert.h>
73032 #endif
73034 #undef $ac_func
73036 /* Override any gcc2 internal prototype to avoid an error. */
73037 #ifdef __cplusplus
73038 extern "C"
73040 #endif
73041 /* We use char because int might match the return type of a gcc2
73042 builtin and then its argument prototype would still apply. */
73043 char $ac_func ();
73044 /* The GNU C library defines this for functions which it implements
73045 to always fail with ENOSYS. Some functions are actually named
73046 something starting with __ and the normal name is an alias. */
73047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73048 choke me
73049 #else
73050 char (*f) () = $ac_func;
73051 #endif
73052 #ifdef __cplusplus
73054 #endif
73057 main ()
73059 return f != $ac_func;
73061 return 0;
73063 _ACEOF
73064 rm -f conftest.$ac_objext conftest$ac_exeext
73065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73066 (eval $ac_link) 2>conftest.er1
73067 ac_status=$?
73068 grep -v '^ *+' conftest.er1 >conftest.err
73069 rm -f conftest.er1
73070 cat conftest.err >&5
73071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73072 (exit $ac_status); } &&
73073 { ac_try='test -z "$ac_c_werror_flag"
73074 || test ! -s conftest.err'
73075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73076 (eval $ac_try) 2>&5
73077 ac_status=$?
73078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73079 (exit $ac_status); }; } &&
73080 { ac_try='test -s conftest$ac_exeext'
73081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73082 (eval $ac_try) 2>&5
73083 ac_status=$?
73084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73085 (exit $ac_status); }; }; then
73086 eval "$as_ac_var=yes"
73087 else
73088 echo "$as_me: failed program was:" >&5
73089 sed 's/^/| /' conftest.$ac_ext >&5
73091 eval "$as_ac_var=no"
73093 rm -f conftest.err conftest.$ac_objext \
73094 conftest$ac_exeext conftest.$ac_ext
73096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73098 if test `eval echo '${'$as_ac_var'}'` = yes; then
73099 cat >>confdefs.h <<_ACEOF
73100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73101 _ACEOF
73104 done
73106 else
73108 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73109 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73110 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73111 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73112 echo $ECHO_N "(cached) $ECHO_C" >&6
73113 else
73117 ac_ext=cc
73118 ac_cpp='$CXXCPP $CPPFLAGS'
73119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73123 cat >conftest.$ac_ext <<_ACEOF
73124 /* confdefs.h. */
73125 _ACEOF
73126 cat confdefs.h >>conftest.$ac_ext
73127 cat >>conftest.$ac_ext <<_ACEOF
73128 /* end confdefs.h. */
73129 #include <math.h>
73131 main ()
73133 _powf(0, 0);
73135 return 0;
73137 _ACEOF
73138 rm -f conftest.$ac_objext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73140 (eval $ac_compile) 2>conftest.er1
73141 ac_status=$?
73142 grep -v '^ *+' conftest.er1 >conftest.err
73143 rm -f conftest.er1
73144 cat conftest.err >&5
73145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146 (exit $ac_status); } &&
73147 { ac_try='test -z "$ac_cxx_werror_flag"
73148 || test ! -s conftest.err'
73149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73150 (eval $ac_try) 2>&5
73151 ac_status=$?
73152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153 (exit $ac_status); }; } &&
73154 { ac_try='test -s conftest.$ac_objext'
73155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156 (eval $ac_try) 2>&5
73157 ac_status=$?
73158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159 (exit $ac_status); }; }; then
73160 glibcxx_cv_func__powf_use=yes
73161 else
73162 echo "$as_me: failed program was:" >&5
73163 sed 's/^/| /' conftest.$ac_ext >&5
73165 glibcxx_cv_func__powf_use=no
73167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73168 ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73179 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73181 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73183 for ac_func in _powf
73185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73186 echo "$as_me:$LINENO: checking for $ac_func" >&5
73187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73188 if eval "test \"\${$as_ac_var+set}\" = set"; then
73189 echo $ECHO_N "(cached) $ECHO_C" >&6
73190 else
73191 if test x$gcc_no_link = xyes; then
73192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73194 { (exit 1); exit 1; }; }
73196 cat >conftest.$ac_ext <<_ACEOF
73197 /* confdefs.h. */
73198 _ACEOF
73199 cat confdefs.h >>conftest.$ac_ext
73200 cat >>conftest.$ac_ext <<_ACEOF
73201 /* end confdefs.h. */
73202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73204 #define $ac_func innocuous_$ac_func
73206 /* System header to define __stub macros and hopefully few prototypes,
73207 which can conflict with char $ac_func (); below.
73208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73209 <limits.h> exists even on freestanding compilers. */
73211 #ifdef __STDC__
73212 # include <limits.h>
73213 #else
73214 # include <assert.h>
73215 #endif
73217 #undef $ac_func
73219 /* Override any gcc2 internal prototype to avoid an error. */
73220 #ifdef __cplusplus
73221 extern "C"
73223 #endif
73224 /* We use char because int might match the return type of a gcc2
73225 builtin and then its argument prototype would still apply. */
73226 char $ac_func ();
73227 /* The GNU C library defines this for functions which it implements
73228 to always fail with ENOSYS. Some functions are actually named
73229 something starting with __ and the normal name is an alias. */
73230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73231 choke me
73232 #else
73233 char (*f) () = $ac_func;
73234 #endif
73235 #ifdef __cplusplus
73237 #endif
73240 main ()
73242 return f != $ac_func;
73244 return 0;
73246 _ACEOF
73247 rm -f conftest.$ac_objext conftest$ac_exeext
73248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73249 (eval $ac_link) 2>conftest.er1
73250 ac_status=$?
73251 grep -v '^ *+' conftest.er1 >conftest.err
73252 rm -f conftest.er1
73253 cat conftest.err >&5
73254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73255 (exit $ac_status); } &&
73256 { ac_try='test -z "$ac_c_werror_flag"
73257 || test ! -s conftest.err'
73258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73259 (eval $ac_try) 2>&5
73260 ac_status=$?
73261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73262 (exit $ac_status); }; } &&
73263 { ac_try='test -s conftest$ac_exeext'
73264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73265 (eval $ac_try) 2>&5
73266 ac_status=$?
73267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73268 (exit $ac_status); }; }; then
73269 eval "$as_ac_var=yes"
73270 else
73271 echo "$as_me: failed program was:" >&5
73272 sed 's/^/| /' conftest.$ac_ext >&5
73274 eval "$as_ac_var=no"
73276 rm -f conftest.err conftest.$ac_objext \
73277 conftest$ac_exeext conftest.$ac_ext
73279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73281 if test `eval echo '${'$as_ac_var'}'` = yes; then
73282 cat >>confdefs.h <<_ACEOF
73283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73284 _ACEOF
73287 done
73297 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73298 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73299 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73300 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73301 echo $ECHO_N "(cached) $ECHO_C" >&6
73302 else
73306 ac_ext=cc
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73312 cat >conftest.$ac_ext <<_ACEOF
73313 /* confdefs.h. */
73314 _ACEOF
73315 cat confdefs.h >>conftest.$ac_ext
73316 cat >>conftest.$ac_ext <<_ACEOF
73317 /* end confdefs.h. */
73318 #include <math.h>
73319 #ifdef HAVE_IEEEFP_H
73320 #include <ieeefp.h>
73321 #endif
73324 main ()
73326 sqrtf(0);
73328 return 0;
73330 _ACEOF
73331 rm -f conftest.$ac_objext
73332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73333 (eval $ac_compile) 2>conftest.er1
73334 ac_status=$?
73335 grep -v '^ *+' conftest.er1 >conftest.err
73336 rm -f conftest.er1
73337 cat conftest.err >&5
73338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73339 (exit $ac_status); } &&
73340 { ac_try='test -z "$ac_cxx_werror_flag"
73341 || test ! -s conftest.err'
73342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73343 (eval $ac_try) 2>&5
73344 ac_status=$?
73345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73346 (exit $ac_status); }; } &&
73347 { ac_try='test -s conftest.$ac_objext'
73348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73349 (eval $ac_try) 2>&5
73350 ac_status=$?
73351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352 (exit $ac_status); }; }; then
73353 glibcxx_cv_func_sqrtf_use=yes
73354 else
73355 echo "$as_me: failed program was:" >&5
73356 sed 's/^/| /' conftest.$ac_ext >&5
73358 glibcxx_cv_func_sqrtf_use=no
73360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73361 ac_ext=c
73362 ac_cpp='$CPP $CPPFLAGS'
73363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73372 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73374 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73376 for ac_func in sqrtf
73378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73379 echo "$as_me:$LINENO: checking for $ac_func" >&5
73380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73381 if eval "test \"\${$as_ac_var+set}\" = set"; then
73382 echo $ECHO_N "(cached) $ECHO_C" >&6
73383 else
73384 if test x$gcc_no_link = xyes; then
73385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73387 { (exit 1); exit 1; }; }
73389 cat >conftest.$ac_ext <<_ACEOF
73390 /* confdefs.h. */
73391 _ACEOF
73392 cat confdefs.h >>conftest.$ac_ext
73393 cat >>conftest.$ac_ext <<_ACEOF
73394 /* end confdefs.h. */
73395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73397 #define $ac_func innocuous_$ac_func
73399 /* System header to define __stub macros and hopefully few prototypes,
73400 which can conflict with char $ac_func (); below.
73401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73402 <limits.h> exists even on freestanding compilers. */
73404 #ifdef __STDC__
73405 # include <limits.h>
73406 #else
73407 # include <assert.h>
73408 #endif
73410 #undef $ac_func
73412 /* Override any gcc2 internal prototype to avoid an error. */
73413 #ifdef __cplusplus
73414 extern "C"
73416 #endif
73417 /* We use char because int might match the return type of a gcc2
73418 builtin and then its argument prototype would still apply. */
73419 char $ac_func ();
73420 /* The GNU C library defines this for functions which it implements
73421 to always fail with ENOSYS. Some functions are actually named
73422 something starting with __ and the normal name is an alias. */
73423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73424 choke me
73425 #else
73426 char (*f) () = $ac_func;
73427 #endif
73428 #ifdef __cplusplus
73430 #endif
73433 main ()
73435 return f != $ac_func;
73437 return 0;
73439 _ACEOF
73440 rm -f conftest.$ac_objext conftest$ac_exeext
73441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73442 (eval $ac_link) 2>conftest.er1
73443 ac_status=$?
73444 grep -v '^ *+' conftest.er1 >conftest.err
73445 rm -f conftest.er1
73446 cat conftest.err >&5
73447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73448 (exit $ac_status); } &&
73449 { ac_try='test -z "$ac_c_werror_flag"
73450 || test ! -s conftest.err'
73451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73452 (eval $ac_try) 2>&5
73453 ac_status=$?
73454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73455 (exit $ac_status); }; } &&
73456 { ac_try='test -s conftest$ac_exeext'
73457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73458 (eval $ac_try) 2>&5
73459 ac_status=$?
73460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461 (exit $ac_status); }; }; then
73462 eval "$as_ac_var=yes"
73463 else
73464 echo "$as_me: failed program was:" >&5
73465 sed 's/^/| /' conftest.$ac_ext >&5
73467 eval "$as_ac_var=no"
73469 rm -f conftest.err conftest.$ac_objext \
73470 conftest$ac_exeext conftest.$ac_ext
73472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73474 if test `eval echo '${'$as_ac_var'}'` = yes; then
73475 cat >>confdefs.h <<_ACEOF
73476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73477 _ACEOF
73480 done
73482 else
73484 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73485 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73486 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73487 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73488 echo $ECHO_N "(cached) $ECHO_C" >&6
73489 else
73493 ac_ext=cc
73494 ac_cpp='$CXXCPP $CPPFLAGS'
73495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73499 cat >conftest.$ac_ext <<_ACEOF
73500 /* confdefs.h. */
73501 _ACEOF
73502 cat confdefs.h >>conftest.$ac_ext
73503 cat >>conftest.$ac_ext <<_ACEOF
73504 /* end confdefs.h. */
73505 #include <math.h>
73506 #ifdef HAVE_IEEEFP_H
73507 #include <ieeefp.h>
73508 #endif
73511 main ()
73513 _sqrtf(0);
73515 return 0;
73517 _ACEOF
73518 rm -f conftest.$ac_objext
73519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73520 (eval $ac_compile) 2>conftest.er1
73521 ac_status=$?
73522 grep -v '^ *+' conftest.er1 >conftest.err
73523 rm -f conftest.er1
73524 cat conftest.err >&5
73525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73526 (exit $ac_status); } &&
73527 { ac_try='test -z "$ac_cxx_werror_flag"
73528 || test ! -s conftest.err'
73529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73530 (eval $ac_try) 2>&5
73531 ac_status=$?
73532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73533 (exit $ac_status); }; } &&
73534 { ac_try='test -s conftest.$ac_objext'
73535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73536 (eval $ac_try) 2>&5
73537 ac_status=$?
73538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539 (exit $ac_status); }; }; then
73540 glibcxx_cv_func__sqrtf_use=yes
73541 else
73542 echo "$as_me: failed program was:" >&5
73543 sed 's/^/| /' conftest.$ac_ext >&5
73545 glibcxx_cv_func__sqrtf_use=no
73547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73548 ac_ext=c
73549 ac_cpp='$CPP $CPPFLAGS'
73550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73559 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73561 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73563 for ac_func in _sqrtf
73565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73566 echo "$as_me:$LINENO: checking for $ac_func" >&5
73567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73568 if eval "test \"\${$as_ac_var+set}\" = set"; then
73569 echo $ECHO_N "(cached) $ECHO_C" >&6
73570 else
73571 if test x$gcc_no_link = xyes; then
73572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73574 { (exit 1); exit 1; }; }
73576 cat >conftest.$ac_ext <<_ACEOF
73577 /* confdefs.h. */
73578 _ACEOF
73579 cat confdefs.h >>conftest.$ac_ext
73580 cat >>conftest.$ac_ext <<_ACEOF
73581 /* end confdefs.h. */
73582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73584 #define $ac_func innocuous_$ac_func
73586 /* System header to define __stub macros and hopefully few prototypes,
73587 which can conflict with char $ac_func (); below.
73588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73589 <limits.h> exists even on freestanding compilers. */
73591 #ifdef __STDC__
73592 # include <limits.h>
73593 #else
73594 # include <assert.h>
73595 #endif
73597 #undef $ac_func
73599 /* Override any gcc2 internal prototype to avoid an error. */
73600 #ifdef __cplusplus
73601 extern "C"
73603 #endif
73604 /* We use char because int might match the return type of a gcc2
73605 builtin and then its argument prototype would still apply. */
73606 char $ac_func ();
73607 /* The GNU C library defines this for functions which it implements
73608 to always fail with ENOSYS. Some functions are actually named
73609 something starting with __ and the normal name is an alias. */
73610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73611 choke me
73612 #else
73613 char (*f) () = $ac_func;
73614 #endif
73615 #ifdef __cplusplus
73617 #endif
73620 main ()
73622 return f != $ac_func;
73624 return 0;
73626 _ACEOF
73627 rm -f conftest.$ac_objext conftest$ac_exeext
73628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73629 (eval $ac_link) 2>conftest.er1
73630 ac_status=$?
73631 grep -v '^ *+' conftest.er1 >conftest.err
73632 rm -f conftest.er1
73633 cat conftest.err >&5
73634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73635 (exit $ac_status); } &&
73636 { ac_try='test -z "$ac_c_werror_flag"
73637 || test ! -s conftest.err'
73638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73639 (eval $ac_try) 2>&5
73640 ac_status=$?
73641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73642 (exit $ac_status); }; } &&
73643 { ac_try='test -s conftest$ac_exeext'
73644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73645 (eval $ac_try) 2>&5
73646 ac_status=$?
73647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648 (exit $ac_status); }; }; then
73649 eval "$as_ac_var=yes"
73650 else
73651 echo "$as_me: failed program was:" >&5
73652 sed 's/^/| /' conftest.$ac_ext >&5
73654 eval "$as_ac_var=no"
73656 rm -f conftest.err conftest.$ac_objext \
73657 conftest$ac_exeext conftest.$ac_ext
73659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73661 if test `eval echo '${'$as_ac_var'}'` = yes; then
73662 cat >>confdefs.h <<_ACEOF
73663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73664 _ACEOF
73667 done
73677 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73678 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73679 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73680 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73681 echo $ECHO_N "(cached) $ECHO_C" >&6
73682 else
73686 ac_ext=cc
73687 ac_cpp='$CXXCPP $CPPFLAGS'
73688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73692 cat >conftest.$ac_ext <<_ACEOF
73693 /* confdefs.h. */
73694 _ACEOF
73695 cat confdefs.h >>conftest.$ac_ext
73696 cat >>conftest.$ac_ext <<_ACEOF
73697 /* end confdefs.h. */
73698 #include <math.h>
73700 main ()
73702 sincosf(0, 0, 0);
73704 return 0;
73706 _ACEOF
73707 rm -f conftest.$ac_objext
73708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73709 (eval $ac_compile) 2>conftest.er1
73710 ac_status=$?
73711 grep -v '^ *+' conftest.er1 >conftest.err
73712 rm -f conftest.er1
73713 cat conftest.err >&5
73714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73715 (exit $ac_status); } &&
73716 { ac_try='test -z "$ac_cxx_werror_flag"
73717 || test ! -s conftest.err'
73718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73719 (eval $ac_try) 2>&5
73720 ac_status=$?
73721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73722 (exit $ac_status); }; } &&
73723 { ac_try='test -s conftest.$ac_objext'
73724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73725 (eval $ac_try) 2>&5
73726 ac_status=$?
73727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73728 (exit $ac_status); }; }; then
73729 glibcxx_cv_func_sincosf_use=yes
73730 else
73731 echo "$as_me: failed program was:" >&5
73732 sed 's/^/| /' conftest.$ac_ext >&5
73734 glibcxx_cv_func_sincosf_use=no
73736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73748 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73750 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73752 for ac_func in sincosf
73754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73755 echo "$as_me:$LINENO: checking for $ac_func" >&5
73756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73757 if eval "test \"\${$as_ac_var+set}\" = set"; then
73758 echo $ECHO_N "(cached) $ECHO_C" >&6
73759 else
73760 if test x$gcc_no_link = xyes; then
73761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73763 { (exit 1); exit 1; }; }
73765 cat >conftest.$ac_ext <<_ACEOF
73766 /* confdefs.h. */
73767 _ACEOF
73768 cat confdefs.h >>conftest.$ac_ext
73769 cat >>conftest.$ac_ext <<_ACEOF
73770 /* end confdefs.h. */
73771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73773 #define $ac_func innocuous_$ac_func
73775 /* System header to define __stub macros and hopefully few prototypes,
73776 which can conflict with char $ac_func (); below.
73777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73778 <limits.h> exists even on freestanding compilers. */
73780 #ifdef __STDC__
73781 # include <limits.h>
73782 #else
73783 # include <assert.h>
73784 #endif
73786 #undef $ac_func
73788 /* Override any gcc2 internal prototype to avoid an error. */
73789 #ifdef __cplusplus
73790 extern "C"
73792 #endif
73793 /* We use char because int might match the return type of a gcc2
73794 builtin and then its argument prototype would still apply. */
73795 char $ac_func ();
73796 /* The GNU C library defines this for functions which it implements
73797 to always fail with ENOSYS. Some functions are actually named
73798 something starting with __ and the normal name is an alias. */
73799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73800 choke me
73801 #else
73802 char (*f) () = $ac_func;
73803 #endif
73804 #ifdef __cplusplus
73806 #endif
73809 main ()
73811 return f != $ac_func;
73813 return 0;
73815 _ACEOF
73816 rm -f conftest.$ac_objext conftest$ac_exeext
73817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73818 (eval $ac_link) 2>conftest.er1
73819 ac_status=$?
73820 grep -v '^ *+' conftest.er1 >conftest.err
73821 rm -f conftest.er1
73822 cat conftest.err >&5
73823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73824 (exit $ac_status); } &&
73825 { ac_try='test -z "$ac_c_werror_flag"
73826 || test ! -s conftest.err'
73827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73828 (eval $ac_try) 2>&5
73829 ac_status=$?
73830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73831 (exit $ac_status); }; } &&
73832 { ac_try='test -s conftest$ac_exeext'
73833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73834 (eval $ac_try) 2>&5
73835 ac_status=$?
73836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837 (exit $ac_status); }; }; then
73838 eval "$as_ac_var=yes"
73839 else
73840 echo "$as_me: failed program was:" >&5
73841 sed 's/^/| /' conftest.$ac_ext >&5
73843 eval "$as_ac_var=no"
73845 rm -f conftest.err conftest.$ac_objext \
73846 conftest$ac_exeext conftest.$ac_ext
73848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73850 if test `eval echo '${'$as_ac_var'}'` = yes; then
73851 cat >>confdefs.h <<_ACEOF
73852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73853 _ACEOF
73856 done
73858 else
73860 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73861 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73862 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73863 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73864 echo $ECHO_N "(cached) $ECHO_C" >&6
73865 else
73869 ac_ext=cc
73870 ac_cpp='$CXXCPP $CPPFLAGS'
73871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73875 cat >conftest.$ac_ext <<_ACEOF
73876 /* confdefs.h. */
73877 _ACEOF
73878 cat confdefs.h >>conftest.$ac_ext
73879 cat >>conftest.$ac_ext <<_ACEOF
73880 /* end confdefs.h. */
73881 #include <math.h>
73883 main ()
73885 _sincosf(0, 0, 0);
73887 return 0;
73889 _ACEOF
73890 rm -f conftest.$ac_objext
73891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73892 (eval $ac_compile) 2>conftest.er1
73893 ac_status=$?
73894 grep -v '^ *+' conftest.er1 >conftest.err
73895 rm -f conftest.er1
73896 cat conftest.err >&5
73897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73898 (exit $ac_status); } &&
73899 { ac_try='test -z "$ac_cxx_werror_flag"
73900 || test ! -s conftest.err'
73901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73902 (eval $ac_try) 2>&5
73903 ac_status=$?
73904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905 (exit $ac_status); }; } &&
73906 { ac_try='test -s conftest.$ac_objext'
73907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73908 (eval $ac_try) 2>&5
73909 ac_status=$?
73910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911 (exit $ac_status); }; }; then
73912 glibcxx_cv_func__sincosf_use=yes
73913 else
73914 echo "$as_me: failed program was:" >&5
73915 sed 's/^/| /' conftest.$ac_ext >&5
73917 glibcxx_cv_func__sincosf_use=no
73919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73931 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73933 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73935 for ac_func in _sincosf
73937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73938 echo "$as_me:$LINENO: checking for $ac_func" >&5
73939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73940 if eval "test \"\${$as_ac_var+set}\" = set"; then
73941 echo $ECHO_N "(cached) $ECHO_C" >&6
73942 else
73943 if test x$gcc_no_link = xyes; then
73944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73946 { (exit 1); exit 1; }; }
73948 cat >conftest.$ac_ext <<_ACEOF
73949 /* confdefs.h. */
73950 _ACEOF
73951 cat confdefs.h >>conftest.$ac_ext
73952 cat >>conftest.$ac_ext <<_ACEOF
73953 /* end confdefs.h. */
73954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73956 #define $ac_func innocuous_$ac_func
73958 /* System header to define __stub macros and hopefully few prototypes,
73959 which can conflict with char $ac_func (); below.
73960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73961 <limits.h> exists even on freestanding compilers. */
73963 #ifdef __STDC__
73964 # include <limits.h>
73965 #else
73966 # include <assert.h>
73967 #endif
73969 #undef $ac_func
73971 /* Override any gcc2 internal prototype to avoid an error. */
73972 #ifdef __cplusplus
73973 extern "C"
73975 #endif
73976 /* We use char because int might match the return type of a gcc2
73977 builtin and then its argument prototype would still apply. */
73978 char $ac_func ();
73979 /* The GNU C library defines this for functions which it implements
73980 to always fail with ENOSYS. Some functions are actually named
73981 something starting with __ and the normal name is an alias. */
73982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73983 choke me
73984 #else
73985 char (*f) () = $ac_func;
73986 #endif
73987 #ifdef __cplusplus
73989 #endif
73992 main ()
73994 return f != $ac_func;
73996 return 0;
73998 _ACEOF
73999 rm -f conftest.$ac_objext conftest$ac_exeext
74000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74001 (eval $ac_link) 2>conftest.er1
74002 ac_status=$?
74003 grep -v '^ *+' conftest.er1 >conftest.err
74004 rm -f conftest.er1
74005 cat conftest.err >&5
74006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74007 (exit $ac_status); } &&
74008 { ac_try='test -z "$ac_c_werror_flag"
74009 || test ! -s conftest.err'
74010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74011 (eval $ac_try) 2>&5
74012 ac_status=$?
74013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014 (exit $ac_status); }; } &&
74015 { ac_try='test -s conftest$ac_exeext'
74016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74017 (eval $ac_try) 2>&5
74018 ac_status=$?
74019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74020 (exit $ac_status); }; }; then
74021 eval "$as_ac_var=yes"
74022 else
74023 echo "$as_me: failed program was:" >&5
74024 sed 's/^/| /' conftest.$ac_ext >&5
74026 eval "$as_ac_var=no"
74028 rm -f conftest.err conftest.$ac_objext \
74029 conftest$ac_exeext conftest.$ac_ext
74031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74033 if test `eval echo '${'$as_ac_var'}'` = yes; then
74034 cat >>confdefs.h <<_ACEOF
74035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74036 _ACEOF
74039 done
74049 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74050 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74051 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74052 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74053 echo $ECHO_N "(cached) $ECHO_C" >&6
74054 else
74058 ac_ext=cc
74059 ac_cpp='$CXXCPP $CPPFLAGS'
74060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74064 cat >conftest.$ac_ext <<_ACEOF
74065 /* confdefs.h. */
74066 _ACEOF
74067 cat confdefs.h >>conftest.$ac_ext
74068 cat >>conftest.$ac_ext <<_ACEOF
74069 /* end confdefs.h. */
74070 #include <math.h>
74071 #ifdef HAVE_IEEEFP_H
74072 #include <ieeefp.h>
74073 #endif
74076 main ()
74078 finitef(0);
74080 return 0;
74082 _ACEOF
74083 rm -f conftest.$ac_objext
74084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74085 (eval $ac_compile) 2>conftest.er1
74086 ac_status=$?
74087 grep -v '^ *+' conftest.er1 >conftest.err
74088 rm -f conftest.er1
74089 cat conftest.err >&5
74090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74091 (exit $ac_status); } &&
74092 { ac_try='test -z "$ac_cxx_werror_flag"
74093 || test ! -s conftest.err'
74094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74095 (eval $ac_try) 2>&5
74096 ac_status=$?
74097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74098 (exit $ac_status); }; } &&
74099 { ac_try='test -s conftest.$ac_objext'
74100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74101 (eval $ac_try) 2>&5
74102 ac_status=$?
74103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74104 (exit $ac_status); }; }; then
74105 glibcxx_cv_func_finitef_use=yes
74106 else
74107 echo "$as_me: failed program was:" >&5
74108 sed 's/^/| /' conftest.$ac_ext >&5
74110 glibcxx_cv_func_finitef_use=no
74112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74113 ac_ext=c
74114 ac_cpp='$CPP $CPPFLAGS'
74115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74124 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74126 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74128 for ac_func in finitef
74130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74131 echo "$as_me:$LINENO: checking for $ac_func" >&5
74132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74133 if eval "test \"\${$as_ac_var+set}\" = set"; then
74134 echo $ECHO_N "(cached) $ECHO_C" >&6
74135 else
74136 if test x$gcc_no_link = xyes; then
74137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74139 { (exit 1); exit 1; }; }
74141 cat >conftest.$ac_ext <<_ACEOF
74142 /* confdefs.h. */
74143 _ACEOF
74144 cat confdefs.h >>conftest.$ac_ext
74145 cat >>conftest.$ac_ext <<_ACEOF
74146 /* end confdefs.h. */
74147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74149 #define $ac_func innocuous_$ac_func
74151 /* System header to define __stub macros and hopefully few prototypes,
74152 which can conflict with char $ac_func (); below.
74153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74154 <limits.h> exists even on freestanding compilers. */
74156 #ifdef __STDC__
74157 # include <limits.h>
74158 #else
74159 # include <assert.h>
74160 #endif
74162 #undef $ac_func
74164 /* Override any gcc2 internal prototype to avoid an error. */
74165 #ifdef __cplusplus
74166 extern "C"
74168 #endif
74169 /* We use char because int might match the return type of a gcc2
74170 builtin and then its argument prototype would still apply. */
74171 char $ac_func ();
74172 /* The GNU C library defines this for functions which it implements
74173 to always fail with ENOSYS. Some functions are actually named
74174 something starting with __ and the normal name is an alias. */
74175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74176 choke me
74177 #else
74178 char (*f) () = $ac_func;
74179 #endif
74180 #ifdef __cplusplus
74182 #endif
74185 main ()
74187 return f != $ac_func;
74189 return 0;
74191 _ACEOF
74192 rm -f conftest.$ac_objext conftest$ac_exeext
74193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74194 (eval $ac_link) 2>conftest.er1
74195 ac_status=$?
74196 grep -v '^ *+' conftest.er1 >conftest.err
74197 rm -f conftest.er1
74198 cat conftest.err >&5
74199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74200 (exit $ac_status); } &&
74201 { ac_try='test -z "$ac_c_werror_flag"
74202 || test ! -s conftest.err'
74203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74204 (eval $ac_try) 2>&5
74205 ac_status=$?
74206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74207 (exit $ac_status); }; } &&
74208 { ac_try='test -s conftest$ac_exeext'
74209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74210 (eval $ac_try) 2>&5
74211 ac_status=$?
74212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74213 (exit $ac_status); }; }; then
74214 eval "$as_ac_var=yes"
74215 else
74216 echo "$as_me: failed program was:" >&5
74217 sed 's/^/| /' conftest.$ac_ext >&5
74219 eval "$as_ac_var=no"
74221 rm -f conftest.err conftest.$ac_objext \
74222 conftest$ac_exeext conftest.$ac_ext
74224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74226 if test `eval echo '${'$as_ac_var'}'` = yes; then
74227 cat >>confdefs.h <<_ACEOF
74228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74229 _ACEOF
74232 done
74234 else
74236 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74237 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74238 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74239 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74240 echo $ECHO_N "(cached) $ECHO_C" >&6
74241 else
74245 ac_ext=cc
74246 ac_cpp='$CXXCPP $CPPFLAGS'
74247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74251 cat >conftest.$ac_ext <<_ACEOF
74252 /* confdefs.h. */
74253 _ACEOF
74254 cat confdefs.h >>conftest.$ac_ext
74255 cat >>conftest.$ac_ext <<_ACEOF
74256 /* end confdefs.h. */
74257 #include <math.h>
74258 #ifdef HAVE_IEEEFP_H
74259 #include <ieeefp.h>
74260 #endif
74263 main ()
74265 _finitef(0);
74267 return 0;
74269 _ACEOF
74270 rm -f conftest.$ac_objext
74271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74272 (eval $ac_compile) 2>conftest.er1
74273 ac_status=$?
74274 grep -v '^ *+' conftest.er1 >conftest.err
74275 rm -f conftest.er1
74276 cat conftest.err >&5
74277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74278 (exit $ac_status); } &&
74279 { ac_try='test -z "$ac_cxx_werror_flag"
74280 || test ! -s conftest.err'
74281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74282 (eval $ac_try) 2>&5
74283 ac_status=$?
74284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74285 (exit $ac_status); }; } &&
74286 { ac_try='test -s conftest.$ac_objext'
74287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74288 (eval $ac_try) 2>&5
74289 ac_status=$?
74290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74291 (exit $ac_status); }; }; then
74292 glibcxx_cv_func__finitef_use=yes
74293 else
74294 echo "$as_me: failed program was:" >&5
74295 sed 's/^/| /' conftest.$ac_ext >&5
74297 glibcxx_cv_func__finitef_use=no
74299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74300 ac_ext=c
74301 ac_cpp='$CPP $CPPFLAGS'
74302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74311 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74313 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74315 for ac_func in _finitef
74317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74318 echo "$as_me:$LINENO: checking for $ac_func" >&5
74319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74320 if eval "test \"\${$as_ac_var+set}\" = set"; then
74321 echo $ECHO_N "(cached) $ECHO_C" >&6
74322 else
74323 if test x$gcc_no_link = xyes; then
74324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74326 { (exit 1); exit 1; }; }
74328 cat >conftest.$ac_ext <<_ACEOF
74329 /* confdefs.h. */
74330 _ACEOF
74331 cat confdefs.h >>conftest.$ac_ext
74332 cat >>conftest.$ac_ext <<_ACEOF
74333 /* end confdefs.h. */
74334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74336 #define $ac_func innocuous_$ac_func
74338 /* System header to define __stub macros and hopefully few prototypes,
74339 which can conflict with char $ac_func (); below.
74340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74341 <limits.h> exists even on freestanding compilers. */
74343 #ifdef __STDC__
74344 # include <limits.h>
74345 #else
74346 # include <assert.h>
74347 #endif
74349 #undef $ac_func
74351 /* Override any gcc2 internal prototype to avoid an error. */
74352 #ifdef __cplusplus
74353 extern "C"
74355 #endif
74356 /* We use char because int might match the return type of a gcc2
74357 builtin and then its argument prototype would still apply. */
74358 char $ac_func ();
74359 /* The GNU C library defines this for functions which it implements
74360 to always fail with ENOSYS. Some functions are actually named
74361 something starting with __ and the normal name is an alias. */
74362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74363 choke me
74364 #else
74365 char (*f) () = $ac_func;
74366 #endif
74367 #ifdef __cplusplus
74369 #endif
74372 main ()
74374 return f != $ac_func;
74376 return 0;
74378 _ACEOF
74379 rm -f conftest.$ac_objext conftest$ac_exeext
74380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74381 (eval $ac_link) 2>conftest.er1
74382 ac_status=$?
74383 grep -v '^ *+' conftest.er1 >conftest.err
74384 rm -f conftest.er1
74385 cat conftest.err >&5
74386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74387 (exit $ac_status); } &&
74388 { ac_try='test -z "$ac_c_werror_flag"
74389 || test ! -s conftest.err'
74390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74391 (eval $ac_try) 2>&5
74392 ac_status=$?
74393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74394 (exit $ac_status); }; } &&
74395 { ac_try='test -s conftest$ac_exeext'
74396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74397 (eval $ac_try) 2>&5
74398 ac_status=$?
74399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400 (exit $ac_status); }; }; then
74401 eval "$as_ac_var=yes"
74402 else
74403 echo "$as_me: failed program was:" >&5
74404 sed 's/^/| /' conftest.$ac_ext >&5
74406 eval "$as_ac_var=no"
74408 rm -f conftest.err conftest.$ac_objext \
74409 conftest$ac_exeext conftest.$ac_ext
74411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74413 if test `eval echo '${'$as_ac_var'}'` = yes; then
74414 cat >>confdefs.h <<_ACEOF
74415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74416 _ACEOF
74419 done
74429 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74430 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74431 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74432 echo $ECHO_N "(cached) $ECHO_C" >&6
74433 else
74437 ac_ext=cc
74438 ac_cpp='$CXXCPP $CPPFLAGS'
74439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74443 cat >conftest.$ac_ext <<_ACEOF
74444 /* confdefs.h. */
74445 _ACEOF
74446 cat confdefs.h >>conftest.$ac_ext
74447 cat >>conftest.$ac_ext <<_ACEOF
74448 /* end confdefs.h. */
74449 #include <math.h>
74451 main ()
74453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74455 return 0;
74457 _ACEOF
74458 rm -f conftest.$ac_objext
74459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74460 (eval $ac_compile) 2>conftest.er1
74461 ac_status=$?
74462 grep -v '^ *+' conftest.er1 >conftest.err
74463 rm -f conftest.er1
74464 cat conftest.err >&5
74465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74466 (exit $ac_status); } &&
74467 { ac_try='test -z "$ac_cxx_werror_flag"
74468 || test ! -s conftest.err'
74469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74470 (eval $ac_try) 2>&5
74471 ac_status=$?
74472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74473 (exit $ac_status); }; } &&
74474 { ac_try='test -s conftest.$ac_objext'
74475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74476 (eval $ac_try) 2>&5
74477 ac_status=$?
74478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74479 (exit $ac_status); }; }; then
74480 glibcxx_cv_func_long_double_trig_use=yes
74481 else
74482 echo "$as_me: failed program was:" >&5
74483 sed 's/^/| /' conftest.$ac_ext >&5
74485 glibcxx_cv_func_long_double_trig_use=no
74487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74488 ac_ext=c
74489 ac_cpp='$CPP $CPPFLAGS'
74490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74497 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74498 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74508 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74511 echo "$as_me:$LINENO: checking for $ac_func" >&5
74512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74513 if eval "test \"\${$as_ac_var+set}\" = set"; then
74514 echo $ECHO_N "(cached) $ECHO_C" >&6
74515 else
74516 if test x$gcc_no_link = xyes; then
74517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74519 { (exit 1); exit 1; }; }
74521 cat >conftest.$ac_ext <<_ACEOF
74522 /* confdefs.h. */
74523 _ACEOF
74524 cat confdefs.h >>conftest.$ac_ext
74525 cat >>conftest.$ac_ext <<_ACEOF
74526 /* end confdefs.h. */
74527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74529 #define $ac_func innocuous_$ac_func
74531 /* System header to define __stub macros and hopefully few prototypes,
74532 which can conflict with char $ac_func (); below.
74533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74534 <limits.h> exists even on freestanding compilers. */
74536 #ifdef __STDC__
74537 # include <limits.h>
74538 #else
74539 # include <assert.h>
74540 #endif
74542 #undef $ac_func
74544 /* Override any gcc2 internal prototype to avoid an error. */
74545 #ifdef __cplusplus
74546 extern "C"
74548 #endif
74549 /* We use char because int might match the return type of a gcc2
74550 builtin and then its argument prototype would still apply. */
74551 char $ac_func ();
74552 /* The GNU C library defines this for functions which it implements
74553 to always fail with ENOSYS. Some functions are actually named
74554 something starting with __ and the normal name is an alias. */
74555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74556 choke me
74557 #else
74558 char (*f) () = $ac_func;
74559 #endif
74560 #ifdef __cplusplus
74562 #endif
74565 main ()
74567 return f != $ac_func;
74569 return 0;
74571 _ACEOF
74572 rm -f conftest.$ac_objext conftest$ac_exeext
74573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74574 (eval $ac_link) 2>conftest.er1
74575 ac_status=$?
74576 grep -v '^ *+' conftest.er1 >conftest.err
74577 rm -f conftest.er1
74578 cat conftest.err >&5
74579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74580 (exit $ac_status); } &&
74581 { ac_try='test -z "$ac_c_werror_flag"
74582 || test ! -s conftest.err'
74583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74584 (eval $ac_try) 2>&5
74585 ac_status=$?
74586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74587 (exit $ac_status); }; } &&
74588 { ac_try='test -s conftest$ac_exeext'
74589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74590 (eval $ac_try) 2>&5
74591 ac_status=$?
74592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74593 (exit $ac_status); }; }; then
74594 eval "$as_ac_var=yes"
74595 else
74596 echo "$as_me: failed program was:" >&5
74597 sed 's/^/| /' conftest.$ac_ext >&5
74599 eval "$as_ac_var=no"
74601 rm -f conftest.err conftest.$ac_objext \
74602 conftest$ac_exeext conftest.$ac_ext
74604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74606 if test `eval echo '${'$as_ac_var'}'` = yes; then
74607 cat >>confdefs.h <<_ACEOF
74608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74609 _ACEOF
74612 done
74614 else
74615 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74616 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74617 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74618 echo $ECHO_N "(cached) $ECHO_C" >&6
74619 else
74623 ac_ext=cc
74624 ac_cpp='$CXXCPP $CPPFLAGS'
74625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74629 cat >conftest.$ac_ext <<_ACEOF
74630 /* confdefs.h. */
74631 _ACEOF
74632 cat confdefs.h >>conftest.$ac_ext
74633 cat >>conftest.$ac_ext <<_ACEOF
74634 /* end confdefs.h. */
74635 #include <math.h>
74637 main ()
74639 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74641 return 0;
74643 _ACEOF
74644 rm -f conftest.$ac_objext
74645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74646 (eval $ac_compile) 2>conftest.er1
74647 ac_status=$?
74648 grep -v '^ *+' conftest.er1 >conftest.err
74649 rm -f conftest.er1
74650 cat conftest.err >&5
74651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74652 (exit $ac_status); } &&
74653 { ac_try='test -z "$ac_cxx_werror_flag"
74654 || test ! -s conftest.err'
74655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74656 (eval $ac_try) 2>&5
74657 ac_status=$?
74658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74659 (exit $ac_status); }; } &&
74660 { ac_try='test -s conftest.$ac_objext'
74661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74662 (eval $ac_try) 2>&5
74663 ac_status=$?
74664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74665 (exit $ac_status); }; }; then
74666 glibcxx_cv_func__long_double_trig_use=yes
74667 else
74668 echo "$as_me: failed program was:" >&5
74669 sed 's/^/| /' conftest.$ac_ext >&5
74671 glibcxx_cv_func__long_double_trig_use=no
74673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74674 ac_ext=c
74675 ac_cpp='$CPP $CPPFLAGS'
74676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74683 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74684 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74694 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74697 echo "$as_me:$LINENO: checking for $ac_func" >&5
74698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74699 if eval "test \"\${$as_ac_var+set}\" = set"; then
74700 echo $ECHO_N "(cached) $ECHO_C" >&6
74701 else
74702 if test x$gcc_no_link = xyes; then
74703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74705 { (exit 1); exit 1; }; }
74707 cat >conftest.$ac_ext <<_ACEOF
74708 /* confdefs.h. */
74709 _ACEOF
74710 cat confdefs.h >>conftest.$ac_ext
74711 cat >>conftest.$ac_ext <<_ACEOF
74712 /* end confdefs.h. */
74713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74715 #define $ac_func innocuous_$ac_func
74717 /* System header to define __stub macros and hopefully few prototypes,
74718 which can conflict with char $ac_func (); below.
74719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74720 <limits.h> exists even on freestanding compilers. */
74722 #ifdef __STDC__
74723 # include <limits.h>
74724 #else
74725 # include <assert.h>
74726 #endif
74728 #undef $ac_func
74730 /* Override any gcc2 internal prototype to avoid an error. */
74731 #ifdef __cplusplus
74732 extern "C"
74734 #endif
74735 /* We use char because int might match the return type of a gcc2
74736 builtin and then its argument prototype would still apply. */
74737 char $ac_func ();
74738 /* The GNU C library defines this for functions which it implements
74739 to always fail with ENOSYS. Some functions are actually named
74740 something starting with __ and the normal name is an alias. */
74741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74742 choke me
74743 #else
74744 char (*f) () = $ac_func;
74745 #endif
74746 #ifdef __cplusplus
74748 #endif
74751 main ()
74753 return f != $ac_func;
74755 return 0;
74757 _ACEOF
74758 rm -f conftest.$ac_objext conftest$ac_exeext
74759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74760 (eval $ac_link) 2>conftest.er1
74761 ac_status=$?
74762 grep -v '^ *+' conftest.er1 >conftest.err
74763 rm -f conftest.er1
74764 cat conftest.err >&5
74765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766 (exit $ac_status); } &&
74767 { ac_try='test -z "$ac_c_werror_flag"
74768 || test ! -s conftest.err'
74769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74770 (eval $ac_try) 2>&5
74771 ac_status=$?
74772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74773 (exit $ac_status); }; } &&
74774 { ac_try='test -s conftest$ac_exeext'
74775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74776 (eval $ac_try) 2>&5
74777 ac_status=$?
74778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779 (exit $ac_status); }; }; then
74780 eval "$as_ac_var=yes"
74781 else
74782 echo "$as_me: failed program was:" >&5
74783 sed 's/^/| /' conftest.$ac_ext >&5
74785 eval "$as_ac_var=no"
74787 rm -f conftest.err conftest.$ac_objext \
74788 conftest$ac_exeext conftest.$ac_ext
74790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74792 if test `eval echo '${'$as_ac_var'}'` = yes; then
74793 cat >>confdefs.h <<_ACEOF
74794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74795 _ACEOF
74798 done
74816 echo "$as_me:$LINENO: checking for long double round functions" >&5
74817 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74818 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74819 echo $ECHO_N "(cached) $ECHO_C" >&6
74820 else
74824 ac_ext=cc
74825 ac_cpp='$CXXCPP $CPPFLAGS'
74826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74830 cat >conftest.$ac_ext <<_ACEOF
74831 /* confdefs.h. */
74832 _ACEOF
74833 cat confdefs.h >>conftest.$ac_ext
74834 cat >>conftest.$ac_ext <<_ACEOF
74835 /* end confdefs.h. */
74836 #include <math.h>
74838 main ()
74840 ceill (0); floorl (0);
74842 return 0;
74844 _ACEOF
74845 rm -f conftest.$ac_objext
74846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74847 (eval $ac_compile) 2>conftest.er1
74848 ac_status=$?
74849 grep -v '^ *+' conftest.er1 >conftest.err
74850 rm -f conftest.er1
74851 cat conftest.err >&5
74852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74853 (exit $ac_status); } &&
74854 { ac_try='test -z "$ac_cxx_werror_flag"
74855 || test ! -s conftest.err'
74856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74857 (eval $ac_try) 2>&5
74858 ac_status=$?
74859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74860 (exit $ac_status); }; } &&
74861 { ac_try='test -s conftest.$ac_objext'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; }; then
74867 glibcxx_cv_func_long_double_round_use=yes
74868 else
74869 echo "$as_me: failed program was:" >&5
74870 sed 's/^/| /' conftest.$ac_ext >&5
74872 glibcxx_cv_func_long_double_round_use=no
74874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74875 ac_ext=c
74876 ac_cpp='$CPP $CPPFLAGS'
74877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74884 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74885 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74888 for ac_func in ceill floorl
74890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74891 echo "$as_me:$LINENO: checking for $ac_func" >&5
74892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74893 if eval "test \"\${$as_ac_var+set}\" = set"; then
74894 echo $ECHO_N "(cached) $ECHO_C" >&6
74895 else
74896 if test x$gcc_no_link = xyes; then
74897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74899 { (exit 1); exit 1; }; }
74901 cat >conftest.$ac_ext <<_ACEOF
74902 /* confdefs.h. */
74903 _ACEOF
74904 cat confdefs.h >>conftest.$ac_ext
74905 cat >>conftest.$ac_ext <<_ACEOF
74906 /* end confdefs.h. */
74907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74909 #define $ac_func innocuous_$ac_func
74911 /* System header to define __stub macros and hopefully few prototypes,
74912 which can conflict with char $ac_func (); below.
74913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74914 <limits.h> exists even on freestanding compilers. */
74916 #ifdef __STDC__
74917 # include <limits.h>
74918 #else
74919 # include <assert.h>
74920 #endif
74922 #undef $ac_func
74924 /* Override any gcc2 internal prototype to avoid an error. */
74925 #ifdef __cplusplus
74926 extern "C"
74928 #endif
74929 /* We use char because int might match the return type of a gcc2
74930 builtin and then its argument prototype would still apply. */
74931 char $ac_func ();
74932 /* The GNU C library defines this for functions which it implements
74933 to always fail with ENOSYS. Some functions are actually named
74934 something starting with __ and the normal name is an alias. */
74935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74936 choke me
74937 #else
74938 char (*f) () = $ac_func;
74939 #endif
74940 #ifdef __cplusplus
74942 #endif
74945 main ()
74947 return f != $ac_func;
74949 return 0;
74951 _ACEOF
74952 rm -f conftest.$ac_objext conftest$ac_exeext
74953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74954 (eval $ac_link) 2>conftest.er1
74955 ac_status=$?
74956 grep -v '^ *+' conftest.er1 >conftest.err
74957 rm -f conftest.er1
74958 cat conftest.err >&5
74959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74960 (exit $ac_status); } &&
74961 { ac_try='test -z "$ac_c_werror_flag"
74962 || test ! -s conftest.err'
74963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74964 (eval $ac_try) 2>&5
74965 ac_status=$?
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); }; } &&
74968 { ac_try='test -s conftest$ac_exeext'
74969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970 (eval $ac_try) 2>&5
74971 ac_status=$?
74972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973 (exit $ac_status); }; }; then
74974 eval "$as_ac_var=yes"
74975 else
74976 echo "$as_me: failed program was:" >&5
74977 sed 's/^/| /' conftest.$ac_ext >&5
74979 eval "$as_ac_var=no"
74981 rm -f conftest.err conftest.$ac_objext \
74982 conftest$ac_exeext conftest.$ac_ext
74984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74986 if test `eval echo '${'$as_ac_var'}'` = yes; then
74987 cat >>confdefs.h <<_ACEOF
74988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74989 _ACEOF
74992 done
74994 else
74995 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74996 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74997 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74998 echo $ECHO_N "(cached) $ECHO_C" >&6
74999 else
75003 ac_ext=cc
75004 ac_cpp='$CXXCPP $CPPFLAGS'
75005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75009 cat >conftest.$ac_ext <<_ACEOF
75010 /* confdefs.h. */
75011 _ACEOF
75012 cat confdefs.h >>conftest.$ac_ext
75013 cat >>conftest.$ac_ext <<_ACEOF
75014 /* end confdefs.h. */
75015 #include <math.h>
75017 main ()
75019 _ceill (0); _floorl (0);
75021 return 0;
75023 _ACEOF
75024 rm -f conftest.$ac_objext
75025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75026 (eval $ac_compile) 2>conftest.er1
75027 ac_status=$?
75028 grep -v '^ *+' conftest.er1 >conftest.err
75029 rm -f conftest.er1
75030 cat conftest.err >&5
75031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75032 (exit $ac_status); } &&
75033 { ac_try='test -z "$ac_cxx_werror_flag"
75034 || test ! -s conftest.err'
75035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75036 (eval $ac_try) 2>&5
75037 ac_status=$?
75038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75039 (exit $ac_status); }; } &&
75040 { ac_try='test -s conftest.$ac_objext'
75041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75042 (eval $ac_try) 2>&5
75043 ac_status=$?
75044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75045 (exit $ac_status); }; }; then
75046 glibcxx_cv_func__long_double_round_use=yes
75047 else
75048 echo "$as_me: failed program was:" >&5
75049 sed 's/^/| /' conftest.$ac_ext >&5
75051 glibcxx_cv_func__long_double_round_use=no
75053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75054 ac_ext=c
75055 ac_cpp='$CPP $CPPFLAGS'
75056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75063 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75064 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75067 for ac_func in _ceill _floorl
75069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75070 echo "$as_me:$LINENO: checking for $ac_func" >&5
75071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75072 if eval "test \"\${$as_ac_var+set}\" = set"; then
75073 echo $ECHO_N "(cached) $ECHO_C" >&6
75074 else
75075 if test x$gcc_no_link = xyes; then
75076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75078 { (exit 1); exit 1; }; }
75080 cat >conftest.$ac_ext <<_ACEOF
75081 /* confdefs.h. */
75082 _ACEOF
75083 cat confdefs.h >>conftest.$ac_ext
75084 cat >>conftest.$ac_ext <<_ACEOF
75085 /* end confdefs.h. */
75086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75088 #define $ac_func innocuous_$ac_func
75090 /* System header to define __stub macros and hopefully few prototypes,
75091 which can conflict with char $ac_func (); below.
75092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75093 <limits.h> exists even on freestanding compilers. */
75095 #ifdef __STDC__
75096 # include <limits.h>
75097 #else
75098 # include <assert.h>
75099 #endif
75101 #undef $ac_func
75103 /* Override any gcc2 internal prototype to avoid an error. */
75104 #ifdef __cplusplus
75105 extern "C"
75107 #endif
75108 /* We use char because int might match the return type of a gcc2
75109 builtin and then its argument prototype would still apply. */
75110 char $ac_func ();
75111 /* The GNU C library defines this for functions which it implements
75112 to always fail with ENOSYS. Some functions are actually named
75113 something starting with __ and the normal name is an alias. */
75114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75115 choke me
75116 #else
75117 char (*f) () = $ac_func;
75118 #endif
75119 #ifdef __cplusplus
75121 #endif
75124 main ()
75126 return f != $ac_func;
75128 return 0;
75130 _ACEOF
75131 rm -f conftest.$ac_objext conftest$ac_exeext
75132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75133 (eval $ac_link) 2>conftest.er1
75134 ac_status=$?
75135 grep -v '^ *+' conftest.er1 >conftest.err
75136 rm -f conftest.er1
75137 cat conftest.err >&5
75138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75139 (exit $ac_status); } &&
75140 { ac_try='test -z "$ac_c_werror_flag"
75141 || test ! -s conftest.err'
75142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75143 (eval $ac_try) 2>&5
75144 ac_status=$?
75145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75146 (exit $ac_status); }; } &&
75147 { ac_try='test -s conftest$ac_exeext'
75148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75149 (eval $ac_try) 2>&5
75150 ac_status=$?
75151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75152 (exit $ac_status); }; }; then
75153 eval "$as_ac_var=yes"
75154 else
75155 echo "$as_me: failed program was:" >&5
75156 sed 's/^/| /' conftest.$ac_ext >&5
75158 eval "$as_ac_var=no"
75160 rm -f conftest.err conftest.$ac_objext \
75161 conftest$ac_exeext conftest.$ac_ext
75163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75165 if test `eval echo '${'$as_ac_var'}'` = yes; then
75166 cat >>confdefs.h <<_ACEOF
75167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75168 _ACEOF
75171 done
75183 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75184 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75185 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75186 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75187 echo $ECHO_N "(cached) $ECHO_C" >&6
75188 else
75192 ac_ext=cc
75193 ac_cpp='$CXXCPP $CPPFLAGS'
75194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75198 cat >conftest.$ac_ext <<_ACEOF
75199 /* confdefs.h. */
75200 _ACEOF
75201 cat confdefs.h >>conftest.$ac_ext
75202 cat >>conftest.$ac_ext <<_ACEOF
75203 /* end confdefs.h. */
75204 #include <math.h>
75205 #ifdef HAVE_IEEEFP_H
75206 #include <ieeefp.h>
75207 #endif
75210 main ()
75212 isnanl(0);
75214 return 0;
75216 _ACEOF
75217 rm -f conftest.$ac_objext
75218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75219 (eval $ac_compile) 2>conftest.er1
75220 ac_status=$?
75221 grep -v '^ *+' conftest.er1 >conftest.err
75222 rm -f conftest.er1
75223 cat conftest.err >&5
75224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75225 (exit $ac_status); } &&
75226 { ac_try='test -z "$ac_cxx_werror_flag"
75227 || test ! -s conftest.err'
75228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75229 (eval $ac_try) 2>&5
75230 ac_status=$?
75231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75232 (exit $ac_status); }; } &&
75233 { ac_try='test -s conftest.$ac_objext'
75234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75235 (eval $ac_try) 2>&5
75236 ac_status=$?
75237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75238 (exit $ac_status); }; }; then
75239 glibcxx_cv_func_isnanl_use=yes
75240 else
75241 echo "$as_me: failed program was:" >&5
75242 sed 's/^/| /' conftest.$ac_ext >&5
75244 glibcxx_cv_func_isnanl_use=no
75246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75247 ac_ext=c
75248 ac_cpp='$CPP $CPPFLAGS'
75249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75258 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75260 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75262 for ac_func in isnanl
75264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75265 echo "$as_me:$LINENO: checking for $ac_func" >&5
75266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75267 if eval "test \"\${$as_ac_var+set}\" = set"; then
75268 echo $ECHO_N "(cached) $ECHO_C" >&6
75269 else
75270 if test x$gcc_no_link = xyes; then
75271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75273 { (exit 1); exit 1; }; }
75275 cat >conftest.$ac_ext <<_ACEOF
75276 /* confdefs.h. */
75277 _ACEOF
75278 cat confdefs.h >>conftest.$ac_ext
75279 cat >>conftest.$ac_ext <<_ACEOF
75280 /* end confdefs.h. */
75281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75283 #define $ac_func innocuous_$ac_func
75285 /* System header to define __stub macros and hopefully few prototypes,
75286 which can conflict with char $ac_func (); below.
75287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75288 <limits.h> exists even on freestanding compilers. */
75290 #ifdef __STDC__
75291 # include <limits.h>
75292 #else
75293 # include <assert.h>
75294 #endif
75296 #undef $ac_func
75298 /* Override any gcc2 internal prototype to avoid an error. */
75299 #ifdef __cplusplus
75300 extern "C"
75302 #endif
75303 /* We use char because int might match the return type of a gcc2
75304 builtin and then its argument prototype would still apply. */
75305 char $ac_func ();
75306 /* The GNU C library defines this for functions which it implements
75307 to always fail with ENOSYS. Some functions are actually named
75308 something starting with __ and the normal name is an alias. */
75309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75310 choke me
75311 #else
75312 char (*f) () = $ac_func;
75313 #endif
75314 #ifdef __cplusplus
75316 #endif
75319 main ()
75321 return f != $ac_func;
75323 return 0;
75325 _ACEOF
75326 rm -f conftest.$ac_objext conftest$ac_exeext
75327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75328 (eval $ac_link) 2>conftest.er1
75329 ac_status=$?
75330 grep -v '^ *+' conftest.er1 >conftest.err
75331 rm -f conftest.er1
75332 cat conftest.err >&5
75333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75334 (exit $ac_status); } &&
75335 { ac_try='test -z "$ac_c_werror_flag"
75336 || test ! -s conftest.err'
75337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75338 (eval $ac_try) 2>&5
75339 ac_status=$?
75340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75341 (exit $ac_status); }; } &&
75342 { ac_try='test -s conftest$ac_exeext'
75343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75344 (eval $ac_try) 2>&5
75345 ac_status=$?
75346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75347 (exit $ac_status); }; }; then
75348 eval "$as_ac_var=yes"
75349 else
75350 echo "$as_me: failed program was:" >&5
75351 sed 's/^/| /' conftest.$ac_ext >&5
75353 eval "$as_ac_var=no"
75355 rm -f conftest.err conftest.$ac_objext \
75356 conftest$ac_exeext conftest.$ac_ext
75358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75360 if test `eval echo '${'$as_ac_var'}'` = yes; then
75361 cat >>confdefs.h <<_ACEOF
75362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75363 _ACEOF
75366 done
75368 else
75370 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75371 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75372 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75373 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75374 echo $ECHO_N "(cached) $ECHO_C" >&6
75375 else
75379 ac_ext=cc
75380 ac_cpp='$CXXCPP $CPPFLAGS'
75381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75385 cat >conftest.$ac_ext <<_ACEOF
75386 /* confdefs.h. */
75387 _ACEOF
75388 cat confdefs.h >>conftest.$ac_ext
75389 cat >>conftest.$ac_ext <<_ACEOF
75390 /* end confdefs.h. */
75391 #include <math.h>
75392 #ifdef HAVE_IEEEFP_H
75393 #include <ieeefp.h>
75394 #endif
75397 main ()
75399 _isnanl(0);
75401 return 0;
75403 _ACEOF
75404 rm -f conftest.$ac_objext
75405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75406 (eval $ac_compile) 2>conftest.er1
75407 ac_status=$?
75408 grep -v '^ *+' conftest.er1 >conftest.err
75409 rm -f conftest.er1
75410 cat conftest.err >&5
75411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75412 (exit $ac_status); } &&
75413 { ac_try='test -z "$ac_cxx_werror_flag"
75414 || test ! -s conftest.err'
75415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75416 (eval $ac_try) 2>&5
75417 ac_status=$?
75418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75419 (exit $ac_status); }; } &&
75420 { ac_try='test -s conftest.$ac_objext'
75421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75422 (eval $ac_try) 2>&5
75423 ac_status=$?
75424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75425 (exit $ac_status); }; }; then
75426 glibcxx_cv_func__isnanl_use=yes
75427 else
75428 echo "$as_me: failed program was:" >&5
75429 sed 's/^/| /' conftest.$ac_ext >&5
75431 glibcxx_cv_func__isnanl_use=no
75433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75434 ac_ext=c
75435 ac_cpp='$CPP $CPPFLAGS'
75436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75445 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75447 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75449 for ac_func in _isnanl
75451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75452 echo "$as_me:$LINENO: checking for $ac_func" >&5
75453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75454 if eval "test \"\${$as_ac_var+set}\" = set"; then
75455 echo $ECHO_N "(cached) $ECHO_C" >&6
75456 else
75457 if test x$gcc_no_link = xyes; then
75458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75460 { (exit 1); exit 1; }; }
75462 cat >conftest.$ac_ext <<_ACEOF
75463 /* confdefs.h. */
75464 _ACEOF
75465 cat confdefs.h >>conftest.$ac_ext
75466 cat >>conftest.$ac_ext <<_ACEOF
75467 /* end confdefs.h. */
75468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75470 #define $ac_func innocuous_$ac_func
75472 /* System header to define __stub macros and hopefully few prototypes,
75473 which can conflict with char $ac_func (); below.
75474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75475 <limits.h> exists even on freestanding compilers. */
75477 #ifdef __STDC__
75478 # include <limits.h>
75479 #else
75480 # include <assert.h>
75481 #endif
75483 #undef $ac_func
75485 /* Override any gcc2 internal prototype to avoid an error. */
75486 #ifdef __cplusplus
75487 extern "C"
75489 #endif
75490 /* We use char because int might match the return type of a gcc2
75491 builtin and then its argument prototype would still apply. */
75492 char $ac_func ();
75493 /* The GNU C library defines this for functions which it implements
75494 to always fail with ENOSYS. Some functions are actually named
75495 something starting with __ and the normal name is an alias. */
75496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75497 choke me
75498 #else
75499 char (*f) () = $ac_func;
75500 #endif
75501 #ifdef __cplusplus
75503 #endif
75506 main ()
75508 return f != $ac_func;
75510 return 0;
75512 _ACEOF
75513 rm -f conftest.$ac_objext conftest$ac_exeext
75514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75515 (eval $ac_link) 2>conftest.er1
75516 ac_status=$?
75517 grep -v '^ *+' conftest.er1 >conftest.err
75518 rm -f conftest.er1
75519 cat conftest.err >&5
75520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75521 (exit $ac_status); } &&
75522 { ac_try='test -z "$ac_c_werror_flag"
75523 || test ! -s conftest.err'
75524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75525 (eval $ac_try) 2>&5
75526 ac_status=$?
75527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75528 (exit $ac_status); }; } &&
75529 { ac_try='test -s conftest$ac_exeext'
75530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75531 (eval $ac_try) 2>&5
75532 ac_status=$?
75533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75534 (exit $ac_status); }; }; then
75535 eval "$as_ac_var=yes"
75536 else
75537 echo "$as_me: failed program was:" >&5
75538 sed 's/^/| /' conftest.$ac_ext >&5
75540 eval "$as_ac_var=no"
75542 rm -f conftest.err conftest.$ac_objext \
75543 conftest$ac_exeext conftest.$ac_ext
75545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75547 if test `eval echo '${'$as_ac_var'}'` = yes; then
75548 cat >>confdefs.h <<_ACEOF
75549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75550 _ACEOF
75553 done
75563 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75564 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75565 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75566 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75567 echo $ECHO_N "(cached) $ECHO_C" >&6
75568 else
75572 ac_ext=cc
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75578 cat >conftest.$ac_ext <<_ACEOF
75579 /* confdefs.h. */
75580 _ACEOF
75581 cat confdefs.h >>conftest.$ac_ext
75582 cat >>conftest.$ac_ext <<_ACEOF
75583 /* end confdefs.h. */
75584 #include <math.h>
75585 #ifdef HAVE_IEEEFP_H
75586 #include <ieeefp.h>
75587 #endif
75590 main ()
75592 isinfl(0);
75594 return 0;
75596 _ACEOF
75597 rm -f conftest.$ac_objext
75598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75599 (eval $ac_compile) 2>conftest.er1
75600 ac_status=$?
75601 grep -v '^ *+' conftest.er1 >conftest.err
75602 rm -f conftest.er1
75603 cat conftest.err >&5
75604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75605 (exit $ac_status); } &&
75606 { ac_try='test -z "$ac_cxx_werror_flag"
75607 || test ! -s conftest.err'
75608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75609 (eval $ac_try) 2>&5
75610 ac_status=$?
75611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75612 (exit $ac_status); }; } &&
75613 { ac_try='test -s conftest.$ac_objext'
75614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75615 (eval $ac_try) 2>&5
75616 ac_status=$?
75617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75618 (exit $ac_status); }; }; then
75619 glibcxx_cv_func_isinfl_use=yes
75620 else
75621 echo "$as_me: failed program was:" >&5
75622 sed 's/^/| /' conftest.$ac_ext >&5
75624 glibcxx_cv_func_isinfl_use=no
75626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75627 ac_ext=c
75628 ac_cpp='$CPP $CPPFLAGS'
75629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75638 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75640 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75642 for ac_func in isinfl
75644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75645 echo "$as_me:$LINENO: checking for $ac_func" >&5
75646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75647 if eval "test \"\${$as_ac_var+set}\" = set"; then
75648 echo $ECHO_N "(cached) $ECHO_C" >&6
75649 else
75650 if test x$gcc_no_link = xyes; then
75651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75653 { (exit 1); exit 1; }; }
75655 cat >conftest.$ac_ext <<_ACEOF
75656 /* confdefs.h. */
75657 _ACEOF
75658 cat confdefs.h >>conftest.$ac_ext
75659 cat >>conftest.$ac_ext <<_ACEOF
75660 /* end confdefs.h. */
75661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75663 #define $ac_func innocuous_$ac_func
75665 /* System header to define __stub macros and hopefully few prototypes,
75666 which can conflict with char $ac_func (); below.
75667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75668 <limits.h> exists even on freestanding compilers. */
75670 #ifdef __STDC__
75671 # include <limits.h>
75672 #else
75673 # include <assert.h>
75674 #endif
75676 #undef $ac_func
75678 /* Override any gcc2 internal prototype to avoid an error. */
75679 #ifdef __cplusplus
75680 extern "C"
75682 #endif
75683 /* We use char because int might match the return type of a gcc2
75684 builtin and then its argument prototype would still apply. */
75685 char $ac_func ();
75686 /* The GNU C library defines this for functions which it implements
75687 to always fail with ENOSYS. Some functions are actually named
75688 something starting with __ and the normal name is an alias. */
75689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75690 choke me
75691 #else
75692 char (*f) () = $ac_func;
75693 #endif
75694 #ifdef __cplusplus
75696 #endif
75699 main ()
75701 return f != $ac_func;
75703 return 0;
75705 _ACEOF
75706 rm -f conftest.$ac_objext conftest$ac_exeext
75707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75708 (eval $ac_link) 2>conftest.er1
75709 ac_status=$?
75710 grep -v '^ *+' conftest.er1 >conftest.err
75711 rm -f conftest.er1
75712 cat conftest.err >&5
75713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75714 (exit $ac_status); } &&
75715 { ac_try='test -z "$ac_c_werror_flag"
75716 || test ! -s conftest.err'
75717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75718 (eval $ac_try) 2>&5
75719 ac_status=$?
75720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75721 (exit $ac_status); }; } &&
75722 { ac_try='test -s conftest$ac_exeext'
75723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75724 (eval $ac_try) 2>&5
75725 ac_status=$?
75726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75727 (exit $ac_status); }; }; then
75728 eval "$as_ac_var=yes"
75729 else
75730 echo "$as_me: failed program was:" >&5
75731 sed 's/^/| /' conftest.$ac_ext >&5
75733 eval "$as_ac_var=no"
75735 rm -f conftest.err conftest.$ac_objext \
75736 conftest$ac_exeext conftest.$ac_ext
75738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75740 if test `eval echo '${'$as_ac_var'}'` = yes; then
75741 cat >>confdefs.h <<_ACEOF
75742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75743 _ACEOF
75746 done
75748 else
75750 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75751 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75752 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75753 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75754 echo $ECHO_N "(cached) $ECHO_C" >&6
75755 else
75759 ac_ext=cc
75760 ac_cpp='$CXXCPP $CPPFLAGS'
75761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75765 cat >conftest.$ac_ext <<_ACEOF
75766 /* confdefs.h. */
75767 _ACEOF
75768 cat confdefs.h >>conftest.$ac_ext
75769 cat >>conftest.$ac_ext <<_ACEOF
75770 /* end confdefs.h. */
75771 #include <math.h>
75772 #ifdef HAVE_IEEEFP_H
75773 #include <ieeefp.h>
75774 #endif
75777 main ()
75779 _isinfl(0);
75781 return 0;
75783 _ACEOF
75784 rm -f conftest.$ac_objext
75785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75786 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__isinfl_use=yes
75807 else
75808 echo "$as_me: failed program was:" >&5
75809 sed 's/^/| /' conftest.$ac_ext >&5
75811 glibcxx_cv_func__isinfl_use=no
75813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75814 ac_ext=c
75815 ac_cpp='$CPP $CPPFLAGS'
75816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75825 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75827 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75829 for ac_func in _isinfl
75831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75832 echo "$as_me:$LINENO: checking for $ac_func" >&5
75833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75834 if eval "test \"\${$as_ac_var+set}\" = set"; then
75835 echo $ECHO_N "(cached) $ECHO_C" >&6
75836 else
75837 if test x$gcc_no_link = xyes; then
75838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75840 { (exit 1); exit 1; }; }
75842 cat >conftest.$ac_ext <<_ACEOF
75843 /* confdefs.h. */
75844 _ACEOF
75845 cat confdefs.h >>conftest.$ac_ext
75846 cat >>conftest.$ac_ext <<_ACEOF
75847 /* end confdefs.h. */
75848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75850 #define $ac_func innocuous_$ac_func
75852 /* System header to define __stub macros and hopefully few prototypes,
75853 which can conflict with char $ac_func (); below.
75854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75855 <limits.h> exists even on freestanding compilers. */
75857 #ifdef __STDC__
75858 # include <limits.h>
75859 #else
75860 # include <assert.h>
75861 #endif
75863 #undef $ac_func
75865 /* Override any gcc2 internal prototype to avoid an error. */
75866 #ifdef __cplusplus
75867 extern "C"
75869 #endif
75870 /* We use char because int might match the return type of a gcc2
75871 builtin and then its argument prototype would still apply. */
75872 char $ac_func ();
75873 /* The GNU C library defines this for functions which it implements
75874 to always fail with ENOSYS. Some functions are actually named
75875 something starting with __ and the normal name is an alias. */
75876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75877 choke me
75878 #else
75879 char (*f) () = $ac_func;
75880 #endif
75881 #ifdef __cplusplus
75883 #endif
75886 main ()
75888 return f != $ac_func;
75890 return 0;
75892 _ACEOF
75893 rm -f conftest.$ac_objext conftest$ac_exeext
75894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75895 (eval $ac_link) 2>conftest.er1
75896 ac_status=$?
75897 grep -v '^ *+' conftest.er1 >conftest.err
75898 rm -f conftest.er1
75899 cat conftest.err >&5
75900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75901 (exit $ac_status); } &&
75902 { ac_try='test -z "$ac_c_werror_flag"
75903 || test ! -s conftest.err'
75904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75905 (eval $ac_try) 2>&5
75906 ac_status=$?
75907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75908 (exit $ac_status); }; } &&
75909 { ac_try='test -s conftest$ac_exeext'
75910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75911 (eval $ac_try) 2>&5
75912 ac_status=$?
75913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914 (exit $ac_status); }; }; then
75915 eval "$as_ac_var=yes"
75916 else
75917 echo "$as_me: failed program was:" >&5
75918 sed 's/^/| /' conftest.$ac_ext >&5
75920 eval "$as_ac_var=no"
75922 rm -f conftest.err conftest.$ac_objext \
75923 conftest$ac_exeext conftest.$ac_ext
75925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75927 if test `eval echo '${'$as_ac_var'}'` = yes; then
75928 cat >>confdefs.h <<_ACEOF
75929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75930 _ACEOF
75933 done
75943 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75944 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75945 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75946 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75947 echo $ECHO_N "(cached) $ECHO_C" >&6
75948 else
75952 ac_ext=cc
75953 ac_cpp='$CXXCPP $CPPFLAGS'
75954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75958 cat >conftest.$ac_ext <<_ACEOF
75959 /* confdefs.h. */
75960 _ACEOF
75961 cat confdefs.h >>conftest.$ac_ext
75962 cat >>conftest.$ac_ext <<_ACEOF
75963 /* end confdefs.h. */
75964 #include <math.h>
75966 main ()
75968 copysignl(0, 0);
75970 return 0;
75972 _ACEOF
75973 rm -f conftest.$ac_objext
75974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75975 (eval $ac_compile) 2>conftest.er1
75976 ac_status=$?
75977 grep -v '^ *+' conftest.er1 >conftest.err
75978 rm -f conftest.er1
75979 cat conftest.err >&5
75980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75981 (exit $ac_status); } &&
75982 { ac_try='test -z "$ac_cxx_werror_flag"
75983 || test ! -s conftest.err'
75984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75985 (eval $ac_try) 2>&5
75986 ac_status=$?
75987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75988 (exit $ac_status); }; } &&
75989 { ac_try='test -s conftest.$ac_objext'
75990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75991 (eval $ac_try) 2>&5
75992 ac_status=$?
75993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75994 (exit $ac_status); }; }; then
75995 glibcxx_cv_func_copysignl_use=yes
75996 else
75997 echo "$as_me: failed program was:" >&5
75998 sed 's/^/| /' conftest.$ac_ext >&5
76000 glibcxx_cv_func_copysignl_use=no
76002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76003 ac_ext=c
76004 ac_cpp='$CPP $CPPFLAGS'
76005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76014 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76016 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76018 for ac_func in copysignl
76020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76021 echo "$as_me:$LINENO: checking for $ac_func" >&5
76022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76023 if eval "test \"\${$as_ac_var+set}\" = set"; then
76024 echo $ECHO_N "(cached) $ECHO_C" >&6
76025 else
76026 if test x$gcc_no_link = xyes; then
76027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76029 { (exit 1); exit 1; }; }
76031 cat >conftest.$ac_ext <<_ACEOF
76032 /* confdefs.h. */
76033 _ACEOF
76034 cat confdefs.h >>conftest.$ac_ext
76035 cat >>conftest.$ac_ext <<_ACEOF
76036 /* end confdefs.h. */
76037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76039 #define $ac_func innocuous_$ac_func
76041 /* System header to define __stub macros and hopefully few prototypes,
76042 which can conflict with char $ac_func (); below.
76043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76044 <limits.h> exists even on freestanding compilers. */
76046 #ifdef __STDC__
76047 # include <limits.h>
76048 #else
76049 # include <assert.h>
76050 #endif
76052 #undef $ac_func
76054 /* Override any gcc2 internal prototype to avoid an error. */
76055 #ifdef __cplusplus
76056 extern "C"
76058 #endif
76059 /* We use char because int might match the return type of a gcc2
76060 builtin and then its argument prototype would still apply. */
76061 char $ac_func ();
76062 /* The GNU C library defines this for functions which it implements
76063 to always fail with ENOSYS. Some functions are actually named
76064 something starting with __ and the normal name is an alias. */
76065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76066 choke me
76067 #else
76068 char (*f) () = $ac_func;
76069 #endif
76070 #ifdef __cplusplus
76072 #endif
76075 main ()
76077 return f != $ac_func;
76079 return 0;
76081 _ACEOF
76082 rm -f conftest.$ac_objext conftest$ac_exeext
76083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76084 (eval $ac_link) 2>conftest.er1
76085 ac_status=$?
76086 grep -v '^ *+' conftest.er1 >conftest.err
76087 rm -f conftest.er1
76088 cat conftest.err >&5
76089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76090 (exit $ac_status); } &&
76091 { ac_try='test -z "$ac_c_werror_flag"
76092 || test ! -s conftest.err'
76093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76094 (eval $ac_try) 2>&5
76095 ac_status=$?
76096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76097 (exit $ac_status); }; } &&
76098 { ac_try='test -s conftest$ac_exeext'
76099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76100 (eval $ac_try) 2>&5
76101 ac_status=$?
76102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76103 (exit $ac_status); }; }; then
76104 eval "$as_ac_var=yes"
76105 else
76106 echo "$as_me: failed program was:" >&5
76107 sed 's/^/| /' conftest.$ac_ext >&5
76109 eval "$as_ac_var=no"
76111 rm -f conftest.err conftest.$ac_objext \
76112 conftest$ac_exeext conftest.$ac_ext
76114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76116 if test `eval echo '${'$as_ac_var'}'` = yes; then
76117 cat >>confdefs.h <<_ACEOF
76118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76119 _ACEOF
76122 done
76124 else
76126 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76127 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76128 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76129 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76130 echo $ECHO_N "(cached) $ECHO_C" >&6
76131 else
76135 ac_ext=cc
76136 ac_cpp='$CXXCPP $CPPFLAGS'
76137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76141 cat >conftest.$ac_ext <<_ACEOF
76142 /* confdefs.h. */
76143 _ACEOF
76144 cat confdefs.h >>conftest.$ac_ext
76145 cat >>conftest.$ac_ext <<_ACEOF
76146 /* end confdefs.h. */
76147 #include <math.h>
76149 main ()
76151 _copysignl(0, 0);
76153 return 0;
76155 _ACEOF
76156 rm -f conftest.$ac_objext
76157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76158 (eval $ac_compile) 2>conftest.er1
76159 ac_status=$?
76160 grep -v '^ *+' conftest.er1 >conftest.err
76161 rm -f conftest.er1
76162 cat conftest.err >&5
76163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76164 (exit $ac_status); } &&
76165 { ac_try='test -z "$ac_cxx_werror_flag"
76166 || test ! -s conftest.err'
76167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76168 (eval $ac_try) 2>&5
76169 ac_status=$?
76170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76171 (exit $ac_status); }; } &&
76172 { ac_try='test -s conftest.$ac_objext'
76173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76174 (eval $ac_try) 2>&5
76175 ac_status=$?
76176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76177 (exit $ac_status); }; }; then
76178 glibcxx_cv_func__copysignl_use=yes
76179 else
76180 echo "$as_me: failed program was:" >&5
76181 sed 's/^/| /' conftest.$ac_ext >&5
76183 glibcxx_cv_func__copysignl_use=no
76185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76186 ac_ext=c
76187 ac_cpp='$CPP $CPPFLAGS'
76188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76197 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76199 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76201 for ac_func in _copysignl
76203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76204 echo "$as_me:$LINENO: checking for $ac_func" >&5
76205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76206 if eval "test \"\${$as_ac_var+set}\" = set"; then
76207 echo $ECHO_N "(cached) $ECHO_C" >&6
76208 else
76209 if test x$gcc_no_link = xyes; then
76210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76212 { (exit 1); exit 1; }; }
76214 cat >conftest.$ac_ext <<_ACEOF
76215 /* confdefs.h. */
76216 _ACEOF
76217 cat confdefs.h >>conftest.$ac_ext
76218 cat >>conftest.$ac_ext <<_ACEOF
76219 /* end confdefs.h. */
76220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76222 #define $ac_func innocuous_$ac_func
76224 /* System header to define __stub macros and hopefully few prototypes,
76225 which can conflict with char $ac_func (); below.
76226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76227 <limits.h> exists even on freestanding compilers. */
76229 #ifdef __STDC__
76230 # include <limits.h>
76231 #else
76232 # include <assert.h>
76233 #endif
76235 #undef $ac_func
76237 /* Override any gcc2 internal prototype to avoid an error. */
76238 #ifdef __cplusplus
76239 extern "C"
76241 #endif
76242 /* We use char because int might match the return type of a gcc2
76243 builtin and then its argument prototype would still apply. */
76244 char $ac_func ();
76245 /* The GNU C library defines this for functions which it implements
76246 to always fail with ENOSYS. Some functions are actually named
76247 something starting with __ and the normal name is an alias. */
76248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76249 choke me
76250 #else
76251 char (*f) () = $ac_func;
76252 #endif
76253 #ifdef __cplusplus
76255 #endif
76258 main ()
76260 return f != $ac_func;
76262 return 0;
76264 _ACEOF
76265 rm -f conftest.$ac_objext conftest$ac_exeext
76266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76267 (eval $ac_link) 2>conftest.er1
76268 ac_status=$?
76269 grep -v '^ *+' conftest.er1 >conftest.err
76270 rm -f conftest.er1
76271 cat conftest.err >&5
76272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273 (exit $ac_status); } &&
76274 { ac_try='test -z "$ac_c_werror_flag"
76275 || test ! -s conftest.err'
76276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76277 (eval $ac_try) 2>&5
76278 ac_status=$?
76279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76280 (exit $ac_status); }; } &&
76281 { ac_try='test -s conftest$ac_exeext'
76282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76283 (eval $ac_try) 2>&5
76284 ac_status=$?
76285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76286 (exit $ac_status); }; }; then
76287 eval "$as_ac_var=yes"
76288 else
76289 echo "$as_me: failed program was:" >&5
76290 sed 's/^/| /' conftest.$ac_ext >&5
76292 eval "$as_ac_var=no"
76294 rm -f conftest.err conftest.$ac_objext \
76295 conftest$ac_exeext conftest.$ac_ext
76297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76299 if test `eval echo '${'$as_ac_var'}'` = yes; then
76300 cat >>confdefs.h <<_ACEOF
76301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76302 _ACEOF
76305 done
76315 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76316 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76317 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76318 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76319 echo $ECHO_N "(cached) $ECHO_C" >&6
76320 else
76324 ac_ext=cc
76325 ac_cpp='$CXXCPP $CPPFLAGS'
76326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76330 cat >conftest.$ac_ext <<_ACEOF
76331 /* confdefs.h. */
76332 _ACEOF
76333 cat confdefs.h >>conftest.$ac_ext
76334 cat >>conftest.$ac_ext <<_ACEOF
76335 /* end confdefs.h. */
76336 #include <math.h>
76338 main ()
76340 atan2l(0, 0);
76342 return 0;
76344 _ACEOF
76345 rm -f conftest.$ac_objext
76346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76347 (eval $ac_compile) 2>conftest.er1
76348 ac_status=$?
76349 grep -v '^ *+' conftest.er1 >conftest.err
76350 rm -f conftest.er1
76351 cat conftest.err >&5
76352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76353 (exit $ac_status); } &&
76354 { ac_try='test -z "$ac_cxx_werror_flag"
76355 || test ! -s conftest.err'
76356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76357 (eval $ac_try) 2>&5
76358 ac_status=$?
76359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76360 (exit $ac_status); }; } &&
76361 { ac_try='test -s conftest.$ac_objext'
76362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76363 (eval $ac_try) 2>&5
76364 ac_status=$?
76365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366 (exit $ac_status); }; }; then
76367 glibcxx_cv_func_atan2l_use=yes
76368 else
76369 echo "$as_me: failed program was:" >&5
76370 sed 's/^/| /' conftest.$ac_ext >&5
76372 glibcxx_cv_func_atan2l_use=no
76374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76375 ac_ext=c
76376 ac_cpp='$CPP $CPPFLAGS'
76377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76386 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76388 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76390 for ac_func in atan2l
76392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76393 echo "$as_me:$LINENO: checking for $ac_func" >&5
76394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76395 if eval "test \"\${$as_ac_var+set}\" = set"; then
76396 echo $ECHO_N "(cached) $ECHO_C" >&6
76397 else
76398 if test x$gcc_no_link = xyes; then
76399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76401 { (exit 1); exit 1; }; }
76403 cat >conftest.$ac_ext <<_ACEOF
76404 /* confdefs.h. */
76405 _ACEOF
76406 cat confdefs.h >>conftest.$ac_ext
76407 cat >>conftest.$ac_ext <<_ACEOF
76408 /* end confdefs.h. */
76409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76411 #define $ac_func innocuous_$ac_func
76413 /* System header to define __stub macros and hopefully few prototypes,
76414 which can conflict with char $ac_func (); below.
76415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76416 <limits.h> exists even on freestanding compilers. */
76418 #ifdef __STDC__
76419 # include <limits.h>
76420 #else
76421 # include <assert.h>
76422 #endif
76424 #undef $ac_func
76426 /* Override any gcc2 internal prototype to avoid an error. */
76427 #ifdef __cplusplus
76428 extern "C"
76430 #endif
76431 /* We use char because int might match the return type of a gcc2
76432 builtin and then its argument prototype would still apply. */
76433 char $ac_func ();
76434 /* The GNU C library defines this for functions which it implements
76435 to always fail with ENOSYS. Some functions are actually named
76436 something starting with __ and the normal name is an alias. */
76437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76438 choke me
76439 #else
76440 char (*f) () = $ac_func;
76441 #endif
76442 #ifdef __cplusplus
76444 #endif
76447 main ()
76449 return f != $ac_func;
76451 return 0;
76453 _ACEOF
76454 rm -f conftest.$ac_objext conftest$ac_exeext
76455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76456 (eval $ac_link) 2>conftest.er1
76457 ac_status=$?
76458 grep -v '^ *+' conftest.er1 >conftest.err
76459 rm -f conftest.er1
76460 cat conftest.err >&5
76461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462 (exit $ac_status); } &&
76463 { ac_try='test -z "$ac_c_werror_flag"
76464 || test ! -s conftest.err'
76465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76466 (eval $ac_try) 2>&5
76467 ac_status=$?
76468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76469 (exit $ac_status); }; } &&
76470 { ac_try='test -s conftest$ac_exeext'
76471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76472 (eval $ac_try) 2>&5
76473 ac_status=$?
76474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76475 (exit $ac_status); }; }; then
76476 eval "$as_ac_var=yes"
76477 else
76478 echo "$as_me: failed program was:" >&5
76479 sed 's/^/| /' conftest.$ac_ext >&5
76481 eval "$as_ac_var=no"
76483 rm -f conftest.err conftest.$ac_objext \
76484 conftest$ac_exeext conftest.$ac_ext
76486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76488 if test `eval echo '${'$as_ac_var'}'` = yes; then
76489 cat >>confdefs.h <<_ACEOF
76490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76491 _ACEOF
76494 done
76496 else
76498 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76499 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76500 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76501 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76502 echo $ECHO_N "(cached) $ECHO_C" >&6
76503 else
76507 ac_ext=cc
76508 ac_cpp='$CXXCPP $CPPFLAGS'
76509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76513 cat >conftest.$ac_ext <<_ACEOF
76514 /* confdefs.h. */
76515 _ACEOF
76516 cat confdefs.h >>conftest.$ac_ext
76517 cat >>conftest.$ac_ext <<_ACEOF
76518 /* end confdefs.h. */
76519 #include <math.h>
76521 main ()
76523 _atan2l(0, 0);
76525 return 0;
76527 _ACEOF
76528 rm -f conftest.$ac_objext
76529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76530 (eval $ac_compile) 2>conftest.er1
76531 ac_status=$?
76532 grep -v '^ *+' conftest.er1 >conftest.err
76533 rm -f conftest.er1
76534 cat conftest.err >&5
76535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76536 (exit $ac_status); } &&
76537 { ac_try='test -z "$ac_cxx_werror_flag"
76538 || test ! -s conftest.err'
76539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76540 (eval $ac_try) 2>&5
76541 ac_status=$?
76542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76543 (exit $ac_status); }; } &&
76544 { ac_try='test -s conftest.$ac_objext'
76545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76546 (eval $ac_try) 2>&5
76547 ac_status=$?
76548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76549 (exit $ac_status); }; }; then
76550 glibcxx_cv_func__atan2l_use=yes
76551 else
76552 echo "$as_me: failed program was:" >&5
76553 sed 's/^/| /' conftest.$ac_ext >&5
76555 glibcxx_cv_func__atan2l_use=no
76557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76558 ac_ext=c
76559 ac_cpp='$CPP $CPPFLAGS'
76560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76569 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76571 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76573 for ac_func in _atan2l
76575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76576 echo "$as_me:$LINENO: checking for $ac_func" >&5
76577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76578 if eval "test \"\${$as_ac_var+set}\" = set"; then
76579 echo $ECHO_N "(cached) $ECHO_C" >&6
76580 else
76581 if test x$gcc_no_link = xyes; then
76582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76584 { (exit 1); exit 1; }; }
76586 cat >conftest.$ac_ext <<_ACEOF
76587 /* confdefs.h. */
76588 _ACEOF
76589 cat confdefs.h >>conftest.$ac_ext
76590 cat >>conftest.$ac_ext <<_ACEOF
76591 /* end confdefs.h. */
76592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76594 #define $ac_func innocuous_$ac_func
76596 /* System header to define __stub macros and hopefully few prototypes,
76597 which can conflict with char $ac_func (); below.
76598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76599 <limits.h> exists even on freestanding compilers. */
76601 #ifdef __STDC__
76602 # include <limits.h>
76603 #else
76604 # include <assert.h>
76605 #endif
76607 #undef $ac_func
76609 /* Override any gcc2 internal prototype to avoid an error. */
76610 #ifdef __cplusplus
76611 extern "C"
76613 #endif
76614 /* We use char because int might match the return type of a gcc2
76615 builtin and then its argument prototype would still apply. */
76616 char $ac_func ();
76617 /* The GNU C library defines this for functions which it implements
76618 to always fail with ENOSYS. Some functions are actually named
76619 something starting with __ and the normal name is an alias. */
76620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76621 choke me
76622 #else
76623 char (*f) () = $ac_func;
76624 #endif
76625 #ifdef __cplusplus
76627 #endif
76630 main ()
76632 return f != $ac_func;
76634 return 0;
76636 _ACEOF
76637 rm -f conftest.$ac_objext conftest$ac_exeext
76638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76639 (eval $ac_link) 2>conftest.er1
76640 ac_status=$?
76641 grep -v '^ *+' conftest.er1 >conftest.err
76642 rm -f conftest.er1
76643 cat conftest.err >&5
76644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76645 (exit $ac_status); } &&
76646 { ac_try='test -z "$ac_c_werror_flag"
76647 || test ! -s conftest.err'
76648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76649 (eval $ac_try) 2>&5
76650 ac_status=$?
76651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76652 (exit $ac_status); }; } &&
76653 { ac_try='test -s conftest$ac_exeext'
76654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76655 (eval $ac_try) 2>&5
76656 ac_status=$?
76657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76658 (exit $ac_status); }; }; then
76659 eval "$as_ac_var=yes"
76660 else
76661 echo "$as_me: failed program was:" >&5
76662 sed 's/^/| /' conftest.$ac_ext >&5
76664 eval "$as_ac_var=no"
76666 rm -f conftest.err conftest.$ac_objext \
76667 conftest$ac_exeext conftest.$ac_ext
76669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76671 if test `eval echo '${'$as_ac_var'}'` = yes; then
76672 cat >>confdefs.h <<_ACEOF
76673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76674 _ACEOF
76677 done
76687 echo "$as_me:$LINENO: checking for expl declaration" >&5
76688 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76689 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76690 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76691 echo $ECHO_N "(cached) $ECHO_C" >&6
76692 else
76696 ac_ext=cc
76697 ac_cpp='$CXXCPP $CPPFLAGS'
76698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76702 cat >conftest.$ac_ext <<_ACEOF
76703 /* confdefs.h. */
76704 _ACEOF
76705 cat confdefs.h >>conftest.$ac_ext
76706 cat >>conftest.$ac_ext <<_ACEOF
76707 /* end confdefs.h. */
76708 #include <math.h>
76709 #ifdef HAVE_IEEEFP_H
76710 #include <ieeefp.h>
76711 #endif
76714 main ()
76716 expl(0);
76718 return 0;
76720 _ACEOF
76721 rm -f conftest.$ac_objext
76722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76723 (eval $ac_compile) 2>conftest.er1
76724 ac_status=$?
76725 grep -v '^ *+' conftest.er1 >conftest.err
76726 rm -f conftest.er1
76727 cat conftest.err >&5
76728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76729 (exit $ac_status); } &&
76730 { ac_try='test -z "$ac_cxx_werror_flag"
76731 || test ! -s conftest.err'
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); }; } &&
76737 { ac_try='test -s conftest.$ac_objext'
76738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76739 (eval $ac_try) 2>&5
76740 ac_status=$?
76741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76742 (exit $ac_status); }; }; then
76743 glibcxx_cv_func_expl_use=yes
76744 else
76745 echo "$as_me: failed program was:" >&5
76746 sed 's/^/| /' conftest.$ac_ext >&5
76748 glibcxx_cv_func_expl_use=no
76750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76751 ac_ext=c
76752 ac_cpp='$CPP $CPPFLAGS'
76753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76762 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76764 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76766 for ac_func in expl
76768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76769 echo "$as_me:$LINENO: checking for $ac_func" >&5
76770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76771 if eval "test \"\${$as_ac_var+set}\" = set"; then
76772 echo $ECHO_N "(cached) $ECHO_C" >&6
76773 else
76774 if test x$gcc_no_link = xyes; then
76775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76777 { (exit 1); exit 1; }; }
76779 cat >conftest.$ac_ext <<_ACEOF
76780 /* confdefs.h. */
76781 _ACEOF
76782 cat confdefs.h >>conftest.$ac_ext
76783 cat >>conftest.$ac_ext <<_ACEOF
76784 /* end confdefs.h. */
76785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76787 #define $ac_func innocuous_$ac_func
76789 /* System header to define __stub macros and hopefully few prototypes,
76790 which can conflict with char $ac_func (); below.
76791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76792 <limits.h> exists even on freestanding compilers. */
76794 #ifdef __STDC__
76795 # include <limits.h>
76796 #else
76797 # include <assert.h>
76798 #endif
76800 #undef $ac_func
76802 /* Override any gcc2 internal prototype to avoid an error. */
76803 #ifdef __cplusplus
76804 extern "C"
76806 #endif
76807 /* We use char because int might match the return type of a gcc2
76808 builtin and then its argument prototype would still apply. */
76809 char $ac_func ();
76810 /* The GNU C library defines this for functions which it implements
76811 to always fail with ENOSYS. Some functions are actually named
76812 something starting with __ and the normal name is an alias. */
76813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76814 choke me
76815 #else
76816 char (*f) () = $ac_func;
76817 #endif
76818 #ifdef __cplusplus
76820 #endif
76823 main ()
76825 return f != $ac_func;
76827 return 0;
76829 _ACEOF
76830 rm -f conftest.$ac_objext conftest$ac_exeext
76831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76832 (eval $ac_link) 2>conftest.er1
76833 ac_status=$?
76834 grep -v '^ *+' conftest.er1 >conftest.err
76835 rm -f conftest.er1
76836 cat conftest.err >&5
76837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76838 (exit $ac_status); } &&
76839 { ac_try='test -z "$ac_c_werror_flag"
76840 || test ! -s conftest.err'
76841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76842 (eval $ac_try) 2>&5
76843 ac_status=$?
76844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76845 (exit $ac_status); }; } &&
76846 { ac_try='test -s conftest$ac_exeext'
76847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848 (eval $ac_try) 2>&5
76849 ac_status=$?
76850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851 (exit $ac_status); }; }; then
76852 eval "$as_ac_var=yes"
76853 else
76854 echo "$as_me: failed program was:" >&5
76855 sed 's/^/| /' conftest.$ac_ext >&5
76857 eval "$as_ac_var=no"
76859 rm -f conftest.err conftest.$ac_objext \
76860 conftest$ac_exeext conftest.$ac_ext
76862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76864 if test `eval echo '${'$as_ac_var'}'` = yes; then
76865 cat >>confdefs.h <<_ACEOF
76866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76867 _ACEOF
76870 done
76872 else
76874 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76875 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76876 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76877 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76878 echo $ECHO_N "(cached) $ECHO_C" >&6
76879 else
76883 ac_ext=cc
76884 ac_cpp='$CXXCPP $CPPFLAGS'
76885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76889 cat >conftest.$ac_ext <<_ACEOF
76890 /* confdefs.h. */
76891 _ACEOF
76892 cat confdefs.h >>conftest.$ac_ext
76893 cat >>conftest.$ac_ext <<_ACEOF
76894 /* end confdefs.h. */
76895 #include <math.h>
76896 #ifdef HAVE_IEEEFP_H
76897 #include <ieeefp.h>
76898 #endif
76901 main ()
76903 _expl(0);
76905 return 0;
76907 _ACEOF
76908 rm -f conftest.$ac_objext
76909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76910 (eval $ac_compile) 2>conftest.er1
76911 ac_status=$?
76912 grep -v '^ *+' conftest.er1 >conftest.err
76913 rm -f conftest.er1
76914 cat conftest.err >&5
76915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916 (exit $ac_status); } &&
76917 { ac_try='test -z "$ac_cxx_werror_flag"
76918 || test ! -s conftest.err'
76919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76920 (eval $ac_try) 2>&5
76921 ac_status=$?
76922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923 (exit $ac_status); }; } &&
76924 { ac_try='test -s conftest.$ac_objext'
76925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926 (eval $ac_try) 2>&5
76927 ac_status=$?
76928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929 (exit $ac_status); }; }; then
76930 glibcxx_cv_func__expl_use=yes
76931 else
76932 echo "$as_me: failed program was:" >&5
76933 sed 's/^/| /' conftest.$ac_ext >&5
76935 glibcxx_cv_func__expl_use=no
76937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76938 ac_ext=c
76939 ac_cpp='$CPP $CPPFLAGS'
76940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76949 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76951 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76953 for ac_func in _expl
76955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76956 echo "$as_me:$LINENO: checking for $ac_func" >&5
76957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76958 if eval "test \"\${$as_ac_var+set}\" = set"; then
76959 echo $ECHO_N "(cached) $ECHO_C" >&6
76960 else
76961 if test x$gcc_no_link = xyes; then
76962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76964 { (exit 1); exit 1; }; }
76966 cat >conftest.$ac_ext <<_ACEOF
76967 /* confdefs.h. */
76968 _ACEOF
76969 cat confdefs.h >>conftest.$ac_ext
76970 cat >>conftest.$ac_ext <<_ACEOF
76971 /* end confdefs.h. */
76972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76974 #define $ac_func innocuous_$ac_func
76976 /* System header to define __stub macros and hopefully few prototypes,
76977 which can conflict with char $ac_func (); below.
76978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76979 <limits.h> exists even on freestanding compilers. */
76981 #ifdef __STDC__
76982 # include <limits.h>
76983 #else
76984 # include <assert.h>
76985 #endif
76987 #undef $ac_func
76989 /* Override any gcc2 internal prototype to avoid an error. */
76990 #ifdef __cplusplus
76991 extern "C"
76993 #endif
76994 /* We use char because int might match the return type of a gcc2
76995 builtin and then its argument prototype would still apply. */
76996 char $ac_func ();
76997 /* The GNU C library defines this for functions which it implements
76998 to always fail with ENOSYS. Some functions are actually named
76999 something starting with __ and the normal name is an alias. */
77000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77001 choke me
77002 #else
77003 char (*f) () = $ac_func;
77004 #endif
77005 #ifdef __cplusplus
77007 #endif
77010 main ()
77012 return f != $ac_func;
77014 return 0;
77016 _ACEOF
77017 rm -f conftest.$ac_objext conftest$ac_exeext
77018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77019 (eval $ac_link) 2>conftest.er1
77020 ac_status=$?
77021 grep -v '^ *+' conftest.er1 >conftest.err
77022 rm -f conftest.er1
77023 cat conftest.err >&5
77024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77025 (exit $ac_status); } &&
77026 { ac_try='test -z "$ac_c_werror_flag"
77027 || test ! -s conftest.err'
77028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77029 (eval $ac_try) 2>&5
77030 ac_status=$?
77031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77032 (exit $ac_status); }; } &&
77033 { ac_try='test -s conftest$ac_exeext'
77034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77035 (eval $ac_try) 2>&5
77036 ac_status=$?
77037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77038 (exit $ac_status); }; }; then
77039 eval "$as_ac_var=yes"
77040 else
77041 echo "$as_me: failed program was:" >&5
77042 sed 's/^/| /' conftest.$ac_ext >&5
77044 eval "$as_ac_var=no"
77046 rm -f conftest.err conftest.$ac_objext \
77047 conftest$ac_exeext conftest.$ac_ext
77049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77051 if test `eval echo '${'$as_ac_var'}'` = yes; then
77052 cat >>confdefs.h <<_ACEOF
77053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77054 _ACEOF
77057 done
77067 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77068 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77069 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77070 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77071 echo $ECHO_N "(cached) $ECHO_C" >&6
77072 else
77076 ac_ext=cc
77077 ac_cpp='$CXXCPP $CPPFLAGS'
77078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77082 cat >conftest.$ac_ext <<_ACEOF
77083 /* confdefs.h. */
77084 _ACEOF
77085 cat confdefs.h >>conftest.$ac_ext
77086 cat >>conftest.$ac_ext <<_ACEOF
77087 /* end confdefs.h. */
77088 #include <math.h>
77089 #ifdef HAVE_IEEEFP_H
77090 #include <ieeefp.h>
77091 #endif
77094 main ()
77096 fabsl(0);
77098 return 0;
77100 _ACEOF
77101 rm -f conftest.$ac_objext
77102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77103 (eval $ac_compile) 2>conftest.er1
77104 ac_status=$?
77105 grep -v '^ *+' conftest.er1 >conftest.err
77106 rm -f conftest.er1
77107 cat conftest.err >&5
77108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77109 (exit $ac_status); } &&
77110 { ac_try='test -z "$ac_cxx_werror_flag"
77111 || test ! -s conftest.err'
77112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77113 (eval $ac_try) 2>&5
77114 ac_status=$?
77115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77116 (exit $ac_status); }; } &&
77117 { ac_try='test -s conftest.$ac_objext'
77118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77119 (eval $ac_try) 2>&5
77120 ac_status=$?
77121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77122 (exit $ac_status); }; }; then
77123 glibcxx_cv_func_fabsl_use=yes
77124 else
77125 echo "$as_me: failed program was:" >&5
77126 sed 's/^/| /' conftest.$ac_ext >&5
77128 glibcxx_cv_func_fabsl_use=no
77130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77131 ac_ext=c
77132 ac_cpp='$CPP $CPPFLAGS'
77133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77142 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77144 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77146 for ac_func in fabsl
77148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77149 echo "$as_me:$LINENO: checking for $ac_func" >&5
77150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77151 if eval "test \"\${$as_ac_var+set}\" = set"; then
77152 echo $ECHO_N "(cached) $ECHO_C" >&6
77153 else
77154 if test x$gcc_no_link = xyes; then
77155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77157 { (exit 1); exit 1; }; }
77159 cat >conftest.$ac_ext <<_ACEOF
77160 /* confdefs.h. */
77161 _ACEOF
77162 cat confdefs.h >>conftest.$ac_ext
77163 cat >>conftest.$ac_ext <<_ACEOF
77164 /* end confdefs.h. */
77165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77167 #define $ac_func innocuous_$ac_func
77169 /* System header to define __stub macros and hopefully few prototypes,
77170 which can conflict with char $ac_func (); below.
77171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77172 <limits.h> exists even on freestanding compilers. */
77174 #ifdef __STDC__
77175 # include <limits.h>
77176 #else
77177 # include <assert.h>
77178 #endif
77180 #undef $ac_func
77182 /* Override any gcc2 internal prototype to avoid an error. */
77183 #ifdef __cplusplus
77184 extern "C"
77186 #endif
77187 /* We use char because int might match the return type of a gcc2
77188 builtin and then its argument prototype would still apply. */
77189 char $ac_func ();
77190 /* The GNU C library defines this for functions which it implements
77191 to always fail with ENOSYS. Some functions are actually named
77192 something starting with __ and the normal name is an alias. */
77193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77194 choke me
77195 #else
77196 char (*f) () = $ac_func;
77197 #endif
77198 #ifdef __cplusplus
77200 #endif
77203 main ()
77205 return f != $ac_func;
77207 return 0;
77209 _ACEOF
77210 rm -f conftest.$ac_objext conftest$ac_exeext
77211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77212 (eval $ac_link) 2>conftest.er1
77213 ac_status=$?
77214 grep -v '^ *+' conftest.er1 >conftest.err
77215 rm -f conftest.er1
77216 cat conftest.err >&5
77217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77218 (exit $ac_status); } &&
77219 { ac_try='test -z "$ac_c_werror_flag"
77220 || test ! -s conftest.err'
77221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77222 (eval $ac_try) 2>&5
77223 ac_status=$?
77224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77225 (exit $ac_status); }; } &&
77226 { ac_try='test -s conftest$ac_exeext'
77227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77228 (eval $ac_try) 2>&5
77229 ac_status=$?
77230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231 (exit $ac_status); }; }; then
77232 eval "$as_ac_var=yes"
77233 else
77234 echo "$as_me: failed program was:" >&5
77235 sed 's/^/| /' conftest.$ac_ext >&5
77237 eval "$as_ac_var=no"
77239 rm -f conftest.err conftest.$ac_objext \
77240 conftest$ac_exeext conftest.$ac_ext
77242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77244 if test `eval echo '${'$as_ac_var'}'` = yes; then
77245 cat >>confdefs.h <<_ACEOF
77246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77247 _ACEOF
77250 done
77252 else
77254 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77255 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77256 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77257 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77258 echo $ECHO_N "(cached) $ECHO_C" >&6
77259 else
77263 ac_ext=cc
77264 ac_cpp='$CXXCPP $CPPFLAGS'
77265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269 cat >conftest.$ac_ext <<_ACEOF
77270 /* confdefs.h. */
77271 _ACEOF
77272 cat confdefs.h >>conftest.$ac_ext
77273 cat >>conftest.$ac_ext <<_ACEOF
77274 /* end confdefs.h. */
77275 #include <math.h>
77276 #ifdef HAVE_IEEEFP_H
77277 #include <ieeefp.h>
77278 #endif
77281 main ()
77283 _fabsl(0);
77285 return 0;
77287 _ACEOF
77288 rm -f conftest.$ac_objext
77289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77290 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__fabsl_use=yes
77311 else
77312 echo "$as_me: failed program was:" >&5
77313 sed 's/^/| /' conftest.$ac_ext >&5
77315 glibcxx_cv_func__fabsl_use=no
77317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77318 ac_ext=c
77319 ac_cpp='$CPP $CPPFLAGS'
77320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77329 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77331 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77333 for ac_func in _fabsl
77335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77336 echo "$as_me:$LINENO: checking for $ac_func" >&5
77337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77338 if eval "test \"\${$as_ac_var+set}\" = set"; then
77339 echo $ECHO_N "(cached) $ECHO_C" >&6
77340 else
77341 if test x$gcc_no_link = xyes; then
77342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77344 { (exit 1); exit 1; }; }
77346 cat >conftest.$ac_ext <<_ACEOF
77347 /* confdefs.h. */
77348 _ACEOF
77349 cat confdefs.h >>conftest.$ac_ext
77350 cat >>conftest.$ac_ext <<_ACEOF
77351 /* end confdefs.h. */
77352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77354 #define $ac_func innocuous_$ac_func
77356 /* System header to define __stub macros and hopefully few prototypes,
77357 which can conflict with char $ac_func (); below.
77358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77359 <limits.h> exists even on freestanding compilers. */
77361 #ifdef __STDC__
77362 # include <limits.h>
77363 #else
77364 # include <assert.h>
77365 #endif
77367 #undef $ac_func
77369 /* Override any gcc2 internal prototype to avoid an error. */
77370 #ifdef __cplusplus
77371 extern "C"
77373 #endif
77374 /* We use char because int might match the return type of a gcc2
77375 builtin and then its argument prototype would still apply. */
77376 char $ac_func ();
77377 /* The GNU C library defines this for functions which it implements
77378 to always fail with ENOSYS. Some functions are actually named
77379 something starting with __ and the normal name is an alias. */
77380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77381 choke me
77382 #else
77383 char (*f) () = $ac_func;
77384 #endif
77385 #ifdef __cplusplus
77387 #endif
77390 main ()
77392 return f != $ac_func;
77394 return 0;
77396 _ACEOF
77397 rm -f conftest.$ac_objext conftest$ac_exeext
77398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77399 (eval $ac_link) 2>conftest.er1
77400 ac_status=$?
77401 grep -v '^ *+' conftest.er1 >conftest.err
77402 rm -f conftest.er1
77403 cat conftest.err >&5
77404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77405 (exit $ac_status); } &&
77406 { ac_try='test -z "$ac_c_werror_flag"
77407 || test ! -s conftest.err'
77408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77409 (eval $ac_try) 2>&5
77410 ac_status=$?
77411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77412 (exit $ac_status); }; } &&
77413 { ac_try='test -s conftest$ac_exeext'
77414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77415 (eval $ac_try) 2>&5
77416 ac_status=$?
77417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77418 (exit $ac_status); }; }; then
77419 eval "$as_ac_var=yes"
77420 else
77421 echo "$as_me: failed program was:" >&5
77422 sed 's/^/| /' conftest.$ac_ext >&5
77424 eval "$as_ac_var=no"
77426 rm -f conftest.err conftest.$ac_objext \
77427 conftest$ac_exeext conftest.$ac_ext
77429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77431 if test `eval echo '${'$as_ac_var'}'` = yes; then
77432 cat >>confdefs.h <<_ACEOF
77433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77434 _ACEOF
77437 done
77447 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77448 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77449 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77450 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77451 echo $ECHO_N "(cached) $ECHO_C" >&6
77452 else
77456 ac_ext=cc
77457 ac_cpp='$CXXCPP $CPPFLAGS'
77458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77462 cat >conftest.$ac_ext <<_ACEOF
77463 /* confdefs.h. */
77464 _ACEOF
77465 cat confdefs.h >>conftest.$ac_ext
77466 cat >>conftest.$ac_ext <<_ACEOF
77467 /* end confdefs.h. */
77468 #include <math.h>
77470 main ()
77472 fmodl(0, 0);
77474 return 0;
77476 _ACEOF
77477 rm -f conftest.$ac_objext
77478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77479 (eval $ac_compile) 2>conftest.er1
77480 ac_status=$?
77481 grep -v '^ *+' conftest.er1 >conftest.err
77482 rm -f conftest.er1
77483 cat conftest.err >&5
77484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77485 (exit $ac_status); } &&
77486 { ac_try='test -z "$ac_cxx_werror_flag"
77487 || test ! -s conftest.err'
77488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77489 (eval $ac_try) 2>&5
77490 ac_status=$?
77491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77492 (exit $ac_status); }; } &&
77493 { ac_try='test -s conftest.$ac_objext'
77494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77495 (eval $ac_try) 2>&5
77496 ac_status=$?
77497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77498 (exit $ac_status); }; }; then
77499 glibcxx_cv_func_fmodl_use=yes
77500 else
77501 echo "$as_me: failed program was:" >&5
77502 sed 's/^/| /' conftest.$ac_ext >&5
77504 glibcxx_cv_func_fmodl_use=no
77506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77507 ac_ext=c
77508 ac_cpp='$CPP $CPPFLAGS'
77509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77518 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77520 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77522 for ac_func in fmodl
77524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77525 echo "$as_me:$LINENO: checking for $ac_func" >&5
77526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77527 if eval "test \"\${$as_ac_var+set}\" = set"; then
77528 echo $ECHO_N "(cached) $ECHO_C" >&6
77529 else
77530 if test x$gcc_no_link = xyes; then
77531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77533 { (exit 1); exit 1; }; }
77535 cat >conftest.$ac_ext <<_ACEOF
77536 /* confdefs.h. */
77537 _ACEOF
77538 cat confdefs.h >>conftest.$ac_ext
77539 cat >>conftest.$ac_ext <<_ACEOF
77540 /* end confdefs.h. */
77541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77543 #define $ac_func innocuous_$ac_func
77545 /* System header to define __stub macros and hopefully few prototypes,
77546 which can conflict with char $ac_func (); below.
77547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77548 <limits.h> exists even on freestanding compilers. */
77550 #ifdef __STDC__
77551 # include <limits.h>
77552 #else
77553 # include <assert.h>
77554 #endif
77556 #undef $ac_func
77558 /* Override any gcc2 internal prototype to avoid an error. */
77559 #ifdef __cplusplus
77560 extern "C"
77562 #endif
77563 /* We use char because int might match the return type of a gcc2
77564 builtin and then its argument prototype would still apply. */
77565 char $ac_func ();
77566 /* The GNU C library defines this for functions which it implements
77567 to always fail with ENOSYS. Some functions are actually named
77568 something starting with __ and the normal name is an alias. */
77569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77570 choke me
77571 #else
77572 char (*f) () = $ac_func;
77573 #endif
77574 #ifdef __cplusplus
77576 #endif
77579 main ()
77581 return f != $ac_func;
77583 return 0;
77585 _ACEOF
77586 rm -f conftest.$ac_objext conftest$ac_exeext
77587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77588 (eval $ac_link) 2>conftest.er1
77589 ac_status=$?
77590 grep -v '^ *+' conftest.er1 >conftest.err
77591 rm -f conftest.er1
77592 cat conftest.err >&5
77593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77594 (exit $ac_status); } &&
77595 { ac_try='test -z "$ac_c_werror_flag"
77596 || test ! -s conftest.err'
77597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77598 (eval $ac_try) 2>&5
77599 ac_status=$?
77600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77601 (exit $ac_status); }; } &&
77602 { ac_try='test -s conftest$ac_exeext'
77603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77604 (eval $ac_try) 2>&5
77605 ac_status=$?
77606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77607 (exit $ac_status); }; }; then
77608 eval "$as_ac_var=yes"
77609 else
77610 echo "$as_me: failed program was:" >&5
77611 sed 's/^/| /' conftest.$ac_ext >&5
77613 eval "$as_ac_var=no"
77615 rm -f conftest.err conftest.$ac_objext \
77616 conftest$ac_exeext conftest.$ac_ext
77618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77620 if test `eval echo '${'$as_ac_var'}'` = yes; then
77621 cat >>confdefs.h <<_ACEOF
77622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77623 _ACEOF
77626 done
77628 else
77630 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77631 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77632 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77633 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77634 echo $ECHO_N "(cached) $ECHO_C" >&6
77635 else
77639 ac_ext=cc
77640 ac_cpp='$CXXCPP $CPPFLAGS'
77641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77645 cat >conftest.$ac_ext <<_ACEOF
77646 /* confdefs.h. */
77647 _ACEOF
77648 cat confdefs.h >>conftest.$ac_ext
77649 cat >>conftest.$ac_ext <<_ACEOF
77650 /* end confdefs.h. */
77651 #include <math.h>
77653 main ()
77655 _fmodl(0, 0);
77657 return 0;
77659 _ACEOF
77660 rm -f conftest.$ac_objext
77661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77662 (eval $ac_compile) 2>conftest.er1
77663 ac_status=$?
77664 grep -v '^ *+' conftest.er1 >conftest.err
77665 rm -f conftest.er1
77666 cat conftest.err >&5
77667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77668 (exit $ac_status); } &&
77669 { ac_try='test -z "$ac_cxx_werror_flag"
77670 || test ! -s conftest.err'
77671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77672 (eval $ac_try) 2>&5
77673 ac_status=$?
77674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77675 (exit $ac_status); }; } &&
77676 { ac_try='test -s conftest.$ac_objext'
77677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77678 (eval $ac_try) 2>&5
77679 ac_status=$?
77680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77681 (exit $ac_status); }; }; then
77682 glibcxx_cv_func__fmodl_use=yes
77683 else
77684 echo "$as_me: failed program was:" >&5
77685 sed 's/^/| /' conftest.$ac_ext >&5
77687 glibcxx_cv_func__fmodl_use=no
77689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77690 ac_ext=c
77691 ac_cpp='$CPP $CPPFLAGS'
77692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77701 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77703 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77705 for ac_func in _fmodl
77707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77708 echo "$as_me:$LINENO: checking for $ac_func" >&5
77709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77710 if eval "test \"\${$as_ac_var+set}\" = set"; then
77711 echo $ECHO_N "(cached) $ECHO_C" >&6
77712 else
77713 if test x$gcc_no_link = xyes; then
77714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77716 { (exit 1); exit 1; }; }
77718 cat >conftest.$ac_ext <<_ACEOF
77719 /* confdefs.h. */
77720 _ACEOF
77721 cat confdefs.h >>conftest.$ac_ext
77722 cat >>conftest.$ac_ext <<_ACEOF
77723 /* end confdefs.h. */
77724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77726 #define $ac_func innocuous_$ac_func
77728 /* System header to define __stub macros and hopefully few prototypes,
77729 which can conflict with char $ac_func (); below.
77730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77731 <limits.h> exists even on freestanding compilers. */
77733 #ifdef __STDC__
77734 # include <limits.h>
77735 #else
77736 # include <assert.h>
77737 #endif
77739 #undef $ac_func
77741 /* Override any gcc2 internal prototype to avoid an error. */
77742 #ifdef __cplusplus
77743 extern "C"
77745 #endif
77746 /* We use char because int might match the return type of a gcc2
77747 builtin and then its argument prototype would still apply. */
77748 char $ac_func ();
77749 /* The GNU C library defines this for functions which it implements
77750 to always fail with ENOSYS. Some functions are actually named
77751 something starting with __ and the normal name is an alias. */
77752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77753 choke me
77754 #else
77755 char (*f) () = $ac_func;
77756 #endif
77757 #ifdef __cplusplus
77759 #endif
77762 main ()
77764 return f != $ac_func;
77766 return 0;
77768 _ACEOF
77769 rm -f conftest.$ac_objext conftest$ac_exeext
77770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77771 (eval $ac_link) 2>conftest.er1
77772 ac_status=$?
77773 grep -v '^ *+' conftest.er1 >conftest.err
77774 rm -f conftest.er1
77775 cat conftest.err >&5
77776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77777 (exit $ac_status); } &&
77778 { ac_try='test -z "$ac_c_werror_flag"
77779 || test ! -s conftest.err'
77780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77781 (eval $ac_try) 2>&5
77782 ac_status=$?
77783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77784 (exit $ac_status); }; } &&
77785 { ac_try='test -s conftest$ac_exeext'
77786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77787 (eval $ac_try) 2>&5
77788 ac_status=$?
77789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77790 (exit $ac_status); }; }; then
77791 eval "$as_ac_var=yes"
77792 else
77793 echo "$as_me: failed program was:" >&5
77794 sed 's/^/| /' conftest.$ac_ext >&5
77796 eval "$as_ac_var=no"
77798 rm -f conftest.err conftest.$ac_objext \
77799 conftest$ac_exeext conftest.$ac_ext
77801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77803 if test `eval echo '${'$as_ac_var'}'` = yes; then
77804 cat >>confdefs.h <<_ACEOF
77805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77806 _ACEOF
77809 done
77819 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77820 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77822 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77823 echo $ECHO_N "(cached) $ECHO_C" >&6
77824 else
77828 ac_ext=cc
77829 ac_cpp='$CXXCPP $CPPFLAGS'
77830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77834 cat >conftest.$ac_ext <<_ACEOF
77835 /* confdefs.h. */
77836 _ACEOF
77837 cat confdefs.h >>conftest.$ac_ext
77838 cat >>conftest.$ac_ext <<_ACEOF
77839 /* end confdefs.h. */
77840 #include <math.h>
77842 main ()
77844 frexpl(0, 0);
77846 return 0;
77848 _ACEOF
77849 rm -f conftest.$ac_objext
77850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77851 (eval $ac_compile) 2>conftest.er1
77852 ac_status=$?
77853 grep -v '^ *+' conftest.er1 >conftest.err
77854 rm -f conftest.er1
77855 cat conftest.err >&5
77856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77857 (exit $ac_status); } &&
77858 { ac_try='test -z "$ac_cxx_werror_flag"
77859 || test ! -s conftest.err'
77860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77861 (eval $ac_try) 2>&5
77862 ac_status=$?
77863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77864 (exit $ac_status); }; } &&
77865 { ac_try='test -s conftest.$ac_objext'
77866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77867 (eval $ac_try) 2>&5
77868 ac_status=$?
77869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77870 (exit $ac_status); }; }; then
77871 glibcxx_cv_func_frexpl_use=yes
77872 else
77873 echo "$as_me: failed program was:" >&5
77874 sed 's/^/| /' conftest.$ac_ext >&5
77876 glibcxx_cv_func_frexpl_use=no
77878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77879 ac_ext=c
77880 ac_cpp='$CPP $CPPFLAGS'
77881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77890 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77892 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77894 for ac_func in frexpl
77896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77897 echo "$as_me:$LINENO: checking for $ac_func" >&5
77898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77899 if eval "test \"\${$as_ac_var+set}\" = set"; then
77900 echo $ECHO_N "(cached) $ECHO_C" >&6
77901 else
77902 if test x$gcc_no_link = xyes; then
77903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77905 { (exit 1); exit 1; }; }
77907 cat >conftest.$ac_ext <<_ACEOF
77908 /* confdefs.h. */
77909 _ACEOF
77910 cat confdefs.h >>conftest.$ac_ext
77911 cat >>conftest.$ac_ext <<_ACEOF
77912 /* end confdefs.h. */
77913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77915 #define $ac_func innocuous_$ac_func
77917 /* System header to define __stub macros and hopefully few prototypes,
77918 which can conflict with char $ac_func (); below.
77919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77920 <limits.h> exists even on freestanding compilers. */
77922 #ifdef __STDC__
77923 # include <limits.h>
77924 #else
77925 # include <assert.h>
77926 #endif
77928 #undef $ac_func
77930 /* Override any gcc2 internal prototype to avoid an error. */
77931 #ifdef __cplusplus
77932 extern "C"
77934 #endif
77935 /* We use char because int might match the return type of a gcc2
77936 builtin and then its argument prototype would still apply. */
77937 char $ac_func ();
77938 /* The GNU C library defines this for functions which it implements
77939 to always fail with ENOSYS. Some functions are actually named
77940 something starting with __ and the normal name is an alias. */
77941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77942 choke me
77943 #else
77944 char (*f) () = $ac_func;
77945 #endif
77946 #ifdef __cplusplus
77948 #endif
77951 main ()
77953 return f != $ac_func;
77955 return 0;
77957 _ACEOF
77958 rm -f conftest.$ac_objext conftest$ac_exeext
77959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77960 (eval $ac_link) 2>conftest.er1
77961 ac_status=$?
77962 grep -v '^ *+' conftest.er1 >conftest.err
77963 rm -f conftest.er1
77964 cat conftest.err >&5
77965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77966 (exit $ac_status); } &&
77967 { ac_try='test -z "$ac_c_werror_flag"
77968 || test ! -s conftest.err'
77969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77970 (eval $ac_try) 2>&5
77971 ac_status=$?
77972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77973 (exit $ac_status); }; } &&
77974 { ac_try='test -s conftest$ac_exeext'
77975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77976 (eval $ac_try) 2>&5
77977 ac_status=$?
77978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77979 (exit $ac_status); }; }; then
77980 eval "$as_ac_var=yes"
77981 else
77982 echo "$as_me: failed program was:" >&5
77983 sed 's/^/| /' conftest.$ac_ext >&5
77985 eval "$as_ac_var=no"
77987 rm -f conftest.err conftest.$ac_objext \
77988 conftest$ac_exeext conftest.$ac_ext
77990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77992 if test `eval echo '${'$as_ac_var'}'` = yes; then
77993 cat >>confdefs.h <<_ACEOF
77994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77995 _ACEOF
77998 done
78000 else
78002 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78003 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78004 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78005 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78006 echo $ECHO_N "(cached) $ECHO_C" >&6
78007 else
78011 ac_ext=cc
78012 ac_cpp='$CXXCPP $CPPFLAGS'
78013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78017 cat >conftest.$ac_ext <<_ACEOF
78018 /* confdefs.h. */
78019 _ACEOF
78020 cat confdefs.h >>conftest.$ac_ext
78021 cat >>conftest.$ac_ext <<_ACEOF
78022 /* end confdefs.h. */
78023 #include <math.h>
78025 main ()
78027 _frexpl(0, 0);
78029 return 0;
78031 _ACEOF
78032 rm -f conftest.$ac_objext
78033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78034 (eval $ac_compile) 2>conftest.er1
78035 ac_status=$?
78036 grep -v '^ *+' conftest.er1 >conftest.err
78037 rm -f conftest.er1
78038 cat conftest.err >&5
78039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78040 (exit $ac_status); } &&
78041 { ac_try='test -z "$ac_cxx_werror_flag"
78042 || test ! -s conftest.err'
78043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78044 (eval $ac_try) 2>&5
78045 ac_status=$?
78046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78047 (exit $ac_status); }; } &&
78048 { ac_try='test -s conftest.$ac_objext'
78049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78050 (eval $ac_try) 2>&5
78051 ac_status=$?
78052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78053 (exit $ac_status); }; }; then
78054 glibcxx_cv_func__frexpl_use=yes
78055 else
78056 echo "$as_me: failed program was:" >&5
78057 sed 's/^/| /' conftest.$ac_ext >&5
78059 glibcxx_cv_func__frexpl_use=no
78061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78062 ac_ext=c
78063 ac_cpp='$CPP $CPPFLAGS'
78064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78073 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78075 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78077 for ac_func in _frexpl
78079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78080 echo "$as_me:$LINENO: checking for $ac_func" >&5
78081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78082 if eval "test \"\${$as_ac_var+set}\" = set"; then
78083 echo $ECHO_N "(cached) $ECHO_C" >&6
78084 else
78085 if test x$gcc_no_link = xyes; then
78086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78088 { (exit 1); exit 1; }; }
78090 cat >conftest.$ac_ext <<_ACEOF
78091 /* confdefs.h. */
78092 _ACEOF
78093 cat confdefs.h >>conftest.$ac_ext
78094 cat >>conftest.$ac_ext <<_ACEOF
78095 /* end confdefs.h. */
78096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78098 #define $ac_func innocuous_$ac_func
78100 /* System header to define __stub macros and hopefully few prototypes,
78101 which can conflict with char $ac_func (); below.
78102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78103 <limits.h> exists even on freestanding compilers. */
78105 #ifdef __STDC__
78106 # include <limits.h>
78107 #else
78108 # include <assert.h>
78109 #endif
78111 #undef $ac_func
78113 /* Override any gcc2 internal prototype to avoid an error. */
78114 #ifdef __cplusplus
78115 extern "C"
78117 #endif
78118 /* We use char because int might match the return type of a gcc2
78119 builtin and then its argument prototype would still apply. */
78120 char $ac_func ();
78121 /* The GNU C library defines this for functions which it implements
78122 to always fail with ENOSYS. Some functions are actually named
78123 something starting with __ and the normal name is an alias. */
78124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78125 choke me
78126 #else
78127 char (*f) () = $ac_func;
78128 #endif
78129 #ifdef __cplusplus
78131 #endif
78134 main ()
78136 return f != $ac_func;
78138 return 0;
78140 _ACEOF
78141 rm -f conftest.$ac_objext conftest$ac_exeext
78142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78143 (eval $ac_link) 2>conftest.er1
78144 ac_status=$?
78145 grep -v '^ *+' conftest.er1 >conftest.err
78146 rm -f conftest.er1
78147 cat conftest.err >&5
78148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78149 (exit $ac_status); } &&
78150 { ac_try='test -z "$ac_c_werror_flag"
78151 || test ! -s conftest.err'
78152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78153 (eval $ac_try) 2>&5
78154 ac_status=$?
78155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78156 (exit $ac_status); }; } &&
78157 { ac_try='test -s conftest$ac_exeext'
78158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78159 (eval $ac_try) 2>&5
78160 ac_status=$?
78161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162 (exit $ac_status); }; }; then
78163 eval "$as_ac_var=yes"
78164 else
78165 echo "$as_me: failed program was:" >&5
78166 sed 's/^/| /' conftest.$ac_ext >&5
78168 eval "$as_ac_var=no"
78170 rm -f conftest.err conftest.$ac_objext \
78171 conftest$ac_exeext conftest.$ac_ext
78173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78175 if test `eval echo '${'$as_ac_var'}'` = yes; then
78176 cat >>confdefs.h <<_ACEOF
78177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78178 _ACEOF
78181 done
78191 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78192 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78193 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78194 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78195 echo $ECHO_N "(cached) $ECHO_C" >&6
78196 else
78200 ac_ext=cc
78201 ac_cpp='$CXXCPP $CPPFLAGS'
78202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78206 cat >conftest.$ac_ext <<_ACEOF
78207 /* confdefs.h. */
78208 _ACEOF
78209 cat confdefs.h >>conftest.$ac_ext
78210 cat >>conftest.$ac_ext <<_ACEOF
78211 /* end confdefs.h. */
78212 #include <math.h>
78214 main ()
78216 hypotl(0, 0);
78218 return 0;
78220 _ACEOF
78221 rm -f conftest.$ac_objext
78222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78223 (eval $ac_compile) 2>conftest.er1
78224 ac_status=$?
78225 grep -v '^ *+' conftest.er1 >conftest.err
78226 rm -f conftest.er1
78227 cat conftest.err >&5
78228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78229 (exit $ac_status); } &&
78230 { ac_try='test -z "$ac_cxx_werror_flag"
78231 || test ! -s conftest.err'
78232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78233 (eval $ac_try) 2>&5
78234 ac_status=$?
78235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78236 (exit $ac_status); }; } &&
78237 { ac_try='test -s conftest.$ac_objext'
78238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78239 (eval $ac_try) 2>&5
78240 ac_status=$?
78241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78242 (exit $ac_status); }; }; then
78243 glibcxx_cv_func_hypotl_use=yes
78244 else
78245 echo "$as_me: failed program was:" >&5
78246 sed 's/^/| /' conftest.$ac_ext >&5
78248 glibcxx_cv_func_hypotl_use=no
78250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78251 ac_ext=c
78252 ac_cpp='$CPP $CPPFLAGS'
78253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78262 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78264 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78266 for ac_func in hypotl
78268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78269 echo "$as_me:$LINENO: checking for $ac_func" >&5
78270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78271 if eval "test \"\${$as_ac_var+set}\" = set"; then
78272 echo $ECHO_N "(cached) $ECHO_C" >&6
78273 else
78274 if test x$gcc_no_link = xyes; then
78275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78277 { (exit 1); exit 1; }; }
78279 cat >conftest.$ac_ext <<_ACEOF
78280 /* confdefs.h. */
78281 _ACEOF
78282 cat confdefs.h >>conftest.$ac_ext
78283 cat >>conftest.$ac_ext <<_ACEOF
78284 /* end confdefs.h. */
78285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78287 #define $ac_func innocuous_$ac_func
78289 /* System header to define __stub macros and hopefully few prototypes,
78290 which can conflict with char $ac_func (); below.
78291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78292 <limits.h> exists even on freestanding compilers. */
78294 #ifdef __STDC__
78295 # include <limits.h>
78296 #else
78297 # include <assert.h>
78298 #endif
78300 #undef $ac_func
78302 /* Override any gcc2 internal prototype to avoid an error. */
78303 #ifdef __cplusplus
78304 extern "C"
78306 #endif
78307 /* We use char because int might match the return type of a gcc2
78308 builtin and then its argument prototype would still apply. */
78309 char $ac_func ();
78310 /* The GNU C library defines this for functions which it implements
78311 to always fail with ENOSYS. Some functions are actually named
78312 something starting with __ and the normal name is an alias. */
78313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78314 choke me
78315 #else
78316 char (*f) () = $ac_func;
78317 #endif
78318 #ifdef __cplusplus
78320 #endif
78323 main ()
78325 return f != $ac_func;
78327 return 0;
78329 _ACEOF
78330 rm -f conftest.$ac_objext conftest$ac_exeext
78331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78332 (eval $ac_link) 2>conftest.er1
78333 ac_status=$?
78334 grep -v '^ *+' conftest.er1 >conftest.err
78335 rm -f conftest.er1
78336 cat conftest.err >&5
78337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338 (exit $ac_status); } &&
78339 { ac_try='test -z "$ac_c_werror_flag"
78340 || test ! -s conftest.err'
78341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78342 (eval $ac_try) 2>&5
78343 ac_status=$?
78344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78345 (exit $ac_status); }; } &&
78346 { ac_try='test -s conftest$ac_exeext'
78347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78348 (eval $ac_try) 2>&5
78349 ac_status=$?
78350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78351 (exit $ac_status); }; }; then
78352 eval "$as_ac_var=yes"
78353 else
78354 echo "$as_me: failed program was:" >&5
78355 sed 's/^/| /' conftest.$ac_ext >&5
78357 eval "$as_ac_var=no"
78359 rm -f conftest.err conftest.$ac_objext \
78360 conftest$ac_exeext conftest.$ac_ext
78362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78364 if test `eval echo '${'$as_ac_var'}'` = yes; then
78365 cat >>confdefs.h <<_ACEOF
78366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78367 _ACEOF
78370 done
78372 else
78374 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78375 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78376 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78377 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78378 echo $ECHO_N "(cached) $ECHO_C" >&6
78379 else
78383 ac_ext=cc
78384 ac_cpp='$CXXCPP $CPPFLAGS'
78385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78389 cat >conftest.$ac_ext <<_ACEOF
78390 /* confdefs.h. */
78391 _ACEOF
78392 cat confdefs.h >>conftest.$ac_ext
78393 cat >>conftest.$ac_ext <<_ACEOF
78394 /* end confdefs.h. */
78395 #include <math.h>
78397 main ()
78399 _hypotl(0, 0);
78401 return 0;
78403 _ACEOF
78404 rm -f conftest.$ac_objext
78405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78406 (eval $ac_compile) 2>conftest.er1
78407 ac_status=$?
78408 grep -v '^ *+' conftest.er1 >conftest.err
78409 rm -f conftest.er1
78410 cat conftest.err >&5
78411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78412 (exit $ac_status); } &&
78413 { ac_try='test -z "$ac_cxx_werror_flag"
78414 || test ! -s conftest.err'
78415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78416 (eval $ac_try) 2>&5
78417 ac_status=$?
78418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78419 (exit $ac_status); }; } &&
78420 { ac_try='test -s conftest.$ac_objext'
78421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78422 (eval $ac_try) 2>&5
78423 ac_status=$?
78424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78425 (exit $ac_status); }; }; then
78426 glibcxx_cv_func__hypotl_use=yes
78427 else
78428 echo "$as_me: failed program was:" >&5
78429 sed 's/^/| /' conftest.$ac_ext >&5
78431 glibcxx_cv_func__hypotl_use=no
78433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78434 ac_ext=c
78435 ac_cpp='$CPP $CPPFLAGS'
78436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78445 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78447 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78449 for ac_func in _hypotl
78451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78452 echo "$as_me:$LINENO: checking for $ac_func" >&5
78453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78454 if eval "test \"\${$as_ac_var+set}\" = set"; then
78455 echo $ECHO_N "(cached) $ECHO_C" >&6
78456 else
78457 if test x$gcc_no_link = xyes; then
78458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78460 { (exit 1); exit 1; }; }
78462 cat >conftest.$ac_ext <<_ACEOF
78463 /* confdefs.h. */
78464 _ACEOF
78465 cat confdefs.h >>conftest.$ac_ext
78466 cat >>conftest.$ac_ext <<_ACEOF
78467 /* end confdefs.h. */
78468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78470 #define $ac_func innocuous_$ac_func
78472 /* System header to define __stub macros and hopefully few prototypes,
78473 which can conflict with char $ac_func (); below.
78474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78475 <limits.h> exists even on freestanding compilers. */
78477 #ifdef __STDC__
78478 # include <limits.h>
78479 #else
78480 # include <assert.h>
78481 #endif
78483 #undef $ac_func
78485 /* Override any gcc2 internal prototype to avoid an error. */
78486 #ifdef __cplusplus
78487 extern "C"
78489 #endif
78490 /* We use char because int might match the return type of a gcc2
78491 builtin and then its argument prototype would still apply. */
78492 char $ac_func ();
78493 /* The GNU C library defines this for functions which it implements
78494 to always fail with ENOSYS. Some functions are actually named
78495 something starting with __ and the normal name is an alias. */
78496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78497 choke me
78498 #else
78499 char (*f) () = $ac_func;
78500 #endif
78501 #ifdef __cplusplus
78503 #endif
78506 main ()
78508 return f != $ac_func;
78510 return 0;
78512 _ACEOF
78513 rm -f conftest.$ac_objext conftest$ac_exeext
78514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78515 (eval $ac_link) 2>conftest.er1
78516 ac_status=$?
78517 grep -v '^ *+' conftest.er1 >conftest.err
78518 rm -f conftest.er1
78519 cat conftest.err >&5
78520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78521 (exit $ac_status); } &&
78522 { ac_try='test -z "$ac_c_werror_flag"
78523 || test ! -s conftest.err'
78524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78525 (eval $ac_try) 2>&5
78526 ac_status=$?
78527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78528 (exit $ac_status); }; } &&
78529 { ac_try='test -s conftest$ac_exeext'
78530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78531 (eval $ac_try) 2>&5
78532 ac_status=$?
78533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78534 (exit $ac_status); }; }; then
78535 eval "$as_ac_var=yes"
78536 else
78537 echo "$as_me: failed program was:" >&5
78538 sed 's/^/| /' conftest.$ac_ext >&5
78540 eval "$as_ac_var=no"
78542 rm -f conftest.err conftest.$ac_objext \
78543 conftest$ac_exeext conftest.$ac_ext
78545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78547 if test `eval echo '${'$as_ac_var'}'` = yes; then
78548 cat >>confdefs.h <<_ACEOF
78549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78550 _ACEOF
78553 done
78563 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78564 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78566 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78567 echo $ECHO_N "(cached) $ECHO_C" >&6
78568 else
78572 ac_ext=cc
78573 ac_cpp='$CXXCPP $CPPFLAGS'
78574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78578 cat >conftest.$ac_ext <<_ACEOF
78579 /* confdefs.h. */
78580 _ACEOF
78581 cat confdefs.h >>conftest.$ac_ext
78582 cat >>conftest.$ac_ext <<_ACEOF
78583 /* end confdefs.h. */
78584 #include <math.h>
78586 main ()
78588 ldexpl(0, 0);
78590 return 0;
78592 _ACEOF
78593 rm -f conftest.$ac_objext
78594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78595 (eval $ac_compile) 2>conftest.er1
78596 ac_status=$?
78597 grep -v '^ *+' conftest.er1 >conftest.err
78598 rm -f conftest.er1
78599 cat conftest.err >&5
78600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78601 (exit $ac_status); } &&
78602 { ac_try='test -z "$ac_cxx_werror_flag"
78603 || test ! -s conftest.err'
78604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78605 (eval $ac_try) 2>&5
78606 ac_status=$?
78607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78608 (exit $ac_status); }; } &&
78609 { ac_try='test -s conftest.$ac_objext'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; }; then
78615 glibcxx_cv_func_ldexpl_use=yes
78616 else
78617 echo "$as_me: failed program was:" >&5
78618 sed 's/^/| /' conftest.$ac_ext >&5
78620 glibcxx_cv_func_ldexpl_use=no
78622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78623 ac_ext=c
78624 ac_cpp='$CPP $CPPFLAGS'
78625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78634 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78638 for ac_func in ldexpl
78640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78641 echo "$as_me:$LINENO: checking for $ac_func" >&5
78642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78643 if eval "test \"\${$as_ac_var+set}\" = set"; then
78644 echo $ECHO_N "(cached) $ECHO_C" >&6
78645 else
78646 if test x$gcc_no_link = xyes; then
78647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78649 { (exit 1); exit 1; }; }
78651 cat >conftest.$ac_ext <<_ACEOF
78652 /* confdefs.h. */
78653 _ACEOF
78654 cat confdefs.h >>conftest.$ac_ext
78655 cat >>conftest.$ac_ext <<_ACEOF
78656 /* end confdefs.h. */
78657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78659 #define $ac_func innocuous_$ac_func
78661 /* System header to define __stub macros and hopefully few prototypes,
78662 which can conflict with char $ac_func (); below.
78663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78664 <limits.h> exists even on freestanding compilers. */
78666 #ifdef __STDC__
78667 # include <limits.h>
78668 #else
78669 # include <assert.h>
78670 #endif
78672 #undef $ac_func
78674 /* Override any gcc2 internal prototype to avoid an error. */
78675 #ifdef __cplusplus
78676 extern "C"
78678 #endif
78679 /* We use char because int might match the return type of a gcc2
78680 builtin and then its argument prototype would still apply. */
78681 char $ac_func ();
78682 /* The GNU C library defines this for functions which it implements
78683 to always fail with ENOSYS. Some functions are actually named
78684 something starting with __ and the normal name is an alias. */
78685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78686 choke me
78687 #else
78688 char (*f) () = $ac_func;
78689 #endif
78690 #ifdef __cplusplus
78692 #endif
78695 main ()
78697 return f != $ac_func;
78699 return 0;
78701 _ACEOF
78702 rm -f conftest.$ac_objext conftest$ac_exeext
78703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78704 (eval $ac_link) 2>conftest.er1
78705 ac_status=$?
78706 grep -v '^ *+' conftest.er1 >conftest.err
78707 rm -f conftest.er1
78708 cat conftest.err >&5
78709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78710 (exit $ac_status); } &&
78711 { ac_try='test -z "$ac_c_werror_flag"
78712 || test ! -s conftest.err'
78713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78714 (eval $ac_try) 2>&5
78715 ac_status=$?
78716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78717 (exit $ac_status); }; } &&
78718 { ac_try='test -s conftest$ac_exeext'
78719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78720 (eval $ac_try) 2>&5
78721 ac_status=$?
78722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78723 (exit $ac_status); }; }; then
78724 eval "$as_ac_var=yes"
78725 else
78726 echo "$as_me: failed program was:" >&5
78727 sed 's/^/| /' conftest.$ac_ext >&5
78729 eval "$as_ac_var=no"
78731 rm -f conftest.err conftest.$ac_objext \
78732 conftest$ac_exeext conftest.$ac_ext
78734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78736 if test `eval echo '${'$as_ac_var'}'` = yes; then
78737 cat >>confdefs.h <<_ACEOF
78738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78739 _ACEOF
78742 done
78744 else
78746 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78747 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78748 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78749 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78750 echo $ECHO_N "(cached) $ECHO_C" >&6
78751 else
78755 ac_ext=cc
78756 ac_cpp='$CXXCPP $CPPFLAGS'
78757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78761 cat >conftest.$ac_ext <<_ACEOF
78762 /* confdefs.h. */
78763 _ACEOF
78764 cat confdefs.h >>conftest.$ac_ext
78765 cat >>conftest.$ac_ext <<_ACEOF
78766 /* end confdefs.h. */
78767 #include <math.h>
78769 main ()
78771 _ldexpl(0, 0);
78773 return 0;
78775 _ACEOF
78776 rm -f conftest.$ac_objext
78777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78778 (eval $ac_compile) 2>conftest.er1
78779 ac_status=$?
78780 grep -v '^ *+' conftest.er1 >conftest.err
78781 rm -f conftest.er1
78782 cat conftest.err >&5
78783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78784 (exit $ac_status); } &&
78785 { ac_try='test -z "$ac_cxx_werror_flag"
78786 || test ! -s conftest.err'
78787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78788 (eval $ac_try) 2>&5
78789 ac_status=$?
78790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78791 (exit $ac_status); }; } &&
78792 { ac_try='test -s conftest.$ac_objext'
78793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794 (eval $ac_try) 2>&5
78795 ac_status=$?
78796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797 (exit $ac_status); }; }; then
78798 glibcxx_cv_func__ldexpl_use=yes
78799 else
78800 echo "$as_me: failed program was:" >&5
78801 sed 's/^/| /' conftest.$ac_ext >&5
78803 glibcxx_cv_func__ldexpl_use=no
78805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78806 ac_ext=c
78807 ac_cpp='$CPP $CPPFLAGS'
78808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78817 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78819 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78821 for ac_func in _ldexpl
78823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78824 echo "$as_me:$LINENO: checking for $ac_func" >&5
78825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78826 if eval "test \"\${$as_ac_var+set}\" = set"; then
78827 echo $ECHO_N "(cached) $ECHO_C" >&6
78828 else
78829 if test x$gcc_no_link = xyes; then
78830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78832 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78842 #define $ac_func innocuous_$ac_func
78844 /* System header to define __stub macros and hopefully few prototypes,
78845 which can conflict with char $ac_func (); below.
78846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78847 <limits.h> exists even on freestanding compilers. */
78849 #ifdef __STDC__
78850 # include <limits.h>
78851 #else
78852 # include <assert.h>
78853 #endif
78855 #undef $ac_func
78857 /* Override any gcc2 internal prototype to avoid an error. */
78858 #ifdef __cplusplus
78859 extern "C"
78861 #endif
78862 /* We use char because int might match the return type of a gcc2
78863 builtin and then its argument prototype would still apply. */
78864 char $ac_func ();
78865 /* The GNU C library defines this for functions which it implements
78866 to always fail with ENOSYS. Some functions are actually named
78867 something starting with __ and the normal name is an alias. */
78868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78869 choke me
78870 #else
78871 char (*f) () = $ac_func;
78872 #endif
78873 #ifdef __cplusplus
78875 #endif
78878 main ()
78880 return f != $ac_func;
78882 return 0;
78884 _ACEOF
78885 rm -f conftest.$ac_objext conftest$ac_exeext
78886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78887 (eval $ac_link) 2>conftest.er1
78888 ac_status=$?
78889 grep -v '^ *+' conftest.er1 >conftest.err
78890 rm -f conftest.er1
78891 cat conftest.err >&5
78892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78893 (exit $ac_status); } &&
78894 { ac_try='test -z "$ac_c_werror_flag"
78895 || test ! -s conftest.err'
78896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78897 (eval $ac_try) 2>&5
78898 ac_status=$?
78899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78900 (exit $ac_status); }; } &&
78901 { ac_try='test -s conftest$ac_exeext'
78902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78903 (eval $ac_try) 2>&5
78904 ac_status=$?
78905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78906 (exit $ac_status); }; }; then
78907 eval "$as_ac_var=yes"
78908 else
78909 echo "$as_me: failed program was:" >&5
78910 sed 's/^/| /' conftest.$ac_ext >&5
78912 eval "$as_ac_var=no"
78914 rm -f conftest.err conftest.$ac_objext \
78915 conftest$ac_exeext conftest.$ac_ext
78917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78919 if test `eval echo '${'$as_ac_var'}'` = yes; then
78920 cat >>confdefs.h <<_ACEOF
78921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78922 _ACEOF
78925 done
78935 echo "$as_me:$LINENO: checking for logl declaration" >&5
78936 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78937 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78938 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78939 echo $ECHO_N "(cached) $ECHO_C" >&6
78940 else
78944 ac_ext=cc
78945 ac_cpp='$CXXCPP $CPPFLAGS'
78946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78950 cat >conftest.$ac_ext <<_ACEOF
78951 /* confdefs.h. */
78952 _ACEOF
78953 cat confdefs.h >>conftest.$ac_ext
78954 cat >>conftest.$ac_ext <<_ACEOF
78955 /* end confdefs.h. */
78956 #include <math.h>
78957 #ifdef HAVE_IEEEFP_H
78958 #include <ieeefp.h>
78959 #endif
78962 main ()
78964 logl(0);
78966 return 0;
78968 _ACEOF
78969 rm -f conftest.$ac_objext
78970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78971 (eval $ac_compile) 2>conftest.er1
78972 ac_status=$?
78973 grep -v '^ *+' conftest.er1 >conftest.err
78974 rm -f conftest.er1
78975 cat conftest.err >&5
78976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78977 (exit $ac_status); } &&
78978 { ac_try='test -z "$ac_cxx_werror_flag"
78979 || test ! -s conftest.err'
78980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78981 (eval $ac_try) 2>&5
78982 ac_status=$?
78983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78984 (exit $ac_status); }; } &&
78985 { ac_try='test -s conftest.$ac_objext'
78986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78987 (eval $ac_try) 2>&5
78988 ac_status=$?
78989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78990 (exit $ac_status); }; }; then
78991 glibcxx_cv_func_logl_use=yes
78992 else
78993 echo "$as_me: failed program was:" >&5
78994 sed 's/^/| /' conftest.$ac_ext >&5
78996 glibcxx_cv_func_logl_use=no
78998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78999 ac_ext=c
79000 ac_cpp='$CPP $CPPFLAGS'
79001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79009 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79010 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79012 if test x$glibcxx_cv_func_logl_use = x"yes"; then
79014 for ac_func in logl
79016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79017 echo "$as_me:$LINENO: checking for $ac_func" >&5
79018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79019 if eval "test \"\${$as_ac_var+set}\" = set"; then
79020 echo $ECHO_N "(cached) $ECHO_C" >&6
79021 else
79022 if test x$gcc_no_link = xyes; then
79023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79025 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79035 #define $ac_func innocuous_$ac_func
79037 /* System header to define __stub macros and hopefully few prototypes,
79038 which can conflict with char $ac_func (); below.
79039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79040 <limits.h> exists even on freestanding compilers. */
79042 #ifdef __STDC__
79043 # include <limits.h>
79044 #else
79045 # include <assert.h>
79046 #endif
79048 #undef $ac_func
79050 /* Override any gcc2 internal prototype to avoid an error. */
79051 #ifdef __cplusplus
79052 extern "C"
79054 #endif
79055 /* We use char because int might match the return type of a gcc2
79056 builtin and then its argument prototype would still apply. */
79057 char $ac_func ();
79058 /* The GNU C library defines this for functions which it implements
79059 to always fail with ENOSYS. Some functions are actually named
79060 something starting with __ and the normal name is an alias. */
79061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79062 choke me
79063 #else
79064 char (*f) () = $ac_func;
79065 #endif
79066 #ifdef __cplusplus
79068 #endif
79071 main ()
79073 return f != $ac_func;
79075 return 0;
79077 _ACEOF
79078 rm -f conftest.$ac_objext conftest$ac_exeext
79079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79080 (eval $ac_link) 2>conftest.er1
79081 ac_status=$?
79082 grep -v '^ *+' conftest.er1 >conftest.err
79083 rm -f conftest.er1
79084 cat conftest.err >&5
79085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79086 (exit $ac_status); } &&
79087 { ac_try='test -z "$ac_c_werror_flag"
79088 || test ! -s conftest.err'
79089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79090 (eval $ac_try) 2>&5
79091 ac_status=$?
79092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79093 (exit $ac_status); }; } &&
79094 { ac_try='test -s conftest$ac_exeext'
79095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79096 (eval $ac_try) 2>&5
79097 ac_status=$?
79098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79099 (exit $ac_status); }; }; then
79100 eval "$as_ac_var=yes"
79101 else
79102 echo "$as_me: failed program was:" >&5
79103 sed 's/^/| /' conftest.$ac_ext >&5
79105 eval "$as_ac_var=no"
79107 rm -f conftest.err conftest.$ac_objext \
79108 conftest$ac_exeext conftest.$ac_ext
79110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79112 if test `eval echo '${'$as_ac_var'}'` = yes; then
79113 cat >>confdefs.h <<_ACEOF
79114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79115 _ACEOF
79118 done
79120 else
79122 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79123 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79124 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79125 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79126 echo $ECHO_N "(cached) $ECHO_C" >&6
79127 else
79131 ac_ext=cc
79132 ac_cpp='$CXXCPP $CPPFLAGS'
79133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79137 cat >conftest.$ac_ext <<_ACEOF
79138 /* confdefs.h. */
79139 _ACEOF
79140 cat confdefs.h >>conftest.$ac_ext
79141 cat >>conftest.$ac_ext <<_ACEOF
79142 /* end confdefs.h. */
79143 #include <math.h>
79144 #ifdef HAVE_IEEEFP_H
79145 #include <ieeefp.h>
79146 #endif
79149 main ()
79151 _logl(0);
79153 return 0;
79155 _ACEOF
79156 rm -f conftest.$ac_objext
79157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79158 (eval $ac_compile) 2>conftest.er1
79159 ac_status=$?
79160 grep -v '^ *+' conftest.er1 >conftest.err
79161 rm -f conftest.er1
79162 cat conftest.err >&5
79163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79164 (exit $ac_status); } &&
79165 { ac_try='test -z "$ac_cxx_werror_flag"
79166 || test ! -s conftest.err'
79167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79168 (eval $ac_try) 2>&5
79169 ac_status=$?
79170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171 (exit $ac_status); }; } &&
79172 { ac_try='test -s conftest.$ac_objext'
79173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79174 (eval $ac_try) 2>&5
79175 ac_status=$?
79176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79177 (exit $ac_status); }; }; then
79178 glibcxx_cv_func__logl_use=yes
79179 else
79180 echo "$as_me: failed program was:" >&5
79181 sed 's/^/| /' conftest.$ac_ext >&5
79183 glibcxx_cv_func__logl_use=no
79185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79186 ac_ext=c
79187 ac_cpp='$CPP $CPPFLAGS'
79188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79197 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79199 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79201 for ac_func in _logl
79203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79204 echo "$as_me:$LINENO: checking for $ac_func" >&5
79205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79206 if eval "test \"\${$as_ac_var+set}\" = set"; then
79207 echo $ECHO_N "(cached) $ECHO_C" >&6
79208 else
79209 if test x$gcc_no_link = xyes; then
79210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79212 { (exit 1); exit 1; }; }
79214 cat >conftest.$ac_ext <<_ACEOF
79215 /* confdefs.h. */
79216 _ACEOF
79217 cat confdefs.h >>conftest.$ac_ext
79218 cat >>conftest.$ac_ext <<_ACEOF
79219 /* end confdefs.h. */
79220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79222 #define $ac_func innocuous_$ac_func
79224 /* System header to define __stub macros and hopefully few prototypes,
79225 which can conflict with char $ac_func (); below.
79226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79227 <limits.h> exists even on freestanding compilers. */
79229 #ifdef __STDC__
79230 # include <limits.h>
79231 #else
79232 # include <assert.h>
79233 #endif
79235 #undef $ac_func
79237 /* Override any gcc2 internal prototype to avoid an error. */
79238 #ifdef __cplusplus
79239 extern "C"
79241 #endif
79242 /* We use char because int might match the return type of a gcc2
79243 builtin and then its argument prototype would still apply. */
79244 char $ac_func ();
79245 /* The GNU C library defines this for functions which it implements
79246 to always fail with ENOSYS. Some functions are actually named
79247 something starting with __ and the normal name is an alias. */
79248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79249 choke me
79250 #else
79251 char (*f) () = $ac_func;
79252 #endif
79253 #ifdef __cplusplus
79255 #endif
79258 main ()
79260 return f != $ac_func;
79262 return 0;
79264 _ACEOF
79265 rm -f conftest.$ac_objext conftest$ac_exeext
79266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79267 (eval $ac_link) 2>conftest.er1
79268 ac_status=$?
79269 grep -v '^ *+' conftest.er1 >conftest.err
79270 rm -f conftest.er1
79271 cat conftest.err >&5
79272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79273 (exit $ac_status); } &&
79274 { ac_try='test -z "$ac_c_werror_flag"
79275 || test ! -s conftest.err'
79276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79277 (eval $ac_try) 2>&5
79278 ac_status=$?
79279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79280 (exit $ac_status); }; } &&
79281 { ac_try='test -s conftest$ac_exeext'
79282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79283 (eval $ac_try) 2>&5
79284 ac_status=$?
79285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79286 (exit $ac_status); }; }; then
79287 eval "$as_ac_var=yes"
79288 else
79289 echo "$as_me: failed program was:" >&5
79290 sed 's/^/| /' conftest.$ac_ext >&5
79292 eval "$as_ac_var=no"
79294 rm -f conftest.err conftest.$ac_objext \
79295 conftest$ac_exeext conftest.$ac_ext
79297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79299 if test `eval echo '${'$as_ac_var'}'` = yes; then
79300 cat >>confdefs.h <<_ACEOF
79301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79302 _ACEOF
79305 done
79315 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79316 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79317 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79318 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79319 echo $ECHO_N "(cached) $ECHO_C" >&6
79320 else
79324 ac_ext=cc
79325 ac_cpp='$CXXCPP $CPPFLAGS'
79326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79330 cat >conftest.$ac_ext <<_ACEOF
79331 /* confdefs.h. */
79332 _ACEOF
79333 cat confdefs.h >>conftest.$ac_ext
79334 cat >>conftest.$ac_ext <<_ACEOF
79335 /* end confdefs.h. */
79336 #include <math.h>
79337 #ifdef HAVE_IEEEFP_H
79338 #include <ieeefp.h>
79339 #endif
79342 main ()
79344 log10l(0);
79346 return 0;
79348 _ACEOF
79349 rm -f conftest.$ac_objext
79350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79351 (eval $ac_compile) 2>conftest.er1
79352 ac_status=$?
79353 grep -v '^ *+' conftest.er1 >conftest.err
79354 rm -f conftest.er1
79355 cat conftest.err >&5
79356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79357 (exit $ac_status); } &&
79358 { ac_try='test -z "$ac_cxx_werror_flag"
79359 || test ! -s conftest.err'
79360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79361 (eval $ac_try) 2>&5
79362 ac_status=$?
79363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79364 (exit $ac_status); }; } &&
79365 { ac_try='test -s conftest.$ac_objext'
79366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79367 (eval $ac_try) 2>&5
79368 ac_status=$?
79369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79370 (exit $ac_status); }; }; then
79371 glibcxx_cv_func_log10l_use=yes
79372 else
79373 echo "$as_me: failed program was:" >&5
79374 sed 's/^/| /' conftest.$ac_ext >&5
79376 glibcxx_cv_func_log10l_use=no
79378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79379 ac_ext=c
79380 ac_cpp='$CPP $CPPFLAGS'
79381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79390 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79392 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79394 for ac_func in log10l
79396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79397 echo "$as_me:$LINENO: checking for $ac_func" >&5
79398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79399 if eval "test \"\${$as_ac_var+set}\" = set"; then
79400 echo $ECHO_N "(cached) $ECHO_C" >&6
79401 else
79402 if test x$gcc_no_link = xyes; then
79403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79405 { (exit 1); exit 1; }; }
79407 cat >conftest.$ac_ext <<_ACEOF
79408 /* confdefs.h. */
79409 _ACEOF
79410 cat confdefs.h >>conftest.$ac_ext
79411 cat >>conftest.$ac_ext <<_ACEOF
79412 /* end confdefs.h. */
79413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79415 #define $ac_func innocuous_$ac_func
79417 /* System header to define __stub macros and hopefully few prototypes,
79418 which can conflict with char $ac_func (); below.
79419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79420 <limits.h> exists even on freestanding compilers. */
79422 #ifdef __STDC__
79423 # include <limits.h>
79424 #else
79425 # include <assert.h>
79426 #endif
79428 #undef $ac_func
79430 /* Override any gcc2 internal prototype to avoid an error. */
79431 #ifdef __cplusplus
79432 extern "C"
79434 #endif
79435 /* We use char because int might match the return type of a gcc2
79436 builtin and then its argument prototype would still apply. */
79437 char $ac_func ();
79438 /* The GNU C library defines this for functions which it implements
79439 to always fail with ENOSYS. Some functions are actually named
79440 something starting with __ and the normal name is an alias. */
79441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79442 choke me
79443 #else
79444 char (*f) () = $ac_func;
79445 #endif
79446 #ifdef __cplusplus
79448 #endif
79451 main ()
79453 return f != $ac_func;
79455 return 0;
79457 _ACEOF
79458 rm -f conftest.$ac_objext conftest$ac_exeext
79459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79460 (eval $ac_link) 2>conftest.er1
79461 ac_status=$?
79462 grep -v '^ *+' conftest.er1 >conftest.err
79463 rm -f conftest.er1
79464 cat conftest.err >&5
79465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466 (exit $ac_status); } &&
79467 { ac_try='test -z "$ac_c_werror_flag"
79468 || test ! -s conftest.err'
79469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79470 (eval $ac_try) 2>&5
79471 ac_status=$?
79472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79473 (exit $ac_status); }; } &&
79474 { ac_try='test -s conftest$ac_exeext'
79475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79476 (eval $ac_try) 2>&5
79477 ac_status=$?
79478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479 (exit $ac_status); }; }; then
79480 eval "$as_ac_var=yes"
79481 else
79482 echo "$as_me: failed program was:" >&5
79483 sed 's/^/| /' conftest.$ac_ext >&5
79485 eval "$as_ac_var=no"
79487 rm -f conftest.err conftest.$ac_objext \
79488 conftest$ac_exeext conftest.$ac_ext
79490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79492 if test `eval echo '${'$as_ac_var'}'` = yes; then
79493 cat >>confdefs.h <<_ACEOF
79494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79495 _ACEOF
79498 done
79500 else
79502 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79503 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79504 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79505 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79506 echo $ECHO_N "(cached) $ECHO_C" >&6
79507 else
79511 ac_ext=cc
79512 ac_cpp='$CXXCPP $CPPFLAGS'
79513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79517 cat >conftest.$ac_ext <<_ACEOF
79518 /* confdefs.h. */
79519 _ACEOF
79520 cat confdefs.h >>conftest.$ac_ext
79521 cat >>conftest.$ac_ext <<_ACEOF
79522 /* end confdefs.h. */
79523 #include <math.h>
79524 #ifdef HAVE_IEEEFP_H
79525 #include <ieeefp.h>
79526 #endif
79529 main ()
79531 _log10l(0);
79533 return 0;
79535 _ACEOF
79536 rm -f conftest.$ac_objext
79537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79538 (eval $ac_compile) 2>conftest.er1
79539 ac_status=$?
79540 grep -v '^ *+' conftest.er1 >conftest.err
79541 rm -f conftest.er1
79542 cat conftest.err >&5
79543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79544 (exit $ac_status); } &&
79545 { ac_try='test -z "$ac_cxx_werror_flag"
79546 || test ! -s conftest.err'
79547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79548 (eval $ac_try) 2>&5
79549 ac_status=$?
79550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79551 (exit $ac_status); }; } &&
79552 { ac_try='test -s conftest.$ac_objext'
79553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79554 (eval $ac_try) 2>&5
79555 ac_status=$?
79556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557 (exit $ac_status); }; }; then
79558 glibcxx_cv_func__log10l_use=yes
79559 else
79560 echo "$as_me: failed program was:" >&5
79561 sed 's/^/| /' conftest.$ac_ext >&5
79563 glibcxx_cv_func__log10l_use=no
79565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79566 ac_ext=c
79567 ac_cpp='$CPP $CPPFLAGS'
79568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79577 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79579 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79581 for ac_func in _log10l
79583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79584 echo "$as_me:$LINENO: checking for $ac_func" >&5
79585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79586 if eval "test \"\${$as_ac_var+set}\" = set"; then
79587 echo $ECHO_N "(cached) $ECHO_C" >&6
79588 else
79589 if test x$gcc_no_link = xyes; then
79590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79592 { (exit 1); exit 1; }; }
79594 cat >conftest.$ac_ext <<_ACEOF
79595 /* confdefs.h. */
79596 _ACEOF
79597 cat confdefs.h >>conftest.$ac_ext
79598 cat >>conftest.$ac_ext <<_ACEOF
79599 /* end confdefs.h. */
79600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79602 #define $ac_func innocuous_$ac_func
79604 /* System header to define __stub macros and hopefully few prototypes,
79605 which can conflict with char $ac_func (); below.
79606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79607 <limits.h> exists even on freestanding compilers. */
79609 #ifdef __STDC__
79610 # include <limits.h>
79611 #else
79612 # include <assert.h>
79613 #endif
79615 #undef $ac_func
79617 /* Override any gcc2 internal prototype to avoid an error. */
79618 #ifdef __cplusplus
79619 extern "C"
79621 #endif
79622 /* We use char because int might match the return type of a gcc2
79623 builtin and then its argument prototype would still apply. */
79624 char $ac_func ();
79625 /* The GNU C library defines this for functions which it implements
79626 to always fail with ENOSYS. Some functions are actually named
79627 something starting with __ and the normal name is an alias. */
79628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79629 choke me
79630 #else
79631 char (*f) () = $ac_func;
79632 #endif
79633 #ifdef __cplusplus
79635 #endif
79638 main ()
79640 return f != $ac_func;
79642 return 0;
79644 _ACEOF
79645 rm -f conftest.$ac_objext conftest$ac_exeext
79646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79647 (eval $ac_link) 2>conftest.er1
79648 ac_status=$?
79649 grep -v '^ *+' conftest.er1 >conftest.err
79650 rm -f conftest.er1
79651 cat conftest.err >&5
79652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653 (exit $ac_status); } &&
79654 { ac_try='test -z "$ac_c_werror_flag"
79655 || test ! -s conftest.err'
79656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79657 (eval $ac_try) 2>&5
79658 ac_status=$?
79659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79660 (exit $ac_status); }; } &&
79661 { ac_try='test -s conftest$ac_exeext'
79662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79663 (eval $ac_try) 2>&5
79664 ac_status=$?
79665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79666 (exit $ac_status); }; }; then
79667 eval "$as_ac_var=yes"
79668 else
79669 echo "$as_me: failed program was:" >&5
79670 sed 's/^/| /' conftest.$ac_ext >&5
79672 eval "$as_ac_var=no"
79674 rm -f conftest.err conftest.$ac_objext \
79675 conftest$ac_exeext conftest.$ac_ext
79677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79679 if test `eval echo '${'$as_ac_var'}'` = yes; then
79680 cat >>confdefs.h <<_ACEOF
79681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79682 _ACEOF
79685 done
79695 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79696 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79697 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79698 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79699 echo $ECHO_N "(cached) $ECHO_C" >&6
79700 else
79704 ac_ext=cc
79705 ac_cpp='$CXXCPP $CPPFLAGS'
79706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79710 cat >conftest.$ac_ext <<_ACEOF
79711 /* confdefs.h. */
79712 _ACEOF
79713 cat confdefs.h >>conftest.$ac_ext
79714 cat >>conftest.$ac_ext <<_ACEOF
79715 /* end confdefs.h. */
79716 #include <math.h>
79718 main ()
79720 modfl(0, 0);
79722 return 0;
79724 _ACEOF
79725 rm -f conftest.$ac_objext
79726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79727 (eval $ac_compile) 2>conftest.er1
79728 ac_status=$?
79729 grep -v '^ *+' conftest.er1 >conftest.err
79730 rm -f conftest.er1
79731 cat conftest.err >&5
79732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79733 (exit $ac_status); } &&
79734 { ac_try='test -z "$ac_cxx_werror_flag"
79735 || test ! -s conftest.err'
79736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79737 (eval $ac_try) 2>&5
79738 ac_status=$?
79739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740 (exit $ac_status); }; } &&
79741 { ac_try='test -s conftest.$ac_objext'
79742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79743 (eval $ac_try) 2>&5
79744 ac_status=$?
79745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79746 (exit $ac_status); }; }; then
79747 glibcxx_cv_func_modfl_use=yes
79748 else
79749 echo "$as_me: failed program was:" >&5
79750 sed 's/^/| /' conftest.$ac_ext >&5
79752 glibcxx_cv_func_modfl_use=no
79754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79755 ac_ext=c
79756 ac_cpp='$CPP $CPPFLAGS'
79757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79766 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79768 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79770 for ac_func in modfl
79772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79773 echo "$as_me:$LINENO: checking for $ac_func" >&5
79774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79775 if eval "test \"\${$as_ac_var+set}\" = set"; then
79776 echo $ECHO_N "(cached) $ECHO_C" >&6
79777 else
79778 if test x$gcc_no_link = xyes; then
79779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79781 { (exit 1); exit 1; }; }
79783 cat >conftest.$ac_ext <<_ACEOF
79784 /* confdefs.h. */
79785 _ACEOF
79786 cat confdefs.h >>conftest.$ac_ext
79787 cat >>conftest.$ac_ext <<_ACEOF
79788 /* end confdefs.h. */
79789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79791 #define $ac_func innocuous_$ac_func
79793 /* System header to define __stub macros and hopefully few prototypes,
79794 which can conflict with char $ac_func (); below.
79795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79796 <limits.h> exists even on freestanding compilers. */
79798 #ifdef __STDC__
79799 # include <limits.h>
79800 #else
79801 # include <assert.h>
79802 #endif
79804 #undef $ac_func
79806 /* Override any gcc2 internal prototype to avoid an error. */
79807 #ifdef __cplusplus
79808 extern "C"
79810 #endif
79811 /* We use char because int might match the return type of a gcc2
79812 builtin and then its argument prototype would still apply. */
79813 char $ac_func ();
79814 /* The GNU C library defines this for functions which it implements
79815 to always fail with ENOSYS. Some functions are actually named
79816 something starting with __ and the normal name is an alias. */
79817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79818 choke me
79819 #else
79820 char (*f) () = $ac_func;
79821 #endif
79822 #ifdef __cplusplus
79824 #endif
79827 main ()
79829 return f != $ac_func;
79831 return 0;
79833 _ACEOF
79834 rm -f conftest.$ac_objext conftest$ac_exeext
79835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79836 (eval $ac_link) 2>conftest.er1
79837 ac_status=$?
79838 grep -v '^ *+' conftest.er1 >conftest.err
79839 rm -f conftest.er1
79840 cat conftest.err >&5
79841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79842 (exit $ac_status); } &&
79843 { ac_try='test -z "$ac_c_werror_flag"
79844 || test ! -s conftest.err'
79845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79846 (eval $ac_try) 2>&5
79847 ac_status=$?
79848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79849 (exit $ac_status); }; } &&
79850 { ac_try='test -s conftest$ac_exeext'
79851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852 (eval $ac_try) 2>&5
79853 ac_status=$?
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); }; }; then
79856 eval "$as_ac_var=yes"
79857 else
79858 echo "$as_me: failed program was:" >&5
79859 sed 's/^/| /' conftest.$ac_ext >&5
79861 eval "$as_ac_var=no"
79863 rm -f conftest.err conftest.$ac_objext \
79864 conftest$ac_exeext conftest.$ac_ext
79866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79868 if test `eval echo '${'$as_ac_var'}'` = yes; then
79869 cat >>confdefs.h <<_ACEOF
79870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79871 _ACEOF
79874 done
79876 else
79878 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79879 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79880 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79881 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79882 echo $ECHO_N "(cached) $ECHO_C" >&6
79883 else
79887 ac_ext=cc
79888 ac_cpp='$CXXCPP $CPPFLAGS'
79889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79893 cat >conftest.$ac_ext <<_ACEOF
79894 /* confdefs.h. */
79895 _ACEOF
79896 cat confdefs.h >>conftest.$ac_ext
79897 cat >>conftest.$ac_ext <<_ACEOF
79898 /* end confdefs.h. */
79899 #include <math.h>
79901 main ()
79903 _modfl(0, 0);
79905 return 0;
79907 _ACEOF
79908 rm -f conftest.$ac_objext
79909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79910 (eval $ac_compile) 2>conftest.er1
79911 ac_status=$?
79912 grep -v '^ *+' conftest.er1 >conftest.err
79913 rm -f conftest.er1
79914 cat conftest.err >&5
79915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916 (exit $ac_status); } &&
79917 { ac_try='test -z "$ac_cxx_werror_flag"
79918 || test ! -s conftest.err'
79919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79920 (eval $ac_try) 2>&5
79921 ac_status=$?
79922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79923 (exit $ac_status); }; } &&
79924 { ac_try='test -s conftest.$ac_objext'
79925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79926 (eval $ac_try) 2>&5
79927 ac_status=$?
79928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79929 (exit $ac_status); }; }; then
79930 glibcxx_cv_func__modfl_use=yes
79931 else
79932 echo "$as_me: failed program was:" >&5
79933 sed 's/^/| /' conftest.$ac_ext >&5
79935 glibcxx_cv_func__modfl_use=no
79937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79938 ac_ext=c
79939 ac_cpp='$CPP $CPPFLAGS'
79940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79949 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79951 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79953 for ac_func in _modfl
79955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79956 echo "$as_me:$LINENO: checking for $ac_func" >&5
79957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79958 if eval "test \"\${$as_ac_var+set}\" = set"; then
79959 echo $ECHO_N "(cached) $ECHO_C" >&6
79960 else
79961 if test x$gcc_no_link = xyes; then
79962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79964 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79974 #define $ac_func innocuous_$ac_func
79976 /* System header to define __stub macros and hopefully few prototypes,
79977 which can conflict with char $ac_func (); below.
79978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79979 <limits.h> exists even on freestanding compilers. */
79981 #ifdef __STDC__
79982 # include <limits.h>
79983 #else
79984 # include <assert.h>
79985 #endif
79987 #undef $ac_func
79989 /* Override any gcc2 internal prototype to avoid an error. */
79990 #ifdef __cplusplus
79991 extern "C"
79993 #endif
79994 /* We use char because int might match the return type of a gcc2
79995 builtin and then its argument prototype would still apply. */
79996 char $ac_func ();
79997 /* The GNU C library defines this for functions which it implements
79998 to always fail with ENOSYS. Some functions are actually named
79999 something starting with __ and the normal name is an alias. */
80000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80001 choke me
80002 #else
80003 char (*f) () = $ac_func;
80004 #endif
80005 #ifdef __cplusplus
80007 #endif
80010 main ()
80012 return f != $ac_func;
80014 return 0;
80016 _ACEOF
80017 rm -f conftest.$ac_objext conftest$ac_exeext
80018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80019 (eval $ac_link) 2>conftest.er1
80020 ac_status=$?
80021 grep -v '^ *+' conftest.er1 >conftest.err
80022 rm -f conftest.er1
80023 cat conftest.err >&5
80024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80025 (exit $ac_status); } &&
80026 { ac_try='test -z "$ac_c_werror_flag"
80027 || test ! -s conftest.err'
80028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80029 (eval $ac_try) 2>&5
80030 ac_status=$?
80031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80032 (exit $ac_status); }; } &&
80033 { ac_try='test -s conftest$ac_exeext'
80034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80035 (eval $ac_try) 2>&5
80036 ac_status=$?
80037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80038 (exit $ac_status); }; }; then
80039 eval "$as_ac_var=yes"
80040 else
80041 echo "$as_me: failed program was:" >&5
80042 sed 's/^/| /' conftest.$ac_ext >&5
80044 eval "$as_ac_var=no"
80046 rm -f conftest.err conftest.$ac_objext \
80047 conftest$ac_exeext conftest.$ac_ext
80049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80051 if test `eval echo '${'$as_ac_var'}'` = yes; then
80052 cat >>confdefs.h <<_ACEOF
80053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80054 _ACEOF
80057 done
80067 echo "$as_me:$LINENO: checking for powl declaration" >&5
80068 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80069 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80070 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80071 echo $ECHO_N "(cached) $ECHO_C" >&6
80072 else
80076 ac_ext=cc
80077 ac_cpp='$CXXCPP $CPPFLAGS'
80078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80082 cat >conftest.$ac_ext <<_ACEOF
80083 /* confdefs.h. */
80084 _ACEOF
80085 cat confdefs.h >>conftest.$ac_ext
80086 cat >>conftest.$ac_ext <<_ACEOF
80087 /* end confdefs.h. */
80088 #include <math.h>
80090 main ()
80092 powl(0, 0);
80094 return 0;
80096 _ACEOF
80097 rm -f conftest.$ac_objext
80098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80099 (eval $ac_compile) 2>conftest.er1
80100 ac_status=$?
80101 grep -v '^ *+' conftest.er1 >conftest.err
80102 rm -f conftest.er1
80103 cat conftest.err >&5
80104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80105 (exit $ac_status); } &&
80106 { ac_try='test -z "$ac_cxx_werror_flag"
80107 || test ! -s conftest.err'
80108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80109 (eval $ac_try) 2>&5
80110 ac_status=$?
80111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80112 (exit $ac_status); }; } &&
80113 { ac_try='test -s conftest.$ac_objext'
80114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80115 (eval $ac_try) 2>&5
80116 ac_status=$?
80117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80118 (exit $ac_status); }; }; then
80119 glibcxx_cv_func_powl_use=yes
80120 else
80121 echo "$as_me: failed program was:" >&5
80122 sed 's/^/| /' conftest.$ac_ext >&5
80124 glibcxx_cv_func_powl_use=no
80126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80127 ac_ext=c
80128 ac_cpp='$CPP $CPPFLAGS'
80129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80138 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80140 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80142 for ac_func in powl
80144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80145 echo "$as_me:$LINENO: checking for $ac_func" >&5
80146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80147 if eval "test \"\${$as_ac_var+set}\" = set"; then
80148 echo $ECHO_N "(cached) $ECHO_C" >&6
80149 else
80150 if test x$gcc_no_link = xyes; then
80151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80153 { (exit 1); exit 1; }; }
80155 cat >conftest.$ac_ext <<_ACEOF
80156 /* confdefs.h. */
80157 _ACEOF
80158 cat confdefs.h >>conftest.$ac_ext
80159 cat >>conftest.$ac_ext <<_ACEOF
80160 /* end confdefs.h. */
80161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80163 #define $ac_func innocuous_$ac_func
80165 /* System header to define __stub macros and hopefully few prototypes,
80166 which can conflict with char $ac_func (); below.
80167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80168 <limits.h> exists even on freestanding compilers. */
80170 #ifdef __STDC__
80171 # include <limits.h>
80172 #else
80173 # include <assert.h>
80174 #endif
80176 #undef $ac_func
80178 /* Override any gcc2 internal prototype to avoid an error. */
80179 #ifdef __cplusplus
80180 extern "C"
80182 #endif
80183 /* We use char because int might match the return type of a gcc2
80184 builtin and then its argument prototype would still apply. */
80185 char $ac_func ();
80186 /* The GNU C library defines this for functions which it implements
80187 to always fail with ENOSYS. Some functions are actually named
80188 something starting with __ and the normal name is an alias. */
80189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80190 choke me
80191 #else
80192 char (*f) () = $ac_func;
80193 #endif
80194 #ifdef __cplusplus
80196 #endif
80199 main ()
80201 return f != $ac_func;
80203 return 0;
80205 _ACEOF
80206 rm -f conftest.$ac_objext conftest$ac_exeext
80207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80208 (eval $ac_link) 2>conftest.er1
80209 ac_status=$?
80210 grep -v '^ *+' conftest.er1 >conftest.err
80211 rm -f conftest.er1
80212 cat conftest.err >&5
80213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80214 (exit $ac_status); } &&
80215 { ac_try='test -z "$ac_c_werror_flag"
80216 || test ! -s conftest.err'
80217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80218 (eval $ac_try) 2>&5
80219 ac_status=$?
80220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80221 (exit $ac_status); }; } &&
80222 { ac_try='test -s conftest$ac_exeext'
80223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80224 (eval $ac_try) 2>&5
80225 ac_status=$?
80226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227 (exit $ac_status); }; }; then
80228 eval "$as_ac_var=yes"
80229 else
80230 echo "$as_me: failed program was:" >&5
80231 sed 's/^/| /' conftest.$ac_ext >&5
80233 eval "$as_ac_var=no"
80235 rm -f conftest.err conftest.$ac_objext \
80236 conftest$ac_exeext conftest.$ac_ext
80238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80240 if test `eval echo '${'$as_ac_var'}'` = yes; then
80241 cat >>confdefs.h <<_ACEOF
80242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80243 _ACEOF
80246 done
80248 else
80250 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80251 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80252 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80253 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80254 echo $ECHO_N "(cached) $ECHO_C" >&6
80255 else
80259 ac_ext=cc
80260 ac_cpp='$CXXCPP $CPPFLAGS'
80261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80265 cat >conftest.$ac_ext <<_ACEOF
80266 /* confdefs.h. */
80267 _ACEOF
80268 cat confdefs.h >>conftest.$ac_ext
80269 cat >>conftest.$ac_ext <<_ACEOF
80270 /* end confdefs.h. */
80271 #include <math.h>
80273 main ()
80275 _powl(0, 0);
80277 return 0;
80279 _ACEOF
80280 rm -f conftest.$ac_objext
80281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80282 (eval $ac_compile) 2>conftest.er1
80283 ac_status=$?
80284 grep -v '^ *+' conftest.er1 >conftest.err
80285 rm -f conftest.er1
80286 cat conftest.err >&5
80287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80288 (exit $ac_status); } &&
80289 { ac_try='test -z "$ac_cxx_werror_flag"
80290 || test ! -s conftest.err'
80291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80292 (eval $ac_try) 2>&5
80293 ac_status=$?
80294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80295 (exit $ac_status); }; } &&
80296 { ac_try='test -s conftest.$ac_objext'
80297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80298 (eval $ac_try) 2>&5
80299 ac_status=$?
80300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80301 (exit $ac_status); }; }; then
80302 glibcxx_cv_func__powl_use=yes
80303 else
80304 echo "$as_me: failed program was:" >&5
80305 sed 's/^/| /' conftest.$ac_ext >&5
80307 glibcxx_cv_func__powl_use=no
80309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80310 ac_ext=c
80311 ac_cpp='$CPP $CPPFLAGS'
80312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80321 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80323 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80325 for ac_func in _powl
80327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80328 echo "$as_me:$LINENO: checking for $ac_func" >&5
80329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80330 if eval "test \"\${$as_ac_var+set}\" = set"; then
80331 echo $ECHO_N "(cached) $ECHO_C" >&6
80332 else
80333 if test x$gcc_no_link = xyes; then
80334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80336 { (exit 1); exit 1; }; }
80338 cat >conftest.$ac_ext <<_ACEOF
80339 /* confdefs.h. */
80340 _ACEOF
80341 cat confdefs.h >>conftest.$ac_ext
80342 cat >>conftest.$ac_ext <<_ACEOF
80343 /* end confdefs.h. */
80344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80346 #define $ac_func innocuous_$ac_func
80348 /* System header to define __stub macros and hopefully few prototypes,
80349 which can conflict with char $ac_func (); below.
80350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80351 <limits.h> exists even on freestanding compilers. */
80353 #ifdef __STDC__
80354 # include <limits.h>
80355 #else
80356 # include <assert.h>
80357 #endif
80359 #undef $ac_func
80361 /* Override any gcc2 internal prototype to avoid an error. */
80362 #ifdef __cplusplus
80363 extern "C"
80365 #endif
80366 /* We use char because int might match the return type of a gcc2
80367 builtin and then its argument prototype would still apply. */
80368 char $ac_func ();
80369 /* The GNU C library defines this for functions which it implements
80370 to always fail with ENOSYS. Some functions are actually named
80371 something starting with __ and the normal name is an alias. */
80372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80373 choke me
80374 #else
80375 char (*f) () = $ac_func;
80376 #endif
80377 #ifdef __cplusplus
80379 #endif
80382 main ()
80384 return f != $ac_func;
80386 return 0;
80388 _ACEOF
80389 rm -f conftest.$ac_objext conftest$ac_exeext
80390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80391 (eval $ac_link) 2>conftest.er1
80392 ac_status=$?
80393 grep -v '^ *+' conftest.er1 >conftest.err
80394 rm -f conftest.er1
80395 cat conftest.err >&5
80396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80397 (exit $ac_status); } &&
80398 { ac_try='test -z "$ac_c_werror_flag"
80399 || test ! -s conftest.err'
80400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80401 (eval $ac_try) 2>&5
80402 ac_status=$?
80403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80404 (exit $ac_status); }; } &&
80405 { ac_try='test -s conftest$ac_exeext'
80406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80407 (eval $ac_try) 2>&5
80408 ac_status=$?
80409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410 (exit $ac_status); }; }; then
80411 eval "$as_ac_var=yes"
80412 else
80413 echo "$as_me: failed program was:" >&5
80414 sed 's/^/| /' conftest.$ac_ext >&5
80416 eval "$as_ac_var=no"
80418 rm -f conftest.err conftest.$ac_objext \
80419 conftest$ac_exeext conftest.$ac_ext
80421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80423 if test `eval echo '${'$as_ac_var'}'` = yes; then
80424 cat >>confdefs.h <<_ACEOF
80425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80426 _ACEOF
80429 done
80439 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80440 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80441 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80442 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80443 echo $ECHO_N "(cached) $ECHO_C" >&6
80444 else
80448 ac_ext=cc
80449 ac_cpp='$CXXCPP $CPPFLAGS'
80450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80454 cat >conftest.$ac_ext <<_ACEOF
80455 /* confdefs.h. */
80456 _ACEOF
80457 cat confdefs.h >>conftest.$ac_ext
80458 cat >>conftest.$ac_ext <<_ACEOF
80459 /* end confdefs.h. */
80460 #include <math.h>
80461 #ifdef HAVE_IEEEFP_H
80462 #include <ieeefp.h>
80463 #endif
80466 main ()
80468 sqrtl(0);
80470 return 0;
80472 _ACEOF
80473 rm -f conftest.$ac_objext
80474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80475 (eval $ac_compile) 2>conftest.er1
80476 ac_status=$?
80477 grep -v '^ *+' conftest.er1 >conftest.err
80478 rm -f conftest.er1
80479 cat conftest.err >&5
80480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80481 (exit $ac_status); } &&
80482 { ac_try='test -z "$ac_cxx_werror_flag"
80483 || test ! -s conftest.err'
80484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485 (eval $ac_try) 2>&5
80486 ac_status=$?
80487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488 (exit $ac_status); }; } &&
80489 { ac_try='test -s conftest.$ac_objext'
80490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491 (eval $ac_try) 2>&5
80492 ac_status=$?
80493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494 (exit $ac_status); }; }; then
80495 glibcxx_cv_func_sqrtl_use=yes
80496 else
80497 echo "$as_me: failed program was:" >&5
80498 sed 's/^/| /' conftest.$ac_ext >&5
80500 glibcxx_cv_func_sqrtl_use=no
80502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80503 ac_ext=c
80504 ac_cpp='$CPP $CPPFLAGS'
80505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80514 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80516 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80518 for ac_func in sqrtl
80520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80521 echo "$as_me:$LINENO: checking for $ac_func" >&5
80522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80523 if eval "test \"\${$as_ac_var+set}\" = set"; then
80524 echo $ECHO_N "(cached) $ECHO_C" >&6
80525 else
80526 if test x$gcc_no_link = xyes; then
80527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80529 { (exit 1); exit 1; }; }
80531 cat >conftest.$ac_ext <<_ACEOF
80532 /* confdefs.h. */
80533 _ACEOF
80534 cat confdefs.h >>conftest.$ac_ext
80535 cat >>conftest.$ac_ext <<_ACEOF
80536 /* end confdefs.h. */
80537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80539 #define $ac_func innocuous_$ac_func
80541 /* System header to define __stub macros and hopefully few prototypes,
80542 which can conflict with char $ac_func (); below.
80543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80544 <limits.h> exists even on freestanding compilers. */
80546 #ifdef __STDC__
80547 # include <limits.h>
80548 #else
80549 # include <assert.h>
80550 #endif
80552 #undef $ac_func
80554 /* Override any gcc2 internal prototype to avoid an error. */
80555 #ifdef __cplusplus
80556 extern "C"
80558 #endif
80559 /* We use char because int might match the return type of a gcc2
80560 builtin and then its argument prototype would still apply. */
80561 char $ac_func ();
80562 /* The GNU C library defines this for functions which it implements
80563 to always fail with ENOSYS. Some functions are actually named
80564 something starting with __ and the normal name is an alias. */
80565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80566 choke me
80567 #else
80568 char (*f) () = $ac_func;
80569 #endif
80570 #ifdef __cplusplus
80572 #endif
80575 main ()
80577 return f != $ac_func;
80579 return 0;
80581 _ACEOF
80582 rm -f conftest.$ac_objext conftest$ac_exeext
80583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80584 (eval $ac_link) 2>conftest.er1
80585 ac_status=$?
80586 grep -v '^ *+' conftest.er1 >conftest.err
80587 rm -f conftest.er1
80588 cat conftest.err >&5
80589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80590 (exit $ac_status); } &&
80591 { ac_try='test -z "$ac_c_werror_flag"
80592 || test ! -s conftest.err'
80593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80594 (eval $ac_try) 2>&5
80595 ac_status=$?
80596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80597 (exit $ac_status); }; } &&
80598 { ac_try='test -s conftest$ac_exeext'
80599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80600 (eval $ac_try) 2>&5
80601 ac_status=$?
80602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80603 (exit $ac_status); }; }; then
80604 eval "$as_ac_var=yes"
80605 else
80606 echo "$as_me: failed program was:" >&5
80607 sed 's/^/| /' conftest.$ac_ext >&5
80609 eval "$as_ac_var=no"
80611 rm -f conftest.err conftest.$ac_objext \
80612 conftest$ac_exeext conftest.$ac_ext
80614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80616 if test `eval echo '${'$as_ac_var'}'` = yes; then
80617 cat >>confdefs.h <<_ACEOF
80618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80619 _ACEOF
80622 done
80624 else
80626 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80627 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80628 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80629 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80630 echo $ECHO_N "(cached) $ECHO_C" >&6
80631 else
80635 ac_ext=cc
80636 ac_cpp='$CXXCPP $CPPFLAGS'
80637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80641 cat >conftest.$ac_ext <<_ACEOF
80642 /* confdefs.h. */
80643 _ACEOF
80644 cat confdefs.h >>conftest.$ac_ext
80645 cat >>conftest.$ac_ext <<_ACEOF
80646 /* end confdefs.h. */
80647 #include <math.h>
80648 #ifdef HAVE_IEEEFP_H
80649 #include <ieeefp.h>
80650 #endif
80653 main ()
80655 _sqrtl(0);
80657 return 0;
80659 _ACEOF
80660 rm -f conftest.$ac_objext
80661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80662 (eval $ac_compile) 2>conftest.er1
80663 ac_status=$?
80664 grep -v '^ *+' conftest.er1 >conftest.err
80665 rm -f conftest.er1
80666 cat conftest.err >&5
80667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80668 (exit $ac_status); } &&
80669 { ac_try='test -z "$ac_cxx_werror_flag"
80670 || test ! -s conftest.err'
80671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80672 (eval $ac_try) 2>&5
80673 ac_status=$?
80674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80675 (exit $ac_status); }; } &&
80676 { ac_try='test -s conftest.$ac_objext'
80677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80678 (eval $ac_try) 2>&5
80679 ac_status=$?
80680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80681 (exit $ac_status); }; }; then
80682 glibcxx_cv_func__sqrtl_use=yes
80683 else
80684 echo "$as_me: failed program was:" >&5
80685 sed 's/^/| /' conftest.$ac_ext >&5
80687 glibcxx_cv_func__sqrtl_use=no
80689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80690 ac_ext=c
80691 ac_cpp='$CPP $CPPFLAGS'
80692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80701 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80703 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80705 for ac_func in _sqrtl
80707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80708 echo "$as_me:$LINENO: checking for $ac_func" >&5
80709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80710 if eval "test \"\${$as_ac_var+set}\" = set"; then
80711 echo $ECHO_N "(cached) $ECHO_C" >&6
80712 else
80713 if test x$gcc_no_link = xyes; then
80714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80716 { (exit 1); exit 1; }; }
80718 cat >conftest.$ac_ext <<_ACEOF
80719 /* confdefs.h. */
80720 _ACEOF
80721 cat confdefs.h >>conftest.$ac_ext
80722 cat >>conftest.$ac_ext <<_ACEOF
80723 /* end confdefs.h. */
80724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80726 #define $ac_func innocuous_$ac_func
80728 /* System header to define __stub macros and hopefully few prototypes,
80729 which can conflict with char $ac_func (); below.
80730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80731 <limits.h> exists even on freestanding compilers. */
80733 #ifdef __STDC__
80734 # include <limits.h>
80735 #else
80736 # include <assert.h>
80737 #endif
80739 #undef $ac_func
80741 /* Override any gcc2 internal prototype to avoid an error. */
80742 #ifdef __cplusplus
80743 extern "C"
80745 #endif
80746 /* We use char because int might match the return type of a gcc2
80747 builtin and then its argument prototype would still apply. */
80748 char $ac_func ();
80749 /* The GNU C library defines this for functions which it implements
80750 to always fail with ENOSYS. Some functions are actually named
80751 something starting with __ and the normal name is an alias. */
80752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80753 choke me
80754 #else
80755 char (*f) () = $ac_func;
80756 #endif
80757 #ifdef __cplusplus
80759 #endif
80762 main ()
80764 return f != $ac_func;
80766 return 0;
80768 _ACEOF
80769 rm -f conftest.$ac_objext conftest$ac_exeext
80770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80771 (eval $ac_link) 2>conftest.er1
80772 ac_status=$?
80773 grep -v '^ *+' conftest.er1 >conftest.err
80774 rm -f conftest.er1
80775 cat conftest.err >&5
80776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80777 (exit $ac_status); } &&
80778 { ac_try='test -z "$ac_c_werror_flag"
80779 || test ! -s conftest.err'
80780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80781 (eval $ac_try) 2>&5
80782 ac_status=$?
80783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80784 (exit $ac_status); }; } &&
80785 { ac_try='test -s conftest$ac_exeext'
80786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80787 (eval $ac_try) 2>&5
80788 ac_status=$?
80789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80790 (exit $ac_status); }; }; then
80791 eval "$as_ac_var=yes"
80792 else
80793 echo "$as_me: failed program was:" >&5
80794 sed 's/^/| /' conftest.$ac_ext >&5
80796 eval "$as_ac_var=no"
80798 rm -f conftest.err conftest.$ac_objext \
80799 conftest$ac_exeext conftest.$ac_ext
80801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80803 if test `eval echo '${'$as_ac_var'}'` = yes; then
80804 cat >>confdefs.h <<_ACEOF
80805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80806 _ACEOF
80809 done
80819 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80820 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80821 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80822 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80823 echo $ECHO_N "(cached) $ECHO_C" >&6
80824 else
80828 ac_ext=cc
80829 ac_cpp='$CXXCPP $CPPFLAGS'
80830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80834 cat >conftest.$ac_ext <<_ACEOF
80835 /* confdefs.h. */
80836 _ACEOF
80837 cat confdefs.h >>conftest.$ac_ext
80838 cat >>conftest.$ac_ext <<_ACEOF
80839 /* end confdefs.h. */
80840 #include <math.h>
80842 main ()
80844 sincosl(0, 0, 0);
80846 return 0;
80848 _ACEOF
80849 rm -f conftest.$ac_objext
80850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80851 (eval $ac_compile) 2>conftest.er1
80852 ac_status=$?
80853 grep -v '^ *+' conftest.er1 >conftest.err
80854 rm -f conftest.er1
80855 cat conftest.err >&5
80856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80857 (exit $ac_status); } &&
80858 { ac_try='test -z "$ac_cxx_werror_flag"
80859 || test ! -s conftest.err'
80860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80861 (eval $ac_try) 2>&5
80862 ac_status=$?
80863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80864 (exit $ac_status); }; } &&
80865 { ac_try='test -s conftest.$ac_objext'
80866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80867 (eval $ac_try) 2>&5
80868 ac_status=$?
80869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870 (exit $ac_status); }; }; then
80871 glibcxx_cv_func_sincosl_use=yes
80872 else
80873 echo "$as_me: failed program was:" >&5
80874 sed 's/^/| /' conftest.$ac_ext >&5
80876 glibcxx_cv_func_sincosl_use=no
80878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80879 ac_ext=c
80880 ac_cpp='$CPP $CPPFLAGS'
80881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80890 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80892 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80894 for ac_func in sincosl
80896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80897 echo "$as_me:$LINENO: checking for $ac_func" >&5
80898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80899 if eval "test \"\${$as_ac_var+set}\" = set"; then
80900 echo $ECHO_N "(cached) $ECHO_C" >&6
80901 else
80902 if test x$gcc_no_link = xyes; then
80903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80905 { (exit 1); exit 1; }; }
80907 cat >conftest.$ac_ext <<_ACEOF
80908 /* confdefs.h. */
80909 _ACEOF
80910 cat confdefs.h >>conftest.$ac_ext
80911 cat >>conftest.$ac_ext <<_ACEOF
80912 /* end confdefs.h. */
80913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80915 #define $ac_func innocuous_$ac_func
80917 /* System header to define __stub macros and hopefully few prototypes,
80918 which can conflict with char $ac_func (); below.
80919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80920 <limits.h> exists even on freestanding compilers. */
80922 #ifdef __STDC__
80923 # include <limits.h>
80924 #else
80925 # include <assert.h>
80926 #endif
80928 #undef $ac_func
80930 /* Override any gcc2 internal prototype to avoid an error. */
80931 #ifdef __cplusplus
80932 extern "C"
80934 #endif
80935 /* We use char because int might match the return type of a gcc2
80936 builtin and then its argument prototype would still apply. */
80937 char $ac_func ();
80938 /* The GNU C library defines this for functions which it implements
80939 to always fail with ENOSYS. Some functions are actually named
80940 something starting with __ and the normal name is an alias. */
80941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80942 choke me
80943 #else
80944 char (*f) () = $ac_func;
80945 #endif
80946 #ifdef __cplusplus
80948 #endif
80951 main ()
80953 return f != $ac_func;
80955 return 0;
80957 _ACEOF
80958 rm -f conftest.$ac_objext conftest$ac_exeext
80959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80960 (eval $ac_link) 2>conftest.er1
80961 ac_status=$?
80962 grep -v '^ *+' conftest.er1 >conftest.err
80963 rm -f conftest.er1
80964 cat conftest.err >&5
80965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80966 (exit $ac_status); } &&
80967 { ac_try='test -z "$ac_c_werror_flag"
80968 || test ! -s conftest.err'
80969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80970 (eval $ac_try) 2>&5
80971 ac_status=$?
80972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80973 (exit $ac_status); }; } &&
80974 { ac_try='test -s conftest$ac_exeext'
80975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80976 (eval $ac_try) 2>&5
80977 ac_status=$?
80978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80979 (exit $ac_status); }; }; then
80980 eval "$as_ac_var=yes"
80981 else
80982 echo "$as_me: failed program was:" >&5
80983 sed 's/^/| /' conftest.$ac_ext >&5
80985 eval "$as_ac_var=no"
80987 rm -f conftest.err conftest.$ac_objext \
80988 conftest$ac_exeext conftest.$ac_ext
80990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80992 if test `eval echo '${'$as_ac_var'}'` = yes; then
80993 cat >>confdefs.h <<_ACEOF
80994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80995 _ACEOF
80998 done
81000 else
81002 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81003 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81004 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81005 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81006 echo $ECHO_N "(cached) $ECHO_C" >&6
81007 else
81011 ac_ext=cc
81012 ac_cpp='$CXXCPP $CPPFLAGS'
81013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81017 cat >conftest.$ac_ext <<_ACEOF
81018 /* confdefs.h. */
81019 _ACEOF
81020 cat confdefs.h >>conftest.$ac_ext
81021 cat >>conftest.$ac_ext <<_ACEOF
81022 /* end confdefs.h. */
81023 #include <math.h>
81025 main ()
81027 _sincosl(0, 0, 0);
81029 return 0;
81031 _ACEOF
81032 rm -f conftest.$ac_objext
81033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81034 (eval $ac_compile) 2>conftest.er1
81035 ac_status=$?
81036 grep -v '^ *+' conftest.er1 >conftest.err
81037 rm -f conftest.er1
81038 cat conftest.err >&5
81039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81040 (exit $ac_status); } &&
81041 { ac_try='test -z "$ac_cxx_werror_flag"
81042 || test ! -s conftest.err'
81043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81044 (eval $ac_try) 2>&5
81045 ac_status=$?
81046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81047 (exit $ac_status); }; } &&
81048 { ac_try='test -s conftest.$ac_objext'
81049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81050 (eval $ac_try) 2>&5
81051 ac_status=$?
81052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81053 (exit $ac_status); }; }; then
81054 glibcxx_cv_func__sincosl_use=yes
81055 else
81056 echo "$as_me: failed program was:" >&5
81057 sed 's/^/| /' conftest.$ac_ext >&5
81059 glibcxx_cv_func__sincosl_use=no
81061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81062 ac_ext=c
81063 ac_cpp='$CPP $CPPFLAGS'
81064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81073 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81075 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81077 for ac_func in _sincosl
81079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81080 echo "$as_me:$LINENO: checking for $ac_func" >&5
81081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81082 if eval "test \"\${$as_ac_var+set}\" = set"; then
81083 echo $ECHO_N "(cached) $ECHO_C" >&6
81084 else
81085 if test x$gcc_no_link = xyes; then
81086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81088 { (exit 1); exit 1; }; }
81090 cat >conftest.$ac_ext <<_ACEOF
81091 /* confdefs.h. */
81092 _ACEOF
81093 cat confdefs.h >>conftest.$ac_ext
81094 cat >>conftest.$ac_ext <<_ACEOF
81095 /* end confdefs.h. */
81096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81098 #define $ac_func innocuous_$ac_func
81100 /* System header to define __stub macros and hopefully few prototypes,
81101 which can conflict with char $ac_func (); below.
81102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81103 <limits.h> exists even on freestanding compilers. */
81105 #ifdef __STDC__
81106 # include <limits.h>
81107 #else
81108 # include <assert.h>
81109 #endif
81111 #undef $ac_func
81113 /* Override any gcc2 internal prototype to avoid an error. */
81114 #ifdef __cplusplus
81115 extern "C"
81117 #endif
81118 /* We use char because int might match the return type of a gcc2
81119 builtin and then its argument prototype would still apply. */
81120 char $ac_func ();
81121 /* The GNU C library defines this for functions which it implements
81122 to always fail with ENOSYS. Some functions are actually named
81123 something starting with __ and the normal name is an alias. */
81124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81125 choke me
81126 #else
81127 char (*f) () = $ac_func;
81128 #endif
81129 #ifdef __cplusplus
81131 #endif
81134 main ()
81136 return f != $ac_func;
81138 return 0;
81140 _ACEOF
81141 rm -f conftest.$ac_objext conftest$ac_exeext
81142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81143 (eval $ac_link) 2>conftest.er1
81144 ac_status=$?
81145 grep -v '^ *+' conftest.er1 >conftest.err
81146 rm -f conftest.er1
81147 cat conftest.err >&5
81148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81149 (exit $ac_status); } &&
81150 { ac_try='test -z "$ac_c_werror_flag"
81151 || test ! -s conftest.err'
81152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81153 (eval $ac_try) 2>&5
81154 ac_status=$?
81155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81156 (exit $ac_status); }; } &&
81157 { ac_try='test -s conftest$ac_exeext'
81158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81159 (eval $ac_try) 2>&5
81160 ac_status=$?
81161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81162 (exit $ac_status); }; }; then
81163 eval "$as_ac_var=yes"
81164 else
81165 echo "$as_me: failed program was:" >&5
81166 sed 's/^/| /' conftest.$ac_ext >&5
81168 eval "$as_ac_var=no"
81170 rm -f conftest.err conftest.$ac_objext \
81171 conftest$ac_exeext conftest.$ac_ext
81173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81175 if test `eval echo '${'$as_ac_var'}'` = yes; then
81176 cat >>confdefs.h <<_ACEOF
81177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81178 _ACEOF
81181 done
81191 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81192 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81193 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81194 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81195 echo $ECHO_N "(cached) $ECHO_C" >&6
81196 else
81200 ac_ext=cc
81201 ac_cpp='$CXXCPP $CPPFLAGS'
81202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81206 cat >conftest.$ac_ext <<_ACEOF
81207 /* confdefs.h. */
81208 _ACEOF
81209 cat confdefs.h >>conftest.$ac_ext
81210 cat >>conftest.$ac_ext <<_ACEOF
81211 /* end confdefs.h. */
81212 #include <math.h>
81213 #ifdef HAVE_IEEEFP_H
81214 #include <ieeefp.h>
81215 #endif
81218 main ()
81220 finitel(0);
81222 return 0;
81224 _ACEOF
81225 rm -f conftest.$ac_objext
81226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81227 (eval $ac_compile) 2>conftest.er1
81228 ac_status=$?
81229 grep -v '^ *+' conftest.er1 >conftest.err
81230 rm -f conftest.er1
81231 cat conftest.err >&5
81232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81233 (exit $ac_status); } &&
81234 { ac_try='test -z "$ac_cxx_werror_flag"
81235 || test ! -s conftest.err'
81236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81237 (eval $ac_try) 2>&5
81238 ac_status=$?
81239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81240 (exit $ac_status); }; } &&
81241 { ac_try='test -s conftest.$ac_objext'
81242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81243 (eval $ac_try) 2>&5
81244 ac_status=$?
81245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81246 (exit $ac_status); }; }; then
81247 glibcxx_cv_func_finitel_use=yes
81248 else
81249 echo "$as_me: failed program was:" >&5
81250 sed 's/^/| /' conftest.$ac_ext >&5
81252 glibcxx_cv_func_finitel_use=no
81254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81255 ac_ext=c
81256 ac_cpp='$CPP $CPPFLAGS'
81257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81266 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81268 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81270 for ac_func in finitel
81272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81273 echo "$as_me:$LINENO: checking for $ac_func" >&5
81274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81275 if eval "test \"\${$as_ac_var+set}\" = set"; then
81276 echo $ECHO_N "(cached) $ECHO_C" >&6
81277 else
81278 if test x$gcc_no_link = xyes; then
81279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81281 { (exit 1); exit 1; }; }
81283 cat >conftest.$ac_ext <<_ACEOF
81284 /* confdefs.h. */
81285 _ACEOF
81286 cat confdefs.h >>conftest.$ac_ext
81287 cat >>conftest.$ac_ext <<_ACEOF
81288 /* end confdefs.h. */
81289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81291 #define $ac_func innocuous_$ac_func
81293 /* System header to define __stub macros and hopefully few prototypes,
81294 which can conflict with char $ac_func (); below.
81295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81296 <limits.h> exists even on freestanding compilers. */
81298 #ifdef __STDC__
81299 # include <limits.h>
81300 #else
81301 # include <assert.h>
81302 #endif
81304 #undef $ac_func
81306 /* Override any gcc2 internal prototype to avoid an error. */
81307 #ifdef __cplusplus
81308 extern "C"
81310 #endif
81311 /* We use char because int might match the return type of a gcc2
81312 builtin and then its argument prototype would still apply. */
81313 char $ac_func ();
81314 /* The GNU C library defines this for functions which it implements
81315 to always fail with ENOSYS. Some functions are actually named
81316 something starting with __ and the normal name is an alias. */
81317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81318 choke me
81319 #else
81320 char (*f) () = $ac_func;
81321 #endif
81322 #ifdef __cplusplus
81324 #endif
81327 main ()
81329 return f != $ac_func;
81331 return 0;
81333 _ACEOF
81334 rm -f conftest.$ac_objext conftest$ac_exeext
81335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81336 (eval $ac_link) 2>conftest.er1
81337 ac_status=$?
81338 grep -v '^ *+' conftest.er1 >conftest.err
81339 rm -f conftest.er1
81340 cat conftest.err >&5
81341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81342 (exit $ac_status); } &&
81343 { ac_try='test -z "$ac_c_werror_flag"
81344 || test ! -s conftest.err'
81345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81346 (eval $ac_try) 2>&5
81347 ac_status=$?
81348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81349 (exit $ac_status); }; } &&
81350 { ac_try='test -s conftest$ac_exeext'
81351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81352 (eval $ac_try) 2>&5
81353 ac_status=$?
81354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81355 (exit $ac_status); }; }; then
81356 eval "$as_ac_var=yes"
81357 else
81358 echo "$as_me: failed program was:" >&5
81359 sed 's/^/| /' conftest.$ac_ext >&5
81361 eval "$as_ac_var=no"
81363 rm -f conftest.err conftest.$ac_objext \
81364 conftest$ac_exeext conftest.$ac_ext
81366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81368 if test `eval echo '${'$as_ac_var'}'` = yes; then
81369 cat >>confdefs.h <<_ACEOF
81370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81371 _ACEOF
81374 done
81376 else
81378 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81379 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81380 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81381 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81382 echo $ECHO_N "(cached) $ECHO_C" >&6
81383 else
81387 ac_ext=cc
81388 ac_cpp='$CXXCPP $CPPFLAGS'
81389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81393 cat >conftest.$ac_ext <<_ACEOF
81394 /* confdefs.h. */
81395 _ACEOF
81396 cat confdefs.h >>conftest.$ac_ext
81397 cat >>conftest.$ac_ext <<_ACEOF
81398 /* end confdefs.h. */
81399 #include <math.h>
81400 #ifdef HAVE_IEEEFP_H
81401 #include <ieeefp.h>
81402 #endif
81405 main ()
81407 _finitel(0);
81409 return 0;
81411 _ACEOF
81412 rm -f conftest.$ac_objext
81413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81414 (eval $ac_compile) 2>conftest.er1
81415 ac_status=$?
81416 grep -v '^ *+' conftest.er1 >conftest.err
81417 rm -f conftest.er1
81418 cat conftest.err >&5
81419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81420 (exit $ac_status); } &&
81421 { ac_try='test -z "$ac_cxx_werror_flag"
81422 || test ! -s conftest.err'
81423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81424 (eval $ac_try) 2>&5
81425 ac_status=$?
81426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81427 (exit $ac_status); }; } &&
81428 { ac_try='test -s conftest.$ac_objext'
81429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430 (eval $ac_try) 2>&5
81431 ac_status=$?
81432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433 (exit $ac_status); }; }; then
81434 glibcxx_cv_func__finitel_use=yes
81435 else
81436 echo "$as_me: failed program was:" >&5
81437 sed 's/^/| /' conftest.$ac_ext >&5
81439 glibcxx_cv_func__finitel_use=no
81441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81442 ac_ext=c
81443 ac_cpp='$CPP $CPPFLAGS'
81444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81453 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81455 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81457 for ac_func in _finitel
81459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81460 echo "$as_me:$LINENO: checking for $ac_func" >&5
81461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81462 if eval "test \"\${$as_ac_var+set}\" = set"; then
81463 echo $ECHO_N "(cached) $ECHO_C" >&6
81464 else
81465 if test x$gcc_no_link = xyes; then
81466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81468 { (exit 1); exit 1; }; }
81470 cat >conftest.$ac_ext <<_ACEOF
81471 /* confdefs.h. */
81472 _ACEOF
81473 cat confdefs.h >>conftest.$ac_ext
81474 cat >>conftest.$ac_ext <<_ACEOF
81475 /* end confdefs.h. */
81476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81478 #define $ac_func innocuous_$ac_func
81480 /* System header to define __stub macros and hopefully few prototypes,
81481 which can conflict with char $ac_func (); below.
81482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81483 <limits.h> exists even on freestanding compilers. */
81485 #ifdef __STDC__
81486 # include <limits.h>
81487 #else
81488 # include <assert.h>
81489 #endif
81491 #undef $ac_func
81493 /* Override any gcc2 internal prototype to avoid an error. */
81494 #ifdef __cplusplus
81495 extern "C"
81497 #endif
81498 /* We use char because int might match the return type of a gcc2
81499 builtin and then its argument prototype would still apply. */
81500 char $ac_func ();
81501 /* The GNU C library defines this for functions which it implements
81502 to always fail with ENOSYS. Some functions are actually named
81503 something starting with __ and the normal name is an alias. */
81504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81505 choke me
81506 #else
81507 char (*f) () = $ac_func;
81508 #endif
81509 #ifdef __cplusplus
81511 #endif
81514 main ()
81516 return f != $ac_func;
81518 return 0;
81520 _ACEOF
81521 rm -f conftest.$ac_objext conftest$ac_exeext
81522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81523 (eval $ac_link) 2>conftest.er1
81524 ac_status=$?
81525 grep -v '^ *+' conftest.er1 >conftest.err
81526 rm -f conftest.er1
81527 cat conftest.err >&5
81528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81529 (exit $ac_status); } &&
81530 { ac_try='test -z "$ac_c_werror_flag"
81531 || test ! -s conftest.err'
81532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81533 (eval $ac_try) 2>&5
81534 ac_status=$?
81535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81536 (exit $ac_status); }; } &&
81537 { ac_try='test -s conftest$ac_exeext'
81538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81539 (eval $ac_try) 2>&5
81540 ac_status=$?
81541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81542 (exit $ac_status); }; }; then
81543 eval "$as_ac_var=yes"
81544 else
81545 echo "$as_me: failed program was:" >&5
81546 sed 's/^/| /' conftest.$ac_ext >&5
81548 eval "$as_ac_var=no"
81550 rm -f conftest.err conftest.$ac_objext \
81551 conftest$ac_exeext conftest.$ac_ext
81553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81555 if test `eval echo '${'$as_ac_var'}'` = yes; then
81556 cat >>confdefs.h <<_ACEOF
81557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81558 _ACEOF
81561 done
81570 LIBS="$ac_save_LIBS"
81571 CXXFLAGS="$ac_save_CXXFLAGS"
81575 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81576 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81577 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81578 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81579 echo $ECHO_N "(cached) $ECHO_C" >&6
81580 else
81584 ac_ext=cc
81585 ac_cpp='$CXXCPP $CPPFLAGS'
81586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81590 cat >conftest.$ac_ext <<_ACEOF
81591 /* confdefs.h. */
81592 _ACEOF
81593 cat confdefs.h >>conftest.$ac_ext
81594 cat >>conftest.$ac_ext <<_ACEOF
81595 /* end confdefs.h. */
81596 #include <math.h>
81598 main ()
81600 __builtin_abs(0);
81602 return 0;
81604 _ACEOF
81605 rm -f conftest.$ac_objext
81606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81607 (eval $ac_compile) 2>conftest.er1
81608 ac_status=$?
81609 grep -v '^ *+' conftest.er1 >conftest.err
81610 rm -f conftest.er1
81611 cat conftest.err >&5
81612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81613 (exit $ac_status); } &&
81614 { ac_try='test -z "$ac_cxx_werror_flag"
81615 || test ! -s conftest.err'
81616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81617 (eval $ac_try) 2>&5
81618 ac_status=$?
81619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81620 (exit $ac_status); }; } &&
81621 { ac_try='test -s conftest.$ac_objext'
81622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81623 (eval $ac_try) 2>&5
81624 ac_status=$?
81625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81626 (exit $ac_status); }; }; then
81627 glibcxx_cv_func___builtin_abs_use=yes
81628 else
81629 echo "$as_me: failed program was:" >&5
81630 sed 's/^/| /' conftest.$ac_ext >&5
81632 glibcxx_cv_func___builtin_abs_use=no
81634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81635 ac_ext=c
81636 ac_cpp='$CPP $CPPFLAGS'
81637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81645 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81646 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81647 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81648 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81649 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81650 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81651 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81652 echo $ECHO_N "(cached) $ECHO_C" >&6
81653 else
81655 if test x$gcc_no_link = xyes; then
81656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81658 { (exit 1); exit 1; }; }
81660 cat >conftest.$ac_ext <<_ACEOF
81661 /* confdefs.h. */
81662 _ACEOF
81663 cat confdefs.h >>conftest.$ac_ext
81664 cat >>conftest.$ac_ext <<_ACEOF
81665 /* end confdefs.h. */
81666 #include <math.h>
81668 main ()
81670 __builtin_abs(0);
81672 return 0;
81674 _ACEOF
81675 rm -f conftest.$ac_objext conftest$ac_exeext
81676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81677 (eval $ac_link) 2>conftest.er1
81678 ac_status=$?
81679 grep -v '^ *+' conftest.er1 >conftest.err
81680 rm -f conftest.er1
81681 cat conftest.err >&5
81682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81683 (exit $ac_status); } &&
81684 { ac_try='test -z "$ac_c_werror_flag"
81685 || test ! -s conftest.err'
81686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81687 (eval $ac_try) 2>&5
81688 ac_status=$?
81689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81690 (exit $ac_status); }; } &&
81691 { ac_try='test -s conftest$ac_exeext'
81692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693 (eval $ac_try) 2>&5
81694 ac_status=$?
81695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696 (exit $ac_status); }; }; then
81697 glibcxx_cv_func___builtin_abs_link=yes
81698 else
81699 echo "$as_me: failed program was:" >&5
81700 sed 's/^/| /' conftest.$ac_ext >&5
81702 glibcxx_cv_func___builtin_abs_link=no
81704 rm -f conftest.err conftest.$ac_objext \
81705 conftest$ac_exeext conftest.$ac_ext
81710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81711 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81713 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81715 cat >>confdefs.h <<\_ACEOF
81716 #define HAVE___BUILTIN_ABS 1
81717 _ACEOF
81724 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81725 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81726 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81727 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81728 echo $ECHO_N "(cached) $ECHO_C" >&6
81729 else
81733 ac_ext=cc
81734 ac_cpp='$CXXCPP $CPPFLAGS'
81735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81739 cat >conftest.$ac_ext <<_ACEOF
81740 /* confdefs.h. */
81741 _ACEOF
81742 cat confdefs.h >>conftest.$ac_ext
81743 cat >>conftest.$ac_ext <<_ACEOF
81744 /* end confdefs.h. */
81745 #include <math.h>
81747 main ()
81749 __builtin_fabsf(0);
81751 return 0;
81753 _ACEOF
81754 rm -f conftest.$ac_objext
81755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81756 (eval $ac_compile) 2>conftest.er1
81757 ac_status=$?
81758 grep -v '^ *+' conftest.er1 >conftest.err
81759 rm -f conftest.er1
81760 cat conftest.err >&5
81761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81762 (exit $ac_status); } &&
81763 { ac_try='test -z "$ac_cxx_werror_flag"
81764 || test ! -s conftest.err'
81765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81766 (eval $ac_try) 2>&5
81767 ac_status=$?
81768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81769 (exit $ac_status); }; } &&
81770 { ac_try='test -s conftest.$ac_objext'
81771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81772 (eval $ac_try) 2>&5
81773 ac_status=$?
81774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81775 (exit $ac_status); }; }; then
81776 glibcxx_cv_func___builtin_fabsf_use=yes
81777 else
81778 echo "$as_me: failed program was:" >&5
81779 sed 's/^/| /' conftest.$ac_ext >&5
81781 glibcxx_cv_func___builtin_fabsf_use=no
81783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81784 ac_ext=c
81785 ac_cpp='$CPP $CPPFLAGS'
81786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81794 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81795 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81796 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81797 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81798 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81799 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81800 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81801 echo $ECHO_N "(cached) $ECHO_C" >&6
81802 else
81804 if test x$gcc_no_link = xyes; then
81805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81807 { (exit 1); exit 1; }; }
81809 cat >conftest.$ac_ext <<_ACEOF
81810 /* confdefs.h. */
81811 _ACEOF
81812 cat confdefs.h >>conftest.$ac_ext
81813 cat >>conftest.$ac_ext <<_ACEOF
81814 /* end confdefs.h. */
81815 #include <math.h>
81817 main ()
81819 __builtin_fabsf(0);
81821 return 0;
81823 _ACEOF
81824 rm -f conftest.$ac_objext conftest$ac_exeext
81825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81826 (eval $ac_link) 2>conftest.er1
81827 ac_status=$?
81828 grep -v '^ *+' conftest.er1 >conftest.err
81829 rm -f conftest.er1
81830 cat conftest.err >&5
81831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81832 (exit $ac_status); } &&
81833 { ac_try='test -z "$ac_c_werror_flag"
81834 || test ! -s conftest.err'
81835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81836 (eval $ac_try) 2>&5
81837 ac_status=$?
81838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839 (exit $ac_status); }; } &&
81840 { ac_try='test -s conftest$ac_exeext'
81841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81842 (eval $ac_try) 2>&5
81843 ac_status=$?
81844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845 (exit $ac_status); }; }; then
81846 glibcxx_cv_func___builtin_fabsf_link=yes
81847 else
81848 echo "$as_me: failed program was:" >&5
81849 sed 's/^/| /' conftest.$ac_ext >&5
81851 glibcxx_cv_func___builtin_fabsf_link=no
81853 rm -f conftest.err conftest.$ac_objext \
81854 conftest$ac_exeext conftest.$ac_ext
81859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81860 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81862 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81864 cat >>confdefs.h <<\_ACEOF
81865 #define HAVE___BUILTIN_FABSF 1
81866 _ACEOF
81873 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81874 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81875 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81876 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81877 echo $ECHO_N "(cached) $ECHO_C" >&6
81878 else
81882 ac_ext=cc
81883 ac_cpp='$CXXCPP $CPPFLAGS'
81884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81888 cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h. */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h. */
81894 #include <math.h>
81896 main ()
81898 __builtin_fabs(0);
81900 return 0;
81902 _ACEOF
81903 rm -f conftest.$ac_objext
81904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81905 (eval $ac_compile) 2>conftest.er1
81906 ac_status=$?
81907 grep -v '^ *+' conftest.er1 >conftest.err
81908 rm -f conftest.er1
81909 cat conftest.err >&5
81910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81911 (exit $ac_status); } &&
81912 { ac_try='test -z "$ac_cxx_werror_flag"
81913 || test ! -s conftest.err'
81914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915 (eval $ac_try) 2>&5
81916 ac_status=$?
81917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918 (exit $ac_status); }; } &&
81919 { ac_try='test -s conftest.$ac_objext'
81920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81921 (eval $ac_try) 2>&5
81922 ac_status=$?
81923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81924 (exit $ac_status); }; }; then
81925 glibcxx_cv_func___builtin_fabs_use=yes
81926 else
81927 echo "$as_me: failed program was:" >&5
81928 sed 's/^/| /' conftest.$ac_ext >&5
81930 glibcxx_cv_func___builtin_fabs_use=no
81932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81933 ac_ext=c
81934 ac_cpp='$CPP $CPPFLAGS'
81935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81943 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81944 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81945 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81946 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81947 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81948 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81949 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81950 echo $ECHO_N "(cached) $ECHO_C" >&6
81951 else
81953 if test x$gcc_no_link = xyes; then
81954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81956 { (exit 1); exit 1; }; }
81958 cat >conftest.$ac_ext <<_ACEOF
81959 /* confdefs.h. */
81960 _ACEOF
81961 cat confdefs.h >>conftest.$ac_ext
81962 cat >>conftest.$ac_ext <<_ACEOF
81963 /* end confdefs.h. */
81964 #include <math.h>
81966 main ()
81968 __builtin_fabs(0);
81970 return 0;
81972 _ACEOF
81973 rm -f conftest.$ac_objext conftest$ac_exeext
81974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81975 (eval $ac_link) 2>conftest.er1
81976 ac_status=$?
81977 grep -v '^ *+' conftest.er1 >conftest.err
81978 rm -f conftest.er1
81979 cat conftest.err >&5
81980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81981 (exit $ac_status); } &&
81982 { ac_try='test -z "$ac_c_werror_flag"
81983 || test ! -s conftest.err'
81984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81985 (eval $ac_try) 2>&5
81986 ac_status=$?
81987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81988 (exit $ac_status); }; } &&
81989 { ac_try='test -s conftest$ac_exeext'
81990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81991 (eval $ac_try) 2>&5
81992 ac_status=$?
81993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81994 (exit $ac_status); }; }; then
81995 glibcxx_cv_func___builtin_fabs_link=yes
81996 else
81997 echo "$as_me: failed program was:" >&5
81998 sed 's/^/| /' conftest.$ac_ext >&5
82000 glibcxx_cv_func___builtin_fabs_link=no
82002 rm -f conftest.err conftest.$ac_objext \
82003 conftest$ac_exeext conftest.$ac_ext
82008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82009 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82011 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82013 cat >>confdefs.h <<\_ACEOF
82014 #define HAVE___BUILTIN_FABS 1
82015 _ACEOF
82022 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82023 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82024 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82025 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82026 echo $ECHO_N "(cached) $ECHO_C" >&6
82027 else
82031 ac_ext=cc
82032 ac_cpp='$CXXCPP $CPPFLAGS'
82033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82037 cat >conftest.$ac_ext <<_ACEOF
82038 /* confdefs.h. */
82039 _ACEOF
82040 cat confdefs.h >>conftest.$ac_ext
82041 cat >>conftest.$ac_ext <<_ACEOF
82042 /* end confdefs.h. */
82043 #include <math.h>
82045 main ()
82047 __builtin_fabsl(0);
82049 return 0;
82051 _ACEOF
82052 rm -f conftest.$ac_objext
82053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82054 (eval $ac_compile) 2>conftest.er1
82055 ac_status=$?
82056 grep -v '^ *+' conftest.er1 >conftest.err
82057 rm -f conftest.er1
82058 cat conftest.err >&5
82059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82060 (exit $ac_status); } &&
82061 { ac_try='test -z "$ac_cxx_werror_flag"
82062 || test ! -s conftest.err'
82063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82064 (eval $ac_try) 2>&5
82065 ac_status=$?
82066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82067 (exit $ac_status); }; } &&
82068 { ac_try='test -s conftest.$ac_objext'
82069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82070 (eval $ac_try) 2>&5
82071 ac_status=$?
82072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073 (exit $ac_status); }; }; then
82074 glibcxx_cv_func___builtin_fabsl_use=yes
82075 else
82076 echo "$as_me: failed program was:" >&5
82077 sed 's/^/| /' conftest.$ac_ext >&5
82079 glibcxx_cv_func___builtin_fabsl_use=no
82081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82082 ac_ext=c
82083 ac_cpp='$CPP $CPPFLAGS'
82084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82092 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82093 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82094 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82095 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82096 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82097 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82098 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82099 echo $ECHO_N "(cached) $ECHO_C" >&6
82100 else
82102 if test x$gcc_no_link = xyes; then
82103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82105 { (exit 1); exit 1; }; }
82107 cat >conftest.$ac_ext <<_ACEOF
82108 /* confdefs.h. */
82109 _ACEOF
82110 cat confdefs.h >>conftest.$ac_ext
82111 cat >>conftest.$ac_ext <<_ACEOF
82112 /* end confdefs.h. */
82113 #include <math.h>
82115 main ()
82117 __builtin_fabsl(0);
82119 return 0;
82121 _ACEOF
82122 rm -f conftest.$ac_objext conftest$ac_exeext
82123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82124 (eval $ac_link) 2>conftest.er1
82125 ac_status=$?
82126 grep -v '^ *+' conftest.er1 >conftest.err
82127 rm -f conftest.er1
82128 cat conftest.err >&5
82129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82130 (exit $ac_status); } &&
82131 { ac_try='test -z "$ac_c_werror_flag"
82132 || test ! -s conftest.err'
82133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82134 (eval $ac_try) 2>&5
82135 ac_status=$?
82136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82137 (exit $ac_status); }; } &&
82138 { ac_try='test -s conftest$ac_exeext'
82139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82140 (eval $ac_try) 2>&5
82141 ac_status=$?
82142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82143 (exit $ac_status); }; }; then
82144 glibcxx_cv_func___builtin_fabsl_link=yes
82145 else
82146 echo "$as_me: failed program was:" >&5
82147 sed 's/^/| /' conftest.$ac_ext >&5
82149 glibcxx_cv_func___builtin_fabsl_link=no
82151 rm -f conftest.err conftest.$ac_objext \
82152 conftest$ac_exeext conftest.$ac_ext
82157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82158 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82160 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82162 cat >>confdefs.h <<\_ACEOF
82163 #define HAVE___BUILTIN_FABSL 1
82164 _ACEOF
82171 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82172 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82173 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82174 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82175 echo $ECHO_N "(cached) $ECHO_C" >&6
82176 else
82180 ac_ext=cc
82181 ac_cpp='$CXXCPP $CPPFLAGS'
82182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82186 cat >conftest.$ac_ext <<_ACEOF
82187 /* confdefs.h. */
82188 _ACEOF
82189 cat confdefs.h >>conftest.$ac_ext
82190 cat >>conftest.$ac_ext <<_ACEOF
82191 /* end confdefs.h. */
82192 #include <math.h>
82194 main ()
82196 __builtin_labs(0);
82198 return 0;
82200 _ACEOF
82201 rm -f conftest.$ac_objext
82202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82203 (eval $ac_compile) 2>conftest.er1
82204 ac_status=$?
82205 grep -v '^ *+' conftest.er1 >conftest.err
82206 rm -f conftest.er1
82207 cat conftest.err >&5
82208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82209 (exit $ac_status); } &&
82210 { ac_try='test -z "$ac_cxx_werror_flag"
82211 || test ! -s conftest.err'
82212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82213 (eval $ac_try) 2>&5
82214 ac_status=$?
82215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82216 (exit $ac_status); }; } &&
82217 { ac_try='test -s conftest.$ac_objext'
82218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82219 (eval $ac_try) 2>&5
82220 ac_status=$?
82221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82222 (exit $ac_status); }; }; then
82223 glibcxx_cv_func___builtin_labs_use=yes
82224 else
82225 echo "$as_me: failed program was:" >&5
82226 sed 's/^/| /' conftest.$ac_ext >&5
82228 glibcxx_cv_func___builtin_labs_use=no
82230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82231 ac_ext=c
82232 ac_cpp='$CPP $CPPFLAGS'
82233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82242 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82243 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82244 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82245 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82246 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82247 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82248 echo $ECHO_N "(cached) $ECHO_C" >&6
82249 else
82251 if test x$gcc_no_link = xyes; then
82252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82254 { (exit 1); exit 1; }; }
82256 cat >conftest.$ac_ext <<_ACEOF
82257 /* confdefs.h. */
82258 _ACEOF
82259 cat confdefs.h >>conftest.$ac_ext
82260 cat >>conftest.$ac_ext <<_ACEOF
82261 /* end confdefs.h. */
82262 #include <math.h>
82264 main ()
82266 __builtin_labs(0);
82268 return 0;
82270 _ACEOF
82271 rm -f conftest.$ac_objext conftest$ac_exeext
82272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82273 (eval $ac_link) 2>conftest.er1
82274 ac_status=$?
82275 grep -v '^ *+' conftest.er1 >conftest.err
82276 rm -f conftest.er1
82277 cat conftest.err >&5
82278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82279 (exit $ac_status); } &&
82280 { ac_try='test -z "$ac_c_werror_flag"
82281 || test ! -s conftest.err'
82282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82283 (eval $ac_try) 2>&5
82284 ac_status=$?
82285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82286 (exit $ac_status); }; } &&
82287 { ac_try='test -s conftest$ac_exeext'
82288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82289 (eval $ac_try) 2>&5
82290 ac_status=$?
82291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82292 (exit $ac_status); }; }; then
82293 glibcxx_cv_func___builtin_labs_link=yes
82294 else
82295 echo "$as_me: failed program was:" >&5
82296 sed 's/^/| /' conftest.$ac_ext >&5
82298 glibcxx_cv_func___builtin_labs_link=no
82300 rm -f conftest.err conftest.$ac_objext \
82301 conftest$ac_exeext conftest.$ac_ext
82306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82307 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82309 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82311 cat >>confdefs.h <<\_ACEOF
82312 #define HAVE___BUILTIN_LABS 1
82313 _ACEOF
82321 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82322 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82323 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82324 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82325 echo $ECHO_N "(cached) $ECHO_C" >&6
82326 else
82330 ac_ext=cc
82331 ac_cpp='$CXXCPP $CPPFLAGS'
82332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82336 cat >conftest.$ac_ext <<_ACEOF
82337 /* confdefs.h. */
82338 _ACEOF
82339 cat confdefs.h >>conftest.$ac_ext
82340 cat >>conftest.$ac_ext <<_ACEOF
82341 /* end confdefs.h. */
82342 #include <math.h>
82344 main ()
82346 __builtin_sqrtf(0);
82348 return 0;
82350 _ACEOF
82351 rm -f conftest.$ac_objext
82352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82353 (eval $ac_compile) 2>conftest.er1
82354 ac_status=$?
82355 grep -v '^ *+' conftest.er1 >conftest.err
82356 rm -f conftest.er1
82357 cat conftest.err >&5
82358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82359 (exit $ac_status); } &&
82360 { ac_try='test -z "$ac_cxx_werror_flag"
82361 || test ! -s conftest.err'
82362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82363 (eval $ac_try) 2>&5
82364 ac_status=$?
82365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82366 (exit $ac_status); }; } &&
82367 { ac_try='test -s conftest.$ac_objext'
82368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82369 (eval $ac_try) 2>&5
82370 ac_status=$?
82371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82372 (exit $ac_status); }; }; then
82373 glibcxx_cv_func___builtin_sqrtf_use=yes
82374 else
82375 echo "$as_me: failed program was:" >&5
82376 sed 's/^/| /' conftest.$ac_ext >&5
82378 glibcxx_cv_func___builtin_sqrtf_use=no
82380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82381 ac_ext=c
82382 ac_cpp='$CPP $CPPFLAGS'
82383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82393 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82394 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82395 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82396 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82397 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82398 echo $ECHO_N "(cached) $ECHO_C" >&6
82399 else
82401 if test x$gcc_no_link = xyes; then
82402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82404 { (exit 1); exit 1; }; }
82406 cat >conftest.$ac_ext <<_ACEOF
82407 /* confdefs.h. */
82408 _ACEOF
82409 cat confdefs.h >>conftest.$ac_ext
82410 cat >>conftest.$ac_ext <<_ACEOF
82411 /* end confdefs.h. */
82412 #include <math.h>
82414 main ()
82416 __builtin_sqrtf(0);
82418 return 0;
82420 _ACEOF
82421 rm -f conftest.$ac_objext conftest$ac_exeext
82422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82423 (eval $ac_link) 2>conftest.er1
82424 ac_status=$?
82425 grep -v '^ *+' conftest.er1 >conftest.err
82426 rm -f conftest.er1
82427 cat conftest.err >&5
82428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82429 (exit $ac_status); } &&
82430 { ac_try='test -z "$ac_c_werror_flag"
82431 || test ! -s conftest.err'
82432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82433 (eval $ac_try) 2>&5
82434 ac_status=$?
82435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436 (exit $ac_status); }; } &&
82437 { ac_try='test -s conftest$ac_exeext'
82438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82439 (eval $ac_try) 2>&5
82440 ac_status=$?
82441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82442 (exit $ac_status); }; }; then
82443 glibcxx_cv_func___builtin_sqrtf_link=yes
82444 else
82445 echo "$as_me: failed program was:" >&5
82446 sed 's/^/| /' conftest.$ac_ext >&5
82448 glibcxx_cv_func___builtin_sqrtf_link=no
82450 rm -f conftest.err conftest.$ac_objext \
82451 conftest$ac_exeext conftest.$ac_ext
82456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82459 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82461 cat >>confdefs.h <<\_ACEOF
82462 #define HAVE___BUILTIN_SQRTF 1
82463 _ACEOF
82470 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82471 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82472 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82473 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82474 echo $ECHO_N "(cached) $ECHO_C" >&6
82475 else
82479 ac_ext=cc
82480 ac_cpp='$CXXCPP $CPPFLAGS'
82481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82485 cat >conftest.$ac_ext <<_ACEOF
82486 /* confdefs.h. */
82487 _ACEOF
82488 cat confdefs.h >>conftest.$ac_ext
82489 cat >>conftest.$ac_ext <<_ACEOF
82490 /* end confdefs.h. */
82491 #include <math.h>
82493 main ()
82495 __builtin_sqrt(0);
82497 return 0;
82499 _ACEOF
82500 rm -f conftest.$ac_objext
82501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82502 (eval $ac_compile) 2>conftest.er1
82503 ac_status=$?
82504 grep -v '^ *+' conftest.er1 >conftest.err
82505 rm -f conftest.er1
82506 cat conftest.err >&5
82507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82508 (exit $ac_status); } &&
82509 { ac_try='test -z "$ac_cxx_werror_flag"
82510 || test ! -s conftest.err'
82511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82512 (eval $ac_try) 2>&5
82513 ac_status=$?
82514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515 (exit $ac_status); }; } &&
82516 { ac_try='test -s conftest.$ac_objext'
82517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82518 (eval $ac_try) 2>&5
82519 ac_status=$?
82520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82521 (exit $ac_status); }; }; then
82522 glibcxx_cv_func___builtin_sqrt_use=yes
82523 else
82524 echo "$as_me: failed program was:" >&5
82525 sed 's/^/| /' conftest.$ac_ext >&5
82527 glibcxx_cv_func___builtin_sqrt_use=no
82529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82530 ac_ext=c
82531 ac_cpp='$CPP $CPPFLAGS'
82532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82540 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82541 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82542 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82543 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82544 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82545 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82546 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82547 echo $ECHO_N "(cached) $ECHO_C" >&6
82548 else
82550 if test x$gcc_no_link = xyes; then
82551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82553 { (exit 1); exit 1; }; }
82555 cat >conftest.$ac_ext <<_ACEOF
82556 /* confdefs.h. */
82557 _ACEOF
82558 cat confdefs.h >>conftest.$ac_ext
82559 cat >>conftest.$ac_ext <<_ACEOF
82560 /* end confdefs.h. */
82561 #include <math.h>
82563 main ()
82565 __builtin_sqrt(0);
82567 return 0;
82569 _ACEOF
82570 rm -f conftest.$ac_objext conftest$ac_exeext
82571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82572 (eval $ac_link) 2>conftest.er1
82573 ac_status=$?
82574 grep -v '^ *+' conftest.er1 >conftest.err
82575 rm -f conftest.er1
82576 cat conftest.err >&5
82577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82578 (exit $ac_status); } &&
82579 { ac_try='test -z "$ac_c_werror_flag"
82580 || test ! -s conftest.err'
82581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82582 (eval $ac_try) 2>&5
82583 ac_status=$?
82584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82585 (exit $ac_status); }; } &&
82586 { ac_try='test -s conftest$ac_exeext'
82587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82588 (eval $ac_try) 2>&5
82589 ac_status=$?
82590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591 (exit $ac_status); }; }; then
82592 glibcxx_cv_func___builtin_sqrt_link=yes
82593 else
82594 echo "$as_me: failed program was:" >&5
82595 sed 's/^/| /' conftest.$ac_ext >&5
82597 glibcxx_cv_func___builtin_sqrt_link=no
82599 rm -f conftest.err conftest.$ac_objext \
82600 conftest$ac_exeext conftest.$ac_ext
82605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82608 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82610 cat >>confdefs.h <<\_ACEOF
82611 #define HAVE___BUILTIN_SQRT 1
82612 _ACEOF
82619 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82620 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82621 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82622 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82623 echo $ECHO_N "(cached) $ECHO_C" >&6
82624 else
82628 ac_ext=cc
82629 ac_cpp='$CXXCPP $CPPFLAGS'
82630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82634 cat >conftest.$ac_ext <<_ACEOF
82635 /* confdefs.h. */
82636 _ACEOF
82637 cat confdefs.h >>conftest.$ac_ext
82638 cat >>conftest.$ac_ext <<_ACEOF
82639 /* end confdefs.h. */
82640 #include <math.h>
82642 main ()
82644 __builtin_sqrtl(0);
82646 return 0;
82648 _ACEOF
82649 rm -f conftest.$ac_objext
82650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82651 (eval $ac_compile) 2>conftest.er1
82652 ac_status=$?
82653 grep -v '^ *+' conftest.er1 >conftest.err
82654 rm -f conftest.er1
82655 cat conftest.err >&5
82656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82657 (exit $ac_status); } &&
82658 { ac_try='test -z "$ac_cxx_werror_flag"
82659 || test ! -s conftest.err'
82660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82661 (eval $ac_try) 2>&5
82662 ac_status=$?
82663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82664 (exit $ac_status); }; } &&
82665 { ac_try='test -s conftest.$ac_objext'
82666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82667 (eval $ac_try) 2>&5
82668 ac_status=$?
82669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82670 (exit $ac_status); }; }; then
82671 glibcxx_cv_func___builtin_sqrtl_use=yes
82672 else
82673 echo "$as_me: failed program was:" >&5
82674 sed 's/^/| /' conftest.$ac_ext >&5
82676 glibcxx_cv_func___builtin_sqrtl_use=no
82678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82679 ac_ext=c
82680 ac_cpp='$CPP $CPPFLAGS'
82681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82690 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82691 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82692 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82693 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82694 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82695 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82696 echo $ECHO_N "(cached) $ECHO_C" >&6
82697 else
82699 if test x$gcc_no_link = xyes; then
82700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82702 { (exit 1); exit 1; }; }
82704 cat >conftest.$ac_ext <<_ACEOF
82705 /* confdefs.h. */
82706 _ACEOF
82707 cat confdefs.h >>conftest.$ac_ext
82708 cat >>conftest.$ac_ext <<_ACEOF
82709 /* end confdefs.h. */
82710 #include <math.h>
82712 main ()
82714 __builtin_sqrtl(0);
82716 return 0;
82718 _ACEOF
82719 rm -f conftest.$ac_objext conftest$ac_exeext
82720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82721 (eval $ac_link) 2>conftest.er1
82722 ac_status=$?
82723 grep -v '^ *+' conftest.er1 >conftest.err
82724 rm -f conftest.er1
82725 cat conftest.err >&5
82726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727 (exit $ac_status); } &&
82728 { ac_try='test -z "$ac_c_werror_flag"
82729 || test ! -s conftest.err'
82730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82731 (eval $ac_try) 2>&5
82732 ac_status=$?
82733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734 (exit $ac_status); }; } &&
82735 { ac_try='test -s conftest$ac_exeext'
82736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82737 (eval $ac_try) 2>&5
82738 ac_status=$?
82739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740 (exit $ac_status); }; }; then
82741 glibcxx_cv_func___builtin_sqrtl_link=yes
82742 else
82743 echo "$as_me: failed program was:" >&5
82744 sed 's/^/| /' conftest.$ac_ext >&5
82746 glibcxx_cv_func___builtin_sqrtl_link=no
82748 rm -f conftest.err conftest.$ac_objext \
82749 conftest$ac_exeext conftest.$ac_ext
82754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82755 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82757 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82759 cat >>confdefs.h <<\_ACEOF
82760 #define HAVE___BUILTIN_SQRTL 1
82761 _ACEOF
82769 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82770 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82771 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82772 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82773 echo $ECHO_N "(cached) $ECHO_C" >&6
82774 else
82778 ac_ext=cc
82779 ac_cpp='$CXXCPP $CPPFLAGS'
82780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82784 cat >conftest.$ac_ext <<_ACEOF
82785 /* confdefs.h. */
82786 _ACEOF
82787 cat confdefs.h >>conftest.$ac_ext
82788 cat >>conftest.$ac_ext <<_ACEOF
82789 /* end confdefs.h. */
82790 #include <math.h>
82792 main ()
82794 __builtin_sinf(0);
82796 return 0;
82798 _ACEOF
82799 rm -f conftest.$ac_objext
82800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82801 (eval $ac_compile) 2>conftest.er1
82802 ac_status=$?
82803 grep -v '^ *+' conftest.er1 >conftest.err
82804 rm -f conftest.er1
82805 cat conftest.err >&5
82806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82807 (exit $ac_status); } &&
82808 { ac_try='test -z "$ac_cxx_werror_flag"
82809 || test ! -s conftest.err'
82810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82811 (eval $ac_try) 2>&5
82812 ac_status=$?
82813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82814 (exit $ac_status); }; } &&
82815 { ac_try='test -s conftest.$ac_objext'
82816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82817 (eval $ac_try) 2>&5
82818 ac_status=$?
82819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820 (exit $ac_status); }; }; then
82821 glibcxx_cv_func___builtin_sinf_use=yes
82822 else
82823 echo "$as_me: failed program was:" >&5
82824 sed 's/^/| /' conftest.$ac_ext >&5
82826 glibcxx_cv_func___builtin_sinf_use=no
82828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82829 ac_ext=c
82830 ac_cpp='$CPP $CPPFLAGS'
82831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82840 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82841 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82842 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82843 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82844 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82845 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82846 echo $ECHO_N "(cached) $ECHO_C" >&6
82847 else
82849 if test x$gcc_no_link = xyes; then
82850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82852 { (exit 1); exit 1; }; }
82854 cat >conftest.$ac_ext <<_ACEOF
82855 /* confdefs.h. */
82856 _ACEOF
82857 cat confdefs.h >>conftest.$ac_ext
82858 cat >>conftest.$ac_ext <<_ACEOF
82859 /* end confdefs.h. */
82860 #include <math.h>
82862 main ()
82864 __builtin_sinf(0);
82866 return 0;
82868 _ACEOF
82869 rm -f conftest.$ac_objext conftest$ac_exeext
82870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82871 (eval $ac_link) 2>conftest.er1
82872 ac_status=$?
82873 grep -v '^ *+' conftest.er1 >conftest.err
82874 rm -f conftest.er1
82875 cat conftest.err >&5
82876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82877 (exit $ac_status); } &&
82878 { ac_try='test -z "$ac_c_werror_flag"
82879 || test ! -s conftest.err'
82880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82881 (eval $ac_try) 2>&5
82882 ac_status=$?
82883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82884 (exit $ac_status); }; } &&
82885 { ac_try='test -s conftest$ac_exeext'
82886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82887 (eval $ac_try) 2>&5
82888 ac_status=$?
82889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82890 (exit $ac_status); }; }; then
82891 glibcxx_cv_func___builtin_sinf_link=yes
82892 else
82893 echo "$as_me: failed program was:" >&5
82894 sed 's/^/| /' conftest.$ac_ext >&5
82896 glibcxx_cv_func___builtin_sinf_link=no
82898 rm -f conftest.err conftest.$ac_objext \
82899 conftest$ac_exeext conftest.$ac_ext
82904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82905 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82907 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82909 cat >>confdefs.h <<\_ACEOF
82910 #define HAVE___BUILTIN_SINF 1
82911 _ACEOF
82918 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82919 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82920 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82921 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82922 echo $ECHO_N "(cached) $ECHO_C" >&6
82923 else
82927 ac_ext=cc
82928 ac_cpp='$CXXCPP $CPPFLAGS'
82929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82933 cat >conftest.$ac_ext <<_ACEOF
82934 /* confdefs.h. */
82935 _ACEOF
82936 cat confdefs.h >>conftest.$ac_ext
82937 cat >>conftest.$ac_ext <<_ACEOF
82938 /* end confdefs.h. */
82939 #include <math.h>
82941 main ()
82943 __builtin_sin(0);
82945 return 0;
82947 _ACEOF
82948 rm -f conftest.$ac_objext
82949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82950 (eval $ac_compile) 2>conftest.er1
82951 ac_status=$?
82952 grep -v '^ *+' conftest.er1 >conftest.err
82953 rm -f conftest.er1
82954 cat conftest.err >&5
82955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956 (exit $ac_status); } &&
82957 { ac_try='test -z "$ac_cxx_werror_flag"
82958 || test ! -s conftest.err'
82959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82960 (eval $ac_try) 2>&5
82961 ac_status=$?
82962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82963 (exit $ac_status); }; } &&
82964 { ac_try='test -s conftest.$ac_objext'
82965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82966 (eval $ac_try) 2>&5
82967 ac_status=$?
82968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82969 (exit $ac_status); }; }; then
82970 glibcxx_cv_func___builtin_sin_use=yes
82971 else
82972 echo "$as_me: failed program was:" >&5
82973 sed 's/^/| /' conftest.$ac_ext >&5
82975 glibcxx_cv_func___builtin_sin_use=no
82977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82978 ac_ext=c
82979 ac_cpp='$CPP $CPPFLAGS'
82980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82989 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82990 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82991 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82992 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82993 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82994 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82995 echo $ECHO_N "(cached) $ECHO_C" >&6
82996 else
82998 if test x$gcc_no_link = xyes; then
82999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83001 { (exit 1); exit 1; }; }
83003 cat >conftest.$ac_ext <<_ACEOF
83004 /* confdefs.h. */
83005 _ACEOF
83006 cat confdefs.h >>conftest.$ac_ext
83007 cat >>conftest.$ac_ext <<_ACEOF
83008 /* end confdefs.h. */
83009 #include <math.h>
83011 main ()
83013 __builtin_sin(0);
83015 return 0;
83017 _ACEOF
83018 rm -f conftest.$ac_objext conftest$ac_exeext
83019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83020 (eval $ac_link) 2>conftest.er1
83021 ac_status=$?
83022 grep -v '^ *+' conftest.er1 >conftest.err
83023 rm -f conftest.er1
83024 cat conftest.err >&5
83025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83026 (exit $ac_status); } &&
83027 { ac_try='test -z "$ac_c_werror_flag"
83028 || test ! -s conftest.err'
83029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83030 (eval $ac_try) 2>&5
83031 ac_status=$?
83032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83033 (exit $ac_status); }; } &&
83034 { ac_try='test -s conftest$ac_exeext'
83035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83036 (eval $ac_try) 2>&5
83037 ac_status=$?
83038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83039 (exit $ac_status); }; }; then
83040 glibcxx_cv_func___builtin_sin_link=yes
83041 else
83042 echo "$as_me: failed program was:" >&5
83043 sed 's/^/| /' conftest.$ac_ext >&5
83045 glibcxx_cv_func___builtin_sin_link=no
83047 rm -f conftest.err conftest.$ac_objext \
83048 conftest$ac_exeext conftest.$ac_ext
83053 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83056 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83058 cat >>confdefs.h <<\_ACEOF
83059 #define HAVE___BUILTIN_SIN 1
83060 _ACEOF
83067 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83068 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83069 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83070 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83071 echo $ECHO_N "(cached) $ECHO_C" >&6
83072 else
83076 ac_ext=cc
83077 ac_cpp='$CXXCPP $CPPFLAGS'
83078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83082 cat >conftest.$ac_ext <<_ACEOF
83083 /* confdefs.h. */
83084 _ACEOF
83085 cat confdefs.h >>conftest.$ac_ext
83086 cat >>conftest.$ac_ext <<_ACEOF
83087 /* end confdefs.h. */
83088 #include <math.h>
83090 main ()
83092 __builtin_sinl(0);
83094 return 0;
83096 _ACEOF
83097 rm -f conftest.$ac_objext
83098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83099 (eval $ac_compile) 2>conftest.er1
83100 ac_status=$?
83101 grep -v '^ *+' conftest.er1 >conftest.err
83102 rm -f conftest.er1
83103 cat conftest.err >&5
83104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83105 (exit $ac_status); } &&
83106 { ac_try='test -z "$ac_cxx_werror_flag"
83107 || test ! -s conftest.err'
83108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83109 (eval $ac_try) 2>&5
83110 ac_status=$?
83111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83112 (exit $ac_status); }; } &&
83113 { ac_try='test -s conftest.$ac_objext'
83114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83115 (eval $ac_try) 2>&5
83116 ac_status=$?
83117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83118 (exit $ac_status); }; }; then
83119 glibcxx_cv_func___builtin_sinl_use=yes
83120 else
83121 echo "$as_me: failed program was:" >&5
83122 sed 's/^/| /' conftest.$ac_ext >&5
83124 glibcxx_cv_func___builtin_sinl_use=no
83126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83127 ac_ext=c
83128 ac_cpp='$CPP $CPPFLAGS'
83129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83138 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83139 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83140 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83141 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83142 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83143 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83144 echo $ECHO_N "(cached) $ECHO_C" >&6
83145 else
83147 if test x$gcc_no_link = xyes; then
83148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83150 { (exit 1); exit 1; }; }
83152 cat >conftest.$ac_ext <<_ACEOF
83153 /* confdefs.h. */
83154 _ACEOF
83155 cat confdefs.h >>conftest.$ac_ext
83156 cat >>conftest.$ac_ext <<_ACEOF
83157 /* end confdefs.h. */
83158 #include <math.h>
83160 main ()
83162 __builtin_sinl(0);
83164 return 0;
83166 _ACEOF
83167 rm -f conftest.$ac_objext conftest$ac_exeext
83168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83169 (eval $ac_link) 2>conftest.er1
83170 ac_status=$?
83171 grep -v '^ *+' conftest.er1 >conftest.err
83172 rm -f conftest.er1
83173 cat conftest.err >&5
83174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83175 (exit $ac_status); } &&
83176 { ac_try='test -z "$ac_c_werror_flag"
83177 || test ! -s conftest.err'
83178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83179 (eval $ac_try) 2>&5
83180 ac_status=$?
83181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182 (exit $ac_status); }; } &&
83183 { ac_try='test -s conftest$ac_exeext'
83184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83185 (eval $ac_try) 2>&5
83186 ac_status=$?
83187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83188 (exit $ac_status); }; }; then
83189 glibcxx_cv_func___builtin_sinl_link=yes
83190 else
83191 echo "$as_me: failed program was:" >&5
83192 sed 's/^/| /' conftest.$ac_ext >&5
83194 glibcxx_cv_func___builtin_sinl_link=no
83196 rm -f conftest.err conftest.$ac_objext \
83197 conftest$ac_exeext conftest.$ac_ext
83202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83203 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83205 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83207 cat >>confdefs.h <<\_ACEOF
83208 #define HAVE___BUILTIN_SINL 1
83209 _ACEOF
83217 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83218 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83219 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83220 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83221 echo $ECHO_N "(cached) $ECHO_C" >&6
83222 else
83226 ac_ext=cc
83227 ac_cpp='$CXXCPP $CPPFLAGS'
83228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83232 cat >conftest.$ac_ext <<_ACEOF
83233 /* confdefs.h. */
83234 _ACEOF
83235 cat confdefs.h >>conftest.$ac_ext
83236 cat >>conftest.$ac_ext <<_ACEOF
83237 /* end confdefs.h. */
83238 #include <math.h>
83240 main ()
83242 __builtin_cosf(0);
83244 return 0;
83246 _ACEOF
83247 rm -f conftest.$ac_objext
83248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83249 (eval $ac_compile) 2>conftest.er1
83250 ac_status=$?
83251 grep -v '^ *+' conftest.er1 >conftest.err
83252 rm -f conftest.er1
83253 cat conftest.err >&5
83254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83255 (exit $ac_status); } &&
83256 { ac_try='test -z "$ac_cxx_werror_flag"
83257 || test ! -s conftest.err'
83258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83259 (eval $ac_try) 2>&5
83260 ac_status=$?
83261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83262 (exit $ac_status); }; } &&
83263 { ac_try='test -s conftest.$ac_objext'
83264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83265 (eval $ac_try) 2>&5
83266 ac_status=$?
83267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83268 (exit $ac_status); }; }; then
83269 glibcxx_cv_func___builtin_cosf_use=yes
83270 else
83271 echo "$as_me: failed program was:" >&5
83272 sed 's/^/| /' conftest.$ac_ext >&5
83274 glibcxx_cv_func___builtin_cosf_use=no
83276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83277 ac_ext=c
83278 ac_cpp='$CPP $CPPFLAGS'
83279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83288 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83289 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83290 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83291 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83292 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83293 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83294 echo $ECHO_N "(cached) $ECHO_C" >&6
83295 else
83297 if test x$gcc_no_link = xyes; then
83298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83300 { (exit 1); exit 1; }; }
83302 cat >conftest.$ac_ext <<_ACEOF
83303 /* confdefs.h. */
83304 _ACEOF
83305 cat confdefs.h >>conftest.$ac_ext
83306 cat >>conftest.$ac_ext <<_ACEOF
83307 /* end confdefs.h. */
83308 #include <math.h>
83310 main ()
83312 __builtin_cosf(0);
83314 return 0;
83316 _ACEOF
83317 rm -f conftest.$ac_objext conftest$ac_exeext
83318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83319 (eval $ac_link) 2>conftest.er1
83320 ac_status=$?
83321 grep -v '^ *+' conftest.er1 >conftest.err
83322 rm -f conftest.er1
83323 cat conftest.err >&5
83324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83325 (exit $ac_status); } &&
83326 { ac_try='test -z "$ac_c_werror_flag"
83327 || test ! -s conftest.err'
83328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83329 (eval $ac_try) 2>&5
83330 ac_status=$?
83331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83332 (exit $ac_status); }; } &&
83333 { ac_try='test -s conftest$ac_exeext'
83334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83335 (eval $ac_try) 2>&5
83336 ac_status=$?
83337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338 (exit $ac_status); }; }; then
83339 glibcxx_cv_func___builtin_cosf_link=yes
83340 else
83341 echo "$as_me: failed program was:" >&5
83342 sed 's/^/| /' conftest.$ac_ext >&5
83344 glibcxx_cv_func___builtin_cosf_link=no
83346 rm -f conftest.err conftest.$ac_objext \
83347 conftest$ac_exeext conftest.$ac_ext
83352 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83353 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83355 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83357 cat >>confdefs.h <<\_ACEOF
83358 #define HAVE___BUILTIN_COSF 1
83359 _ACEOF
83366 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83367 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83368 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83369 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83370 echo $ECHO_N "(cached) $ECHO_C" >&6
83371 else
83375 ac_ext=cc
83376 ac_cpp='$CXXCPP $CPPFLAGS'
83377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83381 cat >conftest.$ac_ext <<_ACEOF
83382 /* confdefs.h. */
83383 _ACEOF
83384 cat confdefs.h >>conftest.$ac_ext
83385 cat >>conftest.$ac_ext <<_ACEOF
83386 /* end confdefs.h. */
83387 #include <math.h>
83389 main ()
83391 __builtin_cos(0);
83393 return 0;
83395 _ACEOF
83396 rm -f conftest.$ac_objext
83397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83398 (eval $ac_compile) 2>conftest.er1
83399 ac_status=$?
83400 grep -v '^ *+' conftest.er1 >conftest.err
83401 rm -f conftest.er1
83402 cat conftest.err >&5
83403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404 (exit $ac_status); } &&
83405 { ac_try='test -z "$ac_cxx_werror_flag"
83406 || test ! -s conftest.err'
83407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83408 (eval $ac_try) 2>&5
83409 ac_status=$?
83410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83411 (exit $ac_status); }; } &&
83412 { ac_try='test -s conftest.$ac_objext'
83413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83414 (eval $ac_try) 2>&5
83415 ac_status=$?
83416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83417 (exit $ac_status); }; }; then
83418 glibcxx_cv_func___builtin_cos_use=yes
83419 else
83420 echo "$as_me: failed program was:" >&5
83421 sed 's/^/| /' conftest.$ac_ext >&5
83423 glibcxx_cv_func___builtin_cos_use=no
83425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83426 ac_ext=c
83427 ac_cpp='$CPP $CPPFLAGS'
83428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83436 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83437 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83438 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83439 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83440 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83441 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83442 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83443 echo $ECHO_N "(cached) $ECHO_C" >&6
83444 else
83446 if test x$gcc_no_link = xyes; then
83447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83449 { (exit 1); exit 1; }; }
83451 cat >conftest.$ac_ext <<_ACEOF
83452 /* confdefs.h. */
83453 _ACEOF
83454 cat confdefs.h >>conftest.$ac_ext
83455 cat >>conftest.$ac_ext <<_ACEOF
83456 /* end confdefs.h. */
83457 #include <math.h>
83459 main ()
83461 __builtin_cos(0);
83463 return 0;
83465 _ACEOF
83466 rm -f conftest.$ac_objext conftest$ac_exeext
83467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83468 (eval $ac_link) 2>conftest.er1
83469 ac_status=$?
83470 grep -v '^ *+' conftest.er1 >conftest.err
83471 rm -f conftest.er1
83472 cat conftest.err >&5
83473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83474 (exit $ac_status); } &&
83475 { ac_try='test -z "$ac_c_werror_flag"
83476 || test ! -s conftest.err'
83477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83478 (eval $ac_try) 2>&5
83479 ac_status=$?
83480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83481 (exit $ac_status); }; } &&
83482 { ac_try='test -s conftest$ac_exeext'
83483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83484 (eval $ac_try) 2>&5
83485 ac_status=$?
83486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83487 (exit $ac_status); }; }; then
83488 glibcxx_cv_func___builtin_cos_link=yes
83489 else
83490 echo "$as_me: failed program was:" >&5
83491 sed 's/^/| /' conftest.$ac_ext >&5
83493 glibcxx_cv_func___builtin_cos_link=no
83495 rm -f conftest.err conftest.$ac_objext \
83496 conftest$ac_exeext conftest.$ac_ext
83501 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83502 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83504 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83506 cat >>confdefs.h <<\_ACEOF
83507 #define HAVE___BUILTIN_COS 1
83508 _ACEOF
83515 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83516 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83517 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83518 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83519 echo $ECHO_N "(cached) $ECHO_C" >&6
83520 else
83524 ac_ext=cc
83525 ac_cpp='$CXXCPP $CPPFLAGS'
83526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83530 cat >conftest.$ac_ext <<_ACEOF
83531 /* confdefs.h. */
83532 _ACEOF
83533 cat confdefs.h >>conftest.$ac_ext
83534 cat >>conftest.$ac_ext <<_ACEOF
83535 /* end confdefs.h. */
83536 #include <math.h>
83538 main ()
83540 __builtin_cosl(0);
83542 return 0;
83544 _ACEOF
83545 rm -f conftest.$ac_objext
83546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83547 (eval $ac_compile) 2>conftest.er1
83548 ac_status=$?
83549 grep -v '^ *+' conftest.er1 >conftest.err
83550 rm -f conftest.er1
83551 cat conftest.err >&5
83552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83553 (exit $ac_status); } &&
83554 { ac_try='test -z "$ac_cxx_werror_flag"
83555 || test ! -s conftest.err'
83556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83557 (eval $ac_try) 2>&5
83558 ac_status=$?
83559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83560 (exit $ac_status); }; } &&
83561 { ac_try='test -s conftest.$ac_objext'
83562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83563 (eval $ac_try) 2>&5
83564 ac_status=$?
83565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83566 (exit $ac_status); }; }; then
83567 glibcxx_cv_func___builtin_cosl_use=yes
83568 else
83569 echo "$as_me: failed program was:" >&5
83570 sed 's/^/| /' conftest.$ac_ext >&5
83572 glibcxx_cv_func___builtin_cosl_use=no
83574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83575 ac_ext=c
83576 ac_cpp='$CPP $CPPFLAGS'
83577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83585 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83586 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83587 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83588 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83589 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83590 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83591 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83592 echo $ECHO_N "(cached) $ECHO_C" >&6
83593 else
83595 if test x$gcc_no_link = xyes; then
83596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83598 { (exit 1); exit 1; }; }
83600 cat >conftest.$ac_ext <<_ACEOF
83601 /* confdefs.h. */
83602 _ACEOF
83603 cat confdefs.h >>conftest.$ac_ext
83604 cat >>conftest.$ac_ext <<_ACEOF
83605 /* end confdefs.h. */
83606 #include <math.h>
83608 main ()
83610 __builtin_cosl(0);
83612 return 0;
83614 _ACEOF
83615 rm -f conftest.$ac_objext conftest$ac_exeext
83616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83617 (eval $ac_link) 2>conftest.er1
83618 ac_status=$?
83619 grep -v '^ *+' conftest.er1 >conftest.err
83620 rm -f conftest.er1
83621 cat conftest.err >&5
83622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83623 (exit $ac_status); } &&
83624 { ac_try='test -z "$ac_c_werror_flag"
83625 || test ! -s conftest.err'
83626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83627 (eval $ac_try) 2>&5
83628 ac_status=$?
83629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83630 (exit $ac_status); }; } &&
83631 { ac_try='test -s conftest$ac_exeext'
83632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83633 (eval $ac_try) 2>&5
83634 ac_status=$?
83635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83636 (exit $ac_status); }; }; then
83637 glibcxx_cv_func___builtin_cosl_link=yes
83638 else
83639 echo "$as_me: failed program was:" >&5
83640 sed 's/^/| /' conftest.$ac_ext >&5
83642 glibcxx_cv_func___builtin_cosl_link=no
83644 rm -f conftest.err conftest.$ac_objext \
83645 conftest$ac_exeext conftest.$ac_ext
83650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83651 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83653 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83655 cat >>confdefs.h <<\_ACEOF
83656 #define HAVE___BUILTIN_COSL 1
83657 _ACEOF
83666 echo "$as_me:$LINENO: checking for main in -lm" >&5
83667 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83668 if test "${ac_cv_lib_m_main+set}" = set; then
83669 echo $ECHO_N "(cached) $ECHO_C" >&6
83670 else
83671 ac_check_lib_save_LIBS=$LIBS
83672 LIBS="-lm $LIBS"
83673 if test x$gcc_no_link = xyes; then
83674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83676 { (exit 1); exit 1; }; }
83678 cat >conftest.$ac_ext <<_ACEOF
83679 /* confdefs.h. */
83680 _ACEOF
83681 cat confdefs.h >>conftest.$ac_ext
83682 cat >>conftest.$ac_ext <<_ACEOF
83683 /* end confdefs.h. */
83687 main ()
83689 main ();
83691 return 0;
83693 _ACEOF
83694 rm -f conftest.$ac_objext conftest$ac_exeext
83695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83696 (eval $ac_link) 2>conftest.er1
83697 ac_status=$?
83698 grep -v '^ *+' conftest.er1 >conftest.err
83699 rm -f conftest.er1
83700 cat conftest.err >&5
83701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83702 (exit $ac_status); } &&
83703 { ac_try='test -z "$ac_c_werror_flag"
83704 || test ! -s conftest.err'
83705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83706 (eval $ac_try) 2>&5
83707 ac_status=$?
83708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83709 (exit $ac_status); }; } &&
83710 { ac_try='test -s conftest$ac_exeext'
83711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83712 (eval $ac_try) 2>&5
83713 ac_status=$?
83714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83715 (exit $ac_status); }; }; then
83716 ac_cv_lib_m_main=yes
83717 else
83718 echo "$as_me: failed program was:" >&5
83719 sed 's/^/| /' conftest.$ac_ext >&5
83721 ac_cv_lib_m_main=no
83723 rm -f conftest.err conftest.$ac_objext \
83724 conftest$ac_exeext conftest.$ac_ext
83725 LIBS=$ac_check_lib_save_LIBS
83727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83728 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83729 if test $ac_cv_lib_m_main = yes; then
83730 cat >>confdefs.h <<_ACEOF
83731 #define HAVE_LIBM 1
83732 _ACEOF
83734 LIBS="-lm $LIBS"
83739 for ac_func in copysignf
83741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83742 echo "$as_me:$LINENO: checking for $ac_func" >&5
83743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83744 if eval "test \"\${$as_ac_var+set}\" = set"; then
83745 echo $ECHO_N "(cached) $ECHO_C" >&6
83746 else
83747 if test x$gcc_no_link = xyes; then
83748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83750 { (exit 1); exit 1; }; }
83752 cat >conftest.$ac_ext <<_ACEOF
83753 /* confdefs.h. */
83754 _ACEOF
83755 cat confdefs.h >>conftest.$ac_ext
83756 cat >>conftest.$ac_ext <<_ACEOF
83757 /* end confdefs.h. */
83758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83760 #define $ac_func innocuous_$ac_func
83762 /* System header to define __stub macros and hopefully few prototypes,
83763 which can conflict with char $ac_func (); below.
83764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83765 <limits.h> exists even on freestanding compilers. */
83767 #ifdef __STDC__
83768 # include <limits.h>
83769 #else
83770 # include <assert.h>
83771 #endif
83773 #undef $ac_func
83775 /* Override any gcc2 internal prototype to avoid an error. */
83776 #ifdef __cplusplus
83777 extern "C"
83779 #endif
83780 /* We use char because int might match the return type of a gcc2
83781 builtin and then its argument prototype would still apply. */
83782 char $ac_func ();
83783 /* The GNU C library defines this for functions which it implements
83784 to always fail with ENOSYS. Some functions are actually named
83785 something starting with __ and the normal name is an alias. */
83786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83787 choke me
83788 #else
83789 char (*f) () = $ac_func;
83790 #endif
83791 #ifdef __cplusplus
83793 #endif
83796 main ()
83798 return f != $ac_func;
83800 return 0;
83802 _ACEOF
83803 rm -f conftest.$ac_objext conftest$ac_exeext
83804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83805 (eval $ac_link) 2>conftest.er1
83806 ac_status=$?
83807 grep -v '^ *+' conftest.er1 >conftest.err
83808 rm -f conftest.er1
83809 cat conftest.err >&5
83810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83811 (exit $ac_status); } &&
83812 { ac_try='test -z "$ac_c_werror_flag"
83813 || test ! -s conftest.err'
83814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83815 (eval $ac_try) 2>&5
83816 ac_status=$?
83817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83818 (exit $ac_status); }; } &&
83819 { ac_try='test -s conftest$ac_exeext'
83820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83821 (eval $ac_try) 2>&5
83822 ac_status=$?
83823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83824 (exit $ac_status); }; }; then
83825 eval "$as_ac_var=yes"
83826 else
83827 echo "$as_me: failed program was:" >&5
83828 sed 's/^/| /' conftest.$ac_ext >&5
83830 eval "$as_ac_var=no"
83832 rm -f conftest.err conftest.$ac_objext \
83833 conftest$ac_exeext conftest.$ac_ext
83835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83837 if test `eval echo '${'$as_ac_var'}'` = yes; then
83838 cat >>confdefs.h <<_ACEOF
83839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83840 _ACEOF
83842 else
83843 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83845 done
83849 for ac_func in __signbit
83851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83852 echo "$as_me:$LINENO: checking for $ac_func" >&5
83853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83854 if eval "test \"\${$as_ac_var+set}\" = set"; then
83855 echo $ECHO_N "(cached) $ECHO_C" >&6
83856 else
83857 if test x$gcc_no_link = xyes; then
83858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83860 { (exit 1); exit 1; }; }
83862 cat >conftest.$ac_ext <<_ACEOF
83863 /* confdefs.h. */
83864 _ACEOF
83865 cat confdefs.h >>conftest.$ac_ext
83866 cat >>conftest.$ac_ext <<_ACEOF
83867 /* end confdefs.h. */
83868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83870 #define $ac_func innocuous_$ac_func
83872 /* System header to define __stub macros and hopefully few prototypes,
83873 which can conflict with char $ac_func (); below.
83874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83875 <limits.h> exists even on freestanding compilers. */
83877 #ifdef __STDC__
83878 # include <limits.h>
83879 #else
83880 # include <assert.h>
83881 #endif
83883 #undef $ac_func
83885 /* Override any gcc2 internal prototype to avoid an error. */
83886 #ifdef __cplusplus
83887 extern "C"
83889 #endif
83890 /* We use char because int might match the return type of a gcc2
83891 builtin and then its argument prototype would still apply. */
83892 char $ac_func ();
83893 /* The GNU C library defines this for functions which it implements
83894 to always fail with ENOSYS. Some functions are actually named
83895 something starting with __ and the normal name is an alias. */
83896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83897 choke me
83898 #else
83899 char (*f) () = $ac_func;
83900 #endif
83901 #ifdef __cplusplus
83903 #endif
83906 main ()
83908 return f != $ac_func;
83910 return 0;
83912 _ACEOF
83913 rm -f conftest.$ac_objext conftest$ac_exeext
83914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83915 (eval $ac_link) 2>conftest.er1
83916 ac_status=$?
83917 grep -v '^ *+' conftest.er1 >conftest.err
83918 rm -f conftest.er1
83919 cat conftest.err >&5
83920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83921 (exit $ac_status); } &&
83922 { ac_try='test -z "$ac_c_werror_flag"
83923 || test ! -s conftest.err'
83924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83925 (eval $ac_try) 2>&5
83926 ac_status=$?
83927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83928 (exit $ac_status); }; } &&
83929 { ac_try='test -s conftest$ac_exeext'
83930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83931 (eval $ac_try) 2>&5
83932 ac_status=$?
83933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934 (exit $ac_status); }; }; then
83935 eval "$as_ac_var=yes"
83936 else
83937 echo "$as_me: failed program was:" >&5
83938 sed 's/^/| /' conftest.$ac_ext >&5
83940 eval "$as_ac_var=no"
83942 rm -f conftest.err conftest.$ac_objext \
83943 conftest$ac_exeext conftest.$ac_ext
83945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83947 if test `eval echo '${'$as_ac_var'}'` = yes; then
83948 cat >>confdefs.h <<_ACEOF
83949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83950 _ACEOF
83952 else
83953 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83955 done
83959 for ac_func in __signbitf
83961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83962 echo "$as_me:$LINENO: checking for $ac_func" >&5
83963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83964 if eval "test \"\${$as_ac_var+set}\" = set"; then
83965 echo $ECHO_N "(cached) $ECHO_C" >&6
83966 else
83967 if test x$gcc_no_link = xyes; then
83968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83970 { (exit 1); exit 1; }; }
83972 cat >conftest.$ac_ext <<_ACEOF
83973 /* confdefs.h. */
83974 _ACEOF
83975 cat confdefs.h >>conftest.$ac_ext
83976 cat >>conftest.$ac_ext <<_ACEOF
83977 /* end confdefs.h. */
83978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83980 #define $ac_func innocuous_$ac_func
83982 /* System header to define __stub macros and hopefully few prototypes,
83983 which can conflict with char $ac_func (); below.
83984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83985 <limits.h> exists even on freestanding compilers. */
83987 #ifdef __STDC__
83988 # include <limits.h>
83989 #else
83990 # include <assert.h>
83991 #endif
83993 #undef $ac_func
83995 /* Override any gcc2 internal prototype to avoid an error. */
83996 #ifdef __cplusplus
83997 extern "C"
83999 #endif
84000 /* We use char because int might match the return type of a gcc2
84001 builtin and then its argument prototype would still apply. */
84002 char $ac_func ();
84003 /* The GNU C library defines this for functions which it implements
84004 to always fail with ENOSYS. Some functions are actually named
84005 something starting with __ and the normal name is an alias. */
84006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84007 choke me
84008 #else
84009 char (*f) () = $ac_func;
84010 #endif
84011 #ifdef __cplusplus
84013 #endif
84016 main ()
84018 return f != $ac_func;
84020 return 0;
84022 _ACEOF
84023 rm -f conftest.$ac_objext conftest$ac_exeext
84024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84025 (eval $ac_link) 2>conftest.er1
84026 ac_status=$?
84027 grep -v '^ *+' conftest.er1 >conftest.err
84028 rm -f conftest.er1
84029 cat conftest.err >&5
84030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031 (exit $ac_status); } &&
84032 { ac_try='test -z "$ac_c_werror_flag"
84033 || test ! -s conftest.err'
84034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84035 (eval $ac_try) 2>&5
84036 ac_status=$?
84037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038 (exit $ac_status); }; } &&
84039 { ac_try='test -s conftest$ac_exeext'
84040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84041 (eval $ac_try) 2>&5
84042 ac_status=$?
84043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84044 (exit $ac_status); }; }; then
84045 eval "$as_ac_var=yes"
84046 else
84047 echo "$as_me: failed program was:" >&5
84048 sed 's/^/| /' conftest.$ac_ext >&5
84050 eval "$as_ac_var=no"
84052 rm -f conftest.err conftest.$ac_objext \
84053 conftest$ac_exeext conftest.$ac_ext
84055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84057 if test `eval echo '${'$as_ac_var'}'` = yes; then
84058 cat >>confdefs.h <<_ACEOF
84059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84060 _ACEOF
84062 else
84063 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84065 done
84068 if test x$ac_cv_func_copysignl = x"yes"; then
84070 for ac_func in __signbitl
84072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84073 echo "$as_me:$LINENO: checking for $ac_func" >&5
84074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84075 if eval "test \"\${$as_ac_var+set}\" = set"; then
84076 echo $ECHO_N "(cached) $ECHO_C" >&6
84077 else
84078 if test x$gcc_no_link = xyes; then
84079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84081 { (exit 1); exit 1; }; }
84083 cat >conftest.$ac_ext <<_ACEOF
84084 /* confdefs.h. */
84085 _ACEOF
84086 cat confdefs.h >>conftest.$ac_ext
84087 cat >>conftest.$ac_ext <<_ACEOF
84088 /* end confdefs.h. */
84089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84091 #define $ac_func innocuous_$ac_func
84093 /* System header to define __stub macros and hopefully few prototypes,
84094 which can conflict with char $ac_func (); below.
84095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84096 <limits.h> exists even on freestanding compilers. */
84098 #ifdef __STDC__
84099 # include <limits.h>
84100 #else
84101 # include <assert.h>
84102 #endif
84104 #undef $ac_func
84106 /* Override any gcc2 internal prototype to avoid an error. */
84107 #ifdef __cplusplus
84108 extern "C"
84110 #endif
84111 /* We use char because int might match the return type of a gcc2
84112 builtin and then its argument prototype would still apply. */
84113 char $ac_func ();
84114 /* The GNU C library defines this for functions which it implements
84115 to always fail with ENOSYS. Some functions are actually named
84116 something starting with __ and the normal name is an alias. */
84117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84118 choke me
84119 #else
84120 char (*f) () = $ac_func;
84121 #endif
84122 #ifdef __cplusplus
84124 #endif
84127 main ()
84129 return f != $ac_func;
84131 return 0;
84133 _ACEOF
84134 rm -f conftest.$ac_objext conftest$ac_exeext
84135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84136 (eval $ac_link) 2>conftest.er1
84137 ac_status=$?
84138 grep -v '^ *+' conftest.er1 >conftest.err
84139 rm -f conftest.er1
84140 cat conftest.err >&5
84141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84142 (exit $ac_status); } &&
84143 { ac_try='test -z "$ac_c_werror_flag"
84144 || test ! -s conftest.err'
84145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84146 (eval $ac_try) 2>&5
84147 ac_status=$?
84148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84149 (exit $ac_status); }; } &&
84150 { ac_try='test -s conftest$ac_exeext'
84151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84152 (eval $ac_try) 2>&5
84153 ac_status=$?
84154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84155 (exit $ac_status); }; }; then
84156 eval "$as_ac_var=yes"
84157 else
84158 echo "$as_me: failed program was:" >&5
84159 sed 's/^/| /' conftest.$ac_ext >&5
84161 eval "$as_ac_var=no"
84163 rm -f conftest.err conftest.$ac_objext \
84164 conftest$ac_exeext conftest.$ac_ext
84166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84168 if test `eval echo '${'$as_ac_var'}'` = yes; then
84169 cat >>confdefs.h <<_ACEOF
84170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84171 _ACEOF
84173 else
84174 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84176 done
84180 # Used in libmath/Makefile.am.
84181 if test -n "$LIBMATHOBJS"; then
84182 need_libmath=yes
84187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84188 ac_save_CXXFLAGS="$CXXFLAGS"
84189 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84192 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84193 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84194 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84195 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84196 echo $ECHO_N "(cached) $ECHO_C" >&6
84197 else
84201 ac_ext=cc
84202 ac_cpp='$CXXCPP $CPPFLAGS'
84203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84207 cat >conftest.$ac_ext <<_ACEOF
84208 /* confdefs.h. */
84209 _ACEOF
84210 cat confdefs.h >>conftest.$ac_ext
84211 cat >>conftest.$ac_ext <<_ACEOF
84212 /* end confdefs.h. */
84213 #include <stdlib.h>
84215 main ()
84217 strtold(0, 0);
84219 return 0;
84221 _ACEOF
84222 rm -f conftest.$ac_objext
84223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84224 (eval $ac_compile) 2>conftest.er1
84225 ac_status=$?
84226 grep -v '^ *+' conftest.er1 >conftest.err
84227 rm -f conftest.er1
84228 cat conftest.err >&5
84229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84230 (exit $ac_status); } &&
84231 { ac_try='test -z "$ac_cxx_werror_flag"
84232 || test ! -s conftest.err'
84233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84234 (eval $ac_try) 2>&5
84235 ac_status=$?
84236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84237 (exit $ac_status); }; } &&
84238 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84244 glibcxx_cv_func_strtold_use=yes
84245 else
84246 echo "$as_me: failed program was:" >&5
84247 sed 's/^/| /' conftest.$ac_ext >&5
84249 glibcxx_cv_func_strtold_use=no
84251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84252 ac_ext=c
84253 ac_cpp='$CPP $CPPFLAGS'
84254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84263 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84264 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84266 for ac_func in strtold
84268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84269 echo "$as_me:$LINENO: checking for $ac_func" >&5
84270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84271 if eval "test \"\${$as_ac_var+set}\" = set"; then
84272 echo $ECHO_N "(cached) $ECHO_C" >&6
84273 else
84274 if test x$gcc_no_link = xyes; then
84275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84277 { (exit 1); exit 1; }; }
84279 cat >conftest.$ac_ext <<_ACEOF
84280 /* confdefs.h. */
84281 _ACEOF
84282 cat confdefs.h >>conftest.$ac_ext
84283 cat >>conftest.$ac_ext <<_ACEOF
84284 /* end confdefs.h. */
84285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84287 #define $ac_func innocuous_$ac_func
84289 /* System header to define __stub macros and hopefully few prototypes,
84290 which can conflict with char $ac_func (); below.
84291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84292 <limits.h> exists even on freestanding compilers. */
84294 #ifdef __STDC__
84295 # include <limits.h>
84296 #else
84297 # include <assert.h>
84298 #endif
84300 #undef $ac_func
84302 /* Override any gcc2 internal prototype to avoid an error. */
84303 #ifdef __cplusplus
84304 extern "C"
84306 #endif
84307 /* We use char because int might match the return type of a gcc2
84308 builtin and then its argument prototype would still apply. */
84309 char $ac_func ();
84310 /* The GNU C library defines this for functions which it implements
84311 to always fail with ENOSYS. Some functions are actually named
84312 something starting with __ and the normal name is an alias. */
84313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84314 choke me
84315 #else
84316 char (*f) () = $ac_func;
84317 #endif
84318 #ifdef __cplusplus
84320 #endif
84323 main ()
84325 return f != $ac_func;
84327 return 0;
84329 _ACEOF
84330 rm -f conftest.$ac_objext conftest$ac_exeext
84331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84332 (eval $ac_link) 2>conftest.er1
84333 ac_status=$?
84334 grep -v '^ *+' conftest.er1 >conftest.err
84335 rm -f conftest.er1
84336 cat conftest.err >&5
84337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84338 (exit $ac_status); } &&
84339 { ac_try='test -z "$ac_c_werror_flag"
84340 || test ! -s conftest.err'
84341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84342 (eval $ac_try) 2>&5
84343 ac_status=$?
84344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345 (exit $ac_status); }; } &&
84346 { ac_try='test -s conftest$ac_exeext'
84347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84348 (eval $ac_try) 2>&5
84349 ac_status=$?
84350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351 (exit $ac_status); }; }; then
84352 eval "$as_ac_var=yes"
84353 else
84354 echo "$as_me: failed program was:" >&5
84355 sed 's/^/| /' conftest.$ac_ext >&5
84357 eval "$as_ac_var=no"
84359 rm -f conftest.err conftest.$ac_objext \
84360 conftest$ac_exeext conftest.$ac_ext
84362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84364 if test `eval echo '${'$as_ac_var'}'` = yes; then
84365 cat >>confdefs.h <<_ACEOF
84366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84367 _ACEOF
84370 done
84378 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84379 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84380 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84381 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84382 echo $ECHO_N "(cached) $ECHO_C" >&6
84383 else
84387 ac_ext=cc
84388 ac_cpp='$CXXCPP $CPPFLAGS'
84389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84393 cat >conftest.$ac_ext <<_ACEOF
84394 /* confdefs.h. */
84395 _ACEOF
84396 cat confdefs.h >>conftest.$ac_ext
84397 cat >>conftest.$ac_ext <<_ACEOF
84398 /* end confdefs.h. */
84399 #include <stdlib.h>
84401 main ()
84403 strtof(0, 0);
84405 return 0;
84407 _ACEOF
84408 rm -f conftest.$ac_objext
84409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84410 (eval $ac_compile) 2>conftest.er1
84411 ac_status=$?
84412 grep -v '^ *+' conftest.er1 >conftest.err
84413 rm -f conftest.er1
84414 cat conftest.err >&5
84415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416 (exit $ac_status); } &&
84417 { ac_try='test -z "$ac_cxx_werror_flag"
84418 || test ! -s conftest.err'
84419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84420 (eval $ac_try) 2>&5
84421 ac_status=$?
84422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84423 (exit $ac_status); }; } &&
84424 { ac_try='test -s conftest.$ac_objext'
84425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84426 (eval $ac_try) 2>&5
84427 ac_status=$?
84428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84429 (exit $ac_status); }; }; then
84430 glibcxx_cv_func_strtof_use=yes
84431 else
84432 echo "$as_me: failed program was:" >&5
84433 sed 's/^/| /' conftest.$ac_ext >&5
84435 glibcxx_cv_func_strtof_use=no
84437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84438 ac_ext=c
84439 ac_cpp='$CPP $CPPFLAGS'
84440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84449 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84450 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84452 for ac_func in strtof
84454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84455 echo "$as_me:$LINENO: checking for $ac_func" >&5
84456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84457 if eval "test \"\${$as_ac_var+set}\" = set"; then
84458 echo $ECHO_N "(cached) $ECHO_C" >&6
84459 else
84460 if test x$gcc_no_link = xyes; then
84461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84463 { (exit 1); exit 1; }; }
84465 cat >conftest.$ac_ext <<_ACEOF
84466 /* confdefs.h. */
84467 _ACEOF
84468 cat confdefs.h >>conftest.$ac_ext
84469 cat >>conftest.$ac_ext <<_ACEOF
84470 /* end confdefs.h. */
84471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84473 #define $ac_func innocuous_$ac_func
84475 /* System header to define __stub macros and hopefully few prototypes,
84476 which can conflict with char $ac_func (); below.
84477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84478 <limits.h> exists even on freestanding compilers. */
84480 #ifdef __STDC__
84481 # include <limits.h>
84482 #else
84483 # include <assert.h>
84484 #endif
84486 #undef $ac_func
84488 /* Override any gcc2 internal prototype to avoid an error. */
84489 #ifdef __cplusplus
84490 extern "C"
84492 #endif
84493 /* We use char because int might match the return type of a gcc2
84494 builtin and then its argument prototype would still apply. */
84495 char $ac_func ();
84496 /* The GNU C library defines this for functions which it implements
84497 to always fail with ENOSYS. Some functions are actually named
84498 something starting with __ and the normal name is an alias. */
84499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84500 choke me
84501 #else
84502 char (*f) () = $ac_func;
84503 #endif
84504 #ifdef __cplusplus
84506 #endif
84509 main ()
84511 return f != $ac_func;
84513 return 0;
84515 _ACEOF
84516 rm -f conftest.$ac_objext conftest$ac_exeext
84517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84518 (eval $ac_link) 2>conftest.er1
84519 ac_status=$?
84520 grep -v '^ *+' conftest.er1 >conftest.err
84521 rm -f conftest.er1
84522 cat conftest.err >&5
84523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84524 (exit $ac_status); } &&
84525 { ac_try='test -z "$ac_c_werror_flag"
84526 || test ! -s conftest.err'
84527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84528 (eval $ac_try) 2>&5
84529 ac_status=$?
84530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84531 (exit $ac_status); }; } &&
84532 { ac_try='test -s conftest$ac_exeext'
84533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84534 (eval $ac_try) 2>&5
84535 ac_status=$?
84536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84537 (exit $ac_status); }; }; then
84538 eval "$as_ac_var=yes"
84539 else
84540 echo "$as_me: failed program was:" >&5
84541 sed 's/^/| /' conftest.$ac_ext >&5
84543 eval "$as_ac_var=no"
84545 rm -f conftest.err conftest.$ac_objext \
84546 conftest$ac_exeext conftest.$ac_ext
84548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84550 if test `eval echo '${'$as_ac_var'}'` = yes; then
84551 cat >>confdefs.h <<_ACEOF
84552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84553 _ACEOF
84556 done
84564 CXXFLAGS="$ac_save_CXXFLAGS"
84567 # For showmanyc_helper().
84570 for ac_header in sys/ioctl.h sys/filio.h
84572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84574 echo "$as_me:$LINENO: checking for $ac_header" >&5
84575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84577 echo $ECHO_N "(cached) $ECHO_C" >&6
84579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84581 else
84582 # Is the header compilable?
84583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84585 cat >conftest.$ac_ext <<_ACEOF
84586 /* confdefs.h. */
84587 _ACEOF
84588 cat confdefs.h >>conftest.$ac_ext
84589 cat >>conftest.$ac_ext <<_ACEOF
84590 /* end confdefs.h. */
84591 $ac_includes_default
84592 #include <$ac_header>
84593 _ACEOF
84594 rm -f conftest.$ac_objext
84595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84596 (eval $ac_compile) 2>conftest.er1
84597 ac_status=$?
84598 grep -v '^ *+' conftest.er1 >conftest.err
84599 rm -f conftest.er1
84600 cat conftest.err >&5
84601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602 (exit $ac_status); } &&
84603 { ac_try='test -z "$ac_c_werror_flag"
84604 || test ! -s conftest.err'
84605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84606 (eval $ac_try) 2>&5
84607 ac_status=$?
84608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84609 (exit $ac_status); }; } &&
84610 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84616 ac_header_compiler=yes
84617 else
84618 echo "$as_me: failed program was:" >&5
84619 sed 's/^/| /' conftest.$ac_ext >&5
84621 ac_header_compiler=no
84623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84625 echo "${ECHO_T}$ac_header_compiler" >&6
84627 # Is the header present?
84628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84630 cat >conftest.$ac_ext <<_ACEOF
84631 /* confdefs.h. */
84632 _ACEOF
84633 cat confdefs.h >>conftest.$ac_ext
84634 cat >>conftest.$ac_ext <<_ACEOF
84635 /* end confdefs.h. */
84636 #include <$ac_header>
84637 _ACEOF
84638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84639 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84640 ac_status=$?
84641 grep -v '^ *+' conftest.er1 >conftest.err
84642 rm -f conftest.er1
84643 cat conftest.err >&5
84644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84645 (exit $ac_status); } >/dev/null; then
84646 if test -s conftest.err; then
84647 ac_cpp_err=$ac_c_preproc_warn_flag
84648 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84649 else
84650 ac_cpp_err=
84652 else
84653 ac_cpp_err=yes
84655 if test -z "$ac_cpp_err"; then
84656 ac_header_preproc=yes
84657 else
84658 echo "$as_me: failed program was:" >&5
84659 sed 's/^/| /' conftest.$ac_ext >&5
84661 ac_header_preproc=no
84663 rm -f conftest.err conftest.$ac_ext
84664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84665 echo "${ECHO_T}$ac_header_preproc" >&6
84667 # So? What about this header?
84668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84669 yes:no: )
84670 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84673 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84674 ac_header_preproc=yes
84676 no:yes:* )
84677 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84679 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84680 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84681 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84682 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84683 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84684 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84687 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84688 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84690 cat <<\_ASBOX
84691 ## ----------------------------------------- ##
84692 ## Report this to the package-unused lists. ##
84693 ## ----------------------------------------- ##
84694 _ASBOX
84696 sed "s/^/$as_me: WARNING: /" >&2
84698 esac
84699 echo "$as_me:$LINENO: checking for $ac_header" >&5
84700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84702 echo $ECHO_N "(cached) $ECHO_C" >&6
84703 else
84704 eval "$as_ac_Header=\$ac_header_preproc"
84706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84711 cat >>confdefs.h <<_ACEOF
84712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84713 _ACEOF
84717 done
84720 echo "$as_me:$LINENO: checking for poll" >&5
84721 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84722 if test "${glibcxx_cv_POLL+set}" = set; then
84723 echo $ECHO_N "(cached) $ECHO_C" >&6
84724 else
84726 if test x$gcc_no_link = xyes; then
84727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84729 { (exit 1); exit 1; }; }
84731 cat >conftest.$ac_ext <<_ACEOF
84732 /* confdefs.h. */
84733 _ACEOF
84734 cat confdefs.h >>conftest.$ac_ext
84735 cat >>conftest.$ac_ext <<_ACEOF
84736 /* end confdefs.h. */
84737 #include <poll.h>
84739 main ()
84741 struct pollfd pfd[1];
84742 pfd[0].events = POLLIN;
84743 poll(pfd, 1, 0);
84745 return 0;
84747 _ACEOF
84748 rm -f conftest.$ac_objext conftest$ac_exeext
84749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84750 (eval $ac_link) 2>conftest.er1
84751 ac_status=$?
84752 grep -v '^ *+' conftest.er1 >conftest.err
84753 rm -f conftest.er1
84754 cat conftest.err >&5
84755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84756 (exit $ac_status); } &&
84757 { ac_try='test -z "$ac_c_werror_flag"
84758 || test ! -s conftest.err'
84759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84760 (eval $ac_try) 2>&5
84761 ac_status=$?
84762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84763 (exit $ac_status); }; } &&
84764 { ac_try='test -s conftest$ac_exeext'
84765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84766 (eval $ac_try) 2>&5
84767 ac_status=$?
84768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84769 (exit $ac_status); }; }; then
84770 glibcxx_cv_POLL=yes
84771 else
84772 echo "$as_me: failed program was:" >&5
84773 sed 's/^/| /' conftest.$ac_ext >&5
84775 glibcxx_cv_POLL=no
84777 rm -f conftest.err conftest.$ac_objext \
84778 conftest$ac_exeext conftest.$ac_ext
84782 if test $glibcxx_cv_POLL = yes; then
84784 cat >>confdefs.h <<\_ACEOF
84785 #define HAVE_POLL 1
84786 _ACEOF
84789 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84790 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84793 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84794 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84795 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84796 echo $ECHO_N "(cached) $ECHO_C" >&6
84797 else
84799 if test x$gcc_no_link = xyes; then
84800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84802 { (exit 1); exit 1; }; }
84804 cat >conftest.$ac_ext <<_ACEOF
84805 /* confdefs.h. */
84806 _ACEOF
84807 cat confdefs.h >>conftest.$ac_ext
84808 cat >>conftest.$ac_ext <<_ACEOF
84809 /* end confdefs.h. */
84810 #include <sys/stat.h>
84812 main ()
84814 struct stat buffer;
84815 fstat(0, &buffer);
84816 S_ISREG(buffer.st_mode);
84818 return 0;
84820 _ACEOF
84821 rm -f conftest.$ac_objext conftest$ac_exeext
84822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84823 (eval $ac_link) 2>conftest.er1
84824 ac_status=$?
84825 grep -v '^ *+' conftest.er1 >conftest.err
84826 rm -f conftest.er1
84827 cat conftest.err >&5
84828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84829 (exit $ac_status); } &&
84830 { ac_try='test -z "$ac_c_werror_flag"
84831 || test ! -s conftest.err'
84832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84833 (eval $ac_try) 2>&5
84834 ac_status=$?
84835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84836 (exit $ac_status); }; } &&
84837 { ac_try='test -s conftest$ac_exeext'
84838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84839 (eval $ac_try) 2>&5
84840 ac_status=$?
84841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84842 (exit $ac_status); }; }; then
84843 glibcxx_cv_S_ISREG=yes
84844 else
84845 echo "$as_me: failed program was:" >&5
84846 sed 's/^/| /' conftest.$ac_ext >&5
84848 glibcxx_cv_S_ISREG=no
84850 rm -f conftest.err conftest.$ac_objext \
84851 conftest$ac_exeext conftest.$ac_ext
84855 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84856 echo $ECHO_N "(cached) $ECHO_C" >&6
84857 else
84859 if test x$gcc_no_link = xyes; then
84860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84862 { (exit 1); exit 1; }; }
84864 cat >conftest.$ac_ext <<_ACEOF
84865 /* confdefs.h. */
84866 _ACEOF
84867 cat confdefs.h >>conftest.$ac_ext
84868 cat >>conftest.$ac_ext <<_ACEOF
84869 /* end confdefs.h. */
84870 #include <sys/stat.h>
84872 main ()
84874 struct stat buffer;
84875 fstat(0, &buffer);
84876 S_IFREG & buffer.st_mode;
84878 return 0;
84880 _ACEOF
84881 rm -f conftest.$ac_objext conftest$ac_exeext
84882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84883 (eval $ac_link) 2>conftest.er1
84884 ac_status=$?
84885 grep -v '^ *+' conftest.er1 >conftest.err
84886 rm -f conftest.er1
84887 cat conftest.err >&5
84888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84889 (exit $ac_status); } &&
84890 { ac_try='test -z "$ac_c_werror_flag"
84891 || test ! -s conftest.err'
84892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84893 (eval $ac_try) 2>&5
84894 ac_status=$?
84895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896 (exit $ac_status); }; } &&
84897 { ac_try='test -s conftest$ac_exeext'
84898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84899 (eval $ac_try) 2>&5
84900 ac_status=$?
84901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84902 (exit $ac_status); }; }; then
84903 glibcxx_cv_S_IFREG=yes
84904 else
84905 echo "$as_me: failed program was:" >&5
84906 sed 's/^/| /' conftest.$ac_ext >&5
84908 glibcxx_cv_S_IFREG=no
84910 rm -f conftest.err conftest.$ac_objext \
84911 conftest$ac_exeext conftest.$ac_ext
84915 res=no
84916 if test $glibcxx_cv_S_ISREG = yes; then
84918 cat >>confdefs.h <<\_ACEOF
84919 #define HAVE_S_ISREG 1
84920 _ACEOF
84922 res=S_ISREG
84923 elif test $glibcxx_cv_S_IFREG = yes; then
84925 cat >>confdefs.h <<\_ACEOF
84926 #define HAVE_S_IFREG 1
84927 _ACEOF
84929 res=S_IFREG
84931 echo "$as_me:$LINENO: result: $res" >&5
84932 echo "${ECHO_T}$res" >&6
84935 # For xsputn_2().
84937 for ac_header in sys/uio.h
84939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84941 echo "$as_me:$LINENO: checking for $ac_header" >&5
84942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84944 echo $ECHO_N "(cached) $ECHO_C" >&6
84946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84948 else
84949 # Is the header compilable?
84950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84952 cat >conftest.$ac_ext <<_ACEOF
84953 /* confdefs.h. */
84954 _ACEOF
84955 cat confdefs.h >>conftest.$ac_ext
84956 cat >>conftest.$ac_ext <<_ACEOF
84957 /* end confdefs.h. */
84958 $ac_includes_default
84959 #include <$ac_header>
84960 _ACEOF
84961 rm -f conftest.$ac_objext
84962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84963 (eval $ac_compile) 2>conftest.er1
84964 ac_status=$?
84965 grep -v '^ *+' conftest.er1 >conftest.err
84966 rm -f conftest.er1
84967 cat conftest.err >&5
84968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84969 (exit $ac_status); } &&
84970 { ac_try='test -z "$ac_c_werror_flag"
84971 || test ! -s conftest.err'
84972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84973 (eval $ac_try) 2>&5
84974 ac_status=$?
84975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84976 (exit $ac_status); }; } &&
84977 { ac_try='test -s conftest.$ac_objext'
84978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84979 (eval $ac_try) 2>&5
84980 ac_status=$?
84981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84982 (exit $ac_status); }; }; then
84983 ac_header_compiler=yes
84984 else
84985 echo "$as_me: failed program was:" >&5
84986 sed 's/^/| /' conftest.$ac_ext >&5
84988 ac_header_compiler=no
84990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84992 echo "${ECHO_T}$ac_header_compiler" >&6
84994 # Is the header present?
84995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84997 cat >conftest.$ac_ext <<_ACEOF
84998 /* confdefs.h. */
84999 _ACEOF
85000 cat confdefs.h >>conftest.$ac_ext
85001 cat >>conftest.$ac_ext <<_ACEOF
85002 /* end confdefs.h. */
85003 #include <$ac_header>
85004 _ACEOF
85005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85007 ac_status=$?
85008 grep -v '^ *+' conftest.er1 >conftest.err
85009 rm -f conftest.er1
85010 cat conftest.err >&5
85011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85012 (exit $ac_status); } >/dev/null; then
85013 if test -s conftest.err; then
85014 ac_cpp_err=$ac_c_preproc_warn_flag
85015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85016 else
85017 ac_cpp_err=
85019 else
85020 ac_cpp_err=yes
85022 if test -z "$ac_cpp_err"; then
85023 ac_header_preproc=yes
85024 else
85025 echo "$as_me: failed program was:" >&5
85026 sed 's/^/| /' conftest.$ac_ext >&5
85028 ac_header_preproc=no
85030 rm -f conftest.err conftest.$ac_ext
85031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85032 echo "${ECHO_T}$ac_header_preproc" >&6
85034 # So? What about this header?
85035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85036 yes:no: )
85037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85041 ac_header_preproc=yes
85043 no:yes:* )
85044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85057 cat <<\_ASBOX
85058 ## ----------------------------------------- ##
85059 ## Report this to the package-unused lists. ##
85060 ## ----------------------------------------- ##
85061 _ASBOX
85063 sed "s/^/$as_me: WARNING: /" >&2
85065 esac
85066 echo "$as_me:$LINENO: checking for $ac_header" >&5
85067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85069 echo $ECHO_N "(cached) $ECHO_C" >&6
85070 else
85071 eval "$as_ac_Header=\$ac_header_preproc"
85073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85078 cat >>confdefs.h <<_ACEOF
85079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85080 _ACEOF
85084 done
85087 echo "$as_me:$LINENO: checking for writev" >&5
85088 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85089 if test "${glibcxx_cv_WRITEV+set}" = set; then
85090 echo $ECHO_N "(cached) $ECHO_C" >&6
85091 else
85093 if test x$gcc_no_link = xyes; then
85094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85096 { (exit 1); exit 1; }; }
85098 cat >conftest.$ac_ext <<_ACEOF
85099 /* confdefs.h. */
85100 _ACEOF
85101 cat confdefs.h >>conftest.$ac_ext
85102 cat >>conftest.$ac_ext <<_ACEOF
85103 /* end confdefs.h. */
85104 #include <sys/uio.h>
85106 main ()
85108 struct iovec iov[2];
85109 writev(0, iov, 0);
85111 return 0;
85113 _ACEOF
85114 rm -f conftest.$ac_objext conftest$ac_exeext
85115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85116 (eval $ac_link) 2>conftest.er1
85117 ac_status=$?
85118 grep -v '^ *+' conftest.er1 >conftest.err
85119 rm -f conftest.er1
85120 cat conftest.err >&5
85121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122 (exit $ac_status); } &&
85123 { ac_try='test -z "$ac_c_werror_flag"
85124 || test ! -s conftest.err'
85125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85126 (eval $ac_try) 2>&5
85127 ac_status=$?
85128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85129 (exit $ac_status); }; } &&
85130 { ac_try='test -s conftest$ac_exeext'
85131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85132 (eval $ac_try) 2>&5
85133 ac_status=$?
85134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135 (exit $ac_status); }; }; then
85136 glibcxx_cv_WRITEV=yes
85137 else
85138 echo "$as_me: failed program was:" >&5
85139 sed 's/^/| /' conftest.$ac_ext >&5
85141 glibcxx_cv_WRITEV=no
85143 rm -f conftest.err conftest.$ac_objext \
85144 conftest$ac_exeext conftest.$ac_ext
85148 if test $glibcxx_cv_WRITEV = yes; then
85150 cat >>confdefs.h <<\_ACEOF
85151 #define HAVE_WRITEV 1
85152 _ACEOF
85155 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85156 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85159 cat >>confdefs.h <<\_ACEOF
85160 #define HAVE_LC_MESSAGES 1
85161 _ACEOF
85164 cat >conftest.$ac_ext <<_ACEOF
85165 /* confdefs.h. */
85166 _ACEOF
85167 cat confdefs.h >>conftest.$ac_ext
85168 cat >>conftest.$ac_ext <<_ACEOF
85169 /* end confdefs.h. */
85170 #include <setjmp.h>
85172 main ()
85174 sigjmp_buf env;
85175 while (! sigsetjmp (env, 1))
85176 siglongjmp (env, 1);
85179 return 0;
85181 _ACEOF
85182 rm -f conftest.$ac_objext
85183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85184 (eval $ac_compile) 2>conftest.er1
85185 ac_status=$?
85186 grep -v '^ *+' conftest.er1 >conftest.err
85187 rm -f conftest.er1
85188 cat conftest.err >&5
85189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85190 (exit $ac_status); } &&
85191 { ac_try='test -z "$ac_c_werror_flag"
85192 || test ! -s conftest.err'
85193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85194 (eval $ac_try) 2>&5
85195 ac_status=$?
85196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85197 (exit $ac_status); }; } &&
85198 { ac_try='test -s conftest.$ac_objext'
85199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85200 (eval $ac_try) 2>&5
85201 ac_status=$?
85202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85203 (exit $ac_status); }; }; then
85205 cat >>confdefs.h <<\_ACEOF
85206 #define HAVE_SIGSETJMP 1
85207 _ACEOF
85209 else
85210 echo "$as_me: failed program was:" >&5
85211 sed 's/^/| /' conftest.$ac_ext >&5
85214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85216 cat >>confdefs.h <<\_ACEOF
85217 #define HAVE_MMAP 1
85218 _ACEOF
85222 *djgpp)
85243 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85244 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85245 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85246 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85250 echo "$as_me:$LINENO: checking for $ac_header" >&5
85251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85253 echo $ECHO_N "(cached) $ECHO_C" >&6
85255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85257 else
85258 # Is the header compilable?
85259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85261 cat >conftest.$ac_ext <<_ACEOF
85262 /* confdefs.h. */
85263 _ACEOF
85264 cat confdefs.h >>conftest.$ac_ext
85265 cat >>conftest.$ac_ext <<_ACEOF
85266 /* end confdefs.h. */
85267 $ac_includes_default
85268 #include <$ac_header>
85269 _ACEOF
85270 rm -f conftest.$ac_objext
85271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85272 (eval $ac_compile) 2>conftest.er1
85273 ac_status=$?
85274 grep -v '^ *+' conftest.er1 >conftest.err
85275 rm -f conftest.er1
85276 cat conftest.err >&5
85277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85278 (exit $ac_status); } &&
85279 { ac_try='test -z "$ac_c_werror_flag"
85280 || test ! -s conftest.err'
85281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85282 (eval $ac_try) 2>&5
85283 ac_status=$?
85284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85285 (exit $ac_status); }; } &&
85286 { ac_try='test -s conftest.$ac_objext'
85287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85288 (eval $ac_try) 2>&5
85289 ac_status=$?
85290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85291 (exit $ac_status); }; }; then
85292 ac_header_compiler=yes
85293 else
85294 echo "$as_me: failed program was:" >&5
85295 sed 's/^/| /' conftest.$ac_ext >&5
85297 ac_header_compiler=no
85299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85301 echo "${ECHO_T}$ac_header_compiler" >&6
85303 # Is the header present?
85304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85306 cat >conftest.$ac_ext <<_ACEOF
85307 /* confdefs.h. */
85308 _ACEOF
85309 cat confdefs.h >>conftest.$ac_ext
85310 cat >>conftest.$ac_ext <<_ACEOF
85311 /* end confdefs.h. */
85312 #include <$ac_header>
85313 _ACEOF
85314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85316 ac_status=$?
85317 grep -v '^ *+' conftest.er1 >conftest.err
85318 rm -f conftest.er1
85319 cat conftest.err >&5
85320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85321 (exit $ac_status); } >/dev/null; then
85322 if test -s conftest.err; then
85323 ac_cpp_err=$ac_c_preproc_warn_flag
85324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85325 else
85326 ac_cpp_err=
85328 else
85329 ac_cpp_err=yes
85331 if test -z "$ac_cpp_err"; then
85332 ac_header_preproc=yes
85333 else
85334 echo "$as_me: failed program was:" >&5
85335 sed 's/^/| /' conftest.$ac_ext >&5
85337 ac_header_preproc=no
85339 rm -f conftest.err conftest.$ac_ext
85340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85341 echo "${ECHO_T}$ac_header_preproc" >&6
85343 # So? What about this header?
85344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85345 yes:no: )
85346 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85350 ac_header_preproc=yes
85352 no:yes:* )
85353 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85355 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85356 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85357 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85359 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85360 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85361 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85363 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85366 cat <<\_ASBOX
85367 ## ----------------------------------------- ##
85368 ## Report this to the package-unused lists. ##
85369 ## ----------------------------------------- ##
85370 _ASBOX
85372 sed "s/^/$as_me: WARNING: /" >&2
85374 esac
85375 echo "$as_me:$LINENO: checking for $ac_header" >&5
85376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85378 echo $ECHO_N "(cached) $ECHO_C" >&6
85379 else
85380 eval "$as_ac_Header=\$ac_header_preproc"
85382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85387 cat >>confdefs.h <<_ACEOF
85388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85389 _ACEOF
85393 done
85395 # GLIBCXX_CHECK_MATH_SUPPORT
85396 cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_LIBM 1
85398 _ACEOF
85400 cat >>confdefs.h <<\_ACEOF
85401 #define HAVE_ISINF 1
85402 _ACEOF
85404 cat >>confdefs.h <<\_ACEOF
85405 #define HAVE_ISNAN 1
85406 _ACEOF
85408 cat >>confdefs.h <<\_ACEOF
85409 #define HAVE_FINITE 1
85410 _ACEOF
85412 cat >>confdefs.h <<\_ACEOF
85413 #define HAVE_COPYSIGN 1
85414 _ACEOF
85416 cat >>confdefs.h <<\_ACEOF
85417 #define HAVE_SINCOS 1
85418 _ACEOF
85420 cat >>confdefs.h <<\_ACEOF
85421 #define HAVE_HYPOT 1
85422 _ACEOF
85424 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE___BUILTIN_ABS 1
85427 _ACEOF
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE___BUILTIN_FABSF 1
85431 _ACEOF
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE___BUILTIN_FABS 1
85435 _ACEOF
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE___BUILTIN_FABSL 1
85439 _ACEOF
85441 cat >>confdefs.h <<\_ACEOF
85442 #define HAVE___BUILTIN_LABS 1
85443 _ACEOF
85445 cat >>confdefs.h <<\_ACEOF
85446 #define HAVE___BUILTIN_SQRTF 1
85447 _ACEOF
85449 cat >>confdefs.h <<\_ACEOF
85450 #define HAVE___BUILTIN_SQRT 1
85451 _ACEOF
85453 cat >>confdefs.h <<\_ACEOF
85454 #define HAVE___BUILTIN_SQRTL 1
85455 _ACEOF
85457 cat >>confdefs.h <<\_ACEOF
85458 #define HAVE___BUILTIN_SINF 1
85459 _ACEOF
85461 cat >>confdefs.h <<\_ACEOF
85462 #define HAVE___BUILTIN_SIN 1
85463 _ACEOF
85465 cat >>confdefs.h <<\_ACEOF
85466 #define HAVE___BUILTIN_SINL 1
85467 _ACEOF
85469 cat >>confdefs.h <<\_ACEOF
85470 #define HAVE___BUILTIN_COSF 1
85471 _ACEOF
85473 cat >>confdefs.h <<\_ACEOF
85474 #define HAVE___BUILTIN_COS 1
85475 _ACEOF
85477 cat >>confdefs.h <<\_ACEOF
85478 #define HAVE___BUILTIN_COSL 1
85479 _ACEOF
85481 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85482 # GLIBCXX_CHECK_STDLIB_SUPPORT
85483 cat >>confdefs.h <<\_ACEOF
85484 #define HAVE_COPYSIGN 1
85485 _ACEOF
85487 cat >>confdefs.h <<\_ACEOF
85488 #define HAVE_COPYSIGNF 1
85489 _ACEOF
85491 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85492 cat >>confdefs.h <<\_ACEOF
85493 #define HAVE_S_ISREG 1
85494 _ACEOF
85496 cat >>confdefs.h <<\_ACEOF
85497 #define HAVE_S_IFREG 1
85498 _ACEOF
85500 cat >>confdefs.h <<\_ACEOF
85501 #define HAVE_WRITEV 1
85502 _ACEOF
85506 *-freebsd*)
85523 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85524 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85525 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85526 sys/time.h unistd.h
85528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85530 echo "$as_me:$LINENO: checking for $ac_header" >&5
85531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85533 echo $ECHO_N "(cached) $ECHO_C" >&6
85535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85537 else
85538 # Is the header compilable?
85539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85541 cat >conftest.$ac_ext <<_ACEOF
85542 /* confdefs.h. */
85543 _ACEOF
85544 cat confdefs.h >>conftest.$ac_ext
85545 cat >>conftest.$ac_ext <<_ACEOF
85546 /* end confdefs.h. */
85547 $ac_includes_default
85548 #include <$ac_header>
85549 _ACEOF
85550 rm -f conftest.$ac_objext
85551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85552 (eval $ac_compile) 2>conftest.er1
85553 ac_status=$?
85554 grep -v '^ *+' conftest.er1 >conftest.err
85555 rm -f conftest.er1
85556 cat conftest.err >&5
85557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85558 (exit $ac_status); } &&
85559 { ac_try='test -z "$ac_c_werror_flag"
85560 || test ! -s conftest.err'
85561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85562 (eval $ac_try) 2>&5
85563 ac_status=$?
85564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85565 (exit $ac_status); }; } &&
85566 { ac_try='test -s conftest.$ac_objext'
85567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85568 (eval $ac_try) 2>&5
85569 ac_status=$?
85570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85571 (exit $ac_status); }; }; then
85572 ac_header_compiler=yes
85573 else
85574 echo "$as_me: failed program was:" >&5
85575 sed 's/^/| /' conftest.$ac_ext >&5
85577 ac_header_compiler=no
85579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85581 echo "${ECHO_T}$ac_header_compiler" >&6
85583 # Is the header present?
85584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85586 cat >conftest.$ac_ext <<_ACEOF
85587 /* confdefs.h. */
85588 _ACEOF
85589 cat confdefs.h >>conftest.$ac_ext
85590 cat >>conftest.$ac_ext <<_ACEOF
85591 /* end confdefs.h. */
85592 #include <$ac_header>
85593 _ACEOF
85594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85596 ac_status=$?
85597 grep -v '^ *+' conftest.er1 >conftest.err
85598 rm -f conftest.er1
85599 cat conftest.err >&5
85600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85601 (exit $ac_status); } >/dev/null; then
85602 if test -s conftest.err; then
85603 ac_cpp_err=$ac_c_preproc_warn_flag
85604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85605 else
85606 ac_cpp_err=
85608 else
85609 ac_cpp_err=yes
85611 if test -z "$ac_cpp_err"; then
85612 ac_header_preproc=yes
85613 else
85614 echo "$as_me: failed program was:" >&5
85615 sed 's/^/| /' conftest.$ac_ext >&5
85617 ac_header_preproc=no
85619 rm -f conftest.err conftest.$ac_ext
85620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85621 echo "${ECHO_T}$ac_header_preproc" >&6
85623 # So? What about this header?
85624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85625 yes:no: )
85626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85630 ac_header_preproc=yes
85632 no:yes:* )
85633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85646 cat <<\_ASBOX
85647 ## ----------------------------------------- ##
85648 ## Report this to the package-unused lists. ##
85649 ## ----------------------------------------- ##
85650 _ASBOX
85652 sed "s/^/$as_me: WARNING: /" >&2
85654 esac
85655 echo "$as_me:$LINENO: checking for $ac_header" >&5
85656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85658 echo $ECHO_N "(cached) $ECHO_C" >&6
85659 else
85660 eval "$as_ac_Header=\$ac_header_preproc"
85662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85667 cat >>confdefs.h <<_ACEOF
85668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85669 _ACEOF
85673 done
85675 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85678 # If we're not using GNU ld, then there's no point in even trying these
85679 # tests. Check for that first. We should have already tested for gld
85680 # by now (in libtool), but require it now just to be safe...
85681 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85682 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85686 # The name set by libtool depends on the version of libtool. Shame on us
85687 # for depending on an impl detail, but c'est la vie. Older versions used
85688 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85689 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85690 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85691 # set (hence we're using an older libtool), then set it.
85692 if test x${with_gnu_ld+set} != xset; then
85693 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85694 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85695 with_gnu_ld=no
85696 else
85697 with_gnu_ld=$ac_cv_prog_gnu_ld
85701 # Start by getting the version number. I think the libtool test already
85702 # does some of this, but throws away the result.
85703 glibcxx_ld_is_gold=no
85704 if test x"$with_gnu_ld" = x"yes"; then
85705 echo "$as_me:$LINENO: checking for ld version" >&5
85706 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85708 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85709 glibcxx_ld_is_gold=yes
85711 ldver=`$LD --version 2>/dev/null | head -1 | \
85712 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85714 glibcxx_gnu_ld_version=`echo $ldver | \
85715 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85716 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85717 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85720 # Set --gc-sections.
85721 glibcxx_have_gc_sections=no
85722 if test "$glibcxx_ld_is_gold" = "yes"; then
85723 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85724 glibcxx_have_gc_sections=yes
85726 else
85727 glibcxx_gcsections_min_ld=21602
85728 if test x"$with_gnu_ld" = x"yes" &&
85729 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85730 glibcxx_have_gc_sections=yes
85733 if test "$glibcxx_have_gc_sections" = "yes"; then
85734 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85735 # NB: This flag only works reliably after 2.16.1. Configure tests
85736 # for this are difficult, so hard wire a value that should work.
85738 ac_test_CFLAGS="${CFLAGS+set}"
85739 ac_save_CFLAGS="$CFLAGS"
85740 CFLAGS='-Wl,--gc-sections'
85742 # Check for -Wl,--gc-sections
85743 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85744 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85745 if test x$gcc_no_link = xyes; then
85746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85748 { (exit 1); exit 1; }; }
85750 cat >conftest.$ac_ext <<_ACEOF
85751 /* confdefs.h. */
85752 _ACEOF
85753 cat confdefs.h >>conftest.$ac_ext
85754 cat >>conftest.$ac_ext <<_ACEOF
85755 /* end confdefs.h. */
85756 int one(void) { return 1; }
85757 int two(void) { return 2; }
85760 main ()
85762 two();
85764 return 0;
85766 _ACEOF
85767 rm -f conftest.$ac_objext conftest$ac_exeext
85768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85769 (eval $ac_link) 2>conftest.er1
85770 ac_status=$?
85771 grep -v '^ *+' conftest.er1 >conftest.err
85772 rm -f conftest.er1
85773 cat conftest.err >&5
85774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85775 (exit $ac_status); } &&
85776 { ac_try='test -z "$ac_c_werror_flag"
85777 || test ! -s conftest.err'
85778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85779 (eval $ac_try) 2>&5
85780 ac_status=$?
85781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85782 (exit $ac_status); }; } &&
85783 { ac_try='test -s conftest$ac_exeext'
85784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85785 (eval $ac_try) 2>&5
85786 ac_status=$?
85787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85788 (exit $ac_status); }; }; then
85789 ac_gcsections=yes
85790 else
85791 echo "$as_me: failed program was:" >&5
85792 sed 's/^/| /' conftest.$ac_ext >&5
85794 ac_gcsections=no
85796 rm -f conftest.err conftest.$ac_objext \
85797 conftest$ac_exeext conftest.$ac_ext
85798 if test "$ac_gcsections" = "yes"; then
85799 rm -f conftest.c
85800 touch conftest.c
85801 if $CC -c conftest.c; then
85802 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85803 grep "Warning: gc-sections option ignored" > /dev/null; then
85804 ac_gcsections=no
85807 rm -f conftest.c conftest.o conftest
85809 if test "$ac_gcsections" = "yes"; then
85810 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85812 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85813 echo "${ECHO_T}$ac_gcsections" >&6
85815 if test "$ac_test_CFLAGS" = set; then
85816 CFLAGS="$ac_save_CFLAGS"
85817 else
85818 # this is the suspicious part
85819 CFLAGS=''
85823 # Set -z,relro.
85824 # Note this is only for shared objects.
85825 ac_ld_relro=no
85826 if test x"$with_gnu_ld" = x"yes"; then
85827 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85828 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85829 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85830 if test -n "$cxx_z_relo"; then
85831 OPT_LDFLAGS="-Wl,-z,relro"
85832 ac_ld_relro=yes
85834 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85835 echo "${ECHO_T}$ac_ld_relro" >&6
85838 # Set linker optimization flags.
85839 if test x"$with_gnu_ld" = x"yes"; then
85840 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85848 echo "$as_me:$LINENO: checking for main in -lm" >&5
85849 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85850 if test "${ac_cv_lib_m_main+set}" = set; then
85851 echo $ECHO_N "(cached) $ECHO_C" >&6
85852 else
85853 ac_check_lib_save_LIBS=$LIBS
85854 LIBS="-lm $LIBS"
85855 if test x$gcc_no_link = xyes; then
85856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85858 { (exit 1); exit 1; }; }
85860 cat >conftest.$ac_ext <<_ACEOF
85861 /* confdefs.h. */
85862 _ACEOF
85863 cat confdefs.h >>conftest.$ac_ext
85864 cat >>conftest.$ac_ext <<_ACEOF
85865 /* end confdefs.h. */
85869 main ()
85871 main ();
85873 return 0;
85875 _ACEOF
85876 rm -f conftest.$ac_objext conftest$ac_exeext
85877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85878 (eval $ac_link) 2>conftest.er1
85879 ac_status=$?
85880 grep -v '^ *+' conftest.er1 >conftest.err
85881 rm -f conftest.er1
85882 cat conftest.err >&5
85883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85884 (exit $ac_status); } &&
85885 { ac_try='test -z "$ac_c_werror_flag"
85886 || test ! -s conftest.err'
85887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85888 (eval $ac_try) 2>&5
85889 ac_status=$?
85890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85891 (exit $ac_status); }; } &&
85892 { ac_try='test -s conftest$ac_exeext'
85893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85894 (eval $ac_try) 2>&5
85895 ac_status=$?
85896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85897 (exit $ac_status); }; }; then
85898 ac_cv_lib_m_main=yes
85899 else
85900 echo "$as_me: failed program was:" >&5
85901 sed 's/^/| /' conftest.$ac_ext >&5
85903 ac_cv_lib_m_main=no
85905 rm -f conftest.err conftest.$ac_objext \
85906 conftest$ac_exeext conftest.$ac_ext
85907 LIBS=$ac_check_lib_save_LIBS
85909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85910 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85911 if test $ac_cv_lib_m_main = yes; then
85912 cat >>confdefs.h <<_ACEOF
85913 #define HAVE_LIBM 1
85914 _ACEOF
85916 LIBS="-lm $LIBS"
85921 for ac_func in copysignf
85923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85924 echo "$as_me:$LINENO: checking for $ac_func" >&5
85925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85926 if eval "test \"\${$as_ac_var+set}\" = set"; then
85927 echo $ECHO_N "(cached) $ECHO_C" >&6
85928 else
85929 if test x$gcc_no_link = xyes; then
85930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85932 { (exit 1); exit 1; }; }
85934 cat >conftest.$ac_ext <<_ACEOF
85935 /* confdefs.h. */
85936 _ACEOF
85937 cat confdefs.h >>conftest.$ac_ext
85938 cat >>conftest.$ac_ext <<_ACEOF
85939 /* end confdefs.h. */
85940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85942 #define $ac_func innocuous_$ac_func
85944 /* System header to define __stub macros and hopefully few prototypes,
85945 which can conflict with char $ac_func (); below.
85946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85947 <limits.h> exists even on freestanding compilers. */
85949 #ifdef __STDC__
85950 # include <limits.h>
85951 #else
85952 # include <assert.h>
85953 #endif
85955 #undef $ac_func
85957 /* Override any gcc2 internal prototype to avoid an error. */
85958 #ifdef __cplusplus
85959 extern "C"
85961 #endif
85962 /* We use char because int might match the return type of a gcc2
85963 builtin and then its argument prototype would still apply. */
85964 char $ac_func ();
85965 /* The GNU C library defines this for functions which it implements
85966 to always fail with ENOSYS. Some functions are actually named
85967 something starting with __ and the normal name is an alias. */
85968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85969 choke me
85970 #else
85971 char (*f) () = $ac_func;
85972 #endif
85973 #ifdef __cplusplus
85975 #endif
85978 main ()
85980 return f != $ac_func;
85982 return 0;
85984 _ACEOF
85985 rm -f conftest.$ac_objext conftest$ac_exeext
85986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85987 (eval $ac_link) 2>conftest.er1
85988 ac_status=$?
85989 grep -v '^ *+' conftest.er1 >conftest.err
85990 rm -f conftest.er1
85991 cat conftest.err >&5
85992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85993 (exit $ac_status); } &&
85994 { ac_try='test -z "$ac_c_werror_flag"
85995 || test ! -s conftest.err'
85996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85997 (eval $ac_try) 2>&5
85998 ac_status=$?
85999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86000 (exit $ac_status); }; } &&
86001 { ac_try='test -s conftest$ac_exeext'
86002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86003 (eval $ac_try) 2>&5
86004 ac_status=$?
86005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86006 (exit $ac_status); }; }; then
86007 eval "$as_ac_var=yes"
86008 else
86009 echo "$as_me: failed program was:" >&5
86010 sed 's/^/| /' conftest.$ac_ext >&5
86012 eval "$as_ac_var=no"
86014 rm -f conftest.err conftest.$ac_objext \
86015 conftest$ac_exeext conftest.$ac_ext
86017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86019 if test `eval echo '${'$as_ac_var'}'` = yes; then
86020 cat >>confdefs.h <<_ACEOF
86021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86022 _ACEOF
86024 else
86025 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86027 done
86031 for ac_func in __signbit
86033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86034 echo "$as_me:$LINENO: checking for $ac_func" >&5
86035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86036 if eval "test \"\${$as_ac_var+set}\" = set"; then
86037 echo $ECHO_N "(cached) $ECHO_C" >&6
86038 else
86039 if test x$gcc_no_link = xyes; then
86040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86042 { (exit 1); exit 1; }; }
86044 cat >conftest.$ac_ext <<_ACEOF
86045 /* confdefs.h. */
86046 _ACEOF
86047 cat confdefs.h >>conftest.$ac_ext
86048 cat >>conftest.$ac_ext <<_ACEOF
86049 /* end confdefs.h. */
86050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86052 #define $ac_func innocuous_$ac_func
86054 /* System header to define __stub macros and hopefully few prototypes,
86055 which can conflict with char $ac_func (); below.
86056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86057 <limits.h> exists even on freestanding compilers. */
86059 #ifdef __STDC__
86060 # include <limits.h>
86061 #else
86062 # include <assert.h>
86063 #endif
86065 #undef $ac_func
86067 /* Override any gcc2 internal prototype to avoid an error. */
86068 #ifdef __cplusplus
86069 extern "C"
86071 #endif
86072 /* We use char because int might match the return type of a gcc2
86073 builtin and then its argument prototype would still apply. */
86074 char $ac_func ();
86075 /* The GNU C library defines this for functions which it implements
86076 to always fail with ENOSYS. Some functions are actually named
86077 something starting with __ and the normal name is an alias. */
86078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86079 choke me
86080 #else
86081 char (*f) () = $ac_func;
86082 #endif
86083 #ifdef __cplusplus
86085 #endif
86088 main ()
86090 return f != $ac_func;
86092 return 0;
86094 _ACEOF
86095 rm -f conftest.$ac_objext conftest$ac_exeext
86096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86097 (eval $ac_link) 2>conftest.er1
86098 ac_status=$?
86099 grep -v '^ *+' conftest.er1 >conftest.err
86100 rm -f conftest.er1
86101 cat conftest.err >&5
86102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86103 (exit $ac_status); } &&
86104 { ac_try='test -z "$ac_c_werror_flag"
86105 || test ! -s conftest.err'
86106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86107 (eval $ac_try) 2>&5
86108 ac_status=$?
86109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86110 (exit $ac_status); }; } &&
86111 { ac_try='test -s conftest$ac_exeext'
86112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86113 (eval $ac_try) 2>&5
86114 ac_status=$?
86115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86116 (exit $ac_status); }; }; then
86117 eval "$as_ac_var=yes"
86118 else
86119 echo "$as_me: failed program was:" >&5
86120 sed 's/^/| /' conftest.$ac_ext >&5
86122 eval "$as_ac_var=no"
86124 rm -f conftest.err conftest.$ac_objext \
86125 conftest$ac_exeext conftest.$ac_ext
86127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86129 if test `eval echo '${'$as_ac_var'}'` = yes; then
86130 cat >>confdefs.h <<_ACEOF
86131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86132 _ACEOF
86134 else
86135 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86137 done
86141 for ac_func in __signbitf
86143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86144 echo "$as_me:$LINENO: checking for $ac_func" >&5
86145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86146 if eval "test \"\${$as_ac_var+set}\" = set"; then
86147 echo $ECHO_N "(cached) $ECHO_C" >&6
86148 else
86149 if test x$gcc_no_link = xyes; then
86150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86152 { (exit 1); exit 1; }; }
86154 cat >conftest.$ac_ext <<_ACEOF
86155 /* confdefs.h. */
86156 _ACEOF
86157 cat confdefs.h >>conftest.$ac_ext
86158 cat >>conftest.$ac_ext <<_ACEOF
86159 /* end confdefs.h. */
86160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86162 #define $ac_func innocuous_$ac_func
86164 /* System header to define __stub macros and hopefully few prototypes,
86165 which can conflict with char $ac_func (); below.
86166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86167 <limits.h> exists even on freestanding compilers. */
86169 #ifdef __STDC__
86170 # include <limits.h>
86171 #else
86172 # include <assert.h>
86173 #endif
86175 #undef $ac_func
86177 /* Override any gcc2 internal prototype to avoid an error. */
86178 #ifdef __cplusplus
86179 extern "C"
86181 #endif
86182 /* We use char because int might match the return type of a gcc2
86183 builtin and then its argument prototype would still apply. */
86184 char $ac_func ();
86185 /* The GNU C library defines this for functions which it implements
86186 to always fail with ENOSYS. Some functions are actually named
86187 something starting with __ and the normal name is an alias. */
86188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86189 choke me
86190 #else
86191 char (*f) () = $ac_func;
86192 #endif
86193 #ifdef __cplusplus
86195 #endif
86198 main ()
86200 return f != $ac_func;
86202 return 0;
86204 _ACEOF
86205 rm -f conftest.$ac_objext conftest$ac_exeext
86206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86207 (eval $ac_link) 2>conftest.er1
86208 ac_status=$?
86209 grep -v '^ *+' conftest.er1 >conftest.err
86210 rm -f conftest.er1
86211 cat conftest.err >&5
86212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86213 (exit $ac_status); } &&
86214 { ac_try='test -z "$ac_c_werror_flag"
86215 || test ! -s conftest.err'
86216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86217 (eval $ac_try) 2>&5
86218 ac_status=$?
86219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220 (exit $ac_status); }; } &&
86221 { ac_try='test -s conftest$ac_exeext'
86222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86223 (eval $ac_try) 2>&5
86224 ac_status=$?
86225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86226 (exit $ac_status); }; }; then
86227 eval "$as_ac_var=yes"
86228 else
86229 echo "$as_me: failed program was:" >&5
86230 sed 's/^/| /' conftest.$ac_ext >&5
86232 eval "$as_ac_var=no"
86234 rm -f conftest.err conftest.$ac_objext \
86235 conftest$ac_exeext conftest.$ac_ext
86237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86239 if test `eval echo '${'$as_ac_var'}'` = yes; then
86240 cat >>confdefs.h <<_ACEOF
86241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86242 _ACEOF
86244 else
86245 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86247 done
86250 if test x$ac_cv_func_copysignl = x"yes"; then
86252 for ac_func in __signbitl
86254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86255 echo "$as_me:$LINENO: checking for $ac_func" >&5
86256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86257 if eval "test \"\${$as_ac_var+set}\" = set"; then
86258 echo $ECHO_N "(cached) $ECHO_C" >&6
86259 else
86260 if test x$gcc_no_link = xyes; then
86261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86263 { (exit 1); exit 1; }; }
86265 cat >conftest.$ac_ext <<_ACEOF
86266 /* confdefs.h. */
86267 _ACEOF
86268 cat confdefs.h >>conftest.$ac_ext
86269 cat >>conftest.$ac_ext <<_ACEOF
86270 /* end confdefs.h. */
86271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86273 #define $ac_func innocuous_$ac_func
86275 /* System header to define __stub macros and hopefully few prototypes,
86276 which can conflict with char $ac_func (); below.
86277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86278 <limits.h> exists even on freestanding compilers. */
86280 #ifdef __STDC__
86281 # include <limits.h>
86282 #else
86283 # include <assert.h>
86284 #endif
86286 #undef $ac_func
86288 /* Override any gcc2 internal prototype to avoid an error. */
86289 #ifdef __cplusplus
86290 extern "C"
86292 #endif
86293 /* We use char because int might match the return type of a gcc2
86294 builtin and then its argument prototype would still apply. */
86295 char $ac_func ();
86296 /* The GNU C library defines this for functions which it implements
86297 to always fail with ENOSYS. Some functions are actually named
86298 something starting with __ and the normal name is an alias. */
86299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86300 choke me
86301 #else
86302 char (*f) () = $ac_func;
86303 #endif
86304 #ifdef __cplusplus
86306 #endif
86309 main ()
86311 return f != $ac_func;
86313 return 0;
86315 _ACEOF
86316 rm -f conftest.$ac_objext conftest$ac_exeext
86317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86318 (eval $ac_link) 2>conftest.er1
86319 ac_status=$?
86320 grep -v '^ *+' conftest.er1 >conftest.err
86321 rm -f conftest.er1
86322 cat conftest.err >&5
86323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86324 (exit $ac_status); } &&
86325 { ac_try='test -z "$ac_c_werror_flag"
86326 || test ! -s conftest.err'
86327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86328 (eval $ac_try) 2>&5
86329 ac_status=$?
86330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86331 (exit $ac_status); }; } &&
86332 { ac_try='test -s conftest$ac_exeext'
86333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86334 (eval $ac_try) 2>&5
86335 ac_status=$?
86336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86337 (exit $ac_status); }; }; then
86338 eval "$as_ac_var=yes"
86339 else
86340 echo "$as_me: failed program was:" >&5
86341 sed 's/^/| /' conftest.$ac_ext >&5
86343 eval "$as_ac_var=no"
86345 rm -f conftest.err conftest.$ac_objext \
86346 conftest$ac_exeext conftest.$ac_ext
86348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86350 if test `eval echo '${'$as_ac_var'}'` = yes; then
86351 cat >>confdefs.h <<_ACEOF
86352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86353 _ACEOF
86355 else
86356 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86358 done
86362 # Used in libmath/Makefile.am.
86363 if test -n "$LIBMATHOBJS"; then
86364 need_libmath=yes
86368 cat >>confdefs.h <<\_ACEOF
86369 #define HAVE_LC_MESSAGES 1
86370 _ACEOF
86372 cat >>confdefs.h <<\_ACEOF
86373 #define HAVE_GETPAGESIZE 1
86374 _ACEOF
86376 cat >>confdefs.h <<\_ACEOF
86377 #define HAVE_SETENV 1
86378 _ACEOF
86380 cat >>confdefs.h <<\_ACEOF
86381 #define HAVE_SIGSETJMP 1
86382 _ACEOF
86384 cat >>confdefs.h <<\_ACEOF
86385 #define HAVE_COPYSIGN 1
86386 _ACEOF
86388 cat >>confdefs.h <<\_ACEOF
86389 #define HAVE_COPYSIGNF 1
86390 _ACEOF
86392 cat >>confdefs.h <<\_ACEOF
86393 #define HAVE_FINITEF 1
86394 _ACEOF
86396 cat >>confdefs.h <<\_ACEOF
86397 #define HAVE_FINITE 1
86398 _ACEOF
86400 cat >>confdefs.h <<\_ACEOF
86401 #define HAVE_FREXPF 1
86402 _ACEOF
86404 cat >>confdefs.h <<\_ACEOF
86405 #define HAVE_HYPOT 1
86406 _ACEOF
86408 cat >>confdefs.h <<\_ACEOF
86409 #define HAVE_HYPOTF 1
86410 _ACEOF
86412 cat >>confdefs.h <<\_ACEOF
86413 #define HAVE_ISINF 1
86414 _ACEOF
86416 cat >>confdefs.h <<\_ACEOF
86417 #define HAVE_ISNAN 1
86418 _ACEOF
86420 cat >>confdefs.h <<\_ACEOF
86421 #define HAVE_ISNANF 1
86422 _ACEOF
86425 cat >>confdefs.h <<\_ACEOF
86426 #define HAVE_MMAP 1
86427 _ACEOF
86429 cat >>confdefs.h <<\_ACEOF
86430 #define HAVE_ACOSF 1
86431 _ACEOF
86433 cat >>confdefs.h <<\_ACEOF
86434 #define HAVE_ASINF 1
86435 _ACEOF
86437 cat >>confdefs.h <<\_ACEOF
86438 #define HAVE_ATAN2F 1
86439 _ACEOF
86441 cat >>confdefs.h <<\_ACEOF
86442 #define HAVE_ATANF 1
86443 _ACEOF
86445 cat >>confdefs.h <<\_ACEOF
86446 #define HAVE_CEILF 1
86447 _ACEOF
86449 cat >>confdefs.h <<\_ACEOF
86450 #define HAVE_COPYSIGN 1
86451 _ACEOF
86453 cat >>confdefs.h <<\_ACEOF
86454 #define HAVE_COPYSIGNF 1
86455 _ACEOF
86457 cat >>confdefs.h <<\_ACEOF
86458 #define HAVE_COSF 1
86459 _ACEOF
86461 cat >>confdefs.h <<\_ACEOF
86462 #define HAVE_COSHF 1
86463 _ACEOF
86465 cat >>confdefs.h <<\_ACEOF
86466 #define HAVE_EXPF 1
86467 _ACEOF
86469 cat >>confdefs.h <<\_ACEOF
86470 #define HAVE_FABSF 1
86471 _ACEOF
86473 cat >>confdefs.h <<\_ACEOF
86474 #define HAVE_FLOORF 1
86475 _ACEOF
86477 cat >>confdefs.h <<\_ACEOF
86478 #define HAVE_FMODF 1
86479 _ACEOF
86481 cat >>confdefs.h <<\_ACEOF
86482 #define HAVE_FREXPF 1
86483 _ACEOF
86485 cat >>confdefs.h <<\_ACEOF
86486 #define HAVE_LDEXPF 1
86487 _ACEOF
86489 cat >>confdefs.h <<\_ACEOF
86490 #define HAVE_LOG10F 1
86491 _ACEOF
86493 cat >>confdefs.h <<\_ACEOF
86494 #define HAVE_LOGF 1
86495 _ACEOF
86497 cat >>confdefs.h <<\_ACEOF
86498 #define HAVE_MODFF 1
86499 _ACEOF
86501 cat >>confdefs.h <<\_ACEOF
86502 #define HAVE_POWF 1
86503 _ACEOF
86505 cat >>confdefs.h <<\_ACEOF
86506 #define HAVE_SINF 1
86507 _ACEOF
86509 cat >>confdefs.h <<\_ACEOF
86510 #define HAVE_SINHF 1
86511 _ACEOF
86513 cat >>confdefs.h <<\_ACEOF
86514 #define HAVE_SQRTF 1
86515 _ACEOF
86517 cat >>confdefs.h <<\_ACEOF
86518 #define HAVE_TANF 1
86519 _ACEOF
86521 cat >>confdefs.h <<\_ACEOF
86522 #define HAVE_TANHF 1
86523 _ACEOF
86525 if test x"long_double_math_on_this_cpu" = x"yes"; then
86526 cat >>confdefs.h <<\_ACEOF
86527 #define HAVE_FINITEL 1
86528 _ACEOF
86530 cat >>confdefs.h <<\_ACEOF
86531 #define HAVE_ISINFL 1
86532 _ACEOF
86534 cat >>confdefs.h <<\_ACEOF
86535 #define HAVE_ISNANL 1
86536 _ACEOF
86540 *-hpux*)
86553 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86554 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86555 fp.h locale.h float.h inttypes.h
86557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86559 echo "$as_me:$LINENO: checking for $ac_header" >&5
86560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86562 echo $ECHO_N "(cached) $ECHO_C" >&6
86564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86566 else
86567 # Is the header compilable?
86568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86570 cat >conftest.$ac_ext <<_ACEOF
86571 /* confdefs.h. */
86572 _ACEOF
86573 cat confdefs.h >>conftest.$ac_ext
86574 cat >>conftest.$ac_ext <<_ACEOF
86575 /* end confdefs.h. */
86576 $ac_includes_default
86577 #include <$ac_header>
86578 _ACEOF
86579 rm -f conftest.$ac_objext
86580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86581 (eval $ac_compile) 2>conftest.er1
86582 ac_status=$?
86583 grep -v '^ *+' conftest.er1 >conftest.err
86584 rm -f conftest.er1
86585 cat conftest.err >&5
86586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86587 (exit $ac_status); } &&
86588 { ac_try='test -z "$ac_c_werror_flag"
86589 || test ! -s conftest.err'
86590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86591 (eval $ac_try) 2>&5
86592 ac_status=$?
86593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86594 (exit $ac_status); }; } &&
86595 { ac_try='test -s conftest.$ac_objext'
86596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86597 (eval $ac_try) 2>&5
86598 ac_status=$?
86599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600 (exit $ac_status); }; }; then
86601 ac_header_compiler=yes
86602 else
86603 echo "$as_me: failed program was:" >&5
86604 sed 's/^/| /' conftest.$ac_ext >&5
86606 ac_header_compiler=no
86608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86610 echo "${ECHO_T}$ac_header_compiler" >&6
86612 # Is the header present?
86613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h. */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h. */
86621 #include <$ac_header>
86622 _ACEOF
86623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86625 ac_status=$?
86626 grep -v '^ *+' conftest.er1 >conftest.err
86627 rm -f conftest.er1
86628 cat conftest.err >&5
86629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86630 (exit $ac_status); } >/dev/null; then
86631 if test -s conftest.err; then
86632 ac_cpp_err=$ac_c_preproc_warn_flag
86633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86634 else
86635 ac_cpp_err=
86637 else
86638 ac_cpp_err=yes
86640 if test -z "$ac_cpp_err"; then
86641 ac_header_preproc=yes
86642 else
86643 echo "$as_me: failed program was:" >&5
86644 sed 's/^/| /' conftest.$ac_ext >&5
86646 ac_header_preproc=no
86648 rm -f conftest.err conftest.$ac_ext
86649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86650 echo "${ECHO_T}$ac_header_preproc" >&6
86652 # So? What about this header?
86653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86654 yes:no: )
86655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86659 ac_header_preproc=yes
86661 no:yes:* )
86662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86675 cat <<\_ASBOX
86676 ## ----------------------------------------- ##
86677 ## Report this to the package-unused lists. ##
86678 ## ----------------------------------------- ##
86679 _ASBOX
86681 sed "s/^/$as_me: WARNING: /" >&2
86683 esac
86684 echo "$as_me:$LINENO: checking for $ac_header" >&5
86685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86687 echo $ECHO_N "(cached) $ECHO_C" >&6
86688 else
86689 eval "$as_ac_Header=\$ac_header_preproc"
86691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86696 cat >>confdefs.h <<_ACEOF
86697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86698 _ACEOF
86702 done
86704 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86707 # If we're not using GNU ld, then there's no point in even trying these
86708 # tests. Check for that first. We should have already tested for gld
86709 # by now (in libtool), but require it now just to be safe...
86710 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86711 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86715 # The name set by libtool depends on the version of libtool. Shame on us
86716 # for depending on an impl detail, but c'est la vie. Older versions used
86717 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86718 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86719 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86720 # set (hence we're using an older libtool), then set it.
86721 if test x${with_gnu_ld+set} != xset; then
86722 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86723 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86724 with_gnu_ld=no
86725 else
86726 with_gnu_ld=$ac_cv_prog_gnu_ld
86730 # Start by getting the version number. I think the libtool test already
86731 # does some of this, but throws away the result.
86732 glibcxx_ld_is_gold=no
86733 if test x"$with_gnu_ld" = x"yes"; then
86734 echo "$as_me:$LINENO: checking for ld version" >&5
86735 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86737 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86738 glibcxx_ld_is_gold=yes
86740 ldver=`$LD --version 2>/dev/null | head -1 | \
86741 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86743 glibcxx_gnu_ld_version=`echo $ldver | \
86744 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86745 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86746 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86749 # Set --gc-sections.
86750 glibcxx_have_gc_sections=no
86751 if test "$glibcxx_ld_is_gold" = "yes"; then
86752 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86753 glibcxx_have_gc_sections=yes
86755 else
86756 glibcxx_gcsections_min_ld=21602
86757 if test x"$with_gnu_ld" = x"yes" &&
86758 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86759 glibcxx_have_gc_sections=yes
86762 if test "$glibcxx_have_gc_sections" = "yes"; then
86763 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86764 # NB: This flag only works reliably after 2.16.1. Configure tests
86765 # for this are difficult, so hard wire a value that should work.
86767 ac_test_CFLAGS="${CFLAGS+set}"
86768 ac_save_CFLAGS="$CFLAGS"
86769 CFLAGS='-Wl,--gc-sections'
86771 # Check for -Wl,--gc-sections
86772 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86773 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86774 if test x$gcc_no_link = xyes; then
86775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86777 { (exit 1); exit 1; }; }
86779 cat >conftest.$ac_ext <<_ACEOF
86780 /* confdefs.h. */
86781 _ACEOF
86782 cat confdefs.h >>conftest.$ac_ext
86783 cat >>conftest.$ac_ext <<_ACEOF
86784 /* end confdefs.h. */
86785 int one(void) { return 1; }
86786 int two(void) { return 2; }
86789 main ()
86791 two();
86793 return 0;
86795 _ACEOF
86796 rm -f conftest.$ac_objext conftest$ac_exeext
86797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86798 (eval $ac_link) 2>conftest.er1
86799 ac_status=$?
86800 grep -v '^ *+' conftest.er1 >conftest.err
86801 rm -f conftest.er1
86802 cat conftest.err >&5
86803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86804 (exit $ac_status); } &&
86805 { ac_try='test -z "$ac_c_werror_flag"
86806 || test ! -s conftest.err'
86807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86808 (eval $ac_try) 2>&5
86809 ac_status=$?
86810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86811 (exit $ac_status); }; } &&
86812 { ac_try='test -s conftest$ac_exeext'
86813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86814 (eval $ac_try) 2>&5
86815 ac_status=$?
86816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817 (exit $ac_status); }; }; then
86818 ac_gcsections=yes
86819 else
86820 echo "$as_me: failed program was:" >&5
86821 sed 's/^/| /' conftest.$ac_ext >&5
86823 ac_gcsections=no
86825 rm -f conftest.err conftest.$ac_objext \
86826 conftest$ac_exeext conftest.$ac_ext
86827 if test "$ac_gcsections" = "yes"; then
86828 rm -f conftest.c
86829 touch conftest.c
86830 if $CC -c conftest.c; then
86831 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86832 grep "Warning: gc-sections option ignored" > /dev/null; then
86833 ac_gcsections=no
86836 rm -f conftest.c conftest.o conftest
86838 if test "$ac_gcsections" = "yes"; then
86839 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86841 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86842 echo "${ECHO_T}$ac_gcsections" >&6
86844 if test "$ac_test_CFLAGS" = set; then
86845 CFLAGS="$ac_save_CFLAGS"
86846 else
86847 # this is the suspicious part
86848 CFLAGS=''
86852 # Set -z,relro.
86853 # Note this is only for shared objects.
86854 ac_ld_relro=no
86855 if test x"$with_gnu_ld" = x"yes"; then
86856 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86857 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86858 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86859 if test -n "$cxx_z_relo"; then
86860 OPT_LDFLAGS="-Wl,-z,relro"
86861 ac_ld_relro=yes
86863 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86864 echo "${ECHO_T}$ac_ld_relro" >&6
86867 # Set linker optimization flags.
86868 if test x"$with_gnu_ld" = x"yes"; then
86869 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86877 echo "$as_me:$LINENO: checking for main in -lm" >&5
86878 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86879 if test "${ac_cv_lib_m_main+set}" = set; then
86880 echo $ECHO_N "(cached) $ECHO_C" >&6
86881 else
86882 ac_check_lib_save_LIBS=$LIBS
86883 LIBS="-lm $LIBS"
86884 if test x$gcc_no_link = xyes; then
86885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86887 { (exit 1); exit 1; }; }
86889 cat >conftest.$ac_ext <<_ACEOF
86890 /* confdefs.h. */
86891 _ACEOF
86892 cat confdefs.h >>conftest.$ac_ext
86893 cat >>conftest.$ac_ext <<_ACEOF
86894 /* end confdefs.h. */
86898 main ()
86900 main ();
86902 return 0;
86904 _ACEOF
86905 rm -f conftest.$ac_objext conftest$ac_exeext
86906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86907 (eval $ac_link) 2>conftest.er1
86908 ac_status=$?
86909 grep -v '^ *+' conftest.er1 >conftest.err
86910 rm -f conftest.er1
86911 cat conftest.err >&5
86912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86913 (exit $ac_status); } &&
86914 { ac_try='test -z "$ac_c_werror_flag"
86915 || test ! -s conftest.err'
86916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86917 (eval $ac_try) 2>&5
86918 ac_status=$?
86919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86920 (exit $ac_status); }; } &&
86921 { ac_try='test -s conftest$ac_exeext'
86922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86923 (eval $ac_try) 2>&5
86924 ac_status=$?
86925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86926 (exit $ac_status); }; }; then
86927 ac_cv_lib_m_main=yes
86928 else
86929 echo "$as_me: failed program was:" >&5
86930 sed 's/^/| /' conftest.$ac_ext >&5
86932 ac_cv_lib_m_main=no
86934 rm -f conftest.err conftest.$ac_objext \
86935 conftest$ac_exeext conftest.$ac_ext
86936 LIBS=$ac_check_lib_save_LIBS
86938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86939 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86940 if test $ac_cv_lib_m_main = yes; then
86941 cat >>confdefs.h <<_ACEOF
86942 #define HAVE_LIBM 1
86943 _ACEOF
86945 LIBS="-lm $LIBS"
86950 for ac_func in copysignf
86952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86953 echo "$as_me:$LINENO: checking for $ac_func" >&5
86954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86955 if eval "test \"\${$as_ac_var+set}\" = set"; then
86956 echo $ECHO_N "(cached) $ECHO_C" >&6
86957 else
86958 if test x$gcc_no_link = xyes; then
86959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86961 { (exit 1); exit 1; }; }
86963 cat >conftest.$ac_ext <<_ACEOF
86964 /* confdefs.h. */
86965 _ACEOF
86966 cat confdefs.h >>conftest.$ac_ext
86967 cat >>conftest.$ac_ext <<_ACEOF
86968 /* end confdefs.h. */
86969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86971 #define $ac_func innocuous_$ac_func
86973 /* System header to define __stub macros and hopefully few prototypes,
86974 which can conflict with char $ac_func (); below.
86975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86976 <limits.h> exists even on freestanding compilers. */
86978 #ifdef __STDC__
86979 # include <limits.h>
86980 #else
86981 # include <assert.h>
86982 #endif
86984 #undef $ac_func
86986 /* Override any gcc2 internal prototype to avoid an error. */
86987 #ifdef __cplusplus
86988 extern "C"
86990 #endif
86991 /* We use char because int might match the return type of a gcc2
86992 builtin and then its argument prototype would still apply. */
86993 char $ac_func ();
86994 /* The GNU C library defines this for functions which it implements
86995 to always fail with ENOSYS. Some functions are actually named
86996 something starting with __ and the normal name is an alias. */
86997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86998 choke me
86999 #else
87000 char (*f) () = $ac_func;
87001 #endif
87002 #ifdef __cplusplus
87004 #endif
87007 main ()
87009 return f != $ac_func;
87011 return 0;
87013 _ACEOF
87014 rm -f conftest.$ac_objext conftest$ac_exeext
87015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87016 (eval $ac_link) 2>conftest.er1
87017 ac_status=$?
87018 grep -v '^ *+' conftest.er1 >conftest.err
87019 rm -f conftest.er1
87020 cat conftest.err >&5
87021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87022 (exit $ac_status); } &&
87023 { ac_try='test -z "$ac_c_werror_flag"
87024 || test ! -s conftest.err'
87025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87026 (eval $ac_try) 2>&5
87027 ac_status=$?
87028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87029 (exit $ac_status); }; } &&
87030 { ac_try='test -s conftest$ac_exeext'
87031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87032 (eval $ac_try) 2>&5
87033 ac_status=$?
87034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87035 (exit $ac_status); }; }; then
87036 eval "$as_ac_var=yes"
87037 else
87038 echo "$as_me: failed program was:" >&5
87039 sed 's/^/| /' conftest.$ac_ext >&5
87041 eval "$as_ac_var=no"
87043 rm -f conftest.err conftest.$ac_objext \
87044 conftest$ac_exeext conftest.$ac_ext
87046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87048 if test `eval echo '${'$as_ac_var'}'` = yes; then
87049 cat >>confdefs.h <<_ACEOF
87050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87051 _ACEOF
87053 else
87054 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87056 done
87060 for ac_func in __signbit
87062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87063 echo "$as_me:$LINENO: checking for $ac_func" >&5
87064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87065 if eval "test \"\${$as_ac_var+set}\" = set"; then
87066 echo $ECHO_N "(cached) $ECHO_C" >&6
87067 else
87068 if test x$gcc_no_link = xyes; then
87069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87071 { (exit 1); exit 1; }; }
87073 cat >conftest.$ac_ext <<_ACEOF
87074 /* confdefs.h. */
87075 _ACEOF
87076 cat confdefs.h >>conftest.$ac_ext
87077 cat >>conftest.$ac_ext <<_ACEOF
87078 /* end confdefs.h. */
87079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87081 #define $ac_func innocuous_$ac_func
87083 /* System header to define __stub macros and hopefully few prototypes,
87084 which can conflict with char $ac_func (); below.
87085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87086 <limits.h> exists even on freestanding compilers. */
87088 #ifdef __STDC__
87089 # include <limits.h>
87090 #else
87091 # include <assert.h>
87092 #endif
87094 #undef $ac_func
87096 /* Override any gcc2 internal prototype to avoid an error. */
87097 #ifdef __cplusplus
87098 extern "C"
87100 #endif
87101 /* We use char because int might match the return type of a gcc2
87102 builtin and then its argument prototype would still apply. */
87103 char $ac_func ();
87104 /* The GNU C library defines this for functions which it implements
87105 to always fail with ENOSYS. Some functions are actually named
87106 something starting with __ and the normal name is an alias. */
87107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87108 choke me
87109 #else
87110 char (*f) () = $ac_func;
87111 #endif
87112 #ifdef __cplusplus
87114 #endif
87117 main ()
87119 return f != $ac_func;
87121 return 0;
87123 _ACEOF
87124 rm -f conftest.$ac_objext conftest$ac_exeext
87125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87126 (eval $ac_link) 2>conftest.er1
87127 ac_status=$?
87128 grep -v '^ *+' conftest.er1 >conftest.err
87129 rm -f conftest.er1
87130 cat conftest.err >&5
87131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87132 (exit $ac_status); } &&
87133 { ac_try='test -z "$ac_c_werror_flag"
87134 || test ! -s conftest.err'
87135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87136 (eval $ac_try) 2>&5
87137 ac_status=$?
87138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87139 (exit $ac_status); }; } &&
87140 { ac_try='test -s conftest$ac_exeext'
87141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87142 (eval $ac_try) 2>&5
87143 ac_status=$?
87144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87145 (exit $ac_status); }; }; then
87146 eval "$as_ac_var=yes"
87147 else
87148 echo "$as_me: failed program was:" >&5
87149 sed 's/^/| /' conftest.$ac_ext >&5
87151 eval "$as_ac_var=no"
87153 rm -f conftest.err conftest.$ac_objext \
87154 conftest$ac_exeext conftest.$ac_ext
87156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87158 if test `eval echo '${'$as_ac_var'}'` = yes; then
87159 cat >>confdefs.h <<_ACEOF
87160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87161 _ACEOF
87163 else
87164 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87166 done
87170 for ac_func in __signbitf
87172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87173 echo "$as_me:$LINENO: checking for $ac_func" >&5
87174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87175 if eval "test \"\${$as_ac_var+set}\" = set"; then
87176 echo $ECHO_N "(cached) $ECHO_C" >&6
87177 else
87178 if test x$gcc_no_link = xyes; then
87179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87181 { (exit 1); exit 1; }; }
87183 cat >conftest.$ac_ext <<_ACEOF
87184 /* confdefs.h. */
87185 _ACEOF
87186 cat confdefs.h >>conftest.$ac_ext
87187 cat >>conftest.$ac_ext <<_ACEOF
87188 /* end confdefs.h. */
87189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87191 #define $ac_func innocuous_$ac_func
87193 /* System header to define __stub macros and hopefully few prototypes,
87194 which can conflict with char $ac_func (); below.
87195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87196 <limits.h> exists even on freestanding compilers. */
87198 #ifdef __STDC__
87199 # include <limits.h>
87200 #else
87201 # include <assert.h>
87202 #endif
87204 #undef $ac_func
87206 /* Override any gcc2 internal prototype to avoid an error. */
87207 #ifdef __cplusplus
87208 extern "C"
87210 #endif
87211 /* We use char because int might match the return type of a gcc2
87212 builtin and then its argument prototype would still apply. */
87213 char $ac_func ();
87214 /* The GNU C library defines this for functions which it implements
87215 to always fail with ENOSYS. Some functions are actually named
87216 something starting with __ and the normal name is an alias. */
87217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87218 choke me
87219 #else
87220 char (*f) () = $ac_func;
87221 #endif
87222 #ifdef __cplusplus
87224 #endif
87227 main ()
87229 return f != $ac_func;
87231 return 0;
87233 _ACEOF
87234 rm -f conftest.$ac_objext conftest$ac_exeext
87235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87236 (eval $ac_link) 2>conftest.er1
87237 ac_status=$?
87238 grep -v '^ *+' conftest.er1 >conftest.err
87239 rm -f conftest.er1
87240 cat conftest.err >&5
87241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87242 (exit $ac_status); } &&
87243 { ac_try='test -z "$ac_c_werror_flag"
87244 || test ! -s conftest.err'
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); }; } &&
87250 { ac_try='test -s conftest$ac_exeext'
87251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87252 (eval $ac_try) 2>&5
87253 ac_status=$?
87254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87255 (exit $ac_status); }; }; then
87256 eval "$as_ac_var=yes"
87257 else
87258 echo "$as_me: failed program was:" >&5
87259 sed 's/^/| /' conftest.$ac_ext >&5
87261 eval "$as_ac_var=no"
87263 rm -f conftest.err conftest.$ac_objext \
87264 conftest$ac_exeext conftest.$ac_ext
87266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87268 if test `eval echo '${'$as_ac_var'}'` = yes; then
87269 cat >>confdefs.h <<_ACEOF
87270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87271 _ACEOF
87273 else
87274 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87276 done
87279 if test x$ac_cv_func_copysignl = x"yes"; then
87281 for ac_func in __signbitl
87283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87284 echo "$as_me:$LINENO: checking for $ac_func" >&5
87285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87286 if eval "test \"\${$as_ac_var+set}\" = set"; then
87287 echo $ECHO_N "(cached) $ECHO_C" >&6
87288 else
87289 if test x$gcc_no_link = xyes; then
87290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87292 { (exit 1); exit 1; }; }
87294 cat >conftest.$ac_ext <<_ACEOF
87295 /* confdefs.h. */
87296 _ACEOF
87297 cat confdefs.h >>conftest.$ac_ext
87298 cat >>conftest.$ac_ext <<_ACEOF
87299 /* end confdefs.h. */
87300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87302 #define $ac_func innocuous_$ac_func
87304 /* System header to define __stub macros and hopefully few prototypes,
87305 which can conflict with char $ac_func (); below.
87306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87307 <limits.h> exists even on freestanding compilers. */
87309 #ifdef __STDC__
87310 # include <limits.h>
87311 #else
87312 # include <assert.h>
87313 #endif
87315 #undef $ac_func
87317 /* Override any gcc2 internal prototype to avoid an error. */
87318 #ifdef __cplusplus
87319 extern "C"
87321 #endif
87322 /* We use char because int might match the return type of a gcc2
87323 builtin and then its argument prototype would still apply. */
87324 char $ac_func ();
87325 /* The GNU C library defines this for functions which it implements
87326 to always fail with ENOSYS. Some functions are actually named
87327 something starting with __ and the normal name is an alias. */
87328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87329 choke me
87330 #else
87331 char (*f) () = $ac_func;
87332 #endif
87333 #ifdef __cplusplus
87335 #endif
87338 main ()
87340 return f != $ac_func;
87342 return 0;
87344 _ACEOF
87345 rm -f conftest.$ac_objext conftest$ac_exeext
87346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87347 (eval $ac_link) 2>conftest.er1
87348 ac_status=$?
87349 grep -v '^ *+' conftest.er1 >conftest.err
87350 rm -f conftest.er1
87351 cat conftest.err >&5
87352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87353 (exit $ac_status); } &&
87354 { ac_try='test -z "$ac_c_werror_flag"
87355 || test ! -s conftest.err'
87356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87357 (eval $ac_try) 2>&5
87358 ac_status=$?
87359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87360 (exit $ac_status); }; } &&
87361 { ac_try='test -s conftest$ac_exeext'
87362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87363 (eval $ac_try) 2>&5
87364 ac_status=$?
87365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87366 (exit $ac_status); }; }; then
87367 eval "$as_ac_var=yes"
87368 else
87369 echo "$as_me: failed program was:" >&5
87370 sed 's/^/| /' conftest.$ac_ext >&5
87372 eval "$as_ac_var=no"
87374 rm -f conftest.err conftest.$ac_objext \
87375 conftest$ac_exeext conftest.$ac_ext
87377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87379 if test `eval echo '${'$as_ac_var'}'` = yes; then
87380 cat >>confdefs.h <<_ACEOF
87381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87382 _ACEOF
87384 else
87385 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87387 done
87391 # Used in libmath/Makefile.am.
87392 if test -n "$LIBMATHOBJS"; then
87393 need_libmath=yes
87397 cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_COPYSIGN 1
87399 _ACEOF
87401 cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_COPYSIGNF 1
87403 _ACEOF
87405 cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_FREXPF 1
87407 _ACEOF
87409 cat >>confdefs.h <<\_ACEOF
87410 #define HAVE_HYPOT 1
87411 _ACEOF
87413 case "$target" in
87414 *-hpux10*)
87415 cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_FINITE 1
87417 _ACEOF
87419 cat >>confdefs.h <<\_ACEOF
87420 #define HAVE_FINITEF 1
87421 _ACEOF
87423 cat >>confdefs.h <<\_ACEOF
87424 #define HAVE_ISINF 1
87425 _ACEOF
87427 cat >>confdefs.h <<\_ACEOF
87428 #define HAVE_ISINFF 1
87429 _ACEOF
87431 cat >>confdefs.h <<\_ACEOF
87432 #define HAVE_ISNAN 1
87433 _ACEOF
87435 cat >>confdefs.h <<\_ACEOF
87436 #define HAVE_ISNANF 1
87437 _ACEOF
87440 esac
87442 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87461 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87462 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87463 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87464 sys/ipc.h sys/sem.h gconf.h
87466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87468 echo "$as_me:$LINENO: checking for $ac_header" >&5
87469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87471 echo $ECHO_N "(cached) $ECHO_C" >&6
87473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87475 else
87476 # Is the header compilable?
87477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87479 cat >conftest.$ac_ext <<_ACEOF
87480 /* confdefs.h. */
87481 _ACEOF
87482 cat confdefs.h >>conftest.$ac_ext
87483 cat >>conftest.$ac_ext <<_ACEOF
87484 /* end confdefs.h. */
87485 $ac_includes_default
87486 #include <$ac_header>
87487 _ACEOF
87488 rm -f conftest.$ac_objext
87489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87490 (eval $ac_compile) 2>conftest.er1
87491 ac_status=$?
87492 grep -v '^ *+' conftest.er1 >conftest.err
87493 rm -f conftest.er1
87494 cat conftest.err >&5
87495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87496 (exit $ac_status); } &&
87497 { ac_try='test -z "$ac_c_werror_flag"
87498 || test ! -s conftest.err'
87499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87500 (eval $ac_try) 2>&5
87501 ac_status=$?
87502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503 (exit $ac_status); }; } &&
87504 { ac_try='test -s conftest.$ac_objext'
87505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87506 (eval $ac_try) 2>&5
87507 ac_status=$?
87508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87509 (exit $ac_status); }; }; then
87510 ac_header_compiler=yes
87511 else
87512 echo "$as_me: failed program was:" >&5
87513 sed 's/^/| /' conftest.$ac_ext >&5
87515 ac_header_compiler=no
87517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87519 echo "${ECHO_T}$ac_header_compiler" >&6
87521 # Is the header present?
87522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87524 cat >conftest.$ac_ext <<_ACEOF
87525 /* confdefs.h. */
87526 _ACEOF
87527 cat confdefs.h >>conftest.$ac_ext
87528 cat >>conftest.$ac_ext <<_ACEOF
87529 /* end confdefs.h. */
87530 #include <$ac_header>
87531 _ACEOF
87532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87534 ac_status=$?
87535 grep -v '^ *+' conftest.er1 >conftest.err
87536 rm -f conftest.er1
87537 cat conftest.err >&5
87538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87539 (exit $ac_status); } >/dev/null; then
87540 if test -s conftest.err; then
87541 ac_cpp_err=$ac_c_preproc_warn_flag
87542 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87543 else
87544 ac_cpp_err=
87546 else
87547 ac_cpp_err=yes
87549 if test -z "$ac_cpp_err"; then
87550 ac_header_preproc=yes
87551 else
87552 echo "$as_me: failed program was:" >&5
87553 sed 's/^/| /' conftest.$ac_ext >&5
87555 ac_header_preproc=no
87557 rm -f conftest.err conftest.$ac_ext
87558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87559 echo "${ECHO_T}$ac_header_preproc" >&6
87561 # So? What about this header?
87562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87563 yes:no: )
87564 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87566 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87568 ac_header_preproc=yes
87570 no:yes:* )
87571 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87573 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87574 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87575 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87577 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87578 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87581 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87584 cat <<\_ASBOX
87585 ## ----------------------------------------- ##
87586 ## Report this to the package-unused lists. ##
87587 ## ----------------------------------------- ##
87588 _ASBOX
87590 sed "s/^/$as_me: WARNING: /" >&2
87592 esac
87593 echo "$as_me:$LINENO: checking for $ac_header" >&5
87594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87596 echo $ECHO_N "(cached) $ECHO_C" >&6
87597 else
87598 eval "$as_ac_Header=\$ac_header_preproc"
87600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87605 cat >>confdefs.h <<_ACEOF
87606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87607 _ACEOF
87611 done
87613 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87616 # All these tests are for C++; save the language and the compiler flags.
87617 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87618 # found in GLIBCXX_CONFIGURE.
87621 ac_ext=cc
87622 ac_cpp='$CXXCPP $CPPFLAGS'
87623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87627 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87628 ac_save_CXXFLAGS="$CXXFLAGS"
87630 # Check for maintainer-mode bits.
87631 if test x"$USE_MAINTAINER_MODE" = xno; then
87632 WERROR=''
87633 else
87634 WERROR='-Werror'
87637 # Check for -ffunction-sections -fdata-sections
87638 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87639 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87640 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87641 cat >conftest.$ac_ext <<_ACEOF
87642 /* confdefs.h. */
87643 _ACEOF
87644 cat confdefs.h >>conftest.$ac_ext
87645 cat >>conftest.$ac_ext <<_ACEOF
87646 /* end confdefs.h. */
87647 int foo; void bar() { };
87649 main ()
87653 return 0;
87655 _ACEOF
87656 rm -f conftest.$ac_objext
87657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87658 (eval $ac_compile) 2>conftest.er1
87659 ac_status=$?
87660 grep -v '^ *+' conftest.er1 >conftest.err
87661 rm -f conftest.er1
87662 cat conftest.err >&5
87663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87664 (exit $ac_status); } &&
87665 { ac_try='test -z "$ac_cxx_werror_flag"
87666 || test ! -s conftest.err'
87667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87668 (eval $ac_try) 2>&5
87669 ac_status=$?
87670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87671 (exit $ac_status); }; } &&
87672 { ac_try='test -s conftest.$ac_objext'
87673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87674 (eval $ac_try) 2>&5
87675 ac_status=$?
87676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87677 (exit $ac_status); }; }; then
87678 ac_fdsections=yes
87679 else
87680 echo "$as_me: failed program was:" >&5
87681 sed 's/^/| /' conftest.$ac_ext >&5
87683 ac_fdsections=no
87685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87686 if test "$ac_test_CXXFLAGS" = set; then
87687 CXXFLAGS="$ac_save_CXXFLAGS"
87688 else
87689 # this is the suspicious part
87690 CXXFLAGS=''
87692 if test x"$ac_fdsections" = x"yes"; then
87693 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87695 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87696 echo "${ECHO_T}$ac_fdsections" >&6
87698 ac_ext=c
87699 ac_cpp='$CPP $CPPFLAGS'
87700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87708 # If we're not using GNU ld, then there's no point in even trying these
87709 # tests. Check for that first. We should have already tested for gld
87710 # by now (in libtool), but require it now just to be safe...
87711 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87712 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87716 # The name set by libtool depends on the version of libtool. Shame on us
87717 # for depending on an impl detail, but c'est la vie. Older versions used
87718 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87719 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87720 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87721 # set (hence we're using an older libtool), then set it.
87722 if test x${with_gnu_ld+set} != xset; then
87723 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87724 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87725 with_gnu_ld=no
87726 else
87727 with_gnu_ld=$ac_cv_prog_gnu_ld
87731 # Start by getting the version number. I think the libtool test already
87732 # does some of this, but throws away the result.
87733 glibcxx_ld_is_gold=no
87734 if test x"$with_gnu_ld" = x"yes"; then
87735 echo "$as_me:$LINENO: checking for ld version" >&5
87736 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87738 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87739 glibcxx_ld_is_gold=yes
87741 ldver=`$LD --version 2>/dev/null | head -1 | \
87742 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87744 glibcxx_gnu_ld_version=`echo $ldver | \
87745 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87746 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87747 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87750 # Set --gc-sections.
87751 glibcxx_have_gc_sections=no
87752 if test "$glibcxx_ld_is_gold" = "yes"; then
87753 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87754 glibcxx_have_gc_sections=yes
87756 else
87757 glibcxx_gcsections_min_ld=21602
87758 if test x"$with_gnu_ld" = x"yes" &&
87759 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87760 glibcxx_have_gc_sections=yes
87763 if test "$glibcxx_have_gc_sections" = "yes"; then
87764 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87765 # NB: This flag only works reliably after 2.16.1. Configure tests
87766 # for this are difficult, so hard wire a value that should work.
87768 ac_test_CFLAGS="${CFLAGS+set}"
87769 ac_save_CFLAGS="$CFLAGS"
87770 CFLAGS='-Wl,--gc-sections'
87772 # Check for -Wl,--gc-sections
87773 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87774 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87775 if test x$gcc_no_link = xyes; then
87776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87778 { (exit 1); exit 1; }; }
87780 cat >conftest.$ac_ext <<_ACEOF
87781 /* confdefs.h. */
87782 _ACEOF
87783 cat confdefs.h >>conftest.$ac_ext
87784 cat >>conftest.$ac_ext <<_ACEOF
87785 /* end confdefs.h. */
87786 int one(void) { return 1; }
87787 int two(void) { return 2; }
87790 main ()
87792 two();
87794 return 0;
87796 _ACEOF
87797 rm -f conftest.$ac_objext conftest$ac_exeext
87798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87799 (eval $ac_link) 2>conftest.er1
87800 ac_status=$?
87801 grep -v '^ *+' conftest.er1 >conftest.err
87802 rm -f conftest.er1
87803 cat conftest.err >&5
87804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87805 (exit $ac_status); } &&
87806 { ac_try='test -z "$ac_c_werror_flag"
87807 || test ! -s conftest.err'
87808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87809 (eval $ac_try) 2>&5
87810 ac_status=$?
87811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87812 (exit $ac_status); }; } &&
87813 { ac_try='test -s conftest$ac_exeext'
87814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87815 (eval $ac_try) 2>&5
87816 ac_status=$?
87817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87818 (exit $ac_status); }; }; then
87819 ac_gcsections=yes
87820 else
87821 echo "$as_me: failed program was:" >&5
87822 sed 's/^/| /' conftest.$ac_ext >&5
87824 ac_gcsections=no
87826 rm -f conftest.err conftest.$ac_objext \
87827 conftest$ac_exeext conftest.$ac_ext
87828 if test "$ac_gcsections" = "yes"; then
87829 rm -f conftest.c
87830 touch conftest.c
87831 if $CC -c conftest.c; then
87832 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87833 grep "Warning: gc-sections option ignored" > /dev/null; then
87834 ac_gcsections=no
87837 rm -f conftest.c conftest.o conftest
87839 if test "$ac_gcsections" = "yes"; then
87840 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87842 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87843 echo "${ECHO_T}$ac_gcsections" >&6
87845 if test "$ac_test_CFLAGS" = set; then
87846 CFLAGS="$ac_save_CFLAGS"
87847 else
87848 # this is the suspicious part
87849 CFLAGS=''
87853 # Set -z,relro.
87854 # Note this is only for shared objects.
87855 ac_ld_relro=no
87856 if test x"$with_gnu_ld" = x"yes"; then
87857 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87858 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87859 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87860 if test -n "$cxx_z_relo"; then
87861 OPT_LDFLAGS="-Wl,-z,relro"
87862 ac_ld_relro=yes
87864 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87865 echo "${ECHO_T}$ac_ld_relro" >&6
87868 # Set linker optimization flags.
87869 if test x"$with_gnu_ld" = x"yes"; then
87870 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87877 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87878 ac_save_CXXFLAGS="$CXXFLAGS"
87879 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87881 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87882 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87883 if test "${ac_cv_lib_m_sin+set}" = set; then
87884 echo $ECHO_N "(cached) $ECHO_C" >&6
87885 else
87886 ac_check_lib_save_LIBS=$LIBS
87887 LIBS="-lm $LIBS"
87888 if test x$gcc_no_link = xyes; then
87889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87891 { (exit 1); exit 1; }; }
87893 cat >conftest.$ac_ext <<_ACEOF
87894 /* confdefs.h. */
87895 _ACEOF
87896 cat confdefs.h >>conftest.$ac_ext
87897 cat >>conftest.$ac_ext <<_ACEOF
87898 /* end confdefs.h. */
87900 /* Override any gcc2 internal prototype to avoid an error. */
87901 #ifdef __cplusplus
87902 extern "C"
87903 #endif
87904 /* We use char because int might match the return type of a gcc2
87905 builtin and then its argument prototype would still apply. */
87906 char sin ();
87908 main ()
87910 sin ();
87912 return 0;
87914 _ACEOF
87915 rm -f conftest.$ac_objext conftest$ac_exeext
87916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87917 (eval $ac_link) 2>conftest.er1
87918 ac_status=$?
87919 grep -v '^ *+' conftest.er1 >conftest.err
87920 rm -f conftest.er1
87921 cat conftest.err >&5
87922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87923 (exit $ac_status); } &&
87924 { ac_try='test -z "$ac_c_werror_flag"
87925 || test ! -s conftest.err'
87926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87927 (eval $ac_try) 2>&5
87928 ac_status=$?
87929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87930 (exit $ac_status); }; } &&
87931 { ac_try='test -s conftest$ac_exeext'
87932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87933 (eval $ac_try) 2>&5
87934 ac_status=$?
87935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87936 (exit $ac_status); }; }; then
87937 ac_cv_lib_m_sin=yes
87938 else
87939 echo "$as_me: failed program was:" >&5
87940 sed 's/^/| /' conftest.$ac_ext >&5
87942 ac_cv_lib_m_sin=no
87944 rm -f conftest.err conftest.$ac_objext \
87945 conftest$ac_exeext conftest.$ac_ext
87946 LIBS=$ac_check_lib_save_LIBS
87948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87949 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87950 if test $ac_cv_lib_m_sin = yes; then
87951 libm="-lm"
87954 ac_save_LIBS="$LIBS"
87955 LIBS="$LIBS $libm"
87959 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87960 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87961 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87962 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87963 echo $ECHO_N "(cached) $ECHO_C" >&6
87964 else
87968 ac_ext=cc
87969 ac_cpp='$CXXCPP $CPPFLAGS'
87970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87974 cat >conftest.$ac_ext <<_ACEOF
87975 /* confdefs.h. */
87976 _ACEOF
87977 cat confdefs.h >>conftest.$ac_ext
87978 cat >>conftest.$ac_ext <<_ACEOF
87979 /* end confdefs.h. */
87980 #include <math.h>
87981 #ifdef HAVE_IEEEFP_H
87982 #include <ieeefp.h>
87983 #endif
87986 main ()
87988 isinf(0);
87990 return 0;
87992 _ACEOF
87993 rm -f conftest.$ac_objext
87994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87995 (eval $ac_compile) 2>conftest.er1
87996 ac_status=$?
87997 grep -v '^ *+' conftest.er1 >conftest.err
87998 rm -f conftest.er1
87999 cat conftest.err >&5
88000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88001 (exit $ac_status); } &&
88002 { ac_try='test -z "$ac_cxx_werror_flag"
88003 || test ! -s conftest.err'
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); }; } &&
88009 { ac_try='test -s conftest.$ac_objext'
88010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88011 (eval $ac_try) 2>&5
88012 ac_status=$?
88013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88014 (exit $ac_status); }; }; then
88015 glibcxx_cv_func_isinf_use=yes
88016 else
88017 echo "$as_me: failed program was:" >&5
88018 sed 's/^/| /' conftest.$ac_ext >&5
88020 glibcxx_cv_func_isinf_use=no
88022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88023 ac_ext=c
88024 ac_cpp='$CPP $CPPFLAGS'
88025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88034 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88036 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88038 for ac_func in isinf
88040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88041 echo "$as_me:$LINENO: checking for $ac_func" >&5
88042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88043 if eval "test \"\${$as_ac_var+set}\" = set"; then
88044 echo $ECHO_N "(cached) $ECHO_C" >&6
88045 else
88046 if test x$gcc_no_link = xyes; then
88047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88049 { (exit 1); exit 1; }; }
88051 cat >conftest.$ac_ext <<_ACEOF
88052 /* confdefs.h. */
88053 _ACEOF
88054 cat confdefs.h >>conftest.$ac_ext
88055 cat >>conftest.$ac_ext <<_ACEOF
88056 /* end confdefs.h. */
88057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88059 #define $ac_func innocuous_$ac_func
88061 /* System header to define __stub macros and hopefully few prototypes,
88062 which can conflict with char $ac_func (); below.
88063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88064 <limits.h> exists even on freestanding compilers. */
88066 #ifdef __STDC__
88067 # include <limits.h>
88068 #else
88069 # include <assert.h>
88070 #endif
88072 #undef $ac_func
88074 /* Override any gcc2 internal prototype to avoid an error. */
88075 #ifdef __cplusplus
88076 extern "C"
88078 #endif
88079 /* We use char because int might match the return type of a gcc2
88080 builtin and then its argument prototype would still apply. */
88081 char $ac_func ();
88082 /* The GNU C library defines this for functions which it implements
88083 to always fail with ENOSYS. Some functions are actually named
88084 something starting with __ and the normal name is an alias. */
88085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88086 choke me
88087 #else
88088 char (*f) () = $ac_func;
88089 #endif
88090 #ifdef __cplusplus
88092 #endif
88095 main ()
88097 return f != $ac_func;
88099 return 0;
88101 _ACEOF
88102 rm -f conftest.$ac_objext conftest$ac_exeext
88103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88104 (eval $ac_link) 2>conftest.er1
88105 ac_status=$?
88106 grep -v '^ *+' conftest.er1 >conftest.err
88107 rm -f conftest.er1
88108 cat conftest.err >&5
88109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88110 (exit $ac_status); } &&
88111 { ac_try='test -z "$ac_c_werror_flag"
88112 || test ! -s conftest.err'
88113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88114 (eval $ac_try) 2>&5
88115 ac_status=$?
88116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88117 (exit $ac_status); }; } &&
88118 { ac_try='test -s conftest$ac_exeext'
88119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88120 (eval $ac_try) 2>&5
88121 ac_status=$?
88122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88123 (exit $ac_status); }; }; then
88124 eval "$as_ac_var=yes"
88125 else
88126 echo "$as_me: failed program was:" >&5
88127 sed 's/^/| /' conftest.$ac_ext >&5
88129 eval "$as_ac_var=no"
88131 rm -f conftest.err conftest.$ac_objext \
88132 conftest$ac_exeext conftest.$ac_ext
88134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88136 if test `eval echo '${'$as_ac_var'}'` = yes; then
88137 cat >>confdefs.h <<_ACEOF
88138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88139 _ACEOF
88142 done
88144 else
88146 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88147 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88148 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88149 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88150 echo $ECHO_N "(cached) $ECHO_C" >&6
88151 else
88155 ac_ext=cc
88156 ac_cpp='$CXXCPP $CPPFLAGS'
88157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88161 cat >conftest.$ac_ext <<_ACEOF
88162 /* confdefs.h. */
88163 _ACEOF
88164 cat confdefs.h >>conftest.$ac_ext
88165 cat >>conftest.$ac_ext <<_ACEOF
88166 /* end confdefs.h. */
88167 #include <math.h>
88168 #ifdef HAVE_IEEEFP_H
88169 #include <ieeefp.h>
88170 #endif
88173 main ()
88175 _isinf(0);
88177 return 0;
88179 _ACEOF
88180 rm -f conftest.$ac_objext
88181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88182 (eval $ac_compile) 2>conftest.er1
88183 ac_status=$?
88184 grep -v '^ *+' conftest.er1 >conftest.err
88185 rm -f conftest.er1
88186 cat conftest.err >&5
88187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88188 (exit $ac_status); } &&
88189 { ac_try='test -z "$ac_cxx_werror_flag"
88190 || test ! -s conftest.err'
88191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88192 (eval $ac_try) 2>&5
88193 ac_status=$?
88194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88195 (exit $ac_status); }; } &&
88196 { ac_try='test -s conftest.$ac_objext'
88197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88198 (eval $ac_try) 2>&5
88199 ac_status=$?
88200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88201 (exit $ac_status); }; }; then
88202 glibcxx_cv_func__isinf_use=yes
88203 else
88204 echo "$as_me: failed program was:" >&5
88205 sed 's/^/| /' conftest.$ac_ext >&5
88207 glibcxx_cv_func__isinf_use=no
88209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88210 ac_ext=c
88211 ac_cpp='$CPP $CPPFLAGS'
88212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88221 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88223 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88225 for ac_func in _isinf
88227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88228 echo "$as_me:$LINENO: checking for $ac_func" >&5
88229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88230 if eval "test \"\${$as_ac_var+set}\" = set"; then
88231 echo $ECHO_N "(cached) $ECHO_C" >&6
88232 else
88233 if test x$gcc_no_link = xyes; then
88234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88236 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88246 #define $ac_func innocuous_$ac_func
88248 /* System header to define __stub macros and hopefully few prototypes,
88249 which can conflict with char $ac_func (); below.
88250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88251 <limits.h> exists even on freestanding compilers. */
88253 #ifdef __STDC__
88254 # include <limits.h>
88255 #else
88256 # include <assert.h>
88257 #endif
88259 #undef $ac_func
88261 /* Override any gcc2 internal prototype to avoid an error. */
88262 #ifdef __cplusplus
88263 extern "C"
88265 #endif
88266 /* We use char because int might match the return type of a gcc2
88267 builtin and then its argument prototype would still apply. */
88268 char $ac_func ();
88269 /* The GNU C library defines this for functions which it implements
88270 to always fail with ENOSYS. Some functions are actually named
88271 something starting with __ and the normal name is an alias. */
88272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88273 choke me
88274 #else
88275 char (*f) () = $ac_func;
88276 #endif
88277 #ifdef __cplusplus
88279 #endif
88282 main ()
88284 return f != $ac_func;
88286 return 0;
88288 _ACEOF
88289 rm -f conftest.$ac_objext conftest$ac_exeext
88290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88291 (eval $ac_link) 2>conftest.er1
88292 ac_status=$?
88293 grep -v '^ *+' conftest.er1 >conftest.err
88294 rm -f conftest.er1
88295 cat conftest.err >&5
88296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88297 (exit $ac_status); } &&
88298 { ac_try='test -z "$ac_c_werror_flag"
88299 || test ! -s conftest.err'
88300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88301 (eval $ac_try) 2>&5
88302 ac_status=$?
88303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88304 (exit $ac_status); }; } &&
88305 { ac_try='test -s conftest$ac_exeext'
88306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88307 (eval $ac_try) 2>&5
88308 ac_status=$?
88309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88310 (exit $ac_status); }; }; then
88311 eval "$as_ac_var=yes"
88312 else
88313 echo "$as_me: failed program was:" >&5
88314 sed 's/^/| /' conftest.$ac_ext >&5
88316 eval "$as_ac_var=no"
88318 rm -f conftest.err conftest.$ac_objext \
88319 conftest$ac_exeext conftest.$ac_ext
88321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88323 if test `eval echo '${'$as_ac_var'}'` = yes; then
88324 cat >>confdefs.h <<_ACEOF
88325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88326 _ACEOF
88329 done
88339 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88340 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88341 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88342 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88343 echo $ECHO_N "(cached) $ECHO_C" >&6
88344 else
88348 ac_ext=cc
88349 ac_cpp='$CXXCPP $CPPFLAGS'
88350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88354 cat >conftest.$ac_ext <<_ACEOF
88355 /* confdefs.h. */
88356 _ACEOF
88357 cat confdefs.h >>conftest.$ac_ext
88358 cat >>conftest.$ac_ext <<_ACEOF
88359 /* end confdefs.h. */
88360 #include <math.h>
88361 #ifdef HAVE_IEEEFP_H
88362 #include <ieeefp.h>
88363 #endif
88366 main ()
88368 isnan(0);
88370 return 0;
88372 _ACEOF
88373 rm -f conftest.$ac_objext
88374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88375 (eval $ac_compile) 2>conftest.er1
88376 ac_status=$?
88377 grep -v '^ *+' conftest.er1 >conftest.err
88378 rm -f conftest.er1
88379 cat conftest.err >&5
88380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88381 (exit $ac_status); } &&
88382 { ac_try='test -z "$ac_cxx_werror_flag"
88383 || test ! -s conftest.err'
88384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88385 (eval $ac_try) 2>&5
88386 ac_status=$?
88387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388 (exit $ac_status); }; } &&
88389 { ac_try='test -s conftest.$ac_objext'
88390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88391 (eval $ac_try) 2>&5
88392 ac_status=$?
88393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88394 (exit $ac_status); }; }; then
88395 glibcxx_cv_func_isnan_use=yes
88396 else
88397 echo "$as_me: failed program was:" >&5
88398 sed 's/^/| /' conftest.$ac_ext >&5
88400 glibcxx_cv_func_isnan_use=no
88402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88403 ac_ext=c
88404 ac_cpp='$CPP $CPPFLAGS'
88405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88414 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88416 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88418 for ac_func in isnan
88420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88421 echo "$as_me:$LINENO: checking for $ac_func" >&5
88422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88423 if eval "test \"\${$as_ac_var+set}\" = set"; then
88424 echo $ECHO_N "(cached) $ECHO_C" >&6
88425 else
88426 if test x$gcc_no_link = xyes; then
88427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88429 { (exit 1); exit 1; }; }
88431 cat >conftest.$ac_ext <<_ACEOF
88432 /* confdefs.h. */
88433 _ACEOF
88434 cat confdefs.h >>conftest.$ac_ext
88435 cat >>conftest.$ac_ext <<_ACEOF
88436 /* end confdefs.h. */
88437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88439 #define $ac_func innocuous_$ac_func
88441 /* System header to define __stub macros and hopefully few prototypes,
88442 which can conflict with char $ac_func (); below.
88443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88444 <limits.h> exists even on freestanding compilers. */
88446 #ifdef __STDC__
88447 # include <limits.h>
88448 #else
88449 # include <assert.h>
88450 #endif
88452 #undef $ac_func
88454 /* Override any gcc2 internal prototype to avoid an error. */
88455 #ifdef __cplusplus
88456 extern "C"
88458 #endif
88459 /* We use char because int might match the return type of a gcc2
88460 builtin and then its argument prototype would still apply. */
88461 char $ac_func ();
88462 /* The GNU C library defines this for functions which it implements
88463 to always fail with ENOSYS. Some functions are actually named
88464 something starting with __ and the normal name is an alias. */
88465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88466 choke me
88467 #else
88468 char (*f) () = $ac_func;
88469 #endif
88470 #ifdef __cplusplus
88472 #endif
88475 main ()
88477 return f != $ac_func;
88479 return 0;
88481 _ACEOF
88482 rm -f conftest.$ac_objext conftest$ac_exeext
88483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88484 (eval $ac_link) 2>conftest.er1
88485 ac_status=$?
88486 grep -v '^ *+' conftest.er1 >conftest.err
88487 rm -f conftest.er1
88488 cat conftest.err >&5
88489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88490 (exit $ac_status); } &&
88491 { ac_try='test -z "$ac_c_werror_flag"
88492 || test ! -s conftest.err'
88493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88494 (eval $ac_try) 2>&5
88495 ac_status=$?
88496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88497 (exit $ac_status); }; } &&
88498 { ac_try='test -s conftest$ac_exeext'
88499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88500 (eval $ac_try) 2>&5
88501 ac_status=$?
88502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88503 (exit $ac_status); }; }; then
88504 eval "$as_ac_var=yes"
88505 else
88506 echo "$as_me: failed program was:" >&5
88507 sed 's/^/| /' conftest.$ac_ext >&5
88509 eval "$as_ac_var=no"
88511 rm -f conftest.err conftest.$ac_objext \
88512 conftest$ac_exeext conftest.$ac_ext
88514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88516 if test `eval echo '${'$as_ac_var'}'` = yes; then
88517 cat >>confdefs.h <<_ACEOF
88518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88519 _ACEOF
88522 done
88524 else
88526 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88527 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88528 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88529 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88530 echo $ECHO_N "(cached) $ECHO_C" >&6
88531 else
88535 ac_ext=cc
88536 ac_cpp='$CXXCPP $CPPFLAGS'
88537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88541 cat >conftest.$ac_ext <<_ACEOF
88542 /* confdefs.h. */
88543 _ACEOF
88544 cat confdefs.h >>conftest.$ac_ext
88545 cat >>conftest.$ac_ext <<_ACEOF
88546 /* end confdefs.h. */
88547 #include <math.h>
88548 #ifdef HAVE_IEEEFP_H
88549 #include <ieeefp.h>
88550 #endif
88553 main ()
88555 _isnan(0);
88557 return 0;
88559 _ACEOF
88560 rm -f conftest.$ac_objext
88561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88562 (eval $ac_compile) 2>conftest.er1
88563 ac_status=$?
88564 grep -v '^ *+' conftest.er1 >conftest.err
88565 rm -f conftest.er1
88566 cat conftest.err >&5
88567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568 (exit $ac_status); } &&
88569 { ac_try='test -z "$ac_cxx_werror_flag"
88570 || test ! -s conftest.err'
88571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88572 (eval $ac_try) 2>&5
88573 ac_status=$?
88574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88575 (exit $ac_status); }; } &&
88576 { ac_try='test -s conftest.$ac_objext'
88577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88578 (eval $ac_try) 2>&5
88579 ac_status=$?
88580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88581 (exit $ac_status); }; }; then
88582 glibcxx_cv_func__isnan_use=yes
88583 else
88584 echo "$as_me: failed program was:" >&5
88585 sed 's/^/| /' conftest.$ac_ext >&5
88587 glibcxx_cv_func__isnan_use=no
88589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88590 ac_ext=c
88591 ac_cpp='$CPP $CPPFLAGS'
88592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88601 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88603 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88605 for ac_func in _isnan
88607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88608 echo "$as_me:$LINENO: checking for $ac_func" >&5
88609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88610 if eval "test \"\${$as_ac_var+set}\" = set"; then
88611 echo $ECHO_N "(cached) $ECHO_C" >&6
88612 else
88613 if test x$gcc_no_link = xyes; then
88614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88616 { (exit 1); exit 1; }; }
88618 cat >conftest.$ac_ext <<_ACEOF
88619 /* confdefs.h. */
88620 _ACEOF
88621 cat confdefs.h >>conftest.$ac_ext
88622 cat >>conftest.$ac_ext <<_ACEOF
88623 /* end confdefs.h. */
88624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88626 #define $ac_func innocuous_$ac_func
88628 /* System header to define __stub macros and hopefully few prototypes,
88629 which can conflict with char $ac_func (); below.
88630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88631 <limits.h> exists even on freestanding compilers. */
88633 #ifdef __STDC__
88634 # include <limits.h>
88635 #else
88636 # include <assert.h>
88637 #endif
88639 #undef $ac_func
88641 /* Override any gcc2 internal prototype to avoid an error. */
88642 #ifdef __cplusplus
88643 extern "C"
88645 #endif
88646 /* We use char because int might match the return type of a gcc2
88647 builtin and then its argument prototype would still apply. */
88648 char $ac_func ();
88649 /* The GNU C library defines this for functions which it implements
88650 to always fail with ENOSYS. Some functions are actually named
88651 something starting with __ and the normal name is an alias. */
88652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88653 choke me
88654 #else
88655 char (*f) () = $ac_func;
88656 #endif
88657 #ifdef __cplusplus
88659 #endif
88662 main ()
88664 return f != $ac_func;
88666 return 0;
88668 _ACEOF
88669 rm -f conftest.$ac_objext conftest$ac_exeext
88670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88671 (eval $ac_link) 2>conftest.er1
88672 ac_status=$?
88673 grep -v '^ *+' conftest.er1 >conftest.err
88674 rm -f conftest.er1
88675 cat conftest.err >&5
88676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677 (exit $ac_status); } &&
88678 { ac_try='test -z "$ac_c_werror_flag"
88679 || test ! -s conftest.err'
88680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88681 (eval $ac_try) 2>&5
88682 ac_status=$?
88683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88684 (exit $ac_status); }; } &&
88685 { ac_try='test -s conftest$ac_exeext'
88686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88687 (eval $ac_try) 2>&5
88688 ac_status=$?
88689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88690 (exit $ac_status); }; }; then
88691 eval "$as_ac_var=yes"
88692 else
88693 echo "$as_me: failed program was:" >&5
88694 sed 's/^/| /' conftest.$ac_ext >&5
88696 eval "$as_ac_var=no"
88698 rm -f conftest.err conftest.$ac_objext \
88699 conftest$ac_exeext conftest.$ac_ext
88701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88703 if test `eval echo '${'$as_ac_var'}'` = yes; then
88704 cat >>confdefs.h <<_ACEOF
88705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88706 _ACEOF
88709 done
88719 echo "$as_me:$LINENO: checking for finite declaration" >&5
88720 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88721 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88722 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88723 echo $ECHO_N "(cached) $ECHO_C" >&6
88724 else
88728 ac_ext=cc
88729 ac_cpp='$CXXCPP $CPPFLAGS'
88730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88734 cat >conftest.$ac_ext <<_ACEOF
88735 /* confdefs.h. */
88736 _ACEOF
88737 cat confdefs.h >>conftest.$ac_ext
88738 cat >>conftest.$ac_ext <<_ACEOF
88739 /* end confdefs.h. */
88740 #include <math.h>
88741 #ifdef HAVE_IEEEFP_H
88742 #include <ieeefp.h>
88743 #endif
88746 main ()
88748 finite(0);
88750 return 0;
88752 _ACEOF
88753 rm -f conftest.$ac_objext
88754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88755 (eval $ac_compile) 2>conftest.er1
88756 ac_status=$?
88757 grep -v '^ *+' conftest.er1 >conftest.err
88758 rm -f conftest.er1
88759 cat conftest.err >&5
88760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88761 (exit $ac_status); } &&
88762 { ac_try='test -z "$ac_cxx_werror_flag"
88763 || test ! -s conftest.err'
88764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88765 (eval $ac_try) 2>&5
88766 ac_status=$?
88767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88768 (exit $ac_status); }; } &&
88769 { ac_try='test -s conftest.$ac_objext'
88770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88771 (eval $ac_try) 2>&5
88772 ac_status=$?
88773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88774 (exit $ac_status); }; }; then
88775 glibcxx_cv_func_finite_use=yes
88776 else
88777 echo "$as_me: failed program was:" >&5
88778 sed 's/^/| /' conftest.$ac_ext >&5
88780 glibcxx_cv_func_finite_use=no
88782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88783 ac_ext=c
88784 ac_cpp='$CPP $CPPFLAGS'
88785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88794 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88796 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88798 for ac_func in finite
88800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88801 echo "$as_me:$LINENO: checking for $ac_func" >&5
88802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88803 if eval "test \"\${$as_ac_var+set}\" = set"; then
88804 echo $ECHO_N "(cached) $ECHO_C" >&6
88805 else
88806 if test x$gcc_no_link = xyes; then
88807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88809 { (exit 1); exit 1; }; }
88811 cat >conftest.$ac_ext <<_ACEOF
88812 /* confdefs.h. */
88813 _ACEOF
88814 cat confdefs.h >>conftest.$ac_ext
88815 cat >>conftest.$ac_ext <<_ACEOF
88816 /* end confdefs.h. */
88817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88819 #define $ac_func innocuous_$ac_func
88821 /* System header to define __stub macros and hopefully few prototypes,
88822 which can conflict with char $ac_func (); below.
88823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88824 <limits.h> exists even on freestanding compilers. */
88826 #ifdef __STDC__
88827 # include <limits.h>
88828 #else
88829 # include <assert.h>
88830 #endif
88832 #undef $ac_func
88834 /* Override any gcc2 internal prototype to avoid an error. */
88835 #ifdef __cplusplus
88836 extern "C"
88838 #endif
88839 /* We use char because int might match the return type of a gcc2
88840 builtin and then its argument prototype would still apply. */
88841 char $ac_func ();
88842 /* The GNU C library defines this for functions which it implements
88843 to always fail with ENOSYS. Some functions are actually named
88844 something starting with __ and the normal name is an alias. */
88845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88846 choke me
88847 #else
88848 char (*f) () = $ac_func;
88849 #endif
88850 #ifdef __cplusplus
88852 #endif
88855 main ()
88857 return f != $ac_func;
88859 return 0;
88861 _ACEOF
88862 rm -f conftest.$ac_objext conftest$ac_exeext
88863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88864 (eval $ac_link) 2>conftest.er1
88865 ac_status=$?
88866 grep -v '^ *+' conftest.er1 >conftest.err
88867 rm -f conftest.er1
88868 cat conftest.err >&5
88869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870 (exit $ac_status); } &&
88871 { ac_try='test -z "$ac_c_werror_flag"
88872 || test ! -s conftest.err'
88873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88874 (eval $ac_try) 2>&5
88875 ac_status=$?
88876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88877 (exit $ac_status); }; } &&
88878 { ac_try='test -s conftest$ac_exeext'
88879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88880 (eval $ac_try) 2>&5
88881 ac_status=$?
88882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88883 (exit $ac_status); }; }; then
88884 eval "$as_ac_var=yes"
88885 else
88886 echo "$as_me: failed program was:" >&5
88887 sed 's/^/| /' conftest.$ac_ext >&5
88889 eval "$as_ac_var=no"
88891 rm -f conftest.err conftest.$ac_objext \
88892 conftest$ac_exeext conftest.$ac_ext
88894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88896 if test `eval echo '${'$as_ac_var'}'` = yes; then
88897 cat >>confdefs.h <<_ACEOF
88898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88899 _ACEOF
88902 done
88904 else
88906 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88907 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88908 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88909 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88910 echo $ECHO_N "(cached) $ECHO_C" >&6
88911 else
88915 ac_ext=cc
88916 ac_cpp='$CXXCPP $CPPFLAGS'
88917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88921 cat >conftest.$ac_ext <<_ACEOF
88922 /* confdefs.h. */
88923 _ACEOF
88924 cat confdefs.h >>conftest.$ac_ext
88925 cat >>conftest.$ac_ext <<_ACEOF
88926 /* end confdefs.h. */
88927 #include <math.h>
88928 #ifdef HAVE_IEEEFP_H
88929 #include <ieeefp.h>
88930 #endif
88933 main ()
88935 _finite(0);
88937 return 0;
88939 _ACEOF
88940 rm -f conftest.$ac_objext
88941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88942 (eval $ac_compile) 2>conftest.er1
88943 ac_status=$?
88944 grep -v '^ *+' conftest.er1 >conftest.err
88945 rm -f conftest.er1
88946 cat conftest.err >&5
88947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88948 (exit $ac_status); } &&
88949 { ac_try='test -z "$ac_cxx_werror_flag"
88950 || test ! -s conftest.err'
88951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88952 (eval $ac_try) 2>&5
88953 ac_status=$?
88954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88955 (exit $ac_status); }; } &&
88956 { ac_try='test -s conftest.$ac_objext'
88957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88958 (eval $ac_try) 2>&5
88959 ac_status=$?
88960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88961 (exit $ac_status); }; }; then
88962 glibcxx_cv_func__finite_use=yes
88963 else
88964 echo "$as_me: failed program was:" >&5
88965 sed 's/^/| /' conftest.$ac_ext >&5
88967 glibcxx_cv_func__finite_use=no
88969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88970 ac_ext=c
88971 ac_cpp='$CPP $CPPFLAGS'
88972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88981 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88983 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88985 for ac_func in _finite
88987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88988 echo "$as_me:$LINENO: checking for $ac_func" >&5
88989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88990 if eval "test \"\${$as_ac_var+set}\" = set"; then
88991 echo $ECHO_N "(cached) $ECHO_C" >&6
88992 else
88993 if test x$gcc_no_link = xyes; then
88994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88996 { (exit 1); exit 1; }; }
88998 cat >conftest.$ac_ext <<_ACEOF
88999 /* confdefs.h. */
89000 _ACEOF
89001 cat confdefs.h >>conftest.$ac_ext
89002 cat >>conftest.$ac_ext <<_ACEOF
89003 /* end confdefs.h. */
89004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89006 #define $ac_func innocuous_$ac_func
89008 /* System header to define __stub macros and hopefully few prototypes,
89009 which can conflict with char $ac_func (); below.
89010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89011 <limits.h> exists even on freestanding compilers. */
89013 #ifdef __STDC__
89014 # include <limits.h>
89015 #else
89016 # include <assert.h>
89017 #endif
89019 #undef $ac_func
89021 /* Override any gcc2 internal prototype to avoid an error. */
89022 #ifdef __cplusplus
89023 extern "C"
89025 #endif
89026 /* We use char because int might match the return type of a gcc2
89027 builtin and then its argument prototype would still apply. */
89028 char $ac_func ();
89029 /* The GNU C library defines this for functions which it implements
89030 to always fail with ENOSYS. Some functions are actually named
89031 something starting with __ and the normal name is an alias. */
89032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89033 choke me
89034 #else
89035 char (*f) () = $ac_func;
89036 #endif
89037 #ifdef __cplusplus
89039 #endif
89042 main ()
89044 return f != $ac_func;
89046 return 0;
89048 _ACEOF
89049 rm -f conftest.$ac_objext conftest$ac_exeext
89050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89051 (eval $ac_link) 2>conftest.er1
89052 ac_status=$?
89053 grep -v '^ *+' conftest.er1 >conftest.err
89054 rm -f conftest.er1
89055 cat conftest.err >&5
89056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057 (exit $ac_status); } &&
89058 { ac_try='test -z "$ac_c_werror_flag"
89059 || test ! -s conftest.err'
89060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89061 (eval $ac_try) 2>&5
89062 ac_status=$?
89063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89064 (exit $ac_status); }; } &&
89065 { ac_try='test -s conftest$ac_exeext'
89066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89067 (eval $ac_try) 2>&5
89068 ac_status=$?
89069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89070 (exit $ac_status); }; }; then
89071 eval "$as_ac_var=yes"
89072 else
89073 echo "$as_me: failed program was:" >&5
89074 sed 's/^/| /' conftest.$ac_ext >&5
89076 eval "$as_ac_var=no"
89078 rm -f conftest.err conftest.$ac_objext \
89079 conftest$ac_exeext conftest.$ac_ext
89081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89083 if test `eval echo '${'$as_ac_var'}'` = yes; then
89084 cat >>confdefs.h <<_ACEOF
89085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89086 _ACEOF
89089 done
89099 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89100 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89101 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89102 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89103 echo $ECHO_N "(cached) $ECHO_C" >&6
89104 else
89108 ac_ext=cc
89109 ac_cpp='$CXXCPP $CPPFLAGS'
89110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89114 cat >conftest.$ac_ext <<_ACEOF
89115 /* confdefs.h. */
89116 _ACEOF
89117 cat confdefs.h >>conftest.$ac_ext
89118 cat >>conftest.$ac_ext <<_ACEOF
89119 /* end confdefs.h. */
89120 #include <math.h>
89122 main ()
89124 copysign(0, 0);
89126 return 0;
89128 _ACEOF
89129 rm -f conftest.$ac_objext
89130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89131 (eval $ac_compile) 2>conftest.er1
89132 ac_status=$?
89133 grep -v '^ *+' conftest.er1 >conftest.err
89134 rm -f conftest.er1
89135 cat conftest.err >&5
89136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89137 (exit $ac_status); } &&
89138 { ac_try='test -z "$ac_cxx_werror_flag"
89139 || test ! -s conftest.err'
89140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89141 (eval $ac_try) 2>&5
89142 ac_status=$?
89143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89144 (exit $ac_status); }; } &&
89145 { ac_try='test -s conftest.$ac_objext'
89146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89147 (eval $ac_try) 2>&5
89148 ac_status=$?
89149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89150 (exit $ac_status); }; }; then
89151 glibcxx_cv_func_copysign_use=yes
89152 else
89153 echo "$as_me: failed program was:" >&5
89154 sed 's/^/| /' conftest.$ac_ext >&5
89156 glibcxx_cv_func_copysign_use=no
89158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89159 ac_ext=c
89160 ac_cpp='$CPP $CPPFLAGS'
89161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89170 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89172 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89174 for ac_func in copysign
89176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89177 echo "$as_me:$LINENO: checking for $ac_func" >&5
89178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89179 if eval "test \"\${$as_ac_var+set}\" = set"; then
89180 echo $ECHO_N "(cached) $ECHO_C" >&6
89181 else
89182 if test x$gcc_no_link = xyes; then
89183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89185 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89195 #define $ac_func innocuous_$ac_func
89197 /* System header to define __stub macros and hopefully few prototypes,
89198 which can conflict with char $ac_func (); below.
89199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89200 <limits.h> exists even on freestanding compilers. */
89202 #ifdef __STDC__
89203 # include <limits.h>
89204 #else
89205 # include <assert.h>
89206 #endif
89208 #undef $ac_func
89210 /* Override any gcc2 internal prototype to avoid an error. */
89211 #ifdef __cplusplus
89212 extern "C"
89214 #endif
89215 /* We use char because int might match the return type of a gcc2
89216 builtin and then its argument prototype would still apply. */
89217 char $ac_func ();
89218 /* The GNU C library defines this for functions which it implements
89219 to always fail with ENOSYS. Some functions are actually named
89220 something starting with __ and the normal name is an alias. */
89221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89222 choke me
89223 #else
89224 char (*f) () = $ac_func;
89225 #endif
89226 #ifdef __cplusplus
89228 #endif
89231 main ()
89233 return f != $ac_func;
89235 return 0;
89237 _ACEOF
89238 rm -f conftest.$ac_objext conftest$ac_exeext
89239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89240 (eval $ac_link) 2>conftest.er1
89241 ac_status=$?
89242 grep -v '^ *+' conftest.er1 >conftest.err
89243 rm -f conftest.er1
89244 cat conftest.err >&5
89245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89246 (exit $ac_status); } &&
89247 { ac_try='test -z "$ac_c_werror_flag"
89248 || test ! -s conftest.err'
89249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89250 (eval $ac_try) 2>&5
89251 ac_status=$?
89252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89253 (exit $ac_status); }; } &&
89254 { ac_try='test -s conftest$ac_exeext'
89255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89256 (eval $ac_try) 2>&5
89257 ac_status=$?
89258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89259 (exit $ac_status); }; }; then
89260 eval "$as_ac_var=yes"
89261 else
89262 echo "$as_me: failed program was:" >&5
89263 sed 's/^/| /' conftest.$ac_ext >&5
89265 eval "$as_ac_var=no"
89267 rm -f conftest.err conftest.$ac_objext \
89268 conftest$ac_exeext conftest.$ac_ext
89270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89272 if test `eval echo '${'$as_ac_var'}'` = yes; then
89273 cat >>confdefs.h <<_ACEOF
89274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89275 _ACEOF
89278 done
89280 else
89282 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89283 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89284 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89285 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89286 echo $ECHO_N "(cached) $ECHO_C" >&6
89287 else
89291 ac_ext=cc
89292 ac_cpp='$CXXCPP $CPPFLAGS'
89293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89297 cat >conftest.$ac_ext <<_ACEOF
89298 /* confdefs.h. */
89299 _ACEOF
89300 cat confdefs.h >>conftest.$ac_ext
89301 cat >>conftest.$ac_ext <<_ACEOF
89302 /* end confdefs.h. */
89303 #include <math.h>
89305 main ()
89307 _copysign(0, 0);
89309 return 0;
89311 _ACEOF
89312 rm -f conftest.$ac_objext
89313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89314 (eval $ac_compile) 2>conftest.er1
89315 ac_status=$?
89316 grep -v '^ *+' conftest.er1 >conftest.err
89317 rm -f conftest.er1
89318 cat conftest.err >&5
89319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89320 (exit $ac_status); } &&
89321 { ac_try='test -z "$ac_cxx_werror_flag"
89322 || test ! -s conftest.err'
89323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89324 (eval $ac_try) 2>&5
89325 ac_status=$?
89326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89327 (exit $ac_status); }; } &&
89328 { ac_try='test -s conftest.$ac_objext'
89329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89330 (eval $ac_try) 2>&5
89331 ac_status=$?
89332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89333 (exit $ac_status); }; }; then
89334 glibcxx_cv_func__copysign_use=yes
89335 else
89336 echo "$as_me: failed program was:" >&5
89337 sed 's/^/| /' conftest.$ac_ext >&5
89339 glibcxx_cv_func__copysign_use=no
89341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89342 ac_ext=c
89343 ac_cpp='$CPP $CPPFLAGS'
89344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89353 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89355 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89357 for ac_func in _copysign
89359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89360 echo "$as_me:$LINENO: checking for $ac_func" >&5
89361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89362 if eval "test \"\${$as_ac_var+set}\" = set"; then
89363 echo $ECHO_N "(cached) $ECHO_C" >&6
89364 else
89365 if test x$gcc_no_link = xyes; then
89366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89368 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89378 #define $ac_func innocuous_$ac_func
89380 /* System header to define __stub macros and hopefully few prototypes,
89381 which can conflict with char $ac_func (); below.
89382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89383 <limits.h> exists even on freestanding compilers. */
89385 #ifdef __STDC__
89386 # include <limits.h>
89387 #else
89388 # include <assert.h>
89389 #endif
89391 #undef $ac_func
89393 /* Override any gcc2 internal prototype to avoid an error. */
89394 #ifdef __cplusplus
89395 extern "C"
89397 #endif
89398 /* We use char because int might match the return type of a gcc2
89399 builtin and then its argument prototype would still apply. */
89400 char $ac_func ();
89401 /* The GNU C library defines this for functions which it implements
89402 to always fail with ENOSYS. Some functions are actually named
89403 something starting with __ and the normal name is an alias. */
89404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89405 choke me
89406 #else
89407 char (*f) () = $ac_func;
89408 #endif
89409 #ifdef __cplusplus
89411 #endif
89414 main ()
89416 return f != $ac_func;
89418 return 0;
89420 _ACEOF
89421 rm -f conftest.$ac_objext conftest$ac_exeext
89422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89423 (eval $ac_link) 2>conftest.er1
89424 ac_status=$?
89425 grep -v '^ *+' conftest.er1 >conftest.err
89426 rm -f conftest.er1
89427 cat conftest.err >&5
89428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89429 (exit $ac_status); } &&
89430 { ac_try='test -z "$ac_c_werror_flag"
89431 || test ! -s conftest.err'
89432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89433 (eval $ac_try) 2>&5
89434 ac_status=$?
89435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89436 (exit $ac_status); }; } &&
89437 { ac_try='test -s conftest$ac_exeext'
89438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89439 (eval $ac_try) 2>&5
89440 ac_status=$?
89441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89442 (exit $ac_status); }; }; then
89443 eval "$as_ac_var=yes"
89444 else
89445 echo "$as_me: failed program was:" >&5
89446 sed 's/^/| /' conftest.$ac_ext >&5
89448 eval "$as_ac_var=no"
89450 rm -f conftest.err conftest.$ac_objext \
89451 conftest$ac_exeext conftest.$ac_ext
89453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89455 if test `eval echo '${'$as_ac_var'}'` = yes; then
89456 cat >>confdefs.h <<_ACEOF
89457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89458 _ACEOF
89461 done
89471 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89472 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89473 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89474 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89475 echo $ECHO_N "(cached) $ECHO_C" >&6
89476 else
89480 ac_ext=cc
89481 ac_cpp='$CXXCPP $CPPFLAGS'
89482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89486 cat >conftest.$ac_ext <<_ACEOF
89487 /* confdefs.h. */
89488 _ACEOF
89489 cat confdefs.h >>conftest.$ac_ext
89490 cat >>conftest.$ac_ext <<_ACEOF
89491 /* end confdefs.h. */
89492 #include <math.h>
89494 main ()
89496 sincos(0, 0, 0);
89498 return 0;
89500 _ACEOF
89501 rm -f conftest.$ac_objext
89502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89503 (eval $ac_compile) 2>conftest.er1
89504 ac_status=$?
89505 grep -v '^ *+' conftest.er1 >conftest.err
89506 rm -f conftest.er1
89507 cat conftest.err >&5
89508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89509 (exit $ac_status); } &&
89510 { ac_try='test -z "$ac_cxx_werror_flag"
89511 || test ! -s conftest.err'
89512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89513 (eval $ac_try) 2>&5
89514 ac_status=$?
89515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516 (exit $ac_status); }; } &&
89517 { ac_try='test -s conftest.$ac_objext'
89518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519 (eval $ac_try) 2>&5
89520 ac_status=$?
89521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522 (exit $ac_status); }; }; then
89523 glibcxx_cv_func_sincos_use=yes
89524 else
89525 echo "$as_me: failed program was:" >&5
89526 sed 's/^/| /' conftest.$ac_ext >&5
89528 glibcxx_cv_func_sincos_use=no
89530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89531 ac_ext=c
89532 ac_cpp='$CPP $CPPFLAGS'
89533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89541 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89542 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89544 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89546 for ac_func in sincos
89548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89549 echo "$as_me:$LINENO: checking for $ac_func" >&5
89550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89551 if eval "test \"\${$as_ac_var+set}\" = set"; then
89552 echo $ECHO_N "(cached) $ECHO_C" >&6
89553 else
89554 if test x$gcc_no_link = xyes; then
89555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89557 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89567 #define $ac_func innocuous_$ac_func
89569 /* System header to define __stub macros and hopefully few prototypes,
89570 which can conflict with char $ac_func (); below.
89571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89572 <limits.h> exists even on freestanding compilers. */
89574 #ifdef __STDC__
89575 # include <limits.h>
89576 #else
89577 # include <assert.h>
89578 #endif
89580 #undef $ac_func
89582 /* Override any gcc2 internal prototype to avoid an error. */
89583 #ifdef __cplusplus
89584 extern "C"
89586 #endif
89587 /* We use char because int might match the return type of a gcc2
89588 builtin and then its argument prototype would still apply. */
89589 char $ac_func ();
89590 /* The GNU C library defines this for functions which it implements
89591 to always fail with ENOSYS. Some functions are actually named
89592 something starting with __ and the normal name is an alias. */
89593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89594 choke me
89595 #else
89596 char (*f) () = $ac_func;
89597 #endif
89598 #ifdef __cplusplus
89600 #endif
89603 main ()
89605 return f != $ac_func;
89607 return 0;
89609 _ACEOF
89610 rm -f conftest.$ac_objext conftest$ac_exeext
89611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89612 (eval $ac_link) 2>conftest.er1
89613 ac_status=$?
89614 grep -v '^ *+' conftest.er1 >conftest.err
89615 rm -f conftest.er1
89616 cat conftest.err >&5
89617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89618 (exit $ac_status); } &&
89619 { ac_try='test -z "$ac_c_werror_flag"
89620 || test ! -s conftest.err'
89621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89622 (eval $ac_try) 2>&5
89623 ac_status=$?
89624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625 (exit $ac_status); }; } &&
89626 { ac_try='test -s conftest$ac_exeext'
89627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628 (eval $ac_try) 2>&5
89629 ac_status=$?
89630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631 (exit $ac_status); }; }; then
89632 eval "$as_ac_var=yes"
89633 else
89634 echo "$as_me: failed program was:" >&5
89635 sed 's/^/| /' conftest.$ac_ext >&5
89637 eval "$as_ac_var=no"
89639 rm -f conftest.err conftest.$ac_objext \
89640 conftest$ac_exeext conftest.$ac_ext
89642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89644 if test `eval echo '${'$as_ac_var'}'` = yes; then
89645 cat >>confdefs.h <<_ACEOF
89646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89647 _ACEOF
89650 done
89652 else
89654 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89655 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89656 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89657 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89658 echo $ECHO_N "(cached) $ECHO_C" >&6
89659 else
89663 ac_ext=cc
89664 ac_cpp='$CXXCPP $CPPFLAGS'
89665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89669 cat >conftest.$ac_ext <<_ACEOF
89670 /* confdefs.h. */
89671 _ACEOF
89672 cat confdefs.h >>conftest.$ac_ext
89673 cat >>conftest.$ac_ext <<_ACEOF
89674 /* end confdefs.h. */
89675 #include <math.h>
89677 main ()
89679 _sincos(0, 0, 0);
89681 return 0;
89683 _ACEOF
89684 rm -f conftest.$ac_objext
89685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89686 (eval $ac_compile) 2>conftest.er1
89687 ac_status=$?
89688 grep -v '^ *+' conftest.er1 >conftest.err
89689 rm -f conftest.er1
89690 cat conftest.err >&5
89691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89692 (exit $ac_status); } &&
89693 { ac_try='test -z "$ac_cxx_werror_flag"
89694 || test ! -s conftest.err'
89695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89696 (eval $ac_try) 2>&5
89697 ac_status=$?
89698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699 (exit $ac_status); }; } &&
89700 { ac_try='test -s conftest.$ac_objext'
89701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89702 (eval $ac_try) 2>&5
89703 ac_status=$?
89704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89705 (exit $ac_status); }; }; then
89706 glibcxx_cv_func__sincos_use=yes
89707 else
89708 echo "$as_me: failed program was:" >&5
89709 sed 's/^/| /' conftest.$ac_ext >&5
89711 glibcxx_cv_func__sincos_use=no
89713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89714 ac_ext=c
89715 ac_cpp='$CPP $CPPFLAGS'
89716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89725 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89727 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89729 for ac_func in _sincos
89731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89732 echo "$as_me:$LINENO: checking for $ac_func" >&5
89733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89734 if eval "test \"\${$as_ac_var+set}\" = set"; then
89735 echo $ECHO_N "(cached) $ECHO_C" >&6
89736 else
89737 if test x$gcc_no_link = xyes; then
89738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89740 { (exit 1); exit 1; }; }
89742 cat >conftest.$ac_ext <<_ACEOF
89743 /* confdefs.h. */
89744 _ACEOF
89745 cat confdefs.h >>conftest.$ac_ext
89746 cat >>conftest.$ac_ext <<_ACEOF
89747 /* end confdefs.h. */
89748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89750 #define $ac_func innocuous_$ac_func
89752 /* System header to define __stub macros and hopefully few prototypes,
89753 which can conflict with char $ac_func (); below.
89754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89755 <limits.h> exists even on freestanding compilers. */
89757 #ifdef __STDC__
89758 # include <limits.h>
89759 #else
89760 # include <assert.h>
89761 #endif
89763 #undef $ac_func
89765 /* Override any gcc2 internal prototype to avoid an error. */
89766 #ifdef __cplusplus
89767 extern "C"
89769 #endif
89770 /* We use char because int might match the return type of a gcc2
89771 builtin and then its argument prototype would still apply. */
89772 char $ac_func ();
89773 /* The GNU C library defines this for functions which it implements
89774 to always fail with ENOSYS. Some functions are actually named
89775 something starting with __ and the normal name is an alias. */
89776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89777 choke me
89778 #else
89779 char (*f) () = $ac_func;
89780 #endif
89781 #ifdef __cplusplus
89783 #endif
89786 main ()
89788 return f != $ac_func;
89790 return 0;
89792 _ACEOF
89793 rm -f conftest.$ac_objext conftest$ac_exeext
89794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89795 (eval $ac_link) 2>conftest.er1
89796 ac_status=$?
89797 grep -v '^ *+' conftest.er1 >conftest.err
89798 rm -f conftest.er1
89799 cat conftest.err >&5
89800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89801 (exit $ac_status); } &&
89802 { ac_try='test -z "$ac_c_werror_flag"
89803 || test ! -s conftest.err'
89804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89805 (eval $ac_try) 2>&5
89806 ac_status=$?
89807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89808 (exit $ac_status); }; } &&
89809 { ac_try='test -s conftest$ac_exeext'
89810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89811 (eval $ac_try) 2>&5
89812 ac_status=$?
89813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89814 (exit $ac_status); }; }; then
89815 eval "$as_ac_var=yes"
89816 else
89817 echo "$as_me: failed program was:" >&5
89818 sed 's/^/| /' conftest.$ac_ext >&5
89820 eval "$as_ac_var=no"
89822 rm -f conftest.err conftest.$ac_objext \
89823 conftest$ac_exeext conftest.$ac_ext
89825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89827 if test `eval echo '${'$as_ac_var'}'` = yes; then
89828 cat >>confdefs.h <<_ACEOF
89829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89830 _ACEOF
89833 done
89843 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89844 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89845 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89846 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89847 echo $ECHO_N "(cached) $ECHO_C" >&6
89848 else
89852 ac_ext=cc
89853 ac_cpp='$CXXCPP $CPPFLAGS'
89854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89858 cat >conftest.$ac_ext <<_ACEOF
89859 /* confdefs.h. */
89860 _ACEOF
89861 cat confdefs.h >>conftest.$ac_ext
89862 cat >>conftest.$ac_ext <<_ACEOF
89863 /* end confdefs.h. */
89864 #include <math.h>
89865 #ifdef HAVE_IEEEFP_H
89866 #include <ieeefp.h>
89867 #endif
89870 main ()
89872 fpclass(0);
89874 return 0;
89876 _ACEOF
89877 rm -f conftest.$ac_objext
89878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89879 (eval $ac_compile) 2>conftest.er1
89880 ac_status=$?
89881 grep -v '^ *+' conftest.er1 >conftest.err
89882 rm -f conftest.er1
89883 cat conftest.err >&5
89884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89885 (exit $ac_status); } &&
89886 { ac_try='test -z "$ac_cxx_werror_flag"
89887 || test ! -s conftest.err'
89888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89889 (eval $ac_try) 2>&5
89890 ac_status=$?
89891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89892 (exit $ac_status); }; } &&
89893 { ac_try='test -s conftest.$ac_objext'
89894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89895 (eval $ac_try) 2>&5
89896 ac_status=$?
89897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89898 (exit $ac_status); }; }; then
89899 glibcxx_cv_func_fpclass_use=yes
89900 else
89901 echo "$as_me: failed program was:" >&5
89902 sed 's/^/| /' conftest.$ac_ext >&5
89904 glibcxx_cv_func_fpclass_use=no
89906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89907 ac_ext=c
89908 ac_cpp='$CPP $CPPFLAGS'
89909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89918 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89920 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89922 for ac_func in fpclass
89924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89925 echo "$as_me:$LINENO: checking for $ac_func" >&5
89926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89927 if eval "test \"\${$as_ac_var+set}\" = set"; then
89928 echo $ECHO_N "(cached) $ECHO_C" >&6
89929 else
89930 if test x$gcc_no_link = xyes; then
89931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89933 { (exit 1); exit 1; }; }
89935 cat >conftest.$ac_ext <<_ACEOF
89936 /* confdefs.h. */
89937 _ACEOF
89938 cat confdefs.h >>conftest.$ac_ext
89939 cat >>conftest.$ac_ext <<_ACEOF
89940 /* end confdefs.h. */
89941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89943 #define $ac_func innocuous_$ac_func
89945 /* System header to define __stub macros and hopefully few prototypes,
89946 which can conflict with char $ac_func (); below.
89947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89948 <limits.h> exists even on freestanding compilers. */
89950 #ifdef __STDC__
89951 # include <limits.h>
89952 #else
89953 # include <assert.h>
89954 #endif
89956 #undef $ac_func
89958 /* Override any gcc2 internal prototype to avoid an error. */
89959 #ifdef __cplusplus
89960 extern "C"
89962 #endif
89963 /* We use char because int might match the return type of a gcc2
89964 builtin and then its argument prototype would still apply. */
89965 char $ac_func ();
89966 /* The GNU C library defines this for functions which it implements
89967 to always fail with ENOSYS. Some functions are actually named
89968 something starting with __ and the normal name is an alias. */
89969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89970 choke me
89971 #else
89972 char (*f) () = $ac_func;
89973 #endif
89974 #ifdef __cplusplus
89976 #endif
89979 main ()
89981 return f != $ac_func;
89983 return 0;
89985 _ACEOF
89986 rm -f conftest.$ac_objext conftest$ac_exeext
89987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89988 (eval $ac_link) 2>conftest.er1
89989 ac_status=$?
89990 grep -v '^ *+' conftest.er1 >conftest.err
89991 rm -f conftest.er1
89992 cat conftest.err >&5
89993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89994 (exit $ac_status); } &&
89995 { ac_try='test -z "$ac_c_werror_flag"
89996 || test ! -s conftest.err'
89997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89998 (eval $ac_try) 2>&5
89999 ac_status=$?
90000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90001 (exit $ac_status); }; } &&
90002 { ac_try='test -s conftest$ac_exeext'
90003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90004 (eval $ac_try) 2>&5
90005 ac_status=$?
90006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90007 (exit $ac_status); }; }; then
90008 eval "$as_ac_var=yes"
90009 else
90010 echo "$as_me: failed program was:" >&5
90011 sed 's/^/| /' conftest.$ac_ext >&5
90013 eval "$as_ac_var=no"
90015 rm -f conftest.err conftest.$ac_objext \
90016 conftest$ac_exeext conftest.$ac_ext
90018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90020 if test `eval echo '${'$as_ac_var'}'` = yes; then
90021 cat >>confdefs.h <<_ACEOF
90022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90023 _ACEOF
90026 done
90028 else
90030 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90031 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90032 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90033 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90034 echo $ECHO_N "(cached) $ECHO_C" >&6
90035 else
90039 ac_ext=cc
90040 ac_cpp='$CXXCPP $CPPFLAGS'
90041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90045 cat >conftest.$ac_ext <<_ACEOF
90046 /* confdefs.h. */
90047 _ACEOF
90048 cat confdefs.h >>conftest.$ac_ext
90049 cat >>conftest.$ac_ext <<_ACEOF
90050 /* end confdefs.h. */
90051 #include <math.h>
90052 #ifdef HAVE_IEEEFP_H
90053 #include <ieeefp.h>
90054 #endif
90057 main ()
90059 _fpclass(0);
90061 return 0;
90063 _ACEOF
90064 rm -f conftest.$ac_objext
90065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90066 (eval $ac_compile) 2>conftest.er1
90067 ac_status=$?
90068 grep -v '^ *+' conftest.er1 >conftest.err
90069 rm -f conftest.er1
90070 cat conftest.err >&5
90071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90072 (exit $ac_status); } &&
90073 { ac_try='test -z "$ac_cxx_werror_flag"
90074 || test ! -s conftest.err'
90075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90076 (eval $ac_try) 2>&5
90077 ac_status=$?
90078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90079 (exit $ac_status); }; } &&
90080 { ac_try='test -s conftest.$ac_objext'
90081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90082 (eval $ac_try) 2>&5
90083 ac_status=$?
90084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90085 (exit $ac_status); }; }; then
90086 glibcxx_cv_func__fpclass_use=yes
90087 else
90088 echo "$as_me: failed program was:" >&5
90089 sed 's/^/| /' conftest.$ac_ext >&5
90091 glibcxx_cv_func__fpclass_use=no
90093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90094 ac_ext=c
90095 ac_cpp='$CPP $CPPFLAGS'
90096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90105 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90107 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90109 for ac_func in _fpclass
90111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90112 echo "$as_me:$LINENO: checking for $ac_func" >&5
90113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90114 if eval "test \"\${$as_ac_var+set}\" = set"; then
90115 echo $ECHO_N "(cached) $ECHO_C" >&6
90116 else
90117 if test x$gcc_no_link = xyes; then
90118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90120 { (exit 1); exit 1; }; }
90122 cat >conftest.$ac_ext <<_ACEOF
90123 /* confdefs.h. */
90124 _ACEOF
90125 cat confdefs.h >>conftest.$ac_ext
90126 cat >>conftest.$ac_ext <<_ACEOF
90127 /* end confdefs.h. */
90128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90130 #define $ac_func innocuous_$ac_func
90132 /* System header to define __stub macros and hopefully few prototypes,
90133 which can conflict with char $ac_func (); below.
90134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90135 <limits.h> exists even on freestanding compilers. */
90137 #ifdef __STDC__
90138 # include <limits.h>
90139 #else
90140 # include <assert.h>
90141 #endif
90143 #undef $ac_func
90145 /* Override any gcc2 internal prototype to avoid an error. */
90146 #ifdef __cplusplus
90147 extern "C"
90149 #endif
90150 /* We use char because int might match the return type of a gcc2
90151 builtin and then its argument prototype would still apply. */
90152 char $ac_func ();
90153 /* The GNU C library defines this for functions which it implements
90154 to always fail with ENOSYS. Some functions are actually named
90155 something starting with __ and the normal name is an alias. */
90156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90157 choke me
90158 #else
90159 char (*f) () = $ac_func;
90160 #endif
90161 #ifdef __cplusplus
90163 #endif
90166 main ()
90168 return f != $ac_func;
90170 return 0;
90172 _ACEOF
90173 rm -f conftest.$ac_objext conftest$ac_exeext
90174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90175 (eval $ac_link) 2>conftest.er1
90176 ac_status=$?
90177 grep -v '^ *+' conftest.er1 >conftest.err
90178 rm -f conftest.er1
90179 cat conftest.err >&5
90180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90181 (exit $ac_status); } &&
90182 { ac_try='test -z "$ac_c_werror_flag"
90183 || test ! -s conftest.err'
90184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90185 (eval $ac_try) 2>&5
90186 ac_status=$?
90187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188 (exit $ac_status); }; } &&
90189 { ac_try='test -s conftest$ac_exeext'
90190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90191 (eval $ac_try) 2>&5
90192 ac_status=$?
90193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90194 (exit $ac_status); }; }; then
90195 eval "$as_ac_var=yes"
90196 else
90197 echo "$as_me: failed program was:" >&5
90198 sed 's/^/| /' conftest.$ac_ext >&5
90200 eval "$as_ac_var=no"
90202 rm -f conftest.err conftest.$ac_objext \
90203 conftest$ac_exeext conftest.$ac_ext
90205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90207 if test `eval echo '${'$as_ac_var'}'` = yes; then
90208 cat >>confdefs.h <<_ACEOF
90209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90210 _ACEOF
90213 done
90223 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90224 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90225 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90226 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90227 echo $ECHO_N "(cached) $ECHO_C" >&6
90228 else
90232 ac_ext=cc
90233 ac_cpp='$CXXCPP $CPPFLAGS'
90234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90238 cat >conftest.$ac_ext <<_ACEOF
90239 /* confdefs.h. */
90240 _ACEOF
90241 cat confdefs.h >>conftest.$ac_ext
90242 cat >>conftest.$ac_ext <<_ACEOF
90243 /* end confdefs.h. */
90244 #include <math.h>
90245 #ifdef HAVE_IEEEFP_H
90246 #include <ieeefp.h>
90247 #endif
90250 main ()
90252 qfpclass(0);
90254 return 0;
90256 _ACEOF
90257 rm -f conftest.$ac_objext
90258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90259 (eval $ac_compile) 2>conftest.er1
90260 ac_status=$?
90261 grep -v '^ *+' conftest.er1 >conftest.err
90262 rm -f conftest.er1
90263 cat conftest.err >&5
90264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90265 (exit $ac_status); } &&
90266 { ac_try='test -z "$ac_cxx_werror_flag"
90267 || test ! -s conftest.err'
90268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90269 (eval $ac_try) 2>&5
90270 ac_status=$?
90271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90272 (exit $ac_status); }; } &&
90273 { ac_try='test -s conftest.$ac_objext'
90274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90275 (eval $ac_try) 2>&5
90276 ac_status=$?
90277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90278 (exit $ac_status); }; }; then
90279 glibcxx_cv_func_qfpclass_use=yes
90280 else
90281 echo "$as_me: failed program was:" >&5
90282 sed 's/^/| /' conftest.$ac_ext >&5
90284 glibcxx_cv_func_qfpclass_use=no
90286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90287 ac_ext=c
90288 ac_cpp='$CPP $CPPFLAGS'
90289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90298 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90300 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90302 for ac_func in qfpclass
90304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90305 echo "$as_me:$LINENO: checking for $ac_func" >&5
90306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90307 if eval "test \"\${$as_ac_var+set}\" = set"; then
90308 echo $ECHO_N "(cached) $ECHO_C" >&6
90309 else
90310 if test x$gcc_no_link = xyes; then
90311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90313 { (exit 1); exit 1; }; }
90315 cat >conftest.$ac_ext <<_ACEOF
90316 /* confdefs.h. */
90317 _ACEOF
90318 cat confdefs.h >>conftest.$ac_ext
90319 cat >>conftest.$ac_ext <<_ACEOF
90320 /* end confdefs.h. */
90321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90323 #define $ac_func innocuous_$ac_func
90325 /* System header to define __stub macros and hopefully few prototypes,
90326 which can conflict with char $ac_func (); below.
90327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90328 <limits.h> exists even on freestanding compilers. */
90330 #ifdef __STDC__
90331 # include <limits.h>
90332 #else
90333 # include <assert.h>
90334 #endif
90336 #undef $ac_func
90338 /* Override any gcc2 internal prototype to avoid an error. */
90339 #ifdef __cplusplus
90340 extern "C"
90342 #endif
90343 /* We use char because int might match the return type of a gcc2
90344 builtin and then its argument prototype would still apply. */
90345 char $ac_func ();
90346 /* The GNU C library defines this for functions which it implements
90347 to always fail with ENOSYS. Some functions are actually named
90348 something starting with __ and the normal name is an alias. */
90349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90350 choke me
90351 #else
90352 char (*f) () = $ac_func;
90353 #endif
90354 #ifdef __cplusplus
90356 #endif
90359 main ()
90361 return f != $ac_func;
90363 return 0;
90365 _ACEOF
90366 rm -f conftest.$ac_objext conftest$ac_exeext
90367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90368 (eval $ac_link) 2>conftest.er1
90369 ac_status=$?
90370 grep -v '^ *+' conftest.er1 >conftest.err
90371 rm -f conftest.er1
90372 cat conftest.err >&5
90373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90374 (exit $ac_status); } &&
90375 { ac_try='test -z "$ac_c_werror_flag"
90376 || test ! -s conftest.err'
90377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90378 (eval $ac_try) 2>&5
90379 ac_status=$?
90380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90381 (exit $ac_status); }; } &&
90382 { ac_try='test -s conftest$ac_exeext'
90383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90384 (eval $ac_try) 2>&5
90385 ac_status=$?
90386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90387 (exit $ac_status); }; }; then
90388 eval "$as_ac_var=yes"
90389 else
90390 echo "$as_me: failed program was:" >&5
90391 sed 's/^/| /' conftest.$ac_ext >&5
90393 eval "$as_ac_var=no"
90395 rm -f conftest.err conftest.$ac_objext \
90396 conftest$ac_exeext conftest.$ac_ext
90398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90400 if test `eval echo '${'$as_ac_var'}'` = yes; then
90401 cat >>confdefs.h <<_ACEOF
90402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90403 _ACEOF
90406 done
90408 else
90410 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90411 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90412 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90413 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90414 echo $ECHO_N "(cached) $ECHO_C" >&6
90415 else
90419 ac_ext=cc
90420 ac_cpp='$CXXCPP $CPPFLAGS'
90421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90425 cat >conftest.$ac_ext <<_ACEOF
90426 /* confdefs.h. */
90427 _ACEOF
90428 cat confdefs.h >>conftest.$ac_ext
90429 cat >>conftest.$ac_ext <<_ACEOF
90430 /* end confdefs.h. */
90431 #include <math.h>
90432 #ifdef HAVE_IEEEFP_H
90433 #include <ieeefp.h>
90434 #endif
90437 main ()
90439 _qfpclass(0);
90441 return 0;
90443 _ACEOF
90444 rm -f conftest.$ac_objext
90445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90446 (eval $ac_compile) 2>conftest.er1
90447 ac_status=$?
90448 grep -v '^ *+' conftest.er1 >conftest.err
90449 rm -f conftest.er1
90450 cat conftest.err >&5
90451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90452 (exit $ac_status); } &&
90453 { ac_try='test -z "$ac_cxx_werror_flag"
90454 || test ! -s conftest.err'
90455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90456 (eval $ac_try) 2>&5
90457 ac_status=$?
90458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90459 (exit $ac_status); }; } &&
90460 { ac_try='test -s conftest.$ac_objext'
90461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90462 (eval $ac_try) 2>&5
90463 ac_status=$?
90464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90465 (exit $ac_status); }; }; then
90466 glibcxx_cv_func__qfpclass_use=yes
90467 else
90468 echo "$as_me: failed program was:" >&5
90469 sed 's/^/| /' conftest.$ac_ext >&5
90471 glibcxx_cv_func__qfpclass_use=no
90473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90474 ac_ext=c
90475 ac_cpp='$CPP $CPPFLAGS'
90476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90485 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90487 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90489 for ac_func in _qfpclass
90491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90492 echo "$as_me:$LINENO: checking for $ac_func" >&5
90493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90494 if eval "test \"\${$as_ac_var+set}\" = set"; then
90495 echo $ECHO_N "(cached) $ECHO_C" >&6
90496 else
90497 if test x$gcc_no_link = xyes; then
90498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90500 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90510 #define $ac_func innocuous_$ac_func
90512 /* System header to define __stub macros and hopefully few prototypes,
90513 which can conflict with char $ac_func (); below.
90514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90515 <limits.h> exists even on freestanding compilers. */
90517 #ifdef __STDC__
90518 # include <limits.h>
90519 #else
90520 # include <assert.h>
90521 #endif
90523 #undef $ac_func
90525 /* Override any gcc2 internal prototype to avoid an error. */
90526 #ifdef __cplusplus
90527 extern "C"
90529 #endif
90530 /* We use char because int might match the return type of a gcc2
90531 builtin and then its argument prototype would still apply. */
90532 char $ac_func ();
90533 /* The GNU C library defines this for functions which it implements
90534 to always fail with ENOSYS. Some functions are actually named
90535 something starting with __ and the normal name is an alias. */
90536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90537 choke me
90538 #else
90539 char (*f) () = $ac_func;
90540 #endif
90541 #ifdef __cplusplus
90543 #endif
90546 main ()
90548 return f != $ac_func;
90550 return 0;
90552 _ACEOF
90553 rm -f conftest.$ac_objext conftest$ac_exeext
90554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90555 (eval $ac_link) 2>conftest.er1
90556 ac_status=$?
90557 grep -v '^ *+' conftest.er1 >conftest.err
90558 rm -f conftest.er1
90559 cat conftest.err >&5
90560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90561 (exit $ac_status); } &&
90562 { ac_try='test -z "$ac_c_werror_flag"
90563 || test ! -s conftest.err'
90564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90565 (eval $ac_try) 2>&5
90566 ac_status=$?
90567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90568 (exit $ac_status); }; } &&
90569 { ac_try='test -s conftest$ac_exeext'
90570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90571 (eval $ac_try) 2>&5
90572 ac_status=$?
90573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90574 (exit $ac_status); }; }; then
90575 eval "$as_ac_var=yes"
90576 else
90577 echo "$as_me: failed program was:" >&5
90578 sed 's/^/| /' conftest.$ac_ext >&5
90580 eval "$as_ac_var=no"
90582 rm -f conftest.err conftest.$ac_objext \
90583 conftest$ac_exeext conftest.$ac_ext
90585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90587 if test `eval echo '${'$as_ac_var'}'` = yes; then
90588 cat >>confdefs.h <<_ACEOF
90589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90590 _ACEOF
90593 done
90603 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90604 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90605 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90606 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90607 echo $ECHO_N "(cached) $ECHO_C" >&6
90608 else
90612 ac_ext=cc
90613 ac_cpp='$CXXCPP $CPPFLAGS'
90614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90618 cat >conftest.$ac_ext <<_ACEOF
90619 /* confdefs.h. */
90620 _ACEOF
90621 cat confdefs.h >>conftest.$ac_ext
90622 cat >>conftest.$ac_ext <<_ACEOF
90623 /* end confdefs.h. */
90624 #include <math.h>
90626 main ()
90628 hypot(0, 0);
90630 return 0;
90632 _ACEOF
90633 rm -f conftest.$ac_objext
90634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90635 (eval $ac_compile) 2>conftest.er1
90636 ac_status=$?
90637 grep -v '^ *+' conftest.er1 >conftest.err
90638 rm -f conftest.er1
90639 cat conftest.err >&5
90640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90641 (exit $ac_status); } &&
90642 { ac_try='test -z "$ac_cxx_werror_flag"
90643 || test ! -s conftest.err'
90644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90645 (eval $ac_try) 2>&5
90646 ac_status=$?
90647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90648 (exit $ac_status); }; } &&
90649 { ac_try='test -s conftest.$ac_objext'
90650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90651 (eval $ac_try) 2>&5
90652 ac_status=$?
90653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90654 (exit $ac_status); }; }; then
90655 glibcxx_cv_func_hypot_use=yes
90656 else
90657 echo "$as_me: failed program was:" >&5
90658 sed 's/^/| /' conftest.$ac_ext >&5
90660 glibcxx_cv_func_hypot_use=no
90662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90663 ac_ext=c
90664 ac_cpp='$CPP $CPPFLAGS'
90665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90674 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90676 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90678 for ac_func in hypot
90680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90681 echo "$as_me:$LINENO: checking for $ac_func" >&5
90682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90683 if eval "test \"\${$as_ac_var+set}\" = set"; then
90684 echo $ECHO_N "(cached) $ECHO_C" >&6
90685 else
90686 if test x$gcc_no_link = xyes; then
90687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90689 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90699 #define $ac_func innocuous_$ac_func
90701 /* System header to define __stub macros and hopefully few prototypes,
90702 which can conflict with char $ac_func (); below.
90703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90704 <limits.h> exists even on freestanding compilers. */
90706 #ifdef __STDC__
90707 # include <limits.h>
90708 #else
90709 # include <assert.h>
90710 #endif
90712 #undef $ac_func
90714 /* Override any gcc2 internal prototype to avoid an error. */
90715 #ifdef __cplusplus
90716 extern "C"
90718 #endif
90719 /* We use char because int might match the return type of a gcc2
90720 builtin and then its argument prototype would still apply. */
90721 char $ac_func ();
90722 /* The GNU C library defines this for functions which it implements
90723 to always fail with ENOSYS. Some functions are actually named
90724 something starting with __ and the normal name is an alias. */
90725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90726 choke me
90727 #else
90728 char (*f) () = $ac_func;
90729 #endif
90730 #ifdef __cplusplus
90732 #endif
90735 main ()
90737 return f != $ac_func;
90739 return 0;
90741 _ACEOF
90742 rm -f conftest.$ac_objext conftest$ac_exeext
90743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90744 (eval $ac_link) 2>conftest.er1
90745 ac_status=$?
90746 grep -v '^ *+' conftest.er1 >conftest.err
90747 rm -f conftest.er1
90748 cat conftest.err >&5
90749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90750 (exit $ac_status); } &&
90751 { ac_try='test -z "$ac_c_werror_flag"
90752 || test ! -s conftest.err'
90753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90754 (eval $ac_try) 2>&5
90755 ac_status=$?
90756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90757 (exit $ac_status); }; } &&
90758 { ac_try='test -s conftest$ac_exeext'
90759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90760 (eval $ac_try) 2>&5
90761 ac_status=$?
90762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90763 (exit $ac_status); }; }; then
90764 eval "$as_ac_var=yes"
90765 else
90766 echo "$as_me: failed program was:" >&5
90767 sed 's/^/| /' conftest.$ac_ext >&5
90769 eval "$as_ac_var=no"
90771 rm -f conftest.err conftest.$ac_objext \
90772 conftest$ac_exeext conftest.$ac_ext
90774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90776 if test `eval echo '${'$as_ac_var'}'` = yes; then
90777 cat >>confdefs.h <<_ACEOF
90778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90779 _ACEOF
90782 done
90784 else
90786 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90787 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90788 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90789 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90790 echo $ECHO_N "(cached) $ECHO_C" >&6
90791 else
90795 ac_ext=cc
90796 ac_cpp='$CXXCPP $CPPFLAGS'
90797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90801 cat >conftest.$ac_ext <<_ACEOF
90802 /* confdefs.h. */
90803 _ACEOF
90804 cat confdefs.h >>conftest.$ac_ext
90805 cat >>conftest.$ac_ext <<_ACEOF
90806 /* end confdefs.h. */
90807 #include <math.h>
90809 main ()
90811 _hypot(0, 0);
90813 return 0;
90815 _ACEOF
90816 rm -f conftest.$ac_objext
90817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90818 (eval $ac_compile) 2>conftest.er1
90819 ac_status=$?
90820 grep -v '^ *+' conftest.er1 >conftest.err
90821 rm -f conftest.er1
90822 cat conftest.err >&5
90823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90824 (exit $ac_status); } &&
90825 { ac_try='test -z "$ac_cxx_werror_flag"
90826 || test ! -s conftest.err'
90827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90828 (eval $ac_try) 2>&5
90829 ac_status=$?
90830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90831 (exit $ac_status); }; } &&
90832 { ac_try='test -s conftest.$ac_objext'
90833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90834 (eval $ac_try) 2>&5
90835 ac_status=$?
90836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90837 (exit $ac_status); }; }; then
90838 glibcxx_cv_func__hypot_use=yes
90839 else
90840 echo "$as_me: failed program was:" >&5
90841 sed 's/^/| /' conftest.$ac_ext >&5
90843 glibcxx_cv_func__hypot_use=no
90845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90846 ac_ext=c
90847 ac_cpp='$CPP $CPPFLAGS'
90848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90857 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90859 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90861 for ac_func in _hypot
90863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90864 echo "$as_me:$LINENO: checking for $ac_func" >&5
90865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90866 if eval "test \"\${$as_ac_var+set}\" = set"; then
90867 echo $ECHO_N "(cached) $ECHO_C" >&6
90868 else
90869 if test x$gcc_no_link = xyes; then
90870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90872 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90882 #define $ac_func innocuous_$ac_func
90884 /* System header to define __stub macros and hopefully few prototypes,
90885 which can conflict with char $ac_func (); below.
90886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90887 <limits.h> exists even on freestanding compilers. */
90889 #ifdef __STDC__
90890 # include <limits.h>
90891 #else
90892 # include <assert.h>
90893 #endif
90895 #undef $ac_func
90897 /* Override any gcc2 internal prototype to avoid an error. */
90898 #ifdef __cplusplus
90899 extern "C"
90901 #endif
90902 /* We use char because int might match the return type of a gcc2
90903 builtin and then its argument prototype would still apply. */
90904 char $ac_func ();
90905 /* The GNU C library defines this for functions which it implements
90906 to always fail with ENOSYS. Some functions are actually named
90907 something starting with __ and the normal name is an alias. */
90908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90909 choke me
90910 #else
90911 char (*f) () = $ac_func;
90912 #endif
90913 #ifdef __cplusplus
90915 #endif
90918 main ()
90920 return f != $ac_func;
90922 return 0;
90924 _ACEOF
90925 rm -f conftest.$ac_objext conftest$ac_exeext
90926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90927 (eval $ac_link) 2>conftest.er1
90928 ac_status=$?
90929 grep -v '^ *+' conftest.er1 >conftest.err
90930 rm -f conftest.er1
90931 cat conftest.err >&5
90932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90933 (exit $ac_status); } &&
90934 { ac_try='test -z "$ac_c_werror_flag"
90935 || test ! -s conftest.err'
90936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90937 (eval $ac_try) 2>&5
90938 ac_status=$?
90939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90940 (exit $ac_status); }; } &&
90941 { ac_try='test -s conftest$ac_exeext'
90942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90943 (eval $ac_try) 2>&5
90944 ac_status=$?
90945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90946 (exit $ac_status); }; }; then
90947 eval "$as_ac_var=yes"
90948 else
90949 echo "$as_me: failed program was:" >&5
90950 sed 's/^/| /' conftest.$ac_ext >&5
90952 eval "$as_ac_var=no"
90954 rm -f conftest.err conftest.$ac_objext \
90955 conftest$ac_exeext conftest.$ac_ext
90957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90959 if test `eval echo '${'$as_ac_var'}'` = yes; then
90960 cat >>confdefs.h <<_ACEOF
90961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90962 _ACEOF
90965 done
90975 echo "$as_me:$LINENO: checking for float trig functions" >&5
90976 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90977 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90978 echo $ECHO_N "(cached) $ECHO_C" >&6
90979 else
90983 ac_ext=cc
90984 ac_cpp='$CXXCPP $CPPFLAGS'
90985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90989 cat >conftest.$ac_ext <<_ACEOF
90990 /* confdefs.h. */
90991 _ACEOF
90992 cat confdefs.h >>conftest.$ac_ext
90993 cat >>conftest.$ac_ext <<_ACEOF
90994 /* end confdefs.h. */
90995 #include <math.h>
90997 main ()
90999 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91001 return 0;
91003 _ACEOF
91004 rm -f conftest.$ac_objext
91005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91006 (eval $ac_compile) 2>conftest.er1
91007 ac_status=$?
91008 grep -v '^ *+' conftest.er1 >conftest.err
91009 rm -f conftest.er1
91010 cat conftest.err >&5
91011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91012 (exit $ac_status); } &&
91013 { ac_try='test -z "$ac_cxx_werror_flag"
91014 || test ! -s conftest.err'
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); }; } &&
91020 { ac_try='test -s conftest.$ac_objext'
91021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91022 (eval $ac_try) 2>&5
91023 ac_status=$?
91024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91025 (exit $ac_status); }; }; then
91026 glibcxx_cv_func_float_trig_use=yes
91027 else
91028 echo "$as_me: failed program was:" >&5
91029 sed 's/^/| /' conftest.$ac_ext >&5
91031 glibcxx_cv_func_float_trig_use=no
91033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91034 ac_ext=c
91035 ac_cpp='$CPP $CPPFLAGS'
91036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91043 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91044 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91057 echo "$as_me:$LINENO: checking for $ac_func" >&5
91058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91059 if eval "test \"\${$as_ac_var+set}\" = set"; then
91060 echo $ECHO_N "(cached) $ECHO_C" >&6
91061 else
91062 if test x$gcc_no_link = xyes; then
91063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91065 { (exit 1); exit 1; }; }
91067 cat >conftest.$ac_ext <<_ACEOF
91068 /* confdefs.h. */
91069 _ACEOF
91070 cat confdefs.h >>conftest.$ac_ext
91071 cat >>conftest.$ac_ext <<_ACEOF
91072 /* end confdefs.h. */
91073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91075 #define $ac_func innocuous_$ac_func
91077 /* System header to define __stub macros and hopefully few prototypes,
91078 which can conflict with char $ac_func (); below.
91079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91080 <limits.h> exists even on freestanding compilers. */
91082 #ifdef __STDC__
91083 # include <limits.h>
91084 #else
91085 # include <assert.h>
91086 #endif
91088 #undef $ac_func
91090 /* Override any gcc2 internal prototype to avoid an error. */
91091 #ifdef __cplusplus
91092 extern "C"
91094 #endif
91095 /* We use char because int might match the return type of a gcc2
91096 builtin and then its argument prototype would still apply. */
91097 char $ac_func ();
91098 /* The GNU C library defines this for functions which it implements
91099 to always fail with ENOSYS. Some functions are actually named
91100 something starting with __ and the normal name is an alias. */
91101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91102 choke me
91103 #else
91104 char (*f) () = $ac_func;
91105 #endif
91106 #ifdef __cplusplus
91108 #endif
91111 main ()
91113 return f != $ac_func;
91115 return 0;
91117 _ACEOF
91118 rm -f conftest.$ac_objext conftest$ac_exeext
91119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91120 (eval $ac_link) 2>conftest.er1
91121 ac_status=$?
91122 grep -v '^ *+' conftest.er1 >conftest.err
91123 rm -f conftest.er1
91124 cat conftest.err >&5
91125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91126 (exit $ac_status); } &&
91127 { ac_try='test -z "$ac_c_werror_flag"
91128 || test ! -s conftest.err'
91129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91130 (eval $ac_try) 2>&5
91131 ac_status=$?
91132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91133 (exit $ac_status); }; } &&
91134 { ac_try='test -s conftest$ac_exeext'
91135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91136 (eval $ac_try) 2>&5
91137 ac_status=$?
91138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91139 (exit $ac_status); }; }; then
91140 eval "$as_ac_var=yes"
91141 else
91142 echo "$as_me: failed program was:" >&5
91143 sed 's/^/| /' conftest.$ac_ext >&5
91145 eval "$as_ac_var=no"
91147 rm -f conftest.err conftest.$ac_objext \
91148 conftest$ac_exeext conftest.$ac_ext
91150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91152 if test `eval echo '${'$as_ac_var'}'` = yes; then
91153 cat >>confdefs.h <<_ACEOF
91154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91155 _ACEOF
91158 done
91160 else
91161 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91162 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91163 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91164 echo $ECHO_N "(cached) $ECHO_C" >&6
91165 else
91169 ac_ext=cc
91170 ac_cpp='$CXXCPP $CPPFLAGS'
91171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91175 cat >conftest.$ac_ext <<_ACEOF
91176 /* confdefs.h. */
91177 _ACEOF
91178 cat confdefs.h >>conftest.$ac_ext
91179 cat >>conftest.$ac_ext <<_ACEOF
91180 /* end confdefs.h. */
91181 #include <math.h>
91183 main ()
91185 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91187 return 0;
91189 _ACEOF
91190 rm -f conftest.$ac_objext
91191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91192 (eval $ac_compile) 2>conftest.er1
91193 ac_status=$?
91194 grep -v '^ *+' conftest.er1 >conftest.err
91195 rm -f conftest.er1
91196 cat conftest.err >&5
91197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91198 (exit $ac_status); } &&
91199 { ac_try='test -z "$ac_cxx_werror_flag"
91200 || test ! -s conftest.err'
91201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91202 (eval $ac_try) 2>&5
91203 ac_status=$?
91204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91205 (exit $ac_status); }; } &&
91206 { ac_try='test -s conftest.$ac_objext'
91207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91208 (eval $ac_try) 2>&5
91209 ac_status=$?
91210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91211 (exit $ac_status); }; }; then
91212 glibcxx_cv_func__float_trig_use=yes
91213 else
91214 echo "$as_me: failed program was:" >&5
91215 sed 's/^/| /' conftest.$ac_ext >&5
91217 glibcxx_cv_func__float_trig_use=no
91219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91220 ac_ext=c
91221 ac_cpp='$CPP $CPPFLAGS'
91222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91229 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91230 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91240 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91243 echo "$as_me:$LINENO: checking for $ac_func" >&5
91244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91245 if eval "test \"\${$as_ac_var+set}\" = set"; then
91246 echo $ECHO_N "(cached) $ECHO_C" >&6
91247 else
91248 if test x$gcc_no_link = xyes; then
91249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91251 { (exit 1); exit 1; }; }
91253 cat >conftest.$ac_ext <<_ACEOF
91254 /* confdefs.h. */
91255 _ACEOF
91256 cat confdefs.h >>conftest.$ac_ext
91257 cat >>conftest.$ac_ext <<_ACEOF
91258 /* end confdefs.h. */
91259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91261 #define $ac_func innocuous_$ac_func
91263 /* System header to define __stub macros and hopefully few prototypes,
91264 which can conflict with char $ac_func (); below.
91265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91266 <limits.h> exists even on freestanding compilers. */
91268 #ifdef __STDC__
91269 # include <limits.h>
91270 #else
91271 # include <assert.h>
91272 #endif
91274 #undef $ac_func
91276 /* Override any gcc2 internal prototype to avoid an error. */
91277 #ifdef __cplusplus
91278 extern "C"
91280 #endif
91281 /* We use char because int might match the return type of a gcc2
91282 builtin and then its argument prototype would still apply. */
91283 char $ac_func ();
91284 /* The GNU C library defines this for functions which it implements
91285 to always fail with ENOSYS. Some functions are actually named
91286 something starting with __ and the normal name is an alias. */
91287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91288 choke me
91289 #else
91290 char (*f) () = $ac_func;
91291 #endif
91292 #ifdef __cplusplus
91294 #endif
91297 main ()
91299 return f != $ac_func;
91301 return 0;
91303 _ACEOF
91304 rm -f conftest.$ac_objext conftest$ac_exeext
91305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91306 (eval $ac_link) 2>conftest.er1
91307 ac_status=$?
91308 grep -v '^ *+' conftest.er1 >conftest.err
91309 rm -f conftest.er1
91310 cat conftest.err >&5
91311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91312 (exit $ac_status); } &&
91313 { ac_try='test -z "$ac_c_werror_flag"
91314 || test ! -s conftest.err'
91315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91316 (eval $ac_try) 2>&5
91317 ac_status=$?
91318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91319 (exit $ac_status); }; } &&
91320 { ac_try='test -s conftest$ac_exeext'
91321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91322 (eval $ac_try) 2>&5
91323 ac_status=$?
91324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91325 (exit $ac_status); }; }; then
91326 eval "$as_ac_var=yes"
91327 else
91328 echo "$as_me: failed program was:" >&5
91329 sed 's/^/| /' conftest.$ac_ext >&5
91331 eval "$as_ac_var=no"
91333 rm -f conftest.err conftest.$ac_objext \
91334 conftest$ac_exeext conftest.$ac_ext
91336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91338 if test `eval echo '${'$as_ac_var'}'` = yes; then
91339 cat >>confdefs.h <<_ACEOF
91340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91341 _ACEOF
91344 done
91362 echo "$as_me:$LINENO: checking for float round functions" >&5
91363 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91364 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91365 echo $ECHO_N "(cached) $ECHO_C" >&6
91366 else
91370 ac_ext=cc
91371 ac_cpp='$CXXCPP $CPPFLAGS'
91372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91376 cat >conftest.$ac_ext <<_ACEOF
91377 /* confdefs.h. */
91378 _ACEOF
91379 cat confdefs.h >>conftest.$ac_ext
91380 cat >>conftest.$ac_ext <<_ACEOF
91381 /* end confdefs.h. */
91382 #include <math.h>
91384 main ()
91386 ceilf (0); floorf (0);
91388 return 0;
91390 _ACEOF
91391 rm -f conftest.$ac_objext
91392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91393 (eval $ac_compile) 2>conftest.er1
91394 ac_status=$?
91395 grep -v '^ *+' conftest.er1 >conftest.err
91396 rm -f conftest.er1
91397 cat conftest.err >&5
91398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91399 (exit $ac_status); } &&
91400 { ac_try='test -z "$ac_cxx_werror_flag"
91401 || test ! -s conftest.err'
91402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91403 (eval $ac_try) 2>&5
91404 ac_status=$?
91405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91406 (exit $ac_status); }; } &&
91407 { ac_try='test -s conftest.$ac_objext'
91408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91409 (eval $ac_try) 2>&5
91410 ac_status=$?
91411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91412 (exit $ac_status); }; }; then
91413 glibcxx_cv_func_float_round_use=yes
91414 else
91415 echo "$as_me: failed program was:" >&5
91416 sed 's/^/| /' conftest.$ac_ext >&5
91418 glibcxx_cv_func_float_round_use=no
91420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91421 ac_ext=c
91422 ac_cpp='$CPP $CPPFLAGS'
91423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91430 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91431 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91434 for ac_func in ceilf floorf
91436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91437 echo "$as_me:$LINENO: checking for $ac_func" >&5
91438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91439 if eval "test \"\${$as_ac_var+set}\" = set"; then
91440 echo $ECHO_N "(cached) $ECHO_C" >&6
91441 else
91442 if test x$gcc_no_link = xyes; then
91443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91445 { (exit 1); exit 1; }; }
91447 cat >conftest.$ac_ext <<_ACEOF
91448 /* confdefs.h. */
91449 _ACEOF
91450 cat confdefs.h >>conftest.$ac_ext
91451 cat >>conftest.$ac_ext <<_ACEOF
91452 /* end confdefs.h. */
91453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91455 #define $ac_func innocuous_$ac_func
91457 /* System header to define __stub macros and hopefully few prototypes,
91458 which can conflict with char $ac_func (); below.
91459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91460 <limits.h> exists even on freestanding compilers. */
91462 #ifdef __STDC__
91463 # include <limits.h>
91464 #else
91465 # include <assert.h>
91466 #endif
91468 #undef $ac_func
91470 /* Override any gcc2 internal prototype to avoid an error. */
91471 #ifdef __cplusplus
91472 extern "C"
91474 #endif
91475 /* We use char because int might match the return type of a gcc2
91476 builtin and then its argument prototype would still apply. */
91477 char $ac_func ();
91478 /* The GNU C library defines this for functions which it implements
91479 to always fail with ENOSYS. Some functions are actually named
91480 something starting with __ and the normal name is an alias. */
91481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91482 choke me
91483 #else
91484 char (*f) () = $ac_func;
91485 #endif
91486 #ifdef __cplusplus
91488 #endif
91491 main ()
91493 return f != $ac_func;
91495 return 0;
91497 _ACEOF
91498 rm -f conftest.$ac_objext conftest$ac_exeext
91499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91500 (eval $ac_link) 2>conftest.er1
91501 ac_status=$?
91502 grep -v '^ *+' conftest.er1 >conftest.err
91503 rm -f conftest.er1
91504 cat conftest.err >&5
91505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91506 (exit $ac_status); } &&
91507 { ac_try='test -z "$ac_c_werror_flag"
91508 || test ! -s conftest.err'
91509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91510 (eval $ac_try) 2>&5
91511 ac_status=$?
91512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91513 (exit $ac_status); }; } &&
91514 { ac_try='test -s conftest$ac_exeext'
91515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91516 (eval $ac_try) 2>&5
91517 ac_status=$?
91518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91519 (exit $ac_status); }; }; then
91520 eval "$as_ac_var=yes"
91521 else
91522 echo "$as_me: failed program was:" >&5
91523 sed 's/^/| /' conftest.$ac_ext >&5
91525 eval "$as_ac_var=no"
91527 rm -f conftest.err conftest.$ac_objext \
91528 conftest$ac_exeext conftest.$ac_ext
91530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91532 if test `eval echo '${'$as_ac_var'}'` = yes; then
91533 cat >>confdefs.h <<_ACEOF
91534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91535 _ACEOF
91538 done
91540 else
91541 echo "$as_me:$LINENO: checking for _float round functions" >&5
91542 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91543 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91544 echo $ECHO_N "(cached) $ECHO_C" >&6
91545 else
91549 ac_ext=cc
91550 ac_cpp='$CXXCPP $CPPFLAGS'
91551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91555 cat >conftest.$ac_ext <<_ACEOF
91556 /* confdefs.h. */
91557 _ACEOF
91558 cat confdefs.h >>conftest.$ac_ext
91559 cat >>conftest.$ac_ext <<_ACEOF
91560 /* end confdefs.h. */
91561 #include <math.h>
91563 main ()
91565 _ceilf (0); _floorf (0);
91567 return 0;
91569 _ACEOF
91570 rm -f conftest.$ac_objext
91571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91572 (eval $ac_compile) 2>conftest.er1
91573 ac_status=$?
91574 grep -v '^ *+' conftest.er1 >conftest.err
91575 rm -f conftest.er1
91576 cat conftest.err >&5
91577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91578 (exit $ac_status); } &&
91579 { ac_try='test -z "$ac_cxx_werror_flag"
91580 || test ! -s conftest.err'
91581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91582 (eval $ac_try) 2>&5
91583 ac_status=$?
91584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91585 (exit $ac_status); }; } &&
91586 { ac_try='test -s conftest.$ac_objext'
91587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91588 (eval $ac_try) 2>&5
91589 ac_status=$?
91590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91591 (exit $ac_status); }; }; then
91592 glibcxx_cv_func__float_round_use=yes
91593 else
91594 echo "$as_me: failed program was:" >&5
91595 sed 's/^/| /' conftest.$ac_ext >&5
91597 glibcxx_cv_func__float_round_use=no
91599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91600 ac_ext=c
91601 ac_cpp='$CPP $CPPFLAGS'
91602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91609 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91610 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91613 for ac_func in _ceilf _floorf
91615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91616 echo "$as_me:$LINENO: checking for $ac_func" >&5
91617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91618 if eval "test \"\${$as_ac_var+set}\" = set"; then
91619 echo $ECHO_N "(cached) $ECHO_C" >&6
91620 else
91621 if test x$gcc_no_link = xyes; then
91622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91624 { (exit 1); exit 1; }; }
91626 cat >conftest.$ac_ext <<_ACEOF
91627 /* confdefs.h. */
91628 _ACEOF
91629 cat confdefs.h >>conftest.$ac_ext
91630 cat >>conftest.$ac_ext <<_ACEOF
91631 /* end confdefs.h. */
91632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91634 #define $ac_func innocuous_$ac_func
91636 /* System header to define __stub macros and hopefully few prototypes,
91637 which can conflict with char $ac_func (); below.
91638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91639 <limits.h> exists even on freestanding compilers. */
91641 #ifdef __STDC__
91642 # include <limits.h>
91643 #else
91644 # include <assert.h>
91645 #endif
91647 #undef $ac_func
91649 /* Override any gcc2 internal prototype to avoid an error. */
91650 #ifdef __cplusplus
91651 extern "C"
91653 #endif
91654 /* We use char because int might match the return type of a gcc2
91655 builtin and then its argument prototype would still apply. */
91656 char $ac_func ();
91657 /* The GNU C library defines this for functions which it implements
91658 to always fail with ENOSYS. Some functions are actually named
91659 something starting with __ and the normal name is an alias. */
91660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91661 choke me
91662 #else
91663 char (*f) () = $ac_func;
91664 #endif
91665 #ifdef __cplusplus
91667 #endif
91670 main ()
91672 return f != $ac_func;
91674 return 0;
91676 _ACEOF
91677 rm -f conftest.$ac_objext conftest$ac_exeext
91678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91679 (eval $ac_link) 2>conftest.er1
91680 ac_status=$?
91681 grep -v '^ *+' conftest.er1 >conftest.err
91682 rm -f conftest.er1
91683 cat conftest.err >&5
91684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91685 (exit $ac_status); } &&
91686 { ac_try='test -z "$ac_c_werror_flag"
91687 || test ! -s conftest.err'
91688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91689 (eval $ac_try) 2>&5
91690 ac_status=$?
91691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91692 (exit $ac_status); }; } &&
91693 { ac_try='test -s conftest$ac_exeext'
91694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91695 (eval $ac_try) 2>&5
91696 ac_status=$?
91697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698 (exit $ac_status); }; }; then
91699 eval "$as_ac_var=yes"
91700 else
91701 echo "$as_me: failed program was:" >&5
91702 sed 's/^/| /' conftest.$ac_ext >&5
91704 eval "$as_ac_var=no"
91706 rm -f conftest.err conftest.$ac_objext \
91707 conftest$ac_exeext conftest.$ac_ext
91709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91711 if test `eval echo '${'$as_ac_var'}'` = yes; then
91712 cat >>confdefs.h <<_ACEOF
91713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91714 _ACEOF
91717 done
91729 echo "$as_me:$LINENO: checking for expf declaration" >&5
91730 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91731 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91732 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91733 echo $ECHO_N "(cached) $ECHO_C" >&6
91734 else
91738 ac_ext=cc
91739 ac_cpp='$CXXCPP $CPPFLAGS'
91740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91744 cat >conftest.$ac_ext <<_ACEOF
91745 /* confdefs.h. */
91746 _ACEOF
91747 cat confdefs.h >>conftest.$ac_ext
91748 cat >>conftest.$ac_ext <<_ACEOF
91749 /* end confdefs.h. */
91750 #include <math.h>
91751 #ifdef HAVE_IEEEFP_H
91752 #include <ieeefp.h>
91753 #endif
91756 main ()
91758 expf(0);
91760 return 0;
91762 _ACEOF
91763 rm -f conftest.$ac_objext
91764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91765 (eval $ac_compile) 2>conftest.er1
91766 ac_status=$?
91767 grep -v '^ *+' conftest.er1 >conftest.err
91768 rm -f conftest.er1
91769 cat conftest.err >&5
91770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91771 (exit $ac_status); } &&
91772 { ac_try='test -z "$ac_cxx_werror_flag"
91773 || test ! -s conftest.err'
91774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91775 (eval $ac_try) 2>&5
91776 ac_status=$?
91777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91778 (exit $ac_status); }; } &&
91779 { ac_try='test -s conftest.$ac_objext'
91780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91781 (eval $ac_try) 2>&5
91782 ac_status=$?
91783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91784 (exit $ac_status); }; }; then
91785 glibcxx_cv_func_expf_use=yes
91786 else
91787 echo "$as_me: failed program was:" >&5
91788 sed 's/^/| /' conftest.$ac_ext >&5
91790 glibcxx_cv_func_expf_use=no
91792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91793 ac_ext=c
91794 ac_cpp='$CPP $CPPFLAGS'
91795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91804 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91806 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91808 for ac_func in expf
91810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91811 echo "$as_me:$LINENO: checking for $ac_func" >&5
91812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91813 if eval "test \"\${$as_ac_var+set}\" = set"; then
91814 echo $ECHO_N "(cached) $ECHO_C" >&6
91815 else
91816 if test x$gcc_no_link = xyes; then
91817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91819 { (exit 1); exit 1; }; }
91821 cat >conftest.$ac_ext <<_ACEOF
91822 /* confdefs.h. */
91823 _ACEOF
91824 cat confdefs.h >>conftest.$ac_ext
91825 cat >>conftest.$ac_ext <<_ACEOF
91826 /* end confdefs.h. */
91827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91829 #define $ac_func innocuous_$ac_func
91831 /* System header to define __stub macros and hopefully few prototypes,
91832 which can conflict with char $ac_func (); below.
91833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91834 <limits.h> exists even on freestanding compilers. */
91836 #ifdef __STDC__
91837 # include <limits.h>
91838 #else
91839 # include <assert.h>
91840 #endif
91842 #undef $ac_func
91844 /* Override any gcc2 internal prototype to avoid an error. */
91845 #ifdef __cplusplus
91846 extern "C"
91848 #endif
91849 /* We use char because int might match the return type of a gcc2
91850 builtin and then its argument prototype would still apply. */
91851 char $ac_func ();
91852 /* The GNU C library defines this for functions which it implements
91853 to always fail with ENOSYS. Some functions are actually named
91854 something starting with __ and the normal name is an alias. */
91855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91856 choke me
91857 #else
91858 char (*f) () = $ac_func;
91859 #endif
91860 #ifdef __cplusplus
91862 #endif
91865 main ()
91867 return f != $ac_func;
91869 return 0;
91871 _ACEOF
91872 rm -f conftest.$ac_objext conftest$ac_exeext
91873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91874 (eval $ac_link) 2>conftest.er1
91875 ac_status=$?
91876 grep -v '^ *+' conftest.er1 >conftest.err
91877 rm -f conftest.er1
91878 cat conftest.err >&5
91879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91880 (exit $ac_status); } &&
91881 { ac_try='test -z "$ac_c_werror_flag"
91882 || test ! -s conftest.err'
91883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91884 (eval $ac_try) 2>&5
91885 ac_status=$?
91886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91887 (exit $ac_status); }; } &&
91888 { ac_try='test -s conftest$ac_exeext'
91889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91890 (eval $ac_try) 2>&5
91891 ac_status=$?
91892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91893 (exit $ac_status); }; }; then
91894 eval "$as_ac_var=yes"
91895 else
91896 echo "$as_me: failed program was:" >&5
91897 sed 's/^/| /' conftest.$ac_ext >&5
91899 eval "$as_ac_var=no"
91901 rm -f conftest.err conftest.$ac_objext \
91902 conftest$ac_exeext conftest.$ac_ext
91904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91906 if test `eval echo '${'$as_ac_var'}'` = yes; then
91907 cat >>confdefs.h <<_ACEOF
91908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91909 _ACEOF
91912 done
91914 else
91916 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91917 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91918 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91919 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91920 echo $ECHO_N "(cached) $ECHO_C" >&6
91921 else
91925 ac_ext=cc
91926 ac_cpp='$CXXCPP $CPPFLAGS'
91927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91931 cat >conftest.$ac_ext <<_ACEOF
91932 /* confdefs.h. */
91933 _ACEOF
91934 cat confdefs.h >>conftest.$ac_ext
91935 cat >>conftest.$ac_ext <<_ACEOF
91936 /* end confdefs.h. */
91937 #include <math.h>
91938 #ifdef HAVE_IEEEFP_H
91939 #include <ieeefp.h>
91940 #endif
91943 main ()
91945 _expf(0);
91947 return 0;
91949 _ACEOF
91950 rm -f conftest.$ac_objext
91951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91952 (eval $ac_compile) 2>conftest.er1
91953 ac_status=$?
91954 grep -v '^ *+' conftest.er1 >conftest.err
91955 rm -f conftest.er1
91956 cat conftest.err >&5
91957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91958 (exit $ac_status); } &&
91959 { ac_try='test -z "$ac_cxx_werror_flag"
91960 || test ! -s conftest.err'
91961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91962 (eval $ac_try) 2>&5
91963 ac_status=$?
91964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91965 (exit $ac_status); }; } &&
91966 { ac_try='test -s conftest.$ac_objext'
91967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91968 (eval $ac_try) 2>&5
91969 ac_status=$?
91970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91971 (exit $ac_status); }; }; then
91972 glibcxx_cv_func__expf_use=yes
91973 else
91974 echo "$as_me: failed program was:" >&5
91975 sed 's/^/| /' conftest.$ac_ext >&5
91977 glibcxx_cv_func__expf_use=no
91979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91980 ac_ext=c
91981 ac_cpp='$CPP $CPPFLAGS'
91982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91991 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91993 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91995 for ac_func in _expf
91997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91998 echo "$as_me:$LINENO: checking for $ac_func" >&5
91999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92000 if eval "test \"\${$as_ac_var+set}\" = set"; then
92001 echo $ECHO_N "(cached) $ECHO_C" >&6
92002 else
92003 if test x$gcc_no_link = xyes; then
92004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92006 { (exit 1); exit 1; }; }
92008 cat >conftest.$ac_ext <<_ACEOF
92009 /* confdefs.h. */
92010 _ACEOF
92011 cat confdefs.h >>conftest.$ac_ext
92012 cat >>conftest.$ac_ext <<_ACEOF
92013 /* end confdefs.h. */
92014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92016 #define $ac_func innocuous_$ac_func
92018 /* System header to define __stub macros and hopefully few prototypes,
92019 which can conflict with char $ac_func (); below.
92020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92021 <limits.h> exists even on freestanding compilers. */
92023 #ifdef __STDC__
92024 # include <limits.h>
92025 #else
92026 # include <assert.h>
92027 #endif
92029 #undef $ac_func
92031 /* Override any gcc2 internal prototype to avoid an error. */
92032 #ifdef __cplusplus
92033 extern "C"
92035 #endif
92036 /* We use char because int might match the return type of a gcc2
92037 builtin and then its argument prototype would still apply. */
92038 char $ac_func ();
92039 /* The GNU C library defines this for functions which it implements
92040 to always fail with ENOSYS. Some functions are actually named
92041 something starting with __ and the normal name is an alias. */
92042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92043 choke me
92044 #else
92045 char (*f) () = $ac_func;
92046 #endif
92047 #ifdef __cplusplus
92049 #endif
92052 main ()
92054 return f != $ac_func;
92056 return 0;
92058 _ACEOF
92059 rm -f conftest.$ac_objext conftest$ac_exeext
92060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92061 (eval $ac_link) 2>conftest.er1
92062 ac_status=$?
92063 grep -v '^ *+' conftest.er1 >conftest.err
92064 rm -f conftest.er1
92065 cat conftest.err >&5
92066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92067 (exit $ac_status); } &&
92068 { ac_try='test -z "$ac_c_werror_flag"
92069 || test ! -s conftest.err'
92070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92071 (eval $ac_try) 2>&5
92072 ac_status=$?
92073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92074 (exit $ac_status); }; } &&
92075 { ac_try='test -s conftest$ac_exeext'
92076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92077 (eval $ac_try) 2>&5
92078 ac_status=$?
92079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92080 (exit $ac_status); }; }; then
92081 eval "$as_ac_var=yes"
92082 else
92083 echo "$as_me: failed program was:" >&5
92084 sed 's/^/| /' conftest.$ac_ext >&5
92086 eval "$as_ac_var=no"
92088 rm -f conftest.err conftest.$ac_objext \
92089 conftest$ac_exeext conftest.$ac_ext
92091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92093 if test `eval echo '${'$as_ac_var'}'` = yes; then
92094 cat >>confdefs.h <<_ACEOF
92095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92096 _ACEOF
92099 done
92109 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92110 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92111 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92112 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92113 echo $ECHO_N "(cached) $ECHO_C" >&6
92114 else
92118 ac_ext=cc
92119 ac_cpp='$CXXCPP $CPPFLAGS'
92120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92124 cat >conftest.$ac_ext <<_ACEOF
92125 /* confdefs.h. */
92126 _ACEOF
92127 cat confdefs.h >>conftest.$ac_ext
92128 cat >>conftest.$ac_ext <<_ACEOF
92129 /* end confdefs.h. */
92130 #include <math.h>
92131 #ifdef HAVE_IEEEFP_H
92132 #include <ieeefp.h>
92133 #endif
92136 main ()
92138 isnanf(0);
92140 return 0;
92142 _ACEOF
92143 rm -f conftest.$ac_objext
92144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92145 (eval $ac_compile) 2>conftest.er1
92146 ac_status=$?
92147 grep -v '^ *+' conftest.er1 >conftest.err
92148 rm -f conftest.er1
92149 cat conftest.err >&5
92150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92151 (exit $ac_status); } &&
92152 { ac_try='test -z "$ac_cxx_werror_flag"
92153 || test ! -s conftest.err'
92154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92155 (eval $ac_try) 2>&5
92156 ac_status=$?
92157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92158 (exit $ac_status); }; } &&
92159 { ac_try='test -s conftest.$ac_objext'
92160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92161 (eval $ac_try) 2>&5
92162 ac_status=$?
92163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92164 (exit $ac_status); }; }; then
92165 glibcxx_cv_func_isnanf_use=yes
92166 else
92167 echo "$as_me: failed program was:" >&5
92168 sed 's/^/| /' conftest.$ac_ext >&5
92170 glibcxx_cv_func_isnanf_use=no
92172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92173 ac_ext=c
92174 ac_cpp='$CPP $CPPFLAGS'
92175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92184 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92186 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92188 for ac_func in isnanf
92190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92191 echo "$as_me:$LINENO: checking for $ac_func" >&5
92192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92193 if eval "test \"\${$as_ac_var+set}\" = set"; then
92194 echo $ECHO_N "(cached) $ECHO_C" >&6
92195 else
92196 if test x$gcc_no_link = xyes; then
92197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92199 { (exit 1); exit 1; }; }
92201 cat >conftest.$ac_ext <<_ACEOF
92202 /* confdefs.h. */
92203 _ACEOF
92204 cat confdefs.h >>conftest.$ac_ext
92205 cat >>conftest.$ac_ext <<_ACEOF
92206 /* end confdefs.h. */
92207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92209 #define $ac_func innocuous_$ac_func
92211 /* System header to define __stub macros and hopefully few prototypes,
92212 which can conflict with char $ac_func (); below.
92213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92214 <limits.h> exists even on freestanding compilers. */
92216 #ifdef __STDC__
92217 # include <limits.h>
92218 #else
92219 # include <assert.h>
92220 #endif
92222 #undef $ac_func
92224 /* Override any gcc2 internal prototype to avoid an error. */
92225 #ifdef __cplusplus
92226 extern "C"
92228 #endif
92229 /* We use char because int might match the return type of a gcc2
92230 builtin and then its argument prototype would still apply. */
92231 char $ac_func ();
92232 /* The GNU C library defines this for functions which it implements
92233 to always fail with ENOSYS. Some functions are actually named
92234 something starting with __ and the normal name is an alias. */
92235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92236 choke me
92237 #else
92238 char (*f) () = $ac_func;
92239 #endif
92240 #ifdef __cplusplus
92242 #endif
92245 main ()
92247 return f != $ac_func;
92249 return 0;
92251 _ACEOF
92252 rm -f conftest.$ac_objext conftest$ac_exeext
92253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92254 (eval $ac_link) 2>conftest.er1
92255 ac_status=$?
92256 grep -v '^ *+' conftest.er1 >conftest.err
92257 rm -f conftest.er1
92258 cat conftest.err >&5
92259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92260 (exit $ac_status); } &&
92261 { ac_try='test -z "$ac_c_werror_flag"
92262 || test ! -s conftest.err'
92263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92264 (eval $ac_try) 2>&5
92265 ac_status=$?
92266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92267 (exit $ac_status); }; } &&
92268 { ac_try='test -s conftest$ac_exeext'
92269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92270 (eval $ac_try) 2>&5
92271 ac_status=$?
92272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92273 (exit $ac_status); }; }; then
92274 eval "$as_ac_var=yes"
92275 else
92276 echo "$as_me: failed program was:" >&5
92277 sed 's/^/| /' conftest.$ac_ext >&5
92279 eval "$as_ac_var=no"
92281 rm -f conftest.err conftest.$ac_objext \
92282 conftest$ac_exeext conftest.$ac_ext
92284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92286 if test `eval echo '${'$as_ac_var'}'` = yes; then
92287 cat >>confdefs.h <<_ACEOF
92288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92289 _ACEOF
92292 done
92294 else
92296 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92297 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92298 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92299 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92300 echo $ECHO_N "(cached) $ECHO_C" >&6
92301 else
92305 ac_ext=cc
92306 ac_cpp='$CXXCPP $CPPFLAGS'
92307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92311 cat >conftest.$ac_ext <<_ACEOF
92312 /* confdefs.h. */
92313 _ACEOF
92314 cat confdefs.h >>conftest.$ac_ext
92315 cat >>conftest.$ac_ext <<_ACEOF
92316 /* end confdefs.h. */
92317 #include <math.h>
92318 #ifdef HAVE_IEEEFP_H
92319 #include <ieeefp.h>
92320 #endif
92323 main ()
92325 _isnanf(0);
92327 return 0;
92329 _ACEOF
92330 rm -f conftest.$ac_objext
92331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92332 (eval $ac_compile) 2>conftest.er1
92333 ac_status=$?
92334 grep -v '^ *+' conftest.er1 >conftest.err
92335 rm -f conftest.er1
92336 cat conftest.err >&5
92337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92338 (exit $ac_status); } &&
92339 { ac_try='test -z "$ac_cxx_werror_flag"
92340 || test ! -s conftest.err'
92341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92342 (eval $ac_try) 2>&5
92343 ac_status=$?
92344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92345 (exit $ac_status); }; } &&
92346 { ac_try='test -s conftest.$ac_objext'
92347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92348 (eval $ac_try) 2>&5
92349 ac_status=$?
92350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92351 (exit $ac_status); }; }; then
92352 glibcxx_cv_func__isnanf_use=yes
92353 else
92354 echo "$as_me: failed program was:" >&5
92355 sed 's/^/| /' conftest.$ac_ext >&5
92357 glibcxx_cv_func__isnanf_use=no
92359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92360 ac_ext=c
92361 ac_cpp='$CPP $CPPFLAGS'
92362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92371 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92373 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92375 for ac_func in _isnanf
92377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92378 echo "$as_me:$LINENO: checking for $ac_func" >&5
92379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92380 if eval "test \"\${$as_ac_var+set}\" = set"; then
92381 echo $ECHO_N "(cached) $ECHO_C" >&6
92382 else
92383 if test x$gcc_no_link = xyes; then
92384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92386 { (exit 1); exit 1; }; }
92388 cat >conftest.$ac_ext <<_ACEOF
92389 /* confdefs.h. */
92390 _ACEOF
92391 cat confdefs.h >>conftest.$ac_ext
92392 cat >>conftest.$ac_ext <<_ACEOF
92393 /* end confdefs.h. */
92394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92396 #define $ac_func innocuous_$ac_func
92398 /* System header to define __stub macros and hopefully few prototypes,
92399 which can conflict with char $ac_func (); below.
92400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92401 <limits.h> exists even on freestanding compilers. */
92403 #ifdef __STDC__
92404 # include <limits.h>
92405 #else
92406 # include <assert.h>
92407 #endif
92409 #undef $ac_func
92411 /* Override any gcc2 internal prototype to avoid an error. */
92412 #ifdef __cplusplus
92413 extern "C"
92415 #endif
92416 /* We use char because int might match the return type of a gcc2
92417 builtin and then its argument prototype would still apply. */
92418 char $ac_func ();
92419 /* The GNU C library defines this for functions which it implements
92420 to always fail with ENOSYS. Some functions are actually named
92421 something starting with __ and the normal name is an alias. */
92422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92423 choke me
92424 #else
92425 char (*f) () = $ac_func;
92426 #endif
92427 #ifdef __cplusplus
92429 #endif
92432 main ()
92434 return f != $ac_func;
92436 return 0;
92438 _ACEOF
92439 rm -f conftest.$ac_objext conftest$ac_exeext
92440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92441 (eval $ac_link) 2>conftest.er1
92442 ac_status=$?
92443 grep -v '^ *+' conftest.er1 >conftest.err
92444 rm -f conftest.er1
92445 cat conftest.err >&5
92446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447 (exit $ac_status); } &&
92448 { ac_try='test -z "$ac_c_werror_flag"
92449 || test ! -s conftest.err'
92450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92451 (eval $ac_try) 2>&5
92452 ac_status=$?
92453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92454 (exit $ac_status); }; } &&
92455 { ac_try='test -s conftest$ac_exeext'
92456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92457 (eval $ac_try) 2>&5
92458 ac_status=$?
92459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92460 (exit $ac_status); }; }; then
92461 eval "$as_ac_var=yes"
92462 else
92463 echo "$as_me: failed program was:" >&5
92464 sed 's/^/| /' conftest.$ac_ext >&5
92466 eval "$as_ac_var=no"
92468 rm -f conftest.err conftest.$ac_objext \
92469 conftest$ac_exeext conftest.$ac_ext
92471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92473 if test `eval echo '${'$as_ac_var'}'` = yes; then
92474 cat >>confdefs.h <<_ACEOF
92475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92476 _ACEOF
92479 done
92489 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92490 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92491 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92492 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92493 echo $ECHO_N "(cached) $ECHO_C" >&6
92494 else
92498 ac_ext=cc
92499 ac_cpp='$CXXCPP $CPPFLAGS'
92500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92504 cat >conftest.$ac_ext <<_ACEOF
92505 /* confdefs.h. */
92506 _ACEOF
92507 cat confdefs.h >>conftest.$ac_ext
92508 cat >>conftest.$ac_ext <<_ACEOF
92509 /* end confdefs.h. */
92510 #include <math.h>
92511 #ifdef HAVE_IEEEFP_H
92512 #include <ieeefp.h>
92513 #endif
92516 main ()
92518 isinff(0);
92520 return 0;
92522 _ACEOF
92523 rm -f conftest.$ac_objext
92524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92525 (eval $ac_compile) 2>conftest.er1
92526 ac_status=$?
92527 grep -v '^ *+' conftest.er1 >conftest.err
92528 rm -f conftest.er1
92529 cat conftest.err >&5
92530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92531 (exit $ac_status); } &&
92532 { ac_try='test -z "$ac_cxx_werror_flag"
92533 || test ! -s conftest.err'
92534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92535 (eval $ac_try) 2>&5
92536 ac_status=$?
92537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92538 (exit $ac_status); }; } &&
92539 { ac_try='test -s conftest.$ac_objext'
92540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92541 (eval $ac_try) 2>&5
92542 ac_status=$?
92543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92544 (exit $ac_status); }; }; then
92545 glibcxx_cv_func_isinff_use=yes
92546 else
92547 echo "$as_me: failed program was:" >&5
92548 sed 's/^/| /' conftest.$ac_ext >&5
92550 glibcxx_cv_func_isinff_use=no
92552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92553 ac_ext=c
92554 ac_cpp='$CPP $CPPFLAGS'
92555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92564 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92566 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92568 for ac_func in isinff
92570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92571 echo "$as_me:$LINENO: checking for $ac_func" >&5
92572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92573 if eval "test \"\${$as_ac_var+set}\" = set"; then
92574 echo $ECHO_N "(cached) $ECHO_C" >&6
92575 else
92576 if test x$gcc_no_link = xyes; then
92577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92579 { (exit 1); exit 1; }; }
92581 cat >conftest.$ac_ext <<_ACEOF
92582 /* confdefs.h. */
92583 _ACEOF
92584 cat confdefs.h >>conftest.$ac_ext
92585 cat >>conftest.$ac_ext <<_ACEOF
92586 /* end confdefs.h. */
92587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92589 #define $ac_func innocuous_$ac_func
92591 /* System header to define __stub macros and hopefully few prototypes,
92592 which can conflict with char $ac_func (); below.
92593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92594 <limits.h> exists even on freestanding compilers. */
92596 #ifdef __STDC__
92597 # include <limits.h>
92598 #else
92599 # include <assert.h>
92600 #endif
92602 #undef $ac_func
92604 /* Override any gcc2 internal prototype to avoid an error. */
92605 #ifdef __cplusplus
92606 extern "C"
92608 #endif
92609 /* We use char because int might match the return type of a gcc2
92610 builtin and then its argument prototype would still apply. */
92611 char $ac_func ();
92612 /* The GNU C library defines this for functions which it implements
92613 to always fail with ENOSYS. Some functions are actually named
92614 something starting with __ and the normal name is an alias. */
92615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92616 choke me
92617 #else
92618 char (*f) () = $ac_func;
92619 #endif
92620 #ifdef __cplusplus
92622 #endif
92625 main ()
92627 return f != $ac_func;
92629 return 0;
92631 _ACEOF
92632 rm -f conftest.$ac_objext conftest$ac_exeext
92633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92634 (eval $ac_link) 2>conftest.er1
92635 ac_status=$?
92636 grep -v '^ *+' conftest.er1 >conftest.err
92637 rm -f conftest.er1
92638 cat conftest.err >&5
92639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92640 (exit $ac_status); } &&
92641 { ac_try='test -z "$ac_c_werror_flag"
92642 || test ! -s conftest.err'
92643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92644 (eval $ac_try) 2>&5
92645 ac_status=$?
92646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92647 (exit $ac_status); }; } &&
92648 { ac_try='test -s conftest$ac_exeext'
92649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92650 (eval $ac_try) 2>&5
92651 ac_status=$?
92652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92653 (exit $ac_status); }; }; then
92654 eval "$as_ac_var=yes"
92655 else
92656 echo "$as_me: failed program was:" >&5
92657 sed 's/^/| /' conftest.$ac_ext >&5
92659 eval "$as_ac_var=no"
92661 rm -f conftest.err conftest.$ac_objext \
92662 conftest$ac_exeext conftest.$ac_ext
92664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92666 if test `eval echo '${'$as_ac_var'}'` = yes; then
92667 cat >>confdefs.h <<_ACEOF
92668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92669 _ACEOF
92672 done
92674 else
92676 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92677 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92678 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92679 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92680 echo $ECHO_N "(cached) $ECHO_C" >&6
92681 else
92685 ac_ext=cc
92686 ac_cpp='$CXXCPP $CPPFLAGS'
92687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92691 cat >conftest.$ac_ext <<_ACEOF
92692 /* confdefs.h. */
92693 _ACEOF
92694 cat confdefs.h >>conftest.$ac_ext
92695 cat >>conftest.$ac_ext <<_ACEOF
92696 /* end confdefs.h. */
92697 #include <math.h>
92698 #ifdef HAVE_IEEEFP_H
92699 #include <ieeefp.h>
92700 #endif
92703 main ()
92705 _isinff(0);
92707 return 0;
92709 _ACEOF
92710 rm -f conftest.$ac_objext
92711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92712 (eval $ac_compile) 2>conftest.er1
92713 ac_status=$?
92714 grep -v '^ *+' conftest.er1 >conftest.err
92715 rm -f conftest.er1
92716 cat conftest.err >&5
92717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92718 (exit $ac_status); } &&
92719 { ac_try='test -z "$ac_cxx_werror_flag"
92720 || test ! -s conftest.err'
92721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92722 (eval $ac_try) 2>&5
92723 ac_status=$?
92724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92725 (exit $ac_status); }; } &&
92726 { ac_try='test -s conftest.$ac_objext'
92727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92728 (eval $ac_try) 2>&5
92729 ac_status=$?
92730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92731 (exit $ac_status); }; }; then
92732 glibcxx_cv_func__isinff_use=yes
92733 else
92734 echo "$as_me: failed program was:" >&5
92735 sed 's/^/| /' conftest.$ac_ext >&5
92737 glibcxx_cv_func__isinff_use=no
92739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92740 ac_ext=c
92741 ac_cpp='$CPP $CPPFLAGS'
92742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92751 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92753 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92755 for ac_func in _isinff
92757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92758 echo "$as_me:$LINENO: checking for $ac_func" >&5
92759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92760 if eval "test \"\${$as_ac_var+set}\" = set"; then
92761 echo $ECHO_N "(cached) $ECHO_C" >&6
92762 else
92763 if test x$gcc_no_link = xyes; then
92764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92766 { (exit 1); exit 1; }; }
92768 cat >conftest.$ac_ext <<_ACEOF
92769 /* confdefs.h. */
92770 _ACEOF
92771 cat confdefs.h >>conftest.$ac_ext
92772 cat >>conftest.$ac_ext <<_ACEOF
92773 /* end confdefs.h. */
92774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92776 #define $ac_func innocuous_$ac_func
92778 /* System header to define __stub macros and hopefully few prototypes,
92779 which can conflict with char $ac_func (); below.
92780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92781 <limits.h> exists even on freestanding compilers. */
92783 #ifdef __STDC__
92784 # include <limits.h>
92785 #else
92786 # include <assert.h>
92787 #endif
92789 #undef $ac_func
92791 /* Override any gcc2 internal prototype to avoid an error. */
92792 #ifdef __cplusplus
92793 extern "C"
92795 #endif
92796 /* We use char because int might match the return type of a gcc2
92797 builtin and then its argument prototype would still apply. */
92798 char $ac_func ();
92799 /* The GNU C library defines this for functions which it implements
92800 to always fail with ENOSYS. Some functions are actually named
92801 something starting with __ and the normal name is an alias. */
92802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92803 choke me
92804 #else
92805 char (*f) () = $ac_func;
92806 #endif
92807 #ifdef __cplusplus
92809 #endif
92812 main ()
92814 return f != $ac_func;
92816 return 0;
92818 _ACEOF
92819 rm -f conftest.$ac_objext conftest$ac_exeext
92820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92821 (eval $ac_link) 2>conftest.er1
92822 ac_status=$?
92823 grep -v '^ *+' conftest.er1 >conftest.err
92824 rm -f conftest.er1
92825 cat conftest.err >&5
92826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92827 (exit $ac_status); } &&
92828 { ac_try='test -z "$ac_c_werror_flag"
92829 || test ! -s conftest.err'
92830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92831 (eval $ac_try) 2>&5
92832 ac_status=$?
92833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92834 (exit $ac_status); }; } &&
92835 { ac_try='test -s conftest$ac_exeext'
92836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92837 (eval $ac_try) 2>&5
92838 ac_status=$?
92839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92840 (exit $ac_status); }; }; then
92841 eval "$as_ac_var=yes"
92842 else
92843 echo "$as_me: failed program was:" >&5
92844 sed 's/^/| /' conftest.$ac_ext >&5
92846 eval "$as_ac_var=no"
92848 rm -f conftest.err conftest.$ac_objext \
92849 conftest$ac_exeext conftest.$ac_ext
92851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92853 if test `eval echo '${'$as_ac_var'}'` = yes; then
92854 cat >>confdefs.h <<_ACEOF
92855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92856 _ACEOF
92859 done
92869 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92870 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92871 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92872 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92873 echo $ECHO_N "(cached) $ECHO_C" >&6
92874 else
92878 ac_ext=cc
92879 ac_cpp='$CXXCPP $CPPFLAGS'
92880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92884 cat >conftest.$ac_ext <<_ACEOF
92885 /* confdefs.h. */
92886 _ACEOF
92887 cat confdefs.h >>conftest.$ac_ext
92888 cat >>conftest.$ac_ext <<_ACEOF
92889 /* end confdefs.h. */
92890 #include <math.h>
92892 main ()
92894 atan2f(0, 0);
92896 return 0;
92898 _ACEOF
92899 rm -f conftest.$ac_objext
92900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92901 (eval $ac_compile) 2>conftest.er1
92902 ac_status=$?
92903 grep -v '^ *+' conftest.er1 >conftest.err
92904 rm -f conftest.er1
92905 cat conftest.err >&5
92906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92907 (exit $ac_status); } &&
92908 { ac_try='test -z "$ac_cxx_werror_flag"
92909 || test ! -s conftest.err'
92910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92911 (eval $ac_try) 2>&5
92912 ac_status=$?
92913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92914 (exit $ac_status); }; } &&
92915 { ac_try='test -s conftest.$ac_objext'
92916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92917 (eval $ac_try) 2>&5
92918 ac_status=$?
92919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920 (exit $ac_status); }; }; then
92921 glibcxx_cv_func_atan2f_use=yes
92922 else
92923 echo "$as_me: failed program was:" >&5
92924 sed 's/^/| /' conftest.$ac_ext >&5
92926 glibcxx_cv_func_atan2f_use=no
92928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92929 ac_ext=c
92930 ac_cpp='$CPP $CPPFLAGS'
92931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92940 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92942 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92944 for ac_func in atan2f
92946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92947 echo "$as_me:$LINENO: checking for $ac_func" >&5
92948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92949 if eval "test \"\${$as_ac_var+set}\" = set"; then
92950 echo $ECHO_N "(cached) $ECHO_C" >&6
92951 else
92952 if test x$gcc_no_link = xyes; then
92953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92955 { (exit 1); exit 1; }; }
92957 cat >conftest.$ac_ext <<_ACEOF
92958 /* confdefs.h. */
92959 _ACEOF
92960 cat confdefs.h >>conftest.$ac_ext
92961 cat >>conftest.$ac_ext <<_ACEOF
92962 /* end confdefs.h. */
92963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92965 #define $ac_func innocuous_$ac_func
92967 /* System header to define __stub macros and hopefully few prototypes,
92968 which can conflict with char $ac_func (); below.
92969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92970 <limits.h> exists even on freestanding compilers. */
92972 #ifdef __STDC__
92973 # include <limits.h>
92974 #else
92975 # include <assert.h>
92976 #endif
92978 #undef $ac_func
92980 /* Override any gcc2 internal prototype to avoid an error. */
92981 #ifdef __cplusplus
92982 extern "C"
92984 #endif
92985 /* We use char because int might match the return type of a gcc2
92986 builtin and then its argument prototype would still apply. */
92987 char $ac_func ();
92988 /* The GNU C library defines this for functions which it implements
92989 to always fail with ENOSYS. Some functions are actually named
92990 something starting with __ and the normal name is an alias. */
92991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92992 choke me
92993 #else
92994 char (*f) () = $ac_func;
92995 #endif
92996 #ifdef __cplusplus
92998 #endif
93001 main ()
93003 return f != $ac_func;
93005 return 0;
93007 _ACEOF
93008 rm -f conftest.$ac_objext conftest$ac_exeext
93009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93010 (eval $ac_link) 2>conftest.er1
93011 ac_status=$?
93012 grep -v '^ *+' conftest.er1 >conftest.err
93013 rm -f conftest.er1
93014 cat conftest.err >&5
93015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93016 (exit $ac_status); } &&
93017 { ac_try='test -z "$ac_c_werror_flag"
93018 || test ! -s conftest.err'
93019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93020 (eval $ac_try) 2>&5
93021 ac_status=$?
93022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93023 (exit $ac_status); }; } &&
93024 { ac_try='test -s conftest$ac_exeext'
93025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93026 (eval $ac_try) 2>&5
93027 ac_status=$?
93028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93029 (exit $ac_status); }; }; then
93030 eval "$as_ac_var=yes"
93031 else
93032 echo "$as_me: failed program was:" >&5
93033 sed 's/^/| /' conftest.$ac_ext >&5
93035 eval "$as_ac_var=no"
93037 rm -f conftest.err conftest.$ac_objext \
93038 conftest$ac_exeext conftest.$ac_ext
93040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93042 if test `eval echo '${'$as_ac_var'}'` = yes; then
93043 cat >>confdefs.h <<_ACEOF
93044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93045 _ACEOF
93048 done
93050 else
93052 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93053 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93054 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93055 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93056 echo $ECHO_N "(cached) $ECHO_C" >&6
93057 else
93061 ac_ext=cc
93062 ac_cpp='$CXXCPP $CPPFLAGS'
93063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93067 cat >conftest.$ac_ext <<_ACEOF
93068 /* confdefs.h. */
93069 _ACEOF
93070 cat confdefs.h >>conftest.$ac_ext
93071 cat >>conftest.$ac_ext <<_ACEOF
93072 /* end confdefs.h. */
93073 #include <math.h>
93075 main ()
93077 _atan2f(0, 0);
93079 return 0;
93081 _ACEOF
93082 rm -f conftest.$ac_objext
93083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93084 (eval $ac_compile) 2>conftest.er1
93085 ac_status=$?
93086 grep -v '^ *+' conftest.er1 >conftest.err
93087 rm -f conftest.er1
93088 cat conftest.err >&5
93089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93090 (exit $ac_status); } &&
93091 { ac_try='test -z "$ac_cxx_werror_flag"
93092 || test ! -s conftest.err'
93093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93094 (eval $ac_try) 2>&5
93095 ac_status=$?
93096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93097 (exit $ac_status); }; } &&
93098 { ac_try='test -s conftest.$ac_objext'
93099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93100 (eval $ac_try) 2>&5
93101 ac_status=$?
93102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93103 (exit $ac_status); }; }; then
93104 glibcxx_cv_func__atan2f_use=yes
93105 else
93106 echo "$as_me: failed program was:" >&5
93107 sed 's/^/| /' conftest.$ac_ext >&5
93109 glibcxx_cv_func__atan2f_use=no
93111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93112 ac_ext=c
93113 ac_cpp='$CPP $CPPFLAGS'
93114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93123 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93125 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93127 for ac_func in _atan2f
93129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93130 echo "$as_me:$LINENO: checking for $ac_func" >&5
93131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93132 if eval "test \"\${$as_ac_var+set}\" = set"; then
93133 echo $ECHO_N "(cached) $ECHO_C" >&6
93134 else
93135 if test x$gcc_no_link = xyes; then
93136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93138 { (exit 1); exit 1; }; }
93140 cat >conftest.$ac_ext <<_ACEOF
93141 /* confdefs.h. */
93142 _ACEOF
93143 cat confdefs.h >>conftest.$ac_ext
93144 cat >>conftest.$ac_ext <<_ACEOF
93145 /* end confdefs.h. */
93146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93148 #define $ac_func innocuous_$ac_func
93150 /* System header to define __stub macros and hopefully few prototypes,
93151 which can conflict with char $ac_func (); below.
93152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93153 <limits.h> exists even on freestanding compilers. */
93155 #ifdef __STDC__
93156 # include <limits.h>
93157 #else
93158 # include <assert.h>
93159 #endif
93161 #undef $ac_func
93163 /* Override any gcc2 internal prototype to avoid an error. */
93164 #ifdef __cplusplus
93165 extern "C"
93167 #endif
93168 /* We use char because int might match the return type of a gcc2
93169 builtin and then its argument prototype would still apply. */
93170 char $ac_func ();
93171 /* The GNU C library defines this for functions which it implements
93172 to always fail with ENOSYS. Some functions are actually named
93173 something starting with __ and the normal name is an alias. */
93174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93175 choke me
93176 #else
93177 char (*f) () = $ac_func;
93178 #endif
93179 #ifdef __cplusplus
93181 #endif
93184 main ()
93186 return f != $ac_func;
93188 return 0;
93190 _ACEOF
93191 rm -f conftest.$ac_objext conftest$ac_exeext
93192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93193 (eval $ac_link) 2>conftest.er1
93194 ac_status=$?
93195 grep -v '^ *+' conftest.er1 >conftest.err
93196 rm -f conftest.er1
93197 cat conftest.err >&5
93198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93199 (exit $ac_status); } &&
93200 { ac_try='test -z "$ac_c_werror_flag"
93201 || test ! -s conftest.err'
93202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93203 (eval $ac_try) 2>&5
93204 ac_status=$?
93205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93206 (exit $ac_status); }; } &&
93207 { ac_try='test -s conftest$ac_exeext'
93208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93209 (eval $ac_try) 2>&5
93210 ac_status=$?
93211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93212 (exit $ac_status); }; }; then
93213 eval "$as_ac_var=yes"
93214 else
93215 echo "$as_me: failed program was:" >&5
93216 sed 's/^/| /' conftest.$ac_ext >&5
93218 eval "$as_ac_var=no"
93220 rm -f conftest.err conftest.$ac_objext \
93221 conftest$ac_exeext conftest.$ac_ext
93223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93225 if test `eval echo '${'$as_ac_var'}'` = yes; then
93226 cat >>confdefs.h <<_ACEOF
93227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93228 _ACEOF
93231 done
93241 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93242 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93243 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93244 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93245 echo $ECHO_N "(cached) $ECHO_C" >&6
93246 else
93250 ac_ext=cc
93251 ac_cpp='$CXXCPP $CPPFLAGS'
93252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93256 cat >conftest.$ac_ext <<_ACEOF
93257 /* confdefs.h. */
93258 _ACEOF
93259 cat confdefs.h >>conftest.$ac_ext
93260 cat >>conftest.$ac_ext <<_ACEOF
93261 /* end confdefs.h. */
93262 #include <math.h>
93263 #ifdef HAVE_IEEEFP_H
93264 #include <ieeefp.h>
93265 #endif
93268 main ()
93270 fabsf(0);
93272 return 0;
93274 _ACEOF
93275 rm -f conftest.$ac_objext
93276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93277 (eval $ac_compile) 2>conftest.er1
93278 ac_status=$?
93279 grep -v '^ *+' conftest.er1 >conftest.err
93280 rm -f conftest.er1
93281 cat conftest.err >&5
93282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93283 (exit $ac_status); } &&
93284 { ac_try='test -z "$ac_cxx_werror_flag"
93285 || test ! -s conftest.err'
93286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93287 (eval $ac_try) 2>&5
93288 ac_status=$?
93289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93290 (exit $ac_status); }; } &&
93291 { ac_try='test -s conftest.$ac_objext'
93292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93293 (eval $ac_try) 2>&5
93294 ac_status=$?
93295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93296 (exit $ac_status); }; }; then
93297 glibcxx_cv_func_fabsf_use=yes
93298 else
93299 echo "$as_me: failed program was:" >&5
93300 sed 's/^/| /' conftest.$ac_ext >&5
93302 glibcxx_cv_func_fabsf_use=no
93304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93305 ac_ext=c
93306 ac_cpp='$CPP $CPPFLAGS'
93307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93316 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93318 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93320 for ac_func in fabsf
93322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93323 echo "$as_me:$LINENO: checking for $ac_func" >&5
93324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93325 if eval "test \"\${$as_ac_var+set}\" = set"; then
93326 echo $ECHO_N "(cached) $ECHO_C" >&6
93327 else
93328 if test x$gcc_no_link = xyes; then
93329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93331 { (exit 1); exit 1; }; }
93333 cat >conftest.$ac_ext <<_ACEOF
93334 /* confdefs.h. */
93335 _ACEOF
93336 cat confdefs.h >>conftest.$ac_ext
93337 cat >>conftest.$ac_ext <<_ACEOF
93338 /* end confdefs.h. */
93339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93341 #define $ac_func innocuous_$ac_func
93343 /* System header to define __stub macros and hopefully few prototypes,
93344 which can conflict with char $ac_func (); below.
93345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93346 <limits.h> exists even on freestanding compilers. */
93348 #ifdef __STDC__
93349 # include <limits.h>
93350 #else
93351 # include <assert.h>
93352 #endif
93354 #undef $ac_func
93356 /* Override any gcc2 internal prototype to avoid an error. */
93357 #ifdef __cplusplus
93358 extern "C"
93360 #endif
93361 /* We use char because int might match the return type of a gcc2
93362 builtin and then its argument prototype would still apply. */
93363 char $ac_func ();
93364 /* The GNU C library defines this for functions which it implements
93365 to always fail with ENOSYS. Some functions are actually named
93366 something starting with __ and the normal name is an alias. */
93367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93368 choke me
93369 #else
93370 char (*f) () = $ac_func;
93371 #endif
93372 #ifdef __cplusplus
93374 #endif
93377 main ()
93379 return f != $ac_func;
93381 return 0;
93383 _ACEOF
93384 rm -f conftest.$ac_objext conftest$ac_exeext
93385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93386 (eval $ac_link) 2>conftest.er1
93387 ac_status=$?
93388 grep -v '^ *+' conftest.er1 >conftest.err
93389 rm -f conftest.er1
93390 cat conftest.err >&5
93391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93392 (exit $ac_status); } &&
93393 { ac_try='test -z "$ac_c_werror_flag"
93394 || test ! -s conftest.err'
93395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93396 (eval $ac_try) 2>&5
93397 ac_status=$?
93398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93399 (exit $ac_status); }; } &&
93400 { ac_try='test -s conftest$ac_exeext'
93401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93402 (eval $ac_try) 2>&5
93403 ac_status=$?
93404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93405 (exit $ac_status); }; }; then
93406 eval "$as_ac_var=yes"
93407 else
93408 echo "$as_me: failed program was:" >&5
93409 sed 's/^/| /' conftest.$ac_ext >&5
93411 eval "$as_ac_var=no"
93413 rm -f conftest.err conftest.$ac_objext \
93414 conftest$ac_exeext conftest.$ac_ext
93416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93418 if test `eval echo '${'$as_ac_var'}'` = yes; then
93419 cat >>confdefs.h <<_ACEOF
93420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93421 _ACEOF
93424 done
93426 else
93428 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93429 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93430 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93431 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93432 echo $ECHO_N "(cached) $ECHO_C" >&6
93433 else
93437 ac_ext=cc
93438 ac_cpp='$CXXCPP $CPPFLAGS'
93439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93443 cat >conftest.$ac_ext <<_ACEOF
93444 /* confdefs.h. */
93445 _ACEOF
93446 cat confdefs.h >>conftest.$ac_ext
93447 cat >>conftest.$ac_ext <<_ACEOF
93448 /* end confdefs.h. */
93449 #include <math.h>
93450 #ifdef HAVE_IEEEFP_H
93451 #include <ieeefp.h>
93452 #endif
93455 main ()
93457 _fabsf(0);
93459 return 0;
93461 _ACEOF
93462 rm -f conftest.$ac_objext
93463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93464 (eval $ac_compile) 2>conftest.er1
93465 ac_status=$?
93466 grep -v '^ *+' conftest.er1 >conftest.err
93467 rm -f conftest.er1
93468 cat conftest.err >&5
93469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93470 (exit $ac_status); } &&
93471 { ac_try='test -z "$ac_cxx_werror_flag"
93472 || test ! -s conftest.err'
93473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93474 (eval $ac_try) 2>&5
93475 ac_status=$?
93476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93477 (exit $ac_status); }; } &&
93478 { ac_try='test -s conftest.$ac_objext'
93479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93480 (eval $ac_try) 2>&5
93481 ac_status=$?
93482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93483 (exit $ac_status); }; }; then
93484 glibcxx_cv_func__fabsf_use=yes
93485 else
93486 echo "$as_me: failed program was:" >&5
93487 sed 's/^/| /' conftest.$ac_ext >&5
93489 glibcxx_cv_func__fabsf_use=no
93491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93492 ac_ext=c
93493 ac_cpp='$CPP $CPPFLAGS'
93494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93503 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93505 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93507 for ac_func in _fabsf
93509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93510 echo "$as_me:$LINENO: checking for $ac_func" >&5
93511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93512 if eval "test \"\${$as_ac_var+set}\" = set"; then
93513 echo $ECHO_N "(cached) $ECHO_C" >&6
93514 else
93515 if test x$gcc_no_link = xyes; then
93516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93518 { (exit 1); exit 1; }; }
93520 cat >conftest.$ac_ext <<_ACEOF
93521 /* confdefs.h. */
93522 _ACEOF
93523 cat confdefs.h >>conftest.$ac_ext
93524 cat >>conftest.$ac_ext <<_ACEOF
93525 /* end confdefs.h. */
93526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93528 #define $ac_func innocuous_$ac_func
93530 /* System header to define __stub macros and hopefully few prototypes,
93531 which can conflict with char $ac_func (); below.
93532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93533 <limits.h> exists even on freestanding compilers. */
93535 #ifdef __STDC__
93536 # include <limits.h>
93537 #else
93538 # include <assert.h>
93539 #endif
93541 #undef $ac_func
93543 /* Override any gcc2 internal prototype to avoid an error. */
93544 #ifdef __cplusplus
93545 extern "C"
93547 #endif
93548 /* We use char because int might match the return type of a gcc2
93549 builtin and then its argument prototype would still apply. */
93550 char $ac_func ();
93551 /* The GNU C library defines this for functions which it implements
93552 to always fail with ENOSYS. Some functions are actually named
93553 something starting with __ and the normal name is an alias. */
93554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93555 choke me
93556 #else
93557 char (*f) () = $ac_func;
93558 #endif
93559 #ifdef __cplusplus
93561 #endif
93564 main ()
93566 return f != $ac_func;
93568 return 0;
93570 _ACEOF
93571 rm -f conftest.$ac_objext conftest$ac_exeext
93572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93573 (eval $ac_link) 2>conftest.er1
93574 ac_status=$?
93575 grep -v '^ *+' conftest.er1 >conftest.err
93576 rm -f conftest.er1
93577 cat conftest.err >&5
93578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93579 (exit $ac_status); } &&
93580 { ac_try='test -z "$ac_c_werror_flag"
93581 || test ! -s conftest.err'
93582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93583 (eval $ac_try) 2>&5
93584 ac_status=$?
93585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93586 (exit $ac_status); }; } &&
93587 { ac_try='test -s conftest$ac_exeext'
93588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93589 (eval $ac_try) 2>&5
93590 ac_status=$?
93591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93592 (exit $ac_status); }; }; then
93593 eval "$as_ac_var=yes"
93594 else
93595 echo "$as_me: failed program was:" >&5
93596 sed 's/^/| /' conftest.$ac_ext >&5
93598 eval "$as_ac_var=no"
93600 rm -f conftest.err conftest.$ac_objext \
93601 conftest$ac_exeext conftest.$ac_ext
93603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93605 if test `eval echo '${'$as_ac_var'}'` = yes; then
93606 cat >>confdefs.h <<_ACEOF
93607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93608 _ACEOF
93611 done
93621 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93622 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93623 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93624 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93625 echo $ECHO_N "(cached) $ECHO_C" >&6
93626 else
93630 ac_ext=cc
93631 ac_cpp='$CXXCPP $CPPFLAGS'
93632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93636 cat >conftest.$ac_ext <<_ACEOF
93637 /* confdefs.h. */
93638 _ACEOF
93639 cat confdefs.h >>conftest.$ac_ext
93640 cat >>conftest.$ac_ext <<_ACEOF
93641 /* end confdefs.h. */
93642 #include <math.h>
93644 main ()
93646 fmodf(0, 0);
93648 return 0;
93650 _ACEOF
93651 rm -f conftest.$ac_objext
93652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93653 (eval $ac_compile) 2>conftest.er1
93654 ac_status=$?
93655 grep -v '^ *+' conftest.er1 >conftest.err
93656 rm -f conftest.er1
93657 cat conftest.err >&5
93658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659 (exit $ac_status); } &&
93660 { ac_try='test -z "$ac_cxx_werror_flag"
93661 || test ! -s conftest.err'
93662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663 (eval $ac_try) 2>&5
93664 ac_status=$?
93665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666 (exit $ac_status); }; } &&
93667 { ac_try='test -s conftest.$ac_objext'
93668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669 (eval $ac_try) 2>&5
93670 ac_status=$?
93671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672 (exit $ac_status); }; }; then
93673 glibcxx_cv_func_fmodf_use=yes
93674 else
93675 echo "$as_me: failed program was:" >&5
93676 sed 's/^/| /' conftest.$ac_ext >&5
93678 glibcxx_cv_func_fmodf_use=no
93680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93681 ac_ext=c
93682 ac_cpp='$CPP $CPPFLAGS'
93683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93692 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93694 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93696 for ac_func in fmodf
93698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93699 echo "$as_me:$LINENO: checking for $ac_func" >&5
93700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93701 if eval "test \"\${$as_ac_var+set}\" = set"; then
93702 echo $ECHO_N "(cached) $ECHO_C" >&6
93703 else
93704 if test x$gcc_no_link = xyes; then
93705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93707 { (exit 1); exit 1; }; }
93709 cat >conftest.$ac_ext <<_ACEOF
93710 /* confdefs.h. */
93711 _ACEOF
93712 cat confdefs.h >>conftest.$ac_ext
93713 cat >>conftest.$ac_ext <<_ACEOF
93714 /* end confdefs.h. */
93715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93717 #define $ac_func innocuous_$ac_func
93719 /* System header to define __stub macros and hopefully few prototypes,
93720 which can conflict with char $ac_func (); below.
93721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93722 <limits.h> exists even on freestanding compilers. */
93724 #ifdef __STDC__
93725 # include <limits.h>
93726 #else
93727 # include <assert.h>
93728 #endif
93730 #undef $ac_func
93732 /* Override any gcc2 internal prototype to avoid an error. */
93733 #ifdef __cplusplus
93734 extern "C"
93736 #endif
93737 /* We use char because int might match the return type of a gcc2
93738 builtin and then its argument prototype would still apply. */
93739 char $ac_func ();
93740 /* The GNU C library defines this for functions which it implements
93741 to always fail with ENOSYS. Some functions are actually named
93742 something starting with __ and the normal name is an alias. */
93743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93744 choke me
93745 #else
93746 char (*f) () = $ac_func;
93747 #endif
93748 #ifdef __cplusplus
93750 #endif
93753 main ()
93755 return f != $ac_func;
93757 return 0;
93759 _ACEOF
93760 rm -f conftest.$ac_objext conftest$ac_exeext
93761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93762 (eval $ac_link) 2>conftest.er1
93763 ac_status=$?
93764 grep -v '^ *+' conftest.er1 >conftest.err
93765 rm -f conftest.er1
93766 cat conftest.err >&5
93767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93768 (exit $ac_status); } &&
93769 { ac_try='test -z "$ac_c_werror_flag"
93770 || test ! -s conftest.err'
93771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93772 (eval $ac_try) 2>&5
93773 ac_status=$?
93774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93775 (exit $ac_status); }; } &&
93776 { ac_try='test -s conftest$ac_exeext'
93777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93778 (eval $ac_try) 2>&5
93779 ac_status=$?
93780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93781 (exit $ac_status); }; }; then
93782 eval "$as_ac_var=yes"
93783 else
93784 echo "$as_me: failed program was:" >&5
93785 sed 's/^/| /' conftest.$ac_ext >&5
93787 eval "$as_ac_var=no"
93789 rm -f conftest.err conftest.$ac_objext \
93790 conftest$ac_exeext conftest.$ac_ext
93792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93794 if test `eval echo '${'$as_ac_var'}'` = yes; then
93795 cat >>confdefs.h <<_ACEOF
93796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93797 _ACEOF
93800 done
93802 else
93804 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93805 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93806 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93807 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93808 echo $ECHO_N "(cached) $ECHO_C" >&6
93809 else
93813 ac_ext=cc
93814 ac_cpp='$CXXCPP $CPPFLAGS'
93815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93819 cat >conftest.$ac_ext <<_ACEOF
93820 /* confdefs.h. */
93821 _ACEOF
93822 cat confdefs.h >>conftest.$ac_ext
93823 cat >>conftest.$ac_ext <<_ACEOF
93824 /* end confdefs.h. */
93825 #include <math.h>
93827 main ()
93829 _fmodf(0, 0);
93831 return 0;
93833 _ACEOF
93834 rm -f conftest.$ac_objext
93835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93836 (eval $ac_compile) 2>conftest.er1
93837 ac_status=$?
93838 grep -v '^ *+' conftest.er1 >conftest.err
93839 rm -f conftest.er1
93840 cat conftest.err >&5
93841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93842 (exit $ac_status); } &&
93843 { ac_try='test -z "$ac_cxx_werror_flag"
93844 || test ! -s conftest.err'
93845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93846 (eval $ac_try) 2>&5
93847 ac_status=$?
93848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93849 (exit $ac_status); }; } &&
93850 { ac_try='test -s conftest.$ac_objext'
93851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93852 (eval $ac_try) 2>&5
93853 ac_status=$?
93854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93855 (exit $ac_status); }; }; then
93856 glibcxx_cv_func__fmodf_use=yes
93857 else
93858 echo "$as_me: failed program was:" >&5
93859 sed 's/^/| /' conftest.$ac_ext >&5
93861 glibcxx_cv_func__fmodf_use=no
93863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93864 ac_ext=c
93865 ac_cpp='$CPP $CPPFLAGS'
93866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93875 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93877 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93879 for ac_func in _fmodf
93881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93882 echo "$as_me:$LINENO: checking for $ac_func" >&5
93883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93884 if eval "test \"\${$as_ac_var+set}\" = set"; then
93885 echo $ECHO_N "(cached) $ECHO_C" >&6
93886 else
93887 if test x$gcc_no_link = xyes; then
93888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93890 { (exit 1); exit 1; }; }
93892 cat >conftest.$ac_ext <<_ACEOF
93893 /* confdefs.h. */
93894 _ACEOF
93895 cat confdefs.h >>conftest.$ac_ext
93896 cat >>conftest.$ac_ext <<_ACEOF
93897 /* end confdefs.h. */
93898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93900 #define $ac_func innocuous_$ac_func
93902 /* System header to define __stub macros and hopefully few prototypes,
93903 which can conflict with char $ac_func (); below.
93904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93905 <limits.h> exists even on freestanding compilers. */
93907 #ifdef __STDC__
93908 # include <limits.h>
93909 #else
93910 # include <assert.h>
93911 #endif
93913 #undef $ac_func
93915 /* Override any gcc2 internal prototype to avoid an error. */
93916 #ifdef __cplusplus
93917 extern "C"
93919 #endif
93920 /* We use char because int might match the return type of a gcc2
93921 builtin and then its argument prototype would still apply. */
93922 char $ac_func ();
93923 /* The GNU C library defines this for functions which it implements
93924 to always fail with ENOSYS. Some functions are actually named
93925 something starting with __ and the normal name is an alias. */
93926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93927 choke me
93928 #else
93929 char (*f) () = $ac_func;
93930 #endif
93931 #ifdef __cplusplus
93933 #endif
93936 main ()
93938 return f != $ac_func;
93940 return 0;
93942 _ACEOF
93943 rm -f conftest.$ac_objext conftest$ac_exeext
93944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93945 (eval $ac_link) 2>conftest.er1
93946 ac_status=$?
93947 grep -v '^ *+' conftest.er1 >conftest.err
93948 rm -f conftest.er1
93949 cat conftest.err >&5
93950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93951 (exit $ac_status); } &&
93952 { ac_try='test -z "$ac_c_werror_flag"
93953 || test ! -s conftest.err'
93954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93955 (eval $ac_try) 2>&5
93956 ac_status=$?
93957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93958 (exit $ac_status); }; } &&
93959 { ac_try='test -s conftest$ac_exeext'
93960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93961 (eval $ac_try) 2>&5
93962 ac_status=$?
93963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93964 (exit $ac_status); }; }; then
93965 eval "$as_ac_var=yes"
93966 else
93967 echo "$as_me: failed program was:" >&5
93968 sed 's/^/| /' conftest.$ac_ext >&5
93970 eval "$as_ac_var=no"
93972 rm -f conftest.err conftest.$ac_objext \
93973 conftest$ac_exeext conftest.$ac_ext
93975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93977 if test `eval echo '${'$as_ac_var'}'` = yes; then
93978 cat >>confdefs.h <<_ACEOF
93979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93980 _ACEOF
93983 done
93993 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93994 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93995 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93996 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93997 echo $ECHO_N "(cached) $ECHO_C" >&6
93998 else
94002 ac_ext=cc
94003 ac_cpp='$CXXCPP $CPPFLAGS'
94004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94008 cat >conftest.$ac_ext <<_ACEOF
94009 /* confdefs.h. */
94010 _ACEOF
94011 cat confdefs.h >>conftest.$ac_ext
94012 cat >>conftest.$ac_ext <<_ACEOF
94013 /* end confdefs.h. */
94014 #include <math.h>
94016 main ()
94018 frexpf(0, 0);
94020 return 0;
94022 _ACEOF
94023 rm -f conftest.$ac_objext
94024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94025 (eval $ac_compile) 2>conftest.er1
94026 ac_status=$?
94027 grep -v '^ *+' conftest.er1 >conftest.err
94028 rm -f conftest.er1
94029 cat conftest.err >&5
94030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031 (exit $ac_status); } &&
94032 { ac_try='test -z "$ac_cxx_werror_flag"
94033 || test ! -s conftest.err'
94034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94035 (eval $ac_try) 2>&5
94036 ac_status=$?
94037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94038 (exit $ac_status); }; } &&
94039 { ac_try='test -s conftest.$ac_objext'
94040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041 (eval $ac_try) 2>&5
94042 ac_status=$?
94043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044 (exit $ac_status); }; }; then
94045 glibcxx_cv_func_frexpf_use=yes
94046 else
94047 echo "$as_me: failed program was:" >&5
94048 sed 's/^/| /' conftest.$ac_ext >&5
94050 glibcxx_cv_func_frexpf_use=no
94052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94053 ac_ext=c
94054 ac_cpp='$CPP $CPPFLAGS'
94055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94064 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94066 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94068 for ac_func in frexpf
94070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94071 echo "$as_me:$LINENO: checking for $ac_func" >&5
94072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94073 if eval "test \"\${$as_ac_var+set}\" = set"; then
94074 echo $ECHO_N "(cached) $ECHO_C" >&6
94075 else
94076 if test x$gcc_no_link = xyes; then
94077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94079 { (exit 1); exit 1; }; }
94081 cat >conftest.$ac_ext <<_ACEOF
94082 /* confdefs.h. */
94083 _ACEOF
94084 cat confdefs.h >>conftest.$ac_ext
94085 cat >>conftest.$ac_ext <<_ACEOF
94086 /* end confdefs.h. */
94087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94089 #define $ac_func innocuous_$ac_func
94091 /* System header to define __stub macros and hopefully few prototypes,
94092 which can conflict with char $ac_func (); below.
94093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94094 <limits.h> exists even on freestanding compilers. */
94096 #ifdef __STDC__
94097 # include <limits.h>
94098 #else
94099 # include <assert.h>
94100 #endif
94102 #undef $ac_func
94104 /* Override any gcc2 internal prototype to avoid an error. */
94105 #ifdef __cplusplus
94106 extern "C"
94108 #endif
94109 /* We use char because int might match the return type of a gcc2
94110 builtin and then its argument prototype would still apply. */
94111 char $ac_func ();
94112 /* The GNU C library defines this for functions which it implements
94113 to always fail with ENOSYS. Some functions are actually named
94114 something starting with __ and the normal name is an alias. */
94115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94116 choke me
94117 #else
94118 char (*f) () = $ac_func;
94119 #endif
94120 #ifdef __cplusplus
94122 #endif
94125 main ()
94127 return f != $ac_func;
94129 return 0;
94131 _ACEOF
94132 rm -f conftest.$ac_objext conftest$ac_exeext
94133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94134 (eval $ac_link) 2>conftest.er1
94135 ac_status=$?
94136 grep -v '^ *+' conftest.er1 >conftest.err
94137 rm -f conftest.er1
94138 cat conftest.err >&5
94139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94140 (exit $ac_status); } &&
94141 { ac_try='test -z "$ac_c_werror_flag"
94142 || test ! -s conftest.err'
94143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94144 (eval $ac_try) 2>&5
94145 ac_status=$?
94146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94147 (exit $ac_status); }; } &&
94148 { ac_try='test -s conftest$ac_exeext'
94149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150 (eval $ac_try) 2>&5
94151 ac_status=$?
94152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153 (exit $ac_status); }; }; then
94154 eval "$as_ac_var=yes"
94155 else
94156 echo "$as_me: failed program was:" >&5
94157 sed 's/^/| /' conftest.$ac_ext >&5
94159 eval "$as_ac_var=no"
94161 rm -f conftest.err conftest.$ac_objext \
94162 conftest$ac_exeext conftest.$ac_ext
94164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94166 if test `eval echo '${'$as_ac_var'}'` = yes; then
94167 cat >>confdefs.h <<_ACEOF
94168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94169 _ACEOF
94172 done
94174 else
94176 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94177 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94178 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94179 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94180 echo $ECHO_N "(cached) $ECHO_C" >&6
94181 else
94185 ac_ext=cc
94186 ac_cpp='$CXXCPP $CPPFLAGS'
94187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94191 cat >conftest.$ac_ext <<_ACEOF
94192 /* confdefs.h. */
94193 _ACEOF
94194 cat confdefs.h >>conftest.$ac_ext
94195 cat >>conftest.$ac_ext <<_ACEOF
94196 /* end confdefs.h. */
94197 #include <math.h>
94199 main ()
94201 _frexpf(0, 0);
94203 return 0;
94205 _ACEOF
94206 rm -f conftest.$ac_objext
94207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94208 (eval $ac_compile) 2>conftest.er1
94209 ac_status=$?
94210 grep -v '^ *+' conftest.er1 >conftest.err
94211 rm -f conftest.er1
94212 cat conftest.err >&5
94213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94214 (exit $ac_status); } &&
94215 { ac_try='test -z "$ac_cxx_werror_flag"
94216 || test ! -s conftest.err'
94217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94218 (eval $ac_try) 2>&5
94219 ac_status=$?
94220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94221 (exit $ac_status); }; } &&
94222 { ac_try='test -s conftest.$ac_objext'
94223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94224 (eval $ac_try) 2>&5
94225 ac_status=$?
94226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94227 (exit $ac_status); }; }; then
94228 glibcxx_cv_func__frexpf_use=yes
94229 else
94230 echo "$as_me: failed program was:" >&5
94231 sed 's/^/| /' conftest.$ac_ext >&5
94233 glibcxx_cv_func__frexpf_use=no
94235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94236 ac_ext=c
94237 ac_cpp='$CPP $CPPFLAGS'
94238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94247 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94249 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94251 for ac_func in _frexpf
94253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94254 echo "$as_me:$LINENO: checking for $ac_func" >&5
94255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94256 if eval "test \"\${$as_ac_var+set}\" = set"; then
94257 echo $ECHO_N "(cached) $ECHO_C" >&6
94258 else
94259 if test x$gcc_no_link = xyes; then
94260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94262 { (exit 1); exit 1; }; }
94264 cat >conftest.$ac_ext <<_ACEOF
94265 /* confdefs.h. */
94266 _ACEOF
94267 cat confdefs.h >>conftest.$ac_ext
94268 cat >>conftest.$ac_ext <<_ACEOF
94269 /* end confdefs.h. */
94270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94272 #define $ac_func innocuous_$ac_func
94274 /* System header to define __stub macros and hopefully few prototypes,
94275 which can conflict with char $ac_func (); below.
94276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94277 <limits.h> exists even on freestanding compilers. */
94279 #ifdef __STDC__
94280 # include <limits.h>
94281 #else
94282 # include <assert.h>
94283 #endif
94285 #undef $ac_func
94287 /* Override any gcc2 internal prototype to avoid an error. */
94288 #ifdef __cplusplus
94289 extern "C"
94291 #endif
94292 /* We use char because int might match the return type of a gcc2
94293 builtin and then its argument prototype would still apply. */
94294 char $ac_func ();
94295 /* The GNU C library defines this for functions which it implements
94296 to always fail with ENOSYS. Some functions are actually named
94297 something starting with __ and the normal name is an alias. */
94298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94299 choke me
94300 #else
94301 char (*f) () = $ac_func;
94302 #endif
94303 #ifdef __cplusplus
94305 #endif
94308 main ()
94310 return f != $ac_func;
94312 return 0;
94314 _ACEOF
94315 rm -f conftest.$ac_objext conftest$ac_exeext
94316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94317 (eval $ac_link) 2>conftest.er1
94318 ac_status=$?
94319 grep -v '^ *+' conftest.er1 >conftest.err
94320 rm -f conftest.er1
94321 cat conftest.err >&5
94322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323 (exit $ac_status); } &&
94324 { ac_try='test -z "$ac_c_werror_flag"
94325 || test ! -s conftest.err'
94326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94327 (eval $ac_try) 2>&5
94328 ac_status=$?
94329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94330 (exit $ac_status); }; } &&
94331 { ac_try='test -s conftest$ac_exeext'
94332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94333 (eval $ac_try) 2>&5
94334 ac_status=$?
94335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94336 (exit $ac_status); }; }; then
94337 eval "$as_ac_var=yes"
94338 else
94339 echo "$as_me: failed program was:" >&5
94340 sed 's/^/| /' conftest.$ac_ext >&5
94342 eval "$as_ac_var=no"
94344 rm -f conftest.err conftest.$ac_objext \
94345 conftest$ac_exeext conftest.$ac_ext
94347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94349 if test `eval echo '${'$as_ac_var'}'` = yes; then
94350 cat >>confdefs.h <<_ACEOF
94351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94352 _ACEOF
94355 done
94365 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94366 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94367 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94368 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94369 echo $ECHO_N "(cached) $ECHO_C" >&6
94370 else
94374 ac_ext=cc
94375 ac_cpp='$CXXCPP $CPPFLAGS'
94376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94380 cat >conftest.$ac_ext <<_ACEOF
94381 /* confdefs.h. */
94382 _ACEOF
94383 cat confdefs.h >>conftest.$ac_ext
94384 cat >>conftest.$ac_ext <<_ACEOF
94385 /* end confdefs.h. */
94386 #include <math.h>
94388 main ()
94390 hypotf(0, 0);
94392 return 0;
94394 _ACEOF
94395 rm -f conftest.$ac_objext
94396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94397 (eval $ac_compile) 2>conftest.er1
94398 ac_status=$?
94399 grep -v '^ *+' conftest.er1 >conftest.err
94400 rm -f conftest.er1
94401 cat conftest.err >&5
94402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94403 (exit $ac_status); } &&
94404 { ac_try='test -z "$ac_cxx_werror_flag"
94405 || test ! -s conftest.err'
94406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94407 (eval $ac_try) 2>&5
94408 ac_status=$?
94409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94410 (exit $ac_status); }; } &&
94411 { ac_try='test -s conftest.$ac_objext'
94412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94413 (eval $ac_try) 2>&5
94414 ac_status=$?
94415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94416 (exit $ac_status); }; }; then
94417 glibcxx_cv_func_hypotf_use=yes
94418 else
94419 echo "$as_me: failed program was:" >&5
94420 sed 's/^/| /' conftest.$ac_ext >&5
94422 glibcxx_cv_func_hypotf_use=no
94424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94425 ac_ext=c
94426 ac_cpp='$CPP $CPPFLAGS'
94427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94436 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94438 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94440 for ac_func in hypotf
94442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94443 echo "$as_me:$LINENO: checking for $ac_func" >&5
94444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94445 if eval "test \"\${$as_ac_var+set}\" = set"; then
94446 echo $ECHO_N "(cached) $ECHO_C" >&6
94447 else
94448 if test x$gcc_no_link = xyes; then
94449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94451 { (exit 1); exit 1; }; }
94453 cat >conftest.$ac_ext <<_ACEOF
94454 /* confdefs.h. */
94455 _ACEOF
94456 cat confdefs.h >>conftest.$ac_ext
94457 cat >>conftest.$ac_ext <<_ACEOF
94458 /* end confdefs.h. */
94459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94461 #define $ac_func innocuous_$ac_func
94463 /* System header to define __stub macros and hopefully few prototypes,
94464 which can conflict with char $ac_func (); below.
94465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94466 <limits.h> exists even on freestanding compilers. */
94468 #ifdef __STDC__
94469 # include <limits.h>
94470 #else
94471 # include <assert.h>
94472 #endif
94474 #undef $ac_func
94476 /* Override any gcc2 internal prototype to avoid an error. */
94477 #ifdef __cplusplus
94478 extern "C"
94480 #endif
94481 /* We use char because int might match the return type of a gcc2
94482 builtin and then its argument prototype would still apply. */
94483 char $ac_func ();
94484 /* The GNU C library defines this for functions which it implements
94485 to always fail with ENOSYS. Some functions are actually named
94486 something starting with __ and the normal name is an alias. */
94487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94488 choke me
94489 #else
94490 char (*f) () = $ac_func;
94491 #endif
94492 #ifdef __cplusplus
94494 #endif
94497 main ()
94499 return f != $ac_func;
94501 return 0;
94503 _ACEOF
94504 rm -f conftest.$ac_objext conftest$ac_exeext
94505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94506 (eval $ac_link) 2>conftest.er1
94507 ac_status=$?
94508 grep -v '^ *+' conftest.er1 >conftest.err
94509 rm -f conftest.er1
94510 cat conftest.err >&5
94511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94512 (exit $ac_status); } &&
94513 { ac_try='test -z "$ac_c_werror_flag"
94514 || test ! -s conftest.err'
94515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94516 (eval $ac_try) 2>&5
94517 ac_status=$?
94518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94519 (exit $ac_status); }; } &&
94520 { ac_try='test -s conftest$ac_exeext'
94521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94522 (eval $ac_try) 2>&5
94523 ac_status=$?
94524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94525 (exit $ac_status); }; }; then
94526 eval "$as_ac_var=yes"
94527 else
94528 echo "$as_me: failed program was:" >&5
94529 sed 's/^/| /' conftest.$ac_ext >&5
94531 eval "$as_ac_var=no"
94533 rm -f conftest.err conftest.$ac_objext \
94534 conftest$ac_exeext conftest.$ac_ext
94536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94538 if test `eval echo '${'$as_ac_var'}'` = yes; then
94539 cat >>confdefs.h <<_ACEOF
94540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94541 _ACEOF
94544 done
94546 else
94548 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94549 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94550 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94551 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94552 echo $ECHO_N "(cached) $ECHO_C" >&6
94553 else
94557 ac_ext=cc
94558 ac_cpp='$CXXCPP $CPPFLAGS'
94559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94563 cat >conftest.$ac_ext <<_ACEOF
94564 /* confdefs.h. */
94565 _ACEOF
94566 cat confdefs.h >>conftest.$ac_ext
94567 cat >>conftest.$ac_ext <<_ACEOF
94568 /* end confdefs.h. */
94569 #include <math.h>
94571 main ()
94573 _hypotf(0, 0);
94575 return 0;
94577 _ACEOF
94578 rm -f conftest.$ac_objext
94579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94580 (eval $ac_compile) 2>conftest.er1
94581 ac_status=$?
94582 grep -v '^ *+' conftest.er1 >conftest.err
94583 rm -f conftest.er1
94584 cat conftest.err >&5
94585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94586 (exit $ac_status); } &&
94587 { ac_try='test -z "$ac_cxx_werror_flag"
94588 || test ! -s conftest.err'
94589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94590 (eval $ac_try) 2>&5
94591 ac_status=$?
94592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94593 (exit $ac_status); }; } &&
94594 { ac_try='test -s conftest.$ac_objext'
94595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94596 (eval $ac_try) 2>&5
94597 ac_status=$?
94598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94599 (exit $ac_status); }; }; then
94600 glibcxx_cv_func__hypotf_use=yes
94601 else
94602 echo "$as_me: failed program was:" >&5
94603 sed 's/^/| /' conftest.$ac_ext >&5
94605 glibcxx_cv_func__hypotf_use=no
94607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94608 ac_ext=c
94609 ac_cpp='$CPP $CPPFLAGS'
94610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94619 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94621 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94623 for ac_func in _hypotf
94625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94626 echo "$as_me:$LINENO: checking for $ac_func" >&5
94627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94628 if eval "test \"\${$as_ac_var+set}\" = set"; then
94629 echo $ECHO_N "(cached) $ECHO_C" >&6
94630 else
94631 if test x$gcc_no_link = xyes; then
94632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94634 { (exit 1); exit 1; }; }
94636 cat >conftest.$ac_ext <<_ACEOF
94637 /* confdefs.h. */
94638 _ACEOF
94639 cat confdefs.h >>conftest.$ac_ext
94640 cat >>conftest.$ac_ext <<_ACEOF
94641 /* end confdefs.h. */
94642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94644 #define $ac_func innocuous_$ac_func
94646 /* System header to define __stub macros and hopefully few prototypes,
94647 which can conflict with char $ac_func (); below.
94648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94649 <limits.h> exists even on freestanding compilers. */
94651 #ifdef __STDC__
94652 # include <limits.h>
94653 #else
94654 # include <assert.h>
94655 #endif
94657 #undef $ac_func
94659 /* Override any gcc2 internal prototype to avoid an error. */
94660 #ifdef __cplusplus
94661 extern "C"
94663 #endif
94664 /* We use char because int might match the return type of a gcc2
94665 builtin and then its argument prototype would still apply. */
94666 char $ac_func ();
94667 /* The GNU C library defines this for functions which it implements
94668 to always fail with ENOSYS. Some functions are actually named
94669 something starting with __ and the normal name is an alias. */
94670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94671 choke me
94672 #else
94673 char (*f) () = $ac_func;
94674 #endif
94675 #ifdef __cplusplus
94677 #endif
94680 main ()
94682 return f != $ac_func;
94684 return 0;
94686 _ACEOF
94687 rm -f conftest.$ac_objext conftest$ac_exeext
94688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94689 (eval $ac_link) 2>conftest.er1
94690 ac_status=$?
94691 grep -v '^ *+' conftest.er1 >conftest.err
94692 rm -f conftest.er1
94693 cat conftest.err >&5
94694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94695 (exit $ac_status); } &&
94696 { ac_try='test -z "$ac_c_werror_flag"
94697 || test ! -s conftest.err'
94698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94699 (eval $ac_try) 2>&5
94700 ac_status=$?
94701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94702 (exit $ac_status); }; } &&
94703 { ac_try='test -s conftest$ac_exeext'
94704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94705 (eval $ac_try) 2>&5
94706 ac_status=$?
94707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94708 (exit $ac_status); }; }; then
94709 eval "$as_ac_var=yes"
94710 else
94711 echo "$as_me: failed program was:" >&5
94712 sed 's/^/| /' conftest.$ac_ext >&5
94714 eval "$as_ac_var=no"
94716 rm -f conftest.err conftest.$ac_objext \
94717 conftest$ac_exeext conftest.$ac_ext
94719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94721 if test `eval echo '${'$as_ac_var'}'` = yes; then
94722 cat >>confdefs.h <<_ACEOF
94723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94724 _ACEOF
94727 done
94737 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94738 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94739 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94740 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94741 echo $ECHO_N "(cached) $ECHO_C" >&6
94742 else
94746 ac_ext=cc
94747 ac_cpp='$CXXCPP $CPPFLAGS'
94748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94752 cat >conftest.$ac_ext <<_ACEOF
94753 /* confdefs.h. */
94754 _ACEOF
94755 cat confdefs.h >>conftest.$ac_ext
94756 cat >>conftest.$ac_ext <<_ACEOF
94757 /* end confdefs.h. */
94758 #include <math.h>
94760 main ()
94762 ldexpf(0, 0);
94764 return 0;
94766 _ACEOF
94767 rm -f conftest.$ac_objext
94768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94769 (eval $ac_compile) 2>conftest.er1
94770 ac_status=$?
94771 grep -v '^ *+' conftest.er1 >conftest.err
94772 rm -f conftest.er1
94773 cat conftest.err >&5
94774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94775 (exit $ac_status); } &&
94776 { ac_try='test -z "$ac_cxx_werror_flag"
94777 || test ! -s conftest.err'
94778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94779 (eval $ac_try) 2>&5
94780 ac_status=$?
94781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94782 (exit $ac_status); }; } &&
94783 { ac_try='test -s conftest.$ac_objext'
94784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94785 (eval $ac_try) 2>&5
94786 ac_status=$?
94787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94788 (exit $ac_status); }; }; then
94789 glibcxx_cv_func_ldexpf_use=yes
94790 else
94791 echo "$as_me: failed program was:" >&5
94792 sed 's/^/| /' conftest.$ac_ext >&5
94794 glibcxx_cv_func_ldexpf_use=no
94796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94797 ac_ext=c
94798 ac_cpp='$CPP $CPPFLAGS'
94799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94808 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94810 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94812 for ac_func in ldexpf
94814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94815 echo "$as_me:$LINENO: checking for $ac_func" >&5
94816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94817 if eval "test \"\${$as_ac_var+set}\" = set"; then
94818 echo $ECHO_N "(cached) $ECHO_C" >&6
94819 else
94820 if test x$gcc_no_link = xyes; then
94821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94823 { (exit 1); exit 1; }; }
94825 cat >conftest.$ac_ext <<_ACEOF
94826 /* confdefs.h. */
94827 _ACEOF
94828 cat confdefs.h >>conftest.$ac_ext
94829 cat >>conftest.$ac_ext <<_ACEOF
94830 /* end confdefs.h. */
94831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94833 #define $ac_func innocuous_$ac_func
94835 /* System header to define __stub macros and hopefully few prototypes,
94836 which can conflict with char $ac_func (); below.
94837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94838 <limits.h> exists even on freestanding compilers. */
94840 #ifdef __STDC__
94841 # include <limits.h>
94842 #else
94843 # include <assert.h>
94844 #endif
94846 #undef $ac_func
94848 /* Override any gcc2 internal prototype to avoid an error. */
94849 #ifdef __cplusplus
94850 extern "C"
94852 #endif
94853 /* We use char because int might match the return type of a gcc2
94854 builtin and then its argument prototype would still apply. */
94855 char $ac_func ();
94856 /* The GNU C library defines this for functions which it implements
94857 to always fail with ENOSYS. Some functions are actually named
94858 something starting with __ and the normal name is an alias. */
94859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94860 choke me
94861 #else
94862 char (*f) () = $ac_func;
94863 #endif
94864 #ifdef __cplusplus
94866 #endif
94869 main ()
94871 return f != $ac_func;
94873 return 0;
94875 _ACEOF
94876 rm -f conftest.$ac_objext conftest$ac_exeext
94877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94878 (eval $ac_link) 2>conftest.er1
94879 ac_status=$?
94880 grep -v '^ *+' conftest.er1 >conftest.err
94881 rm -f conftest.er1
94882 cat conftest.err >&5
94883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94884 (exit $ac_status); } &&
94885 { ac_try='test -z "$ac_c_werror_flag"
94886 || test ! -s conftest.err'
94887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94888 (eval $ac_try) 2>&5
94889 ac_status=$?
94890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94891 (exit $ac_status); }; } &&
94892 { ac_try='test -s conftest$ac_exeext'
94893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94894 (eval $ac_try) 2>&5
94895 ac_status=$?
94896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94897 (exit $ac_status); }; }; then
94898 eval "$as_ac_var=yes"
94899 else
94900 echo "$as_me: failed program was:" >&5
94901 sed 's/^/| /' conftest.$ac_ext >&5
94903 eval "$as_ac_var=no"
94905 rm -f conftest.err conftest.$ac_objext \
94906 conftest$ac_exeext conftest.$ac_ext
94908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94910 if test `eval echo '${'$as_ac_var'}'` = yes; then
94911 cat >>confdefs.h <<_ACEOF
94912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94913 _ACEOF
94916 done
94918 else
94920 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94921 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94922 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94923 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94924 echo $ECHO_N "(cached) $ECHO_C" >&6
94925 else
94929 ac_ext=cc
94930 ac_cpp='$CXXCPP $CPPFLAGS'
94931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94935 cat >conftest.$ac_ext <<_ACEOF
94936 /* confdefs.h. */
94937 _ACEOF
94938 cat confdefs.h >>conftest.$ac_ext
94939 cat >>conftest.$ac_ext <<_ACEOF
94940 /* end confdefs.h. */
94941 #include <math.h>
94943 main ()
94945 _ldexpf(0, 0);
94947 return 0;
94949 _ACEOF
94950 rm -f conftest.$ac_objext
94951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94952 (eval $ac_compile) 2>conftest.er1
94953 ac_status=$?
94954 grep -v '^ *+' conftest.er1 >conftest.err
94955 rm -f conftest.er1
94956 cat conftest.err >&5
94957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94958 (exit $ac_status); } &&
94959 { ac_try='test -z "$ac_cxx_werror_flag"
94960 || test ! -s conftest.err'
94961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94962 (eval $ac_try) 2>&5
94963 ac_status=$?
94964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94965 (exit $ac_status); }; } &&
94966 { ac_try='test -s conftest.$ac_objext'
94967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94968 (eval $ac_try) 2>&5
94969 ac_status=$?
94970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94971 (exit $ac_status); }; }; then
94972 glibcxx_cv_func__ldexpf_use=yes
94973 else
94974 echo "$as_me: failed program was:" >&5
94975 sed 's/^/| /' conftest.$ac_ext >&5
94977 glibcxx_cv_func__ldexpf_use=no
94979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94980 ac_ext=c
94981 ac_cpp='$CPP $CPPFLAGS'
94982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94991 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94993 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94995 for ac_func in _ldexpf
94997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94998 echo "$as_me:$LINENO: checking for $ac_func" >&5
94999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95000 if eval "test \"\${$as_ac_var+set}\" = set"; then
95001 echo $ECHO_N "(cached) $ECHO_C" >&6
95002 else
95003 if test x$gcc_no_link = xyes; then
95004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95006 { (exit 1); exit 1; }; }
95008 cat >conftest.$ac_ext <<_ACEOF
95009 /* confdefs.h. */
95010 _ACEOF
95011 cat confdefs.h >>conftest.$ac_ext
95012 cat >>conftest.$ac_ext <<_ACEOF
95013 /* end confdefs.h. */
95014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95016 #define $ac_func innocuous_$ac_func
95018 /* System header to define __stub macros and hopefully few prototypes,
95019 which can conflict with char $ac_func (); below.
95020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95021 <limits.h> exists even on freestanding compilers. */
95023 #ifdef __STDC__
95024 # include <limits.h>
95025 #else
95026 # include <assert.h>
95027 #endif
95029 #undef $ac_func
95031 /* Override any gcc2 internal prototype to avoid an error. */
95032 #ifdef __cplusplus
95033 extern "C"
95035 #endif
95036 /* We use char because int might match the return type of a gcc2
95037 builtin and then its argument prototype would still apply. */
95038 char $ac_func ();
95039 /* The GNU C library defines this for functions which it implements
95040 to always fail with ENOSYS. Some functions are actually named
95041 something starting with __ and the normal name is an alias. */
95042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95043 choke me
95044 #else
95045 char (*f) () = $ac_func;
95046 #endif
95047 #ifdef __cplusplus
95049 #endif
95052 main ()
95054 return f != $ac_func;
95056 return 0;
95058 _ACEOF
95059 rm -f conftest.$ac_objext conftest$ac_exeext
95060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95061 (eval $ac_link) 2>conftest.er1
95062 ac_status=$?
95063 grep -v '^ *+' conftest.er1 >conftest.err
95064 rm -f conftest.er1
95065 cat conftest.err >&5
95066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95067 (exit $ac_status); } &&
95068 { ac_try='test -z "$ac_c_werror_flag"
95069 || test ! -s conftest.err'
95070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95071 (eval $ac_try) 2>&5
95072 ac_status=$?
95073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95074 (exit $ac_status); }; } &&
95075 { ac_try='test -s conftest$ac_exeext'
95076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95077 (eval $ac_try) 2>&5
95078 ac_status=$?
95079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95080 (exit $ac_status); }; }; then
95081 eval "$as_ac_var=yes"
95082 else
95083 echo "$as_me: failed program was:" >&5
95084 sed 's/^/| /' conftest.$ac_ext >&5
95086 eval "$as_ac_var=no"
95088 rm -f conftest.err conftest.$ac_objext \
95089 conftest$ac_exeext conftest.$ac_ext
95091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95093 if test `eval echo '${'$as_ac_var'}'` = yes; then
95094 cat >>confdefs.h <<_ACEOF
95095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95096 _ACEOF
95099 done
95109 echo "$as_me:$LINENO: checking for logf declaration" >&5
95110 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95111 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95112 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95113 echo $ECHO_N "(cached) $ECHO_C" >&6
95114 else
95118 ac_ext=cc
95119 ac_cpp='$CXXCPP $CPPFLAGS'
95120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95124 cat >conftest.$ac_ext <<_ACEOF
95125 /* confdefs.h. */
95126 _ACEOF
95127 cat confdefs.h >>conftest.$ac_ext
95128 cat >>conftest.$ac_ext <<_ACEOF
95129 /* end confdefs.h. */
95130 #include <math.h>
95131 #ifdef HAVE_IEEEFP_H
95132 #include <ieeefp.h>
95133 #endif
95136 main ()
95138 logf(0);
95140 return 0;
95142 _ACEOF
95143 rm -f conftest.$ac_objext
95144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95145 (eval $ac_compile) 2>conftest.er1
95146 ac_status=$?
95147 grep -v '^ *+' conftest.er1 >conftest.err
95148 rm -f conftest.er1
95149 cat conftest.err >&5
95150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95151 (exit $ac_status); } &&
95152 { ac_try='test -z "$ac_cxx_werror_flag"
95153 || test ! -s conftest.err'
95154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95155 (eval $ac_try) 2>&5
95156 ac_status=$?
95157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95158 (exit $ac_status); }; } &&
95159 { ac_try='test -s conftest.$ac_objext'
95160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95161 (eval $ac_try) 2>&5
95162 ac_status=$?
95163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95164 (exit $ac_status); }; }; then
95165 glibcxx_cv_func_logf_use=yes
95166 else
95167 echo "$as_me: failed program was:" >&5
95168 sed 's/^/| /' conftest.$ac_ext >&5
95170 glibcxx_cv_func_logf_use=no
95172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95173 ac_ext=c
95174 ac_cpp='$CPP $CPPFLAGS'
95175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95184 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95186 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95188 for ac_func in logf
95190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95191 echo "$as_me:$LINENO: checking for $ac_func" >&5
95192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95193 if eval "test \"\${$as_ac_var+set}\" = set"; then
95194 echo $ECHO_N "(cached) $ECHO_C" >&6
95195 else
95196 if test x$gcc_no_link = xyes; then
95197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95199 { (exit 1); exit 1; }; }
95201 cat >conftest.$ac_ext <<_ACEOF
95202 /* confdefs.h. */
95203 _ACEOF
95204 cat confdefs.h >>conftest.$ac_ext
95205 cat >>conftest.$ac_ext <<_ACEOF
95206 /* end confdefs.h. */
95207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95209 #define $ac_func innocuous_$ac_func
95211 /* System header to define __stub macros and hopefully few prototypes,
95212 which can conflict with char $ac_func (); below.
95213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95214 <limits.h> exists even on freestanding compilers. */
95216 #ifdef __STDC__
95217 # include <limits.h>
95218 #else
95219 # include <assert.h>
95220 #endif
95222 #undef $ac_func
95224 /* Override any gcc2 internal prototype to avoid an error. */
95225 #ifdef __cplusplus
95226 extern "C"
95228 #endif
95229 /* We use char because int might match the return type of a gcc2
95230 builtin and then its argument prototype would still apply. */
95231 char $ac_func ();
95232 /* The GNU C library defines this for functions which it implements
95233 to always fail with ENOSYS. Some functions are actually named
95234 something starting with __ and the normal name is an alias. */
95235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95236 choke me
95237 #else
95238 char (*f) () = $ac_func;
95239 #endif
95240 #ifdef __cplusplus
95242 #endif
95245 main ()
95247 return f != $ac_func;
95249 return 0;
95251 _ACEOF
95252 rm -f conftest.$ac_objext conftest$ac_exeext
95253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95254 (eval $ac_link) 2>conftest.er1
95255 ac_status=$?
95256 grep -v '^ *+' conftest.er1 >conftest.err
95257 rm -f conftest.er1
95258 cat conftest.err >&5
95259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95260 (exit $ac_status); } &&
95261 { ac_try='test -z "$ac_c_werror_flag"
95262 || test ! -s conftest.err'
95263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95264 (eval $ac_try) 2>&5
95265 ac_status=$?
95266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95267 (exit $ac_status); }; } &&
95268 { ac_try='test -s conftest$ac_exeext'
95269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95270 (eval $ac_try) 2>&5
95271 ac_status=$?
95272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95273 (exit $ac_status); }; }; then
95274 eval "$as_ac_var=yes"
95275 else
95276 echo "$as_me: failed program was:" >&5
95277 sed 's/^/| /' conftest.$ac_ext >&5
95279 eval "$as_ac_var=no"
95281 rm -f conftest.err conftest.$ac_objext \
95282 conftest$ac_exeext conftest.$ac_ext
95284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95286 if test `eval echo '${'$as_ac_var'}'` = yes; then
95287 cat >>confdefs.h <<_ACEOF
95288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95289 _ACEOF
95292 done
95294 else
95296 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95297 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95298 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95299 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95300 echo $ECHO_N "(cached) $ECHO_C" >&6
95301 else
95305 ac_ext=cc
95306 ac_cpp='$CXXCPP $CPPFLAGS'
95307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95311 cat >conftest.$ac_ext <<_ACEOF
95312 /* confdefs.h. */
95313 _ACEOF
95314 cat confdefs.h >>conftest.$ac_ext
95315 cat >>conftest.$ac_ext <<_ACEOF
95316 /* end confdefs.h. */
95317 #include <math.h>
95318 #ifdef HAVE_IEEEFP_H
95319 #include <ieeefp.h>
95320 #endif
95323 main ()
95325 _logf(0);
95327 return 0;
95329 _ACEOF
95330 rm -f conftest.$ac_objext
95331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95332 (eval $ac_compile) 2>conftest.er1
95333 ac_status=$?
95334 grep -v '^ *+' conftest.er1 >conftest.err
95335 rm -f conftest.er1
95336 cat conftest.err >&5
95337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95338 (exit $ac_status); } &&
95339 { ac_try='test -z "$ac_cxx_werror_flag"
95340 || test ! -s conftest.err'
95341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95342 (eval $ac_try) 2>&5
95343 ac_status=$?
95344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95345 (exit $ac_status); }; } &&
95346 { ac_try='test -s conftest.$ac_objext'
95347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95348 (eval $ac_try) 2>&5
95349 ac_status=$?
95350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95351 (exit $ac_status); }; }; then
95352 glibcxx_cv_func__logf_use=yes
95353 else
95354 echo "$as_me: failed program was:" >&5
95355 sed 's/^/| /' conftest.$ac_ext >&5
95357 glibcxx_cv_func__logf_use=no
95359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95360 ac_ext=c
95361 ac_cpp='$CPP $CPPFLAGS'
95362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95371 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95373 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95375 for ac_func in _logf
95377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95378 echo "$as_me:$LINENO: checking for $ac_func" >&5
95379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95380 if eval "test \"\${$as_ac_var+set}\" = set"; then
95381 echo $ECHO_N "(cached) $ECHO_C" >&6
95382 else
95383 if test x$gcc_no_link = xyes; then
95384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95386 { (exit 1); exit 1; }; }
95388 cat >conftest.$ac_ext <<_ACEOF
95389 /* confdefs.h. */
95390 _ACEOF
95391 cat confdefs.h >>conftest.$ac_ext
95392 cat >>conftest.$ac_ext <<_ACEOF
95393 /* end confdefs.h. */
95394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95396 #define $ac_func innocuous_$ac_func
95398 /* System header to define __stub macros and hopefully few prototypes,
95399 which can conflict with char $ac_func (); below.
95400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95401 <limits.h> exists even on freestanding compilers. */
95403 #ifdef __STDC__
95404 # include <limits.h>
95405 #else
95406 # include <assert.h>
95407 #endif
95409 #undef $ac_func
95411 /* Override any gcc2 internal prototype to avoid an error. */
95412 #ifdef __cplusplus
95413 extern "C"
95415 #endif
95416 /* We use char because int might match the return type of a gcc2
95417 builtin and then its argument prototype would still apply. */
95418 char $ac_func ();
95419 /* The GNU C library defines this for functions which it implements
95420 to always fail with ENOSYS. Some functions are actually named
95421 something starting with __ and the normal name is an alias. */
95422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95423 choke me
95424 #else
95425 char (*f) () = $ac_func;
95426 #endif
95427 #ifdef __cplusplus
95429 #endif
95432 main ()
95434 return f != $ac_func;
95436 return 0;
95438 _ACEOF
95439 rm -f conftest.$ac_objext conftest$ac_exeext
95440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95441 (eval $ac_link) 2>conftest.er1
95442 ac_status=$?
95443 grep -v '^ *+' conftest.er1 >conftest.err
95444 rm -f conftest.er1
95445 cat conftest.err >&5
95446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95447 (exit $ac_status); } &&
95448 { ac_try='test -z "$ac_c_werror_flag"
95449 || test ! -s conftest.err'
95450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95451 (eval $ac_try) 2>&5
95452 ac_status=$?
95453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95454 (exit $ac_status); }; } &&
95455 { ac_try='test -s conftest$ac_exeext'
95456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95457 (eval $ac_try) 2>&5
95458 ac_status=$?
95459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95460 (exit $ac_status); }; }; then
95461 eval "$as_ac_var=yes"
95462 else
95463 echo "$as_me: failed program was:" >&5
95464 sed 's/^/| /' conftest.$ac_ext >&5
95466 eval "$as_ac_var=no"
95468 rm -f conftest.err conftest.$ac_objext \
95469 conftest$ac_exeext conftest.$ac_ext
95471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95473 if test `eval echo '${'$as_ac_var'}'` = yes; then
95474 cat >>confdefs.h <<_ACEOF
95475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95476 _ACEOF
95479 done
95489 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95490 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95491 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95492 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95493 echo $ECHO_N "(cached) $ECHO_C" >&6
95494 else
95498 ac_ext=cc
95499 ac_cpp='$CXXCPP $CPPFLAGS'
95500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95504 cat >conftest.$ac_ext <<_ACEOF
95505 /* confdefs.h. */
95506 _ACEOF
95507 cat confdefs.h >>conftest.$ac_ext
95508 cat >>conftest.$ac_ext <<_ACEOF
95509 /* end confdefs.h. */
95510 #include <math.h>
95511 #ifdef HAVE_IEEEFP_H
95512 #include <ieeefp.h>
95513 #endif
95516 main ()
95518 log10f(0);
95520 return 0;
95522 _ACEOF
95523 rm -f conftest.$ac_objext
95524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95525 (eval $ac_compile) 2>conftest.er1
95526 ac_status=$?
95527 grep -v '^ *+' conftest.er1 >conftest.err
95528 rm -f conftest.er1
95529 cat conftest.err >&5
95530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95531 (exit $ac_status); } &&
95532 { ac_try='test -z "$ac_cxx_werror_flag"
95533 || test ! -s conftest.err'
95534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95535 (eval $ac_try) 2>&5
95536 ac_status=$?
95537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95538 (exit $ac_status); }; } &&
95539 { ac_try='test -s conftest.$ac_objext'
95540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95541 (eval $ac_try) 2>&5
95542 ac_status=$?
95543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95544 (exit $ac_status); }; }; then
95545 glibcxx_cv_func_log10f_use=yes
95546 else
95547 echo "$as_me: failed program was:" >&5
95548 sed 's/^/| /' conftest.$ac_ext >&5
95550 glibcxx_cv_func_log10f_use=no
95552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95553 ac_ext=c
95554 ac_cpp='$CPP $CPPFLAGS'
95555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95564 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95566 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95568 for ac_func in log10f
95570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95571 echo "$as_me:$LINENO: checking for $ac_func" >&5
95572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95573 if eval "test \"\${$as_ac_var+set}\" = set"; then
95574 echo $ECHO_N "(cached) $ECHO_C" >&6
95575 else
95576 if test x$gcc_no_link = xyes; then
95577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95579 { (exit 1); exit 1; }; }
95581 cat >conftest.$ac_ext <<_ACEOF
95582 /* confdefs.h. */
95583 _ACEOF
95584 cat confdefs.h >>conftest.$ac_ext
95585 cat >>conftest.$ac_ext <<_ACEOF
95586 /* end confdefs.h. */
95587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95589 #define $ac_func innocuous_$ac_func
95591 /* System header to define __stub macros and hopefully few prototypes,
95592 which can conflict with char $ac_func (); below.
95593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95594 <limits.h> exists even on freestanding compilers. */
95596 #ifdef __STDC__
95597 # include <limits.h>
95598 #else
95599 # include <assert.h>
95600 #endif
95602 #undef $ac_func
95604 /* Override any gcc2 internal prototype to avoid an error. */
95605 #ifdef __cplusplus
95606 extern "C"
95608 #endif
95609 /* We use char because int might match the return type of a gcc2
95610 builtin and then its argument prototype would still apply. */
95611 char $ac_func ();
95612 /* The GNU C library defines this for functions which it implements
95613 to always fail with ENOSYS. Some functions are actually named
95614 something starting with __ and the normal name is an alias. */
95615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95616 choke me
95617 #else
95618 char (*f) () = $ac_func;
95619 #endif
95620 #ifdef __cplusplus
95622 #endif
95625 main ()
95627 return f != $ac_func;
95629 return 0;
95631 _ACEOF
95632 rm -f conftest.$ac_objext conftest$ac_exeext
95633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95634 (eval $ac_link) 2>conftest.er1
95635 ac_status=$?
95636 grep -v '^ *+' conftest.er1 >conftest.err
95637 rm -f conftest.er1
95638 cat conftest.err >&5
95639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95640 (exit $ac_status); } &&
95641 { ac_try='test -z "$ac_c_werror_flag"
95642 || test ! -s conftest.err'
95643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95644 (eval $ac_try) 2>&5
95645 ac_status=$?
95646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95647 (exit $ac_status); }; } &&
95648 { ac_try='test -s conftest$ac_exeext'
95649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95650 (eval $ac_try) 2>&5
95651 ac_status=$?
95652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95653 (exit $ac_status); }; }; then
95654 eval "$as_ac_var=yes"
95655 else
95656 echo "$as_me: failed program was:" >&5
95657 sed 's/^/| /' conftest.$ac_ext >&5
95659 eval "$as_ac_var=no"
95661 rm -f conftest.err conftest.$ac_objext \
95662 conftest$ac_exeext conftest.$ac_ext
95664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95666 if test `eval echo '${'$as_ac_var'}'` = yes; then
95667 cat >>confdefs.h <<_ACEOF
95668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95669 _ACEOF
95672 done
95674 else
95676 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95677 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95678 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95679 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95680 echo $ECHO_N "(cached) $ECHO_C" >&6
95681 else
95685 ac_ext=cc
95686 ac_cpp='$CXXCPP $CPPFLAGS'
95687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95691 cat >conftest.$ac_ext <<_ACEOF
95692 /* confdefs.h. */
95693 _ACEOF
95694 cat confdefs.h >>conftest.$ac_ext
95695 cat >>conftest.$ac_ext <<_ACEOF
95696 /* end confdefs.h. */
95697 #include <math.h>
95698 #ifdef HAVE_IEEEFP_H
95699 #include <ieeefp.h>
95700 #endif
95703 main ()
95705 _log10f(0);
95707 return 0;
95709 _ACEOF
95710 rm -f conftest.$ac_objext
95711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95712 (eval $ac_compile) 2>conftest.er1
95713 ac_status=$?
95714 grep -v '^ *+' conftest.er1 >conftest.err
95715 rm -f conftest.er1
95716 cat conftest.err >&5
95717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95718 (exit $ac_status); } &&
95719 { ac_try='test -z "$ac_cxx_werror_flag"
95720 || test ! -s conftest.err'
95721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95722 (eval $ac_try) 2>&5
95723 ac_status=$?
95724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95725 (exit $ac_status); }; } &&
95726 { ac_try='test -s conftest.$ac_objext'
95727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95728 (eval $ac_try) 2>&5
95729 ac_status=$?
95730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95731 (exit $ac_status); }; }; then
95732 glibcxx_cv_func__log10f_use=yes
95733 else
95734 echo "$as_me: failed program was:" >&5
95735 sed 's/^/| /' conftest.$ac_ext >&5
95737 glibcxx_cv_func__log10f_use=no
95739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95740 ac_ext=c
95741 ac_cpp='$CPP $CPPFLAGS'
95742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95751 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95753 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95755 for ac_func in _log10f
95757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95758 echo "$as_me:$LINENO: checking for $ac_func" >&5
95759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95760 if eval "test \"\${$as_ac_var+set}\" = set"; then
95761 echo $ECHO_N "(cached) $ECHO_C" >&6
95762 else
95763 if test x$gcc_no_link = xyes; then
95764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95766 { (exit 1); exit 1; }; }
95768 cat >conftest.$ac_ext <<_ACEOF
95769 /* confdefs.h. */
95770 _ACEOF
95771 cat confdefs.h >>conftest.$ac_ext
95772 cat >>conftest.$ac_ext <<_ACEOF
95773 /* end confdefs.h. */
95774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95776 #define $ac_func innocuous_$ac_func
95778 /* System header to define __stub macros and hopefully few prototypes,
95779 which can conflict with char $ac_func (); below.
95780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95781 <limits.h> exists even on freestanding compilers. */
95783 #ifdef __STDC__
95784 # include <limits.h>
95785 #else
95786 # include <assert.h>
95787 #endif
95789 #undef $ac_func
95791 /* Override any gcc2 internal prototype to avoid an error. */
95792 #ifdef __cplusplus
95793 extern "C"
95795 #endif
95796 /* We use char because int might match the return type of a gcc2
95797 builtin and then its argument prototype would still apply. */
95798 char $ac_func ();
95799 /* The GNU C library defines this for functions which it implements
95800 to always fail with ENOSYS. Some functions are actually named
95801 something starting with __ and the normal name is an alias. */
95802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95803 choke me
95804 #else
95805 char (*f) () = $ac_func;
95806 #endif
95807 #ifdef __cplusplus
95809 #endif
95812 main ()
95814 return f != $ac_func;
95816 return 0;
95818 _ACEOF
95819 rm -f conftest.$ac_objext conftest$ac_exeext
95820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95821 (eval $ac_link) 2>conftest.er1
95822 ac_status=$?
95823 grep -v '^ *+' conftest.er1 >conftest.err
95824 rm -f conftest.er1
95825 cat conftest.err >&5
95826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95827 (exit $ac_status); } &&
95828 { ac_try='test -z "$ac_c_werror_flag"
95829 || test ! -s conftest.err'
95830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95831 (eval $ac_try) 2>&5
95832 ac_status=$?
95833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95834 (exit $ac_status); }; } &&
95835 { ac_try='test -s conftest$ac_exeext'
95836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95837 (eval $ac_try) 2>&5
95838 ac_status=$?
95839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95840 (exit $ac_status); }; }; then
95841 eval "$as_ac_var=yes"
95842 else
95843 echo "$as_me: failed program was:" >&5
95844 sed 's/^/| /' conftest.$ac_ext >&5
95846 eval "$as_ac_var=no"
95848 rm -f conftest.err conftest.$ac_objext \
95849 conftest$ac_exeext conftest.$ac_ext
95851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95853 if test `eval echo '${'$as_ac_var'}'` = yes; then
95854 cat >>confdefs.h <<_ACEOF
95855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95856 _ACEOF
95859 done
95869 echo "$as_me:$LINENO: checking for modff declaration" >&5
95870 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95871 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95872 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95873 echo $ECHO_N "(cached) $ECHO_C" >&6
95874 else
95878 ac_ext=cc
95879 ac_cpp='$CXXCPP $CPPFLAGS'
95880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95884 cat >conftest.$ac_ext <<_ACEOF
95885 /* confdefs.h. */
95886 _ACEOF
95887 cat confdefs.h >>conftest.$ac_ext
95888 cat >>conftest.$ac_ext <<_ACEOF
95889 /* end confdefs.h. */
95890 #include <math.h>
95892 main ()
95894 modff(0, 0);
95896 return 0;
95898 _ACEOF
95899 rm -f conftest.$ac_objext
95900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95901 (eval $ac_compile) 2>conftest.er1
95902 ac_status=$?
95903 grep -v '^ *+' conftest.er1 >conftest.err
95904 rm -f conftest.er1
95905 cat conftest.err >&5
95906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95907 (exit $ac_status); } &&
95908 { ac_try='test -z "$ac_cxx_werror_flag"
95909 || test ! -s conftest.err'
95910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95911 (eval $ac_try) 2>&5
95912 ac_status=$?
95913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95914 (exit $ac_status); }; } &&
95915 { ac_try='test -s conftest.$ac_objext'
95916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95917 (eval $ac_try) 2>&5
95918 ac_status=$?
95919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95920 (exit $ac_status); }; }; then
95921 glibcxx_cv_func_modff_use=yes
95922 else
95923 echo "$as_me: failed program was:" >&5
95924 sed 's/^/| /' conftest.$ac_ext >&5
95926 glibcxx_cv_func_modff_use=no
95928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95929 ac_ext=c
95930 ac_cpp='$CPP $CPPFLAGS'
95931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95939 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95940 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95942 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95944 for ac_func in modff
95946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95947 echo "$as_me:$LINENO: checking for $ac_func" >&5
95948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95949 if eval "test \"\${$as_ac_var+set}\" = set"; then
95950 echo $ECHO_N "(cached) $ECHO_C" >&6
95951 else
95952 if test x$gcc_no_link = xyes; then
95953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95955 { (exit 1); exit 1; }; }
95957 cat >conftest.$ac_ext <<_ACEOF
95958 /* confdefs.h. */
95959 _ACEOF
95960 cat confdefs.h >>conftest.$ac_ext
95961 cat >>conftest.$ac_ext <<_ACEOF
95962 /* end confdefs.h. */
95963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95965 #define $ac_func innocuous_$ac_func
95967 /* System header to define __stub macros and hopefully few prototypes,
95968 which can conflict with char $ac_func (); below.
95969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95970 <limits.h> exists even on freestanding compilers. */
95972 #ifdef __STDC__
95973 # include <limits.h>
95974 #else
95975 # include <assert.h>
95976 #endif
95978 #undef $ac_func
95980 /* Override any gcc2 internal prototype to avoid an error. */
95981 #ifdef __cplusplus
95982 extern "C"
95984 #endif
95985 /* We use char because int might match the return type of a gcc2
95986 builtin and then its argument prototype would still apply. */
95987 char $ac_func ();
95988 /* The GNU C library defines this for functions which it implements
95989 to always fail with ENOSYS. Some functions are actually named
95990 something starting with __ and the normal name is an alias. */
95991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95992 choke me
95993 #else
95994 char (*f) () = $ac_func;
95995 #endif
95996 #ifdef __cplusplus
95998 #endif
96001 main ()
96003 return f != $ac_func;
96005 return 0;
96007 _ACEOF
96008 rm -f conftest.$ac_objext conftest$ac_exeext
96009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96010 (eval $ac_link) 2>conftest.er1
96011 ac_status=$?
96012 grep -v '^ *+' conftest.er1 >conftest.err
96013 rm -f conftest.er1
96014 cat conftest.err >&5
96015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96016 (exit $ac_status); } &&
96017 { ac_try='test -z "$ac_c_werror_flag"
96018 || test ! -s conftest.err'
96019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96020 (eval $ac_try) 2>&5
96021 ac_status=$?
96022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96023 (exit $ac_status); }; } &&
96024 { ac_try='test -s conftest$ac_exeext'
96025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026 (eval $ac_try) 2>&5
96027 ac_status=$?
96028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029 (exit $ac_status); }; }; then
96030 eval "$as_ac_var=yes"
96031 else
96032 echo "$as_me: failed program was:" >&5
96033 sed 's/^/| /' conftest.$ac_ext >&5
96035 eval "$as_ac_var=no"
96037 rm -f conftest.err conftest.$ac_objext \
96038 conftest$ac_exeext conftest.$ac_ext
96040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96042 if test `eval echo '${'$as_ac_var'}'` = yes; then
96043 cat >>confdefs.h <<_ACEOF
96044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96045 _ACEOF
96048 done
96050 else
96052 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96053 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96054 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96055 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96056 echo $ECHO_N "(cached) $ECHO_C" >&6
96057 else
96061 ac_ext=cc
96062 ac_cpp='$CXXCPP $CPPFLAGS'
96063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96067 cat >conftest.$ac_ext <<_ACEOF
96068 /* confdefs.h. */
96069 _ACEOF
96070 cat confdefs.h >>conftest.$ac_ext
96071 cat >>conftest.$ac_ext <<_ACEOF
96072 /* end confdefs.h. */
96073 #include <math.h>
96075 main ()
96077 _modff(0, 0);
96079 return 0;
96081 _ACEOF
96082 rm -f conftest.$ac_objext
96083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96084 (eval $ac_compile) 2>conftest.er1
96085 ac_status=$?
96086 grep -v '^ *+' conftest.er1 >conftest.err
96087 rm -f conftest.er1
96088 cat conftest.err >&5
96089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96090 (exit $ac_status); } &&
96091 { ac_try='test -z "$ac_cxx_werror_flag"
96092 || test ! -s conftest.err'
96093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96094 (eval $ac_try) 2>&5
96095 ac_status=$?
96096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96097 (exit $ac_status); }; } &&
96098 { ac_try='test -s conftest.$ac_objext'
96099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96100 (eval $ac_try) 2>&5
96101 ac_status=$?
96102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96103 (exit $ac_status); }; }; then
96104 glibcxx_cv_func__modff_use=yes
96105 else
96106 echo "$as_me: failed program was:" >&5
96107 sed 's/^/| /' conftest.$ac_ext >&5
96109 glibcxx_cv_func__modff_use=no
96111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96112 ac_ext=c
96113 ac_cpp='$CPP $CPPFLAGS'
96114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96123 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96125 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96127 for ac_func in _modff
96129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96130 echo "$as_me:$LINENO: checking for $ac_func" >&5
96131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96132 if eval "test \"\${$as_ac_var+set}\" = set"; then
96133 echo $ECHO_N "(cached) $ECHO_C" >&6
96134 else
96135 if test x$gcc_no_link = xyes; then
96136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96138 { (exit 1); exit 1; }; }
96140 cat >conftest.$ac_ext <<_ACEOF
96141 /* confdefs.h. */
96142 _ACEOF
96143 cat confdefs.h >>conftest.$ac_ext
96144 cat >>conftest.$ac_ext <<_ACEOF
96145 /* end confdefs.h. */
96146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96148 #define $ac_func innocuous_$ac_func
96150 /* System header to define __stub macros and hopefully few prototypes,
96151 which can conflict with char $ac_func (); below.
96152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96153 <limits.h> exists even on freestanding compilers. */
96155 #ifdef __STDC__
96156 # include <limits.h>
96157 #else
96158 # include <assert.h>
96159 #endif
96161 #undef $ac_func
96163 /* Override any gcc2 internal prototype to avoid an error. */
96164 #ifdef __cplusplus
96165 extern "C"
96167 #endif
96168 /* We use char because int might match the return type of a gcc2
96169 builtin and then its argument prototype would still apply. */
96170 char $ac_func ();
96171 /* The GNU C library defines this for functions which it implements
96172 to always fail with ENOSYS. Some functions are actually named
96173 something starting with __ and the normal name is an alias. */
96174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96175 choke me
96176 #else
96177 char (*f) () = $ac_func;
96178 #endif
96179 #ifdef __cplusplus
96181 #endif
96184 main ()
96186 return f != $ac_func;
96188 return 0;
96190 _ACEOF
96191 rm -f conftest.$ac_objext conftest$ac_exeext
96192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96193 (eval $ac_link) 2>conftest.er1
96194 ac_status=$?
96195 grep -v '^ *+' conftest.er1 >conftest.err
96196 rm -f conftest.er1
96197 cat conftest.err >&5
96198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199 (exit $ac_status); } &&
96200 { ac_try='test -z "$ac_c_werror_flag"
96201 || test ! -s conftest.err'
96202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96203 (eval $ac_try) 2>&5
96204 ac_status=$?
96205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96206 (exit $ac_status); }; } &&
96207 { ac_try='test -s conftest$ac_exeext'
96208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96209 (eval $ac_try) 2>&5
96210 ac_status=$?
96211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96212 (exit $ac_status); }; }; then
96213 eval "$as_ac_var=yes"
96214 else
96215 echo "$as_me: failed program was:" >&5
96216 sed 's/^/| /' conftest.$ac_ext >&5
96218 eval "$as_ac_var=no"
96220 rm -f conftest.err conftest.$ac_objext \
96221 conftest$ac_exeext conftest.$ac_ext
96223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96225 if test `eval echo '${'$as_ac_var'}'` = yes; then
96226 cat >>confdefs.h <<_ACEOF
96227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96228 _ACEOF
96231 done
96241 echo "$as_me:$LINENO: checking for modf declaration" >&5
96242 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96243 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96244 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96245 echo $ECHO_N "(cached) $ECHO_C" >&6
96246 else
96250 ac_ext=cc
96251 ac_cpp='$CXXCPP $CPPFLAGS'
96252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96256 cat >conftest.$ac_ext <<_ACEOF
96257 /* confdefs.h. */
96258 _ACEOF
96259 cat confdefs.h >>conftest.$ac_ext
96260 cat >>conftest.$ac_ext <<_ACEOF
96261 /* end confdefs.h. */
96262 #include <math.h>
96264 main ()
96266 modf(0, 0);
96268 return 0;
96270 _ACEOF
96271 rm -f conftest.$ac_objext
96272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96273 (eval $ac_compile) 2>conftest.er1
96274 ac_status=$?
96275 grep -v '^ *+' conftest.er1 >conftest.err
96276 rm -f conftest.er1
96277 cat conftest.err >&5
96278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279 (exit $ac_status); } &&
96280 { ac_try='test -z "$ac_cxx_werror_flag"
96281 || test ! -s conftest.err'
96282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96283 (eval $ac_try) 2>&5
96284 ac_status=$?
96285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96286 (exit $ac_status); }; } &&
96287 { ac_try='test -s conftest.$ac_objext'
96288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96289 (eval $ac_try) 2>&5
96290 ac_status=$?
96291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292 (exit $ac_status); }; }; then
96293 glibcxx_cv_func_modf_use=yes
96294 else
96295 echo "$as_me: failed program was:" >&5
96296 sed 's/^/| /' conftest.$ac_ext >&5
96298 glibcxx_cv_func_modf_use=no
96300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96301 ac_ext=c
96302 ac_cpp='$CPP $CPPFLAGS'
96303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96312 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96314 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96316 for ac_func in modf
96318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96319 echo "$as_me:$LINENO: checking for $ac_func" >&5
96320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96321 if eval "test \"\${$as_ac_var+set}\" = set"; then
96322 echo $ECHO_N "(cached) $ECHO_C" >&6
96323 else
96324 if test x$gcc_no_link = xyes; then
96325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96327 { (exit 1); exit 1; }; }
96329 cat >conftest.$ac_ext <<_ACEOF
96330 /* confdefs.h. */
96331 _ACEOF
96332 cat confdefs.h >>conftest.$ac_ext
96333 cat >>conftest.$ac_ext <<_ACEOF
96334 /* end confdefs.h. */
96335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96337 #define $ac_func innocuous_$ac_func
96339 /* System header to define __stub macros and hopefully few prototypes,
96340 which can conflict with char $ac_func (); below.
96341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96342 <limits.h> exists even on freestanding compilers. */
96344 #ifdef __STDC__
96345 # include <limits.h>
96346 #else
96347 # include <assert.h>
96348 #endif
96350 #undef $ac_func
96352 /* Override any gcc2 internal prototype to avoid an error. */
96353 #ifdef __cplusplus
96354 extern "C"
96356 #endif
96357 /* We use char because int might match the return type of a gcc2
96358 builtin and then its argument prototype would still apply. */
96359 char $ac_func ();
96360 /* The GNU C library defines this for functions which it implements
96361 to always fail with ENOSYS. Some functions are actually named
96362 something starting with __ and the normal name is an alias. */
96363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96364 choke me
96365 #else
96366 char (*f) () = $ac_func;
96367 #endif
96368 #ifdef __cplusplus
96370 #endif
96373 main ()
96375 return f != $ac_func;
96377 return 0;
96379 _ACEOF
96380 rm -f conftest.$ac_objext conftest$ac_exeext
96381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96382 (eval $ac_link) 2>conftest.er1
96383 ac_status=$?
96384 grep -v '^ *+' conftest.er1 >conftest.err
96385 rm -f conftest.er1
96386 cat conftest.err >&5
96387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96388 (exit $ac_status); } &&
96389 { ac_try='test -z "$ac_c_werror_flag"
96390 || test ! -s conftest.err'
96391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96392 (eval $ac_try) 2>&5
96393 ac_status=$?
96394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96395 (exit $ac_status); }; } &&
96396 { ac_try='test -s conftest$ac_exeext'
96397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96398 (eval $ac_try) 2>&5
96399 ac_status=$?
96400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401 (exit $ac_status); }; }; then
96402 eval "$as_ac_var=yes"
96403 else
96404 echo "$as_me: failed program was:" >&5
96405 sed 's/^/| /' conftest.$ac_ext >&5
96407 eval "$as_ac_var=no"
96409 rm -f conftest.err conftest.$ac_objext \
96410 conftest$ac_exeext conftest.$ac_ext
96412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96414 if test `eval echo '${'$as_ac_var'}'` = yes; then
96415 cat >>confdefs.h <<_ACEOF
96416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96417 _ACEOF
96420 done
96422 else
96424 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96425 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96426 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96427 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96428 echo $ECHO_N "(cached) $ECHO_C" >&6
96429 else
96433 ac_ext=cc
96434 ac_cpp='$CXXCPP $CPPFLAGS'
96435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96439 cat >conftest.$ac_ext <<_ACEOF
96440 /* confdefs.h. */
96441 _ACEOF
96442 cat confdefs.h >>conftest.$ac_ext
96443 cat >>conftest.$ac_ext <<_ACEOF
96444 /* end confdefs.h. */
96445 #include <math.h>
96447 main ()
96449 _modf(0, 0);
96451 return 0;
96453 _ACEOF
96454 rm -f conftest.$ac_objext
96455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96456 (eval $ac_compile) 2>conftest.er1
96457 ac_status=$?
96458 grep -v '^ *+' conftest.er1 >conftest.err
96459 rm -f conftest.er1
96460 cat conftest.err >&5
96461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462 (exit $ac_status); } &&
96463 { ac_try='test -z "$ac_cxx_werror_flag"
96464 || test ! -s conftest.err'
96465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96466 (eval $ac_try) 2>&5
96467 ac_status=$?
96468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96469 (exit $ac_status); }; } &&
96470 { ac_try='test -s conftest.$ac_objext'
96471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96472 (eval $ac_try) 2>&5
96473 ac_status=$?
96474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96475 (exit $ac_status); }; }; then
96476 glibcxx_cv_func__modf_use=yes
96477 else
96478 echo "$as_me: failed program was:" >&5
96479 sed 's/^/| /' conftest.$ac_ext >&5
96481 glibcxx_cv_func__modf_use=no
96483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96484 ac_ext=c
96485 ac_cpp='$CPP $CPPFLAGS'
96486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96495 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96497 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96499 for ac_func in _modf
96501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96502 echo "$as_me:$LINENO: checking for $ac_func" >&5
96503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96504 if eval "test \"\${$as_ac_var+set}\" = set"; then
96505 echo $ECHO_N "(cached) $ECHO_C" >&6
96506 else
96507 if test x$gcc_no_link = xyes; then
96508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96510 { (exit 1); exit 1; }; }
96512 cat >conftest.$ac_ext <<_ACEOF
96513 /* confdefs.h. */
96514 _ACEOF
96515 cat confdefs.h >>conftest.$ac_ext
96516 cat >>conftest.$ac_ext <<_ACEOF
96517 /* end confdefs.h. */
96518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96520 #define $ac_func innocuous_$ac_func
96522 /* System header to define __stub macros and hopefully few prototypes,
96523 which can conflict with char $ac_func (); below.
96524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96525 <limits.h> exists even on freestanding compilers. */
96527 #ifdef __STDC__
96528 # include <limits.h>
96529 #else
96530 # include <assert.h>
96531 #endif
96533 #undef $ac_func
96535 /* Override any gcc2 internal prototype to avoid an error. */
96536 #ifdef __cplusplus
96537 extern "C"
96539 #endif
96540 /* We use char because int might match the return type of a gcc2
96541 builtin and then its argument prototype would still apply. */
96542 char $ac_func ();
96543 /* The GNU C library defines this for functions which it implements
96544 to always fail with ENOSYS. Some functions are actually named
96545 something starting with __ and the normal name is an alias. */
96546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96547 choke me
96548 #else
96549 char (*f) () = $ac_func;
96550 #endif
96551 #ifdef __cplusplus
96553 #endif
96556 main ()
96558 return f != $ac_func;
96560 return 0;
96562 _ACEOF
96563 rm -f conftest.$ac_objext conftest$ac_exeext
96564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96565 (eval $ac_link) 2>conftest.er1
96566 ac_status=$?
96567 grep -v '^ *+' conftest.er1 >conftest.err
96568 rm -f conftest.er1
96569 cat conftest.err >&5
96570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96571 (exit $ac_status); } &&
96572 { ac_try='test -z "$ac_c_werror_flag"
96573 || test ! -s conftest.err'
96574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96575 (eval $ac_try) 2>&5
96576 ac_status=$?
96577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96578 (exit $ac_status); }; } &&
96579 { ac_try='test -s conftest$ac_exeext'
96580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96581 (eval $ac_try) 2>&5
96582 ac_status=$?
96583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96584 (exit $ac_status); }; }; then
96585 eval "$as_ac_var=yes"
96586 else
96587 echo "$as_me: failed program was:" >&5
96588 sed 's/^/| /' conftest.$ac_ext >&5
96590 eval "$as_ac_var=no"
96592 rm -f conftest.err conftest.$ac_objext \
96593 conftest$ac_exeext conftest.$ac_ext
96595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96597 if test `eval echo '${'$as_ac_var'}'` = yes; then
96598 cat >>confdefs.h <<_ACEOF
96599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96600 _ACEOF
96603 done
96613 echo "$as_me:$LINENO: checking for powf declaration" >&5
96614 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96615 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96616 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96617 echo $ECHO_N "(cached) $ECHO_C" >&6
96618 else
96622 ac_ext=cc
96623 ac_cpp='$CXXCPP $CPPFLAGS'
96624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96628 cat >conftest.$ac_ext <<_ACEOF
96629 /* confdefs.h. */
96630 _ACEOF
96631 cat confdefs.h >>conftest.$ac_ext
96632 cat >>conftest.$ac_ext <<_ACEOF
96633 /* end confdefs.h. */
96634 #include <math.h>
96636 main ()
96638 powf(0, 0);
96640 return 0;
96642 _ACEOF
96643 rm -f conftest.$ac_objext
96644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96645 (eval $ac_compile) 2>conftest.er1
96646 ac_status=$?
96647 grep -v '^ *+' conftest.er1 >conftest.err
96648 rm -f conftest.er1
96649 cat conftest.err >&5
96650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96651 (exit $ac_status); } &&
96652 { ac_try='test -z "$ac_cxx_werror_flag"
96653 || test ! -s conftest.err'
96654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96655 (eval $ac_try) 2>&5
96656 ac_status=$?
96657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96658 (exit $ac_status); }; } &&
96659 { ac_try='test -s conftest.$ac_objext'
96660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96661 (eval $ac_try) 2>&5
96662 ac_status=$?
96663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96664 (exit $ac_status); }; }; then
96665 glibcxx_cv_func_powf_use=yes
96666 else
96667 echo "$as_me: failed program was:" >&5
96668 sed 's/^/| /' conftest.$ac_ext >&5
96670 glibcxx_cv_func_powf_use=no
96672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96673 ac_ext=c
96674 ac_cpp='$CPP $CPPFLAGS'
96675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96684 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96686 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96688 for ac_func in powf
96690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96691 echo "$as_me:$LINENO: checking for $ac_func" >&5
96692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96693 if eval "test \"\${$as_ac_var+set}\" = set"; then
96694 echo $ECHO_N "(cached) $ECHO_C" >&6
96695 else
96696 if test x$gcc_no_link = xyes; then
96697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96699 { (exit 1); exit 1; }; }
96701 cat >conftest.$ac_ext <<_ACEOF
96702 /* confdefs.h. */
96703 _ACEOF
96704 cat confdefs.h >>conftest.$ac_ext
96705 cat >>conftest.$ac_ext <<_ACEOF
96706 /* end confdefs.h. */
96707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96709 #define $ac_func innocuous_$ac_func
96711 /* System header to define __stub macros and hopefully few prototypes,
96712 which can conflict with char $ac_func (); below.
96713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96714 <limits.h> exists even on freestanding compilers. */
96716 #ifdef __STDC__
96717 # include <limits.h>
96718 #else
96719 # include <assert.h>
96720 #endif
96722 #undef $ac_func
96724 /* Override any gcc2 internal prototype to avoid an error. */
96725 #ifdef __cplusplus
96726 extern "C"
96728 #endif
96729 /* We use char because int might match the return type of a gcc2
96730 builtin and then its argument prototype would still apply. */
96731 char $ac_func ();
96732 /* The GNU C library defines this for functions which it implements
96733 to always fail with ENOSYS. Some functions are actually named
96734 something starting with __ and the normal name is an alias. */
96735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96736 choke me
96737 #else
96738 char (*f) () = $ac_func;
96739 #endif
96740 #ifdef __cplusplus
96742 #endif
96745 main ()
96747 return f != $ac_func;
96749 return 0;
96751 _ACEOF
96752 rm -f conftest.$ac_objext conftest$ac_exeext
96753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96754 (eval $ac_link) 2>conftest.er1
96755 ac_status=$?
96756 grep -v '^ *+' conftest.er1 >conftest.err
96757 rm -f conftest.er1
96758 cat conftest.err >&5
96759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96760 (exit $ac_status); } &&
96761 { ac_try='test -z "$ac_c_werror_flag"
96762 || test ! -s conftest.err'
96763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96764 (eval $ac_try) 2>&5
96765 ac_status=$?
96766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96767 (exit $ac_status); }; } &&
96768 { ac_try='test -s conftest$ac_exeext'
96769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96770 (eval $ac_try) 2>&5
96771 ac_status=$?
96772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96773 (exit $ac_status); }; }; then
96774 eval "$as_ac_var=yes"
96775 else
96776 echo "$as_me: failed program was:" >&5
96777 sed 's/^/| /' conftest.$ac_ext >&5
96779 eval "$as_ac_var=no"
96781 rm -f conftest.err conftest.$ac_objext \
96782 conftest$ac_exeext conftest.$ac_ext
96784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96786 if test `eval echo '${'$as_ac_var'}'` = yes; then
96787 cat >>confdefs.h <<_ACEOF
96788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96789 _ACEOF
96792 done
96794 else
96796 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96797 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96798 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96799 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96800 echo $ECHO_N "(cached) $ECHO_C" >&6
96801 else
96805 ac_ext=cc
96806 ac_cpp='$CXXCPP $CPPFLAGS'
96807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96811 cat >conftest.$ac_ext <<_ACEOF
96812 /* confdefs.h. */
96813 _ACEOF
96814 cat confdefs.h >>conftest.$ac_ext
96815 cat >>conftest.$ac_ext <<_ACEOF
96816 /* end confdefs.h. */
96817 #include <math.h>
96819 main ()
96821 _powf(0, 0);
96823 return 0;
96825 _ACEOF
96826 rm -f conftest.$ac_objext
96827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96828 (eval $ac_compile) 2>conftest.er1
96829 ac_status=$?
96830 grep -v '^ *+' conftest.er1 >conftest.err
96831 rm -f conftest.er1
96832 cat conftest.err >&5
96833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96834 (exit $ac_status); } &&
96835 { ac_try='test -z "$ac_cxx_werror_flag"
96836 || test ! -s conftest.err'
96837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96838 (eval $ac_try) 2>&5
96839 ac_status=$?
96840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96841 (exit $ac_status); }; } &&
96842 { ac_try='test -s conftest.$ac_objext'
96843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96844 (eval $ac_try) 2>&5
96845 ac_status=$?
96846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96847 (exit $ac_status); }; }; then
96848 glibcxx_cv_func__powf_use=yes
96849 else
96850 echo "$as_me: failed program was:" >&5
96851 sed 's/^/| /' conftest.$ac_ext >&5
96853 glibcxx_cv_func__powf_use=no
96855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96856 ac_ext=c
96857 ac_cpp='$CPP $CPPFLAGS'
96858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96867 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96869 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96871 for ac_func in _powf
96873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96874 echo "$as_me:$LINENO: checking for $ac_func" >&5
96875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96876 if eval "test \"\${$as_ac_var+set}\" = set"; then
96877 echo $ECHO_N "(cached) $ECHO_C" >&6
96878 else
96879 if test x$gcc_no_link = xyes; then
96880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96882 { (exit 1); exit 1; }; }
96884 cat >conftest.$ac_ext <<_ACEOF
96885 /* confdefs.h. */
96886 _ACEOF
96887 cat confdefs.h >>conftest.$ac_ext
96888 cat >>conftest.$ac_ext <<_ACEOF
96889 /* end confdefs.h. */
96890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96892 #define $ac_func innocuous_$ac_func
96894 /* System header to define __stub macros and hopefully few prototypes,
96895 which can conflict with char $ac_func (); below.
96896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96897 <limits.h> exists even on freestanding compilers. */
96899 #ifdef __STDC__
96900 # include <limits.h>
96901 #else
96902 # include <assert.h>
96903 #endif
96905 #undef $ac_func
96907 /* Override any gcc2 internal prototype to avoid an error. */
96908 #ifdef __cplusplus
96909 extern "C"
96911 #endif
96912 /* We use char because int might match the return type of a gcc2
96913 builtin and then its argument prototype would still apply. */
96914 char $ac_func ();
96915 /* The GNU C library defines this for functions which it implements
96916 to always fail with ENOSYS. Some functions are actually named
96917 something starting with __ and the normal name is an alias. */
96918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96919 choke me
96920 #else
96921 char (*f) () = $ac_func;
96922 #endif
96923 #ifdef __cplusplus
96925 #endif
96928 main ()
96930 return f != $ac_func;
96932 return 0;
96934 _ACEOF
96935 rm -f conftest.$ac_objext conftest$ac_exeext
96936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96937 (eval $ac_link) 2>conftest.er1
96938 ac_status=$?
96939 grep -v '^ *+' conftest.er1 >conftest.err
96940 rm -f conftest.er1
96941 cat conftest.err >&5
96942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96943 (exit $ac_status); } &&
96944 { ac_try='test -z "$ac_c_werror_flag"
96945 || test ! -s conftest.err'
96946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96947 (eval $ac_try) 2>&5
96948 ac_status=$?
96949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96950 (exit $ac_status); }; } &&
96951 { ac_try='test -s conftest$ac_exeext'
96952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96953 (eval $ac_try) 2>&5
96954 ac_status=$?
96955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96956 (exit $ac_status); }; }; then
96957 eval "$as_ac_var=yes"
96958 else
96959 echo "$as_me: failed program was:" >&5
96960 sed 's/^/| /' conftest.$ac_ext >&5
96962 eval "$as_ac_var=no"
96964 rm -f conftest.err conftest.$ac_objext \
96965 conftest$ac_exeext conftest.$ac_ext
96967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96969 if test `eval echo '${'$as_ac_var'}'` = yes; then
96970 cat >>confdefs.h <<_ACEOF
96971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96972 _ACEOF
96975 done
96985 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96986 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96987 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96988 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96989 echo $ECHO_N "(cached) $ECHO_C" >&6
96990 else
96994 ac_ext=cc
96995 ac_cpp='$CXXCPP $CPPFLAGS'
96996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97000 cat >conftest.$ac_ext <<_ACEOF
97001 /* confdefs.h. */
97002 _ACEOF
97003 cat confdefs.h >>conftest.$ac_ext
97004 cat >>conftest.$ac_ext <<_ACEOF
97005 /* end confdefs.h. */
97006 #include <math.h>
97007 #ifdef HAVE_IEEEFP_H
97008 #include <ieeefp.h>
97009 #endif
97012 main ()
97014 sqrtf(0);
97016 return 0;
97018 _ACEOF
97019 rm -f conftest.$ac_objext
97020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97021 (eval $ac_compile) 2>conftest.er1
97022 ac_status=$?
97023 grep -v '^ *+' conftest.er1 >conftest.err
97024 rm -f conftest.er1
97025 cat conftest.err >&5
97026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97027 (exit $ac_status); } &&
97028 { ac_try='test -z "$ac_cxx_werror_flag"
97029 || test ! -s conftest.err'
97030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97031 (eval $ac_try) 2>&5
97032 ac_status=$?
97033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97034 (exit $ac_status); }; } &&
97035 { ac_try='test -s conftest.$ac_objext'
97036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97037 (eval $ac_try) 2>&5
97038 ac_status=$?
97039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97040 (exit $ac_status); }; }; then
97041 glibcxx_cv_func_sqrtf_use=yes
97042 else
97043 echo "$as_me: failed program was:" >&5
97044 sed 's/^/| /' conftest.$ac_ext >&5
97046 glibcxx_cv_func_sqrtf_use=no
97048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97049 ac_ext=c
97050 ac_cpp='$CPP $CPPFLAGS'
97051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97060 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97062 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97064 for ac_func in sqrtf
97066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97067 echo "$as_me:$LINENO: checking for $ac_func" >&5
97068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97069 if eval "test \"\${$as_ac_var+set}\" = set"; then
97070 echo $ECHO_N "(cached) $ECHO_C" >&6
97071 else
97072 if test x$gcc_no_link = xyes; then
97073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97075 { (exit 1); exit 1; }; }
97077 cat >conftest.$ac_ext <<_ACEOF
97078 /* confdefs.h. */
97079 _ACEOF
97080 cat confdefs.h >>conftest.$ac_ext
97081 cat >>conftest.$ac_ext <<_ACEOF
97082 /* end confdefs.h. */
97083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97085 #define $ac_func innocuous_$ac_func
97087 /* System header to define __stub macros and hopefully few prototypes,
97088 which can conflict with char $ac_func (); below.
97089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97090 <limits.h> exists even on freestanding compilers. */
97092 #ifdef __STDC__
97093 # include <limits.h>
97094 #else
97095 # include <assert.h>
97096 #endif
97098 #undef $ac_func
97100 /* Override any gcc2 internal prototype to avoid an error. */
97101 #ifdef __cplusplus
97102 extern "C"
97104 #endif
97105 /* We use char because int might match the return type of a gcc2
97106 builtin and then its argument prototype would still apply. */
97107 char $ac_func ();
97108 /* The GNU C library defines this for functions which it implements
97109 to always fail with ENOSYS. Some functions are actually named
97110 something starting with __ and the normal name is an alias. */
97111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97112 choke me
97113 #else
97114 char (*f) () = $ac_func;
97115 #endif
97116 #ifdef __cplusplus
97118 #endif
97121 main ()
97123 return f != $ac_func;
97125 return 0;
97127 _ACEOF
97128 rm -f conftest.$ac_objext conftest$ac_exeext
97129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97130 (eval $ac_link) 2>conftest.er1
97131 ac_status=$?
97132 grep -v '^ *+' conftest.er1 >conftest.err
97133 rm -f conftest.er1
97134 cat conftest.err >&5
97135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97136 (exit $ac_status); } &&
97137 { ac_try='test -z "$ac_c_werror_flag"
97138 || test ! -s conftest.err'
97139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97140 (eval $ac_try) 2>&5
97141 ac_status=$?
97142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97143 (exit $ac_status); }; } &&
97144 { ac_try='test -s conftest$ac_exeext'
97145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97146 (eval $ac_try) 2>&5
97147 ac_status=$?
97148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97149 (exit $ac_status); }; }; then
97150 eval "$as_ac_var=yes"
97151 else
97152 echo "$as_me: failed program was:" >&5
97153 sed 's/^/| /' conftest.$ac_ext >&5
97155 eval "$as_ac_var=no"
97157 rm -f conftest.err conftest.$ac_objext \
97158 conftest$ac_exeext conftest.$ac_ext
97160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97162 if test `eval echo '${'$as_ac_var'}'` = yes; then
97163 cat >>confdefs.h <<_ACEOF
97164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97165 _ACEOF
97168 done
97170 else
97172 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97173 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97174 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97175 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97176 echo $ECHO_N "(cached) $ECHO_C" >&6
97177 else
97181 ac_ext=cc
97182 ac_cpp='$CXXCPP $CPPFLAGS'
97183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97187 cat >conftest.$ac_ext <<_ACEOF
97188 /* confdefs.h. */
97189 _ACEOF
97190 cat confdefs.h >>conftest.$ac_ext
97191 cat >>conftest.$ac_ext <<_ACEOF
97192 /* end confdefs.h. */
97193 #include <math.h>
97194 #ifdef HAVE_IEEEFP_H
97195 #include <ieeefp.h>
97196 #endif
97199 main ()
97201 _sqrtf(0);
97203 return 0;
97205 _ACEOF
97206 rm -f conftest.$ac_objext
97207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97208 (eval $ac_compile) 2>conftest.er1
97209 ac_status=$?
97210 grep -v '^ *+' conftest.er1 >conftest.err
97211 rm -f conftest.er1
97212 cat conftest.err >&5
97213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97214 (exit $ac_status); } &&
97215 { ac_try='test -z "$ac_cxx_werror_flag"
97216 || test ! -s conftest.err'
97217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97218 (eval $ac_try) 2>&5
97219 ac_status=$?
97220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221 (exit $ac_status); }; } &&
97222 { ac_try='test -s conftest.$ac_objext'
97223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97224 (eval $ac_try) 2>&5
97225 ac_status=$?
97226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227 (exit $ac_status); }; }; then
97228 glibcxx_cv_func__sqrtf_use=yes
97229 else
97230 echo "$as_me: failed program was:" >&5
97231 sed 's/^/| /' conftest.$ac_ext >&5
97233 glibcxx_cv_func__sqrtf_use=no
97235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97236 ac_ext=c
97237 ac_cpp='$CPP $CPPFLAGS'
97238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97247 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97249 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97251 for ac_func in _sqrtf
97253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97254 echo "$as_me:$LINENO: checking for $ac_func" >&5
97255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97256 if eval "test \"\${$as_ac_var+set}\" = set"; then
97257 echo $ECHO_N "(cached) $ECHO_C" >&6
97258 else
97259 if test x$gcc_no_link = xyes; then
97260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97262 { (exit 1); exit 1; }; }
97264 cat >conftest.$ac_ext <<_ACEOF
97265 /* confdefs.h. */
97266 _ACEOF
97267 cat confdefs.h >>conftest.$ac_ext
97268 cat >>conftest.$ac_ext <<_ACEOF
97269 /* end confdefs.h. */
97270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97272 #define $ac_func innocuous_$ac_func
97274 /* System header to define __stub macros and hopefully few prototypes,
97275 which can conflict with char $ac_func (); below.
97276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97277 <limits.h> exists even on freestanding compilers. */
97279 #ifdef __STDC__
97280 # include <limits.h>
97281 #else
97282 # include <assert.h>
97283 #endif
97285 #undef $ac_func
97287 /* Override any gcc2 internal prototype to avoid an error. */
97288 #ifdef __cplusplus
97289 extern "C"
97291 #endif
97292 /* We use char because int might match the return type of a gcc2
97293 builtin and then its argument prototype would still apply. */
97294 char $ac_func ();
97295 /* The GNU C library defines this for functions which it implements
97296 to always fail with ENOSYS. Some functions are actually named
97297 something starting with __ and the normal name is an alias. */
97298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97299 choke me
97300 #else
97301 char (*f) () = $ac_func;
97302 #endif
97303 #ifdef __cplusplus
97305 #endif
97308 main ()
97310 return f != $ac_func;
97312 return 0;
97314 _ACEOF
97315 rm -f conftest.$ac_objext conftest$ac_exeext
97316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97317 (eval $ac_link) 2>conftest.er1
97318 ac_status=$?
97319 grep -v '^ *+' conftest.er1 >conftest.err
97320 rm -f conftest.er1
97321 cat conftest.err >&5
97322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323 (exit $ac_status); } &&
97324 { ac_try='test -z "$ac_c_werror_flag"
97325 || test ! -s conftest.err'
97326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97327 (eval $ac_try) 2>&5
97328 ac_status=$?
97329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330 (exit $ac_status); }; } &&
97331 { ac_try='test -s conftest$ac_exeext'
97332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97333 (eval $ac_try) 2>&5
97334 ac_status=$?
97335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97336 (exit $ac_status); }; }; then
97337 eval "$as_ac_var=yes"
97338 else
97339 echo "$as_me: failed program was:" >&5
97340 sed 's/^/| /' conftest.$ac_ext >&5
97342 eval "$as_ac_var=no"
97344 rm -f conftest.err conftest.$ac_objext \
97345 conftest$ac_exeext conftest.$ac_ext
97347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97349 if test `eval echo '${'$as_ac_var'}'` = yes; then
97350 cat >>confdefs.h <<_ACEOF
97351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97352 _ACEOF
97355 done
97365 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97366 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97367 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97368 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97369 echo $ECHO_N "(cached) $ECHO_C" >&6
97370 else
97374 ac_ext=cc
97375 ac_cpp='$CXXCPP $CPPFLAGS'
97376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97380 cat >conftest.$ac_ext <<_ACEOF
97381 /* confdefs.h. */
97382 _ACEOF
97383 cat confdefs.h >>conftest.$ac_ext
97384 cat >>conftest.$ac_ext <<_ACEOF
97385 /* end confdefs.h. */
97386 #include <math.h>
97388 main ()
97390 sincosf(0, 0, 0);
97392 return 0;
97394 _ACEOF
97395 rm -f conftest.$ac_objext
97396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97397 (eval $ac_compile) 2>conftest.er1
97398 ac_status=$?
97399 grep -v '^ *+' conftest.er1 >conftest.err
97400 rm -f conftest.er1
97401 cat conftest.err >&5
97402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97403 (exit $ac_status); } &&
97404 { ac_try='test -z "$ac_cxx_werror_flag"
97405 || test ! -s conftest.err'
97406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97407 (eval $ac_try) 2>&5
97408 ac_status=$?
97409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97410 (exit $ac_status); }; } &&
97411 { ac_try='test -s conftest.$ac_objext'
97412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97413 (eval $ac_try) 2>&5
97414 ac_status=$?
97415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97416 (exit $ac_status); }; }; then
97417 glibcxx_cv_func_sincosf_use=yes
97418 else
97419 echo "$as_me: failed program was:" >&5
97420 sed 's/^/| /' conftest.$ac_ext >&5
97422 glibcxx_cv_func_sincosf_use=no
97424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97425 ac_ext=c
97426 ac_cpp='$CPP $CPPFLAGS'
97427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97436 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97438 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97440 for ac_func in sincosf
97442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97443 echo "$as_me:$LINENO: checking for $ac_func" >&5
97444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97445 if eval "test \"\${$as_ac_var+set}\" = set"; then
97446 echo $ECHO_N "(cached) $ECHO_C" >&6
97447 else
97448 if test x$gcc_no_link = xyes; then
97449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97451 { (exit 1); exit 1; }; }
97453 cat >conftest.$ac_ext <<_ACEOF
97454 /* confdefs.h. */
97455 _ACEOF
97456 cat confdefs.h >>conftest.$ac_ext
97457 cat >>conftest.$ac_ext <<_ACEOF
97458 /* end confdefs.h. */
97459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97461 #define $ac_func innocuous_$ac_func
97463 /* System header to define __stub macros and hopefully few prototypes,
97464 which can conflict with char $ac_func (); below.
97465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97466 <limits.h> exists even on freestanding compilers. */
97468 #ifdef __STDC__
97469 # include <limits.h>
97470 #else
97471 # include <assert.h>
97472 #endif
97474 #undef $ac_func
97476 /* Override any gcc2 internal prototype to avoid an error. */
97477 #ifdef __cplusplus
97478 extern "C"
97480 #endif
97481 /* We use char because int might match the return type of a gcc2
97482 builtin and then its argument prototype would still apply. */
97483 char $ac_func ();
97484 /* The GNU C library defines this for functions which it implements
97485 to always fail with ENOSYS. Some functions are actually named
97486 something starting with __ and the normal name is an alias. */
97487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97488 choke me
97489 #else
97490 char (*f) () = $ac_func;
97491 #endif
97492 #ifdef __cplusplus
97494 #endif
97497 main ()
97499 return f != $ac_func;
97501 return 0;
97503 _ACEOF
97504 rm -f conftest.$ac_objext conftest$ac_exeext
97505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97506 (eval $ac_link) 2>conftest.er1
97507 ac_status=$?
97508 grep -v '^ *+' conftest.er1 >conftest.err
97509 rm -f conftest.er1
97510 cat conftest.err >&5
97511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97512 (exit $ac_status); } &&
97513 { ac_try='test -z "$ac_c_werror_flag"
97514 || test ! -s conftest.err'
97515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97516 (eval $ac_try) 2>&5
97517 ac_status=$?
97518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97519 (exit $ac_status); }; } &&
97520 { ac_try='test -s conftest$ac_exeext'
97521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522 (eval $ac_try) 2>&5
97523 ac_status=$?
97524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525 (exit $ac_status); }; }; then
97526 eval "$as_ac_var=yes"
97527 else
97528 echo "$as_me: failed program was:" >&5
97529 sed 's/^/| /' conftest.$ac_ext >&5
97531 eval "$as_ac_var=no"
97533 rm -f conftest.err conftest.$ac_objext \
97534 conftest$ac_exeext conftest.$ac_ext
97536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97538 if test `eval echo '${'$as_ac_var'}'` = yes; then
97539 cat >>confdefs.h <<_ACEOF
97540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97541 _ACEOF
97544 done
97546 else
97548 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97549 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97550 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97551 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97552 echo $ECHO_N "(cached) $ECHO_C" >&6
97553 else
97557 ac_ext=cc
97558 ac_cpp='$CXXCPP $CPPFLAGS'
97559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97563 cat >conftest.$ac_ext <<_ACEOF
97564 /* confdefs.h. */
97565 _ACEOF
97566 cat confdefs.h >>conftest.$ac_ext
97567 cat >>conftest.$ac_ext <<_ACEOF
97568 /* end confdefs.h. */
97569 #include <math.h>
97571 main ()
97573 _sincosf(0, 0, 0);
97575 return 0;
97577 _ACEOF
97578 rm -f conftest.$ac_objext
97579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97580 (eval $ac_compile) 2>conftest.er1
97581 ac_status=$?
97582 grep -v '^ *+' conftest.er1 >conftest.err
97583 rm -f conftest.er1
97584 cat conftest.err >&5
97585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97586 (exit $ac_status); } &&
97587 { ac_try='test -z "$ac_cxx_werror_flag"
97588 || test ! -s conftest.err'
97589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97590 (eval $ac_try) 2>&5
97591 ac_status=$?
97592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97593 (exit $ac_status); }; } &&
97594 { ac_try='test -s conftest.$ac_objext'
97595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97596 (eval $ac_try) 2>&5
97597 ac_status=$?
97598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97599 (exit $ac_status); }; }; then
97600 glibcxx_cv_func__sincosf_use=yes
97601 else
97602 echo "$as_me: failed program was:" >&5
97603 sed 's/^/| /' conftest.$ac_ext >&5
97605 glibcxx_cv_func__sincosf_use=no
97607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97608 ac_ext=c
97609 ac_cpp='$CPP $CPPFLAGS'
97610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97619 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97621 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97623 for ac_func in _sincosf
97625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97626 echo "$as_me:$LINENO: checking for $ac_func" >&5
97627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97628 if eval "test \"\${$as_ac_var+set}\" = set"; then
97629 echo $ECHO_N "(cached) $ECHO_C" >&6
97630 else
97631 if test x$gcc_no_link = xyes; then
97632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97634 { (exit 1); exit 1; }; }
97636 cat >conftest.$ac_ext <<_ACEOF
97637 /* confdefs.h. */
97638 _ACEOF
97639 cat confdefs.h >>conftest.$ac_ext
97640 cat >>conftest.$ac_ext <<_ACEOF
97641 /* end confdefs.h. */
97642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97644 #define $ac_func innocuous_$ac_func
97646 /* System header to define __stub macros and hopefully few prototypes,
97647 which can conflict with char $ac_func (); below.
97648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97649 <limits.h> exists even on freestanding compilers. */
97651 #ifdef __STDC__
97652 # include <limits.h>
97653 #else
97654 # include <assert.h>
97655 #endif
97657 #undef $ac_func
97659 /* Override any gcc2 internal prototype to avoid an error. */
97660 #ifdef __cplusplus
97661 extern "C"
97663 #endif
97664 /* We use char because int might match the return type of a gcc2
97665 builtin and then its argument prototype would still apply. */
97666 char $ac_func ();
97667 /* The GNU C library defines this for functions which it implements
97668 to always fail with ENOSYS. Some functions are actually named
97669 something starting with __ and the normal name is an alias. */
97670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97671 choke me
97672 #else
97673 char (*f) () = $ac_func;
97674 #endif
97675 #ifdef __cplusplus
97677 #endif
97680 main ()
97682 return f != $ac_func;
97684 return 0;
97686 _ACEOF
97687 rm -f conftest.$ac_objext conftest$ac_exeext
97688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97689 (eval $ac_link) 2>conftest.er1
97690 ac_status=$?
97691 grep -v '^ *+' conftest.er1 >conftest.err
97692 rm -f conftest.er1
97693 cat conftest.err >&5
97694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97695 (exit $ac_status); } &&
97696 { ac_try='test -z "$ac_c_werror_flag"
97697 || test ! -s conftest.err'
97698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97699 (eval $ac_try) 2>&5
97700 ac_status=$?
97701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97702 (exit $ac_status); }; } &&
97703 { ac_try='test -s conftest$ac_exeext'
97704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97705 (eval $ac_try) 2>&5
97706 ac_status=$?
97707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97708 (exit $ac_status); }; }; then
97709 eval "$as_ac_var=yes"
97710 else
97711 echo "$as_me: failed program was:" >&5
97712 sed 's/^/| /' conftest.$ac_ext >&5
97714 eval "$as_ac_var=no"
97716 rm -f conftest.err conftest.$ac_objext \
97717 conftest$ac_exeext conftest.$ac_ext
97719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97721 if test `eval echo '${'$as_ac_var'}'` = yes; then
97722 cat >>confdefs.h <<_ACEOF
97723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97724 _ACEOF
97727 done
97737 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97738 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97739 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97740 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97741 echo $ECHO_N "(cached) $ECHO_C" >&6
97742 else
97746 ac_ext=cc
97747 ac_cpp='$CXXCPP $CPPFLAGS'
97748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97752 cat >conftest.$ac_ext <<_ACEOF
97753 /* confdefs.h. */
97754 _ACEOF
97755 cat confdefs.h >>conftest.$ac_ext
97756 cat >>conftest.$ac_ext <<_ACEOF
97757 /* end confdefs.h. */
97758 #include <math.h>
97759 #ifdef HAVE_IEEEFP_H
97760 #include <ieeefp.h>
97761 #endif
97764 main ()
97766 finitef(0);
97768 return 0;
97770 _ACEOF
97771 rm -f conftest.$ac_objext
97772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97773 (eval $ac_compile) 2>conftest.er1
97774 ac_status=$?
97775 grep -v '^ *+' conftest.er1 >conftest.err
97776 rm -f conftest.er1
97777 cat conftest.err >&5
97778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97779 (exit $ac_status); } &&
97780 { ac_try='test -z "$ac_cxx_werror_flag"
97781 || test ! -s conftest.err'
97782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97783 (eval $ac_try) 2>&5
97784 ac_status=$?
97785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97786 (exit $ac_status); }; } &&
97787 { ac_try='test -s conftest.$ac_objext'
97788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97789 (eval $ac_try) 2>&5
97790 ac_status=$?
97791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792 (exit $ac_status); }; }; then
97793 glibcxx_cv_func_finitef_use=yes
97794 else
97795 echo "$as_me: failed program was:" >&5
97796 sed 's/^/| /' conftest.$ac_ext >&5
97798 glibcxx_cv_func_finitef_use=no
97800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97801 ac_ext=c
97802 ac_cpp='$CPP $CPPFLAGS'
97803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97812 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97814 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97816 for ac_func in finitef
97818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97819 echo "$as_me:$LINENO: checking for $ac_func" >&5
97820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97821 if eval "test \"\${$as_ac_var+set}\" = set"; then
97822 echo $ECHO_N "(cached) $ECHO_C" >&6
97823 else
97824 if test x$gcc_no_link = xyes; then
97825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97827 { (exit 1); exit 1; }; }
97829 cat >conftest.$ac_ext <<_ACEOF
97830 /* confdefs.h. */
97831 _ACEOF
97832 cat confdefs.h >>conftest.$ac_ext
97833 cat >>conftest.$ac_ext <<_ACEOF
97834 /* end confdefs.h. */
97835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97837 #define $ac_func innocuous_$ac_func
97839 /* System header to define __stub macros and hopefully few prototypes,
97840 which can conflict with char $ac_func (); below.
97841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97842 <limits.h> exists even on freestanding compilers. */
97844 #ifdef __STDC__
97845 # include <limits.h>
97846 #else
97847 # include <assert.h>
97848 #endif
97850 #undef $ac_func
97852 /* Override any gcc2 internal prototype to avoid an error. */
97853 #ifdef __cplusplus
97854 extern "C"
97856 #endif
97857 /* We use char because int might match the return type of a gcc2
97858 builtin and then its argument prototype would still apply. */
97859 char $ac_func ();
97860 /* The GNU C library defines this for functions which it implements
97861 to always fail with ENOSYS. Some functions are actually named
97862 something starting with __ and the normal name is an alias. */
97863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97864 choke me
97865 #else
97866 char (*f) () = $ac_func;
97867 #endif
97868 #ifdef __cplusplus
97870 #endif
97873 main ()
97875 return f != $ac_func;
97877 return 0;
97879 _ACEOF
97880 rm -f conftest.$ac_objext conftest$ac_exeext
97881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97882 (eval $ac_link) 2>conftest.er1
97883 ac_status=$?
97884 grep -v '^ *+' conftest.er1 >conftest.err
97885 rm -f conftest.er1
97886 cat conftest.err >&5
97887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97888 (exit $ac_status); } &&
97889 { ac_try='test -z "$ac_c_werror_flag"
97890 || test ! -s conftest.err'
97891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97892 (eval $ac_try) 2>&5
97893 ac_status=$?
97894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97895 (exit $ac_status); }; } &&
97896 { ac_try='test -s conftest$ac_exeext'
97897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97898 (eval $ac_try) 2>&5
97899 ac_status=$?
97900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97901 (exit $ac_status); }; }; then
97902 eval "$as_ac_var=yes"
97903 else
97904 echo "$as_me: failed program was:" >&5
97905 sed 's/^/| /' conftest.$ac_ext >&5
97907 eval "$as_ac_var=no"
97909 rm -f conftest.err conftest.$ac_objext \
97910 conftest$ac_exeext conftest.$ac_ext
97912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97914 if test `eval echo '${'$as_ac_var'}'` = yes; then
97915 cat >>confdefs.h <<_ACEOF
97916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97917 _ACEOF
97920 done
97922 else
97924 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97925 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97926 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97927 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97928 echo $ECHO_N "(cached) $ECHO_C" >&6
97929 else
97933 ac_ext=cc
97934 ac_cpp='$CXXCPP $CPPFLAGS'
97935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97939 cat >conftest.$ac_ext <<_ACEOF
97940 /* confdefs.h. */
97941 _ACEOF
97942 cat confdefs.h >>conftest.$ac_ext
97943 cat >>conftest.$ac_ext <<_ACEOF
97944 /* end confdefs.h. */
97945 #include <math.h>
97946 #ifdef HAVE_IEEEFP_H
97947 #include <ieeefp.h>
97948 #endif
97951 main ()
97953 _finitef(0);
97955 return 0;
97957 _ACEOF
97958 rm -f conftest.$ac_objext
97959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97960 (eval $ac_compile) 2>conftest.er1
97961 ac_status=$?
97962 grep -v '^ *+' conftest.er1 >conftest.err
97963 rm -f conftest.er1
97964 cat conftest.err >&5
97965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97966 (exit $ac_status); } &&
97967 { ac_try='test -z "$ac_cxx_werror_flag"
97968 || test ! -s conftest.err'
97969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97970 (eval $ac_try) 2>&5
97971 ac_status=$?
97972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97973 (exit $ac_status); }; } &&
97974 { ac_try='test -s conftest.$ac_objext'
97975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97976 (eval $ac_try) 2>&5
97977 ac_status=$?
97978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97979 (exit $ac_status); }; }; then
97980 glibcxx_cv_func__finitef_use=yes
97981 else
97982 echo "$as_me: failed program was:" >&5
97983 sed 's/^/| /' conftest.$ac_ext >&5
97985 glibcxx_cv_func__finitef_use=no
97987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97988 ac_ext=c
97989 ac_cpp='$CPP $CPPFLAGS'
97990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97999 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98001 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98003 for ac_func in _finitef
98005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98006 echo "$as_me:$LINENO: checking for $ac_func" >&5
98007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98008 if eval "test \"\${$as_ac_var+set}\" = set"; then
98009 echo $ECHO_N "(cached) $ECHO_C" >&6
98010 else
98011 if test x$gcc_no_link = xyes; then
98012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98014 { (exit 1); exit 1; }; }
98016 cat >conftest.$ac_ext <<_ACEOF
98017 /* confdefs.h. */
98018 _ACEOF
98019 cat confdefs.h >>conftest.$ac_ext
98020 cat >>conftest.$ac_ext <<_ACEOF
98021 /* end confdefs.h. */
98022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98024 #define $ac_func innocuous_$ac_func
98026 /* System header to define __stub macros and hopefully few prototypes,
98027 which can conflict with char $ac_func (); below.
98028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98029 <limits.h> exists even on freestanding compilers. */
98031 #ifdef __STDC__
98032 # include <limits.h>
98033 #else
98034 # include <assert.h>
98035 #endif
98037 #undef $ac_func
98039 /* Override any gcc2 internal prototype to avoid an error. */
98040 #ifdef __cplusplus
98041 extern "C"
98043 #endif
98044 /* We use char because int might match the return type of a gcc2
98045 builtin and then its argument prototype would still apply. */
98046 char $ac_func ();
98047 /* The GNU C library defines this for functions which it implements
98048 to always fail with ENOSYS. Some functions are actually named
98049 something starting with __ and the normal name is an alias. */
98050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98051 choke me
98052 #else
98053 char (*f) () = $ac_func;
98054 #endif
98055 #ifdef __cplusplus
98057 #endif
98060 main ()
98062 return f != $ac_func;
98064 return 0;
98066 _ACEOF
98067 rm -f conftest.$ac_objext conftest$ac_exeext
98068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98069 (eval $ac_link) 2>conftest.er1
98070 ac_status=$?
98071 grep -v '^ *+' conftest.er1 >conftest.err
98072 rm -f conftest.er1
98073 cat conftest.err >&5
98074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98075 (exit $ac_status); } &&
98076 { ac_try='test -z "$ac_c_werror_flag"
98077 || test ! -s conftest.err'
98078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98079 (eval $ac_try) 2>&5
98080 ac_status=$?
98081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082 (exit $ac_status); }; } &&
98083 { ac_try='test -s conftest$ac_exeext'
98084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98085 (eval $ac_try) 2>&5
98086 ac_status=$?
98087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98088 (exit $ac_status); }; }; then
98089 eval "$as_ac_var=yes"
98090 else
98091 echo "$as_me: failed program was:" >&5
98092 sed 's/^/| /' conftest.$ac_ext >&5
98094 eval "$as_ac_var=no"
98096 rm -f conftest.err conftest.$ac_objext \
98097 conftest$ac_exeext conftest.$ac_ext
98099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98101 if test `eval echo '${'$as_ac_var'}'` = yes; then
98102 cat >>confdefs.h <<_ACEOF
98103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98104 _ACEOF
98107 done
98117 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98118 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98119 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98120 echo $ECHO_N "(cached) $ECHO_C" >&6
98121 else
98125 ac_ext=cc
98126 ac_cpp='$CXXCPP $CPPFLAGS'
98127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98131 cat >conftest.$ac_ext <<_ACEOF
98132 /* confdefs.h. */
98133 _ACEOF
98134 cat confdefs.h >>conftest.$ac_ext
98135 cat >>conftest.$ac_ext <<_ACEOF
98136 /* end confdefs.h. */
98137 #include <math.h>
98139 main ()
98141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98143 return 0;
98145 _ACEOF
98146 rm -f conftest.$ac_objext
98147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98148 (eval $ac_compile) 2>conftest.er1
98149 ac_status=$?
98150 grep -v '^ *+' conftest.er1 >conftest.err
98151 rm -f conftest.er1
98152 cat conftest.err >&5
98153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98154 (exit $ac_status); } &&
98155 { ac_try='test -z "$ac_cxx_werror_flag"
98156 || test ! -s conftest.err'
98157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98158 (eval $ac_try) 2>&5
98159 ac_status=$?
98160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98161 (exit $ac_status); }; } &&
98162 { ac_try='test -s conftest.$ac_objext'
98163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98164 (eval $ac_try) 2>&5
98165 ac_status=$?
98166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98167 (exit $ac_status); }; }; then
98168 glibcxx_cv_func_long_double_trig_use=yes
98169 else
98170 echo "$as_me: failed program was:" >&5
98171 sed 's/^/| /' conftest.$ac_ext >&5
98173 glibcxx_cv_func_long_double_trig_use=no
98175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98176 ac_ext=c
98177 ac_cpp='$CPP $CPPFLAGS'
98178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98185 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98186 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98196 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98199 echo "$as_me:$LINENO: checking for $ac_func" >&5
98200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98201 if eval "test \"\${$as_ac_var+set}\" = set"; then
98202 echo $ECHO_N "(cached) $ECHO_C" >&6
98203 else
98204 if test x$gcc_no_link = xyes; then
98205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98207 { (exit 1); exit 1; }; }
98209 cat >conftest.$ac_ext <<_ACEOF
98210 /* confdefs.h. */
98211 _ACEOF
98212 cat confdefs.h >>conftest.$ac_ext
98213 cat >>conftest.$ac_ext <<_ACEOF
98214 /* end confdefs.h. */
98215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98217 #define $ac_func innocuous_$ac_func
98219 /* System header to define __stub macros and hopefully few prototypes,
98220 which can conflict with char $ac_func (); below.
98221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98222 <limits.h> exists even on freestanding compilers. */
98224 #ifdef __STDC__
98225 # include <limits.h>
98226 #else
98227 # include <assert.h>
98228 #endif
98230 #undef $ac_func
98232 /* Override any gcc2 internal prototype to avoid an error. */
98233 #ifdef __cplusplus
98234 extern "C"
98236 #endif
98237 /* We use char because int might match the return type of a gcc2
98238 builtin and then its argument prototype would still apply. */
98239 char $ac_func ();
98240 /* The GNU C library defines this for functions which it implements
98241 to always fail with ENOSYS. Some functions are actually named
98242 something starting with __ and the normal name is an alias. */
98243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98244 choke me
98245 #else
98246 char (*f) () = $ac_func;
98247 #endif
98248 #ifdef __cplusplus
98250 #endif
98253 main ()
98255 return f != $ac_func;
98257 return 0;
98259 _ACEOF
98260 rm -f conftest.$ac_objext conftest$ac_exeext
98261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98262 (eval $ac_link) 2>conftest.er1
98263 ac_status=$?
98264 grep -v '^ *+' conftest.er1 >conftest.err
98265 rm -f conftest.er1
98266 cat conftest.err >&5
98267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98268 (exit $ac_status); } &&
98269 { ac_try='test -z "$ac_c_werror_flag"
98270 || test ! -s conftest.err'
98271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98272 (eval $ac_try) 2>&5
98273 ac_status=$?
98274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98275 (exit $ac_status); }; } &&
98276 { ac_try='test -s conftest$ac_exeext'
98277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98278 (eval $ac_try) 2>&5
98279 ac_status=$?
98280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98281 (exit $ac_status); }; }; then
98282 eval "$as_ac_var=yes"
98283 else
98284 echo "$as_me: failed program was:" >&5
98285 sed 's/^/| /' conftest.$ac_ext >&5
98287 eval "$as_ac_var=no"
98289 rm -f conftest.err conftest.$ac_objext \
98290 conftest$ac_exeext conftest.$ac_ext
98292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98294 if test `eval echo '${'$as_ac_var'}'` = yes; then
98295 cat >>confdefs.h <<_ACEOF
98296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98297 _ACEOF
98300 done
98302 else
98303 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98304 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98305 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98306 echo $ECHO_N "(cached) $ECHO_C" >&6
98307 else
98311 ac_ext=cc
98312 ac_cpp='$CXXCPP $CPPFLAGS'
98313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98317 cat >conftest.$ac_ext <<_ACEOF
98318 /* confdefs.h. */
98319 _ACEOF
98320 cat confdefs.h >>conftest.$ac_ext
98321 cat >>conftest.$ac_ext <<_ACEOF
98322 /* end confdefs.h. */
98323 #include <math.h>
98325 main ()
98327 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98329 return 0;
98331 _ACEOF
98332 rm -f conftest.$ac_objext
98333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98334 (eval $ac_compile) 2>conftest.er1
98335 ac_status=$?
98336 grep -v '^ *+' conftest.er1 >conftest.err
98337 rm -f conftest.er1
98338 cat conftest.err >&5
98339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98340 (exit $ac_status); } &&
98341 { ac_try='test -z "$ac_cxx_werror_flag"
98342 || test ! -s conftest.err'
98343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98344 (eval $ac_try) 2>&5
98345 ac_status=$?
98346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98347 (exit $ac_status); }; } &&
98348 { ac_try='test -s conftest.$ac_objext'
98349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98350 (eval $ac_try) 2>&5
98351 ac_status=$?
98352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98353 (exit $ac_status); }; }; then
98354 glibcxx_cv_func__long_double_trig_use=yes
98355 else
98356 echo "$as_me: failed program was:" >&5
98357 sed 's/^/| /' conftest.$ac_ext >&5
98359 glibcxx_cv_func__long_double_trig_use=no
98361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98362 ac_ext=c
98363 ac_cpp='$CPP $CPPFLAGS'
98364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98371 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98372 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98382 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98385 echo "$as_me:$LINENO: checking for $ac_func" >&5
98386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98387 if eval "test \"\${$as_ac_var+set}\" = set"; then
98388 echo $ECHO_N "(cached) $ECHO_C" >&6
98389 else
98390 if test x$gcc_no_link = xyes; then
98391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98393 { (exit 1); exit 1; }; }
98395 cat >conftest.$ac_ext <<_ACEOF
98396 /* confdefs.h. */
98397 _ACEOF
98398 cat confdefs.h >>conftest.$ac_ext
98399 cat >>conftest.$ac_ext <<_ACEOF
98400 /* end confdefs.h. */
98401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98403 #define $ac_func innocuous_$ac_func
98405 /* System header to define __stub macros and hopefully few prototypes,
98406 which can conflict with char $ac_func (); below.
98407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98408 <limits.h> exists even on freestanding compilers. */
98410 #ifdef __STDC__
98411 # include <limits.h>
98412 #else
98413 # include <assert.h>
98414 #endif
98416 #undef $ac_func
98418 /* Override any gcc2 internal prototype to avoid an error. */
98419 #ifdef __cplusplus
98420 extern "C"
98422 #endif
98423 /* We use char because int might match the return type of a gcc2
98424 builtin and then its argument prototype would still apply. */
98425 char $ac_func ();
98426 /* The GNU C library defines this for functions which it implements
98427 to always fail with ENOSYS. Some functions are actually named
98428 something starting with __ and the normal name is an alias. */
98429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98430 choke me
98431 #else
98432 char (*f) () = $ac_func;
98433 #endif
98434 #ifdef __cplusplus
98436 #endif
98439 main ()
98441 return f != $ac_func;
98443 return 0;
98445 _ACEOF
98446 rm -f conftest.$ac_objext conftest$ac_exeext
98447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98448 (eval $ac_link) 2>conftest.er1
98449 ac_status=$?
98450 grep -v '^ *+' conftest.er1 >conftest.err
98451 rm -f conftest.er1
98452 cat conftest.err >&5
98453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98454 (exit $ac_status); } &&
98455 { ac_try='test -z "$ac_c_werror_flag"
98456 || test ! -s conftest.err'
98457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98458 (eval $ac_try) 2>&5
98459 ac_status=$?
98460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98461 (exit $ac_status); }; } &&
98462 { ac_try='test -s conftest$ac_exeext'
98463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98464 (eval $ac_try) 2>&5
98465 ac_status=$?
98466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98467 (exit $ac_status); }; }; then
98468 eval "$as_ac_var=yes"
98469 else
98470 echo "$as_me: failed program was:" >&5
98471 sed 's/^/| /' conftest.$ac_ext >&5
98473 eval "$as_ac_var=no"
98475 rm -f conftest.err conftest.$ac_objext \
98476 conftest$ac_exeext conftest.$ac_ext
98478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98480 if test `eval echo '${'$as_ac_var'}'` = yes; then
98481 cat >>confdefs.h <<_ACEOF
98482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98483 _ACEOF
98486 done
98504 echo "$as_me:$LINENO: checking for long double round functions" >&5
98505 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98506 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98507 echo $ECHO_N "(cached) $ECHO_C" >&6
98508 else
98512 ac_ext=cc
98513 ac_cpp='$CXXCPP $CPPFLAGS'
98514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98518 cat >conftest.$ac_ext <<_ACEOF
98519 /* confdefs.h. */
98520 _ACEOF
98521 cat confdefs.h >>conftest.$ac_ext
98522 cat >>conftest.$ac_ext <<_ACEOF
98523 /* end confdefs.h. */
98524 #include <math.h>
98526 main ()
98528 ceill (0); floorl (0);
98530 return 0;
98532 _ACEOF
98533 rm -f conftest.$ac_objext
98534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98535 (eval $ac_compile) 2>conftest.er1
98536 ac_status=$?
98537 grep -v '^ *+' conftest.er1 >conftest.err
98538 rm -f conftest.er1
98539 cat conftest.err >&5
98540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98541 (exit $ac_status); } &&
98542 { ac_try='test -z "$ac_cxx_werror_flag"
98543 || test ! -s conftest.err'
98544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98545 (eval $ac_try) 2>&5
98546 ac_status=$?
98547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98548 (exit $ac_status); }; } &&
98549 { ac_try='test -s conftest.$ac_objext'
98550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98551 (eval $ac_try) 2>&5
98552 ac_status=$?
98553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98554 (exit $ac_status); }; }; then
98555 glibcxx_cv_func_long_double_round_use=yes
98556 else
98557 echo "$as_me: failed program was:" >&5
98558 sed 's/^/| /' conftest.$ac_ext >&5
98560 glibcxx_cv_func_long_double_round_use=no
98562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98563 ac_ext=c
98564 ac_cpp='$CPP $CPPFLAGS'
98565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98572 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98573 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98576 for ac_func in ceill floorl
98578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98579 echo "$as_me:$LINENO: checking for $ac_func" >&5
98580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98581 if eval "test \"\${$as_ac_var+set}\" = set"; then
98582 echo $ECHO_N "(cached) $ECHO_C" >&6
98583 else
98584 if test x$gcc_no_link = xyes; then
98585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98587 { (exit 1); exit 1; }; }
98589 cat >conftest.$ac_ext <<_ACEOF
98590 /* confdefs.h. */
98591 _ACEOF
98592 cat confdefs.h >>conftest.$ac_ext
98593 cat >>conftest.$ac_ext <<_ACEOF
98594 /* end confdefs.h. */
98595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98597 #define $ac_func innocuous_$ac_func
98599 /* System header to define __stub macros and hopefully few prototypes,
98600 which can conflict with char $ac_func (); below.
98601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98602 <limits.h> exists even on freestanding compilers. */
98604 #ifdef __STDC__
98605 # include <limits.h>
98606 #else
98607 # include <assert.h>
98608 #endif
98610 #undef $ac_func
98612 /* Override any gcc2 internal prototype to avoid an error. */
98613 #ifdef __cplusplus
98614 extern "C"
98616 #endif
98617 /* We use char because int might match the return type of a gcc2
98618 builtin and then its argument prototype would still apply. */
98619 char $ac_func ();
98620 /* The GNU C library defines this for functions which it implements
98621 to always fail with ENOSYS. Some functions are actually named
98622 something starting with __ and the normal name is an alias. */
98623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98624 choke me
98625 #else
98626 char (*f) () = $ac_func;
98627 #endif
98628 #ifdef __cplusplus
98630 #endif
98633 main ()
98635 return f != $ac_func;
98637 return 0;
98639 _ACEOF
98640 rm -f conftest.$ac_objext conftest$ac_exeext
98641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98642 (eval $ac_link) 2>conftest.er1
98643 ac_status=$?
98644 grep -v '^ *+' conftest.er1 >conftest.err
98645 rm -f conftest.er1
98646 cat conftest.err >&5
98647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98648 (exit $ac_status); } &&
98649 { ac_try='test -z "$ac_c_werror_flag"
98650 || test ! -s conftest.err'
98651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98652 (eval $ac_try) 2>&5
98653 ac_status=$?
98654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98655 (exit $ac_status); }; } &&
98656 { ac_try='test -s conftest$ac_exeext'
98657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98658 (eval $ac_try) 2>&5
98659 ac_status=$?
98660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98661 (exit $ac_status); }; }; then
98662 eval "$as_ac_var=yes"
98663 else
98664 echo "$as_me: failed program was:" >&5
98665 sed 's/^/| /' conftest.$ac_ext >&5
98667 eval "$as_ac_var=no"
98669 rm -f conftest.err conftest.$ac_objext \
98670 conftest$ac_exeext conftest.$ac_ext
98672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98674 if test `eval echo '${'$as_ac_var'}'` = yes; then
98675 cat >>confdefs.h <<_ACEOF
98676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98677 _ACEOF
98680 done
98682 else
98683 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98684 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98685 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98686 echo $ECHO_N "(cached) $ECHO_C" >&6
98687 else
98691 ac_ext=cc
98692 ac_cpp='$CXXCPP $CPPFLAGS'
98693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98697 cat >conftest.$ac_ext <<_ACEOF
98698 /* confdefs.h. */
98699 _ACEOF
98700 cat confdefs.h >>conftest.$ac_ext
98701 cat >>conftest.$ac_ext <<_ACEOF
98702 /* end confdefs.h. */
98703 #include <math.h>
98705 main ()
98707 _ceill (0); _floorl (0);
98709 return 0;
98711 _ACEOF
98712 rm -f conftest.$ac_objext
98713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98714 (eval $ac_compile) 2>conftest.er1
98715 ac_status=$?
98716 grep -v '^ *+' conftest.er1 >conftest.err
98717 rm -f conftest.er1
98718 cat conftest.err >&5
98719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98720 (exit $ac_status); } &&
98721 { ac_try='test -z "$ac_cxx_werror_flag"
98722 || test ! -s conftest.err'
98723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98724 (eval $ac_try) 2>&5
98725 ac_status=$?
98726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98727 (exit $ac_status); }; } &&
98728 { ac_try='test -s conftest.$ac_objext'
98729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98730 (eval $ac_try) 2>&5
98731 ac_status=$?
98732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98733 (exit $ac_status); }; }; then
98734 glibcxx_cv_func__long_double_round_use=yes
98735 else
98736 echo "$as_me: failed program was:" >&5
98737 sed 's/^/| /' conftest.$ac_ext >&5
98739 glibcxx_cv_func__long_double_round_use=no
98741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98742 ac_ext=c
98743 ac_cpp='$CPP $CPPFLAGS'
98744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98751 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98752 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98755 for ac_func in _ceill _floorl
98757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98758 echo "$as_me:$LINENO: checking for $ac_func" >&5
98759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98760 if eval "test \"\${$as_ac_var+set}\" = set"; then
98761 echo $ECHO_N "(cached) $ECHO_C" >&6
98762 else
98763 if test x$gcc_no_link = xyes; then
98764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98766 { (exit 1); exit 1; }; }
98768 cat >conftest.$ac_ext <<_ACEOF
98769 /* confdefs.h. */
98770 _ACEOF
98771 cat confdefs.h >>conftest.$ac_ext
98772 cat >>conftest.$ac_ext <<_ACEOF
98773 /* end confdefs.h. */
98774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98776 #define $ac_func innocuous_$ac_func
98778 /* System header to define __stub macros and hopefully few prototypes,
98779 which can conflict with char $ac_func (); below.
98780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98781 <limits.h> exists even on freestanding compilers. */
98783 #ifdef __STDC__
98784 # include <limits.h>
98785 #else
98786 # include <assert.h>
98787 #endif
98789 #undef $ac_func
98791 /* Override any gcc2 internal prototype to avoid an error. */
98792 #ifdef __cplusplus
98793 extern "C"
98795 #endif
98796 /* We use char because int might match the return type of a gcc2
98797 builtin and then its argument prototype would still apply. */
98798 char $ac_func ();
98799 /* The GNU C library defines this for functions which it implements
98800 to always fail with ENOSYS. Some functions are actually named
98801 something starting with __ and the normal name is an alias. */
98802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98803 choke me
98804 #else
98805 char (*f) () = $ac_func;
98806 #endif
98807 #ifdef __cplusplus
98809 #endif
98812 main ()
98814 return f != $ac_func;
98816 return 0;
98818 _ACEOF
98819 rm -f conftest.$ac_objext conftest$ac_exeext
98820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98821 (eval $ac_link) 2>conftest.er1
98822 ac_status=$?
98823 grep -v '^ *+' conftest.er1 >conftest.err
98824 rm -f conftest.er1
98825 cat conftest.err >&5
98826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98827 (exit $ac_status); } &&
98828 { ac_try='test -z "$ac_c_werror_flag"
98829 || test ! -s conftest.err'
98830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98831 (eval $ac_try) 2>&5
98832 ac_status=$?
98833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98834 (exit $ac_status); }; } &&
98835 { ac_try='test -s conftest$ac_exeext'
98836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98837 (eval $ac_try) 2>&5
98838 ac_status=$?
98839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98840 (exit $ac_status); }; }; then
98841 eval "$as_ac_var=yes"
98842 else
98843 echo "$as_me: failed program was:" >&5
98844 sed 's/^/| /' conftest.$ac_ext >&5
98846 eval "$as_ac_var=no"
98848 rm -f conftest.err conftest.$ac_objext \
98849 conftest$ac_exeext conftest.$ac_ext
98851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98853 if test `eval echo '${'$as_ac_var'}'` = yes; then
98854 cat >>confdefs.h <<_ACEOF
98855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98856 _ACEOF
98859 done
98871 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98872 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98873 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98874 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98875 echo $ECHO_N "(cached) $ECHO_C" >&6
98876 else
98880 ac_ext=cc
98881 ac_cpp='$CXXCPP $CPPFLAGS'
98882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98886 cat >conftest.$ac_ext <<_ACEOF
98887 /* confdefs.h. */
98888 _ACEOF
98889 cat confdefs.h >>conftest.$ac_ext
98890 cat >>conftest.$ac_ext <<_ACEOF
98891 /* end confdefs.h. */
98892 #include <math.h>
98893 #ifdef HAVE_IEEEFP_H
98894 #include <ieeefp.h>
98895 #endif
98898 main ()
98900 isnanl(0);
98902 return 0;
98904 _ACEOF
98905 rm -f conftest.$ac_objext
98906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98907 (eval $ac_compile) 2>conftest.er1
98908 ac_status=$?
98909 grep -v '^ *+' conftest.er1 >conftest.err
98910 rm -f conftest.er1
98911 cat conftest.err >&5
98912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98913 (exit $ac_status); } &&
98914 { ac_try='test -z "$ac_cxx_werror_flag"
98915 || test ! -s conftest.err'
98916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98917 (eval $ac_try) 2>&5
98918 ac_status=$?
98919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920 (exit $ac_status); }; } &&
98921 { ac_try='test -s conftest.$ac_objext'
98922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98923 (eval $ac_try) 2>&5
98924 ac_status=$?
98925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98926 (exit $ac_status); }; }; then
98927 glibcxx_cv_func_isnanl_use=yes
98928 else
98929 echo "$as_me: failed program was:" >&5
98930 sed 's/^/| /' conftest.$ac_ext >&5
98932 glibcxx_cv_func_isnanl_use=no
98934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98935 ac_ext=c
98936 ac_cpp='$CPP $CPPFLAGS'
98937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98946 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98948 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98950 for ac_func in isnanl
98952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98953 echo "$as_me:$LINENO: checking for $ac_func" >&5
98954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98955 if eval "test \"\${$as_ac_var+set}\" = set"; then
98956 echo $ECHO_N "(cached) $ECHO_C" >&6
98957 else
98958 if test x$gcc_no_link = xyes; then
98959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98961 { (exit 1); exit 1; }; }
98963 cat >conftest.$ac_ext <<_ACEOF
98964 /* confdefs.h. */
98965 _ACEOF
98966 cat confdefs.h >>conftest.$ac_ext
98967 cat >>conftest.$ac_ext <<_ACEOF
98968 /* end confdefs.h. */
98969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98971 #define $ac_func innocuous_$ac_func
98973 /* System header to define __stub macros and hopefully few prototypes,
98974 which can conflict with char $ac_func (); below.
98975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98976 <limits.h> exists even on freestanding compilers. */
98978 #ifdef __STDC__
98979 # include <limits.h>
98980 #else
98981 # include <assert.h>
98982 #endif
98984 #undef $ac_func
98986 /* Override any gcc2 internal prototype to avoid an error. */
98987 #ifdef __cplusplus
98988 extern "C"
98990 #endif
98991 /* We use char because int might match the return type of a gcc2
98992 builtin and then its argument prototype would still apply. */
98993 char $ac_func ();
98994 /* The GNU C library defines this for functions which it implements
98995 to always fail with ENOSYS. Some functions are actually named
98996 something starting with __ and the normal name is an alias. */
98997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98998 choke me
98999 #else
99000 char (*f) () = $ac_func;
99001 #endif
99002 #ifdef __cplusplus
99004 #endif
99007 main ()
99009 return f != $ac_func;
99011 return 0;
99013 _ACEOF
99014 rm -f conftest.$ac_objext conftest$ac_exeext
99015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99016 (eval $ac_link) 2>conftest.er1
99017 ac_status=$?
99018 grep -v '^ *+' conftest.er1 >conftest.err
99019 rm -f conftest.er1
99020 cat conftest.err >&5
99021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99022 (exit $ac_status); } &&
99023 { ac_try='test -z "$ac_c_werror_flag"
99024 || test ! -s conftest.err'
99025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99026 (eval $ac_try) 2>&5
99027 ac_status=$?
99028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99029 (exit $ac_status); }; } &&
99030 { ac_try='test -s conftest$ac_exeext'
99031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99032 (eval $ac_try) 2>&5
99033 ac_status=$?
99034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99035 (exit $ac_status); }; }; then
99036 eval "$as_ac_var=yes"
99037 else
99038 echo "$as_me: failed program was:" >&5
99039 sed 's/^/| /' conftest.$ac_ext >&5
99041 eval "$as_ac_var=no"
99043 rm -f conftest.err conftest.$ac_objext \
99044 conftest$ac_exeext conftest.$ac_ext
99046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99048 if test `eval echo '${'$as_ac_var'}'` = yes; then
99049 cat >>confdefs.h <<_ACEOF
99050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99051 _ACEOF
99054 done
99056 else
99058 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99059 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99060 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99061 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99062 echo $ECHO_N "(cached) $ECHO_C" >&6
99063 else
99067 ac_ext=cc
99068 ac_cpp='$CXXCPP $CPPFLAGS'
99069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99073 cat >conftest.$ac_ext <<_ACEOF
99074 /* confdefs.h. */
99075 _ACEOF
99076 cat confdefs.h >>conftest.$ac_ext
99077 cat >>conftest.$ac_ext <<_ACEOF
99078 /* end confdefs.h. */
99079 #include <math.h>
99080 #ifdef HAVE_IEEEFP_H
99081 #include <ieeefp.h>
99082 #endif
99085 main ()
99087 _isnanl(0);
99089 return 0;
99091 _ACEOF
99092 rm -f conftest.$ac_objext
99093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99094 (eval $ac_compile) 2>conftest.er1
99095 ac_status=$?
99096 grep -v '^ *+' conftest.er1 >conftest.err
99097 rm -f conftest.er1
99098 cat conftest.err >&5
99099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99100 (exit $ac_status); } &&
99101 { ac_try='test -z "$ac_cxx_werror_flag"
99102 || test ! -s conftest.err'
99103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99104 (eval $ac_try) 2>&5
99105 ac_status=$?
99106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99107 (exit $ac_status); }; } &&
99108 { ac_try='test -s conftest.$ac_objext'
99109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99110 (eval $ac_try) 2>&5
99111 ac_status=$?
99112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99113 (exit $ac_status); }; }; then
99114 glibcxx_cv_func__isnanl_use=yes
99115 else
99116 echo "$as_me: failed program was:" >&5
99117 sed 's/^/| /' conftest.$ac_ext >&5
99119 glibcxx_cv_func__isnanl_use=no
99121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99122 ac_ext=c
99123 ac_cpp='$CPP $CPPFLAGS'
99124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99133 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99135 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99137 for ac_func in _isnanl
99139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99140 echo "$as_me:$LINENO: checking for $ac_func" >&5
99141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99142 if eval "test \"\${$as_ac_var+set}\" = set"; then
99143 echo $ECHO_N "(cached) $ECHO_C" >&6
99144 else
99145 if test x$gcc_no_link = xyes; then
99146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99148 { (exit 1); exit 1; }; }
99150 cat >conftest.$ac_ext <<_ACEOF
99151 /* confdefs.h. */
99152 _ACEOF
99153 cat confdefs.h >>conftest.$ac_ext
99154 cat >>conftest.$ac_ext <<_ACEOF
99155 /* end confdefs.h. */
99156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99158 #define $ac_func innocuous_$ac_func
99160 /* System header to define __stub macros and hopefully few prototypes,
99161 which can conflict with char $ac_func (); below.
99162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99163 <limits.h> exists even on freestanding compilers. */
99165 #ifdef __STDC__
99166 # include <limits.h>
99167 #else
99168 # include <assert.h>
99169 #endif
99171 #undef $ac_func
99173 /* Override any gcc2 internal prototype to avoid an error. */
99174 #ifdef __cplusplus
99175 extern "C"
99177 #endif
99178 /* We use char because int might match the return type of a gcc2
99179 builtin and then its argument prototype would still apply. */
99180 char $ac_func ();
99181 /* The GNU C library defines this for functions which it implements
99182 to always fail with ENOSYS. Some functions are actually named
99183 something starting with __ and the normal name is an alias. */
99184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99185 choke me
99186 #else
99187 char (*f) () = $ac_func;
99188 #endif
99189 #ifdef __cplusplus
99191 #endif
99194 main ()
99196 return f != $ac_func;
99198 return 0;
99200 _ACEOF
99201 rm -f conftest.$ac_objext conftest$ac_exeext
99202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99203 (eval $ac_link) 2>conftest.er1
99204 ac_status=$?
99205 grep -v '^ *+' conftest.er1 >conftest.err
99206 rm -f conftest.er1
99207 cat conftest.err >&5
99208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99209 (exit $ac_status); } &&
99210 { ac_try='test -z "$ac_c_werror_flag"
99211 || test ! -s conftest.err'
99212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99213 (eval $ac_try) 2>&5
99214 ac_status=$?
99215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99216 (exit $ac_status); }; } &&
99217 { ac_try='test -s conftest$ac_exeext'
99218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99219 (eval $ac_try) 2>&5
99220 ac_status=$?
99221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99222 (exit $ac_status); }; }; then
99223 eval "$as_ac_var=yes"
99224 else
99225 echo "$as_me: failed program was:" >&5
99226 sed 's/^/| /' conftest.$ac_ext >&5
99228 eval "$as_ac_var=no"
99230 rm -f conftest.err conftest.$ac_objext \
99231 conftest$ac_exeext conftest.$ac_ext
99233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99235 if test `eval echo '${'$as_ac_var'}'` = yes; then
99236 cat >>confdefs.h <<_ACEOF
99237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99238 _ACEOF
99241 done
99251 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99252 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99253 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99254 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99255 echo $ECHO_N "(cached) $ECHO_C" >&6
99256 else
99260 ac_ext=cc
99261 ac_cpp='$CXXCPP $CPPFLAGS'
99262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99266 cat >conftest.$ac_ext <<_ACEOF
99267 /* confdefs.h. */
99268 _ACEOF
99269 cat confdefs.h >>conftest.$ac_ext
99270 cat >>conftest.$ac_ext <<_ACEOF
99271 /* end confdefs.h. */
99272 #include <math.h>
99273 #ifdef HAVE_IEEEFP_H
99274 #include <ieeefp.h>
99275 #endif
99278 main ()
99280 isinfl(0);
99282 return 0;
99284 _ACEOF
99285 rm -f conftest.$ac_objext
99286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99287 (eval $ac_compile) 2>conftest.er1
99288 ac_status=$?
99289 grep -v '^ *+' conftest.er1 >conftest.err
99290 rm -f conftest.er1
99291 cat conftest.err >&5
99292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99293 (exit $ac_status); } &&
99294 { ac_try='test -z "$ac_cxx_werror_flag"
99295 || test ! -s conftest.err'
99296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99297 (eval $ac_try) 2>&5
99298 ac_status=$?
99299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99300 (exit $ac_status); }; } &&
99301 { ac_try='test -s conftest.$ac_objext'
99302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99303 (eval $ac_try) 2>&5
99304 ac_status=$?
99305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99306 (exit $ac_status); }; }; then
99307 glibcxx_cv_func_isinfl_use=yes
99308 else
99309 echo "$as_me: failed program was:" >&5
99310 sed 's/^/| /' conftest.$ac_ext >&5
99312 glibcxx_cv_func_isinfl_use=no
99314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99315 ac_ext=c
99316 ac_cpp='$CPP $CPPFLAGS'
99317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99326 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99328 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99330 for ac_func in isinfl
99332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99333 echo "$as_me:$LINENO: checking for $ac_func" >&5
99334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99335 if eval "test \"\${$as_ac_var+set}\" = set"; then
99336 echo $ECHO_N "(cached) $ECHO_C" >&6
99337 else
99338 if test x$gcc_no_link = xyes; then
99339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99341 { (exit 1); exit 1; }; }
99343 cat >conftest.$ac_ext <<_ACEOF
99344 /* confdefs.h. */
99345 _ACEOF
99346 cat confdefs.h >>conftest.$ac_ext
99347 cat >>conftest.$ac_ext <<_ACEOF
99348 /* end confdefs.h. */
99349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99351 #define $ac_func innocuous_$ac_func
99353 /* System header to define __stub macros and hopefully few prototypes,
99354 which can conflict with char $ac_func (); below.
99355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99356 <limits.h> exists even on freestanding compilers. */
99358 #ifdef __STDC__
99359 # include <limits.h>
99360 #else
99361 # include <assert.h>
99362 #endif
99364 #undef $ac_func
99366 /* Override any gcc2 internal prototype to avoid an error. */
99367 #ifdef __cplusplus
99368 extern "C"
99370 #endif
99371 /* We use char because int might match the return type of a gcc2
99372 builtin and then its argument prototype would still apply. */
99373 char $ac_func ();
99374 /* The GNU C library defines this for functions which it implements
99375 to always fail with ENOSYS. Some functions are actually named
99376 something starting with __ and the normal name is an alias. */
99377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99378 choke me
99379 #else
99380 char (*f) () = $ac_func;
99381 #endif
99382 #ifdef __cplusplus
99384 #endif
99387 main ()
99389 return f != $ac_func;
99391 return 0;
99393 _ACEOF
99394 rm -f conftest.$ac_objext conftest$ac_exeext
99395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99396 (eval $ac_link) 2>conftest.er1
99397 ac_status=$?
99398 grep -v '^ *+' conftest.er1 >conftest.err
99399 rm -f conftest.er1
99400 cat conftest.err >&5
99401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99402 (exit $ac_status); } &&
99403 { ac_try='test -z "$ac_c_werror_flag"
99404 || test ! -s conftest.err'
99405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99406 (eval $ac_try) 2>&5
99407 ac_status=$?
99408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99409 (exit $ac_status); }; } &&
99410 { ac_try='test -s conftest$ac_exeext'
99411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99412 (eval $ac_try) 2>&5
99413 ac_status=$?
99414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99415 (exit $ac_status); }; }; then
99416 eval "$as_ac_var=yes"
99417 else
99418 echo "$as_me: failed program was:" >&5
99419 sed 's/^/| /' conftest.$ac_ext >&5
99421 eval "$as_ac_var=no"
99423 rm -f conftest.err conftest.$ac_objext \
99424 conftest$ac_exeext conftest.$ac_ext
99426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99428 if test `eval echo '${'$as_ac_var'}'` = yes; then
99429 cat >>confdefs.h <<_ACEOF
99430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99431 _ACEOF
99434 done
99436 else
99438 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99439 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99440 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99441 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99442 echo $ECHO_N "(cached) $ECHO_C" >&6
99443 else
99447 ac_ext=cc
99448 ac_cpp='$CXXCPP $CPPFLAGS'
99449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99453 cat >conftest.$ac_ext <<_ACEOF
99454 /* confdefs.h. */
99455 _ACEOF
99456 cat confdefs.h >>conftest.$ac_ext
99457 cat >>conftest.$ac_ext <<_ACEOF
99458 /* end confdefs.h. */
99459 #include <math.h>
99460 #ifdef HAVE_IEEEFP_H
99461 #include <ieeefp.h>
99462 #endif
99465 main ()
99467 _isinfl(0);
99469 return 0;
99471 _ACEOF
99472 rm -f conftest.$ac_objext
99473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99474 (eval $ac_compile) 2>conftest.er1
99475 ac_status=$?
99476 grep -v '^ *+' conftest.er1 >conftest.err
99477 rm -f conftest.er1
99478 cat conftest.err >&5
99479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99480 (exit $ac_status); } &&
99481 { ac_try='test -z "$ac_cxx_werror_flag"
99482 || test ! -s conftest.err'
99483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99484 (eval $ac_try) 2>&5
99485 ac_status=$?
99486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99487 (exit $ac_status); }; } &&
99488 { ac_try='test -s conftest.$ac_objext'
99489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99490 (eval $ac_try) 2>&5
99491 ac_status=$?
99492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99493 (exit $ac_status); }; }; then
99494 glibcxx_cv_func__isinfl_use=yes
99495 else
99496 echo "$as_me: failed program was:" >&5
99497 sed 's/^/| /' conftest.$ac_ext >&5
99499 glibcxx_cv_func__isinfl_use=no
99501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99502 ac_ext=c
99503 ac_cpp='$CPP $CPPFLAGS'
99504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99513 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99515 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99517 for ac_func in _isinfl
99519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99520 echo "$as_me:$LINENO: checking for $ac_func" >&5
99521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99522 if eval "test \"\${$as_ac_var+set}\" = set"; then
99523 echo $ECHO_N "(cached) $ECHO_C" >&6
99524 else
99525 if test x$gcc_no_link = xyes; then
99526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99528 { (exit 1); exit 1; }; }
99530 cat >conftest.$ac_ext <<_ACEOF
99531 /* confdefs.h. */
99532 _ACEOF
99533 cat confdefs.h >>conftest.$ac_ext
99534 cat >>conftest.$ac_ext <<_ACEOF
99535 /* end confdefs.h. */
99536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99538 #define $ac_func innocuous_$ac_func
99540 /* System header to define __stub macros and hopefully few prototypes,
99541 which can conflict with char $ac_func (); below.
99542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99543 <limits.h> exists even on freestanding compilers. */
99545 #ifdef __STDC__
99546 # include <limits.h>
99547 #else
99548 # include <assert.h>
99549 #endif
99551 #undef $ac_func
99553 /* Override any gcc2 internal prototype to avoid an error. */
99554 #ifdef __cplusplus
99555 extern "C"
99557 #endif
99558 /* We use char because int might match the return type of a gcc2
99559 builtin and then its argument prototype would still apply. */
99560 char $ac_func ();
99561 /* The GNU C library defines this for functions which it implements
99562 to always fail with ENOSYS. Some functions are actually named
99563 something starting with __ and the normal name is an alias. */
99564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99565 choke me
99566 #else
99567 char (*f) () = $ac_func;
99568 #endif
99569 #ifdef __cplusplus
99571 #endif
99574 main ()
99576 return f != $ac_func;
99578 return 0;
99580 _ACEOF
99581 rm -f conftest.$ac_objext conftest$ac_exeext
99582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99583 (eval $ac_link) 2>conftest.er1
99584 ac_status=$?
99585 grep -v '^ *+' conftest.er1 >conftest.err
99586 rm -f conftest.er1
99587 cat conftest.err >&5
99588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99589 (exit $ac_status); } &&
99590 { ac_try='test -z "$ac_c_werror_flag"
99591 || test ! -s conftest.err'
99592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99593 (eval $ac_try) 2>&5
99594 ac_status=$?
99595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99596 (exit $ac_status); }; } &&
99597 { ac_try='test -s conftest$ac_exeext'
99598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99599 (eval $ac_try) 2>&5
99600 ac_status=$?
99601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99602 (exit $ac_status); }; }; then
99603 eval "$as_ac_var=yes"
99604 else
99605 echo "$as_me: failed program was:" >&5
99606 sed 's/^/| /' conftest.$ac_ext >&5
99608 eval "$as_ac_var=no"
99610 rm -f conftest.err conftest.$ac_objext \
99611 conftest$ac_exeext conftest.$ac_ext
99613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99615 if test `eval echo '${'$as_ac_var'}'` = yes; then
99616 cat >>confdefs.h <<_ACEOF
99617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99618 _ACEOF
99621 done
99631 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99632 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99633 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99634 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99635 echo $ECHO_N "(cached) $ECHO_C" >&6
99636 else
99640 ac_ext=cc
99641 ac_cpp='$CXXCPP $CPPFLAGS'
99642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99646 cat >conftest.$ac_ext <<_ACEOF
99647 /* confdefs.h. */
99648 _ACEOF
99649 cat confdefs.h >>conftest.$ac_ext
99650 cat >>conftest.$ac_ext <<_ACEOF
99651 /* end confdefs.h. */
99652 #include <math.h>
99654 main ()
99656 copysignl(0, 0);
99658 return 0;
99660 _ACEOF
99661 rm -f conftest.$ac_objext
99662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99663 (eval $ac_compile) 2>conftest.er1
99664 ac_status=$?
99665 grep -v '^ *+' conftest.er1 >conftest.err
99666 rm -f conftest.er1
99667 cat conftest.err >&5
99668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99669 (exit $ac_status); } &&
99670 { ac_try='test -z "$ac_cxx_werror_flag"
99671 || test ! -s conftest.err'
99672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99673 (eval $ac_try) 2>&5
99674 ac_status=$?
99675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99676 (exit $ac_status); }; } &&
99677 { ac_try='test -s conftest.$ac_objext'
99678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99679 (eval $ac_try) 2>&5
99680 ac_status=$?
99681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682 (exit $ac_status); }; }; then
99683 glibcxx_cv_func_copysignl_use=yes
99684 else
99685 echo "$as_me: failed program was:" >&5
99686 sed 's/^/| /' conftest.$ac_ext >&5
99688 glibcxx_cv_func_copysignl_use=no
99690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99691 ac_ext=c
99692 ac_cpp='$CPP $CPPFLAGS'
99693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99702 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99704 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99706 for ac_func in copysignl
99708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99709 echo "$as_me:$LINENO: checking for $ac_func" >&5
99710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99711 if eval "test \"\${$as_ac_var+set}\" = set"; then
99712 echo $ECHO_N "(cached) $ECHO_C" >&6
99713 else
99714 if test x$gcc_no_link = xyes; then
99715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99717 { (exit 1); exit 1; }; }
99719 cat >conftest.$ac_ext <<_ACEOF
99720 /* confdefs.h. */
99721 _ACEOF
99722 cat confdefs.h >>conftest.$ac_ext
99723 cat >>conftest.$ac_ext <<_ACEOF
99724 /* end confdefs.h. */
99725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99727 #define $ac_func innocuous_$ac_func
99729 /* System header to define __stub macros and hopefully few prototypes,
99730 which can conflict with char $ac_func (); below.
99731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99732 <limits.h> exists even on freestanding compilers. */
99734 #ifdef __STDC__
99735 # include <limits.h>
99736 #else
99737 # include <assert.h>
99738 #endif
99740 #undef $ac_func
99742 /* Override any gcc2 internal prototype to avoid an error. */
99743 #ifdef __cplusplus
99744 extern "C"
99746 #endif
99747 /* We use char because int might match the return type of a gcc2
99748 builtin and then its argument prototype would still apply. */
99749 char $ac_func ();
99750 /* The GNU C library defines this for functions which it implements
99751 to always fail with ENOSYS. Some functions are actually named
99752 something starting with __ and the normal name is an alias. */
99753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99754 choke me
99755 #else
99756 char (*f) () = $ac_func;
99757 #endif
99758 #ifdef __cplusplus
99760 #endif
99763 main ()
99765 return f != $ac_func;
99767 return 0;
99769 _ACEOF
99770 rm -f conftest.$ac_objext conftest$ac_exeext
99771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99772 (eval $ac_link) 2>conftest.er1
99773 ac_status=$?
99774 grep -v '^ *+' conftest.er1 >conftest.err
99775 rm -f conftest.er1
99776 cat conftest.err >&5
99777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99778 (exit $ac_status); } &&
99779 { ac_try='test -z "$ac_c_werror_flag"
99780 || test ! -s conftest.err'
99781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99782 (eval $ac_try) 2>&5
99783 ac_status=$?
99784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99785 (exit $ac_status); }; } &&
99786 { ac_try='test -s conftest$ac_exeext'
99787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99788 (eval $ac_try) 2>&5
99789 ac_status=$?
99790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99791 (exit $ac_status); }; }; then
99792 eval "$as_ac_var=yes"
99793 else
99794 echo "$as_me: failed program was:" >&5
99795 sed 's/^/| /' conftest.$ac_ext >&5
99797 eval "$as_ac_var=no"
99799 rm -f conftest.err conftest.$ac_objext \
99800 conftest$ac_exeext conftest.$ac_ext
99802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99804 if test `eval echo '${'$as_ac_var'}'` = yes; then
99805 cat >>confdefs.h <<_ACEOF
99806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99807 _ACEOF
99810 done
99812 else
99814 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99815 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99816 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99817 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99818 echo $ECHO_N "(cached) $ECHO_C" >&6
99819 else
99823 ac_ext=cc
99824 ac_cpp='$CXXCPP $CPPFLAGS'
99825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99829 cat >conftest.$ac_ext <<_ACEOF
99830 /* confdefs.h. */
99831 _ACEOF
99832 cat confdefs.h >>conftest.$ac_ext
99833 cat >>conftest.$ac_ext <<_ACEOF
99834 /* end confdefs.h. */
99835 #include <math.h>
99837 main ()
99839 _copysignl(0, 0);
99841 return 0;
99843 _ACEOF
99844 rm -f conftest.$ac_objext
99845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99846 (eval $ac_compile) 2>conftest.er1
99847 ac_status=$?
99848 grep -v '^ *+' conftest.er1 >conftest.err
99849 rm -f conftest.er1
99850 cat conftest.err >&5
99851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99852 (exit $ac_status); } &&
99853 { ac_try='test -z "$ac_cxx_werror_flag"
99854 || test ! -s conftest.err'
99855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99856 (eval $ac_try) 2>&5
99857 ac_status=$?
99858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99859 (exit $ac_status); }; } &&
99860 { ac_try='test -s conftest.$ac_objext'
99861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99862 (eval $ac_try) 2>&5
99863 ac_status=$?
99864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99865 (exit $ac_status); }; }; then
99866 glibcxx_cv_func__copysignl_use=yes
99867 else
99868 echo "$as_me: failed program was:" >&5
99869 sed 's/^/| /' conftest.$ac_ext >&5
99871 glibcxx_cv_func__copysignl_use=no
99873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99874 ac_ext=c
99875 ac_cpp='$CPP $CPPFLAGS'
99876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99885 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99887 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99889 for ac_func in _copysignl
99891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99892 echo "$as_me:$LINENO: checking for $ac_func" >&5
99893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99894 if eval "test \"\${$as_ac_var+set}\" = set"; then
99895 echo $ECHO_N "(cached) $ECHO_C" >&6
99896 else
99897 if test x$gcc_no_link = xyes; then
99898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99900 { (exit 1); exit 1; }; }
99902 cat >conftest.$ac_ext <<_ACEOF
99903 /* confdefs.h. */
99904 _ACEOF
99905 cat confdefs.h >>conftest.$ac_ext
99906 cat >>conftest.$ac_ext <<_ACEOF
99907 /* end confdefs.h. */
99908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99910 #define $ac_func innocuous_$ac_func
99912 /* System header to define __stub macros and hopefully few prototypes,
99913 which can conflict with char $ac_func (); below.
99914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99915 <limits.h> exists even on freestanding compilers. */
99917 #ifdef __STDC__
99918 # include <limits.h>
99919 #else
99920 # include <assert.h>
99921 #endif
99923 #undef $ac_func
99925 /* Override any gcc2 internal prototype to avoid an error. */
99926 #ifdef __cplusplus
99927 extern "C"
99929 #endif
99930 /* We use char because int might match the return type of a gcc2
99931 builtin and then its argument prototype would still apply. */
99932 char $ac_func ();
99933 /* The GNU C library defines this for functions which it implements
99934 to always fail with ENOSYS. Some functions are actually named
99935 something starting with __ and the normal name is an alias. */
99936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99937 choke me
99938 #else
99939 char (*f) () = $ac_func;
99940 #endif
99941 #ifdef __cplusplus
99943 #endif
99946 main ()
99948 return f != $ac_func;
99950 return 0;
99952 _ACEOF
99953 rm -f conftest.$ac_objext conftest$ac_exeext
99954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99955 (eval $ac_link) 2>conftest.er1
99956 ac_status=$?
99957 grep -v '^ *+' conftest.er1 >conftest.err
99958 rm -f conftest.er1
99959 cat conftest.err >&5
99960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99961 (exit $ac_status); } &&
99962 { ac_try='test -z "$ac_c_werror_flag"
99963 || test ! -s conftest.err'
99964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99965 (eval $ac_try) 2>&5
99966 ac_status=$?
99967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99968 (exit $ac_status); }; } &&
99969 { ac_try='test -s conftest$ac_exeext'
99970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99971 (eval $ac_try) 2>&5
99972 ac_status=$?
99973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99974 (exit $ac_status); }; }; then
99975 eval "$as_ac_var=yes"
99976 else
99977 echo "$as_me: failed program was:" >&5
99978 sed 's/^/| /' conftest.$ac_ext >&5
99980 eval "$as_ac_var=no"
99982 rm -f conftest.err conftest.$ac_objext \
99983 conftest$ac_exeext conftest.$ac_ext
99985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99987 if test `eval echo '${'$as_ac_var'}'` = yes; then
99988 cat >>confdefs.h <<_ACEOF
99989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99990 _ACEOF
99993 done
100003 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100004 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100005 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100006 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100007 echo $ECHO_N "(cached) $ECHO_C" >&6
100012 ac_ext=cc
100013 ac_cpp='$CXXCPP $CPPFLAGS'
100014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100018 cat >conftest.$ac_ext <<_ACEOF
100019 /* confdefs.h. */
100020 _ACEOF
100021 cat confdefs.h >>conftest.$ac_ext
100022 cat >>conftest.$ac_ext <<_ACEOF
100023 /* end confdefs.h. */
100024 #include <math.h>
100026 main ()
100028 atan2l(0, 0);
100030 return 0;
100032 _ACEOF
100033 rm -f conftest.$ac_objext
100034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100035 (eval $ac_compile) 2>conftest.er1
100036 ac_status=$?
100037 grep -v '^ *+' conftest.er1 >conftest.err
100038 rm -f conftest.er1
100039 cat conftest.err >&5
100040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100041 (exit $ac_status); } &&
100042 { ac_try='test -z "$ac_cxx_werror_flag"
100043 || test ! -s conftest.err'
100044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100045 (eval $ac_try) 2>&5
100046 ac_status=$?
100047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100048 (exit $ac_status); }; } &&
100049 { ac_try='test -s conftest.$ac_objext'
100050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051 (eval $ac_try) 2>&5
100052 ac_status=$?
100053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054 (exit $ac_status); }; }; then
100055 glibcxx_cv_func_atan2l_use=yes
100057 echo "$as_me: failed program was:" >&5
100058 sed 's/^/| /' conftest.$ac_ext >&5
100060 glibcxx_cv_func_atan2l_use=no
100062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100063 ac_ext=c
100064 ac_cpp='$CPP $CPPFLAGS'
100065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100074 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100076 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100078 for ac_func in atan2l
100080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100081 echo "$as_me:$LINENO: checking for $ac_func" >&5
100082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100083 if eval "test \"\${$as_ac_var+set}\" = set"; then
100084 echo $ECHO_N "(cached) $ECHO_C" >&6
100086 if test x$gcc_no_link = xyes; then
100087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100089 { (exit 1); exit 1; }; }
100091 cat >conftest.$ac_ext <<_ACEOF
100092 /* confdefs.h. */
100093 _ACEOF
100094 cat confdefs.h >>conftest.$ac_ext
100095 cat >>conftest.$ac_ext <<_ACEOF
100096 /* end confdefs.h. */
100097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100099 #define $ac_func innocuous_$ac_func
100101 /* System header to define __stub macros and hopefully few prototypes,
100102 which can conflict with char $ac_func (); below.
100103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100104 <limits.h> exists even on freestanding compilers. */
100106 #ifdef __STDC__
100107 # include <limits.h>
100108 #else
100109 # include <assert.h>
100110 #endif
100112 #undef $ac_func
100114 /* Override any gcc2 internal prototype to avoid an error. */
100115 #ifdef __cplusplus
100116 extern "C"
100118 #endif
100119 /* We use char because int might match the return type of a gcc2
100120 builtin and then its argument prototype would still apply. */
100121 char $ac_func ();
100122 /* The GNU C library defines this for functions which it implements
100123 to always fail with ENOSYS. Some functions are actually named
100124 something starting with __ and the normal name is an alias. */
100125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100126 choke me
100127 #else
100128 char (*f) () = $ac_func;
100129 #endif
100130 #ifdef __cplusplus
100132 #endif
100135 main ()
100137 return f != $ac_func;
100139 return 0;
100141 _ACEOF
100142 rm -f conftest.$ac_objext conftest$ac_exeext
100143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100144 (eval $ac_link) 2>conftest.er1
100145 ac_status=$?
100146 grep -v '^ *+' conftest.er1 >conftest.err
100147 rm -f conftest.er1
100148 cat conftest.err >&5
100149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100150 (exit $ac_status); } &&
100151 { ac_try='test -z "$ac_c_werror_flag"
100152 || test ! -s conftest.err'
100153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100154 (eval $ac_try) 2>&5
100155 ac_status=$?
100156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100157 (exit $ac_status); }; } &&
100158 { ac_try='test -s conftest$ac_exeext'
100159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160 (eval $ac_try) 2>&5
100161 ac_status=$?
100162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163 (exit $ac_status); }; }; then
100164 eval "$as_ac_var=yes"
100166 echo "$as_me: failed program was:" >&5
100167 sed 's/^/| /' conftest.$ac_ext >&5
100169 eval "$as_ac_var=no"
100171 rm -f conftest.err conftest.$ac_objext \
100172 conftest$ac_exeext conftest.$ac_ext
100174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100176 if test `eval echo '${'$as_ac_var'}'` = yes; then
100177 cat >>confdefs.h <<_ACEOF
100178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100179 _ACEOF
100186 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100187 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100188 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100189 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100190 echo $ECHO_N "(cached) $ECHO_C" >&6
100195 ac_ext=cc
100196 ac_cpp='$CXXCPP $CPPFLAGS'
100197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100201 cat >conftest.$ac_ext <<_ACEOF
100202 /* confdefs.h. */
100203 _ACEOF
100204 cat confdefs.h >>conftest.$ac_ext
100205 cat >>conftest.$ac_ext <<_ACEOF
100206 /* end confdefs.h. */
100207 #include <math.h>
100209 main ()
100211 _atan2l(0, 0);
100213 return 0;
100215 _ACEOF
100216 rm -f conftest.$ac_objext
100217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100218 (eval $ac_compile) 2>conftest.er1
100219 ac_status=$?
100220 grep -v '^ *+' conftest.er1 >conftest.err
100221 rm -f conftest.er1
100222 cat conftest.err >&5
100223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100224 (exit $ac_status); } &&
100225 { ac_try='test -z "$ac_cxx_werror_flag"
100226 || test ! -s conftest.err'
100227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100228 (eval $ac_try) 2>&5
100229 ac_status=$?
100230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100231 (exit $ac_status); }; } &&
100232 { ac_try='test -s conftest.$ac_objext'
100233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100234 (eval $ac_try) 2>&5
100235 ac_status=$?
100236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100237 (exit $ac_status); }; }; then
100238 glibcxx_cv_func__atan2l_use=yes
100240 echo "$as_me: failed program was:" >&5
100241 sed 's/^/| /' conftest.$ac_ext >&5
100243 glibcxx_cv_func__atan2l_use=no
100245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100246 ac_ext=c
100247 ac_cpp='$CPP $CPPFLAGS'
100248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100257 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100259 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100261 for ac_func in _atan2l
100263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100264 echo "$as_me:$LINENO: checking for $ac_func" >&5
100265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100266 if eval "test \"\${$as_ac_var+set}\" = set"; then
100267 echo $ECHO_N "(cached) $ECHO_C" >&6
100269 if test x$gcc_no_link = xyes; then
100270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100272 { (exit 1); exit 1; }; }
100274 cat >conftest.$ac_ext <<_ACEOF
100275 /* confdefs.h. */
100276 _ACEOF
100277 cat confdefs.h >>conftest.$ac_ext
100278 cat >>conftest.$ac_ext <<_ACEOF
100279 /* end confdefs.h. */
100280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100282 #define $ac_func innocuous_$ac_func
100284 /* System header to define __stub macros and hopefully few prototypes,
100285 which can conflict with char $ac_func (); below.
100286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100287 <limits.h> exists even on freestanding compilers. */
100289 #ifdef __STDC__
100290 # include <limits.h>
100291 #else
100292 # include <assert.h>
100293 #endif
100295 #undef $ac_func
100297 /* Override any gcc2 internal prototype to avoid an error. */
100298 #ifdef __cplusplus
100299 extern "C"
100301 #endif
100302 /* We use char because int might match the return type of a gcc2
100303 builtin and then its argument prototype would still apply. */
100304 char $ac_func ();
100305 /* The GNU C library defines this for functions which it implements
100306 to always fail with ENOSYS. Some functions are actually named
100307 something starting with __ and the normal name is an alias. */
100308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100309 choke me
100310 #else
100311 char (*f) () = $ac_func;
100312 #endif
100313 #ifdef __cplusplus
100315 #endif
100318 main ()
100320 return f != $ac_func;
100322 return 0;
100324 _ACEOF
100325 rm -f conftest.$ac_objext conftest$ac_exeext
100326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100327 (eval $ac_link) 2>conftest.er1
100328 ac_status=$?
100329 grep -v '^ *+' conftest.er1 >conftest.err
100330 rm -f conftest.er1
100331 cat conftest.err >&5
100332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100333 (exit $ac_status); } &&
100334 { ac_try='test -z "$ac_c_werror_flag"
100335 || test ! -s conftest.err'
100336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100337 (eval $ac_try) 2>&5
100338 ac_status=$?
100339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100340 (exit $ac_status); }; } &&
100341 { ac_try='test -s conftest$ac_exeext'
100342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100343 (eval $ac_try) 2>&5
100344 ac_status=$?
100345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100346 (exit $ac_status); }; }; then
100347 eval "$as_ac_var=yes"
100349 echo "$as_me: failed program was:" >&5
100350 sed 's/^/| /' conftest.$ac_ext >&5
100352 eval "$as_ac_var=no"
100354 rm -f conftest.err conftest.$ac_objext \
100355 conftest$ac_exeext conftest.$ac_ext
100357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100359 if test `eval echo '${'$as_ac_var'}'` = yes; then
100360 cat >>confdefs.h <<_ACEOF
100361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100362 _ACEOF
100375 echo "$as_me:$LINENO: checking for expl declaration" >&5
100376 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100377 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100378 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100379 echo $ECHO_N "(cached) $ECHO_C" >&6
100384 ac_ext=cc
100385 ac_cpp='$CXXCPP $CPPFLAGS'
100386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100390 cat >conftest.$ac_ext <<_ACEOF
100391 /* confdefs.h. */
100392 _ACEOF
100393 cat confdefs.h >>conftest.$ac_ext
100394 cat >>conftest.$ac_ext <<_ACEOF
100395 /* end confdefs.h. */
100396 #include <math.h>
100397 #ifdef HAVE_IEEEFP_H
100398 #include <ieeefp.h>
100399 #endif
100402 main ()
100404 expl(0);
100406 return 0;
100408 _ACEOF
100409 rm -f conftest.$ac_objext
100410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100411 (eval $ac_compile) 2>conftest.er1
100412 ac_status=$?
100413 grep -v '^ *+' conftest.er1 >conftest.err
100414 rm -f conftest.er1
100415 cat conftest.err >&5
100416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100417 (exit $ac_status); } &&
100418 { ac_try='test -z "$ac_cxx_werror_flag"
100419 || test ! -s conftest.err'
100420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100421 (eval $ac_try) 2>&5
100422 ac_status=$?
100423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100424 (exit $ac_status); }; } &&
100425 { ac_try='test -s conftest.$ac_objext'
100426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100427 (eval $ac_try) 2>&5
100428 ac_status=$?
100429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100430 (exit $ac_status); }; }; then
100431 glibcxx_cv_func_expl_use=yes
100433 echo "$as_me: failed program was:" >&5
100434 sed 's/^/| /' conftest.$ac_ext >&5
100436 glibcxx_cv_func_expl_use=no
100438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100439 ac_ext=c
100440 ac_cpp='$CPP $CPPFLAGS'
100441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100450 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100452 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100454 for ac_func in expl
100456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100457 echo "$as_me:$LINENO: checking for $ac_func" >&5
100458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100459 if eval "test \"\${$as_ac_var+set}\" = set"; then
100460 echo $ECHO_N "(cached) $ECHO_C" >&6
100462 if test x$gcc_no_link = xyes; then
100463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100465 { (exit 1); exit 1; }; }
100467 cat >conftest.$ac_ext <<_ACEOF
100468 /* confdefs.h. */
100469 _ACEOF
100470 cat confdefs.h >>conftest.$ac_ext
100471 cat >>conftest.$ac_ext <<_ACEOF
100472 /* end confdefs.h. */
100473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100475 #define $ac_func innocuous_$ac_func
100477 /* System header to define __stub macros and hopefully few prototypes,
100478 which can conflict with char $ac_func (); below.
100479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100480 <limits.h> exists even on freestanding compilers. */
100482 #ifdef __STDC__
100483 # include <limits.h>
100484 #else
100485 # include <assert.h>
100486 #endif
100488 #undef $ac_func
100490 /* Override any gcc2 internal prototype to avoid an error. */
100491 #ifdef __cplusplus
100492 extern "C"
100494 #endif
100495 /* We use char because int might match the return type of a gcc2
100496 builtin and then its argument prototype would still apply. */
100497 char $ac_func ();
100498 /* The GNU C library defines this for functions which it implements
100499 to always fail with ENOSYS. Some functions are actually named
100500 something starting with __ and the normal name is an alias. */
100501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100502 choke me
100503 #else
100504 char (*f) () = $ac_func;
100505 #endif
100506 #ifdef __cplusplus
100508 #endif
100511 main ()
100513 return f != $ac_func;
100515 return 0;
100517 _ACEOF
100518 rm -f conftest.$ac_objext conftest$ac_exeext
100519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100520 (eval $ac_link) 2>conftest.er1
100521 ac_status=$?
100522 grep -v '^ *+' conftest.er1 >conftest.err
100523 rm -f conftest.er1
100524 cat conftest.err >&5
100525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100526 (exit $ac_status); } &&
100527 { ac_try='test -z "$ac_c_werror_flag"
100528 || test ! -s conftest.err'
100529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100530 (eval $ac_try) 2>&5
100531 ac_status=$?
100532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100533 (exit $ac_status); }; } &&
100534 { ac_try='test -s conftest$ac_exeext'
100535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100536 (eval $ac_try) 2>&5
100537 ac_status=$?
100538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100539 (exit $ac_status); }; }; then
100540 eval "$as_ac_var=yes"
100542 echo "$as_me: failed program was:" >&5
100543 sed 's/^/| /' conftest.$ac_ext >&5
100545 eval "$as_ac_var=no"
100547 rm -f conftest.err conftest.$ac_objext \
100548 conftest$ac_exeext conftest.$ac_ext
100550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100552 if test `eval echo '${'$as_ac_var'}'` = yes; then
100553 cat >>confdefs.h <<_ACEOF
100554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100555 _ACEOF
100562 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100563 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100564 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100565 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100566 echo $ECHO_N "(cached) $ECHO_C" >&6
100571 ac_ext=cc
100572 ac_cpp='$CXXCPP $CPPFLAGS'
100573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100577 cat >conftest.$ac_ext <<_ACEOF
100578 /* confdefs.h. */
100579 _ACEOF
100580 cat confdefs.h >>conftest.$ac_ext
100581 cat >>conftest.$ac_ext <<_ACEOF
100582 /* end confdefs.h. */
100583 #include <math.h>
100584 #ifdef HAVE_IEEEFP_H
100585 #include <ieeefp.h>
100586 #endif
100589 main ()
100591 _expl(0);
100593 return 0;
100595 _ACEOF
100596 rm -f conftest.$ac_objext
100597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100598 (eval $ac_compile) 2>conftest.er1
100599 ac_status=$?
100600 grep -v '^ *+' conftest.er1 >conftest.err
100601 rm -f conftest.er1
100602 cat conftest.err >&5
100603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100604 (exit $ac_status); } &&
100605 { ac_try='test -z "$ac_cxx_werror_flag"
100606 || test ! -s conftest.err'
100607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100608 (eval $ac_try) 2>&5
100609 ac_status=$?
100610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100611 (exit $ac_status); }; } &&
100612 { ac_try='test -s conftest.$ac_objext'
100613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100614 (eval $ac_try) 2>&5
100615 ac_status=$?
100616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100617 (exit $ac_status); }; }; then
100618 glibcxx_cv_func__expl_use=yes
100620 echo "$as_me: failed program was:" >&5
100621 sed 's/^/| /' conftest.$ac_ext >&5
100623 glibcxx_cv_func__expl_use=no
100625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100626 ac_ext=c
100627 ac_cpp='$CPP $CPPFLAGS'
100628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100637 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100639 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100641 for ac_func in _expl
100643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100644 echo "$as_me:$LINENO: checking for $ac_func" >&5
100645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100646 if eval "test \"\${$as_ac_var+set}\" = set"; then
100647 echo $ECHO_N "(cached) $ECHO_C" >&6
100649 if test x$gcc_no_link = xyes; then
100650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100652 { (exit 1); exit 1; }; }
100654 cat >conftest.$ac_ext <<_ACEOF
100655 /* confdefs.h. */
100656 _ACEOF
100657 cat confdefs.h >>conftest.$ac_ext
100658 cat >>conftest.$ac_ext <<_ACEOF
100659 /* end confdefs.h. */
100660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100662 #define $ac_func innocuous_$ac_func
100664 /* System header to define __stub macros and hopefully few prototypes,
100665 which can conflict with char $ac_func (); below.
100666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100667 <limits.h> exists even on freestanding compilers. */
100669 #ifdef __STDC__
100670 # include <limits.h>
100671 #else
100672 # include <assert.h>
100673 #endif
100675 #undef $ac_func
100677 /* Override any gcc2 internal prototype to avoid an error. */
100678 #ifdef __cplusplus
100679 extern "C"
100681 #endif
100682 /* We use char because int might match the return type of a gcc2
100683 builtin and then its argument prototype would still apply. */
100684 char $ac_func ();
100685 /* The GNU C library defines this for functions which it implements
100686 to always fail with ENOSYS. Some functions are actually named
100687 something starting with __ and the normal name is an alias. */
100688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100689 choke me
100690 #else
100691 char (*f) () = $ac_func;
100692 #endif
100693 #ifdef __cplusplus
100695 #endif
100698 main ()
100700 return f != $ac_func;
100702 return 0;
100704 _ACEOF
100705 rm -f conftest.$ac_objext conftest$ac_exeext
100706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100707 (eval $ac_link) 2>conftest.er1
100708 ac_status=$?
100709 grep -v '^ *+' conftest.er1 >conftest.err
100710 rm -f conftest.er1
100711 cat conftest.err >&5
100712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100713 (exit $ac_status); } &&
100714 { ac_try='test -z "$ac_c_werror_flag"
100715 || test ! -s conftest.err'
100716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100717 (eval $ac_try) 2>&5
100718 ac_status=$?
100719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100720 (exit $ac_status); }; } &&
100721 { ac_try='test -s conftest$ac_exeext'
100722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100723 (eval $ac_try) 2>&5
100724 ac_status=$?
100725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100726 (exit $ac_status); }; }; then
100727 eval "$as_ac_var=yes"
100729 echo "$as_me: failed program was:" >&5
100730 sed 's/^/| /' conftest.$ac_ext >&5
100732 eval "$as_ac_var=no"
100734 rm -f conftest.err conftest.$ac_objext \
100735 conftest$ac_exeext conftest.$ac_ext
100737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100739 if test `eval echo '${'$as_ac_var'}'` = yes; then
100740 cat >>confdefs.h <<_ACEOF
100741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100742 _ACEOF
100755 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100756 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100757 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100758 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100759 echo $ECHO_N "(cached) $ECHO_C" >&6
100764 ac_ext=cc
100765 ac_cpp='$CXXCPP $CPPFLAGS'
100766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100770 cat >conftest.$ac_ext <<_ACEOF
100771 /* confdefs.h. */
100772 _ACEOF
100773 cat confdefs.h >>conftest.$ac_ext
100774 cat >>conftest.$ac_ext <<_ACEOF
100775 /* end confdefs.h. */
100776 #include <math.h>
100777 #ifdef HAVE_IEEEFP_H
100778 #include <ieeefp.h>
100779 #endif
100782 main ()
100784 fabsl(0);
100786 return 0;
100788 _ACEOF
100789 rm -f conftest.$ac_objext
100790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100791 (eval $ac_compile) 2>conftest.er1
100792 ac_status=$?
100793 grep -v '^ *+' conftest.er1 >conftest.err
100794 rm -f conftest.er1
100795 cat conftest.err >&5
100796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100797 (exit $ac_status); } &&
100798 { ac_try='test -z "$ac_cxx_werror_flag"
100799 || test ! -s conftest.err'
100800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100801 (eval $ac_try) 2>&5
100802 ac_status=$?
100803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100804 (exit $ac_status); }; } &&
100805 { ac_try='test -s conftest.$ac_objext'
100806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100807 (eval $ac_try) 2>&5
100808 ac_status=$?
100809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100810 (exit $ac_status); }; }; then
100811 glibcxx_cv_func_fabsl_use=yes
100813 echo "$as_me: failed program was:" >&5
100814 sed 's/^/| /' conftest.$ac_ext >&5
100816 glibcxx_cv_func_fabsl_use=no
100818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100819 ac_ext=c
100820 ac_cpp='$CPP $CPPFLAGS'
100821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100830 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100832 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100834 for ac_func in fabsl
100836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100837 echo "$as_me:$LINENO: checking for $ac_func" >&5
100838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100839 if eval "test \"\${$as_ac_var+set}\" = set"; then
100840 echo $ECHO_N "(cached) $ECHO_C" >&6
100842 if test x$gcc_no_link = xyes; then
100843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100845 { (exit 1); exit 1; }; }
100847 cat >conftest.$ac_ext <<_ACEOF
100848 /* confdefs.h. */
100849 _ACEOF
100850 cat confdefs.h >>conftest.$ac_ext
100851 cat >>conftest.$ac_ext <<_ACEOF
100852 /* end confdefs.h. */
100853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100855 #define $ac_func innocuous_$ac_func
100857 /* System header to define __stub macros and hopefully few prototypes,
100858 which can conflict with char $ac_func (); below.
100859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100860 <limits.h> exists even on freestanding compilers. */
100862 #ifdef __STDC__
100863 # include <limits.h>
100864 #else
100865 # include <assert.h>
100866 #endif
100868 #undef $ac_func
100870 /* Override any gcc2 internal prototype to avoid an error. */
100871 #ifdef __cplusplus
100872 extern "C"
100874 #endif
100875 /* We use char because int might match the return type of a gcc2
100876 builtin and then its argument prototype would still apply. */
100877 char $ac_func ();
100878 /* The GNU C library defines this for functions which it implements
100879 to always fail with ENOSYS. Some functions are actually named
100880 something starting with __ and the normal name is an alias. */
100881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100882 choke me
100883 #else
100884 char (*f) () = $ac_func;
100885 #endif
100886 #ifdef __cplusplus
100888 #endif
100891 main ()
100893 return f != $ac_func;
100895 return 0;
100897 _ACEOF
100898 rm -f conftest.$ac_objext conftest$ac_exeext
100899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100900 (eval $ac_link) 2>conftest.er1
100901 ac_status=$?
100902 grep -v '^ *+' conftest.er1 >conftest.err
100903 rm -f conftest.er1
100904 cat conftest.err >&5
100905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100906 (exit $ac_status); } &&
100907 { ac_try='test -z "$ac_c_werror_flag"
100908 || test ! -s conftest.err'
100909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100910 (eval $ac_try) 2>&5
100911 ac_status=$?
100912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100913 (exit $ac_status); }; } &&
100914 { ac_try='test -s conftest$ac_exeext'
100915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100916 (eval $ac_try) 2>&5
100917 ac_status=$?
100918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100919 (exit $ac_status); }; }; then
100920 eval "$as_ac_var=yes"
100922 echo "$as_me: failed program was:" >&5
100923 sed 's/^/| /' conftest.$ac_ext >&5
100925 eval "$as_ac_var=no"
100927 rm -f conftest.err conftest.$ac_objext \
100928 conftest$ac_exeext conftest.$ac_ext
100930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100932 if test `eval echo '${'$as_ac_var'}'` = yes; then
100933 cat >>confdefs.h <<_ACEOF
100934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100935 _ACEOF
100942 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100943 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100944 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100945 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100946 echo $ECHO_N "(cached) $ECHO_C" >&6
100951 ac_ext=cc
100952 ac_cpp='$CXXCPP $CPPFLAGS'
100953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100957 cat >conftest.$ac_ext <<_ACEOF
100958 /* confdefs.h. */
100959 _ACEOF
100960 cat confdefs.h >>conftest.$ac_ext
100961 cat >>conftest.$ac_ext <<_ACEOF
100962 /* end confdefs.h. */
100963 #include <math.h>
100964 #ifdef HAVE_IEEEFP_H
100965 #include <ieeefp.h>
100966 #endif
100969 main ()
100971 _fabsl(0);
100973 return 0;
100975 _ACEOF
100976 rm -f conftest.$ac_objext
100977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100978 (eval $ac_compile) 2>conftest.er1
100979 ac_status=$?
100980 grep -v '^ *+' conftest.er1 >conftest.err
100981 rm -f conftest.er1
100982 cat conftest.err >&5
100983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100984 (exit $ac_status); } &&
100985 { ac_try='test -z "$ac_cxx_werror_flag"
100986 || test ! -s conftest.err'
100987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100988 (eval $ac_try) 2>&5
100989 ac_status=$?
100990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991 (exit $ac_status); }; } &&
100992 { ac_try='test -s conftest.$ac_objext'
100993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100994 (eval $ac_try) 2>&5
100995 ac_status=$?
100996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100997 (exit $ac_status); }; }; then
100998 glibcxx_cv_func__fabsl_use=yes
101000 echo "$as_me: failed program was:" >&5
101001 sed 's/^/| /' conftest.$ac_ext >&5
101003 glibcxx_cv_func__fabsl_use=no
101005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101006 ac_ext=c
101007 ac_cpp='$CPP $CPPFLAGS'
101008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101017 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101019 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101021 for ac_func in _fabsl
101023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101024 echo "$as_me:$LINENO: checking for $ac_func" >&5
101025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101026 if eval "test \"\${$as_ac_var+set}\" = set"; then
101027 echo $ECHO_N "(cached) $ECHO_C" >&6
101029 if test x$gcc_no_link = xyes; then
101030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101032 { (exit 1); exit 1; }; }
101034 cat >conftest.$ac_ext <<_ACEOF
101035 /* confdefs.h. */
101036 _ACEOF
101037 cat confdefs.h >>conftest.$ac_ext
101038 cat >>conftest.$ac_ext <<_ACEOF
101039 /* end confdefs.h. */
101040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101042 #define $ac_func innocuous_$ac_func
101044 /* System header to define __stub macros and hopefully few prototypes,
101045 which can conflict with char $ac_func (); below.
101046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101047 <limits.h> exists even on freestanding compilers. */
101049 #ifdef __STDC__
101050 # include <limits.h>
101051 #else
101052 # include <assert.h>
101053 #endif
101055 #undef $ac_func
101057 /* Override any gcc2 internal prototype to avoid an error. */
101058 #ifdef __cplusplus
101059 extern "C"
101061 #endif
101062 /* We use char because int might match the return type of a gcc2
101063 builtin and then its argument prototype would still apply. */
101064 char $ac_func ();
101065 /* The GNU C library defines this for functions which it implements
101066 to always fail with ENOSYS. Some functions are actually named
101067 something starting with __ and the normal name is an alias. */
101068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101069 choke me
101070 #else
101071 char (*f) () = $ac_func;
101072 #endif
101073 #ifdef __cplusplus
101075 #endif
101078 main ()
101080 return f != $ac_func;
101082 return 0;
101084 _ACEOF
101085 rm -f conftest.$ac_objext conftest$ac_exeext
101086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101087 (eval $ac_link) 2>conftest.er1
101088 ac_status=$?
101089 grep -v '^ *+' conftest.er1 >conftest.err
101090 rm -f conftest.er1
101091 cat conftest.err >&5
101092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101093 (exit $ac_status); } &&
101094 { ac_try='test -z "$ac_c_werror_flag"
101095 || test ! -s conftest.err'
101096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101097 (eval $ac_try) 2>&5
101098 ac_status=$?
101099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101100 (exit $ac_status); }; } &&
101101 { ac_try='test -s conftest$ac_exeext'
101102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101103 (eval $ac_try) 2>&5
101104 ac_status=$?
101105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101106 (exit $ac_status); }; }; then
101107 eval "$as_ac_var=yes"
101109 echo "$as_me: failed program was:" >&5
101110 sed 's/^/| /' conftest.$ac_ext >&5
101112 eval "$as_ac_var=no"
101114 rm -f conftest.err conftest.$ac_objext \
101115 conftest$ac_exeext conftest.$ac_ext
101117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101119 if test `eval echo '${'$as_ac_var'}'` = yes; then
101120 cat >>confdefs.h <<_ACEOF
101121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101122 _ACEOF
101135 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101136 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101137 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101138 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101139 echo $ECHO_N "(cached) $ECHO_C" >&6
101144 ac_ext=cc
101145 ac_cpp='$CXXCPP $CPPFLAGS'
101146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101150 cat >conftest.$ac_ext <<_ACEOF
101151 /* confdefs.h. */
101152 _ACEOF
101153 cat confdefs.h >>conftest.$ac_ext
101154 cat >>conftest.$ac_ext <<_ACEOF
101155 /* end confdefs.h. */
101156 #include <math.h>
101158 main ()
101160 fmodl(0, 0);
101162 return 0;
101164 _ACEOF
101165 rm -f conftest.$ac_objext
101166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101167 (eval $ac_compile) 2>conftest.er1
101168 ac_status=$?
101169 grep -v '^ *+' conftest.er1 >conftest.err
101170 rm -f conftest.er1
101171 cat conftest.err >&5
101172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173 (exit $ac_status); } &&
101174 { ac_try='test -z "$ac_cxx_werror_flag"
101175 || test ! -s conftest.err'
101176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101177 (eval $ac_try) 2>&5
101178 ac_status=$?
101179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101180 (exit $ac_status); }; } &&
101181 { ac_try='test -s conftest.$ac_objext'
101182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183 (eval $ac_try) 2>&5
101184 ac_status=$?
101185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186 (exit $ac_status); }; }; then
101187 glibcxx_cv_func_fmodl_use=yes
101189 echo "$as_me: failed program was:" >&5
101190 sed 's/^/| /' conftest.$ac_ext >&5
101192 glibcxx_cv_func_fmodl_use=no
101194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101195 ac_ext=c
101196 ac_cpp='$CPP $CPPFLAGS'
101197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101206 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101208 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101210 for ac_func in fmodl
101212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101213 echo "$as_me:$LINENO: checking for $ac_func" >&5
101214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101215 if eval "test \"\${$as_ac_var+set}\" = set"; then
101216 echo $ECHO_N "(cached) $ECHO_C" >&6
101218 if test x$gcc_no_link = xyes; then
101219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101221 { (exit 1); exit 1; }; }
101223 cat >conftest.$ac_ext <<_ACEOF
101224 /* confdefs.h. */
101225 _ACEOF
101226 cat confdefs.h >>conftest.$ac_ext
101227 cat >>conftest.$ac_ext <<_ACEOF
101228 /* end confdefs.h. */
101229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101231 #define $ac_func innocuous_$ac_func
101233 /* System header to define __stub macros and hopefully few prototypes,
101234 which can conflict with char $ac_func (); below.
101235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101236 <limits.h> exists even on freestanding compilers. */
101238 #ifdef __STDC__
101239 # include <limits.h>
101240 #else
101241 # include <assert.h>
101242 #endif
101244 #undef $ac_func
101246 /* Override any gcc2 internal prototype to avoid an error. */
101247 #ifdef __cplusplus
101248 extern "C"
101250 #endif
101251 /* We use char because int might match the return type of a gcc2
101252 builtin and then its argument prototype would still apply. */
101253 char $ac_func ();
101254 /* The GNU C library defines this for functions which it implements
101255 to always fail with ENOSYS. Some functions are actually named
101256 something starting with __ and the normal name is an alias. */
101257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101258 choke me
101259 #else
101260 char (*f) () = $ac_func;
101261 #endif
101262 #ifdef __cplusplus
101264 #endif
101267 main ()
101269 return f != $ac_func;
101271 return 0;
101273 _ACEOF
101274 rm -f conftest.$ac_objext conftest$ac_exeext
101275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101276 (eval $ac_link) 2>conftest.er1
101277 ac_status=$?
101278 grep -v '^ *+' conftest.er1 >conftest.err
101279 rm -f conftest.er1
101280 cat conftest.err >&5
101281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282 (exit $ac_status); } &&
101283 { ac_try='test -z "$ac_c_werror_flag"
101284 || test ! -s conftest.err'
101285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101286 (eval $ac_try) 2>&5
101287 ac_status=$?
101288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101289 (exit $ac_status); }; } &&
101290 { ac_try='test -s conftest$ac_exeext'
101291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292 (eval $ac_try) 2>&5
101293 ac_status=$?
101294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295 (exit $ac_status); }; }; then
101296 eval "$as_ac_var=yes"
101298 echo "$as_me: failed program was:" >&5
101299 sed 's/^/| /' conftest.$ac_ext >&5
101301 eval "$as_ac_var=no"
101303 rm -f conftest.err conftest.$ac_objext \
101304 conftest$ac_exeext conftest.$ac_ext
101306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101308 if test `eval echo '${'$as_ac_var'}'` = yes; then
101309 cat >>confdefs.h <<_ACEOF
101310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101311 _ACEOF
101318 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101319 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101320 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101321 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101322 echo $ECHO_N "(cached) $ECHO_C" >&6
101327 ac_ext=cc
101328 ac_cpp='$CXXCPP $CPPFLAGS'
101329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101333 cat >conftest.$ac_ext <<_ACEOF
101334 /* confdefs.h. */
101335 _ACEOF
101336 cat confdefs.h >>conftest.$ac_ext
101337 cat >>conftest.$ac_ext <<_ACEOF
101338 /* end confdefs.h. */
101339 #include <math.h>
101341 main ()
101343 _fmodl(0, 0);
101345 return 0;
101347 _ACEOF
101348 rm -f conftest.$ac_objext
101349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101350 (eval $ac_compile) 2>conftest.er1
101351 ac_status=$?
101352 grep -v '^ *+' conftest.er1 >conftest.err
101353 rm -f conftest.er1
101354 cat conftest.err >&5
101355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101356 (exit $ac_status); } &&
101357 { ac_try='test -z "$ac_cxx_werror_flag"
101358 || test ! -s conftest.err'
101359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101360 (eval $ac_try) 2>&5
101361 ac_status=$?
101362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101363 (exit $ac_status); }; } &&
101364 { ac_try='test -s conftest.$ac_objext'
101365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101366 (eval $ac_try) 2>&5
101367 ac_status=$?
101368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101369 (exit $ac_status); }; }; then
101370 glibcxx_cv_func__fmodl_use=yes
101372 echo "$as_me: failed program was:" >&5
101373 sed 's/^/| /' conftest.$ac_ext >&5
101375 glibcxx_cv_func__fmodl_use=no
101377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101378 ac_ext=c
101379 ac_cpp='$CPP $CPPFLAGS'
101380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101389 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101391 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101393 for ac_func in _fmodl
101395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101396 echo "$as_me:$LINENO: checking for $ac_func" >&5
101397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101398 if eval "test \"\${$as_ac_var+set}\" = set"; then
101399 echo $ECHO_N "(cached) $ECHO_C" >&6
101401 if test x$gcc_no_link = xyes; then
101402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101404 { (exit 1); exit 1; }; }
101406 cat >conftest.$ac_ext <<_ACEOF
101407 /* confdefs.h. */
101408 _ACEOF
101409 cat confdefs.h >>conftest.$ac_ext
101410 cat >>conftest.$ac_ext <<_ACEOF
101411 /* end confdefs.h. */
101412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101414 #define $ac_func innocuous_$ac_func
101416 /* System header to define __stub macros and hopefully few prototypes,
101417 which can conflict with char $ac_func (); below.
101418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101419 <limits.h> exists even on freestanding compilers. */
101421 #ifdef __STDC__
101422 # include <limits.h>
101423 #else
101424 # include <assert.h>
101425 #endif
101427 #undef $ac_func
101429 /* Override any gcc2 internal prototype to avoid an error. */
101430 #ifdef __cplusplus
101431 extern "C"
101433 #endif
101434 /* We use char because int might match the return type of a gcc2
101435 builtin and then its argument prototype would still apply. */
101436 char $ac_func ();
101437 /* The GNU C library defines this for functions which it implements
101438 to always fail with ENOSYS. Some functions are actually named
101439 something starting with __ and the normal name is an alias. */
101440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101441 choke me
101442 #else
101443 char (*f) () = $ac_func;
101444 #endif
101445 #ifdef __cplusplus
101447 #endif
101450 main ()
101452 return f != $ac_func;
101454 return 0;
101456 _ACEOF
101457 rm -f conftest.$ac_objext conftest$ac_exeext
101458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101459 (eval $ac_link) 2>conftest.er1
101460 ac_status=$?
101461 grep -v '^ *+' conftest.er1 >conftest.err
101462 rm -f conftest.er1
101463 cat conftest.err >&5
101464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101465 (exit $ac_status); } &&
101466 { ac_try='test -z "$ac_c_werror_flag"
101467 || test ! -s conftest.err'
101468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101469 (eval $ac_try) 2>&5
101470 ac_status=$?
101471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101472 (exit $ac_status); }; } &&
101473 { ac_try='test -s conftest$ac_exeext'
101474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101475 (eval $ac_try) 2>&5
101476 ac_status=$?
101477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101478 (exit $ac_status); }; }; then
101479 eval "$as_ac_var=yes"
101481 echo "$as_me: failed program was:" >&5
101482 sed 's/^/| /' conftest.$ac_ext >&5
101484 eval "$as_ac_var=no"
101486 rm -f conftest.err conftest.$ac_objext \
101487 conftest$ac_exeext conftest.$ac_ext
101489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101491 if test `eval echo '${'$as_ac_var'}'` = yes; then
101492 cat >>confdefs.h <<_ACEOF
101493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101494 _ACEOF
101507 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101508 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101510 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101511 echo $ECHO_N "(cached) $ECHO_C" >&6
101516 ac_ext=cc
101517 ac_cpp='$CXXCPP $CPPFLAGS'
101518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101522 cat >conftest.$ac_ext <<_ACEOF
101523 /* confdefs.h. */
101524 _ACEOF
101525 cat confdefs.h >>conftest.$ac_ext
101526 cat >>conftest.$ac_ext <<_ACEOF
101527 /* end confdefs.h. */
101528 #include <math.h>
101530 main ()
101532 frexpl(0, 0);
101534 return 0;
101536 _ACEOF
101537 rm -f conftest.$ac_objext
101538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101539 (eval $ac_compile) 2>conftest.er1
101540 ac_status=$?
101541 grep -v '^ *+' conftest.er1 >conftest.err
101542 rm -f conftest.er1
101543 cat conftest.err >&5
101544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101545 (exit $ac_status); } &&
101546 { ac_try='test -z "$ac_cxx_werror_flag"
101547 || test ! -s conftest.err'
101548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101549 (eval $ac_try) 2>&5
101550 ac_status=$?
101551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101552 (exit $ac_status); }; } &&
101553 { ac_try='test -s conftest.$ac_objext'
101554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101555 (eval $ac_try) 2>&5
101556 ac_status=$?
101557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101558 (exit $ac_status); }; }; then
101559 glibcxx_cv_func_frexpl_use=yes
101561 echo "$as_me: failed program was:" >&5
101562 sed 's/^/| /' conftest.$ac_ext >&5
101564 glibcxx_cv_func_frexpl_use=no
101566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101567 ac_ext=c
101568 ac_cpp='$CPP $CPPFLAGS'
101569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101578 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101580 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101582 for ac_func in frexpl
101584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101585 echo "$as_me:$LINENO: checking for $ac_func" >&5
101586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101587 if eval "test \"\${$as_ac_var+set}\" = set"; then
101588 echo $ECHO_N "(cached) $ECHO_C" >&6
101590 if test x$gcc_no_link = xyes; then
101591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101593 { (exit 1); exit 1; }; }
101595 cat >conftest.$ac_ext <<_ACEOF
101596 /* confdefs.h. */
101597 _ACEOF
101598 cat confdefs.h >>conftest.$ac_ext
101599 cat >>conftest.$ac_ext <<_ACEOF
101600 /* end confdefs.h. */
101601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101603 #define $ac_func innocuous_$ac_func
101605 /* System header to define __stub macros and hopefully few prototypes,
101606 which can conflict with char $ac_func (); below.
101607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101608 <limits.h> exists even on freestanding compilers. */
101610 #ifdef __STDC__
101611 # include <limits.h>
101612 #else
101613 # include <assert.h>
101614 #endif
101616 #undef $ac_func
101618 /* Override any gcc2 internal prototype to avoid an error. */
101619 #ifdef __cplusplus
101620 extern "C"
101622 #endif
101623 /* We use char because int might match the return type of a gcc2
101624 builtin and then its argument prototype would still apply. */
101625 char $ac_func ();
101626 /* The GNU C library defines this for functions which it implements
101627 to always fail with ENOSYS. Some functions are actually named
101628 something starting with __ and the normal name is an alias. */
101629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101630 choke me
101631 #else
101632 char (*f) () = $ac_func;
101633 #endif
101634 #ifdef __cplusplus
101636 #endif
101639 main ()
101641 return f != $ac_func;
101643 return 0;
101645 _ACEOF
101646 rm -f conftest.$ac_objext conftest$ac_exeext
101647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101648 (eval $ac_link) 2>conftest.er1
101649 ac_status=$?
101650 grep -v '^ *+' conftest.er1 >conftest.err
101651 rm -f conftest.er1
101652 cat conftest.err >&5
101653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101654 (exit $ac_status); } &&
101655 { ac_try='test -z "$ac_c_werror_flag"
101656 || test ! -s conftest.err'
101657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101658 (eval $ac_try) 2>&5
101659 ac_status=$?
101660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101661 (exit $ac_status); }; } &&
101662 { ac_try='test -s conftest$ac_exeext'
101663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101664 (eval $ac_try) 2>&5
101665 ac_status=$?
101666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667 (exit $ac_status); }; }; then
101668 eval "$as_ac_var=yes"
101670 echo "$as_me: failed program was:" >&5
101671 sed 's/^/| /' conftest.$ac_ext >&5
101673 eval "$as_ac_var=no"
101675 rm -f conftest.err conftest.$ac_objext \
101676 conftest$ac_exeext conftest.$ac_ext
101678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101680 if test `eval echo '${'$as_ac_var'}'` = yes; then
101681 cat >>confdefs.h <<_ACEOF
101682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101683 _ACEOF
101690 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101691 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101692 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101693 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101694 echo $ECHO_N "(cached) $ECHO_C" >&6
101699 ac_ext=cc
101700 ac_cpp='$CXXCPP $CPPFLAGS'
101701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101705 cat >conftest.$ac_ext <<_ACEOF
101706 /* confdefs.h. */
101707 _ACEOF
101708 cat confdefs.h >>conftest.$ac_ext
101709 cat >>conftest.$ac_ext <<_ACEOF
101710 /* end confdefs.h. */
101711 #include <math.h>
101713 main ()
101715 _frexpl(0, 0);
101717 return 0;
101719 _ACEOF
101720 rm -f conftest.$ac_objext
101721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101722 (eval $ac_compile) 2>conftest.er1
101723 ac_status=$?
101724 grep -v '^ *+' conftest.er1 >conftest.err
101725 rm -f conftest.er1
101726 cat conftest.err >&5
101727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101728 (exit $ac_status); } &&
101729 { ac_try='test -z "$ac_cxx_werror_flag"
101730 || test ! -s conftest.err'
101731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101732 (eval $ac_try) 2>&5
101733 ac_status=$?
101734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101735 (exit $ac_status); }; } &&
101736 { ac_try='test -s conftest.$ac_objext'
101737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101738 (eval $ac_try) 2>&5
101739 ac_status=$?
101740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101741 (exit $ac_status); }; }; then
101742 glibcxx_cv_func__frexpl_use=yes
101744 echo "$as_me: failed program was:" >&5
101745 sed 's/^/| /' conftest.$ac_ext >&5
101747 glibcxx_cv_func__frexpl_use=no
101749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101750 ac_ext=c
101751 ac_cpp='$CPP $CPPFLAGS'
101752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101761 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101763 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101765 for ac_func in _frexpl
101767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101768 echo "$as_me:$LINENO: checking for $ac_func" >&5
101769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101770 if eval "test \"\${$as_ac_var+set}\" = set"; then
101771 echo $ECHO_N "(cached) $ECHO_C" >&6
101773 if test x$gcc_no_link = xyes; then
101774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101776 { (exit 1); exit 1; }; }
101778 cat >conftest.$ac_ext <<_ACEOF
101779 /* confdefs.h. */
101780 _ACEOF
101781 cat confdefs.h >>conftest.$ac_ext
101782 cat >>conftest.$ac_ext <<_ACEOF
101783 /* end confdefs.h. */
101784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101786 #define $ac_func innocuous_$ac_func
101788 /* System header to define __stub macros and hopefully few prototypes,
101789 which can conflict with char $ac_func (); below.
101790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101791 <limits.h> exists even on freestanding compilers. */
101793 #ifdef __STDC__
101794 # include <limits.h>
101795 #else
101796 # include <assert.h>
101797 #endif
101799 #undef $ac_func
101801 /* Override any gcc2 internal prototype to avoid an error. */
101802 #ifdef __cplusplus
101803 extern "C"
101805 #endif
101806 /* We use char because int might match the return type of a gcc2
101807 builtin and then its argument prototype would still apply. */
101808 char $ac_func ();
101809 /* The GNU C library defines this for functions which it implements
101810 to always fail with ENOSYS. Some functions are actually named
101811 something starting with __ and the normal name is an alias. */
101812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101813 choke me
101814 #else
101815 char (*f) () = $ac_func;
101816 #endif
101817 #ifdef __cplusplus
101819 #endif
101822 main ()
101824 return f != $ac_func;
101826 return 0;
101828 _ACEOF
101829 rm -f conftest.$ac_objext conftest$ac_exeext
101830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101831 (eval $ac_link) 2>conftest.er1
101832 ac_status=$?
101833 grep -v '^ *+' conftest.er1 >conftest.err
101834 rm -f conftest.er1
101835 cat conftest.err >&5
101836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101837 (exit $ac_status); } &&
101838 { ac_try='test -z "$ac_c_werror_flag"
101839 || test ! -s conftest.err'
101840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101841 (eval $ac_try) 2>&5
101842 ac_status=$?
101843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101844 (exit $ac_status); }; } &&
101845 { ac_try='test -s conftest$ac_exeext'
101846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101847 (eval $ac_try) 2>&5
101848 ac_status=$?
101849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101850 (exit $ac_status); }; }; then
101851 eval "$as_ac_var=yes"
101853 echo "$as_me: failed program was:" >&5
101854 sed 's/^/| /' conftest.$ac_ext >&5
101856 eval "$as_ac_var=no"
101858 rm -f conftest.err conftest.$ac_objext \
101859 conftest$ac_exeext conftest.$ac_ext
101861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101863 if test `eval echo '${'$as_ac_var'}'` = yes; then
101864 cat >>confdefs.h <<_ACEOF
101865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101866 _ACEOF
101879 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101880 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101881 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101882 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101883 echo $ECHO_N "(cached) $ECHO_C" >&6
101888 ac_ext=cc
101889 ac_cpp='$CXXCPP $CPPFLAGS'
101890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101894 cat >conftest.$ac_ext <<_ACEOF
101895 /* confdefs.h. */
101896 _ACEOF
101897 cat confdefs.h >>conftest.$ac_ext
101898 cat >>conftest.$ac_ext <<_ACEOF
101899 /* end confdefs.h. */
101900 #include <math.h>
101902 main ()
101904 hypotl(0, 0);
101906 return 0;
101908 _ACEOF
101909 rm -f conftest.$ac_objext
101910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101911 (eval $ac_compile) 2>conftest.er1
101912 ac_status=$?
101913 grep -v '^ *+' conftest.er1 >conftest.err
101914 rm -f conftest.er1
101915 cat conftest.err >&5
101916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101917 (exit $ac_status); } &&
101918 { ac_try='test -z "$ac_cxx_werror_flag"
101919 || test ! -s conftest.err'
101920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101921 (eval $ac_try) 2>&5
101922 ac_status=$?
101923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101924 (exit $ac_status); }; } &&
101925 { ac_try='test -s conftest.$ac_objext'
101926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101927 (eval $ac_try) 2>&5
101928 ac_status=$?
101929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101930 (exit $ac_status); }; }; then
101931 glibcxx_cv_func_hypotl_use=yes
101933 echo "$as_me: failed program was:" >&5
101934 sed 's/^/| /' conftest.$ac_ext >&5
101936 glibcxx_cv_func_hypotl_use=no
101938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101939 ac_ext=c
101940 ac_cpp='$CPP $CPPFLAGS'
101941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101950 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101952 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101954 for ac_func in hypotl
101956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101957 echo "$as_me:$LINENO: checking for $ac_func" >&5
101958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101959 if eval "test \"\${$as_ac_var+set}\" = set"; then
101960 echo $ECHO_N "(cached) $ECHO_C" >&6
101962 if test x$gcc_no_link = xyes; then
101963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101965 { (exit 1); exit 1; }; }
101967 cat >conftest.$ac_ext <<_ACEOF
101968 /* confdefs.h. */
101969 _ACEOF
101970 cat confdefs.h >>conftest.$ac_ext
101971 cat >>conftest.$ac_ext <<_ACEOF
101972 /* end confdefs.h. */
101973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101975 #define $ac_func innocuous_$ac_func
101977 /* System header to define __stub macros and hopefully few prototypes,
101978 which can conflict with char $ac_func (); below.
101979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101980 <limits.h> exists even on freestanding compilers. */
101982 #ifdef __STDC__
101983 # include <limits.h>
101984 #else
101985 # include <assert.h>
101986 #endif
101988 #undef $ac_func
101990 /* Override any gcc2 internal prototype to avoid an error. */
101991 #ifdef __cplusplus
101992 extern "C"
101994 #endif
101995 /* We use char because int might match the return type of a gcc2
101996 builtin and then its argument prototype would still apply. */
101997 char $ac_func ();
101998 /* The GNU C library defines this for functions which it implements
101999 to always fail with ENOSYS. Some functions are actually named
102000 something starting with __ and the normal name is an alias. */
102001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102002 choke me
102003 #else
102004 char (*f) () = $ac_func;
102005 #endif
102006 #ifdef __cplusplus
102008 #endif
102011 main ()
102013 return f != $ac_func;
102015 return 0;
102017 _ACEOF
102018 rm -f conftest.$ac_objext conftest$ac_exeext
102019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102020 (eval $ac_link) 2>conftest.er1
102021 ac_status=$?
102022 grep -v '^ *+' conftest.er1 >conftest.err
102023 rm -f conftest.er1
102024 cat conftest.err >&5
102025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102026 (exit $ac_status); } &&
102027 { ac_try='test -z "$ac_c_werror_flag"
102028 || test ! -s conftest.err'
102029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102030 (eval $ac_try) 2>&5
102031 ac_status=$?
102032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102033 (exit $ac_status); }; } &&
102034 { ac_try='test -s conftest$ac_exeext'
102035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102036 (eval $ac_try) 2>&5
102037 ac_status=$?
102038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102039 (exit $ac_status); }; }; then
102040 eval "$as_ac_var=yes"
102042 echo "$as_me: failed program was:" >&5
102043 sed 's/^/| /' conftest.$ac_ext >&5
102045 eval "$as_ac_var=no"
102047 rm -f conftest.err conftest.$ac_objext \
102048 conftest$ac_exeext conftest.$ac_ext
102050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102052 if test `eval echo '${'$as_ac_var'}'` = yes; then
102053 cat >>confdefs.h <<_ACEOF
102054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102055 _ACEOF
102062 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102063 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102064 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102065 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102066 echo $ECHO_N "(cached) $ECHO_C" >&6
102071 ac_ext=cc
102072 ac_cpp='$CXXCPP $CPPFLAGS'
102073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102077 cat >conftest.$ac_ext <<_ACEOF
102078 /* confdefs.h. */
102079 _ACEOF
102080 cat confdefs.h >>conftest.$ac_ext
102081 cat >>conftest.$ac_ext <<_ACEOF
102082 /* end confdefs.h. */
102083 #include <math.h>
102085 main ()
102087 _hypotl(0, 0);
102089 return 0;
102091 _ACEOF
102092 rm -f conftest.$ac_objext
102093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102094 (eval $ac_compile) 2>conftest.er1
102095 ac_status=$?
102096 grep -v '^ *+' conftest.er1 >conftest.err
102097 rm -f conftest.er1
102098 cat conftest.err >&5
102099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102100 (exit $ac_status); } &&
102101 { ac_try='test -z "$ac_cxx_werror_flag"
102102 || test ! -s conftest.err'
102103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102104 (eval $ac_try) 2>&5
102105 ac_status=$?
102106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102107 (exit $ac_status); }; } &&
102108 { ac_try='test -s conftest.$ac_objext'
102109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102110 (eval $ac_try) 2>&5
102111 ac_status=$?
102112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102113 (exit $ac_status); }; }; then
102114 glibcxx_cv_func__hypotl_use=yes
102116 echo "$as_me: failed program was:" >&5
102117 sed 's/^/| /' conftest.$ac_ext >&5
102119 glibcxx_cv_func__hypotl_use=no
102121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102122 ac_ext=c
102123 ac_cpp='$CPP $CPPFLAGS'
102124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102133 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102135 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102137 for ac_func in _hypotl
102139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102140 echo "$as_me:$LINENO: checking for $ac_func" >&5
102141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102142 if eval "test \"\${$as_ac_var+set}\" = set"; then
102143 echo $ECHO_N "(cached) $ECHO_C" >&6
102145 if test x$gcc_no_link = xyes; then
102146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102148 { (exit 1); exit 1; }; }
102150 cat >conftest.$ac_ext <<_ACEOF
102151 /* confdefs.h. */
102152 _ACEOF
102153 cat confdefs.h >>conftest.$ac_ext
102154 cat >>conftest.$ac_ext <<_ACEOF
102155 /* end confdefs.h. */
102156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102158 #define $ac_func innocuous_$ac_func
102160 /* System header to define __stub macros and hopefully few prototypes,
102161 which can conflict with char $ac_func (); below.
102162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102163 <limits.h> exists even on freestanding compilers. */
102165 #ifdef __STDC__
102166 # include <limits.h>
102167 #else
102168 # include <assert.h>
102169 #endif
102171 #undef $ac_func
102173 /* Override any gcc2 internal prototype to avoid an error. */
102174 #ifdef __cplusplus
102175 extern "C"
102177 #endif
102178 /* We use char because int might match the return type of a gcc2
102179 builtin and then its argument prototype would still apply. */
102180 char $ac_func ();
102181 /* The GNU C library defines this for functions which it implements
102182 to always fail with ENOSYS. Some functions are actually named
102183 something starting with __ and the normal name is an alias. */
102184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102185 choke me
102186 #else
102187 char (*f) () = $ac_func;
102188 #endif
102189 #ifdef __cplusplus
102191 #endif
102194 main ()
102196 return f != $ac_func;
102198 return 0;
102200 _ACEOF
102201 rm -f conftest.$ac_objext conftest$ac_exeext
102202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102203 (eval $ac_link) 2>conftest.er1
102204 ac_status=$?
102205 grep -v '^ *+' conftest.er1 >conftest.err
102206 rm -f conftest.er1
102207 cat conftest.err >&5
102208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102209 (exit $ac_status); } &&
102210 { ac_try='test -z "$ac_c_werror_flag"
102211 || test ! -s conftest.err'
102212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102213 (eval $ac_try) 2>&5
102214 ac_status=$?
102215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102216 (exit $ac_status); }; } &&
102217 { ac_try='test -s conftest$ac_exeext'
102218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102219 (eval $ac_try) 2>&5
102220 ac_status=$?
102221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102222 (exit $ac_status); }; }; then
102223 eval "$as_ac_var=yes"
102225 echo "$as_me: failed program was:" >&5
102226 sed 's/^/| /' conftest.$ac_ext >&5
102228 eval "$as_ac_var=no"
102230 rm -f conftest.err conftest.$ac_objext \
102231 conftest$ac_exeext conftest.$ac_ext
102233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102235 if test `eval echo '${'$as_ac_var'}'` = yes; then
102236 cat >>confdefs.h <<_ACEOF
102237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102238 _ACEOF
102251 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102252 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102253 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102254 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102255 echo $ECHO_N "(cached) $ECHO_C" >&6
102260 ac_ext=cc
102261 ac_cpp='$CXXCPP $CPPFLAGS'
102262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102266 cat >conftest.$ac_ext <<_ACEOF
102267 /* confdefs.h. */
102268 _ACEOF
102269 cat confdefs.h >>conftest.$ac_ext
102270 cat >>conftest.$ac_ext <<_ACEOF
102271 /* end confdefs.h. */
102272 #include <math.h>
102274 main ()
102276 ldexpl(0, 0);
102278 return 0;
102280 _ACEOF
102281 rm -f conftest.$ac_objext
102282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102283 (eval $ac_compile) 2>conftest.er1
102284 ac_status=$?
102285 grep -v '^ *+' conftest.er1 >conftest.err
102286 rm -f conftest.er1
102287 cat conftest.err >&5
102288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102289 (exit $ac_status); } &&
102290 { ac_try='test -z "$ac_cxx_werror_flag"
102291 || test ! -s conftest.err'
102292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102293 (eval $ac_try) 2>&5
102294 ac_status=$?
102295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102296 (exit $ac_status); }; } &&
102297 { ac_try='test -s conftest.$ac_objext'
102298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102299 (eval $ac_try) 2>&5
102300 ac_status=$?
102301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102302 (exit $ac_status); }; }; then
102303 glibcxx_cv_func_ldexpl_use=yes
102305 echo "$as_me: failed program was:" >&5
102306 sed 's/^/| /' conftest.$ac_ext >&5
102308 glibcxx_cv_func_ldexpl_use=no
102310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102311 ac_ext=c
102312 ac_cpp='$CPP $CPPFLAGS'
102313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102322 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102324 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102326 for ac_func in ldexpl
102328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102329 echo "$as_me:$LINENO: checking for $ac_func" >&5
102330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102331 if eval "test \"\${$as_ac_var+set}\" = set"; then
102332 echo $ECHO_N "(cached) $ECHO_C" >&6
102334 if test x$gcc_no_link = xyes; then
102335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102337 { (exit 1); exit 1; }; }
102339 cat >conftest.$ac_ext <<_ACEOF
102340 /* confdefs.h. */
102341 _ACEOF
102342 cat confdefs.h >>conftest.$ac_ext
102343 cat >>conftest.$ac_ext <<_ACEOF
102344 /* end confdefs.h. */
102345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102347 #define $ac_func innocuous_$ac_func
102349 /* System header to define __stub macros and hopefully few prototypes,
102350 which can conflict with char $ac_func (); below.
102351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102352 <limits.h> exists even on freestanding compilers. */
102354 #ifdef __STDC__
102355 # include <limits.h>
102356 #else
102357 # include <assert.h>
102358 #endif
102360 #undef $ac_func
102362 /* Override any gcc2 internal prototype to avoid an error. */
102363 #ifdef __cplusplus
102364 extern "C"
102366 #endif
102367 /* We use char because int might match the return type of a gcc2
102368 builtin and then its argument prototype would still apply. */
102369 char $ac_func ();
102370 /* The GNU C library defines this for functions which it implements
102371 to always fail with ENOSYS. Some functions are actually named
102372 something starting with __ and the normal name is an alias. */
102373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102374 choke me
102375 #else
102376 char (*f) () = $ac_func;
102377 #endif
102378 #ifdef __cplusplus
102380 #endif
102383 main ()
102385 return f != $ac_func;
102387 return 0;
102389 _ACEOF
102390 rm -f conftest.$ac_objext conftest$ac_exeext
102391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102392 (eval $ac_link) 2>conftest.er1
102393 ac_status=$?
102394 grep -v '^ *+' conftest.er1 >conftest.err
102395 rm -f conftest.er1
102396 cat conftest.err >&5
102397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102398 (exit $ac_status); } &&
102399 { ac_try='test -z "$ac_c_werror_flag"
102400 || test ! -s conftest.err'
102401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102402 (eval $ac_try) 2>&5
102403 ac_status=$?
102404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102405 (exit $ac_status); }; } &&
102406 { ac_try='test -s conftest$ac_exeext'
102407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102408 (eval $ac_try) 2>&5
102409 ac_status=$?
102410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102411 (exit $ac_status); }; }; then
102412 eval "$as_ac_var=yes"
102414 echo "$as_me: failed program was:" >&5
102415 sed 's/^/| /' conftest.$ac_ext >&5
102417 eval "$as_ac_var=no"
102419 rm -f conftest.err conftest.$ac_objext \
102420 conftest$ac_exeext conftest.$ac_ext
102422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102424 if test `eval echo '${'$as_ac_var'}'` = yes; then
102425 cat >>confdefs.h <<_ACEOF
102426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102427 _ACEOF
102434 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102435 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102436 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102437 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102438 echo $ECHO_N "(cached) $ECHO_C" >&6
102443 ac_ext=cc
102444 ac_cpp='$CXXCPP $CPPFLAGS'
102445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102449 cat >conftest.$ac_ext <<_ACEOF
102450 /* confdefs.h. */
102451 _ACEOF
102452 cat confdefs.h >>conftest.$ac_ext
102453 cat >>conftest.$ac_ext <<_ACEOF
102454 /* end confdefs.h. */
102455 #include <math.h>
102457 main ()
102459 _ldexpl(0, 0);
102461 return 0;
102463 _ACEOF
102464 rm -f conftest.$ac_objext
102465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102466 (eval $ac_compile) 2>conftest.er1
102467 ac_status=$?
102468 grep -v '^ *+' conftest.er1 >conftest.err
102469 rm -f conftest.er1
102470 cat conftest.err >&5
102471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102472 (exit $ac_status); } &&
102473 { ac_try='test -z "$ac_cxx_werror_flag"
102474 || test ! -s conftest.err'
102475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102476 (eval $ac_try) 2>&5
102477 ac_status=$?
102478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102479 (exit $ac_status); }; } &&
102480 { ac_try='test -s conftest.$ac_objext'
102481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102482 (eval $ac_try) 2>&5
102483 ac_status=$?
102484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102485 (exit $ac_status); }; }; then
102486 glibcxx_cv_func__ldexpl_use=yes
102488 echo "$as_me: failed program was:" >&5
102489 sed 's/^/| /' conftest.$ac_ext >&5
102491 glibcxx_cv_func__ldexpl_use=no
102493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102494 ac_ext=c
102495 ac_cpp='$CPP $CPPFLAGS'
102496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102505 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102507 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102509 for ac_func in _ldexpl
102511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102512 echo "$as_me:$LINENO: checking for $ac_func" >&5
102513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102514 if eval "test \"\${$as_ac_var+set}\" = set"; then
102515 echo $ECHO_N "(cached) $ECHO_C" >&6
102517 if test x$gcc_no_link = xyes; then
102518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102520 { (exit 1); exit 1; }; }
102522 cat >conftest.$ac_ext <<_ACEOF
102523 /* confdefs.h. */
102524 _ACEOF
102525 cat confdefs.h >>conftest.$ac_ext
102526 cat >>conftest.$ac_ext <<_ACEOF
102527 /* end confdefs.h. */
102528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102530 #define $ac_func innocuous_$ac_func
102532 /* System header to define __stub macros and hopefully few prototypes,
102533 which can conflict with char $ac_func (); below.
102534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102535 <limits.h> exists even on freestanding compilers. */
102537 #ifdef __STDC__
102538 # include <limits.h>
102539 #else
102540 # include <assert.h>
102541 #endif
102543 #undef $ac_func
102545 /* Override any gcc2 internal prototype to avoid an error. */
102546 #ifdef __cplusplus
102547 extern "C"
102549 #endif
102550 /* We use char because int might match the return type of a gcc2
102551 builtin and then its argument prototype would still apply. */
102552 char $ac_func ();
102553 /* The GNU C library defines this for functions which it implements
102554 to always fail with ENOSYS. Some functions are actually named
102555 something starting with __ and the normal name is an alias. */
102556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102557 choke me
102558 #else
102559 char (*f) () = $ac_func;
102560 #endif
102561 #ifdef __cplusplus
102563 #endif
102566 main ()
102568 return f != $ac_func;
102570 return 0;
102572 _ACEOF
102573 rm -f conftest.$ac_objext conftest$ac_exeext
102574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102575 (eval $ac_link) 2>conftest.er1
102576 ac_status=$?
102577 grep -v '^ *+' conftest.er1 >conftest.err
102578 rm -f conftest.er1
102579 cat conftest.err >&5
102580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102581 (exit $ac_status); } &&
102582 { ac_try='test -z "$ac_c_werror_flag"
102583 || test ! -s conftest.err'
102584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102585 (eval $ac_try) 2>&5
102586 ac_status=$?
102587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102588 (exit $ac_status); }; } &&
102589 { ac_try='test -s conftest$ac_exeext'
102590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102591 (eval $ac_try) 2>&5
102592 ac_status=$?
102593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102594 (exit $ac_status); }; }; then
102595 eval "$as_ac_var=yes"
102597 echo "$as_me: failed program was:" >&5
102598 sed 's/^/| /' conftest.$ac_ext >&5
102600 eval "$as_ac_var=no"
102602 rm -f conftest.err conftest.$ac_objext \
102603 conftest$ac_exeext conftest.$ac_ext
102605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102607 if test `eval echo '${'$as_ac_var'}'` = yes; then
102608 cat >>confdefs.h <<_ACEOF
102609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102610 _ACEOF
102623 echo "$as_me:$LINENO: checking for logl declaration" >&5
102624 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102625 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102626 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102627 echo $ECHO_N "(cached) $ECHO_C" >&6
102632 ac_ext=cc
102633 ac_cpp='$CXXCPP $CPPFLAGS'
102634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102638 cat >conftest.$ac_ext <<_ACEOF
102639 /* confdefs.h. */
102640 _ACEOF
102641 cat confdefs.h >>conftest.$ac_ext
102642 cat >>conftest.$ac_ext <<_ACEOF
102643 /* end confdefs.h. */
102644 #include <math.h>
102645 #ifdef HAVE_IEEEFP_H
102646 #include <ieeefp.h>
102647 #endif
102650 main ()
102652 logl(0);
102654 return 0;
102656 _ACEOF
102657 rm -f conftest.$ac_objext
102658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102659 (eval $ac_compile) 2>conftest.er1
102660 ac_status=$?
102661 grep -v '^ *+' conftest.er1 >conftest.err
102662 rm -f conftest.er1
102663 cat conftest.err >&5
102664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102665 (exit $ac_status); } &&
102666 { ac_try='test -z "$ac_cxx_werror_flag"
102667 || test ! -s conftest.err'
102668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102669 (eval $ac_try) 2>&5
102670 ac_status=$?
102671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102672 (exit $ac_status); }; } &&
102673 { ac_try='test -s conftest.$ac_objext'
102674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102675 (eval $ac_try) 2>&5
102676 ac_status=$?
102677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102678 (exit $ac_status); }; }; then
102679 glibcxx_cv_func_logl_use=yes
102681 echo "$as_me: failed program was:" >&5
102682 sed 's/^/| /' conftest.$ac_ext >&5
102684 glibcxx_cv_func_logl_use=no
102686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102687 ac_ext=c
102688 ac_cpp='$CPP $CPPFLAGS'
102689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102698 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102700 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102702 for ac_func in logl
102704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102705 echo "$as_me:$LINENO: checking for $ac_func" >&5
102706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102707 if eval "test \"\${$as_ac_var+set}\" = set"; then
102708 echo $ECHO_N "(cached) $ECHO_C" >&6
102710 if test x$gcc_no_link = xyes; then
102711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102713 { (exit 1); exit 1; }; }
102715 cat >conftest.$ac_ext <<_ACEOF
102716 /* confdefs.h. */
102717 _ACEOF
102718 cat confdefs.h >>conftest.$ac_ext
102719 cat >>conftest.$ac_ext <<_ACEOF
102720 /* end confdefs.h. */
102721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102723 #define $ac_func innocuous_$ac_func
102725 /* System header to define __stub macros and hopefully few prototypes,
102726 which can conflict with char $ac_func (); below.
102727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102728 <limits.h> exists even on freestanding compilers. */
102730 #ifdef __STDC__
102731 # include <limits.h>
102732 #else
102733 # include <assert.h>
102734 #endif
102736 #undef $ac_func
102738 /* Override any gcc2 internal prototype to avoid an error. */
102739 #ifdef __cplusplus
102740 extern "C"
102742 #endif
102743 /* We use char because int might match the return type of a gcc2
102744 builtin and then its argument prototype would still apply. */
102745 char $ac_func ();
102746 /* The GNU C library defines this for functions which it implements
102747 to always fail with ENOSYS. Some functions are actually named
102748 something starting with __ and the normal name is an alias. */
102749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102750 choke me
102751 #else
102752 char (*f) () = $ac_func;
102753 #endif
102754 #ifdef __cplusplus
102756 #endif
102759 main ()
102761 return f != $ac_func;
102763 return 0;
102765 _ACEOF
102766 rm -f conftest.$ac_objext conftest$ac_exeext
102767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102768 (eval $ac_link) 2>conftest.er1
102769 ac_status=$?
102770 grep -v '^ *+' conftest.er1 >conftest.err
102771 rm -f conftest.er1
102772 cat conftest.err >&5
102773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102774 (exit $ac_status); } &&
102775 { ac_try='test -z "$ac_c_werror_flag"
102776 || test ! -s conftest.err'
102777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102778 (eval $ac_try) 2>&5
102779 ac_status=$?
102780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102781 (exit $ac_status); }; } &&
102782 { ac_try='test -s conftest$ac_exeext'
102783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102784 (eval $ac_try) 2>&5
102785 ac_status=$?
102786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102787 (exit $ac_status); }; }; then
102788 eval "$as_ac_var=yes"
102790 echo "$as_me: failed program was:" >&5
102791 sed 's/^/| /' conftest.$ac_ext >&5
102793 eval "$as_ac_var=no"
102795 rm -f conftest.err conftest.$ac_objext \
102796 conftest$ac_exeext conftest.$ac_ext
102798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102800 if test `eval echo '${'$as_ac_var'}'` = yes; then
102801 cat >>confdefs.h <<_ACEOF
102802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102803 _ACEOF
102810 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102811 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102812 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102813 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102814 echo $ECHO_N "(cached) $ECHO_C" >&6
102819 ac_ext=cc
102820 ac_cpp='$CXXCPP $CPPFLAGS'
102821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102825 cat >conftest.$ac_ext <<_ACEOF
102826 /* confdefs.h. */
102827 _ACEOF
102828 cat confdefs.h >>conftest.$ac_ext
102829 cat >>conftest.$ac_ext <<_ACEOF
102830 /* end confdefs.h. */
102831 #include <math.h>
102832 #ifdef HAVE_IEEEFP_H
102833 #include <ieeefp.h>
102834 #endif
102837 main ()
102839 _logl(0);
102841 return 0;
102843 _ACEOF
102844 rm -f conftest.$ac_objext
102845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102846 (eval $ac_compile) 2>conftest.er1
102847 ac_status=$?
102848 grep -v '^ *+' conftest.er1 >conftest.err
102849 rm -f conftest.er1
102850 cat conftest.err >&5
102851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102852 (exit $ac_status); } &&
102853 { ac_try='test -z "$ac_cxx_werror_flag"
102854 || test ! -s conftest.err'
102855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102856 (eval $ac_try) 2>&5
102857 ac_status=$?
102858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102859 (exit $ac_status); }; } &&
102860 { ac_try='test -s conftest.$ac_objext'
102861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102862 (eval $ac_try) 2>&5
102863 ac_status=$?
102864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102865 (exit $ac_status); }; }; then
102866 glibcxx_cv_func__logl_use=yes
102868 echo "$as_me: failed program was:" >&5
102869 sed 's/^/| /' conftest.$ac_ext >&5
102871 glibcxx_cv_func__logl_use=no
102873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102874 ac_ext=c
102875 ac_cpp='$CPP $CPPFLAGS'
102876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102885 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102887 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102889 for ac_func in _logl
102891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102892 echo "$as_me:$LINENO: checking for $ac_func" >&5
102893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102894 if eval "test \"\${$as_ac_var+set}\" = set"; then
102895 echo $ECHO_N "(cached) $ECHO_C" >&6
102897 if test x$gcc_no_link = xyes; then
102898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102900 { (exit 1); exit 1; }; }
102902 cat >conftest.$ac_ext <<_ACEOF
102903 /* confdefs.h. */
102904 _ACEOF
102905 cat confdefs.h >>conftest.$ac_ext
102906 cat >>conftest.$ac_ext <<_ACEOF
102907 /* end confdefs.h. */
102908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102910 #define $ac_func innocuous_$ac_func
102912 /* System header to define __stub macros and hopefully few prototypes,
102913 which can conflict with char $ac_func (); below.
102914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102915 <limits.h> exists even on freestanding compilers. */
102917 #ifdef __STDC__
102918 # include <limits.h>
102919 #else
102920 # include <assert.h>
102921 #endif
102923 #undef $ac_func
102925 /* Override any gcc2 internal prototype to avoid an error. */
102926 #ifdef __cplusplus
102927 extern "C"
102929 #endif
102930 /* We use char because int might match the return type of a gcc2
102931 builtin and then its argument prototype would still apply. */
102932 char $ac_func ();
102933 /* The GNU C library defines this for functions which it implements
102934 to always fail with ENOSYS. Some functions are actually named
102935 something starting with __ and the normal name is an alias. */
102936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102937 choke me
102938 #else
102939 char (*f) () = $ac_func;
102940 #endif
102941 #ifdef __cplusplus
102943 #endif
102946 main ()
102948 return f != $ac_func;
102950 return 0;
102952 _ACEOF
102953 rm -f conftest.$ac_objext conftest$ac_exeext
102954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102955 (eval $ac_link) 2>conftest.er1
102956 ac_status=$?
102957 grep -v '^ *+' conftest.er1 >conftest.err
102958 rm -f conftest.er1
102959 cat conftest.err >&5
102960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102961 (exit $ac_status); } &&
102962 { ac_try='test -z "$ac_c_werror_flag"
102963 || test ! -s conftest.err'
102964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102965 (eval $ac_try) 2>&5
102966 ac_status=$?
102967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102968 (exit $ac_status); }; } &&
102969 { ac_try='test -s conftest$ac_exeext'
102970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102971 (eval $ac_try) 2>&5
102972 ac_status=$?
102973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102974 (exit $ac_status); }; }; then
102975 eval "$as_ac_var=yes"
102977 echo "$as_me: failed program was:" >&5
102978 sed 's/^/| /' conftest.$ac_ext >&5
102980 eval "$as_ac_var=no"
102982 rm -f conftest.err conftest.$ac_objext \
102983 conftest$ac_exeext conftest.$ac_ext
102985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102987 if test `eval echo '${'$as_ac_var'}'` = yes; then
102988 cat >>confdefs.h <<_ACEOF
102989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102990 _ACEOF
103003 echo "$as_me:$LINENO: checking for log10l declaration" >&5
103004 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103005 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103006 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103007 echo $ECHO_N "(cached) $ECHO_C" >&6
103012 ac_ext=cc
103013 ac_cpp='$CXXCPP $CPPFLAGS'
103014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103018 cat >conftest.$ac_ext <<_ACEOF
103019 /* confdefs.h. */
103020 _ACEOF
103021 cat confdefs.h >>conftest.$ac_ext
103022 cat >>conftest.$ac_ext <<_ACEOF
103023 /* end confdefs.h. */
103024 #include <math.h>
103025 #ifdef HAVE_IEEEFP_H
103026 #include <ieeefp.h>
103027 #endif
103030 main ()
103032 log10l(0);
103034 return 0;
103036 _ACEOF
103037 rm -f conftest.$ac_objext
103038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103039 (eval $ac_compile) 2>conftest.er1
103040 ac_status=$?
103041 grep -v '^ *+' conftest.er1 >conftest.err
103042 rm -f conftest.er1
103043 cat conftest.err >&5
103044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103045 (exit $ac_status); } &&
103046 { ac_try='test -z "$ac_cxx_werror_flag"
103047 || test ! -s conftest.err'
103048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103049 (eval $ac_try) 2>&5
103050 ac_status=$?
103051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103052 (exit $ac_status); }; } &&
103053 { ac_try='test -s conftest.$ac_objext'
103054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103055 (eval $ac_try) 2>&5
103056 ac_status=$?
103057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103058 (exit $ac_status); }; }; then
103059 glibcxx_cv_func_log10l_use=yes
103061 echo "$as_me: failed program was:" >&5
103062 sed 's/^/| /' conftest.$ac_ext >&5
103064 glibcxx_cv_func_log10l_use=no
103066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103067 ac_ext=c
103068 ac_cpp='$CPP $CPPFLAGS'
103069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103078 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103080 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103082 for ac_func in log10l
103084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103085 echo "$as_me:$LINENO: checking for $ac_func" >&5
103086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103087 if eval "test \"\${$as_ac_var+set}\" = set"; then
103088 echo $ECHO_N "(cached) $ECHO_C" >&6
103090 if test x$gcc_no_link = xyes; then
103091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103093 { (exit 1); exit 1; }; }
103095 cat >conftest.$ac_ext <<_ACEOF
103096 /* confdefs.h. */
103097 _ACEOF
103098 cat confdefs.h >>conftest.$ac_ext
103099 cat >>conftest.$ac_ext <<_ACEOF
103100 /* end confdefs.h. */
103101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103103 #define $ac_func innocuous_$ac_func
103105 /* System header to define __stub macros and hopefully few prototypes,
103106 which can conflict with char $ac_func (); below.
103107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103108 <limits.h> exists even on freestanding compilers. */
103110 #ifdef __STDC__
103111 # include <limits.h>
103112 #else
103113 # include <assert.h>
103114 #endif
103116 #undef $ac_func
103118 /* Override any gcc2 internal prototype to avoid an error. */
103119 #ifdef __cplusplus
103120 extern "C"
103122 #endif
103123 /* We use char because int might match the return type of a gcc2
103124 builtin and then its argument prototype would still apply. */
103125 char $ac_func ();
103126 /* The GNU C library defines this for functions which it implements
103127 to always fail with ENOSYS. Some functions are actually named
103128 something starting with __ and the normal name is an alias. */
103129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103130 choke me
103131 #else
103132 char (*f) () = $ac_func;
103133 #endif
103134 #ifdef __cplusplus
103136 #endif
103139 main ()
103141 return f != $ac_func;
103143 return 0;
103145 _ACEOF
103146 rm -f conftest.$ac_objext conftest$ac_exeext
103147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103148 (eval $ac_link) 2>conftest.er1
103149 ac_status=$?
103150 grep -v '^ *+' conftest.er1 >conftest.err
103151 rm -f conftest.er1
103152 cat conftest.err >&5
103153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103154 (exit $ac_status); } &&
103155 { ac_try='test -z "$ac_c_werror_flag"
103156 || test ! -s conftest.err'
103157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103158 (eval $ac_try) 2>&5
103159 ac_status=$?
103160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103161 (exit $ac_status); }; } &&
103162 { ac_try='test -s conftest$ac_exeext'
103163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103164 (eval $ac_try) 2>&5
103165 ac_status=$?
103166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103167 (exit $ac_status); }; }; then
103168 eval "$as_ac_var=yes"
103170 echo "$as_me: failed program was:" >&5
103171 sed 's/^/| /' conftest.$ac_ext >&5
103173 eval "$as_ac_var=no"
103175 rm -f conftest.err conftest.$ac_objext \
103176 conftest$ac_exeext conftest.$ac_ext
103178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103180 if test `eval echo '${'$as_ac_var'}'` = yes; then
103181 cat >>confdefs.h <<_ACEOF
103182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103183 _ACEOF
103190 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103191 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103192 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103193 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103194 echo $ECHO_N "(cached) $ECHO_C" >&6
103199 ac_ext=cc
103200 ac_cpp='$CXXCPP $CPPFLAGS'
103201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103205 cat >conftest.$ac_ext <<_ACEOF
103206 /* confdefs.h. */
103207 _ACEOF
103208 cat confdefs.h >>conftest.$ac_ext
103209 cat >>conftest.$ac_ext <<_ACEOF
103210 /* end confdefs.h. */
103211 #include <math.h>
103212 #ifdef HAVE_IEEEFP_H
103213 #include <ieeefp.h>
103214 #endif
103217 main ()
103219 _log10l(0);
103221 return 0;
103223 _ACEOF
103224 rm -f conftest.$ac_objext
103225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103226 (eval $ac_compile) 2>conftest.er1
103227 ac_status=$?
103228 grep -v '^ *+' conftest.er1 >conftest.err
103229 rm -f conftest.er1
103230 cat conftest.err >&5
103231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103232 (exit $ac_status); } &&
103233 { ac_try='test -z "$ac_cxx_werror_flag"
103234 || test ! -s conftest.err'
103235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103236 (eval $ac_try) 2>&5
103237 ac_status=$?
103238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103239 (exit $ac_status); }; } &&
103240 { ac_try='test -s conftest.$ac_objext'
103241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103242 (eval $ac_try) 2>&5
103243 ac_status=$?
103244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103245 (exit $ac_status); }; }; then
103246 glibcxx_cv_func__log10l_use=yes
103248 echo "$as_me: failed program was:" >&5
103249 sed 's/^/| /' conftest.$ac_ext >&5
103251 glibcxx_cv_func__log10l_use=no
103253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103254 ac_ext=c
103255 ac_cpp='$CPP $CPPFLAGS'
103256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103265 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103269 for ac_func in _log10l
103271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103272 echo "$as_me:$LINENO: checking for $ac_func" >&5
103273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103274 if eval "test \"\${$as_ac_var+set}\" = set"; then
103275 echo $ECHO_N "(cached) $ECHO_C" >&6
103277 if test x$gcc_no_link = xyes; then
103278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103280 { (exit 1); exit 1; }; }
103282 cat >conftest.$ac_ext <<_ACEOF
103283 /* confdefs.h. */
103284 _ACEOF
103285 cat confdefs.h >>conftest.$ac_ext
103286 cat >>conftest.$ac_ext <<_ACEOF
103287 /* end confdefs.h. */
103288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103290 #define $ac_func innocuous_$ac_func
103292 /* System header to define __stub macros and hopefully few prototypes,
103293 which can conflict with char $ac_func (); below.
103294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103295 <limits.h> exists even on freestanding compilers. */
103297 #ifdef __STDC__
103298 # include <limits.h>
103299 #else
103300 # include <assert.h>
103301 #endif
103303 #undef $ac_func
103305 /* Override any gcc2 internal prototype to avoid an error. */
103306 #ifdef __cplusplus
103307 extern "C"
103309 #endif
103310 /* We use char because int might match the return type of a gcc2
103311 builtin and then its argument prototype would still apply. */
103312 char $ac_func ();
103313 /* The GNU C library defines this for functions which it implements
103314 to always fail with ENOSYS. Some functions are actually named
103315 something starting with __ and the normal name is an alias. */
103316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103317 choke me
103318 #else
103319 char (*f) () = $ac_func;
103320 #endif
103321 #ifdef __cplusplus
103323 #endif
103326 main ()
103328 return f != $ac_func;
103330 return 0;
103332 _ACEOF
103333 rm -f conftest.$ac_objext conftest$ac_exeext
103334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103335 (eval $ac_link) 2>conftest.er1
103336 ac_status=$?
103337 grep -v '^ *+' conftest.er1 >conftest.err
103338 rm -f conftest.er1
103339 cat conftest.err >&5
103340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103341 (exit $ac_status); } &&
103342 { ac_try='test -z "$ac_c_werror_flag"
103343 || test ! -s conftest.err'
103344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103345 (eval $ac_try) 2>&5
103346 ac_status=$?
103347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103348 (exit $ac_status); }; } &&
103349 { ac_try='test -s conftest$ac_exeext'
103350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103351 (eval $ac_try) 2>&5
103352 ac_status=$?
103353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103354 (exit $ac_status); }; }; then
103355 eval "$as_ac_var=yes"
103357 echo "$as_me: failed program was:" >&5
103358 sed 's/^/| /' conftest.$ac_ext >&5
103360 eval "$as_ac_var=no"
103362 rm -f conftest.err conftest.$ac_objext \
103363 conftest$ac_exeext conftest.$ac_ext
103365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103367 if test `eval echo '${'$as_ac_var'}'` = yes; then
103368 cat >>confdefs.h <<_ACEOF
103369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103370 _ACEOF
103383 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103384 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103385 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103386 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103387 echo $ECHO_N "(cached) $ECHO_C" >&6
103392 ac_ext=cc
103393 ac_cpp='$CXXCPP $CPPFLAGS'
103394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103398 cat >conftest.$ac_ext <<_ACEOF
103399 /* confdefs.h. */
103400 _ACEOF
103401 cat confdefs.h >>conftest.$ac_ext
103402 cat >>conftest.$ac_ext <<_ACEOF
103403 /* end confdefs.h. */
103404 #include <math.h>
103406 main ()
103408 modfl(0, 0);
103410 return 0;
103412 _ACEOF
103413 rm -f conftest.$ac_objext
103414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103415 (eval $ac_compile) 2>conftest.er1
103416 ac_status=$?
103417 grep -v '^ *+' conftest.er1 >conftest.err
103418 rm -f conftest.er1
103419 cat conftest.err >&5
103420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103421 (exit $ac_status); } &&
103422 { ac_try='test -z "$ac_cxx_werror_flag"
103423 || test ! -s conftest.err'
103424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103425 (eval $ac_try) 2>&5
103426 ac_status=$?
103427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103428 (exit $ac_status); }; } &&
103429 { ac_try='test -s conftest.$ac_objext'
103430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103431 (eval $ac_try) 2>&5
103432 ac_status=$?
103433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103434 (exit $ac_status); }; }; then
103435 glibcxx_cv_func_modfl_use=yes
103437 echo "$as_me: failed program was:" >&5
103438 sed 's/^/| /' conftest.$ac_ext >&5
103440 glibcxx_cv_func_modfl_use=no
103442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103443 ac_ext=c
103444 ac_cpp='$CPP $CPPFLAGS'
103445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103454 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103456 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103458 for ac_func in modfl
103460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103461 echo "$as_me:$LINENO: checking for $ac_func" >&5
103462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103463 if eval "test \"\${$as_ac_var+set}\" = set"; then
103464 echo $ECHO_N "(cached) $ECHO_C" >&6
103466 if test x$gcc_no_link = xyes; then
103467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103469 { (exit 1); exit 1; }; }
103471 cat >conftest.$ac_ext <<_ACEOF
103472 /* confdefs.h. */
103473 _ACEOF
103474 cat confdefs.h >>conftest.$ac_ext
103475 cat >>conftest.$ac_ext <<_ACEOF
103476 /* end confdefs.h. */
103477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103479 #define $ac_func innocuous_$ac_func
103481 /* System header to define __stub macros and hopefully few prototypes,
103482 which can conflict with char $ac_func (); below.
103483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103484 <limits.h> exists even on freestanding compilers. */
103486 #ifdef __STDC__
103487 # include <limits.h>
103488 #else
103489 # include <assert.h>
103490 #endif
103492 #undef $ac_func
103494 /* Override any gcc2 internal prototype to avoid an error. */
103495 #ifdef __cplusplus
103496 extern "C"
103498 #endif
103499 /* We use char because int might match the return type of a gcc2
103500 builtin and then its argument prototype would still apply. */
103501 char $ac_func ();
103502 /* The GNU C library defines this for functions which it implements
103503 to always fail with ENOSYS. Some functions are actually named
103504 something starting with __ and the normal name is an alias. */
103505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103506 choke me
103507 #else
103508 char (*f) () = $ac_func;
103509 #endif
103510 #ifdef __cplusplus
103512 #endif
103515 main ()
103517 return f != $ac_func;
103519 return 0;
103521 _ACEOF
103522 rm -f conftest.$ac_objext conftest$ac_exeext
103523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103524 (eval $ac_link) 2>conftest.er1
103525 ac_status=$?
103526 grep -v '^ *+' conftest.er1 >conftest.err
103527 rm -f conftest.er1
103528 cat conftest.err >&5
103529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103530 (exit $ac_status); } &&
103531 { ac_try='test -z "$ac_c_werror_flag"
103532 || test ! -s conftest.err'
103533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103534 (eval $ac_try) 2>&5
103535 ac_status=$?
103536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103537 (exit $ac_status); }; } &&
103538 { ac_try='test -s conftest$ac_exeext'
103539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103540 (eval $ac_try) 2>&5
103541 ac_status=$?
103542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103543 (exit $ac_status); }; }; then
103544 eval "$as_ac_var=yes"
103546 echo "$as_me: failed program was:" >&5
103547 sed 's/^/| /' conftest.$ac_ext >&5
103549 eval "$as_ac_var=no"
103551 rm -f conftest.err conftest.$ac_objext \
103552 conftest$ac_exeext conftest.$ac_ext
103554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103556 if test `eval echo '${'$as_ac_var'}'` = yes; then
103557 cat >>confdefs.h <<_ACEOF
103558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103559 _ACEOF
103566 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103567 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103568 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103569 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103570 echo $ECHO_N "(cached) $ECHO_C" >&6
103575 ac_ext=cc
103576 ac_cpp='$CXXCPP $CPPFLAGS'
103577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103581 cat >conftest.$ac_ext <<_ACEOF
103582 /* confdefs.h. */
103583 _ACEOF
103584 cat confdefs.h >>conftest.$ac_ext
103585 cat >>conftest.$ac_ext <<_ACEOF
103586 /* end confdefs.h. */
103587 #include <math.h>
103589 main ()
103591 _modfl(0, 0);
103593 return 0;
103595 _ACEOF
103596 rm -f conftest.$ac_objext
103597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103598 (eval $ac_compile) 2>conftest.er1
103599 ac_status=$?
103600 grep -v '^ *+' conftest.er1 >conftest.err
103601 rm -f conftest.er1
103602 cat conftest.err >&5
103603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103604 (exit $ac_status); } &&
103605 { ac_try='test -z "$ac_cxx_werror_flag"
103606 || test ! -s conftest.err'
103607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103608 (eval $ac_try) 2>&5
103609 ac_status=$?
103610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103611 (exit $ac_status); }; } &&
103612 { ac_try='test -s conftest.$ac_objext'
103613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103614 (eval $ac_try) 2>&5
103615 ac_status=$?
103616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103617 (exit $ac_status); }; }; then
103618 glibcxx_cv_func__modfl_use=yes
103620 echo "$as_me: failed program was:" >&5
103621 sed 's/^/| /' conftest.$ac_ext >&5
103623 glibcxx_cv_func__modfl_use=no
103625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103626 ac_ext=c
103627 ac_cpp='$CPP $CPPFLAGS'
103628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103637 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103639 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103641 for ac_func in _modfl
103643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103644 echo "$as_me:$LINENO: checking for $ac_func" >&5
103645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103646 if eval "test \"\${$as_ac_var+set}\" = set"; then
103647 echo $ECHO_N "(cached) $ECHO_C" >&6
103649 if test x$gcc_no_link = xyes; then
103650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103652 { (exit 1); exit 1; }; }
103654 cat >conftest.$ac_ext <<_ACEOF
103655 /* confdefs.h. */
103656 _ACEOF
103657 cat confdefs.h >>conftest.$ac_ext
103658 cat >>conftest.$ac_ext <<_ACEOF
103659 /* end confdefs.h. */
103660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103662 #define $ac_func innocuous_$ac_func
103664 /* System header to define __stub macros and hopefully few prototypes,
103665 which can conflict with char $ac_func (); below.
103666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103667 <limits.h> exists even on freestanding compilers. */
103669 #ifdef __STDC__
103670 # include <limits.h>
103671 #else
103672 # include <assert.h>
103673 #endif
103675 #undef $ac_func
103677 /* Override any gcc2 internal prototype to avoid an error. */
103678 #ifdef __cplusplus
103679 extern "C"
103681 #endif
103682 /* We use char because int might match the return type of a gcc2
103683 builtin and then its argument prototype would still apply. */
103684 char $ac_func ();
103685 /* The GNU C library defines this for functions which it implements
103686 to always fail with ENOSYS. Some functions are actually named
103687 something starting with __ and the normal name is an alias. */
103688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103689 choke me
103690 #else
103691 char (*f) () = $ac_func;
103692 #endif
103693 #ifdef __cplusplus
103695 #endif
103698 main ()
103700 return f != $ac_func;
103702 return 0;
103704 _ACEOF
103705 rm -f conftest.$ac_objext conftest$ac_exeext
103706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103707 (eval $ac_link) 2>conftest.er1
103708 ac_status=$?
103709 grep -v '^ *+' conftest.er1 >conftest.err
103710 rm -f conftest.er1
103711 cat conftest.err >&5
103712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103713 (exit $ac_status); } &&
103714 { ac_try='test -z "$ac_c_werror_flag"
103715 || test ! -s conftest.err'
103716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103717 (eval $ac_try) 2>&5
103718 ac_status=$?
103719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103720 (exit $ac_status); }; } &&
103721 { ac_try='test -s conftest$ac_exeext'
103722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103723 (eval $ac_try) 2>&5
103724 ac_status=$?
103725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103726 (exit $ac_status); }; }; then
103727 eval "$as_ac_var=yes"
103729 echo "$as_me: failed program was:" >&5
103730 sed 's/^/| /' conftest.$ac_ext >&5
103732 eval "$as_ac_var=no"
103734 rm -f conftest.err conftest.$ac_objext \
103735 conftest$ac_exeext conftest.$ac_ext
103737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103739 if test `eval echo '${'$as_ac_var'}'` = yes; then
103740 cat >>confdefs.h <<_ACEOF
103741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103742 _ACEOF
103755 echo "$as_me:$LINENO: checking for powl declaration" >&5
103756 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103757 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103758 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103759 echo $ECHO_N "(cached) $ECHO_C" >&6
103764 ac_ext=cc
103765 ac_cpp='$CXXCPP $CPPFLAGS'
103766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103770 cat >conftest.$ac_ext <<_ACEOF
103771 /* confdefs.h. */
103772 _ACEOF
103773 cat confdefs.h >>conftest.$ac_ext
103774 cat >>conftest.$ac_ext <<_ACEOF
103775 /* end confdefs.h. */
103776 #include <math.h>
103778 main ()
103780 powl(0, 0);
103782 return 0;
103784 _ACEOF
103785 rm -f conftest.$ac_objext
103786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103787 (eval $ac_compile) 2>conftest.er1
103788 ac_status=$?
103789 grep -v '^ *+' conftest.er1 >conftest.err
103790 rm -f conftest.er1
103791 cat conftest.err >&5
103792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793 (exit $ac_status); } &&
103794 { ac_try='test -z "$ac_cxx_werror_flag"
103795 || test ! -s conftest.err'
103796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797 (eval $ac_try) 2>&5
103798 ac_status=$?
103799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800 (exit $ac_status); }; } &&
103801 { ac_try='test -s conftest.$ac_objext'
103802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803 (eval $ac_try) 2>&5
103804 ac_status=$?
103805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806 (exit $ac_status); }; }; then
103807 glibcxx_cv_func_powl_use=yes
103809 echo "$as_me: failed program was:" >&5
103810 sed 's/^/| /' conftest.$ac_ext >&5
103812 glibcxx_cv_func_powl_use=no
103814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103815 ac_ext=c
103816 ac_cpp='$CPP $CPPFLAGS'
103817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103826 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103828 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103830 for ac_func in powl
103832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103833 echo "$as_me:$LINENO: checking for $ac_func" >&5
103834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103835 if eval "test \"\${$as_ac_var+set}\" = set"; then
103836 echo $ECHO_N "(cached) $ECHO_C" >&6
103838 if test x$gcc_no_link = xyes; then
103839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103841 { (exit 1); exit 1; }; }
103843 cat >conftest.$ac_ext <<_ACEOF
103844 /* confdefs.h. */
103845 _ACEOF
103846 cat confdefs.h >>conftest.$ac_ext
103847 cat >>conftest.$ac_ext <<_ACEOF
103848 /* end confdefs.h. */
103849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103851 #define $ac_func innocuous_$ac_func
103853 /* System header to define __stub macros and hopefully few prototypes,
103854 which can conflict with char $ac_func (); below.
103855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103856 <limits.h> exists even on freestanding compilers. */
103858 #ifdef __STDC__
103859 # include <limits.h>
103860 #else
103861 # include <assert.h>
103862 #endif
103864 #undef $ac_func
103866 /* Override any gcc2 internal prototype to avoid an error. */
103867 #ifdef __cplusplus
103868 extern "C"
103870 #endif
103871 /* We use char because int might match the return type of a gcc2
103872 builtin and then its argument prototype would still apply. */
103873 char $ac_func ();
103874 /* The GNU C library defines this for functions which it implements
103875 to always fail with ENOSYS. Some functions are actually named
103876 something starting with __ and the normal name is an alias. */
103877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103878 choke me
103879 #else
103880 char (*f) () = $ac_func;
103881 #endif
103882 #ifdef __cplusplus
103884 #endif
103887 main ()
103889 return f != $ac_func;
103891 return 0;
103893 _ACEOF
103894 rm -f conftest.$ac_objext conftest$ac_exeext
103895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103896 (eval $ac_link) 2>conftest.er1
103897 ac_status=$?
103898 grep -v '^ *+' conftest.er1 >conftest.err
103899 rm -f conftest.er1
103900 cat conftest.err >&5
103901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103902 (exit $ac_status); } &&
103903 { ac_try='test -z "$ac_c_werror_flag"
103904 || test ! -s conftest.err'
103905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103906 (eval $ac_try) 2>&5
103907 ac_status=$?
103908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103909 (exit $ac_status); }; } &&
103910 { ac_try='test -s conftest$ac_exeext'
103911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103912 (eval $ac_try) 2>&5
103913 ac_status=$?
103914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915 (exit $ac_status); }; }; then
103916 eval "$as_ac_var=yes"
103918 echo "$as_me: failed program was:" >&5
103919 sed 's/^/| /' conftest.$ac_ext >&5
103921 eval "$as_ac_var=no"
103923 rm -f conftest.err conftest.$ac_objext \
103924 conftest$ac_exeext conftest.$ac_ext
103926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103928 if test `eval echo '${'$as_ac_var'}'` = yes; then
103929 cat >>confdefs.h <<_ACEOF
103930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103931 _ACEOF
103938 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103939 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103940 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103941 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103942 echo $ECHO_N "(cached) $ECHO_C" >&6
103947 ac_ext=cc
103948 ac_cpp='$CXXCPP $CPPFLAGS'
103949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103953 cat >conftest.$ac_ext <<_ACEOF
103954 /* confdefs.h. */
103955 _ACEOF
103956 cat confdefs.h >>conftest.$ac_ext
103957 cat >>conftest.$ac_ext <<_ACEOF
103958 /* end confdefs.h. */
103959 #include <math.h>
103961 main ()
103963 _powl(0, 0);
103965 return 0;
103967 _ACEOF
103968 rm -f conftest.$ac_objext
103969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103970 (eval $ac_compile) 2>conftest.er1
103971 ac_status=$?
103972 grep -v '^ *+' conftest.er1 >conftest.err
103973 rm -f conftest.er1
103974 cat conftest.err >&5
103975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103976 (exit $ac_status); } &&
103977 { ac_try='test -z "$ac_cxx_werror_flag"
103978 || test ! -s conftest.err'
103979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103980 (eval $ac_try) 2>&5
103981 ac_status=$?
103982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103983 (exit $ac_status); }; } &&
103984 { ac_try='test -s conftest.$ac_objext'
103985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103986 (eval $ac_try) 2>&5
103987 ac_status=$?
103988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103989 (exit $ac_status); }; }; then
103990 glibcxx_cv_func__powl_use=yes
103992 echo "$as_me: failed program was:" >&5
103993 sed 's/^/| /' conftest.$ac_ext >&5
103995 glibcxx_cv_func__powl_use=no
103997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103998 ac_ext=c
103999 ac_cpp='$CPP $CPPFLAGS'
104000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104009 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104011 if test x$glibcxx_cv_func__powl_use = x"yes"; then
104013 for ac_func in _powl
104015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104016 echo "$as_me:$LINENO: checking for $ac_func" >&5
104017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104018 if eval "test \"\${$as_ac_var+set}\" = set"; then
104019 echo $ECHO_N "(cached) $ECHO_C" >&6
104021 if test x$gcc_no_link = xyes; then
104022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104024 { (exit 1); exit 1; }; }
104026 cat >conftest.$ac_ext <<_ACEOF
104027 /* confdefs.h. */
104028 _ACEOF
104029 cat confdefs.h >>conftest.$ac_ext
104030 cat >>conftest.$ac_ext <<_ACEOF
104031 /* end confdefs.h. */
104032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104034 #define $ac_func innocuous_$ac_func
104036 /* System header to define __stub macros and hopefully few prototypes,
104037 which can conflict with char $ac_func (); below.
104038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104039 <limits.h> exists even on freestanding compilers. */
104041 #ifdef __STDC__
104042 # include <limits.h>
104043 #else
104044 # include <assert.h>
104045 #endif
104047 #undef $ac_func
104049 /* Override any gcc2 internal prototype to avoid an error. */
104050 #ifdef __cplusplus
104051 extern "C"
104053 #endif
104054 /* We use char because int might match the return type of a gcc2
104055 builtin and then its argument prototype would still apply. */
104056 char $ac_func ();
104057 /* The GNU C library defines this for functions which it implements
104058 to always fail with ENOSYS. Some functions are actually named
104059 something starting with __ and the normal name is an alias. */
104060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104061 choke me
104062 #else
104063 char (*f) () = $ac_func;
104064 #endif
104065 #ifdef __cplusplus
104067 #endif
104070 main ()
104072 return f != $ac_func;
104074 return 0;
104076 _ACEOF
104077 rm -f conftest.$ac_objext conftest$ac_exeext
104078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104079 (eval $ac_link) 2>conftest.er1
104080 ac_status=$?
104081 grep -v '^ *+' conftest.er1 >conftest.err
104082 rm -f conftest.er1
104083 cat conftest.err >&5
104084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104085 (exit $ac_status); } &&
104086 { ac_try='test -z "$ac_c_werror_flag"
104087 || test ! -s conftest.err'
104088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104089 (eval $ac_try) 2>&5
104090 ac_status=$?
104091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104092 (exit $ac_status); }; } &&
104093 { ac_try='test -s conftest$ac_exeext'
104094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104095 (eval $ac_try) 2>&5
104096 ac_status=$?
104097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104098 (exit $ac_status); }; }; then
104099 eval "$as_ac_var=yes"
104101 echo "$as_me: failed program was:" >&5
104102 sed 's/^/| /' conftest.$ac_ext >&5
104104 eval "$as_ac_var=no"
104106 rm -f conftest.err conftest.$ac_objext \
104107 conftest$ac_exeext conftest.$ac_ext
104109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104111 if test `eval echo '${'$as_ac_var'}'` = yes; then
104112 cat >>confdefs.h <<_ACEOF
104113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104114 _ACEOF
104127 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104128 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104129 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104130 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104131 echo $ECHO_N "(cached) $ECHO_C" >&6
104136 ac_ext=cc
104137 ac_cpp='$CXXCPP $CPPFLAGS'
104138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104142 cat >conftest.$ac_ext <<_ACEOF
104143 /* confdefs.h. */
104144 _ACEOF
104145 cat confdefs.h >>conftest.$ac_ext
104146 cat >>conftest.$ac_ext <<_ACEOF
104147 /* end confdefs.h. */
104148 #include <math.h>
104149 #ifdef HAVE_IEEEFP_H
104150 #include <ieeefp.h>
104151 #endif
104154 main ()
104156 sqrtl(0);
104158 return 0;
104160 _ACEOF
104161 rm -f conftest.$ac_objext
104162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104163 (eval $ac_compile) 2>conftest.er1
104164 ac_status=$?
104165 grep -v '^ *+' conftest.er1 >conftest.err
104166 rm -f conftest.er1
104167 cat conftest.err >&5
104168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104169 (exit $ac_status); } &&
104170 { ac_try='test -z "$ac_cxx_werror_flag"
104171 || test ! -s conftest.err'
104172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104173 (eval $ac_try) 2>&5
104174 ac_status=$?
104175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104176 (exit $ac_status); }; } &&
104177 { ac_try='test -s conftest.$ac_objext'
104178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104179 (eval $ac_try) 2>&5
104180 ac_status=$?
104181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104182 (exit $ac_status); }; }; then
104183 glibcxx_cv_func_sqrtl_use=yes
104185 echo "$as_me: failed program was:" >&5
104186 sed 's/^/| /' conftest.$ac_ext >&5
104188 glibcxx_cv_func_sqrtl_use=no
104190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104191 ac_ext=c
104192 ac_cpp='$CPP $CPPFLAGS'
104193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104202 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104204 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104206 for ac_func in sqrtl
104208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104209 echo "$as_me:$LINENO: checking for $ac_func" >&5
104210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104211 if eval "test \"\${$as_ac_var+set}\" = set"; then
104212 echo $ECHO_N "(cached) $ECHO_C" >&6
104214 if test x$gcc_no_link = xyes; then
104215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104217 { (exit 1); exit 1; }; }
104219 cat >conftest.$ac_ext <<_ACEOF
104220 /* confdefs.h. */
104221 _ACEOF
104222 cat confdefs.h >>conftest.$ac_ext
104223 cat >>conftest.$ac_ext <<_ACEOF
104224 /* end confdefs.h. */
104225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104227 #define $ac_func innocuous_$ac_func
104229 /* System header to define __stub macros and hopefully few prototypes,
104230 which can conflict with char $ac_func (); below.
104231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104232 <limits.h> exists even on freestanding compilers. */
104234 #ifdef __STDC__
104235 # include <limits.h>
104236 #else
104237 # include <assert.h>
104238 #endif
104240 #undef $ac_func
104242 /* Override any gcc2 internal prototype to avoid an error. */
104243 #ifdef __cplusplus
104244 extern "C"
104246 #endif
104247 /* We use char because int might match the return type of a gcc2
104248 builtin and then its argument prototype would still apply. */
104249 char $ac_func ();
104250 /* The GNU C library defines this for functions which it implements
104251 to always fail with ENOSYS. Some functions are actually named
104252 something starting with __ and the normal name is an alias. */
104253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104254 choke me
104255 #else
104256 char (*f) () = $ac_func;
104257 #endif
104258 #ifdef __cplusplus
104260 #endif
104263 main ()
104265 return f != $ac_func;
104267 return 0;
104269 _ACEOF
104270 rm -f conftest.$ac_objext conftest$ac_exeext
104271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104272 (eval $ac_link) 2>conftest.er1
104273 ac_status=$?
104274 grep -v '^ *+' conftest.er1 >conftest.err
104275 rm -f conftest.er1
104276 cat conftest.err >&5
104277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104278 (exit $ac_status); } &&
104279 { ac_try='test -z "$ac_c_werror_flag"
104280 || test ! -s conftest.err'
104281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104282 (eval $ac_try) 2>&5
104283 ac_status=$?
104284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104285 (exit $ac_status); }; } &&
104286 { ac_try='test -s conftest$ac_exeext'
104287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104288 (eval $ac_try) 2>&5
104289 ac_status=$?
104290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104291 (exit $ac_status); }; }; then
104292 eval "$as_ac_var=yes"
104294 echo "$as_me: failed program was:" >&5
104295 sed 's/^/| /' conftest.$ac_ext >&5
104297 eval "$as_ac_var=no"
104299 rm -f conftest.err conftest.$ac_objext \
104300 conftest$ac_exeext conftest.$ac_ext
104302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104304 if test `eval echo '${'$as_ac_var'}'` = yes; then
104305 cat >>confdefs.h <<_ACEOF
104306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104307 _ACEOF
104314 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104315 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104316 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104317 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104318 echo $ECHO_N "(cached) $ECHO_C" >&6
104323 ac_ext=cc
104324 ac_cpp='$CXXCPP $CPPFLAGS'
104325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104329 cat >conftest.$ac_ext <<_ACEOF
104330 /* confdefs.h. */
104331 _ACEOF
104332 cat confdefs.h >>conftest.$ac_ext
104333 cat >>conftest.$ac_ext <<_ACEOF
104334 /* end confdefs.h. */
104335 #include <math.h>
104336 #ifdef HAVE_IEEEFP_H
104337 #include <ieeefp.h>
104338 #endif
104341 main ()
104343 _sqrtl(0);
104345 return 0;
104347 _ACEOF
104348 rm -f conftest.$ac_objext
104349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104350 (eval $ac_compile) 2>conftest.er1
104351 ac_status=$?
104352 grep -v '^ *+' conftest.er1 >conftest.err
104353 rm -f conftest.er1
104354 cat conftest.err >&5
104355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104356 (exit $ac_status); } &&
104357 { ac_try='test -z "$ac_cxx_werror_flag"
104358 || test ! -s conftest.err'
104359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104360 (eval $ac_try) 2>&5
104361 ac_status=$?
104362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104363 (exit $ac_status); }; } &&
104364 { ac_try='test -s conftest.$ac_objext'
104365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104366 (eval $ac_try) 2>&5
104367 ac_status=$?
104368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104369 (exit $ac_status); }; }; then
104370 glibcxx_cv_func__sqrtl_use=yes
104372 echo "$as_me: failed program was:" >&5
104373 sed 's/^/| /' conftest.$ac_ext >&5
104375 glibcxx_cv_func__sqrtl_use=no
104377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104378 ac_ext=c
104379 ac_cpp='$CPP $CPPFLAGS'
104380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104389 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104391 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104393 for ac_func in _sqrtl
104395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104396 echo "$as_me:$LINENO: checking for $ac_func" >&5
104397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104398 if eval "test \"\${$as_ac_var+set}\" = set"; then
104399 echo $ECHO_N "(cached) $ECHO_C" >&6
104401 if test x$gcc_no_link = xyes; then
104402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104404 { (exit 1); exit 1; }; }
104406 cat >conftest.$ac_ext <<_ACEOF
104407 /* confdefs.h. */
104408 _ACEOF
104409 cat confdefs.h >>conftest.$ac_ext
104410 cat >>conftest.$ac_ext <<_ACEOF
104411 /* end confdefs.h. */
104412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104414 #define $ac_func innocuous_$ac_func
104416 /* System header to define __stub macros and hopefully few prototypes,
104417 which can conflict with char $ac_func (); below.
104418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104419 <limits.h> exists even on freestanding compilers. */
104421 #ifdef __STDC__
104422 # include <limits.h>
104423 #else
104424 # include <assert.h>
104425 #endif
104427 #undef $ac_func
104429 /* Override any gcc2 internal prototype to avoid an error. */
104430 #ifdef __cplusplus
104431 extern "C"
104433 #endif
104434 /* We use char because int might match the return type of a gcc2
104435 builtin and then its argument prototype would still apply. */
104436 char $ac_func ();
104437 /* The GNU C library defines this for functions which it implements
104438 to always fail with ENOSYS. Some functions are actually named
104439 something starting with __ and the normal name is an alias. */
104440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104441 choke me
104442 #else
104443 char (*f) () = $ac_func;
104444 #endif
104445 #ifdef __cplusplus
104447 #endif
104450 main ()
104452 return f != $ac_func;
104454 return 0;
104456 _ACEOF
104457 rm -f conftest.$ac_objext conftest$ac_exeext
104458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104459 (eval $ac_link) 2>conftest.er1
104460 ac_status=$?
104461 grep -v '^ *+' conftest.er1 >conftest.err
104462 rm -f conftest.er1
104463 cat conftest.err >&5
104464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104465 (exit $ac_status); } &&
104466 { ac_try='test -z "$ac_c_werror_flag"
104467 || test ! -s conftest.err'
104468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104469 (eval $ac_try) 2>&5
104470 ac_status=$?
104471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104472 (exit $ac_status); }; } &&
104473 { ac_try='test -s conftest$ac_exeext'
104474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104475 (eval $ac_try) 2>&5
104476 ac_status=$?
104477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104478 (exit $ac_status); }; }; then
104479 eval "$as_ac_var=yes"
104481 echo "$as_me: failed program was:" >&5
104482 sed 's/^/| /' conftest.$ac_ext >&5
104484 eval "$as_ac_var=no"
104486 rm -f conftest.err conftest.$ac_objext \
104487 conftest$ac_exeext conftest.$ac_ext
104489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104491 if test `eval echo '${'$as_ac_var'}'` = yes; then
104492 cat >>confdefs.h <<_ACEOF
104493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104494 _ACEOF
104507 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104508 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104509 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104510 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104511 echo $ECHO_N "(cached) $ECHO_C" >&6
104516 ac_ext=cc
104517 ac_cpp='$CXXCPP $CPPFLAGS'
104518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104522 cat >conftest.$ac_ext <<_ACEOF
104523 /* confdefs.h. */
104524 _ACEOF
104525 cat confdefs.h >>conftest.$ac_ext
104526 cat >>conftest.$ac_ext <<_ACEOF
104527 /* end confdefs.h. */
104528 #include <math.h>
104530 main ()
104532 sincosl(0, 0, 0);
104534 return 0;
104536 _ACEOF
104537 rm -f conftest.$ac_objext
104538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104539 (eval $ac_compile) 2>conftest.er1
104540 ac_status=$?
104541 grep -v '^ *+' conftest.er1 >conftest.err
104542 rm -f conftest.er1
104543 cat conftest.err >&5
104544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104545 (exit $ac_status); } &&
104546 { ac_try='test -z "$ac_cxx_werror_flag"
104547 || test ! -s conftest.err'
104548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549 (eval $ac_try) 2>&5
104550 ac_status=$?
104551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552 (exit $ac_status); }; } &&
104553 { ac_try='test -s conftest.$ac_objext'
104554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555 (eval $ac_try) 2>&5
104556 ac_status=$?
104557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558 (exit $ac_status); }; }; then
104559 glibcxx_cv_func_sincosl_use=yes
104561 echo "$as_me: failed program was:" >&5
104562 sed 's/^/| /' conftest.$ac_ext >&5
104564 glibcxx_cv_func_sincosl_use=no
104566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104567 ac_ext=c
104568 ac_cpp='$CPP $CPPFLAGS'
104569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104578 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104580 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104582 for ac_func in sincosl
104584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104585 echo "$as_me:$LINENO: checking for $ac_func" >&5
104586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104587 if eval "test \"\${$as_ac_var+set}\" = set"; then
104588 echo $ECHO_N "(cached) $ECHO_C" >&6
104590 if test x$gcc_no_link = xyes; then
104591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104593 { (exit 1); exit 1; }; }
104595 cat >conftest.$ac_ext <<_ACEOF
104596 /* confdefs.h. */
104597 _ACEOF
104598 cat confdefs.h >>conftest.$ac_ext
104599 cat >>conftest.$ac_ext <<_ACEOF
104600 /* end confdefs.h. */
104601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104603 #define $ac_func innocuous_$ac_func
104605 /* System header to define __stub macros and hopefully few prototypes,
104606 which can conflict with char $ac_func (); below.
104607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104608 <limits.h> exists even on freestanding compilers. */
104610 #ifdef __STDC__
104611 # include <limits.h>
104612 #else
104613 # include <assert.h>
104614 #endif
104616 #undef $ac_func
104618 /* Override any gcc2 internal prototype to avoid an error. */
104619 #ifdef __cplusplus
104620 extern "C"
104622 #endif
104623 /* We use char because int might match the return type of a gcc2
104624 builtin and then its argument prototype would still apply. */
104625 char $ac_func ();
104626 /* The GNU C library defines this for functions which it implements
104627 to always fail with ENOSYS. Some functions are actually named
104628 something starting with __ and the normal name is an alias. */
104629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104630 choke me
104631 #else
104632 char (*f) () = $ac_func;
104633 #endif
104634 #ifdef __cplusplus
104636 #endif
104639 main ()
104641 return f != $ac_func;
104643 return 0;
104645 _ACEOF
104646 rm -f conftest.$ac_objext conftest$ac_exeext
104647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104648 (eval $ac_link) 2>conftest.er1
104649 ac_status=$?
104650 grep -v '^ *+' conftest.er1 >conftest.err
104651 rm -f conftest.er1
104652 cat conftest.err >&5
104653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104654 (exit $ac_status); } &&
104655 { ac_try='test -z "$ac_c_werror_flag"
104656 || test ! -s conftest.err'
104657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104658 (eval $ac_try) 2>&5
104659 ac_status=$?
104660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104661 (exit $ac_status); }; } &&
104662 { ac_try='test -s conftest$ac_exeext'
104663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104664 (eval $ac_try) 2>&5
104665 ac_status=$?
104666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104667 (exit $ac_status); }; }; then
104668 eval "$as_ac_var=yes"
104670 echo "$as_me: failed program was:" >&5
104671 sed 's/^/| /' conftest.$ac_ext >&5
104673 eval "$as_ac_var=no"
104675 rm -f conftest.err conftest.$ac_objext \
104676 conftest$ac_exeext conftest.$ac_ext
104678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104680 if test `eval echo '${'$as_ac_var'}'` = yes; then
104681 cat >>confdefs.h <<_ACEOF
104682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104683 _ACEOF
104690 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104691 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104692 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104693 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104694 echo $ECHO_N "(cached) $ECHO_C" >&6
104699 ac_ext=cc
104700 ac_cpp='$CXXCPP $CPPFLAGS'
104701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104705 cat >conftest.$ac_ext <<_ACEOF
104706 /* confdefs.h. */
104707 _ACEOF
104708 cat confdefs.h >>conftest.$ac_ext
104709 cat >>conftest.$ac_ext <<_ACEOF
104710 /* end confdefs.h. */
104711 #include <math.h>
104713 main ()
104715 _sincosl(0, 0, 0);
104717 return 0;
104719 _ACEOF
104720 rm -f conftest.$ac_objext
104721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104722 (eval $ac_compile) 2>conftest.er1
104723 ac_status=$?
104724 grep -v '^ *+' conftest.er1 >conftest.err
104725 rm -f conftest.er1
104726 cat conftest.err >&5
104727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104728 (exit $ac_status); } &&
104729 { ac_try='test -z "$ac_cxx_werror_flag"
104730 || test ! -s conftest.err'
104731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104732 (eval $ac_try) 2>&5
104733 ac_status=$?
104734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104735 (exit $ac_status); }; } &&
104736 { ac_try='test -s conftest.$ac_objext'
104737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104738 (eval $ac_try) 2>&5
104739 ac_status=$?
104740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104741 (exit $ac_status); }; }; then
104742 glibcxx_cv_func__sincosl_use=yes
104744 echo "$as_me: failed program was:" >&5
104745 sed 's/^/| /' conftest.$ac_ext >&5
104747 glibcxx_cv_func__sincosl_use=no
104749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104750 ac_ext=c
104751 ac_cpp='$CPP $CPPFLAGS'
104752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104761 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104763 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104765 for ac_func in _sincosl
104767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104768 echo "$as_me:$LINENO: checking for $ac_func" >&5
104769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104770 if eval "test \"\${$as_ac_var+set}\" = set"; then
104771 echo $ECHO_N "(cached) $ECHO_C" >&6
104773 if test x$gcc_no_link = xyes; then
104774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104776 { (exit 1); exit 1; }; }
104778 cat >conftest.$ac_ext <<_ACEOF
104779 /* confdefs.h. */
104780 _ACEOF
104781 cat confdefs.h >>conftest.$ac_ext
104782 cat >>conftest.$ac_ext <<_ACEOF
104783 /* end confdefs.h. */
104784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104786 #define $ac_func innocuous_$ac_func
104788 /* System header to define __stub macros and hopefully few prototypes,
104789 which can conflict with char $ac_func (); below.
104790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104791 <limits.h> exists even on freestanding compilers. */
104793 #ifdef __STDC__
104794 # include <limits.h>
104795 #else
104796 # include <assert.h>
104797 #endif
104799 #undef $ac_func
104801 /* Override any gcc2 internal prototype to avoid an error. */
104802 #ifdef __cplusplus
104803 extern "C"
104805 #endif
104806 /* We use char because int might match the return type of a gcc2
104807 builtin and then its argument prototype would still apply. */
104808 char $ac_func ();
104809 /* The GNU C library defines this for functions which it implements
104810 to always fail with ENOSYS. Some functions are actually named
104811 something starting with __ and the normal name is an alias. */
104812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104813 choke me
104814 #else
104815 char (*f) () = $ac_func;
104816 #endif
104817 #ifdef __cplusplus
104819 #endif
104822 main ()
104824 return f != $ac_func;
104826 return 0;
104828 _ACEOF
104829 rm -f conftest.$ac_objext conftest$ac_exeext
104830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104831 (eval $ac_link) 2>conftest.er1
104832 ac_status=$?
104833 grep -v '^ *+' conftest.er1 >conftest.err
104834 rm -f conftest.er1
104835 cat conftest.err >&5
104836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104837 (exit $ac_status); } &&
104838 { ac_try='test -z "$ac_c_werror_flag"
104839 || test ! -s conftest.err'
104840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104841 (eval $ac_try) 2>&5
104842 ac_status=$?
104843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104844 (exit $ac_status); }; } &&
104845 { ac_try='test -s conftest$ac_exeext'
104846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104847 (eval $ac_try) 2>&5
104848 ac_status=$?
104849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104850 (exit $ac_status); }; }; then
104851 eval "$as_ac_var=yes"
104853 echo "$as_me: failed program was:" >&5
104854 sed 's/^/| /' conftest.$ac_ext >&5
104856 eval "$as_ac_var=no"
104858 rm -f conftest.err conftest.$ac_objext \
104859 conftest$ac_exeext conftest.$ac_ext
104861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104863 if test `eval echo '${'$as_ac_var'}'` = yes; then
104864 cat >>confdefs.h <<_ACEOF
104865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104866 _ACEOF
104879 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104880 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104881 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104882 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104883 echo $ECHO_N "(cached) $ECHO_C" >&6
104888 ac_ext=cc
104889 ac_cpp='$CXXCPP $CPPFLAGS'
104890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104894 cat >conftest.$ac_ext <<_ACEOF
104895 /* confdefs.h. */
104896 _ACEOF
104897 cat confdefs.h >>conftest.$ac_ext
104898 cat >>conftest.$ac_ext <<_ACEOF
104899 /* end confdefs.h. */
104900 #include <math.h>
104901 #ifdef HAVE_IEEEFP_H
104902 #include <ieeefp.h>
104903 #endif
104906 main ()
104908 finitel(0);
104910 return 0;
104912 _ACEOF
104913 rm -f conftest.$ac_objext
104914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104915 (eval $ac_compile) 2>conftest.er1
104916 ac_status=$?
104917 grep -v '^ *+' conftest.er1 >conftest.err
104918 rm -f conftest.er1
104919 cat conftest.err >&5
104920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104921 (exit $ac_status); } &&
104922 { ac_try='test -z "$ac_cxx_werror_flag"
104923 || test ! -s conftest.err'
104924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104925 (eval $ac_try) 2>&5
104926 ac_status=$?
104927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104928 (exit $ac_status); }; } &&
104929 { ac_try='test -s conftest.$ac_objext'
104930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104931 (eval $ac_try) 2>&5
104932 ac_status=$?
104933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104934 (exit $ac_status); }; }; then
104935 glibcxx_cv_func_finitel_use=yes
104937 echo "$as_me: failed program was:" >&5
104938 sed 's/^/| /' conftest.$ac_ext >&5
104940 glibcxx_cv_func_finitel_use=no
104942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104943 ac_ext=c
104944 ac_cpp='$CPP $CPPFLAGS'
104945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104954 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104956 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104958 for ac_func in finitel
104960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104961 echo "$as_me:$LINENO: checking for $ac_func" >&5
104962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104963 if eval "test \"\${$as_ac_var+set}\" = set"; then
104964 echo $ECHO_N "(cached) $ECHO_C" >&6
104966 if test x$gcc_no_link = xyes; then
104967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104969 { (exit 1); exit 1; }; }
104971 cat >conftest.$ac_ext <<_ACEOF
104972 /* confdefs.h. */
104973 _ACEOF
104974 cat confdefs.h >>conftest.$ac_ext
104975 cat >>conftest.$ac_ext <<_ACEOF
104976 /* end confdefs.h. */
104977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104979 #define $ac_func innocuous_$ac_func
104981 /* System header to define __stub macros and hopefully few prototypes,
104982 which can conflict with char $ac_func (); below.
104983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104984 <limits.h> exists even on freestanding compilers. */
104986 #ifdef __STDC__
104987 # include <limits.h>
104988 #else
104989 # include <assert.h>
104990 #endif
104992 #undef $ac_func
104994 /* Override any gcc2 internal prototype to avoid an error. */
104995 #ifdef __cplusplus
104996 extern "C"
104998 #endif
104999 /* We use char because int might match the return type of a gcc2
105000 builtin and then its argument prototype would still apply. */
105001 char $ac_func ();
105002 /* The GNU C library defines this for functions which it implements
105003 to always fail with ENOSYS. Some functions are actually named
105004 something starting with __ and the normal name is an alias. */
105005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105006 choke me
105007 #else
105008 char (*f) () = $ac_func;
105009 #endif
105010 #ifdef __cplusplus
105012 #endif
105015 main ()
105017 return f != $ac_func;
105019 return 0;
105021 _ACEOF
105022 rm -f conftest.$ac_objext conftest$ac_exeext
105023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105024 (eval $ac_link) 2>conftest.er1
105025 ac_status=$?
105026 grep -v '^ *+' conftest.er1 >conftest.err
105027 rm -f conftest.er1
105028 cat conftest.err >&5
105029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030 (exit $ac_status); } &&
105031 { ac_try='test -z "$ac_c_werror_flag"
105032 || test ! -s conftest.err'
105033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105034 (eval $ac_try) 2>&5
105035 ac_status=$?
105036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037 (exit $ac_status); }; } &&
105038 { ac_try='test -s conftest$ac_exeext'
105039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040 (eval $ac_try) 2>&5
105041 ac_status=$?
105042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043 (exit $ac_status); }; }; then
105044 eval "$as_ac_var=yes"
105046 echo "$as_me: failed program was:" >&5
105047 sed 's/^/| /' conftest.$ac_ext >&5
105049 eval "$as_ac_var=no"
105051 rm -f conftest.err conftest.$ac_objext \
105052 conftest$ac_exeext conftest.$ac_ext
105054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105056 if test `eval echo '${'$as_ac_var'}'` = yes; then
105057 cat >>confdefs.h <<_ACEOF
105058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105059 _ACEOF
105066 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105067 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105068 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105069 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105070 echo $ECHO_N "(cached) $ECHO_C" >&6
105075 ac_ext=cc
105076 ac_cpp='$CXXCPP $CPPFLAGS'
105077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105081 cat >conftest.$ac_ext <<_ACEOF
105082 /* confdefs.h. */
105083 _ACEOF
105084 cat confdefs.h >>conftest.$ac_ext
105085 cat >>conftest.$ac_ext <<_ACEOF
105086 /* end confdefs.h. */
105087 #include <math.h>
105088 #ifdef HAVE_IEEEFP_H
105089 #include <ieeefp.h>
105090 #endif
105093 main ()
105095 _finitel(0);
105097 return 0;
105099 _ACEOF
105100 rm -f conftest.$ac_objext
105101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105102 (eval $ac_compile) 2>conftest.er1
105103 ac_status=$?
105104 grep -v '^ *+' conftest.er1 >conftest.err
105105 rm -f conftest.er1
105106 cat conftest.err >&5
105107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105108 (exit $ac_status); } &&
105109 { ac_try='test -z "$ac_cxx_werror_flag"
105110 || test ! -s conftest.err'
105111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105112 (eval $ac_try) 2>&5
105113 ac_status=$?
105114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105115 (exit $ac_status); }; } &&
105116 { ac_try='test -s conftest.$ac_objext'
105117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105118 (eval $ac_try) 2>&5
105119 ac_status=$?
105120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105121 (exit $ac_status); }; }; then
105122 glibcxx_cv_func__finitel_use=yes
105124 echo "$as_me: failed program was:" >&5
105125 sed 's/^/| /' conftest.$ac_ext >&5
105127 glibcxx_cv_func__finitel_use=no
105129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105130 ac_ext=c
105131 ac_cpp='$CPP $CPPFLAGS'
105132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105141 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105143 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105145 for ac_func in _finitel
105147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105148 echo "$as_me:$LINENO: checking for $ac_func" >&5
105149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105150 if eval "test \"\${$as_ac_var+set}\" = set"; then
105151 echo $ECHO_N "(cached) $ECHO_C" >&6
105153 if test x$gcc_no_link = xyes; then
105154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105156 { (exit 1); exit 1; }; }
105158 cat >conftest.$ac_ext <<_ACEOF
105159 /* confdefs.h. */
105160 _ACEOF
105161 cat confdefs.h >>conftest.$ac_ext
105162 cat >>conftest.$ac_ext <<_ACEOF
105163 /* end confdefs.h. */
105164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105166 #define $ac_func innocuous_$ac_func
105168 /* System header to define __stub macros and hopefully few prototypes,
105169 which can conflict with char $ac_func (); below.
105170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105171 <limits.h> exists even on freestanding compilers. */
105173 #ifdef __STDC__
105174 # include <limits.h>
105175 #else
105176 # include <assert.h>
105177 #endif
105179 #undef $ac_func
105181 /* Override any gcc2 internal prototype to avoid an error. */
105182 #ifdef __cplusplus
105183 extern "C"
105185 #endif
105186 /* We use char because int might match the return type of a gcc2
105187 builtin and then its argument prototype would still apply. */
105188 char $ac_func ();
105189 /* The GNU C library defines this for functions which it implements
105190 to always fail with ENOSYS. Some functions are actually named
105191 something starting with __ and the normal name is an alias. */
105192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105193 choke me
105194 #else
105195 char (*f) () = $ac_func;
105196 #endif
105197 #ifdef __cplusplus
105199 #endif
105202 main ()
105204 return f != $ac_func;
105206 return 0;
105208 _ACEOF
105209 rm -f conftest.$ac_objext conftest$ac_exeext
105210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105211 (eval $ac_link) 2>conftest.er1
105212 ac_status=$?
105213 grep -v '^ *+' conftest.er1 >conftest.err
105214 rm -f conftest.er1
105215 cat conftest.err >&5
105216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105217 (exit $ac_status); } &&
105218 { ac_try='test -z "$ac_c_werror_flag"
105219 || test ! -s conftest.err'
105220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105221 (eval $ac_try) 2>&5
105222 ac_status=$?
105223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224 (exit $ac_status); }; } &&
105225 { ac_try='test -s conftest$ac_exeext'
105226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105227 (eval $ac_try) 2>&5
105228 ac_status=$?
105229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105230 (exit $ac_status); }; }; then
105231 eval "$as_ac_var=yes"
105233 echo "$as_me: failed program was:" >&5
105234 sed 's/^/| /' conftest.$ac_ext >&5
105236 eval "$as_ac_var=no"
105238 rm -f conftest.err conftest.$ac_objext \
105239 conftest$ac_exeext conftest.$ac_ext
105241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105243 if test `eval echo '${'$as_ac_var'}'` = yes; then
105244 cat >>confdefs.h <<_ACEOF
105245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105246 _ACEOF
105258 LIBS="$ac_save_LIBS"
105259 CXXFLAGS="$ac_save_CXXFLAGS"
105263 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105264 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105265 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105266 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105267 echo $ECHO_N "(cached) $ECHO_C" >&6
105272 ac_ext=cc
105273 ac_cpp='$CXXCPP $CPPFLAGS'
105274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105278 cat >conftest.$ac_ext <<_ACEOF
105279 /* confdefs.h. */
105280 _ACEOF
105281 cat confdefs.h >>conftest.$ac_ext
105282 cat >>conftest.$ac_ext <<_ACEOF
105283 /* end confdefs.h. */
105284 #include <math.h>
105286 main ()
105288 __builtin_abs(0);
105290 return 0;
105292 _ACEOF
105293 rm -f conftest.$ac_objext
105294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105295 (eval $ac_compile) 2>conftest.er1
105296 ac_status=$?
105297 grep -v '^ *+' conftest.er1 >conftest.err
105298 rm -f conftest.er1
105299 cat conftest.err >&5
105300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105301 (exit $ac_status); } &&
105302 { ac_try='test -z "$ac_cxx_werror_flag"
105303 || test ! -s conftest.err'
105304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105305 (eval $ac_try) 2>&5
105306 ac_status=$?
105307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105308 (exit $ac_status); }; } &&
105309 { ac_try='test -s conftest.$ac_objext'
105310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105311 (eval $ac_try) 2>&5
105312 ac_status=$?
105313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105314 (exit $ac_status); }; }; then
105315 glibcxx_cv_func___builtin_abs_use=yes
105317 echo "$as_me: failed program was:" >&5
105318 sed 's/^/| /' conftest.$ac_ext >&5
105320 glibcxx_cv_func___builtin_abs_use=no
105322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105323 ac_ext=c
105324 ac_cpp='$CPP $CPPFLAGS'
105325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105333 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105334 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105335 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105336 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105337 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105338 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105339 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105340 echo $ECHO_N "(cached) $ECHO_C" >&6
105343 if test x$gcc_no_link = xyes; then
105344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105346 { (exit 1); exit 1; }; }
105348 cat >conftest.$ac_ext <<_ACEOF
105349 /* confdefs.h. */
105350 _ACEOF
105351 cat confdefs.h >>conftest.$ac_ext
105352 cat >>conftest.$ac_ext <<_ACEOF
105353 /* end confdefs.h. */
105354 #include <math.h>
105356 main ()
105358 __builtin_abs(0);
105360 return 0;
105362 _ACEOF
105363 rm -f conftest.$ac_objext conftest$ac_exeext
105364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105365 (eval $ac_link) 2>conftest.er1
105366 ac_status=$?
105367 grep -v '^ *+' conftest.er1 >conftest.err
105368 rm -f conftest.er1
105369 cat conftest.err >&5
105370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371 (exit $ac_status); } &&
105372 { ac_try='test -z "$ac_c_werror_flag"
105373 || test ! -s conftest.err'
105374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105375 (eval $ac_try) 2>&5
105376 ac_status=$?
105377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105378 (exit $ac_status); }; } &&
105379 { ac_try='test -s conftest$ac_exeext'
105380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105381 (eval $ac_try) 2>&5
105382 ac_status=$?
105383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105384 (exit $ac_status); }; }; then
105385 glibcxx_cv_func___builtin_abs_link=yes
105387 echo "$as_me: failed program was:" >&5
105388 sed 's/^/| /' conftest.$ac_ext >&5
105390 glibcxx_cv_func___builtin_abs_link=no
105392 rm -f conftest.err conftest.$ac_objext \
105393 conftest$ac_exeext conftest.$ac_ext
105398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105399 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105401 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105403 cat >>confdefs.h <<\_ACEOF
105404 #define HAVE___BUILTIN_ABS 1
105405 _ACEOF
105412 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105413 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105414 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105415 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105416 echo $ECHO_N "(cached) $ECHO_C" >&6
105421 ac_ext=cc
105422 ac_cpp='$CXXCPP $CPPFLAGS'
105423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105427 cat >conftest.$ac_ext <<_ACEOF
105428 /* confdefs.h. */
105429 _ACEOF
105430 cat confdefs.h >>conftest.$ac_ext
105431 cat >>conftest.$ac_ext <<_ACEOF
105432 /* end confdefs.h. */
105433 #include <math.h>
105435 main ()
105437 __builtin_fabsf(0);
105439 return 0;
105441 _ACEOF
105442 rm -f conftest.$ac_objext
105443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105444 (eval $ac_compile) 2>conftest.er1
105445 ac_status=$?
105446 grep -v '^ *+' conftest.er1 >conftest.err
105447 rm -f conftest.er1
105448 cat conftest.err >&5
105449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105450 (exit $ac_status); } &&
105451 { ac_try='test -z "$ac_cxx_werror_flag"
105452 || test ! -s conftest.err'
105453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105454 (eval $ac_try) 2>&5
105455 ac_status=$?
105456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105457 (exit $ac_status); }; } &&
105458 { ac_try='test -s conftest.$ac_objext'
105459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105460 (eval $ac_try) 2>&5
105461 ac_status=$?
105462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105463 (exit $ac_status); }; }; then
105464 glibcxx_cv_func___builtin_fabsf_use=yes
105466 echo "$as_me: failed program was:" >&5
105467 sed 's/^/| /' conftest.$ac_ext >&5
105469 glibcxx_cv_func___builtin_fabsf_use=no
105471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105472 ac_ext=c
105473 ac_cpp='$CPP $CPPFLAGS'
105474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105482 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105483 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105484 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105485 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105486 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105487 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105488 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105489 echo $ECHO_N "(cached) $ECHO_C" >&6
105492 if test x$gcc_no_link = xyes; then
105493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105495 { (exit 1); exit 1; }; }
105497 cat >conftest.$ac_ext <<_ACEOF
105498 /* confdefs.h. */
105499 _ACEOF
105500 cat confdefs.h >>conftest.$ac_ext
105501 cat >>conftest.$ac_ext <<_ACEOF
105502 /* end confdefs.h. */
105503 #include <math.h>
105505 main ()
105507 __builtin_fabsf(0);
105509 return 0;
105511 _ACEOF
105512 rm -f conftest.$ac_objext conftest$ac_exeext
105513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105514 (eval $ac_link) 2>conftest.er1
105515 ac_status=$?
105516 grep -v '^ *+' conftest.er1 >conftest.err
105517 rm -f conftest.er1
105518 cat conftest.err >&5
105519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105520 (exit $ac_status); } &&
105521 { ac_try='test -z "$ac_c_werror_flag"
105522 || test ! -s conftest.err'
105523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105524 (eval $ac_try) 2>&5
105525 ac_status=$?
105526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105527 (exit $ac_status); }; } &&
105528 { ac_try='test -s conftest$ac_exeext'
105529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105530 (eval $ac_try) 2>&5
105531 ac_status=$?
105532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105533 (exit $ac_status); }; }; then
105534 glibcxx_cv_func___builtin_fabsf_link=yes
105536 echo "$as_me: failed program was:" >&5
105537 sed 's/^/| /' conftest.$ac_ext >&5
105539 glibcxx_cv_func___builtin_fabsf_link=no
105541 rm -f conftest.err conftest.$ac_objext \
105542 conftest$ac_exeext conftest.$ac_ext
105547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105548 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105550 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105552 cat >>confdefs.h <<\_ACEOF
105553 #define HAVE___BUILTIN_FABSF 1
105554 _ACEOF
105561 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105562 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105563 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105564 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105565 echo $ECHO_N "(cached) $ECHO_C" >&6
105570 ac_ext=cc
105571 ac_cpp='$CXXCPP $CPPFLAGS'
105572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105576 cat >conftest.$ac_ext <<_ACEOF
105577 /* confdefs.h. */
105578 _ACEOF
105579 cat confdefs.h >>conftest.$ac_ext
105580 cat >>conftest.$ac_ext <<_ACEOF
105581 /* end confdefs.h. */
105582 #include <math.h>
105584 main ()
105586 __builtin_fabs(0);
105588 return 0;
105590 _ACEOF
105591 rm -f conftest.$ac_objext
105592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105593 (eval $ac_compile) 2>conftest.er1
105594 ac_status=$?
105595 grep -v '^ *+' conftest.er1 >conftest.err
105596 rm -f conftest.er1
105597 cat conftest.err >&5
105598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599 (exit $ac_status); } &&
105600 { ac_try='test -z "$ac_cxx_werror_flag"
105601 || test ! -s conftest.err'
105602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105603 (eval $ac_try) 2>&5
105604 ac_status=$?
105605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105606 (exit $ac_status); }; } &&
105607 { ac_try='test -s conftest.$ac_objext'
105608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105609 (eval $ac_try) 2>&5
105610 ac_status=$?
105611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105612 (exit $ac_status); }; }; then
105613 glibcxx_cv_func___builtin_fabs_use=yes
105615 echo "$as_me: failed program was:" >&5
105616 sed 's/^/| /' conftest.$ac_ext >&5
105618 glibcxx_cv_func___builtin_fabs_use=no
105620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105621 ac_ext=c
105622 ac_cpp='$CPP $CPPFLAGS'
105623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105631 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105632 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105633 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105634 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105635 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105636 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105637 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105638 echo $ECHO_N "(cached) $ECHO_C" >&6
105641 if test x$gcc_no_link = xyes; then
105642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105644 { (exit 1); exit 1; }; }
105646 cat >conftest.$ac_ext <<_ACEOF
105647 /* confdefs.h. */
105648 _ACEOF
105649 cat confdefs.h >>conftest.$ac_ext
105650 cat >>conftest.$ac_ext <<_ACEOF
105651 /* end confdefs.h. */
105652 #include <math.h>
105654 main ()
105656 __builtin_fabs(0);
105658 return 0;
105660 _ACEOF
105661 rm -f conftest.$ac_objext conftest$ac_exeext
105662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105663 (eval $ac_link) 2>conftest.er1
105664 ac_status=$?
105665 grep -v '^ *+' conftest.er1 >conftest.err
105666 rm -f conftest.er1
105667 cat conftest.err >&5
105668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105669 (exit $ac_status); } &&
105670 { ac_try='test -z "$ac_c_werror_flag"
105671 || test ! -s conftest.err'
105672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105673 (eval $ac_try) 2>&5
105674 ac_status=$?
105675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105676 (exit $ac_status); }; } &&
105677 { ac_try='test -s conftest$ac_exeext'
105678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105679 (eval $ac_try) 2>&5
105680 ac_status=$?
105681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105682 (exit $ac_status); }; }; then
105683 glibcxx_cv_func___builtin_fabs_link=yes
105685 echo "$as_me: failed program was:" >&5
105686 sed 's/^/| /' conftest.$ac_ext >&5
105688 glibcxx_cv_func___builtin_fabs_link=no
105690 rm -f conftest.err conftest.$ac_objext \
105691 conftest$ac_exeext conftest.$ac_ext
105696 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105697 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105699 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105701 cat >>confdefs.h <<\_ACEOF
105702 #define HAVE___BUILTIN_FABS 1
105703 _ACEOF
105710 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105711 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105712 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105713 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105714 echo $ECHO_N "(cached) $ECHO_C" >&6
105719 ac_ext=cc
105720 ac_cpp='$CXXCPP $CPPFLAGS'
105721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105725 cat >conftest.$ac_ext <<_ACEOF
105726 /* confdefs.h. */
105727 _ACEOF
105728 cat confdefs.h >>conftest.$ac_ext
105729 cat >>conftest.$ac_ext <<_ACEOF
105730 /* end confdefs.h. */
105731 #include <math.h>
105733 main ()
105735 __builtin_fabsl(0);
105737 return 0;
105739 _ACEOF
105740 rm -f conftest.$ac_objext
105741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105742 (eval $ac_compile) 2>conftest.er1
105743 ac_status=$?
105744 grep -v '^ *+' conftest.er1 >conftest.err
105745 rm -f conftest.er1
105746 cat conftest.err >&5
105747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105748 (exit $ac_status); } &&
105749 { ac_try='test -z "$ac_cxx_werror_flag"
105750 || test ! -s conftest.err'
105751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105752 (eval $ac_try) 2>&5
105753 ac_status=$?
105754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105755 (exit $ac_status); }; } &&
105756 { ac_try='test -s conftest.$ac_objext'
105757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105758 (eval $ac_try) 2>&5
105759 ac_status=$?
105760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105761 (exit $ac_status); }; }; then
105762 glibcxx_cv_func___builtin_fabsl_use=yes
105764 echo "$as_me: failed program was:" >&5
105765 sed 's/^/| /' conftest.$ac_ext >&5
105767 glibcxx_cv_func___builtin_fabsl_use=no
105769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105770 ac_ext=c
105771 ac_cpp='$CPP $CPPFLAGS'
105772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105780 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105781 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105782 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105783 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105784 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105785 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105786 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105787 echo $ECHO_N "(cached) $ECHO_C" >&6
105790 if test x$gcc_no_link = xyes; then
105791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105793 { (exit 1); exit 1; }; }
105795 cat >conftest.$ac_ext <<_ACEOF
105796 /* confdefs.h. */
105797 _ACEOF
105798 cat confdefs.h >>conftest.$ac_ext
105799 cat >>conftest.$ac_ext <<_ACEOF
105800 /* end confdefs.h. */
105801 #include <math.h>
105803 main ()
105805 __builtin_fabsl(0);
105807 return 0;
105809 _ACEOF
105810 rm -f conftest.$ac_objext conftest$ac_exeext
105811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105812 (eval $ac_link) 2>conftest.er1
105813 ac_status=$?
105814 grep -v '^ *+' conftest.er1 >conftest.err
105815 rm -f conftest.er1
105816 cat conftest.err >&5
105817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105818 (exit $ac_status); } &&
105819 { ac_try='test -z "$ac_c_werror_flag"
105820 || test ! -s conftest.err'
105821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105822 (eval $ac_try) 2>&5
105823 ac_status=$?
105824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105825 (exit $ac_status); }; } &&
105826 { ac_try='test -s conftest$ac_exeext'
105827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105828 (eval $ac_try) 2>&5
105829 ac_status=$?
105830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105831 (exit $ac_status); }; }; then
105832 glibcxx_cv_func___builtin_fabsl_link=yes
105834 echo "$as_me: failed program was:" >&5
105835 sed 's/^/| /' conftest.$ac_ext >&5
105837 glibcxx_cv_func___builtin_fabsl_link=no
105839 rm -f conftest.err conftest.$ac_objext \
105840 conftest$ac_exeext conftest.$ac_ext
105845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105846 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105848 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105850 cat >>confdefs.h <<\_ACEOF
105851 #define HAVE___BUILTIN_FABSL 1
105852 _ACEOF
105859 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105860 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105861 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105862 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105863 echo $ECHO_N "(cached) $ECHO_C" >&6
105868 ac_ext=cc
105869 ac_cpp='$CXXCPP $CPPFLAGS'
105870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105874 cat >conftest.$ac_ext <<_ACEOF
105875 /* confdefs.h. */
105876 _ACEOF
105877 cat confdefs.h >>conftest.$ac_ext
105878 cat >>conftest.$ac_ext <<_ACEOF
105879 /* end confdefs.h. */
105880 #include <math.h>
105882 main ()
105884 __builtin_labs(0);
105886 return 0;
105888 _ACEOF
105889 rm -f conftest.$ac_objext
105890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105891 (eval $ac_compile) 2>conftest.er1
105892 ac_status=$?
105893 grep -v '^ *+' conftest.er1 >conftest.err
105894 rm -f conftest.er1
105895 cat conftest.err >&5
105896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105897 (exit $ac_status); } &&
105898 { ac_try='test -z "$ac_cxx_werror_flag"
105899 || test ! -s conftest.err'
105900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105901 (eval $ac_try) 2>&5
105902 ac_status=$?
105903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105904 (exit $ac_status); }; } &&
105905 { ac_try='test -s conftest.$ac_objext'
105906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105907 (eval $ac_try) 2>&5
105908 ac_status=$?
105909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105910 (exit $ac_status); }; }; then
105911 glibcxx_cv_func___builtin_labs_use=yes
105913 echo "$as_me: failed program was:" >&5
105914 sed 's/^/| /' conftest.$ac_ext >&5
105916 glibcxx_cv_func___builtin_labs_use=no
105918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105919 ac_ext=c
105920 ac_cpp='$CPP $CPPFLAGS'
105921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105930 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105931 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105932 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105933 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105934 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105935 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105936 echo $ECHO_N "(cached) $ECHO_C" >&6
105939 if test x$gcc_no_link = xyes; then
105940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105942 { (exit 1); exit 1; }; }
105944 cat >conftest.$ac_ext <<_ACEOF
105945 /* confdefs.h. */
105946 _ACEOF
105947 cat confdefs.h >>conftest.$ac_ext
105948 cat >>conftest.$ac_ext <<_ACEOF
105949 /* end confdefs.h. */
105950 #include <math.h>
105952 main ()
105954 __builtin_labs(0);
105956 return 0;
105958 _ACEOF
105959 rm -f conftest.$ac_objext conftest$ac_exeext
105960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105961 (eval $ac_link) 2>conftest.er1
105962 ac_status=$?
105963 grep -v '^ *+' conftest.er1 >conftest.err
105964 rm -f conftest.er1
105965 cat conftest.err >&5
105966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105967 (exit $ac_status); } &&
105968 { ac_try='test -z "$ac_c_werror_flag"
105969 || test ! -s conftest.err'
105970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105971 (eval $ac_try) 2>&5
105972 ac_status=$?
105973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105974 (exit $ac_status); }; } &&
105975 { ac_try='test -s conftest$ac_exeext'
105976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105977 (eval $ac_try) 2>&5
105978 ac_status=$?
105979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105980 (exit $ac_status); }; }; then
105981 glibcxx_cv_func___builtin_labs_link=yes
105983 echo "$as_me: failed program was:" >&5
105984 sed 's/^/| /' conftest.$ac_ext >&5
105986 glibcxx_cv_func___builtin_labs_link=no
105988 rm -f conftest.err conftest.$ac_objext \
105989 conftest$ac_exeext conftest.$ac_ext
105994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105995 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105997 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105999 cat >>confdefs.h <<\_ACEOF
106000 #define HAVE___BUILTIN_LABS 1
106001 _ACEOF
106009 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106010 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106011 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106012 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106013 echo $ECHO_N "(cached) $ECHO_C" >&6
106018 ac_ext=cc
106019 ac_cpp='$CXXCPP $CPPFLAGS'
106020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106024 cat >conftest.$ac_ext <<_ACEOF
106025 /* confdefs.h. */
106026 _ACEOF
106027 cat confdefs.h >>conftest.$ac_ext
106028 cat >>conftest.$ac_ext <<_ACEOF
106029 /* end confdefs.h. */
106030 #include <math.h>
106032 main ()
106034 __builtin_sqrtf(0);
106036 return 0;
106038 _ACEOF
106039 rm -f conftest.$ac_objext
106040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106041 (eval $ac_compile) 2>conftest.er1
106042 ac_status=$?
106043 grep -v '^ *+' conftest.er1 >conftest.err
106044 rm -f conftest.er1
106045 cat conftest.err >&5
106046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106047 (exit $ac_status); } &&
106048 { ac_try='test -z "$ac_cxx_werror_flag"
106049 || test ! -s conftest.err'
106050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106051 (eval $ac_try) 2>&5
106052 ac_status=$?
106053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106054 (exit $ac_status); }; } &&
106055 { ac_try='test -s conftest.$ac_objext'
106056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106057 (eval $ac_try) 2>&5
106058 ac_status=$?
106059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106060 (exit $ac_status); }; }; then
106061 glibcxx_cv_func___builtin_sqrtf_use=yes
106063 echo "$as_me: failed program was:" >&5
106064 sed 's/^/| /' conftest.$ac_ext >&5
106066 glibcxx_cv_func___builtin_sqrtf_use=no
106068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106069 ac_ext=c
106070 ac_cpp='$CPP $CPPFLAGS'
106071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106079 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106080 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106081 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106082 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106083 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106084 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106085 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106086 echo $ECHO_N "(cached) $ECHO_C" >&6
106089 if test x$gcc_no_link = xyes; then
106090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106092 { (exit 1); exit 1; }; }
106094 cat >conftest.$ac_ext <<_ACEOF
106095 /* confdefs.h. */
106096 _ACEOF
106097 cat confdefs.h >>conftest.$ac_ext
106098 cat >>conftest.$ac_ext <<_ACEOF
106099 /* end confdefs.h. */
106100 #include <math.h>
106102 main ()
106104 __builtin_sqrtf(0);
106106 return 0;
106108 _ACEOF
106109 rm -f conftest.$ac_objext conftest$ac_exeext
106110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106111 (eval $ac_link) 2>conftest.er1
106112 ac_status=$?
106113 grep -v '^ *+' conftest.er1 >conftest.err
106114 rm -f conftest.er1
106115 cat conftest.err >&5
106116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106117 (exit $ac_status); } &&
106118 { ac_try='test -z "$ac_c_werror_flag"
106119 || test ! -s conftest.err'
106120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106121 (eval $ac_try) 2>&5
106122 ac_status=$?
106123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106124 (exit $ac_status); }; } &&
106125 { ac_try='test -s conftest$ac_exeext'
106126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106127 (eval $ac_try) 2>&5
106128 ac_status=$?
106129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106130 (exit $ac_status); }; }; then
106131 glibcxx_cv_func___builtin_sqrtf_link=yes
106133 echo "$as_me: failed program was:" >&5
106134 sed 's/^/| /' conftest.$ac_ext >&5
106136 glibcxx_cv_func___builtin_sqrtf_link=no
106138 rm -f conftest.err conftest.$ac_objext \
106139 conftest$ac_exeext conftest.$ac_ext
106144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106147 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106149 cat >>confdefs.h <<\_ACEOF
106150 #define HAVE___BUILTIN_SQRTF 1
106151 _ACEOF
106158 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106159 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106160 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106161 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106162 echo $ECHO_N "(cached) $ECHO_C" >&6
106167 ac_ext=cc
106168 ac_cpp='$CXXCPP $CPPFLAGS'
106169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106173 cat >conftest.$ac_ext <<_ACEOF
106174 /* confdefs.h. */
106175 _ACEOF
106176 cat confdefs.h >>conftest.$ac_ext
106177 cat >>conftest.$ac_ext <<_ACEOF
106178 /* end confdefs.h. */
106179 #include <math.h>
106181 main ()
106183 __builtin_sqrt(0);
106185 return 0;
106187 _ACEOF
106188 rm -f conftest.$ac_objext
106189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106190 (eval $ac_compile) 2>conftest.er1
106191 ac_status=$?
106192 grep -v '^ *+' conftest.er1 >conftest.err
106193 rm -f conftest.er1
106194 cat conftest.err >&5
106195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106196 (exit $ac_status); } &&
106197 { ac_try='test -z "$ac_cxx_werror_flag"
106198 || test ! -s conftest.err'
106199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106200 (eval $ac_try) 2>&5
106201 ac_status=$?
106202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106203 (exit $ac_status); }; } &&
106204 { ac_try='test -s conftest.$ac_objext'
106205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106206 (eval $ac_try) 2>&5
106207 ac_status=$?
106208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106209 (exit $ac_status); }; }; then
106210 glibcxx_cv_func___builtin_sqrt_use=yes
106212 echo "$as_me: failed program was:" >&5
106213 sed 's/^/| /' conftest.$ac_ext >&5
106215 glibcxx_cv_func___builtin_sqrt_use=no
106217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106218 ac_ext=c
106219 ac_cpp='$CPP $CPPFLAGS'
106220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106229 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106230 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106231 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106232 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106233 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106234 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106235 echo $ECHO_N "(cached) $ECHO_C" >&6
106238 if test x$gcc_no_link = xyes; then
106239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106241 { (exit 1); exit 1; }; }
106243 cat >conftest.$ac_ext <<_ACEOF
106244 /* confdefs.h. */
106245 _ACEOF
106246 cat confdefs.h >>conftest.$ac_ext
106247 cat >>conftest.$ac_ext <<_ACEOF
106248 /* end confdefs.h. */
106249 #include <math.h>
106251 main ()
106253 __builtin_sqrt(0);
106255 return 0;
106257 _ACEOF
106258 rm -f conftest.$ac_objext conftest$ac_exeext
106259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106260 (eval $ac_link) 2>conftest.er1
106261 ac_status=$?
106262 grep -v '^ *+' conftest.er1 >conftest.err
106263 rm -f conftest.er1
106264 cat conftest.err >&5
106265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266 (exit $ac_status); } &&
106267 { ac_try='test -z "$ac_c_werror_flag"
106268 || test ! -s conftest.err'
106269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106270 (eval $ac_try) 2>&5
106271 ac_status=$?
106272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106273 (exit $ac_status); }; } &&
106274 { ac_try='test -s conftest$ac_exeext'
106275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106276 (eval $ac_try) 2>&5
106277 ac_status=$?
106278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106279 (exit $ac_status); }; }; then
106280 glibcxx_cv_func___builtin_sqrt_link=yes
106282 echo "$as_me: failed program was:" >&5
106283 sed 's/^/| /' conftest.$ac_ext >&5
106285 glibcxx_cv_func___builtin_sqrt_link=no
106287 rm -f conftest.err conftest.$ac_objext \
106288 conftest$ac_exeext conftest.$ac_ext
106293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106294 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106296 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106298 cat >>confdefs.h <<\_ACEOF
106299 #define HAVE___BUILTIN_SQRT 1
106300 _ACEOF
106307 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106308 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106309 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106310 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106311 echo $ECHO_N "(cached) $ECHO_C" >&6
106316 ac_ext=cc
106317 ac_cpp='$CXXCPP $CPPFLAGS'
106318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106322 cat >conftest.$ac_ext <<_ACEOF
106323 /* confdefs.h. */
106324 _ACEOF
106325 cat confdefs.h >>conftest.$ac_ext
106326 cat >>conftest.$ac_ext <<_ACEOF
106327 /* end confdefs.h. */
106328 #include <math.h>
106330 main ()
106332 __builtin_sqrtl(0);
106334 return 0;
106336 _ACEOF
106337 rm -f conftest.$ac_objext
106338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106339 (eval $ac_compile) 2>conftest.er1
106340 ac_status=$?
106341 grep -v '^ *+' conftest.er1 >conftest.err
106342 rm -f conftest.er1
106343 cat conftest.err >&5
106344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106345 (exit $ac_status); } &&
106346 { ac_try='test -z "$ac_cxx_werror_flag"
106347 || test ! -s conftest.err'
106348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106349 (eval $ac_try) 2>&5
106350 ac_status=$?
106351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106352 (exit $ac_status); }; } &&
106353 { ac_try='test -s conftest.$ac_objext'
106354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106355 (eval $ac_try) 2>&5
106356 ac_status=$?
106357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106358 (exit $ac_status); }; }; then
106359 glibcxx_cv_func___builtin_sqrtl_use=yes
106361 echo "$as_me: failed program was:" >&5
106362 sed 's/^/| /' conftest.$ac_ext >&5
106364 glibcxx_cv_func___builtin_sqrtl_use=no
106366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106367 ac_ext=c
106368 ac_cpp='$CPP $CPPFLAGS'
106369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106378 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106379 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106380 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106381 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106382 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106383 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106384 echo $ECHO_N "(cached) $ECHO_C" >&6
106387 if test x$gcc_no_link = xyes; then
106388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106390 { (exit 1); exit 1; }; }
106392 cat >conftest.$ac_ext <<_ACEOF
106393 /* confdefs.h. */
106394 _ACEOF
106395 cat confdefs.h >>conftest.$ac_ext
106396 cat >>conftest.$ac_ext <<_ACEOF
106397 /* end confdefs.h. */
106398 #include <math.h>
106400 main ()
106402 __builtin_sqrtl(0);
106404 return 0;
106406 _ACEOF
106407 rm -f conftest.$ac_objext conftest$ac_exeext
106408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106409 (eval $ac_link) 2>conftest.er1
106410 ac_status=$?
106411 grep -v '^ *+' conftest.er1 >conftest.err
106412 rm -f conftest.er1
106413 cat conftest.err >&5
106414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106415 (exit $ac_status); } &&
106416 { ac_try='test -z "$ac_c_werror_flag"
106417 || test ! -s conftest.err'
106418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106419 (eval $ac_try) 2>&5
106420 ac_status=$?
106421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106422 (exit $ac_status); }; } &&
106423 { ac_try='test -s conftest$ac_exeext'
106424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106425 (eval $ac_try) 2>&5
106426 ac_status=$?
106427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106428 (exit $ac_status); }; }; then
106429 glibcxx_cv_func___builtin_sqrtl_link=yes
106431 echo "$as_me: failed program was:" >&5
106432 sed 's/^/| /' conftest.$ac_ext >&5
106434 glibcxx_cv_func___builtin_sqrtl_link=no
106436 rm -f conftest.err conftest.$ac_objext \
106437 conftest$ac_exeext conftest.$ac_ext
106442 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106443 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106445 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106447 cat >>confdefs.h <<\_ACEOF
106448 #define HAVE___BUILTIN_SQRTL 1
106449 _ACEOF
106457 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106458 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106459 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106460 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106461 echo $ECHO_N "(cached) $ECHO_C" >&6
106466 ac_ext=cc
106467 ac_cpp='$CXXCPP $CPPFLAGS'
106468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106472 cat >conftest.$ac_ext <<_ACEOF
106473 /* confdefs.h. */
106474 _ACEOF
106475 cat confdefs.h >>conftest.$ac_ext
106476 cat >>conftest.$ac_ext <<_ACEOF
106477 /* end confdefs.h. */
106478 #include <math.h>
106480 main ()
106482 __builtin_sinf(0);
106484 return 0;
106486 _ACEOF
106487 rm -f conftest.$ac_objext
106488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106489 (eval $ac_compile) 2>conftest.er1
106490 ac_status=$?
106491 grep -v '^ *+' conftest.er1 >conftest.err
106492 rm -f conftest.er1
106493 cat conftest.err >&5
106494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106495 (exit $ac_status); } &&
106496 { ac_try='test -z "$ac_cxx_werror_flag"
106497 || test ! -s conftest.err'
106498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106499 (eval $ac_try) 2>&5
106500 ac_status=$?
106501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106502 (exit $ac_status); }; } &&
106503 { ac_try='test -s conftest.$ac_objext'
106504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106505 (eval $ac_try) 2>&5
106506 ac_status=$?
106507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106508 (exit $ac_status); }; }; then
106509 glibcxx_cv_func___builtin_sinf_use=yes
106511 echo "$as_me: failed program was:" >&5
106512 sed 's/^/| /' conftest.$ac_ext >&5
106514 glibcxx_cv_func___builtin_sinf_use=no
106516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106517 ac_ext=c
106518 ac_cpp='$CPP $CPPFLAGS'
106519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106528 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106529 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106530 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106531 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106532 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106533 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106534 echo $ECHO_N "(cached) $ECHO_C" >&6
106537 if test x$gcc_no_link = xyes; then
106538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106540 { (exit 1); exit 1; }; }
106542 cat >conftest.$ac_ext <<_ACEOF
106543 /* confdefs.h. */
106544 _ACEOF
106545 cat confdefs.h >>conftest.$ac_ext
106546 cat >>conftest.$ac_ext <<_ACEOF
106547 /* end confdefs.h. */
106548 #include <math.h>
106550 main ()
106552 __builtin_sinf(0);
106554 return 0;
106556 _ACEOF
106557 rm -f conftest.$ac_objext conftest$ac_exeext
106558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106559 (eval $ac_link) 2>conftest.er1
106560 ac_status=$?
106561 grep -v '^ *+' conftest.er1 >conftest.err
106562 rm -f conftest.er1
106563 cat conftest.err >&5
106564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106565 (exit $ac_status); } &&
106566 { ac_try='test -z "$ac_c_werror_flag"
106567 || test ! -s conftest.err'
106568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106569 (eval $ac_try) 2>&5
106570 ac_status=$?
106571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106572 (exit $ac_status); }; } &&
106573 { ac_try='test -s conftest$ac_exeext'
106574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106575 (eval $ac_try) 2>&5
106576 ac_status=$?
106577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106578 (exit $ac_status); }; }; then
106579 glibcxx_cv_func___builtin_sinf_link=yes
106581 echo "$as_me: failed program was:" >&5
106582 sed 's/^/| /' conftest.$ac_ext >&5
106584 glibcxx_cv_func___builtin_sinf_link=no
106586 rm -f conftest.err conftest.$ac_objext \
106587 conftest$ac_exeext conftest.$ac_ext
106592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106593 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106595 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106597 cat >>confdefs.h <<\_ACEOF
106598 #define HAVE___BUILTIN_SINF 1
106599 _ACEOF
106606 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106607 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106608 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106609 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106610 echo $ECHO_N "(cached) $ECHO_C" >&6
106615 ac_ext=cc
106616 ac_cpp='$CXXCPP $CPPFLAGS'
106617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106621 cat >conftest.$ac_ext <<_ACEOF
106622 /* confdefs.h. */
106623 _ACEOF
106624 cat confdefs.h >>conftest.$ac_ext
106625 cat >>conftest.$ac_ext <<_ACEOF
106626 /* end confdefs.h. */
106627 #include <math.h>
106629 main ()
106631 __builtin_sin(0);
106633 return 0;
106635 _ACEOF
106636 rm -f conftest.$ac_objext
106637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106638 (eval $ac_compile) 2>conftest.er1
106639 ac_status=$?
106640 grep -v '^ *+' conftest.er1 >conftest.err
106641 rm -f conftest.er1
106642 cat conftest.err >&5
106643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644 (exit $ac_status); } &&
106645 { ac_try='test -z "$ac_cxx_werror_flag"
106646 || test ! -s conftest.err'
106647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106648 (eval $ac_try) 2>&5
106649 ac_status=$?
106650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106651 (exit $ac_status); }; } &&
106652 { ac_try='test -s conftest.$ac_objext'
106653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106654 (eval $ac_try) 2>&5
106655 ac_status=$?
106656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106657 (exit $ac_status); }; }; then
106658 glibcxx_cv_func___builtin_sin_use=yes
106660 echo "$as_me: failed program was:" >&5
106661 sed 's/^/| /' conftest.$ac_ext >&5
106663 glibcxx_cv_func___builtin_sin_use=no
106665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106666 ac_ext=c
106667 ac_cpp='$CPP $CPPFLAGS'
106668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106677 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106678 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106679 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106680 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106681 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106682 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106683 echo $ECHO_N "(cached) $ECHO_C" >&6
106686 if test x$gcc_no_link = xyes; then
106687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106689 { (exit 1); exit 1; }; }
106691 cat >conftest.$ac_ext <<_ACEOF
106692 /* confdefs.h. */
106693 _ACEOF
106694 cat confdefs.h >>conftest.$ac_ext
106695 cat >>conftest.$ac_ext <<_ACEOF
106696 /* end confdefs.h. */
106697 #include <math.h>
106699 main ()
106701 __builtin_sin(0);
106703 return 0;
106705 _ACEOF
106706 rm -f conftest.$ac_objext conftest$ac_exeext
106707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106708 (eval $ac_link) 2>conftest.er1
106709 ac_status=$?
106710 grep -v '^ *+' conftest.er1 >conftest.err
106711 rm -f conftest.er1
106712 cat conftest.err >&5
106713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106714 (exit $ac_status); } &&
106715 { ac_try='test -z "$ac_c_werror_flag"
106716 || test ! -s conftest.err'
106717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106718 (eval $ac_try) 2>&5
106719 ac_status=$?
106720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106721 (exit $ac_status); }; } &&
106722 { ac_try='test -s conftest$ac_exeext'
106723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106724 (eval $ac_try) 2>&5
106725 ac_status=$?
106726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106727 (exit $ac_status); }; }; then
106728 glibcxx_cv_func___builtin_sin_link=yes
106730 echo "$as_me: failed program was:" >&5
106731 sed 's/^/| /' conftest.$ac_ext >&5
106733 glibcxx_cv_func___builtin_sin_link=no
106735 rm -f conftest.err conftest.$ac_objext \
106736 conftest$ac_exeext conftest.$ac_ext
106741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106742 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106744 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106746 cat >>confdefs.h <<\_ACEOF
106747 #define HAVE___BUILTIN_SIN 1
106748 _ACEOF
106755 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106756 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106757 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106758 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106759 echo $ECHO_N "(cached) $ECHO_C" >&6
106764 ac_ext=cc
106765 ac_cpp='$CXXCPP $CPPFLAGS'
106766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106770 cat >conftest.$ac_ext <<_ACEOF
106771 /* confdefs.h. */
106772 _ACEOF
106773 cat confdefs.h >>conftest.$ac_ext
106774 cat >>conftest.$ac_ext <<_ACEOF
106775 /* end confdefs.h. */
106776 #include <math.h>
106778 main ()
106780 __builtin_sinl(0);
106782 return 0;
106784 _ACEOF
106785 rm -f conftest.$ac_objext
106786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106787 (eval $ac_compile) 2>conftest.er1
106788 ac_status=$?
106789 grep -v '^ *+' conftest.er1 >conftest.err
106790 rm -f conftest.er1
106791 cat conftest.err >&5
106792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106793 (exit $ac_status); } &&
106794 { ac_try='test -z "$ac_cxx_werror_flag"
106795 || test ! -s conftest.err'
106796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106797 (eval $ac_try) 2>&5
106798 ac_status=$?
106799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106800 (exit $ac_status); }; } &&
106801 { ac_try='test -s conftest.$ac_objext'
106802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106803 (eval $ac_try) 2>&5
106804 ac_status=$?
106805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106806 (exit $ac_status); }; }; then
106807 glibcxx_cv_func___builtin_sinl_use=yes
106809 echo "$as_me: failed program was:" >&5
106810 sed 's/^/| /' conftest.$ac_ext >&5
106812 glibcxx_cv_func___builtin_sinl_use=no
106814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106815 ac_ext=c
106816 ac_cpp='$CPP $CPPFLAGS'
106817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106826 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106827 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106828 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106829 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106830 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106831 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106832 echo $ECHO_N "(cached) $ECHO_C" >&6
106835 if test x$gcc_no_link = xyes; then
106836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106838 { (exit 1); exit 1; }; }
106840 cat >conftest.$ac_ext <<_ACEOF
106841 /* confdefs.h. */
106842 _ACEOF
106843 cat confdefs.h >>conftest.$ac_ext
106844 cat >>conftest.$ac_ext <<_ACEOF
106845 /* end confdefs.h. */
106846 #include <math.h>
106848 main ()
106850 __builtin_sinl(0);
106852 return 0;
106854 _ACEOF
106855 rm -f conftest.$ac_objext conftest$ac_exeext
106856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106857 (eval $ac_link) 2>conftest.er1
106858 ac_status=$?
106859 grep -v '^ *+' conftest.er1 >conftest.err
106860 rm -f conftest.er1
106861 cat conftest.err >&5
106862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106863 (exit $ac_status); } &&
106864 { ac_try='test -z "$ac_c_werror_flag"
106865 || test ! -s conftest.err'
106866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106867 (eval $ac_try) 2>&5
106868 ac_status=$?
106869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106870 (exit $ac_status); }; } &&
106871 { ac_try='test -s conftest$ac_exeext'
106872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106873 (eval $ac_try) 2>&5
106874 ac_status=$?
106875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106876 (exit $ac_status); }; }; then
106877 glibcxx_cv_func___builtin_sinl_link=yes
106879 echo "$as_me: failed program was:" >&5
106880 sed 's/^/| /' conftest.$ac_ext >&5
106882 glibcxx_cv_func___builtin_sinl_link=no
106884 rm -f conftest.err conftest.$ac_objext \
106885 conftest$ac_exeext conftest.$ac_ext
106890 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106893 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106895 cat >>confdefs.h <<\_ACEOF
106896 #define HAVE___BUILTIN_SINL 1
106897 _ACEOF
106905 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106906 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106907 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106908 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106909 echo $ECHO_N "(cached) $ECHO_C" >&6
106914 ac_ext=cc
106915 ac_cpp='$CXXCPP $CPPFLAGS'
106916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106920 cat >conftest.$ac_ext <<_ACEOF
106921 /* confdefs.h. */
106922 _ACEOF
106923 cat confdefs.h >>conftest.$ac_ext
106924 cat >>conftest.$ac_ext <<_ACEOF
106925 /* end confdefs.h. */
106926 #include <math.h>
106928 main ()
106930 __builtin_cosf(0);
106932 return 0;
106934 _ACEOF
106935 rm -f conftest.$ac_objext
106936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106937 (eval $ac_compile) 2>conftest.er1
106938 ac_status=$?
106939 grep -v '^ *+' conftest.er1 >conftest.err
106940 rm -f conftest.er1
106941 cat conftest.err >&5
106942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106943 (exit $ac_status); } &&
106944 { ac_try='test -z "$ac_cxx_werror_flag"
106945 || test ! -s conftest.err'
106946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106947 (eval $ac_try) 2>&5
106948 ac_status=$?
106949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106950 (exit $ac_status); }; } &&
106951 { ac_try='test -s conftest.$ac_objext'
106952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106953 (eval $ac_try) 2>&5
106954 ac_status=$?
106955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106956 (exit $ac_status); }; }; then
106957 glibcxx_cv_func___builtin_cosf_use=yes
106959 echo "$as_me: failed program was:" >&5
106960 sed 's/^/| /' conftest.$ac_ext >&5
106962 glibcxx_cv_func___builtin_cosf_use=no
106964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106965 ac_ext=c
106966 ac_cpp='$CPP $CPPFLAGS'
106967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106976 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106977 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106978 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106979 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106980 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106981 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106982 echo $ECHO_N "(cached) $ECHO_C" >&6
106985 if test x$gcc_no_link = xyes; then
106986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106988 { (exit 1); exit 1; }; }
106990 cat >conftest.$ac_ext <<_ACEOF
106991 /* confdefs.h. */
106992 _ACEOF
106993 cat confdefs.h >>conftest.$ac_ext
106994 cat >>conftest.$ac_ext <<_ACEOF
106995 /* end confdefs.h. */
106996 #include <math.h>
106998 main ()
107000 __builtin_cosf(0);
107002 return 0;
107004 _ACEOF
107005 rm -f conftest.$ac_objext conftest$ac_exeext
107006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107007 (eval $ac_link) 2>conftest.er1
107008 ac_status=$?
107009 grep -v '^ *+' conftest.er1 >conftest.err
107010 rm -f conftest.er1
107011 cat conftest.err >&5
107012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107013 (exit $ac_status); } &&
107014 { ac_try='test -z "$ac_c_werror_flag"
107015 || test ! -s conftest.err'
107016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107017 (eval $ac_try) 2>&5
107018 ac_status=$?
107019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107020 (exit $ac_status); }; } &&
107021 { ac_try='test -s conftest$ac_exeext'
107022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107023 (eval $ac_try) 2>&5
107024 ac_status=$?
107025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107026 (exit $ac_status); }; }; then
107027 glibcxx_cv_func___builtin_cosf_link=yes
107029 echo "$as_me: failed program was:" >&5
107030 sed 's/^/| /' conftest.$ac_ext >&5
107032 glibcxx_cv_func___builtin_cosf_link=no
107034 rm -f conftest.err conftest.$ac_objext \
107035 conftest$ac_exeext conftest.$ac_ext
107040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107041 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107043 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107045 cat >>confdefs.h <<\_ACEOF
107046 #define HAVE___BUILTIN_COSF 1
107047 _ACEOF
107054 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107055 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107056 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107057 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107058 echo $ECHO_N "(cached) $ECHO_C" >&6
107063 ac_ext=cc
107064 ac_cpp='$CXXCPP $CPPFLAGS'
107065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107069 cat >conftest.$ac_ext <<_ACEOF
107070 /* confdefs.h. */
107071 _ACEOF
107072 cat confdefs.h >>conftest.$ac_ext
107073 cat >>conftest.$ac_ext <<_ACEOF
107074 /* end confdefs.h. */
107075 #include <math.h>
107077 main ()
107079 __builtin_cos(0);
107081 return 0;
107083 _ACEOF
107084 rm -f conftest.$ac_objext
107085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107086 (eval $ac_compile) 2>conftest.er1
107087 ac_status=$?
107088 grep -v '^ *+' conftest.er1 >conftest.err
107089 rm -f conftest.er1
107090 cat conftest.err >&5
107091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107092 (exit $ac_status); } &&
107093 { ac_try='test -z "$ac_cxx_werror_flag"
107094 || test ! -s conftest.err'
107095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107096 (eval $ac_try) 2>&5
107097 ac_status=$?
107098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107099 (exit $ac_status); }; } &&
107100 { ac_try='test -s conftest.$ac_objext'
107101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107102 (eval $ac_try) 2>&5
107103 ac_status=$?
107104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107105 (exit $ac_status); }; }; then
107106 glibcxx_cv_func___builtin_cos_use=yes
107108 echo "$as_me: failed program was:" >&5
107109 sed 's/^/| /' conftest.$ac_ext >&5
107111 glibcxx_cv_func___builtin_cos_use=no
107113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107114 ac_ext=c
107115 ac_cpp='$CPP $CPPFLAGS'
107116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107125 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107126 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107127 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107128 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107129 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107130 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107131 echo $ECHO_N "(cached) $ECHO_C" >&6
107134 if test x$gcc_no_link = xyes; then
107135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107137 { (exit 1); exit 1; }; }
107139 cat >conftest.$ac_ext <<_ACEOF
107140 /* confdefs.h. */
107141 _ACEOF
107142 cat confdefs.h >>conftest.$ac_ext
107143 cat >>conftest.$ac_ext <<_ACEOF
107144 /* end confdefs.h. */
107145 #include <math.h>
107147 main ()
107149 __builtin_cos(0);
107151 return 0;
107153 _ACEOF
107154 rm -f conftest.$ac_objext conftest$ac_exeext
107155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107156 (eval $ac_link) 2>conftest.er1
107157 ac_status=$?
107158 grep -v '^ *+' conftest.er1 >conftest.err
107159 rm -f conftest.er1
107160 cat conftest.err >&5
107161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107162 (exit $ac_status); } &&
107163 { ac_try='test -z "$ac_c_werror_flag"
107164 || test ! -s conftest.err'
107165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107166 (eval $ac_try) 2>&5
107167 ac_status=$?
107168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107169 (exit $ac_status); }; } &&
107170 { ac_try='test -s conftest$ac_exeext'
107171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107172 (eval $ac_try) 2>&5
107173 ac_status=$?
107174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107175 (exit $ac_status); }; }; then
107176 glibcxx_cv_func___builtin_cos_link=yes
107178 echo "$as_me: failed program was:" >&5
107179 sed 's/^/| /' conftest.$ac_ext >&5
107181 glibcxx_cv_func___builtin_cos_link=no
107183 rm -f conftest.err conftest.$ac_objext \
107184 conftest$ac_exeext conftest.$ac_ext
107189 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107190 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107192 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107194 cat >>confdefs.h <<\_ACEOF
107195 #define HAVE___BUILTIN_COS 1
107196 _ACEOF
107203 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107204 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107205 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107206 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107207 echo $ECHO_N "(cached) $ECHO_C" >&6
107212 ac_ext=cc
107213 ac_cpp='$CXXCPP $CPPFLAGS'
107214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107218 cat >conftest.$ac_ext <<_ACEOF
107219 /* confdefs.h. */
107220 _ACEOF
107221 cat confdefs.h >>conftest.$ac_ext
107222 cat >>conftest.$ac_ext <<_ACEOF
107223 /* end confdefs.h. */
107224 #include <math.h>
107226 main ()
107228 __builtin_cosl(0);
107230 return 0;
107232 _ACEOF
107233 rm -f conftest.$ac_objext
107234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107235 (eval $ac_compile) 2>conftest.er1
107236 ac_status=$?
107237 grep -v '^ *+' conftest.er1 >conftest.err
107238 rm -f conftest.er1
107239 cat conftest.err >&5
107240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107241 (exit $ac_status); } &&
107242 { ac_try='test -z "$ac_cxx_werror_flag"
107243 || test ! -s conftest.err'
107244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107245 (eval $ac_try) 2>&5
107246 ac_status=$?
107247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107248 (exit $ac_status); }; } &&
107249 { ac_try='test -s conftest.$ac_objext'
107250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107251 (eval $ac_try) 2>&5
107252 ac_status=$?
107253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107254 (exit $ac_status); }; }; then
107255 glibcxx_cv_func___builtin_cosl_use=yes
107257 echo "$as_me: failed program was:" >&5
107258 sed 's/^/| /' conftest.$ac_ext >&5
107260 glibcxx_cv_func___builtin_cosl_use=no
107262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107263 ac_ext=c
107264 ac_cpp='$CPP $CPPFLAGS'
107265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107274 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107275 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107276 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107277 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107278 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107279 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107280 echo $ECHO_N "(cached) $ECHO_C" >&6
107283 if test x$gcc_no_link = xyes; then
107284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107286 { (exit 1); exit 1; }; }
107288 cat >conftest.$ac_ext <<_ACEOF
107289 /* confdefs.h. */
107290 _ACEOF
107291 cat confdefs.h >>conftest.$ac_ext
107292 cat >>conftest.$ac_ext <<_ACEOF
107293 /* end confdefs.h. */
107294 #include <math.h>
107296 main ()
107298 __builtin_cosl(0);
107300 return 0;
107302 _ACEOF
107303 rm -f conftest.$ac_objext conftest$ac_exeext
107304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107305 (eval $ac_link) 2>conftest.er1
107306 ac_status=$?
107307 grep -v '^ *+' conftest.er1 >conftest.err
107308 rm -f conftest.er1
107309 cat conftest.err >&5
107310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107311 (exit $ac_status); } &&
107312 { ac_try='test -z "$ac_c_werror_flag"
107313 || test ! -s conftest.err'
107314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107315 (eval $ac_try) 2>&5
107316 ac_status=$?
107317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107318 (exit $ac_status); }; } &&
107319 { ac_try='test -s conftest$ac_exeext'
107320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107321 (eval $ac_try) 2>&5
107322 ac_status=$?
107323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107324 (exit $ac_status); }; }; then
107325 glibcxx_cv_func___builtin_cosl_link=yes
107327 echo "$as_me: failed program was:" >&5
107328 sed 's/^/| /' conftest.$ac_ext >&5
107330 glibcxx_cv_func___builtin_cosl_link=no
107332 rm -f conftest.err conftest.$ac_objext \
107333 conftest$ac_exeext conftest.$ac_ext
107338 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107339 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107341 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107343 cat >>confdefs.h <<\_ACEOF
107344 #define HAVE___BUILTIN_COSL 1
107345 _ACEOF
107354 echo "$as_me:$LINENO: checking for main in -lm" >&5
107355 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107356 if test "${ac_cv_lib_m_main+set}" = set; then
107357 echo $ECHO_N "(cached) $ECHO_C" >&6
107359 ac_check_lib_save_LIBS=$LIBS
107360 LIBS="-lm $LIBS"
107361 if test x$gcc_no_link = xyes; then
107362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107364 { (exit 1); exit 1; }; }
107366 cat >conftest.$ac_ext <<_ACEOF
107367 /* confdefs.h. */
107368 _ACEOF
107369 cat confdefs.h >>conftest.$ac_ext
107370 cat >>conftest.$ac_ext <<_ACEOF
107371 /* end confdefs.h. */
107375 main ()
107377 main ();
107379 return 0;
107381 _ACEOF
107382 rm -f conftest.$ac_objext conftest$ac_exeext
107383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107384 (eval $ac_link) 2>conftest.er1
107385 ac_status=$?
107386 grep -v '^ *+' conftest.er1 >conftest.err
107387 rm -f conftest.er1
107388 cat conftest.err >&5
107389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107390 (exit $ac_status); } &&
107391 { ac_try='test -z "$ac_c_werror_flag"
107392 || test ! -s conftest.err'
107393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107394 (eval $ac_try) 2>&5
107395 ac_status=$?
107396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107397 (exit $ac_status); }; } &&
107398 { ac_try='test -s conftest$ac_exeext'
107399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107400 (eval $ac_try) 2>&5
107401 ac_status=$?
107402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107403 (exit $ac_status); }; }; then
107404 ac_cv_lib_m_main=yes
107406 echo "$as_me: failed program was:" >&5
107407 sed 's/^/| /' conftest.$ac_ext >&5
107409 ac_cv_lib_m_main=no
107411 rm -f conftest.err conftest.$ac_objext \
107412 conftest$ac_exeext conftest.$ac_ext
107413 LIBS=$ac_check_lib_save_LIBS
107415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107416 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107417 if test $ac_cv_lib_m_main = yes; then
107418 cat >>confdefs.h <<_ACEOF
107419 #define HAVE_LIBM 1
107420 _ACEOF
107422 LIBS="-lm $LIBS"
107427 for ac_func in copysignf
107429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107430 echo "$as_me:$LINENO: checking for $ac_func" >&5
107431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107432 if eval "test \"\${$as_ac_var+set}\" = set"; then
107433 echo $ECHO_N "(cached) $ECHO_C" >&6
107435 if test x$gcc_no_link = xyes; then
107436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107438 { (exit 1); exit 1; }; }
107440 cat >conftest.$ac_ext <<_ACEOF
107441 /* confdefs.h. */
107442 _ACEOF
107443 cat confdefs.h >>conftest.$ac_ext
107444 cat >>conftest.$ac_ext <<_ACEOF
107445 /* end confdefs.h. */
107446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107448 #define $ac_func innocuous_$ac_func
107450 /* System header to define __stub macros and hopefully few prototypes,
107451 which can conflict with char $ac_func (); below.
107452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107453 <limits.h> exists even on freestanding compilers. */
107455 #ifdef __STDC__
107456 # include <limits.h>
107457 #else
107458 # include <assert.h>
107459 #endif
107461 #undef $ac_func
107463 /* Override any gcc2 internal prototype to avoid an error. */
107464 #ifdef __cplusplus
107465 extern "C"
107467 #endif
107468 /* We use char because int might match the return type of a gcc2
107469 builtin and then its argument prototype would still apply. */
107470 char $ac_func ();
107471 /* The GNU C library defines this for functions which it implements
107472 to always fail with ENOSYS. Some functions are actually named
107473 something starting with __ and the normal name is an alias. */
107474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107475 choke me
107476 #else
107477 char (*f) () = $ac_func;
107478 #endif
107479 #ifdef __cplusplus
107481 #endif
107484 main ()
107486 return f != $ac_func;
107488 return 0;
107490 _ACEOF
107491 rm -f conftest.$ac_objext conftest$ac_exeext
107492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107493 (eval $ac_link) 2>conftest.er1
107494 ac_status=$?
107495 grep -v '^ *+' conftest.er1 >conftest.err
107496 rm -f conftest.er1
107497 cat conftest.err >&5
107498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107499 (exit $ac_status); } &&
107500 { ac_try='test -z "$ac_c_werror_flag"
107501 || test ! -s conftest.err'
107502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107503 (eval $ac_try) 2>&5
107504 ac_status=$?
107505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107506 (exit $ac_status); }; } &&
107507 { ac_try='test -s conftest$ac_exeext'
107508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107509 (eval $ac_try) 2>&5
107510 ac_status=$?
107511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107512 (exit $ac_status); }; }; then
107513 eval "$as_ac_var=yes"
107515 echo "$as_me: failed program was:" >&5
107516 sed 's/^/| /' conftest.$ac_ext >&5
107518 eval "$as_ac_var=no"
107520 rm -f conftest.err conftest.$ac_objext \
107521 conftest$ac_exeext conftest.$ac_ext
107523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107525 if test `eval echo '${'$as_ac_var'}'` = yes; then
107526 cat >>confdefs.h <<_ACEOF
107527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107528 _ACEOF
107531 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107537 for ac_func in __signbit
107539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107540 echo "$as_me:$LINENO: checking for $ac_func" >&5
107541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107542 if eval "test \"\${$as_ac_var+set}\" = set"; then
107543 echo $ECHO_N "(cached) $ECHO_C" >&6
107545 if test x$gcc_no_link = xyes; then
107546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107548 { (exit 1); exit 1; }; }
107550 cat >conftest.$ac_ext <<_ACEOF
107551 /* confdefs.h. */
107552 _ACEOF
107553 cat confdefs.h >>conftest.$ac_ext
107554 cat >>conftest.$ac_ext <<_ACEOF
107555 /* end confdefs.h. */
107556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107558 #define $ac_func innocuous_$ac_func
107560 /* System header to define __stub macros and hopefully few prototypes,
107561 which can conflict with char $ac_func (); below.
107562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107563 <limits.h> exists even on freestanding compilers. */
107565 #ifdef __STDC__
107566 # include <limits.h>
107567 #else
107568 # include <assert.h>
107569 #endif
107571 #undef $ac_func
107573 /* Override any gcc2 internal prototype to avoid an error. */
107574 #ifdef __cplusplus
107575 extern "C"
107577 #endif
107578 /* We use char because int might match the return type of a gcc2
107579 builtin and then its argument prototype would still apply. */
107580 char $ac_func ();
107581 /* The GNU C library defines this for functions which it implements
107582 to always fail with ENOSYS. Some functions are actually named
107583 something starting with __ and the normal name is an alias. */
107584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107585 choke me
107586 #else
107587 char (*f) () = $ac_func;
107588 #endif
107589 #ifdef __cplusplus
107591 #endif
107594 main ()
107596 return f != $ac_func;
107598 return 0;
107600 _ACEOF
107601 rm -f conftest.$ac_objext conftest$ac_exeext
107602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107603 (eval $ac_link) 2>conftest.er1
107604 ac_status=$?
107605 grep -v '^ *+' conftest.er1 >conftest.err
107606 rm -f conftest.er1
107607 cat conftest.err >&5
107608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107609 (exit $ac_status); } &&
107610 { ac_try='test -z "$ac_c_werror_flag"
107611 || test ! -s conftest.err'
107612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107613 (eval $ac_try) 2>&5
107614 ac_status=$?
107615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107616 (exit $ac_status); }; } &&
107617 { ac_try='test -s conftest$ac_exeext'
107618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107619 (eval $ac_try) 2>&5
107620 ac_status=$?
107621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107622 (exit $ac_status); }; }; then
107623 eval "$as_ac_var=yes"
107625 echo "$as_me: failed program was:" >&5
107626 sed 's/^/| /' conftest.$ac_ext >&5
107628 eval "$as_ac_var=no"
107630 rm -f conftest.err conftest.$ac_objext \
107631 conftest$ac_exeext conftest.$ac_ext
107633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107635 if test `eval echo '${'$as_ac_var'}'` = yes; then
107636 cat >>confdefs.h <<_ACEOF
107637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107638 _ACEOF
107641 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107647 for ac_func in __signbitf
107649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107650 echo "$as_me:$LINENO: checking for $ac_func" >&5
107651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107652 if eval "test \"\${$as_ac_var+set}\" = set"; then
107653 echo $ECHO_N "(cached) $ECHO_C" >&6
107655 if test x$gcc_no_link = xyes; then
107656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107658 { (exit 1); exit 1; }; }
107660 cat >conftest.$ac_ext <<_ACEOF
107661 /* confdefs.h. */
107662 _ACEOF
107663 cat confdefs.h >>conftest.$ac_ext
107664 cat >>conftest.$ac_ext <<_ACEOF
107665 /* end confdefs.h. */
107666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107668 #define $ac_func innocuous_$ac_func
107670 /* System header to define __stub macros and hopefully few prototypes,
107671 which can conflict with char $ac_func (); below.
107672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107673 <limits.h> exists even on freestanding compilers. */
107675 #ifdef __STDC__
107676 # include <limits.h>
107677 #else
107678 # include <assert.h>
107679 #endif
107681 #undef $ac_func
107683 /* Override any gcc2 internal prototype to avoid an error. */
107684 #ifdef __cplusplus
107685 extern "C"
107687 #endif
107688 /* We use char because int might match the return type of a gcc2
107689 builtin and then its argument prototype would still apply. */
107690 char $ac_func ();
107691 /* The GNU C library defines this for functions which it implements
107692 to always fail with ENOSYS. Some functions are actually named
107693 something starting with __ and the normal name is an alias. */
107694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107695 choke me
107696 #else
107697 char (*f) () = $ac_func;
107698 #endif
107699 #ifdef __cplusplus
107701 #endif
107704 main ()
107706 return f != $ac_func;
107708 return 0;
107710 _ACEOF
107711 rm -f conftest.$ac_objext conftest$ac_exeext
107712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107713 (eval $ac_link) 2>conftest.er1
107714 ac_status=$?
107715 grep -v '^ *+' conftest.er1 >conftest.err
107716 rm -f conftest.er1
107717 cat conftest.err >&5
107718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107719 (exit $ac_status); } &&
107720 { ac_try='test -z "$ac_c_werror_flag"
107721 || test ! -s conftest.err'
107722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107723 (eval $ac_try) 2>&5
107724 ac_status=$?
107725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107726 (exit $ac_status); }; } &&
107727 { ac_try='test -s conftest$ac_exeext'
107728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107729 (eval $ac_try) 2>&5
107730 ac_status=$?
107731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107732 (exit $ac_status); }; }; then
107733 eval "$as_ac_var=yes"
107735 echo "$as_me: failed program was:" >&5
107736 sed 's/^/| /' conftest.$ac_ext >&5
107738 eval "$as_ac_var=no"
107740 rm -f conftest.err conftest.$ac_objext \
107741 conftest$ac_exeext conftest.$ac_ext
107743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107745 if test `eval echo '${'$as_ac_var'}'` = yes; then
107746 cat >>confdefs.h <<_ACEOF
107747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107748 _ACEOF
107751 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107756 if test x$ac_cv_func_copysignl = x"yes"; then
107758 for ac_func in __signbitl
107760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107761 echo "$as_me:$LINENO: checking for $ac_func" >&5
107762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107763 if eval "test \"\${$as_ac_var+set}\" = set"; then
107764 echo $ECHO_N "(cached) $ECHO_C" >&6
107766 if test x$gcc_no_link = xyes; then
107767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107769 { (exit 1); exit 1; }; }
107771 cat >conftest.$ac_ext <<_ACEOF
107772 /* confdefs.h. */
107773 _ACEOF
107774 cat confdefs.h >>conftest.$ac_ext
107775 cat >>conftest.$ac_ext <<_ACEOF
107776 /* end confdefs.h. */
107777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107779 #define $ac_func innocuous_$ac_func
107781 /* System header to define __stub macros and hopefully few prototypes,
107782 which can conflict with char $ac_func (); below.
107783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107784 <limits.h> exists even on freestanding compilers. */
107786 #ifdef __STDC__
107787 # include <limits.h>
107788 #else
107789 # include <assert.h>
107790 #endif
107792 #undef $ac_func
107794 /* Override any gcc2 internal prototype to avoid an error. */
107795 #ifdef __cplusplus
107796 extern "C"
107798 #endif
107799 /* We use char because int might match the return type of a gcc2
107800 builtin and then its argument prototype would still apply. */
107801 char $ac_func ();
107802 /* The GNU C library defines this for functions which it implements
107803 to always fail with ENOSYS. Some functions are actually named
107804 something starting with __ and the normal name is an alias. */
107805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107806 choke me
107807 #else
107808 char (*f) () = $ac_func;
107809 #endif
107810 #ifdef __cplusplus
107812 #endif
107815 main ()
107817 return f != $ac_func;
107819 return 0;
107821 _ACEOF
107822 rm -f conftest.$ac_objext conftest$ac_exeext
107823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107824 (eval $ac_link) 2>conftest.er1
107825 ac_status=$?
107826 grep -v '^ *+' conftest.er1 >conftest.err
107827 rm -f conftest.er1
107828 cat conftest.err >&5
107829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107830 (exit $ac_status); } &&
107831 { ac_try='test -z "$ac_c_werror_flag"
107832 || test ! -s conftest.err'
107833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107834 (eval $ac_try) 2>&5
107835 ac_status=$?
107836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107837 (exit $ac_status); }; } &&
107838 { ac_try='test -s conftest$ac_exeext'
107839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107840 (eval $ac_try) 2>&5
107841 ac_status=$?
107842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107843 (exit $ac_status); }; }; then
107844 eval "$as_ac_var=yes"
107846 echo "$as_me: failed program was:" >&5
107847 sed 's/^/| /' conftest.$ac_ext >&5
107849 eval "$as_ac_var=no"
107851 rm -f conftest.err conftest.$ac_objext \
107852 conftest$ac_exeext conftest.$ac_ext
107854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107856 if test `eval echo '${'$as_ac_var'}'` = yes; then
107857 cat >>confdefs.h <<_ACEOF
107858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107859 _ACEOF
107862 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107868 # Used in libmath/Makefile.am.
107869 if test -n "$LIBMATHOBJS"; then
107870 need_libmath=yes
107875 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107876 ac_save_CXXFLAGS="$CXXFLAGS"
107877 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107880 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107881 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107882 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107883 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107884 echo $ECHO_N "(cached) $ECHO_C" >&6
107889 ac_ext=cc
107890 ac_cpp='$CXXCPP $CPPFLAGS'
107891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107895 cat >conftest.$ac_ext <<_ACEOF
107896 /* confdefs.h. */
107897 _ACEOF
107898 cat confdefs.h >>conftest.$ac_ext
107899 cat >>conftest.$ac_ext <<_ACEOF
107900 /* end confdefs.h. */
107901 #include <stdlib.h>
107903 main ()
107905 strtold(0, 0);
107907 return 0;
107909 _ACEOF
107910 rm -f conftest.$ac_objext
107911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107912 (eval $ac_compile) 2>conftest.er1
107913 ac_status=$?
107914 grep -v '^ *+' conftest.er1 >conftest.err
107915 rm -f conftest.er1
107916 cat conftest.err >&5
107917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107918 (exit $ac_status); } &&
107919 { ac_try='test -z "$ac_cxx_werror_flag"
107920 || test ! -s conftest.err'
107921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107922 (eval $ac_try) 2>&5
107923 ac_status=$?
107924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107925 (exit $ac_status); }; } &&
107926 { ac_try='test -s conftest.$ac_objext'
107927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107928 (eval $ac_try) 2>&5
107929 ac_status=$?
107930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107931 (exit $ac_status); }; }; then
107932 glibcxx_cv_func_strtold_use=yes
107934 echo "$as_me: failed program was:" >&5
107935 sed 's/^/| /' conftest.$ac_ext >&5
107937 glibcxx_cv_func_strtold_use=no
107939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107940 ac_ext=c
107941 ac_cpp='$CPP $CPPFLAGS'
107942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107951 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107952 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107954 for ac_func in strtold
107956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107957 echo "$as_me:$LINENO: checking for $ac_func" >&5
107958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107959 if eval "test \"\${$as_ac_var+set}\" = set"; then
107960 echo $ECHO_N "(cached) $ECHO_C" >&6
107962 if test x$gcc_no_link = xyes; then
107963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107965 { (exit 1); exit 1; }; }
107967 cat >conftest.$ac_ext <<_ACEOF
107968 /* confdefs.h. */
107969 _ACEOF
107970 cat confdefs.h >>conftest.$ac_ext
107971 cat >>conftest.$ac_ext <<_ACEOF
107972 /* end confdefs.h. */
107973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107975 #define $ac_func innocuous_$ac_func
107977 /* System header to define __stub macros and hopefully few prototypes,
107978 which can conflict with char $ac_func (); below.
107979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107980 <limits.h> exists even on freestanding compilers. */
107982 #ifdef __STDC__
107983 # include <limits.h>
107984 #else
107985 # include <assert.h>
107986 #endif
107988 #undef $ac_func
107990 /* Override any gcc2 internal prototype to avoid an error. */
107991 #ifdef __cplusplus
107992 extern "C"
107994 #endif
107995 /* We use char because int might match the return type of a gcc2
107996 builtin and then its argument prototype would still apply. */
107997 char $ac_func ();
107998 /* The GNU C library defines this for functions which it implements
107999 to always fail with ENOSYS. Some functions are actually named
108000 something starting with __ and the normal name is an alias. */
108001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108002 choke me
108003 #else
108004 char (*f) () = $ac_func;
108005 #endif
108006 #ifdef __cplusplus
108008 #endif
108011 main ()
108013 return f != $ac_func;
108015 return 0;
108017 _ACEOF
108018 rm -f conftest.$ac_objext conftest$ac_exeext
108019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108020 (eval $ac_link) 2>conftest.er1
108021 ac_status=$?
108022 grep -v '^ *+' conftest.er1 >conftest.err
108023 rm -f conftest.er1
108024 cat conftest.err >&5
108025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108026 (exit $ac_status); } &&
108027 { ac_try='test -z "$ac_c_werror_flag"
108028 || test ! -s conftest.err'
108029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108030 (eval $ac_try) 2>&5
108031 ac_status=$?
108032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108033 (exit $ac_status); }; } &&
108034 { ac_try='test -s conftest$ac_exeext'
108035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108036 (eval $ac_try) 2>&5
108037 ac_status=$?
108038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108039 (exit $ac_status); }; }; then
108040 eval "$as_ac_var=yes"
108042 echo "$as_me: failed program was:" >&5
108043 sed 's/^/| /' conftest.$ac_ext >&5
108045 eval "$as_ac_var=no"
108047 rm -f conftest.err conftest.$ac_objext \
108048 conftest$ac_exeext conftest.$ac_ext
108050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108052 if test `eval echo '${'$as_ac_var'}'` = yes; then
108053 cat >>confdefs.h <<_ACEOF
108054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108055 _ACEOF
108066 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108067 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108068 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108069 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108070 echo $ECHO_N "(cached) $ECHO_C" >&6
108075 ac_ext=cc
108076 ac_cpp='$CXXCPP $CPPFLAGS'
108077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108081 cat >conftest.$ac_ext <<_ACEOF
108082 /* confdefs.h. */
108083 _ACEOF
108084 cat confdefs.h >>conftest.$ac_ext
108085 cat >>conftest.$ac_ext <<_ACEOF
108086 /* end confdefs.h. */
108087 #include <stdlib.h>
108089 main ()
108091 strtof(0, 0);
108093 return 0;
108095 _ACEOF
108096 rm -f conftest.$ac_objext
108097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108098 (eval $ac_compile) 2>conftest.er1
108099 ac_status=$?
108100 grep -v '^ *+' conftest.er1 >conftest.err
108101 rm -f conftest.er1
108102 cat conftest.err >&5
108103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108104 (exit $ac_status); } &&
108105 { ac_try='test -z "$ac_cxx_werror_flag"
108106 || test ! -s conftest.err'
108107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108108 (eval $ac_try) 2>&5
108109 ac_status=$?
108110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108111 (exit $ac_status); }; } &&
108112 { ac_try='test -s conftest.$ac_objext'
108113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108114 (eval $ac_try) 2>&5
108115 ac_status=$?
108116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108117 (exit $ac_status); }; }; then
108118 glibcxx_cv_func_strtof_use=yes
108120 echo "$as_me: failed program was:" >&5
108121 sed 's/^/| /' conftest.$ac_ext >&5
108123 glibcxx_cv_func_strtof_use=no
108125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108126 ac_ext=c
108127 ac_cpp='$CPP $CPPFLAGS'
108128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108137 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108138 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108140 for ac_func in strtof
108142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108143 echo "$as_me:$LINENO: checking for $ac_func" >&5
108144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108145 if eval "test \"\${$as_ac_var+set}\" = set"; then
108146 echo $ECHO_N "(cached) $ECHO_C" >&6
108148 if test x$gcc_no_link = xyes; then
108149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108151 { (exit 1); exit 1; }; }
108153 cat >conftest.$ac_ext <<_ACEOF
108154 /* confdefs.h. */
108155 _ACEOF
108156 cat confdefs.h >>conftest.$ac_ext
108157 cat >>conftest.$ac_ext <<_ACEOF
108158 /* end confdefs.h. */
108159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108161 #define $ac_func innocuous_$ac_func
108163 /* System header to define __stub macros and hopefully few prototypes,
108164 which can conflict with char $ac_func (); below.
108165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108166 <limits.h> exists even on freestanding compilers. */
108168 #ifdef __STDC__
108169 # include <limits.h>
108170 #else
108171 # include <assert.h>
108172 #endif
108174 #undef $ac_func
108176 /* Override any gcc2 internal prototype to avoid an error. */
108177 #ifdef __cplusplus
108178 extern "C"
108180 #endif
108181 /* We use char because int might match the return type of a gcc2
108182 builtin and then its argument prototype would still apply. */
108183 char $ac_func ();
108184 /* The GNU C library defines this for functions which it implements
108185 to always fail with ENOSYS. Some functions are actually named
108186 something starting with __ and the normal name is an alias. */
108187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108188 choke me
108189 #else
108190 char (*f) () = $ac_func;
108191 #endif
108192 #ifdef __cplusplus
108194 #endif
108197 main ()
108199 return f != $ac_func;
108201 return 0;
108203 _ACEOF
108204 rm -f conftest.$ac_objext conftest$ac_exeext
108205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108206 (eval $ac_link) 2>conftest.er1
108207 ac_status=$?
108208 grep -v '^ *+' conftest.er1 >conftest.err
108209 rm -f conftest.er1
108210 cat conftest.err >&5
108211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108212 (exit $ac_status); } &&
108213 { ac_try='test -z "$ac_c_werror_flag"
108214 || test ! -s conftest.err'
108215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108216 (eval $ac_try) 2>&5
108217 ac_status=$?
108218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108219 (exit $ac_status); }; } &&
108220 { ac_try='test -s conftest$ac_exeext'
108221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108222 (eval $ac_try) 2>&5
108223 ac_status=$?
108224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108225 (exit $ac_status); }; }; then
108226 eval "$as_ac_var=yes"
108228 echo "$as_me: failed program was:" >&5
108229 sed 's/^/| /' conftest.$ac_ext >&5
108231 eval "$as_ac_var=no"
108233 rm -f conftest.err conftest.$ac_objext \
108234 conftest$ac_exeext conftest.$ac_ext
108236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108238 if test `eval echo '${'$as_ac_var'}'` = yes; then
108239 cat >>confdefs.h <<_ACEOF
108240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108241 _ACEOF
108252 CXXFLAGS="$ac_save_CXXFLAGS"
108255 # For LFS.
108256 cat >>confdefs.h <<\_ACEOF
108257 #define HAVE_INT64_T 1
108258 _ACEOF
108263 ac_ext=cc
108264 ac_cpp='$CXXCPP $CPPFLAGS'
108265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108269 ac_save_CXXFLAGS="$CXXFLAGS"
108270 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108271 echo "$as_me:$LINENO: checking for LFS support" >&5
108272 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108273 if test "${glibcxx_cv_LFS+set}" = set; then
108274 echo $ECHO_N "(cached) $ECHO_C" >&6
108277 if test x$gcc_no_link = xyes; then
108278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108280 { (exit 1); exit 1; }; }
108282 cat >conftest.$ac_ext <<_ACEOF
108283 /* confdefs.h. */
108284 _ACEOF
108285 cat confdefs.h >>conftest.$ac_ext
108286 cat >>conftest.$ac_ext <<_ACEOF
108287 /* end confdefs.h. */
108288 #include <unistd.h>
108289 #include <stdio.h>
108290 #include <sys/stat.h>
108293 main ()
108295 FILE* fp;
108296 fopen64("t", "w");
108297 fseeko64(fp, 0, SEEK_CUR);
108298 ftello64(fp);
108299 lseek64(1, 0, SEEK_CUR);
108300 struct stat64 buf;
108301 fstat64(1, &buf);
108303 return 0;
108305 _ACEOF
108306 rm -f conftest.$ac_objext conftest$ac_exeext
108307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108308 (eval $ac_link) 2>conftest.er1
108309 ac_status=$?
108310 grep -v '^ *+' conftest.er1 >conftest.err
108311 rm -f conftest.er1
108312 cat conftest.err >&5
108313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108314 (exit $ac_status); } &&
108315 { ac_try='test -z "$ac_cxx_werror_flag"
108316 || test ! -s conftest.err'
108317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108318 (eval $ac_try) 2>&5
108319 ac_status=$?
108320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108321 (exit $ac_status); }; } &&
108322 { ac_try='test -s conftest$ac_exeext'
108323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108324 (eval $ac_try) 2>&5
108325 ac_status=$?
108326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108327 (exit $ac_status); }; }; then
108328 glibcxx_cv_LFS=yes
108330 echo "$as_me: failed program was:" >&5
108331 sed 's/^/| /' conftest.$ac_ext >&5
108333 glibcxx_cv_LFS=no
108335 rm -f conftest.err conftest.$ac_objext \
108336 conftest$ac_exeext conftest.$ac_ext
108340 if test $glibcxx_cv_LFS = yes; then
108342 cat >>confdefs.h <<\_ACEOF
108343 #define _GLIBCXX_USE_LFS 1
108344 _ACEOF
108347 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108348 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108349 CXXFLAGS="$ac_save_CXXFLAGS"
108350 ac_ext=c
108351 ac_cpp='$CPP $CPPFLAGS'
108352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108358 # For showmanyc_helper().
108361 for ac_header in sys/ioctl.h sys/filio.h
108363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108365 echo "$as_me:$LINENO: checking for $ac_header" >&5
108366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108368 echo $ECHO_N "(cached) $ECHO_C" >&6
108370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108373 # Is the header compilable?
108374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108376 cat >conftest.$ac_ext <<_ACEOF
108377 /* confdefs.h. */
108378 _ACEOF
108379 cat confdefs.h >>conftest.$ac_ext
108380 cat >>conftest.$ac_ext <<_ACEOF
108381 /* end confdefs.h. */
108382 $ac_includes_default
108383 #include <$ac_header>
108384 _ACEOF
108385 rm -f conftest.$ac_objext
108386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108387 (eval $ac_compile) 2>conftest.er1
108388 ac_status=$?
108389 grep -v '^ *+' conftest.er1 >conftest.err
108390 rm -f conftest.er1
108391 cat conftest.err >&5
108392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108393 (exit $ac_status); } &&
108394 { ac_try='test -z "$ac_c_werror_flag"
108395 || test ! -s conftest.err'
108396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108397 (eval $ac_try) 2>&5
108398 ac_status=$?
108399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108400 (exit $ac_status); }; } &&
108401 { ac_try='test -s conftest.$ac_objext'
108402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108403 (eval $ac_try) 2>&5
108404 ac_status=$?
108405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108406 (exit $ac_status); }; }; then
108407 ac_header_compiler=yes
108409 echo "$as_me: failed program was:" >&5
108410 sed 's/^/| /' conftest.$ac_ext >&5
108412 ac_header_compiler=no
108414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108416 echo "${ECHO_T}$ac_header_compiler" >&6
108418 # Is the header present?
108419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108421 cat >conftest.$ac_ext <<_ACEOF
108422 /* confdefs.h. */
108423 _ACEOF
108424 cat confdefs.h >>conftest.$ac_ext
108425 cat >>conftest.$ac_ext <<_ACEOF
108426 /* end confdefs.h. */
108427 #include <$ac_header>
108428 _ACEOF
108429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108431 ac_status=$?
108432 grep -v '^ *+' conftest.er1 >conftest.err
108433 rm -f conftest.er1
108434 cat conftest.err >&5
108435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108436 (exit $ac_status); } >/dev/null; then
108437 if test -s conftest.err; then
108438 ac_cpp_err=$ac_c_preproc_warn_flag
108439 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108441 ac_cpp_err=
108444 ac_cpp_err=yes
108446 if test -z "$ac_cpp_err"; then
108447 ac_header_preproc=yes
108449 echo "$as_me: failed program was:" >&5
108450 sed 's/^/| /' conftest.$ac_ext >&5
108452 ac_header_preproc=no
108454 rm -f conftest.err conftest.$ac_ext
108455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108456 echo "${ECHO_T}$ac_header_preproc" >&6
108458 # So? What about this header?
108459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108460 yes:no: )
108461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108465 ac_header_preproc=yes
108467 no:yes:* )
108468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108481 cat <<\_ASBOX
108482 ## ----------------------------------------- ##
108483 ## Report this to the package-unused lists. ##
108484 ## ----------------------------------------- ##
108485 _ASBOX
108487 sed "s/^/$as_me: WARNING: /" >&2
108490 echo "$as_me:$LINENO: checking for $ac_header" >&5
108491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108493 echo $ECHO_N "(cached) $ECHO_C" >&6
108495 eval "$as_ac_Header=\$ac_header_preproc"
108497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108502 cat >>confdefs.h <<_ACEOF
108503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108504 _ACEOF
108511 echo "$as_me:$LINENO: checking for poll" >&5
108512 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108513 if test "${glibcxx_cv_POLL+set}" = set; then
108514 echo $ECHO_N "(cached) $ECHO_C" >&6
108517 if test x$gcc_no_link = xyes; then
108518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108520 { (exit 1); exit 1; }; }
108522 cat >conftest.$ac_ext <<_ACEOF
108523 /* confdefs.h. */
108524 _ACEOF
108525 cat confdefs.h >>conftest.$ac_ext
108526 cat >>conftest.$ac_ext <<_ACEOF
108527 /* end confdefs.h. */
108528 #include <poll.h>
108530 main ()
108532 struct pollfd pfd[1];
108533 pfd[0].events = POLLIN;
108534 poll(pfd, 1, 0);
108536 return 0;
108538 _ACEOF
108539 rm -f conftest.$ac_objext conftest$ac_exeext
108540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108541 (eval $ac_link) 2>conftest.er1
108542 ac_status=$?
108543 grep -v '^ *+' conftest.er1 >conftest.err
108544 rm -f conftest.er1
108545 cat conftest.err >&5
108546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108547 (exit $ac_status); } &&
108548 { ac_try='test -z "$ac_c_werror_flag"
108549 || test ! -s conftest.err'
108550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108551 (eval $ac_try) 2>&5
108552 ac_status=$?
108553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108554 (exit $ac_status); }; } &&
108555 { ac_try='test -s conftest$ac_exeext'
108556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108557 (eval $ac_try) 2>&5
108558 ac_status=$?
108559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108560 (exit $ac_status); }; }; then
108561 glibcxx_cv_POLL=yes
108563 echo "$as_me: failed program was:" >&5
108564 sed 's/^/| /' conftest.$ac_ext >&5
108566 glibcxx_cv_POLL=no
108568 rm -f conftest.err conftest.$ac_objext \
108569 conftest$ac_exeext conftest.$ac_ext
108573 if test $glibcxx_cv_POLL = yes; then
108575 cat >>confdefs.h <<\_ACEOF
108576 #define HAVE_POLL 1
108577 _ACEOF
108580 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108581 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108584 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108585 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108586 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108587 echo $ECHO_N "(cached) $ECHO_C" >&6
108590 if test x$gcc_no_link = xyes; then
108591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108593 { (exit 1); exit 1; }; }
108595 cat >conftest.$ac_ext <<_ACEOF
108596 /* confdefs.h. */
108597 _ACEOF
108598 cat confdefs.h >>conftest.$ac_ext
108599 cat >>conftest.$ac_ext <<_ACEOF
108600 /* end confdefs.h. */
108601 #include <sys/stat.h>
108603 main ()
108605 struct stat buffer;
108606 fstat(0, &buffer);
108607 S_ISREG(buffer.st_mode);
108609 return 0;
108611 _ACEOF
108612 rm -f conftest.$ac_objext conftest$ac_exeext
108613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108614 (eval $ac_link) 2>conftest.er1
108615 ac_status=$?
108616 grep -v '^ *+' conftest.er1 >conftest.err
108617 rm -f conftest.er1
108618 cat conftest.err >&5
108619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108620 (exit $ac_status); } &&
108621 { ac_try='test -z "$ac_c_werror_flag"
108622 || test ! -s conftest.err'
108623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108624 (eval $ac_try) 2>&5
108625 ac_status=$?
108626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108627 (exit $ac_status); }; } &&
108628 { ac_try='test -s conftest$ac_exeext'
108629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108630 (eval $ac_try) 2>&5
108631 ac_status=$?
108632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108633 (exit $ac_status); }; }; then
108634 glibcxx_cv_S_ISREG=yes
108636 echo "$as_me: failed program was:" >&5
108637 sed 's/^/| /' conftest.$ac_ext >&5
108639 glibcxx_cv_S_ISREG=no
108641 rm -f conftest.err conftest.$ac_objext \
108642 conftest$ac_exeext conftest.$ac_ext
108646 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108647 echo $ECHO_N "(cached) $ECHO_C" >&6
108650 if test x$gcc_no_link = xyes; then
108651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108653 { (exit 1); exit 1; }; }
108655 cat >conftest.$ac_ext <<_ACEOF
108656 /* confdefs.h. */
108657 _ACEOF
108658 cat confdefs.h >>conftest.$ac_ext
108659 cat >>conftest.$ac_ext <<_ACEOF
108660 /* end confdefs.h. */
108661 #include <sys/stat.h>
108663 main ()
108665 struct stat buffer;
108666 fstat(0, &buffer);
108667 S_IFREG & buffer.st_mode;
108669 return 0;
108671 _ACEOF
108672 rm -f conftest.$ac_objext conftest$ac_exeext
108673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108674 (eval $ac_link) 2>conftest.er1
108675 ac_status=$?
108676 grep -v '^ *+' conftest.er1 >conftest.err
108677 rm -f conftest.er1
108678 cat conftest.err >&5
108679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108680 (exit $ac_status); } &&
108681 { ac_try='test -z "$ac_c_werror_flag"
108682 || test ! -s conftest.err'
108683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108684 (eval $ac_try) 2>&5
108685 ac_status=$?
108686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108687 (exit $ac_status); }; } &&
108688 { ac_try='test -s conftest$ac_exeext'
108689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108690 (eval $ac_try) 2>&5
108691 ac_status=$?
108692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108693 (exit $ac_status); }; }; then
108694 glibcxx_cv_S_IFREG=yes
108696 echo "$as_me: failed program was:" >&5
108697 sed 's/^/| /' conftest.$ac_ext >&5
108699 glibcxx_cv_S_IFREG=no
108701 rm -f conftest.err conftest.$ac_objext \
108702 conftest$ac_exeext conftest.$ac_ext
108706 res=no
108707 if test $glibcxx_cv_S_ISREG = yes; then
108709 cat >>confdefs.h <<\_ACEOF
108710 #define HAVE_S_ISREG 1
108711 _ACEOF
108713 res=S_ISREG
108714 elif test $glibcxx_cv_S_IFREG = yes; then
108716 cat >>confdefs.h <<\_ACEOF
108717 #define HAVE_S_IFREG 1
108718 _ACEOF
108720 res=S_IFREG
108722 echo "$as_me:$LINENO: result: $res" >&5
108723 echo "${ECHO_T}$res" >&6
108726 # For xsputn_2().
108728 for ac_header in sys/uio.h
108730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108732 echo "$as_me:$LINENO: checking for $ac_header" >&5
108733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108735 echo $ECHO_N "(cached) $ECHO_C" >&6
108737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108740 # Is the header compilable?
108741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108743 cat >conftest.$ac_ext <<_ACEOF
108744 /* confdefs.h. */
108745 _ACEOF
108746 cat confdefs.h >>conftest.$ac_ext
108747 cat >>conftest.$ac_ext <<_ACEOF
108748 /* end confdefs.h. */
108749 $ac_includes_default
108750 #include <$ac_header>
108751 _ACEOF
108752 rm -f conftest.$ac_objext
108753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108754 (eval $ac_compile) 2>conftest.er1
108755 ac_status=$?
108756 grep -v '^ *+' conftest.er1 >conftest.err
108757 rm -f conftest.er1
108758 cat conftest.err >&5
108759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108760 (exit $ac_status); } &&
108761 { ac_try='test -z "$ac_c_werror_flag"
108762 || test ! -s conftest.err'
108763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108764 (eval $ac_try) 2>&5
108765 ac_status=$?
108766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108767 (exit $ac_status); }; } &&
108768 { ac_try='test -s conftest.$ac_objext'
108769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108770 (eval $ac_try) 2>&5
108771 ac_status=$?
108772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108773 (exit $ac_status); }; }; then
108774 ac_header_compiler=yes
108776 echo "$as_me: failed program was:" >&5
108777 sed 's/^/| /' conftest.$ac_ext >&5
108779 ac_header_compiler=no
108781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108783 echo "${ECHO_T}$ac_header_compiler" >&6
108785 # Is the header present?
108786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108788 cat >conftest.$ac_ext <<_ACEOF
108789 /* confdefs.h. */
108790 _ACEOF
108791 cat confdefs.h >>conftest.$ac_ext
108792 cat >>conftest.$ac_ext <<_ACEOF
108793 /* end confdefs.h. */
108794 #include <$ac_header>
108795 _ACEOF
108796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108798 ac_status=$?
108799 grep -v '^ *+' conftest.er1 >conftest.err
108800 rm -f conftest.er1
108801 cat conftest.err >&5
108802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108803 (exit $ac_status); } >/dev/null; then
108804 if test -s conftest.err; then
108805 ac_cpp_err=$ac_c_preproc_warn_flag
108806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108808 ac_cpp_err=
108811 ac_cpp_err=yes
108813 if test -z "$ac_cpp_err"; then
108814 ac_header_preproc=yes
108816 echo "$as_me: failed program was:" >&5
108817 sed 's/^/| /' conftest.$ac_ext >&5
108819 ac_header_preproc=no
108821 rm -f conftest.err conftest.$ac_ext
108822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108823 echo "${ECHO_T}$ac_header_preproc" >&6
108825 # So? What about this header?
108826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108827 yes:no: )
108828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108832 ac_header_preproc=yes
108834 no:yes:* )
108835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108848 cat <<\_ASBOX
108849 ## ----------------------------------------- ##
108850 ## Report this to the package-unused lists. ##
108851 ## ----------------------------------------- ##
108852 _ASBOX
108854 sed "s/^/$as_me: WARNING: /" >&2
108857 echo "$as_me:$LINENO: checking for $ac_header" >&5
108858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108860 echo $ECHO_N "(cached) $ECHO_C" >&6
108862 eval "$as_ac_Header=\$ac_header_preproc"
108864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108869 cat >>confdefs.h <<_ACEOF
108870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108871 _ACEOF
108878 echo "$as_me:$LINENO: checking for writev" >&5
108879 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108880 if test "${glibcxx_cv_WRITEV+set}" = set; then
108881 echo $ECHO_N "(cached) $ECHO_C" >&6
108884 if test x$gcc_no_link = xyes; then
108885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108887 { (exit 1); exit 1; }; }
108889 cat >conftest.$ac_ext <<_ACEOF
108890 /* confdefs.h. */
108891 _ACEOF
108892 cat confdefs.h >>conftest.$ac_ext
108893 cat >>conftest.$ac_ext <<_ACEOF
108894 /* end confdefs.h. */
108895 #include <sys/uio.h>
108897 main ()
108899 struct iovec iov[2];
108900 writev(0, iov, 0);
108902 return 0;
108904 _ACEOF
108905 rm -f conftest.$ac_objext conftest$ac_exeext
108906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108907 (eval $ac_link) 2>conftest.er1
108908 ac_status=$?
108909 grep -v '^ *+' conftest.er1 >conftest.err
108910 rm -f conftest.er1
108911 cat conftest.err >&5
108912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108913 (exit $ac_status); } &&
108914 { ac_try='test -z "$ac_c_werror_flag"
108915 || test ! -s conftest.err'
108916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108917 (eval $ac_try) 2>&5
108918 ac_status=$?
108919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108920 (exit $ac_status); }; } &&
108921 { ac_try='test -s conftest$ac_exeext'
108922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108923 (eval $ac_try) 2>&5
108924 ac_status=$?
108925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108926 (exit $ac_status); }; }; then
108927 glibcxx_cv_WRITEV=yes
108929 echo "$as_me: failed program was:" >&5
108930 sed 's/^/| /' conftest.$ac_ext >&5
108932 glibcxx_cv_WRITEV=no
108934 rm -f conftest.err conftest.$ac_objext \
108935 conftest$ac_exeext conftest.$ac_ext
108939 if test $glibcxx_cv_WRITEV = yes; then
108941 cat >>confdefs.h <<\_ACEOF
108942 #define HAVE_WRITEV 1
108943 _ACEOF
108946 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108947 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108950 # For C99 support to TR1.
108955 ac_ext=cc
108956 ac_cpp='$CXXCPP $CPPFLAGS'
108957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108962 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108963 # undefined and fake C99 facilities may be spuriously enabled.
108964 ac_save_CXXFLAGS="$CXXFLAGS"
108965 CXXFLAGS="$CXXFLAGS -std=c++98"
108967 # Check for the existence of <complex.h> complex math functions used
108968 # by tr1/complex.
108970 for ac_header in complex.h
108972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108974 echo "$as_me:$LINENO: checking for $ac_header" >&5
108975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108977 echo $ECHO_N "(cached) $ECHO_C" >&6
108979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108982 # Is the header compilable?
108983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108985 cat >conftest.$ac_ext <<_ACEOF
108986 /* confdefs.h. */
108987 _ACEOF
108988 cat confdefs.h >>conftest.$ac_ext
108989 cat >>conftest.$ac_ext <<_ACEOF
108990 /* end confdefs.h. */
108991 $ac_includes_default
108992 #include <$ac_header>
108993 _ACEOF
108994 rm -f conftest.$ac_objext
108995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108996 (eval $ac_compile) 2>conftest.er1
108997 ac_status=$?
108998 grep -v '^ *+' conftest.er1 >conftest.err
108999 rm -f conftest.er1
109000 cat conftest.err >&5
109001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109002 (exit $ac_status); } &&
109003 { ac_try='test -z "$ac_cxx_werror_flag"
109004 || test ! -s conftest.err'
109005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109006 (eval $ac_try) 2>&5
109007 ac_status=$?
109008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109009 (exit $ac_status); }; } &&
109010 { ac_try='test -s conftest.$ac_objext'
109011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109012 (eval $ac_try) 2>&5
109013 ac_status=$?
109014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109015 (exit $ac_status); }; }; then
109016 ac_header_compiler=yes
109018 echo "$as_me: failed program was:" >&5
109019 sed 's/^/| /' conftest.$ac_ext >&5
109021 ac_header_compiler=no
109023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109025 echo "${ECHO_T}$ac_header_compiler" >&6
109027 # Is the header present?
109028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109030 cat >conftest.$ac_ext <<_ACEOF
109031 /* confdefs.h. */
109032 _ACEOF
109033 cat confdefs.h >>conftest.$ac_ext
109034 cat >>conftest.$ac_ext <<_ACEOF
109035 /* end confdefs.h. */
109036 #include <$ac_header>
109037 _ACEOF
109038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109040 ac_status=$?
109041 grep -v '^ *+' conftest.er1 >conftest.err
109042 rm -f conftest.er1
109043 cat conftest.err >&5
109044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109045 (exit $ac_status); } >/dev/null; then
109046 if test -s conftest.err; then
109047 ac_cpp_err=$ac_cxx_preproc_warn_flag
109048 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109050 ac_cpp_err=
109053 ac_cpp_err=yes
109055 if test -z "$ac_cpp_err"; then
109056 ac_header_preproc=yes
109058 echo "$as_me: failed program was:" >&5
109059 sed 's/^/| /' conftest.$ac_ext >&5
109061 ac_header_preproc=no
109063 rm -f conftest.err conftest.$ac_ext
109064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109065 echo "${ECHO_T}$ac_header_preproc" >&6
109067 # So? What about this header?
109068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109069 yes:no: )
109070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109074 ac_header_preproc=yes
109076 no:yes:* )
109077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109090 cat <<\_ASBOX
109091 ## ----------------------------------------- ##
109092 ## Report this to the package-unused lists. ##
109093 ## ----------------------------------------- ##
109094 _ASBOX
109096 sed "s/^/$as_me: WARNING: /" >&2
109099 echo "$as_me:$LINENO: checking for $ac_header" >&5
109100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109102 echo $ECHO_N "(cached) $ECHO_C" >&6
109104 eval "$as_ac_Header=\$ac_header_preproc"
109106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109111 cat >>confdefs.h <<_ACEOF
109112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109113 _ACEOF
109114 ac_has_complex_h=yes
109116 ac_has_complex_h=no
109121 ac_c99_complex_tr1=no;
109122 if test x"$ac_has_complex_h" = x"yes"; then
109123 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109124 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109125 cat >conftest.$ac_ext <<_ACEOF
109126 /* confdefs.h. */
109127 _ACEOF
109128 cat confdefs.h >>conftest.$ac_ext
109129 cat >>conftest.$ac_ext <<_ACEOF
109130 /* end confdefs.h. */
109131 #include <complex.h>
109133 main ()
109135 typedef __complex__ float float_type; float_type tmpf;
109136 cacosf(tmpf);
109137 casinf(tmpf);
109138 catanf(tmpf);
109139 cacoshf(tmpf);
109140 casinhf(tmpf);
109141 catanhf(tmpf);
109142 typedef __complex__ double double_type; double_type tmpd;
109143 cacos(tmpd);
109144 casin(tmpd);
109145 catan(tmpd);
109146 cacosh(tmpd);
109147 casinh(tmpd);
109148 catanh(tmpd);
109149 typedef __complex__ long double ld_type; ld_type tmpld;
109150 cacosl(tmpld);
109151 casinl(tmpld);
109152 catanl(tmpld);
109153 cacoshl(tmpld);
109154 casinhl(tmpld);
109155 catanhl(tmpld);
109158 return 0;
109160 _ACEOF
109161 rm -f conftest.$ac_objext
109162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109163 (eval $ac_compile) 2>conftest.er1
109164 ac_status=$?
109165 grep -v '^ *+' conftest.er1 >conftest.err
109166 rm -f conftest.er1
109167 cat conftest.err >&5
109168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109169 (exit $ac_status); } &&
109170 { ac_try='test -z "$ac_cxx_werror_flag"
109171 || test ! -s conftest.err'
109172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109173 (eval $ac_try) 2>&5
109174 ac_status=$?
109175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109176 (exit $ac_status); }; } &&
109177 { ac_try='test -s conftest.$ac_objext'
109178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109179 (eval $ac_try) 2>&5
109180 ac_status=$?
109181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109182 (exit $ac_status); }; }; then
109183 ac_c99_complex_tr1=yes
109185 echo "$as_me: failed program was:" >&5
109186 sed 's/^/| /' conftest.$ac_ext >&5
109188 ac_c99_complex_tr1=no
109190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109192 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109193 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109194 if test x"$ac_c99_complex_tr1" = x"yes"; then
109196 cat >>confdefs.h <<\_ACEOF
109197 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109198 _ACEOF
109202 # Check for the existence of <ctype.h> functions.
109203 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109204 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109205 if test "${ac_c99_ctype_tr1+set}" = set; then
109206 echo $ECHO_N "(cached) $ECHO_C" >&6
109209 cat >conftest.$ac_ext <<_ACEOF
109210 /* confdefs.h. */
109211 _ACEOF
109212 cat confdefs.h >>conftest.$ac_ext
109213 cat >>conftest.$ac_ext <<_ACEOF
109214 /* end confdefs.h. */
109215 #include <ctype.h>
109217 main ()
109219 int ch;
109220 int ret;
109221 ret = isblank(ch);
109224 return 0;
109226 _ACEOF
109227 rm -f conftest.$ac_objext
109228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109229 (eval $ac_compile) 2>conftest.er1
109230 ac_status=$?
109231 grep -v '^ *+' conftest.er1 >conftest.err
109232 rm -f conftest.er1
109233 cat conftest.err >&5
109234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109235 (exit $ac_status); } &&
109236 { ac_try='test -z "$ac_cxx_werror_flag"
109237 || test ! -s conftest.err'
109238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109239 (eval $ac_try) 2>&5
109240 ac_status=$?
109241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109242 (exit $ac_status); }; } &&
109243 { ac_try='test -s conftest.$ac_objext'
109244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109245 (eval $ac_try) 2>&5
109246 ac_status=$?
109247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109248 (exit $ac_status); }; }; then
109249 ac_c99_ctype_tr1=yes
109251 echo "$as_me: failed program was:" >&5
109252 sed 's/^/| /' conftest.$ac_ext >&5
109254 ac_c99_ctype_tr1=no
109256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109260 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
109261 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
109262 if test x"$ac_c99_ctype_tr1" = x"yes"; then
109264 cat >>confdefs.h <<\_ACEOF
109265 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109266 _ACEOF
109270 # Check for the existence of <fenv.h> functions.
109272 for ac_header in fenv.h
109274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109276 echo "$as_me:$LINENO: checking for $ac_header" >&5
109277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109279 echo $ECHO_N "(cached) $ECHO_C" >&6
109281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109284 # Is the header compilable?
109285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109287 cat >conftest.$ac_ext <<_ACEOF
109288 /* confdefs.h. */
109289 _ACEOF
109290 cat confdefs.h >>conftest.$ac_ext
109291 cat >>conftest.$ac_ext <<_ACEOF
109292 /* end confdefs.h. */
109293 $ac_includes_default
109294 #include <$ac_header>
109295 _ACEOF
109296 rm -f conftest.$ac_objext
109297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109298 (eval $ac_compile) 2>conftest.er1
109299 ac_status=$?
109300 grep -v '^ *+' conftest.er1 >conftest.err
109301 rm -f conftest.er1
109302 cat conftest.err >&5
109303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109304 (exit $ac_status); } &&
109305 { ac_try='test -z "$ac_cxx_werror_flag"
109306 || test ! -s conftest.err'
109307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109308 (eval $ac_try) 2>&5
109309 ac_status=$?
109310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109311 (exit $ac_status); }; } &&
109312 { ac_try='test -s conftest.$ac_objext'
109313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109314 (eval $ac_try) 2>&5
109315 ac_status=$?
109316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109317 (exit $ac_status); }; }; then
109318 ac_header_compiler=yes
109320 echo "$as_me: failed program was:" >&5
109321 sed 's/^/| /' conftest.$ac_ext >&5
109323 ac_header_compiler=no
109325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109327 echo "${ECHO_T}$ac_header_compiler" >&6
109329 # Is the header present?
109330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109332 cat >conftest.$ac_ext <<_ACEOF
109333 /* confdefs.h. */
109334 _ACEOF
109335 cat confdefs.h >>conftest.$ac_ext
109336 cat >>conftest.$ac_ext <<_ACEOF
109337 /* end confdefs.h. */
109338 #include <$ac_header>
109339 _ACEOF
109340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109342 ac_status=$?
109343 grep -v '^ *+' conftest.er1 >conftest.err
109344 rm -f conftest.er1
109345 cat conftest.err >&5
109346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109347 (exit $ac_status); } >/dev/null; then
109348 if test -s conftest.err; then
109349 ac_cpp_err=$ac_cxx_preproc_warn_flag
109350 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109352 ac_cpp_err=
109355 ac_cpp_err=yes
109357 if test -z "$ac_cpp_err"; then
109358 ac_header_preproc=yes
109360 echo "$as_me: failed program was:" >&5
109361 sed 's/^/| /' conftest.$ac_ext >&5
109363 ac_header_preproc=no
109365 rm -f conftest.err conftest.$ac_ext
109366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109367 echo "${ECHO_T}$ac_header_preproc" >&6
109369 # So? What about this header?
109370 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109371 yes:no: )
109372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109376 ac_header_preproc=yes
109378 no:yes:* )
109379 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109381 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109382 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109383 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109385 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109386 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109392 cat <<\_ASBOX
109393 ## ----------------------------------------- ##
109394 ## Report this to the package-unused lists. ##
109395 ## ----------------------------------------- ##
109396 _ASBOX
109398 sed "s/^/$as_me: WARNING: /" >&2
109401 echo "$as_me:$LINENO: checking for $ac_header" >&5
109402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109404 echo $ECHO_N "(cached) $ECHO_C" >&6
109406 eval "$as_ac_Header=\$ac_header_preproc"
109408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109413 cat >>confdefs.h <<_ACEOF
109414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109415 _ACEOF
109416 ac_has_fenv_h=yes
109418 ac_has_fenv_h=no
109423 ac_c99_fenv_tr1=no;
109424 if test x"$ac_has_fenv_h" = x"yes"; then
109425 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109426 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109427 cat >conftest.$ac_ext <<_ACEOF
109428 /* confdefs.h. */
109429 _ACEOF
109430 cat confdefs.h >>conftest.$ac_ext
109431 cat >>conftest.$ac_ext <<_ACEOF
109432 /* end confdefs.h. */
109433 #include <fenv.h>
109435 main ()
109437 int except, mode;
109438 fexcept_t* pflag;
109439 fenv_t* penv;
109440 int ret;
109441 ret = feclearexcept(except);
109442 ret = fegetexceptflag(pflag, except);
109443 ret = feraiseexcept(except);
109444 ret = fesetexceptflag(pflag, except);
109445 ret = fetestexcept(except);
109446 ret = fegetround();
109447 ret = fesetround(mode);
109448 ret = fegetenv(penv);
109449 ret = feholdexcept(penv);
109450 ret = fesetenv(penv);
109451 ret = feupdateenv(penv);
109454 return 0;
109456 _ACEOF
109457 rm -f conftest.$ac_objext
109458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109459 (eval $ac_compile) 2>conftest.er1
109460 ac_status=$?
109461 grep -v '^ *+' conftest.er1 >conftest.err
109462 rm -f conftest.er1
109463 cat conftest.err >&5
109464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109465 (exit $ac_status); } &&
109466 { ac_try='test -z "$ac_cxx_werror_flag"
109467 || test ! -s conftest.err'
109468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109469 (eval $ac_try) 2>&5
109470 ac_status=$?
109471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109472 (exit $ac_status); }; } &&
109473 { ac_try='test -s conftest.$ac_objext'
109474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109475 (eval $ac_try) 2>&5
109476 ac_status=$?
109477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109478 (exit $ac_status); }; }; then
109479 ac_c99_fenv_tr1=yes
109481 echo "$as_me: failed program was:" >&5
109482 sed 's/^/| /' conftest.$ac_ext >&5
109484 ac_c99_fenv_tr1=no
109486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109488 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109489 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109490 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109492 cat >>confdefs.h <<\_ACEOF
109493 #define _GLIBCXX_USE_C99_FENV_TR1 1
109494 _ACEOF
109498 # Check for the existence of <stdint.h> types.
109499 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109500 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109501 if test "${ac_c99_stdint_tr1+set}" = set; then
109502 echo $ECHO_N "(cached) $ECHO_C" >&6
109505 cat >conftest.$ac_ext <<_ACEOF
109506 /* confdefs.h. */
109507 _ACEOF
109508 cat confdefs.h >>conftest.$ac_ext
109509 cat >>conftest.$ac_ext <<_ACEOF
109510 /* end confdefs.h. */
109511 #include <stdint.h>
109513 main ()
109515 typedef int8_t my_int8_t;
109516 typedef int16_t my_int16_t;
109517 typedef int32_t my_int32_t;
109518 typedef int64_t my_int64_t;
109519 typedef int_fast8_t my_int_fast8_t;
109520 typedef int_fast16_t my_int_fast16_t;
109521 typedef int_fast32_t my_int_fast32_t;
109522 typedef int_fast64_t my_int_fast64_t;
109523 typedef int_least8_t my_int_least8_t;
109524 typedef int_least16_t my_int_least16_t;
109525 typedef int_least32_t my_int_least32_t;
109526 typedef int_least64_t my_int_least64_t;
109527 typedef intmax_t my_intmax_t;
109528 typedef intptr_t my_intptr_t;
109529 typedef uint8_t my_uint8_t;
109530 typedef uint16_t my_uint16_t;
109531 typedef uint32_t my_uint32_t;
109532 typedef uint64_t my_uint64_t;
109533 typedef uint_fast8_t my_uint_fast8_t;
109534 typedef uint_fast16_t my_uint_fast16_t;
109535 typedef uint_fast32_t my_uint_fast32_t;
109536 typedef uint_fast64_t my_uint_fast64_t;
109537 typedef uint_least8_t my_uint_least8_t;
109538 typedef uint_least16_t my_uint_least16_t;
109539 typedef uint_least32_t my_uint_least32_t;
109540 typedef uint_least64_t my_uint_least64_t;
109541 typedef uintmax_t my_uintmax_t;
109542 typedef uintptr_t my_uintptr_t;
109545 return 0;
109547 _ACEOF
109548 rm -f conftest.$ac_objext
109549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109550 (eval $ac_compile) 2>conftest.er1
109551 ac_status=$?
109552 grep -v '^ *+' conftest.er1 >conftest.err
109553 rm -f conftest.er1
109554 cat conftest.err >&5
109555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109556 (exit $ac_status); } &&
109557 { ac_try='test -z "$ac_cxx_werror_flag"
109558 || test ! -s conftest.err'
109559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109560 (eval $ac_try) 2>&5
109561 ac_status=$?
109562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109563 (exit $ac_status); }; } &&
109564 { ac_try='test -s conftest.$ac_objext'
109565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109566 (eval $ac_try) 2>&5
109567 ac_status=$?
109568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109569 (exit $ac_status); }; }; then
109570 ac_c99_stdint_tr1=yes
109572 echo "$as_me: failed program was:" >&5
109573 sed 's/^/| /' conftest.$ac_ext >&5
109575 ac_c99_stdint_tr1=no
109577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109581 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109582 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109583 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109585 cat >>confdefs.h <<\_ACEOF
109586 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109587 _ACEOF
109591 # Check for the existence of <math.h> functions.
109592 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109593 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109594 if test "${ac_c99_math_tr1+set}" = set; then
109595 echo $ECHO_N "(cached) $ECHO_C" >&6
109598 cat >conftest.$ac_ext <<_ACEOF
109599 /* confdefs.h. */
109600 _ACEOF
109601 cat confdefs.h >>conftest.$ac_ext
109602 cat >>conftest.$ac_ext <<_ACEOF
109603 /* end confdefs.h. */
109604 #include <math.h>
109606 main ()
109608 typedef double_t my_double_t;
109609 typedef float_t my_float_t;
109610 acosh(0.0);
109611 acoshf(0.0f);
109612 acoshl(0.0l);
109613 asinh(0.0);
109614 asinhf(0.0f);
109615 asinhl(0.0l);
109616 atanh(0.0);
109617 atanhf(0.0f);
109618 atanhl(0.0l);
109619 cbrt(0.0);
109620 cbrtf(0.0f);
109621 cbrtl(0.0l);
109622 copysign(0.0, 0.0);
109623 copysignf(0.0f, 0.0f);
109624 copysignl(0.0l, 0.0l);
109625 erf(0.0);
109626 erff(0.0f);
109627 erfl(0.0l);
109628 erfc(0.0);
109629 erfcf(0.0f);
109630 erfcl(0.0l);
109631 exp2(0.0);
109632 exp2f(0.0f);
109633 exp2l(0.0l);
109634 expm1(0.0);
109635 expm1f(0.0f);
109636 expm1l(0.0l);
109637 fdim(0.0, 0.0);
109638 fdimf(0.0f, 0.0f);
109639 fdiml(0.0l, 0.0l);
109640 fma(0.0, 0.0, 0.0);
109641 fmaf(0.0f, 0.0f, 0.0f);
109642 fmal(0.0l, 0.0l, 0.0l);
109643 fmax(0.0, 0.0);
109644 fmaxf(0.0f, 0.0f);
109645 fmaxl(0.0l, 0.0l);
109646 fmin(0.0, 0.0);
109647 fminf(0.0f, 0.0f);
109648 fminl(0.0l, 0.0l);
109649 hypot(0.0, 0.0);
109650 hypotf(0.0f, 0.0f);
109651 hypotl(0.0l, 0.0l);
109652 ilogb(0.0);
109653 ilogbf(0.0f);
109654 ilogbl(0.0l);
109655 lgamma(0.0);
109656 lgammaf(0.0f);
109657 lgammal(0.0l);
109658 llrint(0.0);
109659 llrintf(0.0f);
109660 llrintl(0.0l);
109661 llround(0.0);
109662 llroundf(0.0f);
109663 llroundl(0.0l);
109664 log1p(0.0);
109665 log1pf(0.0f);
109666 log1pl(0.0l);
109667 log2(0.0);
109668 log2f(0.0f);
109669 log2l(0.0l);
109670 logb(0.0);
109671 logbf(0.0f);
109672 logbl(0.0l);
109673 lrint(0.0);
109674 lrintf(0.0f);
109675 lrintl(0.0l);
109676 lround(0.0);
109677 lroundf(0.0f);
109678 lroundl(0.0l);
109679 nan(0);
109680 nanf(0);
109681 nanl(0);
109682 nearbyint(0.0);
109683 nearbyintf(0.0f);
109684 nearbyintl(0.0l);
109685 nextafter(0.0, 0.0);
109686 nextafterf(0.0f, 0.0f);
109687 nextafterl(0.0l, 0.0l);
109688 nexttoward(0.0, 0.0);
109689 nexttowardf(0.0f, 0.0f);
109690 nexttowardl(0.0l, 0.0l);
109691 remainder(0.0, 0.0);
109692 remainderf(0.0f, 0.0f);
109693 remainderl(0.0l, 0.0l);
109694 remquo(0.0, 0.0, 0);
109695 remquo(0.0f, 0.0f, 0);
109696 remquo(0.0l, 0.0l, 0);
109697 rint(0.0);
109698 rintf(0.0f);
109699 rintl(0.0l);
109700 round(0.0);
109701 roundf(0.0f);
109702 roundl(0.0l);
109703 scalbln(0.0, 0l);
109704 scalblnf(0.0f, 0l);
109705 scalblnl(0.0l, 0l);
109706 scalbn(0.0, 0);
109707 scalbnf(0.0f, 0);
109708 scalbnl(0.0l, 0);
109709 tgamma(0.0);
109710 tgammaf(0.0f);
109711 tgammal(0.0l);
109712 trunc(0.0);
109713 truncf(0.0f);
109714 truncl(0.0l);
109717 return 0;
109719 _ACEOF
109720 rm -f conftest.$ac_objext
109721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109722 (eval $ac_compile) 2>conftest.er1
109723 ac_status=$?
109724 grep -v '^ *+' conftest.er1 >conftest.err
109725 rm -f conftest.er1
109726 cat conftest.err >&5
109727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109728 (exit $ac_status); } &&
109729 { ac_try='test -z "$ac_cxx_werror_flag"
109730 || test ! -s conftest.err'
109731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109732 (eval $ac_try) 2>&5
109733 ac_status=$?
109734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109735 (exit $ac_status); }; } &&
109736 { ac_try='test -s conftest.$ac_objext'
109737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109738 (eval $ac_try) 2>&5
109739 ac_status=$?
109740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109741 (exit $ac_status); }; }; then
109742 ac_c99_math_tr1=yes
109744 echo "$as_me: failed program was:" >&5
109745 sed 's/^/| /' conftest.$ac_ext >&5
109747 ac_c99_math_tr1=no
109749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109753 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109754 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109755 if test x"$ac_c99_math_tr1" = x"yes"; then
109757 cat >>confdefs.h <<\_ACEOF
109758 #define _GLIBCXX_USE_C99_MATH_TR1 1
109759 _ACEOF
109763 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109764 # sense if the previous check fails, per C99, 7.8/1).
109765 ac_c99_inttypes_tr1=no;
109766 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109767 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109768 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109769 cat >conftest.$ac_ext <<_ACEOF
109770 /* confdefs.h. */
109771 _ACEOF
109772 cat confdefs.h >>conftest.$ac_ext
109773 cat >>conftest.$ac_ext <<_ACEOF
109774 /* end confdefs.h. */
109775 #include <inttypes.h>
109777 main ()
109779 intmax_t i, numer, denom, base;
109780 const char* s;
109781 char** endptr;
109782 intmax_t ret = imaxabs(i);
109783 imaxdiv_t dret = imaxdiv(numer, denom);
109784 ret = strtoimax(s, endptr, base);
109785 uintmax_t uret = strtoumax(s, endptr, base);
109788 return 0;
109790 _ACEOF
109791 rm -f conftest.$ac_objext
109792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109793 (eval $ac_compile) 2>conftest.er1
109794 ac_status=$?
109795 grep -v '^ *+' conftest.er1 >conftest.err
109796 rm -f conftest.er1
109797 cat conftest.err >&5
109798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109799 (exit $ac_status); } &&
109800 { ac_try='test -z "$ac_cxx_werror_flag"
109801 || test ! -s conftest.err'
109802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109803 (eval $ac_try) 2>&5
109804 ac_status=$?
109805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109806 (exit $ac_status); }; } &&
109807 { ac_try='test -s conftest.$ac_objext'
109808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109809 (eval $ac_try) 2>&5
109810 ac_status=$?
109811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109812 (exit $ac_status); }; }; then
109813 ac_c99_inttypes_tr1=yes
109815 echo "$as_me: failed program was:" >&5
109816 sed 's/^/| /' conftest.$ac_ext >&5
109818 ac_c99_inttypes_tr1=no
109820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109822 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109823 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109824 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109826 cat >>confdefs.h <<\_ACEOF
109827 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109828 _ACEOF
109832 # Check for the existence of the <stdbool.h> header.
109834 for ac_header in stdbool.h
109836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109838 echo "$as_me:$LINENO: checking for $ac_header" >&5
109839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109841 echo $ECHO_N "(cached) $ECHO_C" >&6
109843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109846 # Is the header compilable?
109847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109849 cat >conftest.$ac_ext <<_ACEOF
109850 /* confdefs.h. */
109851 _ACEOF
109852 cat confdefs.h >>conftest.$ac_ext
109853 cat >>conftest.$ac_ext <<_ACEOF
109854 /* end confdefs.h. */
109855 $ac_includes_default
109856 #include <$ac_header>
109857 _ACEOF
109858 rm -f conftest.$ac_objext
109859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109860 (eval $ac_compile) 2>conftest.er1
109861 ac_status=$?
109862 grep -v '^ *+' conftest.er1 >conftest.err
109863 rm -f conftest.er1
109864 cat conftest.err >&5
109865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109866 (exit $ac_status); } &&
109867 { ac_try='test -z "$ac_cxx_werror_flag"
109868 || test ! -s conftest.err'
109869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109870 (eval $ac_try) 2>&5
109871 ac_status=$?
109872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109873 (exit $ac_status); }; } &&
109874 { ac_try='test -s conftest.$ac_objext'
109875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109876 (eval $ac_try) 2>&5
109877 ac_status=$?
109878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109879 (exit $ac_status); }; }; then
109880 ac_header_compiler=yes
109882 echo "$as_me: failed program was:" >&5
109883 sed 's/^/| /' conftest.$ac_ext >&5
109885 ac_header_compiler=no
109887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109889 echo "${ECHO_T}$ac_header_compiler" >&6
109891 # Is the header present?
109892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109894 cat >conftest.$ac_ext <<_ACEOF
109895 /* confdefs.h. */
109896 _ACEOF
109897 cat confdefs.h >>conftest.$ac_ext
109898 cat >>conftest.$ac_ext <<_ACEOF
109899 /* end confdefs.h. */
109900 #include <$ac_header>
109901 _ACEOF
109902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109904 ac_status=$?
109905 grep -v '^ *+' conftest.er1 >conftest.err
109906 rm -f conftest.er1
109907 cat conftest.err >&5
109908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109909 (exit $ac_status); } >/dev/null; then
109910 if test -s conftest.err; then
109911 ac_cpp_err=$ac_cxx_preproc_warn_flag
109912 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109914 ac_cpp_err=
109917 ac_cpp_err=yes
109919 if test -z "$ac_cpp_err"; then
109920 ac_header_preproc=yes
109922 echo "$as_me: failed program was:" >&5
109923 sed 's/^/| /' conftest.$ac_ext >&5
109925 ac_header_preproc=no
109927 rm -f conftest.err conftest.$ac_ext
109928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109929 echo "${ECHO_T}$ac_header_preproc" >&6
109931 # So? What about this header?
109932 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109933 yes:no: )
109934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109938 ac_header_preproc=yes
109940 no:yes:* )
109941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109954 cat <<\_ASBOX
109955 ## ----------------------------------------- ##
109956 ## Report this to the package-unused lists. ##
109957 ## ----------------------------------------- ##
109958 _ASBOX
109960 sed "s/^/$as_me: WARNING: /" >&2
109963 echo "$as_me:$LINENO: checking for $ac_header" >&5
109964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109966 echo $ECHO_N "(cached) $ECHO_C" >&6
109968 eval "$as_ac_Header=\$ac_header_preproc"
109970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109975 cat >>confdefs.h <<_ACEOF
109976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109977 _ACEOF
109984 CXXFLAGS="$ac_save_CXXFLAGS"
109985 ac_ext=c
109986 ac_cpp='$CPP $CPPFLAGS'
109987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109993 # Check for sigsetjmp
109994 cat >conftest.$ac_ext <<_ACEOF
109995 /* confdefs.h. */
109996 _ACEOF
109997 cat confdefs.h >>conftest.$ac_ext
109998 cat >>conftest.$ac_ext <<_ACEOF
109999 /* end confdefs.h. */
110000 #include <setjmp.h>
110002 main ()
110004 sigjmp_buf env;
110005 while (! sigsetjmp (env, 1))
110006 siglongjmp (env, 1);
110009 return 0;
110011 _ACEOF
110012 rm -f conftest.$ac_objext
110013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110014 (eval $ac_compile) 2>conftest.er1
110015 ac_status=$?
110016 grep -v '^ *+' conftest.er1 >conftest.err
110017 rm -f conftest.er1
110018 cat conftest.err >&5
110019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110020 (exit $ac_status); } &&
110021 { ac_try='test -z "$ac_c_werror_flag"
110022 || test ! -s conftest.err'
110023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110024 (eval $ac_try) 2>&5
110025 ac_status=$?
110026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110027 (exit $ac_status); }; } &&
110028 { ac_try='test -s conftest.$ac_objext'
110029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110030 (eval $ac_try) 2>&5
110031 ac_status=$?
110032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110033 (exit $ac_status); }; }; then
110035 cat >>confdefs.h <<\_ACEOF
110036 #define HAVE_SIGSETJMP 1
110037 _ACEOF
110040 echo "$as_me: failed program was:" >&5
110041 sed 's/^/| /' conftest.$ac_ext >&5
110044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110046 *-mingw32*)
110050 for ac_header in sys/types.h locale.h float.h
110052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110054 echo "$as_me:$LINENO: checking for $ac_header" >&5
110055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110057 echo $ECHO_N "(cached) $ECHO_C" >&6
110059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110062 # Is the header compilable?
110063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110065 cat >conftest.$ac_ext <<_ACEOF
110066 /* confdefs.h. */
110067 _ACEOF
110068 cat confdefs.h >>conftest.$ac_ext
110069 cat >>conftest.$ac_ext <<_ACEOF
110070 /* end confdefs.h. */
110071 $ac_includes_default
110072 #include <$ac_header>
110073 _ACEOF
110074 rm -f conftest.$ac_objext
110075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110076 (eval $ac_compile) 2>conftest.er1
110077 ac_status=$?
110078 grep -v '^ *+' conftest.er1 >conftest.err
110079 rm -f conftest.er1
110080 cat conftest.err >&5
110081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110082 (exit $ac_status); } &&
110083 { ac_try='test -z "$ac_c_werror_flag"
110084 || test ! -s conftest.err'
110085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110086 (eval $ac_try) 2>&5
110087 ac_status=$?
110088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110089 (exit $ac_status); }; } &&
110090 { ac_try='test -s conftest.$ac_objext'
110091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110092 (eval $ac_try) 2>&5
110093 ac_status=$?
110094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110095 (exit $ac_status); }; }; then
110096 ac_header_compiler=yes
110098 echo "$as_me: failed program was:" >&5
110099 sed 's/^/| /' conftest.$ac_ext >&5
110101 ac_header_compiler=no
110103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110105 echo "${ECHO_T}$ac_header_compiler" >&6
110107 # Is the header present?
110108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110110 cat >conftest.$ac_ext <<_ACEOF
110111 /* confdefs.h. */
110112 _ACEOF
110113 cat confdefs.h >>conftest.$ac_ext
110114 cat >>conftest.$ac_ext <<_ACEOF
110115 /* end confdefs.h. */
110116 #include <$ac_header>
110117 _ACEOF
110118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110120 ac_status=$?
110121 grep -v '^ *+' conftest.er1 >conftest.err
110122 rm -f conftest.er1
110123 cat conftest.err >&5
110124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110125 (exit $ac_status); } >/dev/null; then
110126 if test -s conftest.err; then
110127 ac_cpp_err=$ac_c_preproc_warn_flag
110128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110130 ac_cpp_err=
110133 ac_cpp_err=yes
110135 if test -z "$ac_cpp_err"; then
110136 ac_header_preproc=yes
110138 echo "$as_me: failed program was:" >&5
110139 sed 's/^/| /' conftest.$ac_ext >&5
110141 ac_header_preproc=no
110143 rm -f conftest.err conftest.$ac_ext
110144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110145 echo "${ECHO_T}$ac_header_preproc" >&6
110147 # So? What about this header?
110148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110149 yes:no: )
110150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110154 ac_header_preproc=yes
110156 no:yes:* )
110157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110170 cat <<\_ASBOX
110171 ## ----------------------------------------- ##
110172 ## Report this to the package-unused lists. ##
110173 ## ----------------------------------------- ##
110174 _ASBOX
110176 sed "s/^/$as_me: WARNING: /" >&2
110179 echo "$as_me:$LINENO: checking for $ac_header" >&5
110180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110182 echo $ECHO_N "(cached) $ECHO_C" >&6
110184 eval "$as_ac_Header=\$ac_header_preproc"
110186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110191 cat >>confdefs.h <<_ACEOF
110192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110193 _ACEOF
110199 cat >>confdefs.h <<\_ACEOF
110200 #define HAVE_STRTOF 1
110201 _ACEOF
110203 cat >>confdefs.h <<\_ACEOF
110204 #define HAVE_STRTOLD 1
110205 _ACEOF
110208 # If we're not using GNU ld, then there's no point in even trying these
110209 # tests. Check for that first. We should have already tested for gld
110210 # by now (in libtool), but require it now just to be safe...
110211 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110212 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110216 # The name set by libtool depends on the version of libtool. Shame on us
110217 # for depending on an impl detail, but c'est la vie. Older versions used
110218 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110219 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110220 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110221 # set (hence we're using an older libtool), then set it.
110222 if test x${with_gnu_ld+set} != xset; then
110223 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110224 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110225 with_gnu_ld=no
110227 with_gnu_ld=$ac_cv_prog_gnu_ld
110231 # Start by getting the version number. I think the libtool test already
110232 # does some of this, but throws away the result.
110233 glibcxx_ld_is_gold=no
110234 if test x"$with_gnu_ld" = x"yes"; then
110235 echo "$as_me:$LINENO: checking for ld version" >&5
110236 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110238 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110239 glibcxx_ld_is_gold=yes
110241 ldver=`$LD --version 2>/dev/null | head -1 | \
110242 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110244 glibcxx_gnu_ld_version=`echo $ldver | \
110245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110246 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110247 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110250 # Set --gc-sections.
110251 glibcxx_have_gc_sections=no
110252 if test "$glibcxx_ld_is_gold" = "yes"; then
110253 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110254 glibcxx_have_gc_sections=yes
110257 glibcxx_gcsections_min_ld=21602
110258 if test x"$with_gnu_ld" = x"yes" &&
110259 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110260 glibcxx_have_gc_sections=yes
110263 if test "$glibcxx_have_gc_sections" = "yes"; then
110264 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110265 # NB: This flag only works reliably after 2.16.1. Configure tests
110266 # for this are difficult, so hard wire a value that should work.
110268 ac_test_CFLAGS="${CFLAGS+set}"
110269 ac_save_CFLAGS="$CFLAGS"
110270 CFLAGS='-Wl,--gc-sections'
110272 # Check for -Wl,--gc-sections
110273 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110274 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110275 if test x$gcc_no_link = xyes; then
110276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110278 { (exit 1); exit 1; }; }
110280 cat >conftest.$ac_ext <<_ACEOF
110281 /* confdefs.h. */
110282 _ACEOF
110283 cat confdefs.h >>conftest.$ac_ext
110284 cat >>conftest.$ac_ext <<_ACEOF
110285 /* end confdefs.h. */
110286 int one(void) { return 1; }
110287 int two(void) { return 2; }
110290 main ()
110292 two();
110294 return 0;
110296 _ACEOF
110297 rm -f conftest.$ac_objext conftest$ac_exeext
110298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110299 (eval $ac_link) 2>conftest.er1
110300 ac_status=$?
110301 grep -v '^ *+' conftest.er1 >conftest.err
110302 rm -f conftest.er1
110303 cat conftest.err >&5
110304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110305 (exit $ac_status); } &&
110306 { ac_try='test -z "$ac_c_werror_flag"
110307 || test ! -s conftest.err'
110308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110309 (eval $ac_try) 2>&5
110310 ac_status=$?
110311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110312 (exit $ac_status); }; } &&
110313 { ac_try='test -s conftest$ac_exeext'
110314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110315 (eval $ac_try) 2>&5
110316 ac_status=$?
110317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110318 (exit $ac_status); }; }; then
110319 ac_gcsections=yes
110321 echo "$as_me: failed program was:" >&5
110322 sed 's/^/| /' conftest.$ac_ext >&5
110324 ac_gcsections=no
110326 rm -f conftest.err conftest.$ac_objext \
110327 conftest$ac_exeext conftest.$ac_ext
110328 if test "$ac_gcsections" = "yes"; then
110329 rm -f conftest.c
110330 touch conftest.c
110331 if $CC -c conftest.c; then
110332 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110333 grep "Warning: gc-sections option ignored" > /dev/null; then
110334 ac_gcsections=no
110337 rm -f conftest.c conftest.o conftest
110339 if test "$ac_gcsections" = "yes"; then
110340 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110342 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110343 echo "${ECHO_T}$ac_gcsections" >&6
110345 if test "$ac_test_CFLAGS" = set; then
110346 CFLAGS="$ac_save_CFLAGS"
110348 # this is the suspicious part
110349 CFLAGS=''
110353 # Set -z,relro.
110354 # Note this is only for shared objects.
110355 ac_ld_relro=no
110356 if test x"$with_gnu_ld" = x"yes"; then
110357 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110358 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110359 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110360 if test -n "$cxx_z_relo"; then
110361 OPT_LDFLAGS="-Wl,-z,relro"
110362 ac_ld_relro=yes
110364 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110365 echo "${ECHO_T}$ac_ld_relro" >&6
110368 # Set linker optimization flags.
110369 if test x"$with_gnu_ld" = x"yes"; then
110370 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110378 echo "$as_me:$LINENO: checking for main in -lm" >&5
110379 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110380 if test "${ac_cv_lib_m_main+set}" = set; then
110381 echo $ECHO_N "(cached) $ECHO_C" >&6
110383 ac_check_lib_save_LIBS=$LIBS
110384 LIBS="-lm $LIBS"
110385 if test x$gcc_no_link = xyes; then
110386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110388 { (exit 1); exit 1; }; }
110390 cat >conftest.$ac_ext <<_ACEOF
110391 /* confdefs.h. */
110392 _ACEOF
110393 cat confdefs.h >>conftest.$ac_ext
110394 cat >>conftest.$ac_ext <<_ACEOF
110395 /* end confdefs.h. */
110399 main ()
110401 main ();
110403 return 0;
110405 _ACEOF
110406 rm -f conftest.$ac_objext conftest$ac_exeext
110407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110408 (eval $ac_link) 2>conftest.er1
110409 ac_status=$?
110410 grep -v '^ *+' conftest.er1 >conftest.err
110411 rm -f conftest.er1
110412 cat conftest.err >&5
110413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110414 (exit $ac_status); } &&
110415 { ac_try='test -z "$ac_c_werror_flag"
110416 || test ! -s conftest.err'
110417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110418 (eval $ac_try) 2>&5
110419 ac_status=$?
110420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110421 (exit $ac_status); }; } &&
110422 { ac_try='test -s conftest$ac_exeext'
110423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110424 (eval $ac_try) 2>&5
110425 ac_status=$?
110426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110427 (exit $ac_status); }; }; then
110428 ac_cv_lib_m_main=yes
110430 echo "$as_me: failed program was:" >&5
110431 sed 's/^/| /' conftest.$ac_ext >&5
110433 ac_cv_lib_m_main=no
110435 rm -f conftest.err conftest.$ac_objext \
110436 conftest$ac_exeext conftest.$ac_ext
110437 LIBS=$ac_check_lib_save_LIBS
110439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110440 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110441 if test $ac_cv_lib_m_main = yes; then
110442 cat >>confdefs.h <<_ACEOF
110443 #define HAVE_LIBM 1
110444 _ACEOF
110446 LIBS="-lm $LIBS"
110451 for ac_func in copysignf
110453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110454 echo "$as_me:$LINENO: checking for $ac_func" >&5
110455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110456 if eval "test \"\${$as_ac_var+set}\" = set"; then
110457 echo $ECHO_N "(cached) $ECHO_C" >&6
110459 if test x$gcc_no_link = xyes; then
110460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110462 { (exit 1); exit 1; }; }
110464 cat >conftest.$ac_ext <<_ACEOF
110465 /* confdefs.h. */
110466 _ACEOF
110467 cat confdefs.h >>conftest.$ac_ext
110468 cat >>conftest.$ac_ext <<_ACEOF
110469 /* end confdefs.h. */
110470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110472 #define $ac_func innocuous_$ac_func
110474 /* System header to define __stub macros and hopefully few prototypes,
110475 which can conflict with char $ac_func (); below.
110476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110477 <limits.h> exists even on freestanding compilers. */
110479 #ifdef __STDC__
110480 # include <limits.h>
110481 #else
110482 # include <assert.h>
110483 #endif
110485 #undef $ac_func
110487 /* Override any gcc2 internal prototype to avoid an error. */
110488 #ifdef __cplusplus
110489 extern "C"
110491 #endif
110492 /* We use char because int might match the return type of a gcc2
110493 builtin and then its argument prototype would still apply. */
110494 char $ac_func ();
110495 /* The GNU C library defines this for functions which it implements
110496 to always fail with ENOSYS. Some functions are actually named
110497 something starting with __ and the normal name is an alias. */
110498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110499 choke me
110500 #else
110501 char (*f) () = $ac_func;
110502 #endif
110503 #ifdef __cplusplus
110505 #endif
110508 main ()
110510 return f != $ac_func;
110512 return 0;
110514 _ACEOF
110515 rm -f conftest.$ac_objext conftest$ac_exeext
110516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110517 (eval $ac_link) 2>conftest.er1
110518 ac_status=$?
110519 grep -v '^ *+' conftest.er1 >conftest.err
110520 rm -f conftest.er1
110521 cat conftest.err >&5
110522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110523 (exit $ac_status); } &&
110524 { ac_try='test -z "$ac_c_werror_flag"
110525 || test ! -s conftest.err'
110526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110527 (eval $ac_try) 2>&5
110528 ac_status=$?
110529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110530 (exit $ac_status); }; } &&
110531 { ac_try='test -s conftest$ac_exeext'
110532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110533 (eval $ac_try) 2>&5
110534 ac_status=$?
110535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110536 (exit $ac_status); }; }; then
110537 eval "$as_ac_var=yes"
110539 echo "$as_me: failed program was:" >&5
110540 sed 's/^/| /' conftest.$ac_ext >&5
110542 eval "$as_ac_var=no"
110544 rm -f conftest.err conftest.$ac_objext \
110545 conftest$ac_exeext conftest.$ac_ext
110547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110549 if test `eval echo '${'$as_ac_var'}'` = yes; then
110550 cat >>confdefs.h <<_ACEOF
110551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110552 _ACEOF
110555 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110561 for ac_func in __signbit
110563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110564 echo "$as_me:$LINENO: checking for $ac_func" >&5
110565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110566 if eval "test \"\${$as_ac_var+set}\" = set"; then
110567 echo $ECHO_N "(cached) $ECHO_C" >&6
110569 if test x$gcc_no_link = xyes; then
110570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110572 { (exit 1); exit 1; }; }
110574 cat >conftest.$ac_ext <<_ACEOF
110575 /* confdefs.h. */
110576 _ACEOF
110577 cat confdefs.h >>conftest.$ac_ext
110578 cat >>conftest.$ac_ext <<_ACEOF
110579 /* end confdefs.h. */
110580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110582 #define $ac_func innocuous_$ac_func
110584 /* System header to define __stub macros and hopefully few prototypes,
110585 which can conflict with char $ac_func (); below.
110586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110587 <limits.h> exists even on freestanding compilers. */
110589 #ifdef __STDC__
110590 # include <limits.h>
110591 #else
110592 # include <assert.h>
110593 #endif
110595 #undef $ac_func
110597 /* Override any gcc2 internal prototype to avoid an error. */
110598 #ifdef __cplusplus
110599 extern "C"
110601 #endif
110602 /* We use char because int might match the return type of a gcc2
110603 builtin and then its argument prototype would still apply. */
110604 char $ac_func ();
110605 /* The GNU C library defines this for functions which it implements
110606 to always fail with ENOSYS. Some functions are actually named
110607 something starting with __ and the normal name is an alias. */
110608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110609 choke me
110610 #else
110611 char (*f) () = $ac_func;
110612 #endif
110613 #ifdef __cplusplus
110615 #endif
110618 main ()
110620 return f != $ac_func;
110622 return 0;
110624 _ACEOF
110625 rm -f conftest.$ac_objext conftest$ac_exeext
110626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110627 (eval $ac_link) 2>conftest.er1
110628 ac_status=$?
110629 grep -v '^ *+' conftest.er1 >conftest.err
110630 rm -f conftest.er1
110631 cat conftest.err >&5
110632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110633 (exit $ac_status); } &&
110634 { ac_try='test -z "$ac_c_werror_flag"
110635 || test ! -s conftest.err'
110636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110637 (eval $ac_try) 2>&5
110638 ac_status=$?
110639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110640 (exit $ac_status); }; } &&
110641 { ac_try='test -s conftest$ac_exeext'
110642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110643 (eval $ac_try) 2>&5
110644 ac_status=$?
110645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110646 (exit $ac_status); }; }; then
110647 eval "$as_ac_var=yes"
110649 echo "$as_me: failed program was:" >&5
110650 sed 's/^/| /' conftest.$ac_ext >&5
110652 eval "$as_ac_var=no"
110654 rm -f conftest.err conftest.$ac_objext \
110655 conftest$ac_exeext conftest.$ac_ext
110657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110659 if test `eval echo '${'$as_ac_var'}'` = yes; then
110660 cat >>confdefs.h <<_ACEOF
110661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110662 _ACEOF
110665 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110671 for ac_func in __signbitf
110673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110674 echo "$as_me:$LINENO: checking for $ac_func" >&5
110675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110676 if eval "test \"\${$as_ac_var+set}\" = set"; then
110677 echo $ECHO_N "(cached) $ECHO_C" >&6
110679 if test x$gcc_no_link = xyes; then
110680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110682 { (exit 1); exit 1; }; }
110684 cat >conftest.$ac_ext <<_ACEOF
110685 /* confdefs.h. */
110686 _ACEOF
110687 cat confdefs.h >>conftest.$ac_ext
110688 cat >>conftest.$ac_ext <<_ACEOF
110689 /* end confdefs.h. */
110690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110692 #define $ac_func innocuous_$ac_func
110694 /* System header to define __stub macros and hopefully few prototypes,
110695 which can conflict with char $ac_func (); below.
110696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110697 <limits.h> exists even on freestanding compilers. */
110699 #ifdef __STDC__
110700 # include <limits.h>
110701 #else
110702 # include <assert.h>
110703 #endif
110705 #undef $ac_func
110707 /* Override any gcc2 internal prototype to avoid an error. */
110708 #ifdef __cplusplus
110709 extern "C"
110711 #endif
110712 /* We use char because int might match the return type of a gcc2
110713 builtin and then its argument prototype would still apply. */
110714 char $ac_func ();
110715 /* The GNU C library defines this for functions which it implements
110716 to always fail with ENOSYS. Some functions are actually named
110717 something starting with __ and the normal name is an alias. */
110718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110719 choke me
110720 #else
110721 char (*f) () = $ac_func;
110722 #endif
110723 #ifdef __cplusplus
110725 #endif
110728 main ()
110730 return f != $ac_func;
110732 return 0;
110734 _ACEOF
110735 rm -f conftest.$ac_objext conftest$ac_exeext
110736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110737 (eval $ac_link) 2>conftest.er1
110738 ac_status=$?
110739 grep -v '^ *+' conftest.er1 >conftest.err
110740 rm -f conftest.er1
110741 cat conftest.err >&5
110742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110743 (exit $ac_status); } &&
110744 { ac_try='test -z "$ac_c_werror_flag"
110745 || test ! -s conftest.err'
110746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110747 (eval $ac_try) 2>&5
110748 ac_status=$?
110749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110750 (exit $ac_status); }; } &&
110751 { ac_try='test -s conftest$ac_exeext'
110752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110753 (eval $ac_try) 2>&5
110754 ac_status=$?
110755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110756 (exit $ac_status); }; }; then
110757 eval "$as_ac_var=yes"
110759 echo "$as_me: failed program was:" >&5
110760 sed 's/^/| /' conftest.$ac_ext >&5
110762 eval "$as_ac_var=no"
110764 rm -f conftest.err conftest.$ac_objext \
110765 conftest$ac_exeext conftest.$ac_ext
110767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110769 if test `eval echo '${'$as_ac_var'}'` = yes; then
110770 cat >>confdefs.h <<_ACEOF
110771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110772 _ACEOF
110775 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110780 if test x$ac_cv_func_copysignl = x"yes"; then
110782 for ac_func in __signbitl
110784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110785 echo "$as_me:$LINENO: checking for $ac_func" >&5
110786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110787 if eval "test \"\${$as_ac_var+set}\" = set"; then
110788 echo $ECHO_N "(cached) $ECHO_C" >&6
110790 if test x$gcc_no_link = xyes; then
110791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110793 { (exit 1); exit 1; }; }
110795 cat >conftest.$ac_ext <<_ACEOF
110796 /* confdefs.h. */
110797 _ACEOF
110798 cat confdefs.h >>conftest.$ac_ext
110799 cat >>conftest.$ac_ext <<_ACEOF
110800 /* end confdefs.h. */
110801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110803 #define $ac_func innocuous_$ac_func
110805 /* System header to define __stub macros and hopefully few prototypes,
110806 which can conflict with char $ac_func (); below.
110807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110808 <limits.h> exists even on freestanding compilers. */
110810 #ifdef __STDC__
110811 # include <limits.h>
110812 #else
110813 # include <assert.h>
110814 #endif
110816 #undef $ac_func
110818 /* Override any gcc2 internal prototype to avoid an error. */
110819 #ifdef __cplusplus
110820 extern "C"
110822 #endif
110823 /* We use char because int might match the return type of a gcc2
110824 builtin and then its argument prototype would still apply. */
110825 char $ac_func ();
110826 /* The GNU C library defines this for functions which it implements
110827 to always fail with ENOSYS. Some functions are actually named
110828 something starting with __ and the normal name is an alias. */
110829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110830 choke me
110831 #else
110832 char (*f) () = $ac_func;
110833 #endif
110834 #ifdef __cplusplus
110836 #endif
110839 main ()
110841 return f != $ac_func;
110843 return 0;
110845 _ACEOF
110846 rm -f conftest.$ac_objext conftest$ac_exeext
110847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110848 (eval $ac_link) 2>conftest.er1
110849 ac_status=$?
110850 grep -v '^ *+' conftest.er1 >conftest.err
110851 rm -f conftest.er1
110852 cat conftest.err >&5
110853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110854 (exit $ac_status); } &&
110855 { ac_try='test -z "$ac_c_werror_flag"
110856 || test ! -s conftest.err'
110857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110858 (eval $ac_try) 2>&5
110859 ac_status=$?
110860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110861 (exit $ac_status); }; } &&
110862 { ac_try='test -s conftest$ac_exeext'
110863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110864 (eval $ac_try) 2>&5
110865 ac_status=$?
110866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110867 (exit $ac_status); }; }; then
110868 eval "$as_ac_var=yes"
110870 echo "$as_me: failed program was:" >&5
110871 sed 's/^/| /' conftest.$ac_ext >&5
110873 eval "$as_ac_var=no"
110875 rm -f conftest.err conftest.$ac_objext \
110876 conftest$ac_exeext conftest.$ac_ext
110878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110880 if test `eval echo '${'$as_ac_var'}'` = yes; then
110881 cat >>confdefs.h <<_ACEOF
110882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110883 _ACEOF
110886 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110892 # Used in libmath/Makefile.am.
110893 if test -n "$LIBMATHOBJS"; then
110894 need_libmath=yes
110899 *-netbsd*)
110912 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110913 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110914 fp.h locale.h float.h inttypes.h
110916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110918 echo "$as_me:$LINENO: checking for $ac_header" >&5
110919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110921 echo $ECHO_N "(cached) $ECHO_C" >&6
110923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110926 # Is the header compilable?
110927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110929 cat >conftest.$ac_ext <<_ACEOF
110930 /* confdefs.h. */
110931 _ACEOF
110932 cat confdefs.h >>conftest.$ac_ext
110933 cat >>conftest.$ac_ext <<_ACEOF
110934 /* end confdefs.h. */
110935 $ac_includes_default
110936 #include <$ac_header>
110937 _ACEOF
110938 rm -f conftest.$ac_objext
110939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110940 (eval $ac_compile) 2>conftest.er1
110941 ac_status=$?
110942 grep -v '^ *+' conftest.er1 >conftest.err
110943 rm -f conftest.er1
110944 cat conftest.err >&5
110945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110946 (exit $ac_status); } &&
110947 { ac_try='test -z "$ac_c_werror_flag"
110948 || test ! -s conftest.err'
110949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110950 (eval $ac_try) 2>&5
110951 ac_status=$?
110952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110953 (exit $ac_status); }; } &&
110954 { ac_try='test -s conftest.$ac_objext'
110955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110956 (eval $ac_try) 2>&5
110957 ac_status=$?
110958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110959 (exit $ac_status); }; }; then
110960 ac_header_compiler=yes
110962 echo "$as_me: failed program was:" >&5
110963 sed 's/^/| /' conftest.$ac_ext >&5
110965 ac_header_compiler=no
110967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110969 echo "${ECHO_T}$ac_header_compiler" >&6
110971 # Is the header present?
110972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110974 cat >conftest.$ac_ext <<_ACEOF
110975 /* confdefs.h. */
110976 _ACEOF
110977 cat confdefs.h >>conftest.$ac_ext
110978 cat >>conftest.$ac_ext <<_ACEOF
110979 /* end confdefs.h. */
110980 #include <$ac_header>
110981 _ACEOF
110982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110984 ac_status=$?
110985 grep -v '^ *+' conftest.er1 >conftest.err
110986 rm -f conftest.er1
110987 cat conftest.err >&5
110988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110989 (exit $ac_status); } >/dev/null; then
110990 if test -s conftest.err; then
110991 ac_cpp_err=$ac_c_preproc_warn_flag
110992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110994 ac_cpp_err=
110997 ac_cpp_err=yes
110999 if test -z "$ac_cpp_err"; then
111000 ac_header_preproc=yes
111002 echo "$as_me: failed program was:" >&5
111003 sed 's/^/| /' conftest.$ac_ext >&5
111005 ac_header_preproc=no
111007 rm -f conftest.err conftest.$ac_ext
111008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111009 echo "${ECHO_T}$ac_header_preproc" >&6
111011 # So? What about this header?
111012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111013 yes:no: )
111014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111018 ac_header_preproc=yes
111020 no:yes:* )
111021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111034 cat <<\_ASBOX
111035 ## ----------------------------------------- ##
111036 ## Report this to the package-unused lists. ##
111037 ## ----------------------------------------- ##
111038 _ASBOX
111040 sed "s/^/$as_me: WARNING: /" >&2
111043 echo "$as_me:$LINENO: checking for $ac_header" >&5
111044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111046 echo $ECHO_N "(cached) $ECHO_C" >&6
111048 eval "$as_ac_Header=\$ac_header_preproc"
111050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111055 cat >>confdefs.h <<_ACEOF
111056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111057 _ACEOF
111063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111066 # If we're not using GNU ld, then there's no point in even trying these
111067 # tests. Check for that first. We should have already tested for gld
111068 # by now (in libtool), but require it now just to be safe...
111069 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111070 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111074 # The name set by libtool depends on the version of libtool. Shame on us
111075 # for depending on an impl detail, but c'est la vie. Older versions used
111076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111079 # set (hence we're using an older libtool), then set it.
111080 if test x${with_gnu_ld+set} != xset; then
111081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111083 with_gnu_ld=no
111085 with_gnu_ld=$ac_cv_prog_gnu_ld
111089 # Start by getting the version number. I think the libtool test already
111090 # does some of this, but throws away the result.
111091 glibcxx_ld_is_gold=no
111092 if test x"$with_gnu_ld" = x"yes"; then
111093 echo "$as_me:$LINENO: checking for ld version" >&5
111094 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111096 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111097 glibcxx_ld_is_gold=yes
111099 ldver=`$LD --version 2>/dev/null | head -1 | \
111100 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111102 glibcxx_gnu_ld_version=`echo $ldver | \
111103 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111104 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111105 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111108 # Set --gc-sections.
111109 glibcxx_have_gc_sections=no
111110 if test "$glibcxx_ld_is_gold" = "yes"; then
111111 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111112 glibcxx_have_gc_sections=yes
111115 glibcxx_gcsections_min_ld=21602
111116 if test x"$with_gnu_ld" = x"yes" &&
111117 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111118 glibcxx_have_gc_sections=yes
111121 if test "$glibcxx_have_gc_sections" = "yes"; then
111122 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111123 # NB: This flag only works reliably after 2.16.1. Configure tests
111124 # for this are difficult, so hard wire a value that should work.
111126 ac_test_CFLAGS="${CFLAGS+set}"
111127 ac_save_CFLAGS="$CFLAGS"
111128 CFLAGS='-Wl,--gc-sections'
111130 # Check for -Wl,--gc-sections
111131 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111132 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111133 if test x$gcc_no_link = xyes; then
111134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111136 { (exit 1); exit 1; }; }
111138 cat >conftest.$ac_ext <<_ACEOF
111139 /* confdefs.h. */
111140 _ACEOF
111141 cat confdefs.h >>conftest.$ac_ext
111142 cat >>conftest.$ac_ext <<_ACEOF
111143 /* end confdefs.h. */
111144 int one(void) { return 1; }
111145 int two(void) { return 2; }
111148 main ()
111150 two();
111152 return 0;
111154 _ACEOF
111155 rm -f conftest.$ac_objext conftest$ac_exeext
111156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111157 (eval $ac_link) 2>conftest.er1
111158 ac_status=$?
111159 grep -v '^ *+' conftest.er1 >conftest.err
111160 rm -f conftest.er1
111161 cat conftest.err >&5
111162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111163 (exit $ac_status); } &&
111164 { ac_try='test -z "$ac_c_werror_flag"
111165 || test ! -s conftest.err'
111166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111167 (eval $ac_try) 2>&5
111168 ac_status=$?
111169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111170 (exit $ac_status); }; } &&
111171 { ac_try='test -s conftest$ac_exeext'
111172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111173 (eval $ac_try) 2>&5
111174 ac_status=$?
111175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111176 (exit $ac_status); }; }; then
111177 ac_gcsections=yes
111179 echo "$as_me: failed program was:" >&5
111180 sed 's/^/| /' conftest.$ac_ext >&5
111182 ac_gcsections=no
111184 rm -f conftest.err conftest.$ac_objext \
111185 conftest$ac_exeext conftest.$ac_ext
111186 if test "$ac_gcsections" = "yes"; then
111187 rm -f conftest.c
111188 touch conftest.c
111189 if $CC -c conftest.c; then
111190 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111191 grep "Warning: gc-sections option ignored" > /dev/null; then
111192 ac_gcsections=no
111195 rm -f conftest.c conftest.o conftest
111197 if test "$ac_gcsections" = "yes"; then
111198 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111200 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111201 echo "${ECHO_T}$ac_gcsections" >&6
111203 if test "$ac_test_CFLAGS" = set; then
111204 CFLAGS="$ac_save_CFLAGS"
111206 # this is the suspicious part
111207 CFLAGS=''
111211 # Set -z,relro.
111212 # Note this is only for shared objects.
111213 ac_ld_relro=no
111214 if test x"$with_gnu_ld" = x"yes"; then
111215 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111216 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111217 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111218 if test -n "$cxx_z_relo"; then
111219 OPT_LDFLAGS="-Wl,-z,relro"
111220 ac_ld_relro=yes
111222 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111223 echo "${ECHO_T}$ac_ld_relro" >&6
111226 # Set linker optimization flags.
111227 if test x"$with_gnu_ld" = x"yes"; then
111228 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111236 echo "$as_me:$LINENO: checking for main in -lm" >&5
111237 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111238 if test "${ac_cv_lib_m_main+set}" = set; then
111239 echo $ECHO_N "(cached) $ECHO_C" >&6
111241 ac_check_lib_save_LIBS=$LIBS
111242 LIBS="-lm $LIBS"
111243 if test x$gcc_no_link = xyes; then
111244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111246 { (exit 1); exit 1; }; }
111248 cat >conftest.$ac_ext <<_ACEOF
111249 /* confdefs.h. */
111250 _ACEOF
111251 cat confdefs.h >>conftest.$ac_ext
111252 cat >>conftest.$ac_ext <<_ACEOF
111253 /* end confdefs.h. */
111257 main ()
111259 main ();
111261 return 0;
111263 _ACEOF
111264 rm -f conftest.$ac_objext conftest$ac_exeext
111265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111266 (eval $ac_link) 2>conftest.er1
111267 ac_status=$?
111268 grep -v '^ *+' conftest.er1 >conftest.err
111269 rm -f conftest.er1
111270 cat conftest.err >&5
111271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111272 (exit $ac_status); } &&
111273 { ac_try='test -z "$ac_c_werror_flag"
111274 || test ! -s conftest.err'
111275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111276 (eval $ac_try) 2>&5
111277 ac_status=$?
111278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111279 (exit $ac_status); }; } &&
111280 { ac_try='test -s conftest$ac_exeext'
111281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111282 (eval $ac_try) 2>&5
111283 ac_status=$?
111284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111285 (exit $ac_status); }; }; then
111286 ac_cv_lib_m_main=yes
111288 echo "$as_me: failed program was:" >&5
111289 sed 's/^/| /' conftest.$ac_ext >&5
111291 ac_cv_lib_m_main=no
111293 rm -f conftest.err conftest.$ac_objext \
111294 conftest$ac_exeext conftest.$ac_ext
111295 LIBS=$ac_check_lib_save_LIBS
111297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111298 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111299 if test $ac_cv_lib_m_main = yes; then
111300 cat >>confdefs.h <<_ACEOF
111301 #define HAVE_LIBM 1
111302 _ACEOF
111304 LIBS="-lm $LIBS"
111309 for ac_func in copysignf
111311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111312 echo "$as_me:$LINENO: checking for $ac_func" >&5
111313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111314 if eval "test \"\${$as_ac_var+set}\" = set"; then
111315 echo $ECHO_N "(cached) $ECHO_C" >&6
111317 if test x$gcc_no_link = xyes; then
111318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111320 { (exit 1); exit 1; }; }
111322 cat >conftest.$ac_ext <<_ACEOF
111323 /* confdefs.h. */
111324 _ACEOF
111325 cat confdefs.h >>conftest.$ac_ext
111326 cat >>conftest.$ac_ext <<_ACEOF
111327 /* end confdefs.h. */
111328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111330 #define $ac_func innocuous_$ac_func
111332 /* System header to define __stub macros and hopefully few prototypes,
111333 which can conflict with char $ac_func (); below.
111334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111335 <limits.h> exists even on freestanding compilers. */
111337 #ifdef __STDC__
111338 # include <limits.h>
111339 #else
111340 # include <assert.h>
111341 #endif
111343 #undef $ac_func
111345 /* Override any gcc2 internal prototype to avoid an error. */
111346 #ifdef __cplusplus
111347 extern "C"
111349 #endif
111350 /* We use char because int might match the return type of a gcc2
111351 builtin and then its argument prototype would still apply. */
111352 char $ac_func ();
111353 /* The GNU C library defines this for functions which it implements
111354 to always fail with ENOSYS. Some functions are actually named
111355 something starting with __ and the normal name is an alias. */
111356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111357 choke me
111358 #else
111359 char (*f) () = $ac_func;
111360 #endif
111361 #ifdef __cplusplus
111363 #endif
111366 main ()
111368 return f != $ac_func;
111370 return 0;
111372 _ACEOF
111373 rm -f conftest.$ac_objext conftest$ac_exeext
111374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111375 (eval $ac_link) 2>conftest.er1
111376 ac_status=$?
111377 grep -v '^ *+' conftest.er1 >conftest.err
111378 rm -f conftest.er1
111379 cat conftest.err >&5
111380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111381 (exit $ac_status); } &&
111382 { ac_try='test -z "$ac_c_werror_flag"
111383 || test ! -s conftest.err'
111384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111385 (eval $ac_try) 2>&5
111386 ac_status=$?
111387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111388 (exit $ac_status); }; } &&
111389 { ac_try='test -s conftest$ac_exeext'
111390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111391 (eval $ac_try) 2>&5
111392 ac_status=$?
111393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111394 (exit $ac_status); }; }; then
111395 eval "$as_ac_var=yes"
111397 echo "$as_me: failed program was:" >&5
111398 sed 's/^/| /' conftest.$ac_ext >&5
111400 eval "$as_ac_var=no"
111402 rm -f conftest.err conftest.$ac_objext \
111403 conftest$ac_exeext conftest.$ac_ext
111405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111407 if test `eval echo '${'$as_ac_var'}'` = yes; then
111408 cat >>confdefs.h <<_ACEOF
111409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111410 _ACEOF
111413 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111419 for ac_func in __signbit
111421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111422 echo "$as_me:$LINENO: checking for $ac_func" >&5
111423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111424 if eval "test \"\${$as_ac_var+set}\" = set"; then
111425 echo $ECHO_N "(cached) $ECHO_C" >&6
111427 if test x$gcc_no_link = xyes; then
111428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111430 { (exit 1); exit 1; }; }
111432 cat >conftest.$ac_ext <<_ACEOF
111433 /* confdefs.h. */
111434 _ACEOF
111435 cat confdefs.h >>conftest.$ac_ext
111436 cat >>conftest.$ac_ext <<_ACEOF
111437 /* end confdefs.h. */
111438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111440 #define $ac_func innocuous_$ac_func
111442 /* System header to define __stub macros and hopefully few prototypes,
111443 which can conflict with char $ac_func (); below.
111444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111445 <limits.h> exists even on freestanding compilers. */
111447 #ifdef __STDC__
111448 # include <limits.h>
111449 #else
111450 # include <assert.h>
111451 #endif
111453 #undef $ac_func
111455 /* Override any gcc2 internal prototype to avoid an error. */
111456 #ifdef __cplusplus
111457 extern "C"
111459 #endif
111460 /* We use char because int might match the return type of a gcc2
111461 builtin and then its argument prototype would still apply. */
111462 char $ac_func ();
111463 /* The GNU C library defines this for functions which it implements
111464 to always fail with ENOSYS. Some functions are actually named
111465 something starting with __ and the normal name is an alias. */
111466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111467 choke me
111468 #else
111469 char (*f) () = $ac_func;
111470 #endif
111471 #ifdef __cplusplus
111473 #endif
111476 main ()
111478 return f != $ac_func;
111480 return 0;
111482 _ACEOF
111483 rm -f conftest.$ac_objext conftest$ac_exeext
111484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111485 (eval $ac_link) 2>conftest.er1
111486 ac_status=$?
111487 grep -v '^ *+' conftest.er1 >conftest.err
111488 rm -f conftest.er1
111489 cat conftest.err >&5
111490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111491 (exit $ac_status); } &&
111492 { ac_try='test -z "$ac_c_werror_flag"
111493 || test ! -s conftest.err'
111494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111495 (eval $ac_try) 2>&5
111496 ac_status=$?
111497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111498 (exit $ac_status); }; } &&
111499 { ac_try='test -s conftest$ac_exeext'
111500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111501 (eval $ac_try) 2>&5
111502 ac_status=$?
111503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111504 (exit $ac_status); }; }; then
111505 eval "$as_ac_var=yes"
111507 echo "$as_me: failed program was:" >&5
111508 sed 's/^/| /' conftest.$ac_ext >&5
111510 eval "$as_ac_var=no"
111512 rm -f conftest.err conftest.$ac_objext \
111513 conftest$ac_exeext conftest.$ac_ext
111515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111517 if test `eval echo '${'$as_ac_var'}'` = yes; then
111518 cat >>confdefs.h <<_ACEOF
111519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111520 _ACEOF
111523 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111529 for ac_func in __signbitf
111531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111532 echo "$as_me:$LINENO: checking for $ac_func" >&5
111533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111534 if eval "test \"\${$as_ac_var+set}\" = set"; then
111535 echo $ECHO_N "(cached) $ECHO_C" >&6
111537 if test x$gcc_no_link = xyes; then
111538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111540 { (exit 1); exit 1; }; }
111542 cat >conftest.$ac_ext <<_ACEOF
111543 /* confdefs.h. */
111544 _ACEOF
111545 cat confdefs.h >>conftest.$ac_ext
111546 cat >>conftest.$ac_ext <<_ACEOF
111547 /* end confdefs.h. */
111548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111550 #define $ac_func innocuous_$ac_func
111552 /* System header to define __stub macros and hopefully few prototypes,
111553 which can conflict with char $ac_func (); below.
111554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111555 <limits.h> exists even on freestanding compilers. */
111557 #ifdef __STDC__
111558 # include <limits.h>
111559 #else
111560 # include <assert.h>
111561 #endif
111563 #undef $ac_func
111565 /* Override any gcc2 internal prototype to avoid an error. */
111566 #ifdef __cplusplus
111567 extern "C"
111569 #endif
111570 /* We use char because int might match the return type of a gcc2
111571 builtin and then its argument prototype would still apply. */
111572 char $ac_func ();
111573 /* The GNU C library defines this for functions which it implements
111574 to always fail with ENOSYS. Some functions are actually named
111575 something starting with __ and the normal name is an alias. */
111576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111577 choke me
111578 #else
111579 char (*f) () = $ac_func;
111580 #endif
111581 #ifdef __cplusplus
111583 #endif
111586 main ()
111588 return f != $ac_func;
111590 return 0;
111592 _ACEOF
111593 rm -f conftest.$ac_objext conftest$ac_exeext
111594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111595 (eval $ac_link) 2>conftest.er1
111596 ac_status=$?
111597 grep -v '^ *+' conftest.er1 >conftest.err
111598 rm -f conftest.er1
111599 cat conftest.err >&5
111600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111601 (exit $ac_status); } &&
111602 { ac_try='test -z "$ac_c_werror_flag"
111603 || test ! -s conftest.err'
111604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111605 (eval $ac_try) 2>&5
111606 ac_status=$?
111607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111608 (exit $ac_status); }; } &&
111609 { ac_try='test -s conftest$ac_exeext'
111610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111611 (eval $ac_try) 2>&5
111612 ac_status=$?
111613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111614 (exit $ac_status); }; }; then
111615 eval "$as_ac_var=yes"
111617 echo "$as_me: failed program was:" >&5
111618 sed 's/^/| /' conftest.$ac_ext >&5
111620 eval "$as_ac_var=no"
111622 rm -f conftest.err conftest.$ac_objext \
111623 conftest$ac_exeext conftest.$ac_ext
111625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111627 if test `eval echo '${'$as_ac_var'}'` = yes; then
111628 cat >>confdefs.h <<_ACEOF
111629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111630 _ACEOF
111633 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111638 if test x$ac_cv_func_copysignl = x"yes"; then
111640 for ac_func in __signbitl
111642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111643 echo "$as_me:$LINENO: checking for $ac_func" >&5
111644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111645 if eval "test \"\${$as_ac_var+set}\" = set"; then
111646 echo $ECHO_N "(cached) $ECHO_C" >&6
111648 if test x$gcc_no_link = xyes; then
111649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111651 { (exit 1); exit 1; }; }
111653 cat >conftest.$ac_ext <<_ACEOF
111654 /* confdefs.h. */
111655 _ACEOF
111656 cat confdefs.h >>conftest.$ac_ext
111657 cat >>conftest.$ac_ext <<_ACEOF
111658 /* end confdefs.h. */
111659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111661 #define $ac_func innocuous_$ac_func
111663 /* System header to define __stub macros and hopefully few prototypes,
111664 which can conflict with char $ac_func (); below.
111665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111666 <limits.h> exists even on freestanding compilers. */
111668 #ifdef __STDC__
111669 # include <limits.h>
111670 #else
111671 # include <assert.h>
111672 #endif
111674 #undef $ac_func
111676 /* Override any gcc2 internal prototype to avoid an error. */
111677 #ifdef __cplusplus
111678 extern "C"
111680 #endif
111681 /* We use char because int might match the return type of a gcc2
111682 builtin and then its argument prototype would still apply. */
111683 char $ac_func ();
111684 /* The GNU C library defines this for functions which it implements
111685 to always fail with ENOSYS. Some functions are actually named
111686 something starting with __ and the normal name is an alias. */
111687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111688 choke me
111689 #else
111690 char (*f) () = $ac_func;
111691 #endif
111692 #ifdef __cplusplus
111694 #endif
111697 main ()
111699 return f != $ac_func;
111701 return 0;
111703 _ACEOF
111704 rm -f conftest.$ac_objext conftest$ac_exeext
111705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111706 (eval $ac_link) 2>conftest.er1
111707 ac_status=$?
111708 grep -v '^ *+' conftest.er1 >conftest.err
111709 rm -f conftest.er1
111710 cat conftest.err >&5
111711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111712 (exit $ac_status); } &&
111713 { ac_try='test -z "$ac_c_werror_flag"
111714 || test ! -s conftest.err'
111715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111716 (eval $ac_try) 2>&5
111717 ac_status=$?
111718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111719 (exit $ac_status); }; } &&
111720 { ac_try='test -s conftest$ac_exeext'
111721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111722 (eval $ac_try) 2>&5
111723 ac_status=$?
111724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111725 (exit $ac_status); }; }; then
111726 eval "$as_ac_var=yes"
111728 echo "$as_me: failed program was:" >&5
111729 sed 's/^/| /' conftest.$ac_ext >&5
111731 eval "$as_ac_var=no"
111733 rm -f conftest.err conftest.$ac_objext \
111734 conftest$ac_exeext conftest.$ac_ext
111736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111738 if test `eval echo '${'$as_ac_var'}'` = yes; then
111739 cat >>confdefs.h <<_ACEOF
111740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111741 _ACEOF
111744 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111750 # Used in libmath/Makefile.am.
111751 if test -n "$LIBMATHOBJS"; then
111752 need_libmath=yes
111756 cat >>confdefs.h <<\_ACEOF
111757 #define HAVE_COPYSIGN 1
111758 _ACEOF
111760 cat >>confdefs.h <<\_ACEOF
111761 #define HAVE_COPYSIGNF 1
111762 _ACEOF
111764 cat >>confdefs.h <<\_ACEOF
111765 #define HAVE_FINITEF 1
111766 _ACEOF
111768 cat >>confdefs.h <<\_ACEOF
111769 #define HAVE_FINITE 1
111770 _ACEOF
111772 cat >>confdefs.h <<\_ACEOF
111773 #define HAVE_FREXPF 1
111774 _ACEOF
111776 cat >>confdefs.h <<\_ACEOF
111777 #define HAVE_HYPOTF 1
111778 _ACEOF
111780 cat >>confdefs.h <<\_ACEOF
111781 #define HAVE_ISINF 1
111782 _ACEOF
111784 cat >>confdefs.h <<\_ACEOF
111785 #define HAVE_ISINFF 1
111786 _ACEOF
111788 cat >>confdefs.h <<\_ACEOF
111789 #define HAVE_ISNAN 1
111790 _ACEOF
111792 cat >>confdefs.h <<\_ACEOF
111793 #define HAVE_ISNANF 1
111794 _ACEOF
111796 if test x"long_double_math_on_this_cpu" = x"yes"; then
111797 cat >>confdefs.h <<\_ACEOF
111798 #define HAVE_FINITEL 1
111799 _ACEOF
111801 cat >>confdefs.h <<\_ACEOF
111802 #define HAVE_ISINFL 1
111803 _ACEOF
111805 cat >>confdefs.h <<\_ACEOF
111806 #define HAVE_ISNANL 1
111807 _ACEOF
111811 *-netware)
111820 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111821 sys/types.h locale.h float.h inttypes.h
111823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111825 echo "$as_me:$LINENO: checking for $ac_header" >&5
111826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111828 echo $ECHO_N "(cached) $ECHO_C" >&6
111830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111833 # Is the header compilable?
111834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111836 cat >conftest.$ac_ext <<_ACEOF
111837 /* confdefs.h. */
111838 _ACEOF
111839 cat confdefs.h >>conftest.$ac_ext
111840 cat >>conftest.$ac_ext <<_ACEOF
111841 /* end confdefs.h. */
111842 $ac_includes_default
111843 #include <$ac_header>
111844 _ACEOF
111845 rm -f conftest.$ac_objext
111846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111847 (eval $ac_compile) 2>conftest.er1
111848 ac_status=$?
111849 grep -v '^ *+' conftest.er1 >conftest.err
111850 rm -f conftest.er1
111851 cat conftest.err >&5
111852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111853 (exit $ac_status); } &&
111854 { ac_try='test -z "$ac_c_werror_flag"
111855 || test ! -s conftest.err'
111856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111857 (eval $ac_try) 2>&5
111858 ac_status=$?
111859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111860 (exit $ac_status); }; } &&
111861 { ac_try='test -s conftest.$ac_objext'
111862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111863 (eval $ac_try) 2>&5
111864 ac_status=$?
111865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111866 (exit $ac_status); }; }; then
111867 ac_header_compiler=yes
111869 echo "$as_me: failed program was:" >&5
111870 sed 's/^/| /' conftest.$ac_ext >&5
111872 ac_header_compiler=no
111874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111876 echo "${ECHO_T}$ac_header_compiler" >&6
111878 # Is the header present?
111879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111881 cat >conftest.$ac_ext <<_ACEOF
111882 /* confdefs.h. */
111883 _ACEOF
111884 cat confdefs.h >>conftest.$ac_ext
111885 cat >>conftest.$ac_ext <<_ACEOF
111886 /* end confdefs.h. */
111887 #include <$ac_header>
111888 _ACEOF
111889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111891 ac_status=$?
111892 grep -v '^ *+' conftest.er1 >conftest.err
111893 rm -f conftest.er1
111894 cat conftest.err >&5
111895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111896 (exit $ac_status); } >/dev/null; then
111897 if test -s conftest.err; then
111898 ac_cpp_err=$ac_c_preproc_warn_flag
111899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111901 ac_cpp_err=
111904 ac_cpp_err=yes
111906 if test -z "$ac_cpp_err"; then
111907 ac_header_preproc=yes
111909 echo "$as_me: failed program was:" >&5
111910 sed 's/^/| /' conftest.$ac_ext >&5
111912 ac_header_preproc=no
111914 rm -f conftest.err conftest.$ac_ext
111915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111916 echo "${ECHO_T}$ac_header_preproc" >&6
111918 # So? What about this header?
111919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111920 yes:no: )
111921 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111925 ac_header_preproc=yes
111927 no:yes:* )
111928 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111930 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111931 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111932 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111934 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111935 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111938 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111941 cat <<\_ASBOX
111942 ## ----------------------------------------- ##
111943 ## Report this to the package-unused lists. ##
111944 ## ----------------------------------------- ##
111945 _ASBOX
111947 sed "s/^/$as_me: WARNING: /" >&2
111950 echo "$as_me:$LINENO: checking for $ac_header" >&5
111951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111953 echo $ECHO_N "(cached) $ECHO_C" >&6
111955 eval "$as_ac_Header=\$ac_header_preproc"
111957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111962 cat >>confdefs.h <<_ACEOF
111963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111964 _ACEOF
111970 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111973 # If we're not using GNU ld, then there's no point in even trying these
111974 # tests. Check for that first. We should have already tested for gld
111975 # by now (in libtool), but require it now just to be safe...
111976 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111977 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111981 # The name set by libtool depends on the version of libtool. Shame on us
111982 # for depending on an impl detail, but c'est la vie. Older versions used
111983 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111984 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111985 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111986 # set (hence we're using an older libtool), then set it.
111987 if test x${with_gnu_ld+set} != xset; then
111988 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111989 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111990 with_gnu_ld=no
111992 with_gnu_ld=$ac_cv_prog_gnu_ld
111996 # Start by getting the version number. I think the libtool test already
111997 # does some of this, but throws away the result.
111998 glibcxx_ld_is_gold=no
111999 if test x"$with_gnu_ld" = x"yes"; then
112000 echo "$as_me:$LINENO: checking for ld version" >&5
112001 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112003 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112004 glibcxx_ld_is_gold=yes
112006 ldver=`$LD --version 2>/dev/null | head -1 | \
112007 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112009 glibcxx_gnu_ld_version=`echo $ldver | \
112010 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112011 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112012 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112015 # Set --gc-sections.
112016 glibcxx_have_gc_sections=no
112017 if test "$glibcxx_ld_is_gold" = "yes"; then
112018 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112019 glibcxx_have_gc_sections=yes
112022 glibcxx_gcsections_min_ld=21602
112023 if test x"$with_gnu_ld" = x"yes" &&
112024 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112025 glibcxx_have_gc_sections=yes
112028 if test "$glibcxx_have_gc_sections" = "yes"; then
112029 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112030 # NB: This flag only works reliably after 2.16.1. Configure tests
112031 # for this are difficult, so hard wire a value that should work.
112033 ac_test_CFLAGS="${CFLAGS+set}"
112034 ac_save_CFLAGS="$CFLAGS"
112035 CFLAGS='-Wl,--gc-sections'
112037 # Check for -Wl,--gc-sections
112038 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112039 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112040 if test x$gcc_no_link = xyes; then
112041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112043 { (exit 1); exit 1; }; }
112045 cat >conftest.$ac_ext <<_ACEOF
112046 /* confdefs.h. */
112047 _ACEOF
112048 cat confdefs.h >>conftest.$ac_ext
112049 cat >>conftest.$ac_ext <<_ACEOF
112050 /* end confdefs.h. */
112051 int one(void) { return 1; }
112052 int two(void) { return 2; }
112055 main ()
112057 two();
112059 return 0;
112061 _ACEOF
112062 rm -f conftest.$ac_objext conftest$ac_exeext
112063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112064 (eval $ac_link) 2>conftest.er1
112065 ac_status=$?
112066 grep -v '^ *+' conftest.er1 >conftest.err
112067 rm -f conftest.er1
112068 cat conftest.err >&5
112069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112070 (exit $ac_status); } &&
112071 { ac_try='test -z "$ac_c_werror_flag"
112072 || test ! -s conftest.err'
112073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112074 (eval $ac_try) 2>&5
112075 ac_status=$?
112076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112077 (exit $ac_status); }; } &&
112078 { ac_try='test -s conftest$ac_exeext'
112079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112080 (eval $ac_try) 2>&5
112081 ac_status=$?
112082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112083 (exit $ac_status); }; }; then
112084 ac_gcsections=yes
112086 echo "$as_me: failed program was:" >&5
112087 sed 's/^/| /' conftest.$ac_ext >&5
112089 ac_gcsections=no
112091 rm -f conftest.err conftest.$ac_objext \
112092 conftest$ac_exeext conftest.$ac_ext
112093 if test "$ac_gcsections" = "yes"; then
112094 rm -f conftest.c
112095 touch conftest.c
112096 if $CC -c conftest.c; then
112097 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112098 grep "Warning: gc-sections option ignored" > /dev/null; then
112099 ac_gcsections=no
112102 rm -f conftest.c conftest.o conftest
112104 if test "$ac_gcsections" = "yes"; then
112105 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112107 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112108 echo "${ECHO_T}$ac_gcsections" >&6
112110 if test "$ac_test_CFLAGS" = set; then
112111 CFLAGS="$ac_save_CFLAGS"
112113 # this is the suspicious part
112114 CFLAGS=''
112118 # Set -z,relro.
112119 # Note this is only for shared objects.
112120 ac_ld_relro=no
112121 if test x"$with_gnu_ld" = x"yes"; then
112122 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112123 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112124 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112125 if test -n "$cxx_z_relo"; then
112126 OPT_LDFLAGS="-Wl,-z,relro"
112127 ac_ld_relro=yes
112129 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112130 echo "${ECHO_T}$ac_ld_relro" >&6
112133 # Set linker optimization flags.
112134 if test x"$with_gnu_ld" = x"yes"; then
112135 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112143 echo "$as_me:$LINENO: checking for main in -lm" >&5
112144 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112145 if test "${ac_cv_lib_m_main+set}" = set; then
112146 echo $ECHO_N "(cached) $ECHO_C" >&6
112148 ac_check_lib_save_LIBS=$LIBS
112149 LIBS="-lm $LIBS"
112150 if test x$gcc_no_link = xyes; then
112151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112153 { (exit 1); exit 1; }; }
112155 cat >conftest.$ac_ext <<_ACEOF
112156 /* confdefs.h. */
112157 _ACEOF
112158 cat confdefs.h >>conftest.$ac_ext
112159 cat >>conftest.$ac_ext <<_ACEOF
112160 /* end confdefs.h. */
112164 main ()
112166 main ();
112168 return 0;
112170 _ACEOF
112171 rm -f conftest.$ac_objext conftest$ac_exeext
112172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112173 (eval $ac_link) 2>conftest.er1
112174 ac_status=$?
112175 grep -v '^ *+' conftest.er1 >conftest.err
112176 rm -f conftest.er1
112177 cat conftest.err >&5
112178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112179 (exit $ac_status); } &&
112180 { ac_try='test -z "$ac_c_werror_flag"
112181 || test ! -s conftest.err'
112182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112183 (eval $ac_try) 2>&5
112184 ac_status=$?
112185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112186 (exit $ac_status); }; } &&
112187 { ac_try='test -s conftest$ac_exeext'
112188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112189 (eval $ac_try) 2>&5
112190 ac_status=$?
112191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112192 (exit $ac_status); }; }; then
112193 ac_cv_lib_m_main=yes
112195 echo "$as_me: failed program was:" >&5
112196 sed 's/^/| /' conftest.$ac_ext >&5
112198 ac_cv_lib_m_main=no
112200 rm -f conftest.err conftest.$ac_objext \
112201 conftest$ac_exeext conftest.$ac_ext
112202 LIBS=$ac_check_lib_save_LIBS
112204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112205 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112206 if test $ac_cv_lib_m_main = yes; then
112207 cat >>confdefs.h <<_ACEOF
112208 #define HAVE_LIBM 1
112209 _ACEOF
112211 LIBS="-lm $LIBS"
112216 for ac_func in copysignf
112218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112219 echo "$as_me:$LINENO: checking for $ac_func" >&5
112220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112221 if eval "test \"\${$as_ac_var+set}\" = set"; then
112222 echo $ECHO_N "(cached) $ECHO_C" >&6
112224 if test x$gcc_no_link = xyes; then
112225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112227 { (exit 1); exit 1; }; }
112229 cat >conftest.$ac_ext <<_ACEOF
112230 /* confdefs.h. */
112231 _ACEOF
112232 cat confdefs.h >>conftest.$ac_ext
112233 cat >>conftest.$ac_ext <<_ACEOF
112234 /* end confdefs.h. */
112235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112237 #define $ac_func innocuous_$ac_func
112239 /* System header to define __stub macros and hopefully few prototypes,
112240 which can conflict with char $ac_func (); below.
112241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112242 <limits.h> exists even on freestanding compilers. */
112244 #ifdef __STDC__
112245 # include <limits.h>
112246 #else
112247 # include <assert.h>
112248 #endif
112250 #undef $ac_func
112252 /* Override any gcc2 internal prototype to avoid an error. */
112253 #ifdef __cplusplus
112254 extern "C"
112256 #endif
112257 /* We use char because int might match the return type of a gcc2
112258 builtin and then its argument prototype would still apply. */
112259 char $ac_func ();
112260 /* The GNU C library defines this for functions which it implements
112261 to always fail with ENOSYS. Some functions are actually named
112262 something starting with __ and the normal name is an alias. */
112263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112264 choke me
112265 #else
112266 char (*f) () = $ac_func;
112267 #endif
112268 #ifdef __cplusplus
112270 #endif
112273 main ()
112275 return f != $ac_func;
112277 return 0;
112279 _ACEOF
112280 rm -f conftest.$ac_objext conftest$ac_exeext
112281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112282 (eval $ac_link) 2>conftest.er1
112283 ac_status=$?
112284 grep -v '^ *+' conftest.er1 >conftest.err
112285 rm -f conftest.er1
112286 cat conftest.err >&5
112287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112288 (exit $ac_status); } &&
112289 { ac_try='test -z "$ac_c_werror_flag"
112290 || test ! -s conftest.err'
112291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112292 (eval $ac_try) 2>&5
112293 ac_status=$?
112294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112295 (exit $ac_status); }; } &&
112296 { ac_try='test -s conftest$ac_exeext'
112297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112298 (eval $ac_try) 2>&5
112299 ac_status=$?
112300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112301 (exit $ac_status); }; }; then
112302 eval "$as_ac_var=yes"
112304 echo "$as_me: failed program was:" >&5
112305 sed 's/^/| /' conftest.$ac_ext >&5
112307 eval "$as_ac_var=no"
112309 rm -f conftest.err conftest.$ac_objext \
112310 conftest$ac_exeext conftest.$ac_ext
112312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112314 if test `eval echo '${'$as_ac_var'}'` = yes; then
112315 cat >>confdefs.h <<_ACEOF
112316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112317 _ACEOF
112320 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112326 for ac_func in __signbit
112328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112329 echo "$as_me:$LINENO: checking for $ac_func" >&5
112330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112331 if eval "test \"\${$as_ac_var+set}\" = set"; then
112332 echo $ECHO_N "(cached) $ECHO_C" >&6
112334 if test x$gcc_no_link = xyes; then
112335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112337 { (exit 1); exit 1; }; }
112339 cat >conftest.$ac_ext <<_ACEOF
112340 /* confdefs.h. */
112341 _ACEOF
112342 cat confdefs.h >>conftest.$ac_ext
112343 cat >>conftest.$ac_ext <<_ACEOF
112344 /* end confdefs.h. */
112345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112347 #define $ac_func innocuous_$ac_func
112349 /* System header to define __stub macros and hopefully few prototypes,
112350 which can conflict with char $ac_func (); below.
112351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112352 <limits.h> exists even on freestanding compilers. */
112354 #ifdef __STDC__
112355 # include <limits.h>
112356 #else
112357 # include <assert.h>
112358 #endif
112360 #undef $ac_func
112362 /* Override any gcc2 internal prototype to avoid an error. */
112363 #ifdef __cplusplus
112364 extern "C"
112366 #endif
112367 /* We use char because int might match the return type of a gcc2
112368 builtin and then its argument prototype would still apply. */
112369 char $ac_func ();
112370 /* The GNU C library defines this for functions which it implements
112371 to always fail with ENOSYS. Some functions are actually named
112372 something starting with __ and the normal name is an alias. */
112373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112374 choke me
112375 #else
112376 char (*f) () = $ac_func;
112377 #endif
112378 #ifdef __cplusplus
112380 #endif
112383 main ()
112385 return f != $ac_func;
112387 return 0;
112389 _ACEOF
112390 rm -f conftest.$ac_objext conftest$ac_exeext
112391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112392 (eval $ac_link) 2>conftest.er1
112393 ac_status=$?
112394 grep -v '^ *+' conftest.er1 >conftest.err
112395 rm -f conftest.er1
112396 cat conftest.err >&5
112397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112398 (exit $ac_status); } &&
112399 { ac_try='test -z "$ac_c_werror_flag"
112400 || test ! -s conftest.err'
112401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112402 (eval $ac_try) 2>&5
112403 ac_status=$?
112404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112405 (exit $ac_status); }; } &&
112406 { ac_try='test -s conftest$ac_exeext'
112407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112408 (eval $ac_try) 2>&5
112409 ac_status=$?
112410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112411 (exit $ac_status); }; }; then
112412 eval "$as_ac_var=yes"
112414 echo "$as_me: failed program was:" >&5
112415 sed 's/^/| /' conftest.$ac_ext >&5
112417 eval "$as_ac_var=no"
112419 rm -f conftest.err conftest.$ac_objext \
112420 conftest$ac_exeext conftest.$ac_ext
112422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112424 if test `eval echo '${'$as_ac_var'}'` = yes; then
112425 cat >>confdefs.h <<_ACEOF
112426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112427 _ACEOF
112430 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112436 for ac_func in __signbitf
112438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112439 echo "$as_me:$LINENO: checking for $ac_func" >&5
112440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112441 if eval "test \"\${$as_ac_var+set}\" = set"; then
112442 echo $ECHO_N "(cached) $ECHO_C" >&6
112444 if test x$gcc_no_link = xyes; then
112445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112447 { (exit 1); exit 1; }; }
112449 cat >conftest.$ac_ext <<_ACEOF
112450 /* confdefs.h. */
112451 _ACEOF
112452 cat confdefs.h >>conftest.$ac_ext
112453 cat >>conftest.$ac_ext <<_ACEOF
112454 /* end confdefs.h. */
112455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112457 #define $ac_func innocuous_$ac_func
112459 /* System header to define __stub macros and hopefully few prototypes,
112460 which can conflict with char $ac_func (); below.
112461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112462 <limits.h> exists even on freestanding compilers. */
112464 #ifdef __STDC__
112465 # include <limits.h>
112466 #else
112467 # include <assert.h>
112468 #endif
112470 #undef $ac_func
112472 /* Override any gcc2 internal prototype to avoid an error. */
112473 #ifdef __cplusplus
112474 extern "C"
112476 #endif
112477 /* We use char because int might match the return type of a gcc2
112478 builtin and then its argument prototype would still apply. */
112479 char $ac_func ();
112480 /* The GNU C library defines this for functions which it implements
112481 to always fail with ENOSYS. Some functions are actually named
112482 something starting with __ and the normal name is an alias. */
112483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112484 choke me
112485 #else
112486 char (*f) () = $ac_func;
112487 #endif
112488 #ifdef __cplusplus
112490 #endif
112493 main ()
112495 return f != $ac_func;
112497 return 0;
112499 _ACEOF
112500 rm -f conftest.$ac_objext conftest$ac_exeext
112501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112502 (eval $ac_link) 2>conftest.er1
112503 ac_status=$?
112504 grep -v '^ *+' conftest.er1 >conftest.err
112505 rm -f conftest.er1
112506 cat conftest.err >&5
112507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112508 (exit $ac_status); } &&
112509 { ac_try='test -z "$ac_c_werror_flag"
112510 || test ! -s conftest.err'
112511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112512 (eval $ac_try) 2>&5
112513 ac_status=$?
112514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112515 (exit $ac_status); }; } &&
112516 { ac_try='test -s conftest$ac_exeext'
112517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112518 (eval $ac_try) 2>&5
112519 ac_status=$?
112520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112521 (exit $ac_status); }; }; then
112522 eval "$as_ac_var=yes"
112524 echo "$as_me: failed program was:" >&5
112525 sed 's/^/| /' conftest.$ac_ext >&5
112527 eval "$as_ac_var=no"
112529 rm -f conftest.err conftest.$ac_objext \
112530 conftest$ac_exeext conftest.$ac_ext
112532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112534 if test `eval echo '${'$as_ac_var'}'` = yes; then
112535 cat >>confdefs.h <<_ACEOF
112536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112537 _ACEOF
112540 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112545 if test x$ac_cv_func_copysignl = x"yes"; then
112547 for ac_func in __signbitl
112549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112550 echo "$as_me:$LINENO: checking for $ac_func" >&5
112551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112552 if eval "test \"\${$as_ac_var+set}\" = set"; then
112553 echo $ECHO_N "(cached) $ECHO_C" >&6
112555 if test x$gcc_no_link = xyes; then
112556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112558 { (exit 1); exit 1; }; }
112560 cat >conftest.$ac_ext <<_ACEOF
112561 /* confdefs.h. */
112562 _ACEOF
112563 cat confdefs.h >>conftest.$ac_ext
112564 cat >>conftest.$ac_ext <<_ACEOF
112565 /* end confdefs.h. */
112566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112568 #define $ac_func innocuous_$ac_func
112570 /* System header to define __stub macros and hopefully few prototypes,
112571 which can conflict with char $ac_func (); below.
112572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112573 <limits.h> exists even on freestanding compilers. */
112575 #ifdef __STDC__
112576 # include <limits.h>
112577 #else
112578 # include <assert.h>
112579 #endif
112581 #undef $ac_func
112583 /* Override any gcc2 internal prototype to avoid an error. */
112584 #ifdef __cplusplus
112585 extern "C"
112587 #endif
112588 /* We use char because int might match the return type of a gcc2
112589 builtin and then its argument prototype would still apply. */
112590 char $ac_func ();
112591 /* The GNU C library defines this for functions which it implements
112592 to always fail with ENOSYS. Some functions are actually named
112593 something starting with __ and the normal name is an alias. */
112594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112595 choke me
112596 #else
112597 char (*f) () = $ac_func;
112598 #endif
112599 #ifdef __cplusplus
112601 #endif
112604 main ()
112606 return f != $ac_func;
112608 return 0;
112610 _ACEOF
112611 rm -f conftest.$ac_objext conftest$ac_exeext
112612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112613 (eval $ac_link) 2>conftest.er1
112614 ac_status=$?
112615 grep -v '^ *+' conftest.er1 >conftest.err
112616 rm -f conftest.er1
112617 cat conftest.err >&5
112618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112619 (exit $ac_status); } &&
112620 { ac_try='test -z "$ac_c_werror_flag"
112621 || test ! -s conftest.err'
112622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112623 (eval $ac_try) 2>&5
112624 ac_status=$?
112625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112626 (exit $ac_status); }; } &&
112627 { ac_try='test -s conftest$ac_exeext'
112628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112629 (eval $ac_try) 2>&5
112630 ac_status=$?
112631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112632 (exit $ac_status); }; }; then
112633 eval "$as_ac_var=yes"
112635 echo "$as_me: failed program was:" >&5
112636 sed 's/^/| /' conftest.$ac_ext >&5
112638 eval "$as_ac_var=no"
112640 rm -f conftest.err conftest.$ac_objext \
112641 conftest$ac_exeext conftest.$ac_ext
112643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112645 if test `eval echo '${'$as_ac_var'}'` = yes; then
112646 cat >>confdefs.h <<_ACEOF
112647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112648 _ACEOF
112651 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112657 # Used in libmath/Makefile.am.
112658 if test -n "$LIBMATHOBJS"; then
112659 need_libmath=yes
112663 cat >>confdefs.h <<\_ACEOF
112664 #define HAVE_HYPOT 1
112665 _ACEOF
112667 cat >>confdefs.h <<\_ACEOF
112668 #define HAVE_ISINF 1
112669 _ACEOF
112671 cat >>confdefs.h <<\_ACEOF
112672 #define HAVE_ISNAN 1
112673 _ACEOF
112676 # For showmanyc_helper().
112679 for ac_header in sys/ioctl.h sys/filio.h
112681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112683 echo "$as_me:$LINENO: checking for $ac_header" >&5
112684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112686 echo $ECHO_N "(cached) $ECHO_C" >&6
112688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112691 # Is the header compilable?
112692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112694 cat >conftest.$ac_ext <<_ACEOF
112695 /* confdefs.h. */
112696 _ACEOF
112697 cat confdefs.h >>conftest.$ac_ext
112698 cat >>conftest.$ac_ext <<_ACEOF
112699 /* end confdefs.h. */
112700 $ac_includes_default
112701 #include <$ac_header>
112702 _ACEOF
112703 rm -f conftest.$ac_objext
112704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112705 (eval $ac_compile) 2>conftest.er1
112706 ac_status=$?
112707 grep -v '^ *+' conftest.er1 >conftest.err
112708 rm -f conftest.er1
112709 cat conftest.err >&5
112710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112711 (exit $ac_status); } &&
112712 { ac_try='test -z "$ac_c_werror_flag"
112713 || test ! -s conftest.err'
112714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112715 (eval $ac_try) 2>&5
112716 ac_status=$?
112717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112718 (exit $ac_status); }; } &&
112719 { ac_try='test -s conftest.$ac_objext'
112720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112721 (eval $ac_try) 2>&5
112722 ac_status=$?
112723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112724 (exit $ac_status); }; }; then
112725 ac_header_compiler=yes
112727 echo "$as_me: failed program was:" >&5
112728 sed 's/^/| /' conftest.$ac_ext >&5
112730 ac_header_compiler=no
112732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112734 echo "${ECHO_T}$ac_header_compiler" >&6
112736 # Is the header present?
112737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112739 cat >conftest.$ac_ext <<_ACEOF
112740 /* confdefs.h. */
112741 _ACEOF
112742 cat confdefs.h >>conftest.$ac_ext
112743 cat >>conftest.$ac_ext <<_ACEOF
112744 /* end confdefs.h. */
112745 #include <$ac_header>
112746 _ACEOF
112747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112749 ac_status=$?
112750 grep -v '^ *+' conftest.er1 >conftest.err
112751 rm -f conftest.er1
112752 cat conftest.err >&5
112753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112754 (exit $ac_status); } >/dev/null; then
112755 if test -s conftest.err; then
112756 ac_cpp_err=$ac_c_preproc_warn_flag
112757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112759 ac_cpp_err=
112762 ac_cpp_err=yes
112764 if test -z "$ac_cpp_err"; then
112765 ac_header_preproc=yes
112767 echo "$as_me: failed program was:" >&5
112768 sed 's/^/| /' conftest.$ac_ext >&5
112770 ac_header_preproc=no
112772 rm -f conftest.err conftest.$ac_ext
112773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112774 echo "${ECHO_T}$ac_header_preproc" >&6
112776 # So? What about this header?
112777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112778 yes:no: )
112779 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112783 ac_header_preproc=yes
112785 no:yes:* )
112786 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112788 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112789 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112790 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112792 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112793 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112796 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112799 cat <<\_ASBOX
112800 ## ----------------------------------------- ##
112801 ## Report this to the package-unused lists. ##
112802 ## ----------------------------------------- ##
112803 _ASBOX
112805 sed "s/^/$as_me: WARNING: /" >&2
112808 echo "$as_me:$LINENO: checking for $ac_header" >&5
112809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112811 echo $ECHO_N "(cached) $ECHO_C" >&6
112813 eval "$as_ac_Header=\$ac_header_preproc"
112815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112820 cat >>confdefs.h <<_ACEOF
112821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112822 _ACEOF
112829 echo "$as_me:$LINENO: checking for poll" >&5
112830 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112831 if test "${glibcxx_cv_POLL+set}" = set; then
112832 echo $ECHO_N "(cached) $ECHO_C" >&6
112835 if test x$gcc_no_link = xyes; then
112836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112838 { (exit 1); exit 1; }; }
112840 cat >conftest.$ac_ext <<_ACEOF
112841 /* confdefs.h. */
112842 _ACEOF
112843 cat confdefs.h >>conftest.$ac_ext
112844 cat >>conftest.$ac_ext <<_ACEOF
112845 /* end confdefs.h. */
112846 #include <poll.h>
112848 main ()
112850 struct pollfd pfd[1];
112851 pfd[0].events = POLLIN;
112852 poll(pfd, 1, 0);
112854 return 0;
112856 _ACEOF
112857 rm -f conftest.$ac_objext conftest$ac_exeext
112858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112859 (eval $ac_link) 2>conftest.er1
112860 ac_status=$?
112861 grep -v '^ *+' conftest.er1 >conftest.err
112862 rm -f conftest.er1
112863 cat conftest.err >&5
112864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112865 (exit $ac_status); } &&
112866 { ac_try='test -z "$ac_c_werror_flag"
112867 || test ! -s conftest.err'
112868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112869 (eval $ac_try) 2>&5
112870 ac_status=$?
112871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112872 (exit $ac_status); }; } &&
112873 { ac_try='test -s conftest$ac_exeext'
112874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112875 (eval $ac_try) 2>&5
112876 ac_status=$?
112877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112878 (exit $ac_status); }; }; then
112879 glibcxx_cv_POLL=yes
112881 echo "$as_me: failed program was:" >&5
112882 sed 's/^/| /' conftest.$ac_ext >&5
112884 glibcxx_cv_POLL=no
112886 rm -f conftest.err conftest.$ac_objext \
112887 conftest$ac_exeext conftest.$ac_ext
112891 if test $glibcxx_cv_POLL = yes; then
112893 cat >>confdefs.h <<\_ACEOF
112894 #define HAVE_POLL 1
112895 _ACEOF
112898 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112899 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112902 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112903 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112904 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112905 echo $ECHO_N "(cached) $ECHO_C" >&6
112908 if test x$gcc_no_link = xyes; then
112909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112911 { (exit 1); exit 1; }; }
112913 cat >conftest.$ac_ext <<_ACEOF
112914 /* confdefs.h. */
112915 _ACEOF
112916 cat confdefs.h >>conftest.$ac_ext
112917 cat >>conftest.$ac_ext <<_ACEOF
112918 /* end confdefs.h. */
112919 #include <sys/stat.h>
112921 main ()
112923 struct stat buffer;
112924 fstat(0, &buffer);
112925 S_ISREG(buffer.st_mode);
112927 return 0;
112929 _ACEOF
112930 rm -f conftest.$ac_objext conftest$ac_exeext
112931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112932 (eval $ac_link) 2>conftest.er1
112933 ac_status=$?
112934 grep -v '^ *+' conftest.er1 >conftest.err
112935 rm -f conftest.er1
112936 cat conftest.err >&5
112937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112938 (exit $ac_status); } &&
112939 { ac_try='test -z "$ac_c_werror_flag"
112940 || test ! -s conftest.err'
112941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112942 (eval $ac_try) 2>&5
112943 ac_status=$?
112944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112945 (exit $ac_status); }; } &&
112946 { ac_try='test -s conftest$ac_exeext'
112947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112948 (eval $ac_try) 2>&5
112949 ac_status=$?
112950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112951 (exit $ac_status); }; }; then
112952 glibcxx_cv_S_ISREG=yes
112954 echo "$as_me: failed program was:" >&5
112955 sed 's/^/| /' conftest.$ac_ext >&5
112957 glibcxx_cv_S_ISREG=no
112959 rm -f conftest.err conftest.$ac_objext \
112960 conftest$ac_exeext conftest.$ac_ext
112964 if test "${glibcxx_cv_S_IFREG+set}" = set; then
112965 echo $ECHO_N "(cached) $ECHO_C" >&6
112968 if test x$gcc_no_link = xyes; then
112969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112971 { (exit 1); exit 1; }; }
112973 cat >conftest.$ac_ext <<_ACEOF
112974 /* confdefs.h. */
112975 _ACEOF
112976 cat confdefs.h >>conftest.$ac_ext
112977 cat >>conftest.$ac_ext <<_ACEOF
112978 /* end confdefs.h. */
112979 #include <sys/stat.h>
112981 main ()
112983 struct stat buffer;
112984 fstat(0, &buffer);
112985 S_IFREG & buffer.st_mode;
112987 return 0;
112989 _ACEOF
112990 rm -f conftest.$ac_objext conftest$ac_exeext
112991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112992 (eval $ac_link) 2>conftest.er1
112993 ac_status=$?
112994 grep -v '^ *+' conftest.er1 >conftest.err
112995 rm -f conftest.er1
112996 cat conftest.err >&5
112997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112998 (exit $ac_status); } &&
112999 { ac_try='test -z "$ac_c_werror_flag"
113000 || test ! -s conftest.err'
113001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113002 (eval $ac_try) 2>&5
113003 ac_status=$?
113004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113005 (exit $ac_status); }; } &&
113006 { ac_try='test -s conftest$ac_exeext'
113007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113008 (eval $ac_try) 2>&5
113009 ac_status=$?
113010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113011 (exit $ac_status); }; }; then
113012 glibcxx_cv_S_IFREG=yes
113014 echo "$as_me: failed program was:" >&5
113015 sed 's/^/| /' conftest.$ac_ext >&5
113017 glibcxx_cv_S_IFREG=no
113019 rm -f conftest.err conftest.$ac_objext \
113020 conftest$ac_exeext conftest.$ac_ext
113024 res=no
113025 if test $glibcxx_cv_S_ISREG = yes; then
113027 cat >>confdefs.h <<\_ACEOF
113028 #define HAVE_S_ISREG 1
113029 _ACEOF
113031 res=S_ISREG
113032 elif test $glibcxx_cv_S_IFREG = yes; then
113034 cat >>confdefs.h <<\_ACEOF
113035 #define HAVE_S_IFREG 1
113036 _ACEOF
113038 res=S_IFREG
113040 echo "$as_me:$LINENO: result: $res" >&5
113041 echo "${ECHO_T}$res" >&6
113044 # For xsputn_2().
113046 for ac_header in sys/uio.h
113048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113050 echo "$as_me:$LINENO: checking for $ac_header" >&5
113051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113053 echo $ECHO_N "(cached) $ECHO_C" >&6
113055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113058 # Is the header compilable?
113059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113061 cat >conftest.$ac_ext <<_ACEOF
113062 /* confdefs.h. */
113063 _ACEOF
113064 cat confdefs.h >>conftest.$ac_ext
113065 cat >>conftest.$ac_ext <<_ACEOF
113066 /* end confdefs.h. */
113067 $ac_includes_default
113068 #include <$ac_header>
113069 _ACEOF
113070 rm -f conftest.$ac_objext
113071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113072 (eval $ac_compile) 2>conftest.er1
113073 ac_status=$?
113074 grep -v '^ *+' conftest.er1 >conftest.err
113075 rm -f conftest.er1
113076 cat conftest.err >&5
113077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113078 (exit $ac_status); } &&
113079 { ac_try='test -z "$ac_c_werror_flag"
113080 || test ! -s conftest.err'
113081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113082 (eval $ac_try) 2>&5
113083 ac_status=$?
113084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113085 (exit $ac_status); }; } &&
113086 { ac_try='test -s conftest.$ac_objext'
113087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113088 (eval $ac_try) 2>&5
113089 ac_status=$?
113090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113091 (exit $ac_status); }; }; then
113092 ac_header_compiler=yes
113094 echo "$as_me: failed program was:" >&5
113095 sed 's/^/| /' conftest.$ac_ext >&5
113097 ac_header_compiler=no
113099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113101 echo "${ECHO_T}$ac_header_compiler" >&6
113103 # Is the header present?
113104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113106 cat >conftest.$ac_ext <<_ACEOF
113107 /* confdefs.h. */
113108 _ACEOF
113109 cat confdefs.h >>conftest.$ac_ext
113110 cat >>conftest.$ac_ext <<_ACEOF
113111 /* end confdefs.h. */
113112 #include <$ac_header>
113113 _ACEOF
113114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113116 ac_status=$?
113117 grep -v '^ *+' conftest.er1 >conftest.err
113118 rm -f conftest.er1
113119 cat conftest.err >&5
113120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113121 (exit $ac_status); } >/dev/null; then
113122 if test -s conftest.err; then
113123 ac_cpp_err=$ac_c_preproc_warn_flag
113124 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113126 ac_cpp_err=
113129 ac_cpp_err=yes
113131 if test -z "$ac_cpp_err"; then
113132 ac_header_preproc=yes
113134 echo "$as_me: failed program was:" >&5
113135 sed 's/^/| /' conftest.$ac_ext >&5
113137 ac_header_preproc=no
113139 rm -f conftest.err conftest.$ac_ext
113140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113141 echo "${ECHO_T}$ac_header_preproc" >&6
113143 # So? What about this header?
113144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113145 yes:no: )
113146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113150 ac_header_preproc=yes
113152 no:yes:* )
113153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113157 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113159 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113160 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113163 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113166 cat <<\_ASBOX
113167 ## ----------------------------------------- ##
113168 ## Report this to the package-unused lists. ##
113169 ## ----------------------------------------- ##
113170 _ASBOX
113172 sed "s/^/$as_me: WARNING: /" >&2
113175 echo "$as_me:$LINENO: checking for $ac_header" >&5
113176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113178 echo $ECHO_N "(cached) $ECHO_C" >&6
113180 eval "$as_ac_Header=\$ac_header_preproc"
113182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113187 cat >>confdefs.h <<_ACEOF
113188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113189 _ACEOF
113196 echo "$as_me:$LINENO: checking for writev" >&5
113197 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113198 if test "${glibcxx_cv_WRITEV+set}" = set; then
113199 echo $ECHO_N "(cached) $ECHO_C" >&6
113202 if test x$gcc_no_link = xyes; then
113203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113205 { (exit 1); exit 1; }; }
113207 cat >conftest.$ac_ext <<_ACEOF
113208 /* confdefs.h. */
113209 _ACEOF
113210 cat confdefs.h >>conftest.$ac_ext
113211 cat >>conftest.$ac_ext <<_ACEOF
113212 /* end confdefs.h. */
113213 #include <sys/uio.h>
113215 main ()
113217 struct iovec iov[2];
113218 writev(0, iov, 0);
113220 return 0;
113222 _ACEOF
113223 rm -f conftest.$ac_objext conftest$ac_exeext
113224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113225 (eval $ac_link) 2>conftest.er1
113226 ac_status=$?
113227 grep -v '^ *+' conftest.er1 >conftest.err
113228 rm -f conftest.er1
113229 cat conftest.err >&5
113230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113231 (exit $ac_status); } &&
113232 { ac_try='test -z "$ac_c_werror_flag"
113233 || test ! -s conftest.err'
113234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113235 (eval $ac_try) 2>&5
113236 ac_status=$?
113237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113238 (exit $ac_status); }; } &&
113239 { ac_try='test -s conftest$ac_exeext'
113240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113241 (eval $ac_try) 2>&5
113242 ac_status=$?
113243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113244 (exit $ac_status); }; }; then
113245 glibcxx_cv_WRITEV=yes
113247 echo "$as_me: failed program was:" >&5
113248 sed 's/^/| /' conftest.$ac_ext >&5
113250 glibcxx_cv_WRITEV=no
113252 rm -f conftest.err conftest.$ac_objext \
113253 conftest$ac_exeext conftest.$ac_ext
113257 if test $glibcxx_cv_WRITEV = yes; then
113259 cat >>confdefs.h <<\_ACEOF
113260 #define HAVE_WRITEV 1
113261 _ACEOF
113264 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113265 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113268 *-qnx6.1* | *-qnx6.2*)
113269 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113272 # If we're not using GNU ld, then there's no point in even trying these
113273 # tests. Check for that first. We should have already tested for gld
113274 # by now (in libtool), but require it now just to be safe...
113275 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113276 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113280 # The name set by libtool depends on the version of libtool. Shame on us
113281 # for depending on an impl detail, but c'est la vie. Older versions used
113282 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113283 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113284 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113285 # set (hence we're using an older libtool), then set it.
113286 if test x${with_gnu_ld+set} != xset; then
113287 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113288 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113289 with_gnu_ld=no
113291 with_gnu_ld=$ac_cv_prog_gnu_ld
113295 # Start by getting the version number. I think the libtool test already
113296 # does some of this, but throws away the result.
113297 glibcxx_ld_is_gold=no
113298 if test x"$with_gnu_ld" = x"yes"; then
113299 echo "$as_me:$LINENO: checking for ld version" >&5
113300 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113302 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113303 glibcxx_ld_is_gold=yes
113305 ldver=`$LD --version 2>/dev/null | head -1 | \
113306 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113308 glibcxx_gnu_ld_version=`echo $ldver | \
113309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113310 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113311 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113314 # Set --gc-sections.
113315 glibcxx_have_gc_sections=no
113316 if test "$glibcxx_ld_is_gold" = "yes"; then
113317 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113318 glibcxx_have_gc_sections=yes
113321 glibcxx_gcsections_min_ld=21602
113322 if test x"$with_gnu_ld" = x"yes" &&
113323 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113324 glibcxx_have_gc_sections=yes
113327 if test "$glibcxx_have_gc_sections" = "yes"; then
113328 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113329 # NB: This flag only works reliably after 2.16.1. Configure tests
113330 # for this are difficult, so hard wire a value that should work.
113332 ac_test_CFLAGS="${CFLAGS+set}"
113333 ac_save_CFLAGS="$CFLAGS"
113334 CFLAGS='-Wl,--gc-sections'
113336 # Check for -Wl,--gc-sections
113337 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113339 if test x$gcc_no_link = xyes; then
113340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113342 { (exit 1); exit 1; }; }
113344 cat >conftest.$ac_ext <<_ACEOF
113345 /* confdefs.h. */
113346 _ACEOF
113347 cat confdefs.h >>conftest.$ac_ext
113348 cat >>conftest.$ac_ext <<_ACEOF
113349 /* end confdefs.h. */
113350 int one(void) { return 1; }
113351 int two(void) { return 2; }
113354 main ()
113356 two();
113358 return 0;
113360 _ACEOF
113361 rm -f conftest.$ac_objext conftest$ac_exeext
113362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113363 (eval $ac_link) 2>conftest.er1
113364 ac_status=$?
113365 grep -v '^ *+' conftest.er1 >conftest.err
113366 rm -f conftest.er1
113367 cat conftest.err >&5
113368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113369 (exit $ac_status); } &&
113370 { ac_try='test -z "$ac_c_werror_flag"
113371 || test ! -s conftest.err'
113372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113373 (eval $ac_try) 2>&5
113374 ac_status=$?
113375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113376 (exit $ac_status); }; } &&
113377 { ac_try='test -s conftest$ac_exeext'
113378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113379 (eval $ac_try) 2>&5
113380 ac_status=$?
113381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113382 (exit $ac_status); }; }; then
113383 ac_gcsections=yes
113385 echo "$as_me: failed program was:" >&5
113386 sed 's/^/| /' conftest.$ac_ext >&5
113388 ac_gcsections=no
113390 rm -f conftest.err conftest.$ac_objext \
113391 conftest$ac_exeext conftest.$ac_ext
113392 if test "$ac_gcsections" = "yes"; then
113393 rm -f conftest.c
113394 touch conftest.c
113395 if $CC -c conftest.c; then
113396 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113397 grep "Warning: gc-sections option ignored" > /dev/null; then
113398 ac_gcsections=no
113401 rm -f conftest.c conftest.o conftest
113403 if test "$ac_gcsections" = "yes"; then
113404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113406 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113407 echo "${ECHO_T}$ac_gcsections" >&6
113409 if test "$ac_test_CFLAGS" = set; then
113410 CFLAGS="$ac_save_CFLAGS"
113412 # this is the suspicious part
113413 CFLAGS=''
113417 # Set -z,relro.
113418 # Note this is only for shared objects.
113419 ac_ld_relro=no
113420 if test x"$with_gnu_ld" = x"yes"; then
113421 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113424 if test -n "$cxx_z_relo"; then
113425 OPT_LDFLAGS="-Wl,-z,relro"
113426 ac_ld_relro=yes
113428 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113429 echo "${ECHO_T}$ac_ld_relro" >&6
113432 # Set linker optimization flags.
113433 if test x"$with_gnu_ld" = x"yes"; then
113434 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113442 echo "$as_me:$LINENO: checking for main in -lm" >&5
113443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113444 if test "${ac_cv_lib_m_main+set}" = set; then
113445 echo $ECHO_N "(cached) $ECHO_C" >&6
113447 ac_check_lib_save_LIBS=$LIBS
113448 LIBS="-lm $LIBS"
113449 if test x$gcc_no_link = xyes; then
113450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113452 { (exit 1); exit 1; }; }
113454 cat >conftest.$ac_ext <<_ACEOF
113455 /* confdefs.h. */
113456 _ACEOF
113457 cat confdefs.h >>conftest.$ac_ext
113458 cat >>conftest.$ac_ext <<_ACEOF
113459 /* end confdefs.h. */
113463 main ()
113465 main ();
113467 return 0;
113469 _ACEOF
113470 rm -f conftest.$ac_objext conftest$ac_exeext
113471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113472 (eval $ac_link) 2>conftest.er1
113473 ac_status=$?
113474 grep -v '^ *+' conftest.er1 >conftest.err
113475 rm -f conftest.er1
113476 cat conftest.err >&5
113477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113478 (exit $ac_status); } &&
113479 { ac_try='test -z "$ac_c_werror_flag"
113480 || test ! -s conftest.err'
113481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113482 (eval $ac_try) 2>&5
113483 ac_status=$?
113484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113485 (exit $ac_status); }; } &&
113486 { ac_try='test -s conftest$ac_exeext'
113487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113488 (eval $ac_try) 2>&5
113489 ac_status=$?
113490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113491 (exit $ac_status); }; }; then
113492 ac_cv_lib_m_main=yes
113494 echo "$as_me: failed program was:" >&5
113495 sed 's/^/| /' conftest.$ac_ext >&5
113497 ac_cv_lib_m_main=no
113499 rm -f conftest.err conftest.$ac_objext \
113500 conftest$ac_exeext conftest.$ac_ext
113501 LIBS=$ac_check_lib_save_LIBS
113503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113505 if test $ac_cv_lib_m_main = yes; then
113506 cat >>confdefs.h <<_ACEOF
113507 #define HAVE_LIBM 1
113508 _ACEOF
113510 LIBS="-lm $LIBS"
113515 for ac_func in copysignf
113517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113518 echo "$as_me:$LINENO: checking for $ac_func" >&5
113519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113520 if eval "test \"\${$as_ac_var+set}\" = set"; then
113521 echo $ECHO_N "(cached) $ECHO_C" >&6
113523 if test x$gcc_no_link = xyes; then
113524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113526 { (exit 1); exit 1; }; }
113528 cat >conftest.$ac_ext <<_ACEOF
113529 /* confdefs.h. */
113530 _ACEOF
113531 cat confdefs.h >>conftest.$ac_ext
113532 cat >>conftest.$ac_ext <<_ACEOF
113533 /* end confdefs.h. */
113534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113536 #define $ac_func innocuous_$ac_func
113538 /* System header to define __stub macros and hopefully few prototypes,
113539 which can conflict with char $ac_func (); below.
113540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113541 <limits.h> exists even on freestanding compilers. */
113543 #ifdef __STDC__
113544 # include <limits.h>
113545 #else
113546 # include <assert.h>
113547 #endif
113549 #undef $ac_func
113551 /* Override any gcc2 internal prototype to avoid an error. */
113552 #ifdef __cplusplus
113553 extern "C"
113555 #endif
113556 /* We use char because int might match the return type of a gcc2
113557 builtin and then its argument prototype would still apply. */
113558 char $ac_func ();
113559 /* The GNU C library defines this for functions which it implements
113560 to always fail with ENOSYS. Some functions are actually named
113561 something starting with __ and the normal name is an alias. */
113562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113563 choke me
113564 #else
113565 char (*f) () = $ac_func;
113566 #endif
113567 #ifdef __cplusplus
113569 #endif
113572 main ()
113574 return f != $ac_func;
113576 return 0;
113578 _ACEOF
113579 rm -f conftest.$ac_objext conftest$ac_exeext
113580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113581 (eval $ac_link) 2>conftest.er1
113582 ac_status=$?
113583 grep -v '^ *+' conftest.er1 >conftest.err
113584 rm -f conftest.er1
113585 cat conftest.err >&5
113586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113587 (exit $ac_status); } &&
113588 { ac_try='test -z "$ac_c_werror_flag"
113589 || test ! -s conftest.err'
113590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113591 (eval $ac_try) 2>&5
113592 ac_status=$?
113593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113594 (exit $ac_status); }; } &&
113595 { ac_try='test -s conftest$ac_exeext'
113596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113597 (eval $ac_try) 2>&5
113598 ac_status=$?
113599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113600 (exit $ac_status); }; }; then
113601 eval "$as_ac_var=yes"
113603 echo "$as_me: failed program was:" >&5
113604 sed 's/^/| /' conftest.$ac_ext >&5
113606 eval "$as_ac_var=no"
113608 rm -f conftest.err conftest.$ac_objext \
113609 conftest$ac_exeext conftest.$ac_ext
113611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113613 if test `eval echo '${'$as_ac_var'}'` = yes; then
113614 cat >>confdefs.h <<_ACEOF
113615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113616 _ACEOF
113619 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113625 for ac_func in __signbit
113627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113628 echo "$as_me:$LINENO: checking for $ac_func" >&5
113629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113630 if eval "test \"\${$as_ac_var+set}\" = set"; then
113631 echo $ECHO_N "(cached) $ECHO_C" >&6
113633 if test x$gcc_no_link = xyes; then
113634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113636 { (exit 1); exit 1; }; }
113638 cat >conftest.$ac_ext <<_ACEOF
113639 /* confdefs.h. */
113640 _ACEOF
113641 cat confdefs.h >>conftest.$ac_ext
113642 cat >>conftest.$ac_ext <<_ACEOF
113643 /* end confdefs.h. */
113644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113646 #define $ac_func innocuous_$ac_func
113648 /* System header to define __stub macros and hopefully few prototypes,
113649 which can conflict with char $ac_func (); below.
113650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113651 <limits.h> exists even on freestanding compilers. */
113653 #ifdef __STDC__
113654 # include <limits.h>
113655 #else
113656 # include <assert.h>
113657 #endif
113659 #undef $ac_func
113661 /* Override any gcc2 internal prototype to avoid an error. */
113662 #ifdef __cplusplus
113663 extern "C"
113665 #endif
113666 /* We use char because int might match the return type of a gcc2
113667 builtin and then its argument prototype would still apply. */
113668 char $ac_func ();
113669 /* The GNU C library defines this for functions which it implements
113670 to always fail with ENOSYS. Some functions are actually named
113671 something starting with __ and the normal name is an alias. */
113672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113673 choke me
113674 #else
113675 char (*f) () = $ac_func;
113676 #endif
113677 #ifdef __cplusplus
113679 #endif
113682 main ()
113684 return f != $ac_func;
113686 return 0;
113688 _ACEOF
113689 rm -f conftest.$ac_objext conftest$ac_exeext
113690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113691 (eval $ac_link) 2>conftest.er1
113692 ac_status=$?
113693 grep -v '^ *+' conftest.er1 >conftest.err
113694 rm -f conftest.er1
113695 cat conftest.err >&5
113696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113697 (exit $ac_status); } &&
113698 { ac_try='test -z "$ac_c_werror_flag"
113699 || test ! -s conftest.err'
113700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113701 (eval $ac_try) 2>&5
113702 ac_status=$?
113703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113704 (exit $ac_status); }; } &&
113705 { ac_try='test -s conftest$ac_exeext'
113706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113707 (eval $ac_try) 2>&5
113708 ac_status=$?
113709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113710 (exit $ac_status); }; }; then
113711 eval "$as_ac_var=yes"
113713 echo "$as_me: failed program was:" >&5
113714 sed 's/^/| /' conftest.$ac_ext >&5
113716 eval "$as_ac_var=no"
113718 rm -f conftest.err conftest.$ac_objext \
113719 conftest$ac_exeext conftest.$ac_ext
113721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113723 if test `eval echo '${'$as_ac_var'}'` = yes; then
113724 cat >>confdefs.h <<_ACEOF
113725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113726 _ACEOF
113729 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113735 for ac_func in __signbitf
113737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113738 echo "$as_me:$LINENO: checking for $ac_func" >&5
113739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113740 if eval "test \"\${$as_ac_var+set}\" = set"; then
113741 echo $ECHO_N "(cached) $ECHO_C" >&6
113743 if test x$gcc_no_link = xyes; then
113744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113746 { (exit 1); exit 1; }; }
113748 cat >conftest.$ac_ext <<_ACEOF
113749 /* confdefs.h. */
113750 _ACEOF
113751 cat confdefs.h >>conftest.$ac_ext
113752 cat >>conftest.$ac_ext <<_ACEOF
113753 /* end confdefs.h. */
113754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113756 #define $ac_func innocuous_$ac_func
113758 /* System header to define __stub macros and hopefully few prototypes,
113759 which can conflict with char $ac_func (); below.
113760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113761 <limits.h> exists even on freestanding compilers. */
113763 #ifdef __STDC__
113764 # include <limits.h>
113765 #else
113766 # include <assert.h>
113767 #endif
113769 #undef $ac_func
113771 /* Override any gcc2 internal prototype to avoid an error. */
113772 #ifdef __cplusplus
113773 extern "C"
113775 #endif
113776 /* We use char because int might match the return type of a gcc2
113777 builtin and then its argument prototype would still apply. */
113778 char $ac_func ();
113779 /* The GNU C library defines this for functions which it implements
113780 to always fail with ENOSYS. Some functions are actually named
113781 something starting with __ and the normal name is an alias. */
113782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113783 choke me
113784 #else
113785 char (*f) () = $ac_func;
113786 #endif
113787 #ifdef __cplusplus
113789 #endif
113792 main ()
113794 return f != $ac_func;
113796 return 0;
113798 _ACEOF
113799 rm -f conftest.$ac_objext conftest$ac_exeext
113800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113801 (eval $ac_link) 2>conftest.er1
113802 ac_status=$?
113803 grep -v '^ *+' conftest.er1 >conftest.err
113804 rm -f conftest.er1
113805 cat conftest.err >&5
113806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113807 (exit $ac_status); } &&
113808 { ac_try='test -z "$ac_c_werror_flag"
113809 || test ! -s conftest.err'
113810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113811 (eval $ac_try) 2>&5
113812 ac_status=$?
113813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113814 (exit $ac_status); }; } &&
113815 { ac_try='test -s conftest$ac_exeext'
113816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113817 (eval $ac_try) 2>&5
113818 ac_status=$?
113819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113820 (exit $ac_status); }; }; then
113821 eval "$as_ac_var=yes"
113823 echo "$as_me: failed program was:" >&5
113824 sed 's/^/| /' conftest.$ac_ext >&5
113826 eval "$as_ac_var=no"
113828 rm -f conftest.err conftest.$ac_objext \
113829 conftest$ac_exeext conftest.$ac_ext
113831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113833 if test `eval echo '${'$as_ac_var'}'` = yes; then
113834 cat >>confdefs.h <<_ACEOF
113835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113836 _ACEOF
113839 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113844 if test x$ac_cv_func_copysignl = x"yes"; then
113846 for ac_func in __signbitl
113848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113849 echo "$as_me:$LINENO: checking for $ac_func" >&5
113850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113851 if eval "test \"\${$as_ac_var+set}\" = set"; then
113852 echo $ECHO_N "(cached) $ECHO_C" >&6
113854 if test x$gcc_no_link = xyes; then
113855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113857 { (exit 1); exit 1; }; }
113859 cat >conftest.$ac_ext <<_ACEOF
113860 /* confdefs.h. */
113861 _ACEOF
113862 cat confdefs.h >>conftest.$ac_ext
113863 cat >>conftest.$ac_ext <<_ACEOF
113864 /* end confdefs.h. */
113865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113867 #define $ac_func innocuous_$ac_func
113869 /* System header to define __stub macros and hopefully few prototypes,
113870 which can conflict with char $ac_func (); below.
113871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113872 <limits.h> exists even on freestanding compilers. */
113874 #ifdef __STDC__
113875 # include <limits.h>
113876 #else
113877 # include <assert.h>
113878 #endif
113880 #undef $ac_func
113882 /* Override any gcc2 internal prototype to avoid an error. */
113883 #ifdef __cplusplus
113884 extern "C"
113886 #endif
113887 /* We use char because int might match the return type of a gcc2
113888 builtin and then its argument prototype would still apply. */
113889 char $ac_func ();
113890 /* The GNU C library defines this for functions which it implements
113891 to always fail with ENOSYS. Some functions are actually named
113892 something starting with __ and the normal name is an alias. */
113893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113894 choke me
113895 #else
113896 char (*f) () = $ac_func;
113897 #endif
113898 #ifdef __cplusplus
113900 #endif
113903 main ()
113905 return f != $ac_func;
113907 return 0;
113909 _ACEOF
113910 rm -f conftest.$ac_objext conftest$ac_exeext
113911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113912 (eval $ac_link) 2>conftest.er1
113913 ac_status=$?
113914 grep -v '^ *+' conftest.er1 >conftest.err
113915 rm -f conftest.er1
113916 cat conftest.err >&5
113917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113918 (exit $ac_status); } &&
113919 { ac_try='test -z "$ac_c_werror_flag"
113920 || test ! -s conftest.err'
113921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113922 (eval $ac_try) 2>&5
113923 ac_status=$?
113924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113925 (exit $ac_status); }; } &&
113926 { ac_try='test -s conftest$ac_exeext'
113927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113928 (eval $ac_try) 2>&5
113929 ac_status=$?
113930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113931 (exit $ac_status); }; }; then
113932 eval "$as_ac_var=yes"
113934 echo "$as_me: failed program was:" >&5
113935 sed 's/^/| /' conftest.$ac_ext >&5
113937 eval "$as_ac_var=no"
113939 rm -f conftest.err conftest.$ac_objext \
113940 conftest$ac_exeext conftest.$ac_ext
113942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113944 if test `eval echo '${'$as_ac_var'}'` = yes; then
113945 cat >>confdefs.h <<_ACEOF
113946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113947 _ACEOF
113950 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113956 # Used in libmath/Makefile.am.
113957 if test -n "$LIBMATHOBJS"; then
113958 need_libmath=yes
113962 cat >>confdefs.h <<\_ACEOF
113963 #define HAVE_COSF 1
113964 _ACEOF
113966 cat >>confdefs.h <<\_ACEOF
113967 #define HAVE_COSL 1
113968 _ACEOF
113970 cat >>confdefs.h <<\_ACEOF
113971 #define HAVE_COSHF 1
113972 _ACEOF
113974 cat >>confdefs.h <<\_ACEOF
113975 #define HAVE_COSHL 1
113976 _ACEOF
113978 cat >>confdefs.h <<\_ACEOF
113979 #define HAVE_LOGF 1
113980 _ACEOF
113982 cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_LOGL 1
113984 _ACEOF
113986 cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_LOG10F 1
113988 _ACEOF
113990 cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_LOG10L 1
113992 _ACEOF
113994 cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_SINF 1
113996 _ACEOF
113998 cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_SINL 1
114000 _ACEOF
114002 cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_SINHF 1
114004 _ACEOF
114006 cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_SINHL 1
114008 _ACEOF
114011 *-solaris*)
114012 case "$target" in
114013 # *-solaris2.5)
114014 # os_include_dir="os/solaris/solaris2.5"
114016 # *-solaris2.6)
114017 # os_include_dir="os/solaris/solaris2.6"
114019 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114021 # If we're not using GNU ld, then there's no point in even trying these
114022 # tests. Check for that first. We should have already tested for gld
114023 # by now (in libtool), but require it now just to be safe...
114024 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114025 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114029 # The name set by libtool depends on the version of libtool. Shame on us
114030 # for depending on an impl detail, but c'est la vie. Older versions used
114031 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114032 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114033 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114034 # set (hence we're using an older libtool), then set it.
114035 if test x${with_gnu_ld+set} != xset; then
114036 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114037 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114038 with_gnu_ld=no
114040 with_gnu_ld=$ac_cv_prog_gnu_ld
114044 # Start by getting the version number. I think the libtool test already
114045 # does some of this, but throws away the result.
114046 glibcxx_ld_is_gold=no
114047 if test x"$with_gnu_ld" = x"yes"; then
114048 echo "$as_me:$LINENO: checking for ld version" >&5
114049 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114051 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114052 glibcxx_ld_is_gold=yes
114054 ldver=`$LD --version 2>/dev/null | head -1 | \
114055 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114057 glibcxx_gnu_ld_version=`echo $ldver | \
114058 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114059 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114060 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114063 # Set --gc-sections.
114064 glibcxx_have_gc_sections=no
114065 if test "$glibcxx_ld_is_gold" = "yes"; then
114066 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114067 glibcxx_have_gc_sections=yes
114070 glibcxx_gcsections_min_ld=21602
114071 if test x"$with_gnu_ld" = x"yes" &&
114072 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114073 glibcxx_have_gc_sections=yes
114076 if test "$glibcxx_have_gc_sections" = "yes"; then
114077 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114078 # NB: This flag only works reliably after 2.16.1. Configure tests
114079 # for this are difficult, so hard wire a value that should work.
114081 ac_test_CFLAGS="${CFLAGS+set}"
114082 ac_save_CFLAGS="$CFLAGS"
114083 CFLAGS='-Wl,--gc-sections'
114085 # Check for -Wl,--gc-sections
114086 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114087 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114088 if test x$gcc_no_link = xyes; then
114089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114091 { (exit 1); exit 1; }; }
114093 cat >conftest.$ac_ext <<_ACEOF
114094 /* confdefs.h. */
114095 _ACEOF
114096 cat confdefs.h >>conftest.$ac_ext
114097 cat >>conftest.$ac_ext <<_ACEOF
114098 /* end confdefs.h. */
114099 int one(void) { return 1; }
114100 int two(void) { return 2; }
114103 main ()
114105 two();
114107 return 0;
114109 _ACEOF
114110 rm -f conftest.$ac_objext conftest$ac_exeext
114111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114112 (eval $ac_link) 2>conftest.er1
114113 ac_status=$?
114114 grep -v '^ *+' conftest.er1 >conftest.err
114115 rm -f conftest.er1
114116 cat conftest.err >&5
114117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114118 (exit $ac_status); } &&
114119 { ac_try='test -z "$ac_c_werror_flag"
114120 || test ! -s conftest.err'
114121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114122 (eval $ac_try) 2>&5
114123 ac_status=$?
114124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114125 (exit $ac_status); }; } &&
114126 { ac_try='test -s conftest$ac_exeext'
114127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114128 (eval $ac_try) 2>&5
114129 ac_status=$?
114130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114131 (exit $ac_status); }; }; then
114132 ac_gcsections=yes
114134 echo "$as_me: failed program was:" >&5
114135 sed 's/^/| /' conftest.$ac_ext >&5
114137 ac_gcsections=no
114139 rm -f conftest.err conftest.$ac_objext \
114140 conftest$ac_exeext conftest.$ac_ext
114141 if test "$ac_gcsections" = "yes"; then
114142 rm -f conftest.c
114143 touch conftest.c
114144 if $CC -c conftest.c; then
114145 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114146 grep "Warning: gc-sections option ignored" > /dev/null; then
114147 ac_gcsections=no
114150 rm -f conftest.c conftest.o conftest
114152 if test "$ac_gcsections" = "yes"; then
114153 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114155 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114156 echo "${ECHO_T}$ac_gcsections" >&6
114158 if test "$ac_test_CFLAGS" = set; then
114159 CFLAGS="$ac_save_CFLAGS"
114161 # this is the suspicious part
114162 CFLAGS=''
114166 # Set -z,relro.
114167 # Note this is only for shared objects.
114168 ac_ld_relro=no
114169 if test x"$with_gnu_ld" = x"yes"; then
114170 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114171 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114172 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114173 if test -n "$cxx_z_relo"; then
114174 OPT_LDFLAGS="-Wl,-z,relro"
114175 ac_ld_relro=yes
114177 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114178 echo "${ECHO_T}$ac_ld_relro" >&6
114181 # Set linker optimization flags.
114182 if test x"$with_gnu_ld" = x"yes"; then
114183 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114189 cat >>confdefs.h <<\_ACEOF
114190 #define HAVE_GETPAGESIZE 1
114191 _ACEOF
114193 cat >>confdefs.h <<\_ACEOF
114194 #define HAVE_SIGSETJMP 1
114195 _ACEOF
114197 cat >>confdefs.h <<\_ACEOF
114198 #define HAVE_MBSTATE_T 1
114199 _ACEOF
114201 cat >>confdefs.h <<\_ACEOF
114202 #define HAVE_POLL 1
114203 _ACEOF
114205 cat >>confdefs.h <<\_ACEOF
114206 #define HAVE_S_ISREG 1
114207 _ACEOF
114209 cat >>confdefs.h <<\_ACEOF
114210 #define HAVE_LC_MESSAGES 1
114211 _ACEOF
114213 cat >>confdefs.h <<\_ACEOF
114214 #define HAVE_FINITE 1
114215 _ACEOF
114217 cat >>confdefs.h <<\_ACEOF
114218 #define HAVE_FPCLASS 1
114219 _ACEOF
114221 cat >>confdefs.h <<\_ACEOF
114222 #define HAVE_GETPAGESIZE 1
114223 _ACEOF
114225 # All of the dependencies for wide character support are here, so
114226 # turn it on.
114227 cat >>confdefs.h <<\_ACEOF
114228 #define _GLIBCXX_USE_WCHAR_T 1
114229 _ACEOF
114231 # Are these tested for even when cross?
114232 cat >>confdefs.h <<\_ACEOF
114233 #define HAVE_FLOAT_H 1
114234 _ACEOF
114236 cat >>confdefs.h <<\_ACEOF
114237 #define HAVE_IEEEFP_H 1
114238 _ACEOF
114240 cat >>confdefs.h <<\_ACEOF
114241 #define HAVE_INTTYPES_H 1
114242 _ACEOF
114244 cat >>confdefs.h <<\_ACEOF
114245 #define HAVE_LOCALE_H 1
114246 _ACEOF
114248 cat >>confdefs.h <<\_ACEOF
114249 #define HAVE_NAN_H 1
114250 _ACEOF
114252 cat >>confdefs.h <<\_ACEOF
114253 #define HAVE_SYS_FILIO_H 1
114254 _ACEOF
114256 cat >>confdefs.h <<\_ACEOF
114257 #define HAVE_SYS_IOCTL_H 1
114258 _ACEOF
114260 cat >>confdefs.h <<\_ACEOF
114261 #define HAVE_SYS_ISA_DEFS_H 1
114262 _ACEOF
114264 cat >>confdefs.h <<\_ACEOF
114265 #define HAVE_SYS_RESOURCE_H 1
114266 _ACEOF
114268 cat >>confdefs.h <<\_ACEOF
114269 #define HAVE_SYS_TIME_H 1
114270 _ACEOF
114272 cat >>confdefs.h <<\_ACEOF
114273 #define HAVE_SYS_TYPES_H 1
114274 _ACEOF
114276 cat >>confdefs.h <<\_ACEOF
114277 #define HAVE_UNISTD_H 1
114278 _ACEOF
114280 cat >>confdefs.h <<\_ACEOF
114281 #define HAVE_WCHAR_H 1
114282 _ACEOF
114284 cat >>confdefs.h <<\_ACEOF
114285 #define HAVE_WCTYPE_H 1
114286 _ACEOF
114288 cat >>confdefs.h <<\_ACEOF
114289 #define HAVE_LIBM 1
114290 _ACEOF
114294 case "$target" in
114295 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114296 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114297 cat >>confdefs.h <<\_ACEOF
114298 #define HAVE___BUILTIN_ABS 1
114299 _ACEOF
114301 cat >>confdefs.h <<\_ACEOF
114302 #define HAVE___BUILTIN_LABS 1
114303 _ACEOF
114305 cat >>confdefs.h <<\_ACEOF
114306 #define HAVE___BUILTIN_FABS 1
114307 _ACEOF
114309 cat >>confdefs.h <<\_ACEOF
114310 #define HAVE___BUILTIN_FABSF 1
114311 _ACEOF
114313 cat >>confdefs.h <<\_ACEOF
114314 #define HAVE___BUILTIN_FABSL 1
114315 _ACEOF
114317 cat >>confdefs.h <<\_ACEOF
114318 #define HAVE___BUILTIN_COS 1
114319 _ACEOF
114321 cat >>confdefs.h <<\_ACEOF
114322 #define HAVE___BUILTIN_COSF 1
114323 _ACEOF
114325 cat >>confdefs.h <<\_ACEOF
114326 #define HAVE___BUILTIN_SIN 1
114327 _ACEOF
114329 cat >>confdefs.h <<\_ACEOF
114330 #define HAVE___BUILTIN_SINF 1
114331 _ACEOF
114335 case "$target" in
114336 *-*-solaris2.10)
114337 # These two C99 functions are present only in Solaris >= 10
114338 cat >>confdefs.h <<\_ACEOF
114339 #define HAVE_STRTOF 1
114340 _ACEOF
114342 cat >>confdefs.h <<\_ACEOF
114343 #define HAVE_STRTOLD 1
114344 _ACEOF
114348 cat >>confdefs.h <<\_ACEOF
114349 #define HAVE_MMAP 1
114350 _ACEOF
114352 cat >>confdefs.h <<\_ACEOF
114353 #define HAVE_COPYSIGN 1
114354 _ACEOF
114356 cat >>confdefs.h <<\_ACEOF
114357 #define HAVE_ISNAN 1
114358 _ACEOF
114360 cat >>confdefs.h <<\_ACEOF
114361 #define HAVE_ISNANF 1
114362 _ACEOF
114364 cat >>confdefs.h <<\_ACEOF
114365 #define HAVE_MODFF 1
114366 _ACEOF
114368 cat >>confdefs.h <<\_ACEOF
114369 #define HAVE_HYPOT 1
114370 _ACEOF
114373 *-tpf)
114382 for ac_header in nan.h endian.h machine/endian.h \
114383 sys/param.h sys/types.h locale.h float.h inttypes.h
114385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114387 echo "$as_me:$LINENO: checking for $ac_header" >&5
114388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114390 echo $ECHO_N "(cached) $ECHO_C" >&6
114392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114395 # Is the header compilable?
114396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114398 cat >conftest.$ac_ext <<_ACEOF
114399 /* confdefs.h. */
114400 _ACEOF
114401 cat confdefs.h >>conftest.$ac_ext
114402 cat >>conftest.$ac_ext <<_ACEOF
114403 /* end confdefs.h. */
114404 $ac_includes_default
114405 #include <$ac_header>
114406 _ACEOF
114407 rm -f conftest.$ac_objext
114408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114409 (eval $ac_compile) 2>conftest.er1
114410 ac_status=$?
114411 grep -v '^ *+' conftest.er1 >conftest.err
114412 rm -f conftest.er1
114413 cat conftest.err >&5
114414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114415 (exit $ac_status); } &&
114416 { ac_try='test -z "$ac_c_werror_flag"
114417 || test ! -s conftest.err'
114418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114419 (eval $ac_try) 2>&5
114420 ac_status=$?
114421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114422 (exit $ac_status); }; } &&
114423 { ac_try='test -s conftest.$ac_objext'
114424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114425 (eval $ac_try) 2>&5
114426 ac_status=$?
114427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114428 (exit $ac_status); }; }; then
114429 ac_header_compiler=yes
114431 echo "$as_me: failed program was:" >&5
114432 sed 's/^/| /' conftest.$ac_ext >&5
114434 ac_header_compiler=no
114436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114438 echo "${ECHO_T}$ac_header_compiler" >&6
114440 # Is the header present?
114441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114443 cat >conftest.$ac_ext <<_ACEOF
114444 /* confdefs.h. */
114445 _ACEOF
114446 cat confdefs.h >>conftest.$ac_ext
114447 cat >>conftest.$ac_ext <<_ACEOF
114448 /* end confdefs.h. */
114449 #include <$ac_header>
114450 _ACEOF
114451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114453 ac_status=$?
114454 grep -v '^ *+' conftest.er1 >conftest.err
114455 rm -f conftest.er1
114456 cat conftest.err >&5
114457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114458 (exit $ac_status); } >/dev/null; then
114459 if test -s conftest.err; then
114460 ac_cpp_err=$ac_c_preproc_warn_flag
114461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114463 ac_cpp_err=
114466 ac_cpp_err=yes
114468 if test -z "$ac_cpp_err"; then
114469 ac_header_preproc=yes
114471 echo "$as_me: failed program was:" >&5
114472 sed 's/^/| /' conftest.$ac_ext >&5
114474 ac_header_preproc=no
114476 rm -f conftest.err conftest.$ac_ext
114477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114478 echo "${ECHO_T}$ac_header_preproc" >&6
114480 # So? What about this header?
114481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114482 yes:no: )
114483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114487 ac_header_preproc=yes
114489 no:yes:* )
114490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114503 cat <<\_ASBOX
114504 ## ----------------------------------------- ##
114505 ## Report this to the package-unused lists. ##
114506 ## ----------------------------------------- ##
114507 _ASBOX
114509 sed "s/^/$as_me: WARNING: /" >&2
114512 echo "$as_me:$LINENO: checking for $ac_header" >&5
114513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114515 echo $ECHO_N "(cached) $ECHO_C" >&6
114517 eval "$as_ac_Header=\$ac_header_preproc"
114519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114524 cat >>confdefs.h <<_ACEOF
114525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114526 _ACEOF
114532 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114535 # If we're not using GNU ld, then there's no point in even trying these
114536 # tests. Check for that first. We should have already tested for gld
114537 # by now (in libtool), but require it now just to be safe...
114538 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114539 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114543 # The name set by libtool depends on the version of libtool. Shame on us
114544 # for depending on an impl detail, but c'est la vie. Older versions used
114545 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114546 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114547 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114548 # set (hence we're using an older libtool), then set it.
114549 if test x${with_gnu_ld+set} != xset; then
114550 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114551 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114552 with_gnu_ld=no
114554 with_gnu_ld=$ac_cv_prog_gnu_ld
114558 # Start by getting the version number. I think the libtool test already
114559 # does some of this, but throws away the result.
114560 glibcxx_ld_is_gold=no
114561 if test x"$with_gnu_ld" = x"yes"; then
114562 echo "$as_me:$LINENO: checking for ld version" >&5
114563 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114565 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114566 glibcxx_ld_is_gold=yes
114568 ldver=`$LD --version 2>/dev/null | head -1 | \
114569 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114571 glibcxx_gnu_ld_version=`echo $ldver | \
114572 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114573 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114574 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114577 # Set --gc-sections.
114578 glibcxx_have_gc_sections=no
114579 if test "$glibcxx_ld_is_gold" = "yes"; then
114580 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114581 glibcxx_have_gc_sections=yes
114584 glibcxx_gcsections_min_ld=21602
114585 if test x"$with_gnu_ld" = x"yes" &&
114586 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114587 glibcxx_have_gc_sections=yes
114590 if test "$glibcxx_have_gc_sections" = "yes"; then
114591 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114592 # NB: This flag only works reliably after 2.16.1. Configure tests
114593 # for this are difficult, so hard wire a value that should work.
114595 ac_test_CFLAGS="${CFLAGS+set}"
114596 ac_save_CFLAGS="$CFLAGS"
114597 CFLAGS='-Wl,--gc-sections'
114599 # Check for -Wl,--gc-sections
114600 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114601 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114602 if test x$gcc_no_link = xyes; then
114603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114605 { (exit 1); exit 1; }; }
114607 cat >conftest.$ac_ext <<_ACEOF
114608 /* confdefs.h. */
114609 _ACEOF
114610 cat confdefs.h >>conftest.$ac_ext
114611 cat >>conftest.$ac_ext <<_ACEOF
114612 /* end confdefs.h. */
114613 int one(void) { return 1; }
114614 int two(void) { return 2; }
114617 main ()
114619 two();
114621 return 0;
114623 _ACEOF
114624 rm -f conftest.$ac_objext conftest$ac_exeext
114625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114626 (eval $ac_link) 2>conftest.er1
114627 ac_status=$?
114628 grep -v '^ *+' conftest.er1 >conftest.err
114629 rm -f conftest.er1
114630 cat conftest.err >&5
114631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114632 (exit $ac_status); } &&
114633 { ac_try='test -z "$ac_c_werror_flag"
114634 || test ! -s conftest.err'
114635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114636 (eval $ac_try) 2>&5
114637 ac_status=$?
114638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114639 (exit $ac_status); }; } &&
114640 { ac_try='test -s conftest$ac_exeext'
114641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114642 (eval $ac_try) 2>&5
114643 ac_status=$?
114644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114645 (exit $ac_status); }; }; then
114646 ac_gcsections=yes
114648 echo "$as_me: failed program was:" >&5
114649 sed 's/^/| /' conftest.$ac_ext >&5
114651 ac_gcsections=no
114653 rm -f conftest.err conftest.$ac_objext \
114654 conftest$ac_exeext conftest.$ac_ext
114655 if test "$ac_gcsections" = "yes"; then
114656 rm -f conftest.c
114657 touch conftest.c
114658 if $CC -c conftest.c; then
114659 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114660 grep "Warning: gc-sections option ignored" > /dev/null; then
114661 ac_gcsections=no
114664 rm -f conftest.c conftest.o conftest
114666 if test "$ac_gcsections" = "yes"; then
114667 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114669 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114670 echo "${ECHO_T}$ac_gcsections" >&6
114672 if test "$ac_test_CFLAGS" = set; then
114673 CFLAGS="$ac_save_CFLAGS"
114675 # this is the suspicious part
114676 CFLAGS=''
114680 # Set -z,relro.
114681 # Note this is only for shared objects.
114682 ac_ld_relro=no
114683 if test x"$with_gnu_ld" = x"yes"; then
114684 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114685 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114686 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114687 if test -n "$cxx_z_relo"; then
114688 OPT_LDFLAGS="-Wl,-z,relro"
114689 ac_ld_relro=yes
114691 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114692 echo "${ECHO_T}$ac_ld_relro" >&6
114695 # Set linker optimization flags.
114696 if test x"$with_gnu_ld" = x"yes"; then
114697 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114705 echo "$as_me:$LINENO: checking for main in -lm" >&5
114706 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114707 if test "${ac_cv_lib_m_main+set}" = set; then
114708 echo $ECHO_N "(cached) $ECHO_C" >&6
114710 ac_check_lib_save_LIBS=$LIBS
114711 LIBS="-lm $LIBS"
114712 if test x$gcc_no_link = xyes; then
114713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114715 { (exit 1); exit 1; }; }
114717 cat >conftest.$ac_ext <<_ACEOF
114718 /* confdefs.h. */
114719 _ACEOF
114720 cat confdefs.h >>conftest.$ac_ext
114721 cat >>conftest.$ac_ext <<_ACEOF
114722 /* end confdefs.h. */
114726 main ()
114728 main ();
114730 return 0;
114732 _ACEOF
114733 rm -f conftest.$ac_objext conftest$ac_exeext
114734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114735 (eval $ac_link) 2>conftest.er1
114736 ac_status=$?
114737 grep -v '^ *+' conftest.er1 >conftest.err
114738 rm -f conftest.er1
114739 cat conftest.err >&5
114740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114741 (exit $ac_status); } &&
114742 { ac_try='test -z "$ac_c_werror_flag"
114743 || test ! -s conftest.err'
114744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114745 (eval $ac_try) 2>&5
114746 ac_status=$?
114747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114748 (exit $ac_status); }; } &&
114749 { ac_try='test -s conftest$ac_exeext'
114750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114751 (eval $ac_try) 2>&5
114752 ac_status=$?
114753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114754 (exit $ac_status); }; }; then
114755 ac_cv_lib_m_main=yes
114757 echo "$as_me: failed program was:" >&5
114758 sed 's/^/| /' conftest.$ac_ext >&5
114760 ac_cv_lib_m_main=no
114762 rm -f conftest.err conftest.$ac_objext \
114763 conftest$ac_exeext conftest.$ac_ext
114764 LIBS=$ac_check_lib_save_LIBS
114766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114767 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114768 if test $ac_cv_lib_m_main = yes; then
114769 cat >>confdefs.h <<_ACEOF
114770 #define HAVE_LIBM 1
114771 _ACEOF
114773 LIBS="-lm $LIBS"
114778 for ac_func in copysignf
114780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114781 echo "$as_me:$LINENO: checking for $ac_func" >&5
114782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114783 if eval "test \"\${$as_ac_var+set}\" = set"; then
114784 echo $ECHO_N "(cached) $ECHO_C" >&6
114786 if test x$gcc_no_link = xyes; then
114787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114789 { (exit 1); exit 1; }; }
114791 cat >conftest.$ac_ext <<_ACEOF
114792 /* confdefs.h. */
114793 _ACEOF
114794 cat confdefs.h >>conftest.$ac_ext
114795 cat >>conftest.$ac_ext <<_ACEOF
114796 /* end confdefs.h. */
114797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114799 #define $ac_func innocuous_$ac_func
114801 /* System header to define __stub macros and hopefully few prototypes,
114802 which can conflict with char $ac_func (); below.
114803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114804 <limits.h> exists even on freestanding compilers. */
114806 #ifdef __STDC__
114807 # include <limits.h>
114808 #else
114809 # include <assert.h>
114810 #endif
114812 #undef $ac_func
114814 /* Override any gcc2 internal prototype to avoid an error. */
114815 #ifdef __cplusplus
114816 extern "C"
114818 #endif
114819 /* We use char because int might match the return type of a gcc2
114820 builtin and then its argument prototype would still apply. */
114821 char $ac_func ();
114822 /* The GNU C library defines this for functions which it implements
114823 to always fail with ENOSYS. Some functions are actually named
114824 something starting with __ and the normal name is an alias. */
114825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114826 choke me
114827 #else
114828 char (*f) () = $ac_func;
114829 #endif
114830 #ifdef __cplusplus
114832 #endif
114835 main ()
114837 return f != $ac_func;
114839 return 0;
114841 _ACEOF
114842 rm -f conftest.$ac_objext conftest$ac_exeext
114843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114844 (eval $ac_link) 2>conftest.er1
114845 ac_status=$?
114846 grep -v '^ *+' conftest.er1 >conftest.err
114847 rm -f conftest.er1
114848 cat conftest.err >&5
114849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114850 (exit $ac_status); } &&
114851 { ac_try='test -z "$ac_c_werror_flag"
114852 || test ! -s conftest.err'
114853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114854 (eval $ac_try) 2>&5
114855 ac_status=$?
114856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114857 (exit $ac_status); }; } &&
114858 { ac_try='test -s conftest$ac_exeext'
114859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114860 (eval $ac_try) 2>&5
114861 ac_status=$?
114862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114863 (exit $ac_status); }; }; then
114864 eval "$as_ac_var=yes"
114866 echo "$as_me: failed program was:" >&5
114867 sed 's/^/| /' conftest.$ac_ext >&5
114869 eval "$as_ac_var=no"
114871 rm -f conftest.err conftest.$ac_objext \
114872 conftest$ac_exeext conftest.$ac_ext
114874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114876 if test `eval echo '${'$as_ac_var'}'` = yes; then
114877 cat >>confdefs.h <<_ACEOF
114878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114879 _ACEOF
114882 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114888 for ac_func in __signbit
114890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114891 echo "$as_me:$LINENO: checking for $ac_func" >&5
114892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114893 if eval "test \"\${$as_ac_var+set}\" = set"; then
114894 echo $ECHO_N "(cached) $ECHO_C" >&6
114896 if test x$gcc_no_link = xyes; then
114897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114899 { (exit 1); exit 1; }; }
114901 cat >conftest.$ac_ext <<_ACEOF
114902 /* confdefs.h. */
114903 _ACEOF
114904 cat confdefs.h >>conftest.$ac_ext
114905 cat >>conftest.$ac_ext <<_ACEOF
114906 /* end confdefs.h. */
114907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114909 #define $ac_func innocuous_$ac_func
114911 /* System header to define __stub macros and hopefully few prototypes,
114912 which can conflict with char $ac_func (); below.
114913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114914 <limits.h> exists even on freestanding compilers. */
114916 #ifdef __STDC__
114917 # include <limits.h>
114918 #else
114919 # include <assert.h>
114920 #endif
114922 #undef $ac_func
114924 /* Override any gcc2 internal prototype to avoid an error. */
114925 #ifdef __cplusplus
114926 extern "C"
114928 #endif
114929 /* We use char because int might match the return type of a gcc2
114930 builtin and then its argument prototype would still apply. */
114931 char $ac_func ();
114932 /* The GNU C library defines this for functions which it implements
114933 to always fail with ENOSYS. Some functions are actually named
114934 something starting with __ and the normal name is an alias. */
114935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114936 choke me
114937 #else
114938 char (*f) () = $ac_func;
114939 #endif
114940 #ifdef __cplusplus
114942 #endif
114945 main ()
114947 return f != $ac_func;
114949 return 0;
114951 _ACEOF
114952 rm -f conftest.$ac_objext conftest$ac_exeext
114953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114954 (eval $ac_link) 2>conftest.er1
114955 ac_status=$?
114956 grep -v '^ *+' conftest.er1 >conftest.err
114957 rm -f conftest.er1
114958 cat conftest.err >&5
114959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114960 (exit $ac_status); } &&
114961 { ac_try='test -z "$ac_c_werror_flag"
114962 || test ! -s conftest.err'
114963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114964 (eval $ac_try) 2>&5
114965 ac_status=$?
114966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114967 (exit $ac_status); }; } &&
114968 { ac_try='test -s conftest$ac_exeext'
114969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114970 (eval $ac_try) 2>&5
114971 ac_status=$?
114972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114973 (exit $ac_status); }; }; then
114974 eval "$as_ac_var=yes"
114976 echo "$as_me: failed program was:" >&5
114977 sed 's/^/| /' conftest.$ac_ext >&5
114979 eval "$as_ac_var=no"
114981 rm -f conftest.err conftest.$ac_objext \
114982 conftest$ac_exeext conftest.$ac_ext
114984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114986 if test `eval echo '${'$as_ac_var'}'` = yes; then
114987 cat >>confdefs.h <<_ACEOF
114988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114989 _ACEOF
114992 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114998 for ac_func in __signbitf
115000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115001 echo "$as_me:$LINENO: checking for $ac_func" >&5
115002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115003 if eval "test \"\${$as_ac_var+set}\" = set"; then
115004 echo $ECHO_N "(cached) $ECHO_C" >&6
115006 if test x$gcc_no_link = xyes; then
115007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115009 { (exit 1); exit 1; }; }
115011 cat >conftest.$ac_ext <<_ACEOF
115012 /* confdefs.h. */
115013 _ACEOF
115014 cat confdefs.h >>conftest.$ac_ext
115015 cat >>conftest.$ac_ext <<_ACEOF
115016 /* end confdefs.h. */
115017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115019 #define $ac_func innocuous_$ac_func
115021 /* System header to define __stub macros and hopefully few prototypes,
115022 which can conflict with char $ac_func (); below.
115023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115024 <limits.h> exists even on freestanding compilers. */
115026 #ifdef __STDC__
115027 # include <limits.h>
115028 #else
115029 # include <assert.h>
115030 #endif
115032 #undef $ac_func
115034 /* Override any gcc2 internal prototype to avoid an error. */
115035 #ifdef __cplusplus
115036 extern "C"
115038 #endif
115039 /* We use char because int might match the return type of a gcc2
115040 builtin and then its argument prototype would still apply. */
115041 char $ac_func ();
115042 /* The GNU C library defines this for functions which it implements
115043 to always fail with ENOSYS. Some functions are actually named
115044 something starting with __ and the normal name is an alias. */
115045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115046 choke me
115047 #else
115048 char (*f) () = $ac_func;
115049 #endif
115050 #ifdef __cplusplus
115052 #endif
115055 main ()
115057 return f != $ac_func;
115059 return 0;
115061 _ACEOF
115062 rm -f conftest.$ac_objext conftest$ac_exeext
115063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115064 (eval $ac_link) 2>conftest.er1
115065 ac_status=$?
115066 grep -v '^ *+' conftest.er1 >conftest.err
115067 rm -f conftest.er1
115068 cat conftest.err >&5
115069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115070 (exit $ac_status); } &&
115071 { ac_try='test -z "$ac_c_werror_flag"
115072 || test ! -s conftest.err'
115073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115074 (eval $ac_try) 2>&5
115075 ac_status=$?
115076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115077 (exit $ac_status); }; } &&
115078 { ac_try='test -s conftest$ac_exeext'
115079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115080 (eval $ac_try) 2>&5
115081 ac_status=$?
115082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115083 (exit $ac_status); }; }; then
115084 eval "$as_ac_var=yes"
115086 echo "$as_me: failed program was:" >&5
115087 sed 's/^/| /' conftest.$ac_ext >&5
115089 eval "$as_ac_var=no"
115091 rm -f conftest.err conftest.$ac_objext \
115092 conftest$ac_exeext conftest.$ac_ext
115094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115096 if test `eval echo '${'$as_ac_var'}'` = yes; then
115097 cat >>confdefs.h <<_ACEOF
115098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115099 _ACEOF
115102 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115107 if test x$ac_cv_func_copysignl = x"yes"; then
115109 for ac_func in __signbitl
115111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115112 echo "$as_me:$LINENO: checking for $ac_func" >&5
115113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115114 if eval "test \"\${$as_ac_var+set}\" = set"; then
115115 echo $ECHO_N "(cached) $ECHO_C" >&6
115117 if test x$gcc_no_link = xyes; then
115118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115120 { (exit 1); exit 1; }; }
115122 cat >conftest.$ac_ext <<_ACEOF
115123 /* confdefs.h. */
115124 _ACEOF
115125 cat confdefs.h >>conftest.$ac_ext
115126 cat >>conftest.$ac_ext <<_ACEOF
115127 /* end confdefs.h. */
115128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115130 #define $ac_func innocuous_$ac_func
115132 /* System header to define __stub macros and hopefully few prototypes,
115133 which can conflict with char $ac_func (); below.
115134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115135 <limits.h> exists even on freestanding compilers. */
115137 #ifdef __STDC__
115138 # include <limits.h>
115139 #else
115140 # include <assert.h>
115141 #endif
115143 #undef $ac_func
115145 /* Override any gcc2 internal prototype to avoid an error. */
115146 #ifdef __cplusplus
115147 extern "C"
115149 #endif
115150 /* We use char because int might match the return type of a gcc2
115151 builtin and then its argument prototype would still apply. */
115152 char $ac_func ();
115153 /* The GNU C library defines this for functions which it implements
115154 to always fail with ENOSYS. Some functions are actually named
115155 something starting with __ and the normal name is an alias. */
115156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115157 choke me
115158 #else
115159 char (*f) () = $ac_func;
115160 #endif
115161 #ifdef __cplusplus
115163 #endif
115166 main ()
115168 return f != $ac_func;
115170 return 0;
115172 _ACEOF
115173 rm -f conftest.$ac_objext conftest$ac_exeext
115174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115175 (eval $ac_link) 2>conftest.er1
115176 ac_status=$?
115177 grep -v '^ *+' conftest.er1 >conftest.err
115178 rm -f conftest.er1
115179 cat conftest.err >&5
115180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115181 (exit $ac_status); } &&
115182 { ac_try='test -z "$ac_c_werror_flag"
115183 || test ! -s conftest.err'
115184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115185 (eval $ac_try) 2>&5
115186 ac_status=$?
115187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115188 (exit $ac_status); }; } &&
115189 { ac_try='test -s conftest$ac_exeext'
115190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115191 (eval $ac_try) 2>&5
115192 ac_status=$?
115193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115194 (exit $ac_status); }; }; then
115195 eval "$as_ac_var=yes"
115197 echo "$as_me: failed program was:" >&5
115198 sed 's/^/| /' conftest.$ac_ext >&5
115200 eval "$as_ac_var=no"
115202 rm -f conftest.err conftest.$ac_objext \
115203 conftest$ac_exeext conftest.$ac_ext
115205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115207 if test `eval echo '${'$as_ac_var'}'` = yes; then
115208 cat >>confdefs.h <<_ACEOF
115209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115210 _ACEOF
115213 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115219 # Used in libmath/Makefile.am.
115220 if test -n "$LIBMATHOBJS"; then
115221 need_libmath=yes
115225 cat >>confdefs.h <<\_ACEOF
115226 #define HAVE_COPYSIGN 1
115227 _ACEOF
115229 cat >>confdefs.h <<\_ACEOF
115230 #define HAVE_COPYSIGNF 1
115231 _ACEOF
115233 cat >>confdefs.h <<\_ACEOF
115234 #define HAVE_FINITE 1
115235 _ACEOF
115237 cat >>confdefs.h <<\_ACEOF
115238 #define HAVE_FINITEF 1
115239 _ACEOF
115241 cat >>confdefs.h <<\_ACEOF
115242 #define HAVE_FREXPF 1
115243 _ACEOF
115245 cat >>confdefs.h <<\_ACEOF
115246 #define HAVE_HYPOTF 1
115247 _ACEOF
115249 cat >>confdefs.h <<\_ACEOF
115250 #define HAVE_ISINF 1
115251 _ACEOF
115253 cat >>confdefs.h <<\_ACEOF
115254 #define HAVE_ISINFF 1
115255 _ACEOF
115257 cat >>confdefs.h <<\_ACEOF
115258 #define HAVE_ISNAN 1
115259 _ACEOF
115261 cat >>confdefs.h <<\_ACEOF
115262 #define HAVE_ISNANF 1
115263 _ACEOF
115265 cat >>confdefs.h <<\_ACEOF
115266 #define HAVE_SINCOS 1
115267 _ACEOF
115269 cat >>confdefs.h <<\_ACEOF
115270 #define HAVE_SINCOSF 1
115271 _ACEOF
115273 if test x"long_double_math_on_this_cpu" = x"yes"; then
115274 cat >>confdefs.h <<\_ACEOF
115275 #define HAVE_FINITEL 1
115276 _ACEOF
115278 cat >>confdefs.h <<\_ACEOF
115279 #define HAVE_HYPOTL 1
115280 _ACEOF
115282 cat >>confdefs.h <<\_ACEOF
115283 #define HAVE_ISINFL 1
115284 _ACEOF
115286 cat >>confdefs.h <<\_ACEOF
115287 #define HAVE_ISNANL 1
115288 _ACEOF
115292 *-vxworks)
115293 cat >>confdefs.h <<\_ACEOF
115294 #define HAVE_MMAP 1
115295 _ACEOF
115297 cat >>confdefs.h <<\_ACEOF
115298 #define HAVE_ACOSF 1
115299 _ACEOF
115301 cat >>confdefs.h <<\_ACEOF
115302 #define HAVE_ASINF 1
115303 _ACEOF
115305 cat >>confdefs.h <<\_ACEOF
115306 #define HAVE_ATAN2F 1
115307 _ACEOF
115309 cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_ATANF 1
115311 _ACEOF
115313 cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_CEILF 1
115315 _ACEOF
115317 cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_COSF 1
115319 _ACEOF
115321 cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_COSHF 1
115323 _ACEOF
115325 cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_EXPF 1
115327 _ACEOF
115329 cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_FABSF 1
115331 _ACEOF
115333 cat >>confdefs.h <<\_ACEOF
115334 #define HAVE_FLOORF 1
115335 _ACEOF
115337 cat >>confdefs.h <<\_ACEOF
115338 #define HAVE_FMODF 1
115339 _ACEOF
115341 cat >>confdefs.h <<\_ACEOF
115342 #define HAVE_HYPOT 1
115343 _ACEOF
115345 cat >>confdefs.h <<\_ACEOF
115346 #define HAVE_LOG10F 1
115347 _ACEOF
115349 cat >>confdefs.h <<\_ACEOF
115350 #define HAVE_LOGF 1
115351 _ACEOF
115353 cat >>confdefs.h <<\_ACEOF
115354 #define HAVE_POWF 1
115355 _ACEOF
115357 cat >>confdefs.h <<\_ACEOF
115358 #define HAVE_SINF 1
115359 _ACEOF
115361 cat >>confdefs.h <<\_ACEOF
115362 #define HAVE_SINHF 1
115363 _ACEOF
115365 cat >>confdefs.h <<\_ACEOF
115366 #define HAVE_SQRTF 1
115367 _ACEOF
115369 cat >>confdefs.h <<\_ACEOF
115370 #define HAVE_TANF 1
115371 _ACEOF
115373 cat >>confdefs.h <<\_ACEOF
115374 #define HAVE_TANHF 1
115375 _ACEOF
115378 *-windiss*)
115379 cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_ACOSF 1
115381 _ACEOF
115383 cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_ACOSL 1
115385 _ACEOF
115387 cat >>confdefs.h <<\_ACEOF
115388 #define HAVE_ASINF 1
115389 _ACEOF
115391 cat >>confdefs.h <<\_ACEOF
115392 #define HAVE_ASINL 1
115393 _ACEOF
115395 cat >>confdefs.h <<\_ACEOF
115396 #define HAVE_ATAN2F 1
115397 _ACEOF
115399 cat >>confdefs.h <<\_ACEOF
115400 #define HAVE_ATAN2L 1
115401 _ACEOF
115403 cat >>confdefs.h <<\_ACEOF
115404 #define HAVE_ATANF 1
115405 _ACEOF
115407 cat >>confdefs.h <<\_ACEOF
115408 #define HAVE_ATANL 1
115409 _ACEOF
115411 cat >>confdefs.h <<\_ACEOF
115412 #define HAVE_CEILF 1
115413 _ACEOF
115415 cat >>confdefs.h <<\_ACEOF
115416 #define HAVE_CEILL 1
115417 _ACEOF
115419 cat >>confdefs.h <<\_ACEOF
115420 #define HAVE_COPYSIGN 1
115421 _ACEOF
115423 cat >>confdefs.h <<\_ACEOF
115424 #define HAVE_COPYSIGNF 1
115425 _ACEOF
115427 cat >>confdefs.h <<\_ACEOF
115428 #define HAVE_COSF 1
115429 _ACEOF
115431 cat >>confdefs.h <<\_ACEOF
115432 #define HAVE_COSL 1
115433 _ACEOF
115435 cat >>confdefs.h <<\_ACEOF
115436 #define HAVE_COSHF 1
115437 _ACEOF
115439 cat >>confdefs.h <<\_ACEOF
115440 #define HAVE_COSHL 1
115441 _ACEOF
115443 cat >>confdefs.h <<\_ACEOF
115444 #define HAVE_EXPF 1
115445 _ACEOF
115447 cat >>confdefs.h <<\_ACEOF
115448 #define HAVE_EXPL 1
115449 _ACEOF
115451 cat >>confdefs.h <<\_ACEOF
115452 #define HAVE_FABSF 1
115453 _ACEOF
115455 cat >>confdefs.h <<\_ACEOF
115456 #define HAVE_FABSL 1
115457 _ACEOF
115459 cat >>confdefs.h <<\_ACEOF
115460 #define HAVE_FLOORF 1
115461 _ACEOF
115463 cat >>confdefs.h <<\_ACEOF
115464 #define HAVE_FLOORL 1
115465 _ACEOF
115467 cat >>confdefs.h <<\_ACEOF
115468 #define HAVE_FMODF 1
115469 _ACEOF
115471 cat >>confdefs.h <<\_ACEOF
115472 #define HAVE_FMODL 1
115473 _ACEOF
115475 cat >>confdefs.h <<\_ACEOF
115476 #define HAVE_FREXPF 1
115477 _ACEOF
115479 cat >>confdefs.h <<\_ACEOF
115480 #define HAVE_FREXPL 1
115481 _ACEOF
115483 cat >>confdefs.h <<\_ACEOF
115484 #define HAVE_LDEXPF 1
115485 _ACEOF
115487 cat >>confdefs.h <<\_ACEOF
115488 #define HAVE_LDEXPL 1
115489 _ACEOF
115491 cat >>confdefs.h <<\_ACEOF
115492 #define HAVE_LOG10F 1
115493 _ACEOF
115495 cat >>confdefs.h <<\_ACEOF
115496 #define HAVE_LOG10L 1
115497 _ACEOF
115499 cat >>confdefs.h <<\_ACEOF
115500 #define HAVE_LOGF 1
115501 _ACEOF
115503 cat >>confdefs.h <<\_ACEOF
115504 #define HAVE_MODFF 1
115505 _ACEOF
115507 cat >>confdefs.h <<\_ACEOF
115508 #define HAVE_MODFL 1
115509 _ACEOF
115511 cat >>confdefs.h <<\_ACEOF
115512 #define HAVE_POWF 1
115513 _ACEOF
115515 cat >>confdefs.h <<\_ACEOF
115516 #define HAVE_POWL 1
115517 _ACEOF
115519 cat >>confdefs.h <<\_ACEOF
115520 #define HAVE_SINF 1
115521 _ACEOF
115523 cat >>confdefs.h <<\_ACEOF
115524 #define HAVE_SINL 1
115525 _ACEOF
115527 cat >>confdefs.h <<\_ACEOF
115528 #define HAVE_SINHF 1
115529 _ACEOF
115531 cat >>confdefs.h <<\_ACEOF
115532 #define HAVE_SINHL 1
115533 _ACEOF
115535 cat >>confdefs.h <<\_ACEOF
115536 #define HAVE_SQRTF 1
115537 _ACEOF
115539 cat >>confdefs.h <<\_ACEOF
115540 #define HAVE_SQRTL 1
115541 _ACEOF
115543 cat >>confdefs.h <<\_ACEOF
115544 #define HAVE_TANF 1
115545 _ACEOF
115547 cat >>confdefs.h <<\_ACEOF
115548 #define HAVE_TANL 1
115549 _ACEOF
115551 cat >>confdefs.h <<\_ACEOF
115552 #define HAVE_TANHF 1
115553 _ACEOF
115555 cat >>confdefs.h <<\_ACEOF
115556 #define HAVE_TANHL 1
115557 _ACEOF
115561 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115562 echo "$as_me: error: No support for this host/target combination." >&2;}
115563 { (exit 1); exit 1; }; }
115569 # At some point, we should differentiate between architectures
115570 # like x86, which have long double versions, and alpha/powerpc/etc.,
115571 # which don't. For the time being, punt.
115572 if test x"long_double_math_on_this_cpu" = x"yes"; then
115573 cat >>confdefs.h <<\_ACEOF
115574 #define HAVE_ACOSL 1
115575 _ACEOF
115577 cat >>confdefs.h <<\_ACEOF
115578 #define HAVE_ASINL 1
115579 _ACEOF
115581 cat >>confdefs.h <<\_ACEOF
115582 #define HAVE_ATAN2L 1
115583 _ACEOF
115585 cat >>confdefs.h <<\_ACEOF
115586 #define HAVE_ATANL 1
115587 _ACEOF
115589 cat >>confdefs.h <<\_ACEOF
115590 #define HAVE_CEILL 1
115591 _ACEOF
115593 cat >>confdefs.h <<\_ACEOF
115594 #define HAVE_COPYSIGNL 1
115595 _ACEOF
115597 cat >>confdefs.h <<\_ACEOF
115598 #define HAVE_COSL 1
115599 _ACEOF
115601 cat >>confdefs.h <<\_ACEOF
115602 #define HAVE_COSHL 1
115603 _ACEOF
115605 cat >>confdefs.h <<\_ACEOF
115606 #define HAVE_EXPL 1
115607 _ACEOF
115609 cat >>confdefs.h <<\_ACEOF
115610 #define HAVE_FABSL 1
115611 _ACEOF
115613 cat >>confdefs.h <<\_ACEOF
115614 #define HAVE_FLOORL 1
115615 _ACEOF
115617 cat >>confdefs.h <<\_ACEOF
115618 #define HAVE_FMODL 1
115619 _ACEOF
115621 cat >>confdefs.h <<\_ACEOF
115622 #define HAVE_FREXPL 1
115623 _ACEOF
115625 cat >>confdefs.h <<\_ACEOF
115626 #define HAVE_LDEXPL 1
115627 _ACEOF
115629 cat >>confdefs.h <<\_ACEOF
115630 #define HAVE_LOG10L 1
115631 _ACEOF
115633 cat >>confdefs.h <<\_ACEOF
115634 #define HAVE_LOGL 1
115635 _ACEOF
115637 cat >>confdefs.h <<\_ACEOF
115638 #define HAVE_MODFL 1
115639 _ACEOF
115641 cat >>confdefs.h <<\_ACEOF
115642 #define HAVE_POWL 1
115643 _ACEOF
115645 cat >>confdefs.h <<\_ACEOF
115646 #define HAVE_SINCOSL 1
115647 _ACEOF
115649 cat >>confdefs.h <<\_ACEOF
115650 #define HAVE_SINL 1
115651 _ACEOF
115653 cat >>confdefs.h <<\_ACEOF
115654 #define HAVE_SINHL 1
115655 _ACEOF
115657 cat >>confdefs.h <<\_ACEOF
115658 #define HAVE_SQRTL 1
115659 _ACEOF
115661 cat >>confdefs.h <<\_ACEOF
115662 #define HAVE_TANL 1
115663 _ACEOF
115665 cat >>confdefs.h <<\_ACEOF
115666 #define HAVE_TANHL 1
115667 _ACEOF
115671 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115672 cat >>confdefs.h <<\_ACEOF
115673 #define HAVE_GETIPINFO 1
115674 _ACEOF
115678 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115679 if test "${enable_linux_futex+set}" = set; then
115680 enableval="$enable_linux_futex"
115682 case "$enableval" in
115683 yes|no|default) ;;
115684 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115685 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115686 { (exit 1); exit 1; }; } ;;
115690 enable_linux_futex=default
115693 case "$target" in
115694 *-linux*)
115695 case "$enable_linux_futex" in
115696 default)
115697 # If headers don't have gettid/futex syscalls definition, then
115698 # default to no, otherwise there will be compile time failures.
115699 # Otherwise, default to yes. If we don't detect we are
115700 # compiled/linked against NPTL and not cross-compiling, check
115701 # if programs are run by default against NPTL and if not, issue
115702 # a warning.
115703 enable_linux_futex=no
115704 if test x$gcc_no_link = xyes; then
115705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115707 { (exit 1); exit 1; }; }
115709 cat >conftest.$ac_ext <<_ACEOF
115710 /* confdefs.h. */
115711 _ACEOF
115712 cat confdefs.h >>conftest.$ac_ext
115713 cat >>conftest.$ac_ext <<_ACEOF
115714 /* end confdefs.h. */
115715 #include <sys/syscall.h>
115716 int lk;
115718 main ()
115720 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115722 return 0;
115724 _ACEOF
115725 rm -f conftest.$ac_objext conftest$ac_exeext
115726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115727 (eval $ac_link) 2>conftest.er1
115728 ac_status=$?
115729 grep -v '^ *+' conftest.er1 >conftest.err
115730 rm -f conftest.er1
115731 cat conftest.err >&5
115732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115733 (exit $ac_status); } &&
115734 { ac_try='test -z "$ac_c_werror_flag"
115735 || test ! -s conftest.err'
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); }; } &&
115741 { ac_try='test -s conftest$ac_exeext'
115742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115743 (eval $ac_try) 2>&5
115744 ac_status=$?
115745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115746 (exit $ac_status); }; }; then
115747 save_LIBS="$LIBS"
115748 LIBS="-lpthread $LIBS"
115749 if test x$gcc_no_link = xyes; then
115750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115752 { (exit 1); exit 1; }; }
115754 cat >conftest.$ac_ext <<_ACEOF
115755 /* confdefs.h. */
115756 _ACEOF
115757 cat confdefs.h >>conftest.$ac_ext
115758 cat >>conftest.$ac_ext <<_ACEOF
115759 /* end confdefs.h. */
115760 #ifndef _GNU_SOURCE
115761 #define _GNU_SOURCE 1
115762 #endif
115763 #include <pthread.h>
115764 pthread_t th; void *status;
115766 main ()
115768 pthread_tryjoin_np (th, &status);
115770 return 0;
115772 _ACEOF
115773 rm -f conftest.$ac_objext conftest$ac_exeext
115774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115775 (eval $ac_link) 2>conftest.er1
115776 ac_status=$?
115777 grep -v '^ *+' conftest.er1 >conftest.err
115778 rm -f conftest.er1
115779 cat conftest.err >&5
115780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115781 (exit $ac_status); } &&
115782 { ac_try='test -z "$ac_c_werror_flag"
115783 || test ! -s conftest.err'
115784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115785 (eval $ac_try) 2>&5
115786 ac_status=$?
115787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115788 (exit $ac_status); }; } &&
115789 { ac_try='test -s conftest$ac_exeext'
115790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115791 (eval $ac_try) 2>&5
115792 ac_status=$?
115793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115794 (exit $ac_status); }; }; then
115795 enable_linux_futex=yes
115797 echo "$as_me: failed program was:" >&5
115798 sed 's/^/| /' conftest.$ac_ext >&5
115800 if test x$cross_compiling = xno; then
115801 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115802 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115803 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115804 If so, please configure with --disable-linux-futex" >&5
115805 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115806 If so, please configure with --disable-linux-futex" >&2;}
115809 enable_linux_futex=yes
115811 rm -f conftest.err conftest.$ac_objext \
115812 conftest$ac_exeext conftest.$ac_ext
115813 LIBS="$save_LIBS"
115815 echo "$as_me: failed program was:" >&5
115816 sed 's/^/| /' conftest.$ac_ext >&5
115819 rm -f conftest.err conftest.$ac_objext \
115820 conftest$ac_exeext conftest.$ac_ext
115823 if test x$gcc_no_link = xyes; then
115824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115826 { (exit 1); exit 1; }; }
115828 cat >conftest.$ac_ext <<_ACEOF
115829 /* confdefs.h. */
115830 _ACEOF
115831 cat confdefs.h >>conftest.$ac_ext
115832 cat >>conftest.$ac_ext <<_ACEOF
115833 /* end confdefs.h. */
115834 #include <sys/syscall.h>
115835 int lk;
115837 main ()
115839 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115841 return 0;
115843 _ACEOF
115844 rm -f conftest.$ac_objext conftest$ac_exeext
115845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115846 (eval $ac_link) 2>conftest.er1
115847 ac_status=$?
115848 grep -v '^ *+' conftest.er1 >conftest.err
115849 rm -f conftest.er1
115850 cat conftest.err >&5
115851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115852 (exit $ac_status); } &&
115853 { ac_try='test -z "$ac_c_werror_flag"
115854 || test ! -s conftest.err'
115855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115856 (eval $ac_try) 2>&5
115857 ac_status=$?
115858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115859 (exit $ac_status); }; } &&
115860 { ac_try='test -s conftest$ac_exeext'
115861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115862 (eval $ac_try) 2>&5
115863 ac_status=$?
115864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115865 (exit $ac_status); }; }; then
115868 echo "$as_me: failed program was:" >&5
115869 sed 's/^/| /' conftest.$ac_ext >&5
115871 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115872 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115873 { (exit 1); exit 1; }; }
115875 rm -f conftest.err conftest.$ac_objext \
115876 conftest$ac_exeext conftest.$ac_ext
115881 enable_linux_futex=no
115884 if test x$enable_linux_futex = xyes; then
115886 cat >>confdefs.h <<\_ACEOF
115887 #define HAVE_LINUX_FUTEX 1
115888 _ACEOF
115895 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
115897 acx_cv_header_stdint=stddef.h
115898 acx_cv_header_stdint_kind="(already complete)"
115899 for i in stdint.h $inttype_headers; do
115900 unset ac_cv_type_uintptr_t
115901 unset ac_cv_type_uintmax_t
115902 unset ac_cv_type_int_least32_t
115903 unset ac_cv_type_int_fast32_t
115904 unset ac_cv_type_uint64_t
115905 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
115906 echo "$as_me:$LINENO: checking for uintmax_t" >&5
115907 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
115908 if test "${ac_cv_type_uintmax_t+set}" = set; then
115909 echo $ECHO_N "(cached) $ECHO_C" >&6
115911 cat >conftest.$ac_ext <<_ACEOF
115912 /* confdefs.h. */
115913 _ACEOF
115914 cat confdefs.h >>conftest.$ac_ext
115915 cat >>conftest.$ac_ext <<_ACEOF
115916 /* end confdefs.h. */
115917 #include <sys/types.h>
115918 #include <$i>
115921 main ()
115923 if ((uintmax_t *) 0)
115924 return 0;
115925 if (sizeof (uintmax_t))
115926 return 0;
115928 return 0;
115930 _ACEOF
115931 rm -f conftest.$ac_objext
115932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115933 (eval $ac_compile) 2>conftest.er1
115934 ac_status=$?
115935 grep -v '^ *+' conftest.er1 >conftest.err
115936 rm -f conftest.er1
115937 cat conftest.err >&5
115938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115939 (exit $ac_status); } &&
115940 { ac_try='test -z "$ac_c_werror_flag"
115941 || test ! -s conftest.err'
115942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115943 (eval $ac_try) 2>&5
115944 ac_status=$?
115945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115946 (exit $ac_status); }; } &&
115947 { ac_try='test -s conftest.$ac_objext'
115948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115949 (eval $ac_try) 2>&5
115950 ac_status=$?
115951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115952 (exit $ac_status); }; }; then
115953 ac_cv_type_uintmax_t=yes
115955 echo "$as_me: failed program was:" >&5
115956 sed 's/^/| /' conftest.$ac_ext >&5
115958 ac_cv_type_uintmax_t=no
115960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115962 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
115963 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
115964 if test $ac_cv_type_uintmax_t = yes; then
115965 acx_cv_header_stdint=$i
115967 continue
115970 echo "$as_me:$LINENO: checking for uintptr_t" >&5
115971 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
115972 if test "${ac_cv_type_uintptr_t+set}" = set; then
115973 echo $ECHO_N "(cached) $ECHO_C" >&6
115975 cat >conftest.$ac_ext <<_ACEOF
115976 /* confdefs.h. */
115977 _ACEOF
115978 cat confdefs.h >>conftest.$ac_ext
115979 cat >>conftest.$ac_ext <<_ACEOF
115980 /* end confdefs.h. */
115981 #include <sys/types.h>
115982 #include <$i>
115985 main ()
115987 if ((uintptr_t *) 0)
115988 return 0;
115989 if (sizeof (uintptr_t))
115990 return 0;
115992 return 0;
115994 _ACEOF
115995 rm -f conftest.$ac_objext
115996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115997 (eval $ac_compile) 2>conftest.er1
115998 ac_status=$?
115999 grep -v '^ *+' conftest.er1 >conftest.err
116000 rm -f conftest.er1
116001 cat conftest.err >&5
116002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116003 (exit $ac_status); } &&
116004 { ac_try='test -z "$ac_c_werror_flag"
116005 || test ! -s conftest.err'
116006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116007 (eval $ac_try) 2>&5
116008 ac_status=$?
116009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116010 (exit $ac_status); }; } &&
116011 { ac_try='test -s conftest.$ac_objext'
116012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116013 (eval $ac_try) 2>&5
116014 ac_status=$?
116015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116016 (exit $ac_status); }; }; then
116017 ac_cv_type_uintptr_t=yes
116019 echo "$as_me: failed program was:" >&5
116020 sed 's/^/| /' conftest.$ac_ext >&5
116022 ac_cv_type_uintptr_t=no
116024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116026 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116027 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116028 if test $ac_cv_type_uintptr_t = yes; then
116031 acx_cv_header_stdint_kind="(mostly complete)"
116034 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116035 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116036 if test "${ac_cv_type_int_least32_t+set}" = set; then
116037 echo $ECHO_N "(cached) $ECHO_C" >&6
116039 cat >conftest.$ac_ext <<_ACEOF
116040 /* confdefs.h. */
116041 _ACEOF
116042 cat confdefs.h >>conftest.$ac_ext
116043 cat >>conftest.$ac_ext <<_ACEOF
116044 /* end confdefs.h. */
116045 #include <sys/types.h>
116046 #include <$i>
116049 main ()
116051 if ((int_least32_t *) 0)
116052 return 0;
116053 if (sizeof (int_least32_t))
116054 return 0;
116056 return 0;
116058 _ACEOF
116059 rm -f conftest.$ac_objext
116060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116061 (eval $ac_compile) 2>conftest.er1
116062 ac_status=$?
116063 grep -v '^ *+' conftest.er1 >conftest.err
116064 rm -f conftest.er1
116065 cat conftest.err >&5
116066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116067 (exit $ac_status); } &&
116068 { ac_try='test -z "$ac_c_werror_flag"
116069 || test ! -s conftest.err'
116070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116071 (eval $ac_try) 2>&5
116072 ac_status=$?
116073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116074 (exit $ac_status); }; } &&
116075 { ac_try='test -s conftest.$ac_objext'
116076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116077 (eval $ac_try) 2>&5
116078 ac_status=$?
116079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116080 (exit $ac_status); }; }; then
116081 ac_cv_type_int_least32_t=yes
116083 echo "$as_me: failed program was:" >&5
116084 sed 's/^/| /' conftest.$ac_ext >&5
116086 ac_cv_type_int_least32_t=no
116088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116090 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116091 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116092 if test $ac_cv_type_int_least32_t = yes; then
116095 acx_cv_header_stdint_kind="(mostly complete)"
116098 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116099 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116100 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116101 echo $ECHO_N "(cached) $ECHO_C" >&6
116103 cat >conftest.$ac_ext <<_ACEOF
116104 /* confdefs.h. */
116105 _ACEOF
116106 cat confdefs.h >>conftest.$ac_ext
116107 cat >>conftest.$ac_ext <<_ACEOF
116108 /* end confdefs.h. */
116109 #include <sys/types.h>
116110 #include <$i>
116113 main ()
116115 if ((int_fast32_t *) 0)
116116 return 0;
116117 if (sizeof (int_fast32_t))
116118 return 0;
116120 return 0;
116122 _ACEOF
116123 rm -f conftest.$ac_objext
116124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116125 (eval $ac_compile) 2>conftest.er1
116126 ac_status=$?
116127 grep -v '^ *+' conftest.er1 >conftest.err
116128 rm -f conftest.er1
116129 cat conftest.err >&5
116130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116131 (exit $ac_status); } &&
116132 { ac_try='test -z "$ac_c_werror_flag"
116133 || test ! -s conftest.err'
116134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116135 (eval $ac_try) 2>&5
116136 ac_status=$?
116137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116138 (exit $ac_status); }; } &&
116139 { ac_try='test -s conftest.$ac_objext'
116140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116141 (eval $ac_try) 2>&5
116142 ac_status=$?
116143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116144 (exit $ac_status); }; }; then
116145 ac_cv_type_int_fast32_t=yes
116147 echo "$as_me: failed program was:" >&5
116148 sed 's/^/| /' conftest.$ac_ext >&5
116150 ac_cv_type_int_fast32_t=no
116152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116154 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116155 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116156 if test $ac_cv_type_int_fast32_t = yes; then
116159 acx_cv_header_stdint_kind="(mostly complete)"
116162 echo "$as_me:$LINENO: checking for uint64_t" >&5
116163 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116164 if test "${ac_cv_type_uint64_t+set}" = set; then
116165 echo $ECHO_N "(cached) $ECHO_C" >&6
116167 cat >conftest.$ac_ext <<_ACEOF
116168 /* confdefs.h. */
116169 _ACEOF
116170 cat confdefs.h >>conftest.$ac_ext
116171 cat >>conftest.$ac_ext <<_ACEOF
116172 /* end confdefs.h. */
116173 #include <sys/types.h>
116174 #include <$i>
116177 main ()
116179 if ((uint64_t *) 0)
116180 return 0;
116181 if (sizeof (uint64_t))
116182 return 0;
116184 return 0;
116186 _ACEOF
116187 rm -f conftest.$ac_objext
116188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116189 (eval $ac_compile) 2>conftest.er1
116190 ac_status=$?
116191 grep -v '^ *+' conftest.er1 >conftest.err
116192 rm -f conftest.er1
116193 cat conftest.err >&5
116194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116195 (exit $ac_status); } &&
116196 { ac_try='test -z "$ac_c_werror_flag"
116197 || test ! -s conftest.err'
116198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116199 (eval $ac_try) 2>&5
116200 ac_status=$?
116201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116202 (exit $ac_status); }; } &&
116203 { ac_try='test -s conftest.$ac_objext'
116204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116205 (eval $ac_try) 2>&5
116206 ac_status=$?
116207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116208 (exit $ac_status); }; }; then
116209 ac_cv_type_uint64_t=yes
116211 echo "$as_me: failed program was:" >&5
116212 sed 's/^/| /' conftest.$ac_ext >&5
116214 ac_cv_type_uint64_t=no
116216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116218 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116219 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116220 if test $ac_cv_type_uint64_t = yes; then
116223 acx_cv_header_stdint_kind="(lacks uint64_t)"
116226 break
116228 if test "$acx_cv_header_stdint" = stddef.h; then
116229 acx_cv_header_stdint_kind="(lacks uintmax_t)"
116230 for i in stdint.h $inttype_headers; do
116231 unset ac_cv_type_uintptr_t
116232 unset ac_cv_type_uint32_t
116233 unset ac_cv_type_uint64_t
116234 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116235 echo "$as_me:$LINENO: checking for uint32_t" >&5
116236 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116237 if test "${ac_cv_type_uint32_t+set}" = set; then
116238 echo $ECHO_N "(cached) $ECHO_C" >&6
116240 cat >conftest.$ac_ext <<_ACEOF
116241 /* confdefs.h. */
116242 _ACEOF
116243 cat confdefs.h >>conftest.$ac_ext
116244 cat >>conftest.$ac_ext <<_ACEOF
116245 /* end confdefs.h. */
116246 #include <sys/types.h>
116247 #include <$i>
116250 main ()
116252 if ((uint32_t *) 0)
116253 return 0;
116254 if (sizeof (uint32_t))
116255 return 0;
116257 return 0;
116259 _ACEOF
116260 rm -f conftest.$ac_objext
116261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116262 (eval $ac_compile) 2>conftest.er1
116263 ac_status=$?
116264 grep -v '^ *+' conftest.er1 >conftest.err
116265 rm -f conftest.er1
116266 cat conftest.err >&5
116267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116268 (exit $ac_status); } &&
116269 { ac_try='test -z "$ac_c_werror_flag"
116270 || test ! -s conftest.err'
116271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116272 (eval $ac_try) 2>&5
116273 ac_status=$?
116274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116275 (exit $ac_status); }; } &&
116276 { ac_try='test -s conftest.$ac_objext'
116277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116278 (eval $ac_try) 2>&5
116279 ac_status=$?
116280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116281 (exit $ac_status); }; }; then
116282 ac_cv_type_uint32_t=yes
116284 echo "$as_me: failed program was:" >&5
116285 sed 's/^/| /' conftest.$ac_ext >&5
116287 ac_cv_type_uint32_t=no
116289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116291 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116292 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116293 if test $ac_cv_type_uint32_t = yes; then
116294 acx_cv_header_stdint=$i
116296 continue
116299 echo "$as_me:$LINENO: checking for uint64_t" >&5
116300 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116301 if test "${ac_cv_type_uint64_t+set}" = set; then
116302 echo $ECHO_N "(cached) $ECHO_C" >&6
116304 cat >conftest.$ac_ext <<_ACEOF
116305 /* confdefs.h. */
116306 _ACEOF
116307 cat confdefs.h >>conftest.$ac_ext
116308 cat >>conftest.$ac_ext <<_ACEOF
116309 /* end confdefs.h. */
116310 #include <sys/types.h>
116311 #include <$i>
116314 main ()
116316 if ((uint64_t *) 0)
116317 return 0;
116318 if (sizeof (uint64_t))
116319 return 0;
116321 return 0;
116323 _ACEOF
116324 rm -f conftest.$ac_objext
116325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116326 (eval $ac_compile) 2>conftest.er1
116327 ac_status=$?
116328 grep -v '^ *+' conftest.er1 >conftest.err
116329 rm -f conftest.er1
116330 cat conftest.err >&5
116331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116332 (exit $ac_status); } &&
116333 { ac_try='test -z "$ac_c_werror_flag"
116334 || test ! -s conftest.err'
116335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116336 (eval $ac_try) 2>&5
116337 ac_status=$?
116338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116339 (exit $ac_status); }; } &&
116340 { ac_try='test -s conftest.$ac_objext'
116341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116342 (eval $ac_try) 2>&5
116343 ac_status=$?
116344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116345 (exit $ac_status); }; }; then
116346 ac_cv_type_uint64_t=yes
116348 echo "$as_me: failed program was:" >&5
116349 sed 's/^/| /' conftest.$ac_ext >&5
116351 ac_cv_type_uint64_t=no
116353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116355 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116356 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116358 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116359 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116360 if test "${ac_cv_type_uintptr_t+set}" = set; then
116361 echo $ECHO_N "(cached) $ECHO_C" >&6
116363 cat >conftest.$ac_ext <<_ACEOF
116364 /* confdefs.h. */
116365 _ACEOF
116366 cat confdefs.h >>conftest.$ac_ext
116367 cat >>conftest.$ac_ext <<_ACEOF
116368 /* end confdefs.h. */
116369 #include <sys/types.h>
116370 #include <$i>
116373 main ()
116375 if ((uintptr_t *) 0)
116376 return 0;
116377 if (sizeof (uintptr_t))
116378 return 0;
116380 return 0;
116382 _ACEOF
116383 rm -f conftest.$ac_objext
116384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116385 (eval $ac_compile) 2>conftest.er1
116386 ac_status=$?
116387 grep -v '^ *+' conftest.er1 >conftest.err
116388 rm -f conftest.er1
116389 cat conftest.err >&5
116390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116391 (exit $ac_status); } &&
116392 { ac_try='test -z "$ac_c_werror_flag"
116393 || test ! -s conftest.err'
116394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116395 (eval $ac_try) 2>&5
116396 ac_status=$?
116397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116398 (exit $ac_status); }; } &&
116399 { ac_try='test -s conftest.$ac_objext'
116400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116401 (eval $ac_try) 2>&5
116402 ac_status=$?
116403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116404 (exit $ac_status); }; }; then
116405 ac_cv_type_uintptr_t=yes
116407 echo "$as_me: failed program was:" >&5
116408 sed 's/^/| /' conftest.$ac_ext >&5
116410 ac_cv_type_uintptr_t=no
116412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116414 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116415 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116417 break
116420 if test "$acx_cv_header_stdint" = stddef.h; then
116421 acx_cv_header_stdint_kind="(u_intXX_t style)"
116422 for i in sys/types.h $inttype_headers; do
116423 unset ac_cv_type_u_int32_t
116424 unset ac_cv_type_u_int64_t
116425 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116426 echo "$as_me:$LINENO: checking for u_int32_t" >&5
116427 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116428 if test "${ac_cv_type_u_int32_t+set}" = set; then
116429 echo $ECHO_N "(cached) $ECHO_C" >&6
116431 cat >conftest.$ac_ext <<_ACEOF
116432 /* confdefs.h. */
116433 _ACEOF
116434 cat confdefs.h >>conftest.$ac_ext
116435 cat >>conftest.$ac_ext <<_ACEOF
116436 /* end confdefs.h. */
116437 #include <sys/types.h>
116438 #include <$i>
116441 main ()
116443 if ((u_int32_t *) 0)
116444 return 0;
116445 if (sizeof (u_int32_t))
116446 return 0;
116448 return 0;
116450 _ACEOF
116451 rm -f conftest.$ac_objext
116452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116453 (eval $ac_compile) 2>conftest.er1
116454 ac_status=$?
116455 grep -v '^ *+' conftest.er1 >conftest.err
116456 rm -f conftest.er1
116457 cat conftest.err >&5
116458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116459 (exit $ac_status); } &&
116460 { ac_try='test -z "$ac_c_werror_flag"
116461 || test ! -s conftest.err'
116462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116463 (eval $ac_try) 2>&5
116464 ac_status=$?
116465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116466 (exit $ac_status); }; } &&
116467 { ac_try='test -s conftest.$ac_objext'
116468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116469 (eval $ac_try) 2>&5
116470 ac_status=$?
116471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116472 (exit $ac_status); }; }; then
116473 ac_cv_type_u_int32_t=yes
116475 echo "$as_me: failed program was:" >&5
116476 sed 's/^/| /' conftest.$ac_ext >&5
116478 ac_cv_type_u_int32_t=no
116480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116482 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116483 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116484 if test $ac_cv_type_u_int32_t = yes; then
116485 acx_cv_header_stdint=$i
116487 continue
116490 echo "$as_me:$LINENO: checking for u_int64_t" >&5
116491 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116492 if test "${ac_cv_type_u_int64_t+set}" = set; then
116493 echo $ECHO_N "(cached) $ECHO_C" >&6
116495 cat >conftest.$ac_ext <<_ACEOF
116496 /* confdefs.h. */
116497 _ACEOF
116498 cat confdefs.h >>conftest.$ac_ext
116499 cat >>conftest.$ac_ext <<_ACEOF
116500 /* end confdefs.h. */
116501 #include <sys/types.h>
116502 #include <$i>
116505 main ()
116507 if ((u_int64_t *) 0)
116508 return 0;
116509 if (sizeof (u_int64_t))
116510 return 0;
116512 return 0;
116514 _ACEOF
116515 rm -f conftest.$ac_objext
116516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116517 (eval $ac_compile) 2>conftest.er1
116518 ac_status=$?
116519 grep -v '^ *+' conftest.er1 >conftest.err
116520 rm -f conftest.er1
116521 cat conftest.err >&5
116522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116523 (exit $ac_status); } &&
116524 { ac_try='test -z "$ac_c_werror_flag"
116525 || test ! -s conftest.err'
116526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116527 (eval $ac_try) 2>&5
116528 ac_status=$?
116529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116530 (exit $ac_status); }; } &&
116531 { ac_try='test -s conftest.$ac_objext'
116532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116533 (eval $ac_try) 2>&5
116534 ac_status=$?
116535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116536 (exit $ac_status); }; }; then
116537 ac_cv_type_u_int64_t=yes
116539 echo "$as_me: failed program was:" >&5
116540 sed 's/^/| /' conftest.$ac_ext >&5
116542 ac_cv_type_u_int64_t=no
116544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116546 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116547 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116549 break
116552 if test "$acx_cv_header_stdint" = stddef.h; then
116553 acx_cv_header_stdint_kind="(using manual detection)"
116556 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116557 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116558 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116559 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116560 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116562 # ----------------- Summarize what we found so far
116564 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116565 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116567 case `$as_basename include/gstdint.h ||
116568 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116569 Xinclude/gstdint.h : 'X\(//\)$' \| \
116570 Xinclude/gstdint.h : 'X\(/\)$' \| \
116571 . : '\(.\)' 2>/dev/null ||
116572 echo X/include/gstdint.h |
116573 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116574 /^X\/\(\/\/\)$/{ s//\1/; q; }
116575 /^X\/\(\/\).*/{ s//\1/; q; }
116576 s/.*/./; q'` in
116577 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116578 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116579 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116580 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116581 *) ;;
116584 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116585 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116587 # ----------------- done included file, check C basic types --------
116589 # Lacking an uintptr_t? Test size of void *
116590 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116591 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116592 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116593 if test "${ac_cv_type_void_p+set}" = set; then
116594 echo $ECHO_N "(cached) $ECHO_C" >&6
116596 cat >conftest.$ac_ext <<_ACEOF
116597 /* confdefs.h. */
116598 _ACEOF
116599 cat confdefs.h >>conftest.$ac_ext
116600 cat >>conftest.$ac_ext <<_ACEOF
116601 /* end confdefs.h. */
116602 $ac_includes_default
116604 main ()
116606 if ((void * *) 0)
116607 return 0;
116608 if (sizeof (void *))
116609 return 0;
116611 return 0;
116613 _ACEOF
116614 rm -f conftest.$ac_objext
116615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116616 (eval $ac_compile) 2>conftest.er1
116617 ac_status=$?
116618 grep -v '^ *+' conftest.er1 >conftest.err
116619 rm -f conftest.er1
116620 cat conftest.err >&5
116621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116622 (exit $ac_status); } &&
116623 { ac_try='test -z "$ac_c_werror_flag"
116624 || test ! -s conftest.err'
116625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116626 (eval $ac_try) 2>&5
116627 ac_status=$?
116628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116629 (exit $ac_status); }; } &&
116630 { ac_try='test -s conftest.$ac_objext'
116631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116632 (eval $ac_try) 2>&5
116633 ac_status=$?
116634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116635 (exit $ac_status); }; }; then
116636 ac_cv_type_void_p=yes
116638 echo "$as_me: failed program was:" >&5
116639 sed 's/^/| /' conftest.$ac_ext >&5
116641 ac_cv_type_void_p=no
116643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116645 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116646 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116648 echo "$as_me:$LINENO: checking size of void *" >&5
116649 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116650 if test "${ac_cv_sizeof_void_p+set}" = set; then
116651 echo $ECHO_N "(cached) $ECHO_C" >&6
116653 if test "$ac_cv_type_void_p" = yes; then
116654 # The cast to unsigned long works around a bug in the HP C Compiler
116655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116657 # This bug is HP SR number 8606223364.
116658 if test "$cross_compiling" = yes; then
116659 # Depending upon the size, compute the lo and hi bounds.
116660 cat >conftest.$ac_ext <<_ACEOF
116661 /* confdefs.h. */
116662 _ACEOF
116663 cat confdefs.h >>conftest.$ac_ext
116664 cat >>conftest.$ac_ext <<_ACEOF
116665 /* end confdefs.h. */
116666 $ac_includes_default
116668 main ()
116670 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116671 test_array [0] = 0
116674 return 0;
116676 _ACEOF
116677 rm -f conftest.$ac_objext
116678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116679 (eval $ac_compile) 2>conftest.er1
116680 ac_status=$?
116681 grep -v '^ *+' conftest.er1 >conftest.err
116682 rm -f conftest.er1
116683 cat conftest.err >&5
116684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116685 (exit $ac_status); } &&
116686 { ac_try='test -z "$ac_c_werror_flag"
116687 || test ! -s conftest.err'
116688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116689 (eval $ac_try) 2>&5
116690 ac_status=$?
116691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116692 (exit $ac_status); }; } &&
116693 { ac_try='test -s conftest.$ac_objext'
116694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116695 (eval $ac_try) 2>&5
116696 ac_status=$?
116697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116698 (exit $ac_status); }; }; then
116699 ac_lo=0 ac_mid=0
116700 while :; do
116701 cat >conftest.$ac_ext <<_ACEOF
116702 /* confdefs.h. */
116703 _ACEOF
116704 cat confdefs.h >>conftest.$ac_ext
116705 cat >>conftest.$ac_ext <<_ACEOF
116706 /* end confdefs.h. */
116707 $ac_includes_default
116709 main ()
116711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116712 test_array [0] = 0
116715 return 0;
116717 _ACEOF
116718 rm -f conftest.$ac_objext
116719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116720 (eval $ac_compile) 2>conftest.er1
116721 ac_status=$?
116722 grep -v '^ *+' conftest.er1 >conftest.err
116723 rm -f conftest.er1
116724 cat conftest.err >&5
116725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116726 (exit $ac_status); } &&
116727 { ac_try='test -z "$ac_c_werror_flag"
116728 || test ! -s conftest.err'
116729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116730 (eval $ac_try) 2>&5
116731 ac_status=$?
116732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116733 (exit $ac_status); }; } &&
116734 { ac_try='test -s conftest.$ac_objext'
116735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116736 (eval $ac_try) 2>&5
116737 ac_status=$?
116738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116739 (exit $ac_status); }; }; then
116740 ac_hi=$ac_mid; break
116742 echo "$as_me: failed program was:" >&5
116743 sed 's/^/| /' conftest.$ac_ext >&5
116745 ac_lo=`expr $ac_mid + 1`
116746 if test $ac_lo -le $ac_mid; then
116747 ac_lo= ac_hi=
116748 break
116750 ac_mid=`expr 2 '*' $ac_mid + 1`
116752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116755 echo "$as_me: failed program was:" >&5
116756 sed 's/^/| /' conftest.$ac_ext >&5
116758 cat >conftest.$ac_ext <<_ACEOF
116759 /* confdefs.h. */
116760 _ACEOF
116761 cat confdefs.h >>conftest.$ac_ext
116762 cat >>conftest.$ac_ext <<_ACEOF
116763 /* end confdefs.h. */
116764 $ac_includes_default
116766 main ()
116768 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
116769 test_array [0] = 0
116772 return 0;
116774 _ACEOF
116775 rm -f conftest.$ac_objext
116776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116777 (eval $ac_compile) 2>conftest.er1
116778 ac_status=$?
116779 grep -v '^ *+' conftest.er1 >conftest.err
116780 rm -f conftest.er1
116781 cat conftest.err >&5
116782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116783 (exit $ac_status); } &&
116784 { ac_try='test -z "$ac_c_werror_flag"
116785 || test ! -s conftest.err'
116786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116787 (eval $ac_try) 2>&5
116788 ac_status=$?
116789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116790 (exit $ac_status); }; } &&
116791 { ac_try='test -s conftest.$ac_objext'
116792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116793 (eval $ac_try) 2>&5
116794 ac_status=$?
116795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116796 (exit $ac_status); }; }; then
116797 ac_hi=-1 ac_mid=-1
116798 while :; do
116799 cat >conftest.$ac_ext <<_ACEOF
116800 /* confdefs.h. */
116801 _ACEOF
116802 cat confdefs.h >>conftest.$ac_ext
116803 cat >>conftest.$ac_ext <<_ACEOF
116804 /* end confdefs.h. */
116805 $ac_includes_default
116807 main ()
116809 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
116810 test_array [0] = 0
116813 return 0;
116815 _ACEOF
116816 rm -f conftest.$ac_objext
116817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116818 (eval $ac_compile) 2>conftest.er1
116819 ac_status=$?
116820 grep -v '^ *+' conftest.er1 >conftest.err
116821 rm -f conftest.er1
116822 cat conftest.err >&5
116823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116824 (exit $ac_status); } &&
116825 { ac_try='test -z "$ac_c_werror_flag"
116826 || test ! -s conftest.err'
116827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116828 (eval $ac_try) 2>&5
116829 ac_status=$?
116830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116831 (exit $ac_status); }; } &&
116832 { ac_try='test -s conftest.$ac_objext'
116833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116834 (eval $ac_try) 2>&5
116835 ac_status=$?
116836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116837 (exit $ac_status); }; }; then
116838 ac_lo=$ac_mid; break
116840 echo "$as_me: failed program was:" >&5
116841 sed 's/^/| /' conftest.$ac_ext >&5
116843 ac_hi=`expr '(' $ac_mid ')' - 1`
116844 if test $ac_mid -le $ac_hi; then
116845 ac_lo= ac_hi=
116846 break
116848 ac_mid=`expr 2 '*' $ac_mid`
116850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116853 echo "$as_me: failed program was:" >&5
116854 sed 's/^/| /' conftest.$ac_ext >&5
116856 ac_lo= ac_hi=
116858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116861 # Binary search between lo and hi bounds.
116862 while test "x$ac_lo" != "x$ac_hi"; do
116863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116864 cat >conftest.$ac_ext <<_ACEOF
116865 /* confdefs.h. */
116866 _ACEOF
116867 cat confdefs.h >>conftest.$ac_ext
116868 cat >>conftest.$ac_ext <<_ACEOF
116869 /* end confdefs.h. */
116870 $ac_includes_default
116872 main ()
116874 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116875 test_array [0] = 0
116878 return 0;
116880 _ACEOF
116881 rm -f conftest.$ac_objext
116882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116883 (eval $ac_compile) 2>conftest.er1
116884 ac_status=$?
116885 grep -v '^ *+' conftest.er1 >conftest.err
116886 rm -f conftest.er1
116887 cat conftest.err >&5
116888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116889 (exit $ac_status); } &&
116890 { ac_try='test -z "$ac_c_werror_flag"
116891 || test ! -s conftest.err'
116892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116893 (eval $ac_try) 2>&5
116894 ac_status=$?
116895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116896 (exit $ac_status); }; } &&
116897 { ac_try='test -s conftest.$ac_objext'
116898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116899 (eval $ac_try) 2>&5
116900 ac_status=$?
116901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116902 (exit $ac_status); }; }; then
116903 ac_hi=$ac_mid
116905 echo "$as_me: failed program was:" >&5
116906 sed 's/^/| /' conftest.$ac_ext >&5
116908 ac_lo=`expr '(' $ac_mid ')' + 1`
116910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116912 case $ac_lo in
116913 ?*) ac_cv_sizeof_void_p=$ac_lo;;
116914 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116915 See \`config.log' for more details." >&5
116916 echo "$as_me: error: cannot compute sizeof (void *), 77
116917 See \`config.log' for more details." >&2;}
116918 { (exit 1); exit 1; }; } ;;
116921 if test "$cross_compiling" = yes; then
116922 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116923 See \`config.log' for more details." >&5
116924 echo "$as_me: error: cannot run test program while cross compiling
116925 See \`config.log' for more details." >&2;}
116926 { (exit 1); exit 1; }; }
116928 cat >conftest.$ac_ext <<_ACEOF
116929 /* confdefs.h. */
116930 _ACEOF
116931 cat confdefs.h >>conftest.$ac_ext
116932 cat >>conftest.$ac_ext <<_ACEOF
116933 /* end confdefs.h. */
116934 $ac_includes_default
116935 long longval () { return (long) (sizeof (void *)); }
116936 unsigned long ulongval () { return (long) (sizeof (void *)); }
116937 #include <stdio.h>
116938 #include <stdlib.h>
116940 main ()
116943 FILE *f = fopen ("conftest.val", "w");
116944 if (! f)
116945 exit (1);
116946 if (((long) (sizeof (void *))) < 0)
116948 long i = longval ();
116949 if (i != ((long) (sizeof (void *))))
116950 exit (1);
116951 fprintf (f, "%ld\n", i);
116955 unsigned long i = ulongval ();
116956 if (i != ((long) (sizeof (void *))))
116957 exit (1);
116958 fprintf (f, "%lu\n", i);
116960 exit (ferror (f) || fclose (f) != 0);
116963 return 0;
116965 _ACEOF
116966 rm -f conftest$ac_exeext
116967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116968 (eval $ac_link) 2>&5
116969 ac_status=$?
116970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116973 (eval $ac_try) 2>&5
116974 ac_status=$?
116975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116976 (exit $ac_status); }; }; then
116977 ac_cv_sizeof_void_p=`cat conftest.val`
116979 echo "$as_me: program exited with status $ac_status" >&5
116980 echo "$as_me: failed program was:" >&5
116981 sed 's/^/| /' conftest.$ac_ext >&5
116983 ( exit $ac_status )
116984 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116985 See \`config.log' for more details." >&5
116986 echo "$as_me: error: cannot compute sizeof (void *), 77
116987 See \`config.log' for more details." >&2;}
116988 { (exit 1); exit 1; }; }
116990 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116993 rm -f conftest.val
116995 ac_cv_sizeof_void_p=0
116998 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
116999 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
117000 cat >>confdefs.h <<_ACEOF
117001 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
117002 _ACEOF
117007 # Lacking an uint64_t? Test size of long
117008 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
117009 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
117010 echo $ECHO_N "checking for long... $ECHO_C" >&6
117011 if test "${ac_cv_type_long+set}" = set; then
117012 echo $ECHO_N "(cached) $ECHO_C" >&6
117014 cat >conftest.$ac_ext <<_ACEOF
117015 /* confdefs.h. */
117016 _ACEOF
117017 cat confdefs.h >>conftest.$ac_ext
117018 cat >>conftest.$ac_ext <<_ACEOF
117019 /* end confdefs.h. */
117020 $ac_includes_default
117022 main ()
117024 if ((long *) 0)
117025 return 0;
117026 if (sizeof (long))
117027 return 0;
117029 return 0;
117031 _ACEOF
117032 rm -f conftest.$ac_objext
117033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117034 (eval $ac_compile) 2>conftest.er1
117035 ac_status=$?
117036 grep -v '^ *+' conftest.er1 >conftest.err
117037 rm -f conftest.er1
117038 cat conftest.err >&5
117039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117040 (exit $ac_status); } &&
117041 { ac_try='test -z "$ac_c_werror_flag"
117042 || test ! -s conftest.err'
117043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117044 (eval $ac_try) 2>&5
117045 ac_status=$?
117046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117047 (exit $ac_status); }; } &&
117048 { ac_try='test -s conftest.$ac_objext'
117049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117050 (eval $ac_try) 2>&5
117051 ac_status=$?
117052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117053 (exit $ac_status); }; }; then
117054 ac_cv_type_long=yes
117056 echo "$as_me: failed program was:" >&5
117057 sed 's/^/| /' conftest.$ac_ext >&5
117059 ac_cv_type_long=no
117061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117063 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117064 echo "${ECHO_T}$ac_cv_type_long" >&6
117066 echo "$as_me:$LINENO: checking size of long" >&5
117067 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117068 if test "${ac_cv_sizeof_long+set}" = set; then
117069 echo $ECHO_N "(cached) $ECHO_C" >&6
117071 if test "$ac_cv_type_long" = yes; then
117072 # The cast to unsigned long works around a bug in the HP C Compiler
117073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117075 # This bug is HP SR number 8606223364.
117076 if test "$cross_compiling" = yes; then
117077 # Depending upon the size, compute the lo and hi bounds.
117078 cat >conftest.$ac_ext <<_ACEOF
117079 /* confdefs.h. */
117080 _ACEOF
117081 cat confdefs.h >>conftest.$ac_ext
117082 cat >>conftest.$ac_ext <<_ACEOF
117083 /* end confdefs.h. */
117084 $ac_includes_default
117086 main ()
117088 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117089 test_array [0] = 0
117092 return 0;
117094 _ACEOF
117095 rm -f conftest.$ac_objext
117096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117097 (eval $ac_compile) 2>conftest.er1
117098 ac_status=$?
117099 grep -v '^ *+' conftest.er1 >conftest.err
117100 rm -f conftest.er1
117101 cat conftest.err >&5
117102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117103 (exit $ac_status); } &&
117104 { ac_try='test -z "$ac_c_werror_flag"
117105 || test ! -s conftest.err'
117106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117107 (eval $ac_try) 2>&5
117108 ac_status=$?
117109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117110 (exit $ac_status); }; } &&
117111 { ac_try='test -s conftest.$ac_objext'
117112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117113 (eval $ac_try) 2>&5
117114 ac_status=$?
117115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117116 (exit $ac_status); }; }; then
117117 ac_lo=0 ac_mid=0
117118 while :; do
117119 cat >conftest.$ac_ext <<_ACEOF
117120 /* confdefs.h. */
117121 _ACEOF
117122 cat confdefs.h >>conftest.$ac_ext
117123 cat >>conftest.$ac_ext <<_ACEOF
117124 /* end confdefs.h. */
117125 $ac_includes_default
117127 main ()
117129 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117130 test_array [0] = 0
117133 return 0;
117135 _ACEOF
117136 rm -f conftest.$ac_objext
117137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117138 (eval $ac_compile) 2>conftest.er1
117139 ac_status=$?
117140 grep -v '^ *+' conftest.er1 >conftest.err
117141 rm -f conftest.er1
117142 cat conftest.err >&5
117143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117144 (exit $ac_status); } &&
117145 { ac_try='test -z "$ac_c_werror_flag"
117146 || test ! -s conftest.err'
117147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117148 (eval $ac_try) 2>&5
117149 ac_status=$?
117150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117151 (exit $ac_status); }; } &&
117152 { ac_try='test -s conftest.$ac_objext'
117153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117154 (eval $ac_try) 2>&5
117155 ac_status=$?
117156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117157 (exit $ac_status); }; }; then
117158 ac_hi=$ac_mid; break
117160 echo "$as_me: failed program was:" >&5
117161 sed 's/^/| /' conftest.$ac_ext >&5
117163 ac_lo=`expr $ac_mid + 1`
117164 if test $ac_lo -le $ac_mid; then
117165 ac_lo= ac_hi=
117166 break
117168 ac_mid=`expr 2 '*' $ac_mid + 1`
117170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117173 echo "$as_me: failed program was:" >&5
117174 sed 's/^/| /' conftest.$ac_ext >&5
117176 cat >conftest.$ac_ext <<_ACEOF
117177 /* confdefs.h. */
117178 _ACEOF
117179 cat confdefs.h >>conftest.$ac_ext
117180 cat >>conftest.$ac_ext <<_ACEOF
117181 /* end confdefs.h. */
117182 $ac_includes_default
117184 main ()
117186 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117187 test_array [0] = 0
117190 return 0;
117192 _ACEOF
117193 rm -f conftest.$ac_objext
117194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117195 (eval $ac_compile) 2>conftest.er1
117196 ac_status=$?
117197 grep -v '^ *+' conftest.er1 >conftest.err
117198 rm -f conftest.er1
117199 cat conftest.err >&5
117200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117201 (exit $ac_status); } &&
117202 { ac_try='test -z "$ac_c_werror_flag"
117203 || test ! -s conftest.err'
117204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117205 (eval $ac_try) 2>&5
117206 ac_status=$?
117207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117208 (exit $ac_status); }; } &&
117209 { ac_try='test -s conftest.$ac_objext'
117210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117211 (eval $ac_try) 2>&5
117212 ac_status=$?
117213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117214 (exit $ac_status); }; }; then
117215 ac_hi=-1 ac_mid=-1
117216 while :; do
117217 cat >conftest.$ac_ext <<_ACEOF
117218 /* confdefs.h. */
117219 _ACEOF
117220 cat confdefs.h >>conftest.$ac_ext
117221 cat >>conftest.$ac_ext <<_ACEOF
117222 /* end confdefs.h. */
117223 $ac_includes_default
117225 main ()
117227 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117228 test_array [0] = 0
117231 return 0;
117233 _ACEOF
117234 rm -f conftest.$ac_objext
117235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117236 (eval $ac_compile) 2>conftest.er1
117237 ac_status=$?
117238 grep -v '^ *+' conftest.er1 >conftest.err
117239 rm -f conftest.er1
117240 cat conftest.err >&5
117241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117242 (exit $ac_status); } &&
117243 { ac_try='test -z "$ac_c_werror_flag"
117244 || test ! -s conftest.err'
117245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117246 (eval $ac_try) 2>&5
117247 ac_status=$?
117248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117249 (exit $ac_status); }; } &&
117250 { ac_try='test -s conftest.$ac_objext'
117251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117252 (eval $ac_try) 2>&5
117253 ac_status=$?
117254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117255 (exit $ac_status); }; }; then
117256 ac_lo=$ac_mid; break
117258 echo "$as_me: failed program was:" >&5
117259 sed 's/^/| /' conftest.$ac_ext >&5
117261 ac_hi=`expr '(' $ac_mid ')' - 1`
117262 if test $ac_mid -le $ac_hi; then
117263 ac_lo= ac_hi=
117264 break
117266 ac_mid=`expr 2 '*' $ac_mid`
117268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117271 echo "$as_me: failed program was:" >&5
117272 sed 's/^/| /' conftest.$ac_ext >&5
117274 ac_lo= ac_hi=
117276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117279 # Binary search between lo and hi bounds.
117280 while test "x$ac_lo" != "x$ac_hi"; do
117281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117282 cat >conftest.$ac_ext <<_ACEOF
117283 /* confdefs.h. */
117284 _ACEOF
117285 cat confdefs.h >>conftest.$ac_ext
117286 cat >>conftest.$ac_ext <<_ACEOF
117287 /* end confdefs.h. */
117288 $ac_includes_default
117290 main ()
117292 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117293 test_array [0] = 0
117296 return 0;
117298 _ACEOF
117299 rm -f conftest.$ac_objext
117300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117301 (eval $ac_compile) 2>conftest.er1
117302 ac_status=$?
117303 grep -v '^ *+' conftest.er1 >conftest.err
117304 rm -f conftest.er1
117305 cat conftest.err >&5
117306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117307 (exit $ac_status); } &&
117308 { ac_try='test -z "$ac_c_werror_flag"
117309 || test ! -s conftest.err'
117310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117311 (eval $ac_try) 2>&5
117312 ac_status=$?
117313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117314 (exit $ac_status); }; } &&
117315 { ac_try='test -s conftest.$ac_objext'
117316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117317 (eval $ac_try) 2>&5
117318 ac_status=$?
117319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117320 (exit $ac_status); }; }; then
117321 ac_hi=$ac_mid
117323 echo "$as_me: failed program was:" >&5
117324 sed 's/^/| /' conftest.$ac_ext >&5
117326 ac_lo=`expr '(' $ac_mid ')' + 1`
117328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117330 case $ac_lo in
117331 ?*) ac_cv_sizeof_long=$ac_lo;;
117332 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117333 See \`config.log' for more details." >&5
117334 echo "$as_me: error: cannot compute sizeof (long), 77
117335 See \`config.log' for more details." >&2;}
117336 { (exit 1); exit 1; }; } ;;
117339 if test "$cross_compiling" = yes; then
117340 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117341 See \`config.log' for more details." >&5
117342 echo "$as_me: error: cannot run test program while cross compiling
117343 See \`config.log' for more details." >&2;}
117344 { (exit 1); exit 1; }; }
117346 cat >conftest.$ac_ext <<_ACEOF
117347 /* confdefs.h. */
117348 _ACEOF
117349 cat confdefs.h >>conftest.$ac_ext
117350 cat >>conftest.$ac_ext <<_ACEOF
117351 /* end confdefs.h. */
117352 $ac_includes_default
117353 long longval () { return (long) (sizeof (long)); }
117354 unsigned long ulongval () { return (long) (sizeof (long)); }
117355 #include <stdio.h>
117356 #include <stdlib.h>
117358 main ()
117361 FILE *f = fopen ("conftest.val", "w");
117362 if (! f)
117363 exit (1);
117364 if (((long) (sizeof (long))) < 0)
117366 long i = longval ();
117367 if (i != ((long) (sizeof (long))))
117368 exit (1);
117369 fprintf (f, "%ld\n", i);
117373 unsigned long i = ulongval ();
117374 if (i != ((long) (sizeof (long))))
117375 exit (1);
117376 fprintf (f, "%lu\n", i);
117378 exit (ferror (f) || fclose (f) != 0);
117381 return 0;
117383 _ACEOF
117384 rm -f conftest$ac_exeext
117385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117386 (eval $ac_link) 2>&5
117387 ac_status=$?
117388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117389 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117391 (eval $ac_try) 2>&5
117392 ac_status=$?
117393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117394 (exit $ac_status); }; }; then
117395 ac_cv_sizeof_long=`cat conftest.val`
117397 echo "$as_me: program exited with status $ac_status" >&5
117398 echo "$as_me: failed program was:" >&5
117399 sed 's/^/| /' conftest.$ac_ext >&5
117401 ( exit $ac_status )
117402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117403 See \`config.log' for more details." >&5
117404 echo "$as_me: error: cannot compute sizeof (long), 77
117405 See \`config.log' for more details." >&2;}
117406 { (exit 1); exit 1; }; }
117408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117411 rm -f conftest.val
117413 ac_cv_sizeof_long=0
117416 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117417 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117418 cat >>confdefs.h <<_ACEOF
117419 #define SIZEOF_LONG $ac_cv_sizeof_long
117420 _ACEOF
117425 if test $acx_cv_header_stdint = stddef.h; then
117426 # Lacking a good header? Test size of everything and deduce all types.
117427 echo "$as_me:$LINENO: checking for int" >&5
117428 echo $ECHO_N "checking for int... $ECHO_C" >&6
117429 if test "${ac_cv_type_int+set}" = set; then
117430 echo $ECHO_N "(cached) $ECHO_C" >&6
117432 cat >conftest.$ac_ext <<_ACEOF
117433 /* confdefs.h. */
117434 _ACEOF
117435 cat confdefs.h >>conftest.$ac_ext
117436 cat >>conftest.$ac_ext <<_ACEOF
117437 /* end confdefs.h. */
117438 $ac_includes_default
117440 main ()
117442 if ((int *) 0)
117443 return 0;
117444 if (sizeof (int))
117445 return 0;
117447 return 0;
117449 _ACEOF
117450 rm -f conftest.$ac_objext
117451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117452 (eval $ac_compile) 2>conftest.er1
117453 ac_status=$?
117454 grep -v '^ *+' conftest.er1 >conftest.err
117455 rm -f conftest.er1
117456 cat conftest.err >&5
117457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117458 (exit $ac_status); } &&
117459 { ac_try='test -z "$ac_c_werror_flag"
117460 || test ! -s conftest.err'
117461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117462 (eval $ac_try) 2>&5
117463 ac_status=$?
117464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117465 (exit $ac_status); }; } &&
117466 { ac_try='test -s conftest.$ac_objext'
117467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117468 (eval $ac_try) 2>&5
117469 ac_status=$?
117470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117471 (exit $ac_status); }; }; then
117472 ac_cv_type_int=yes
117474 echo "$as_me: failed program was:" >&5
117475 sed 's/^/| /' conftest.$ac_ext >&5
117477 ac_cv_type_int=no
117479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117481 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117482 echo "${ECHO_T}$ac_cv_type_int" >&6
117484 echo "$as_me:$LINENO: checking size of int" >&5
117485 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117486 if test "${ac_cv_sizeof_int+set}" = set; then
117487 echo $ECHO_N "(cached) $ECHO_C" >&6
117489 if test "$ac_cv_type_int" = yes; then
117490 # The cast to unsigned long works around a bug in the HP C Compiler
117491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117493 # This bug is HP SR number 8606223364.
117494 if test "$cross_compiling" = yes; then
117495 # Depending upon the size, compute the lo and hi bounds.
117496 cat >conftest.$ac_ext <<_ACEOF
117497 /* confdefs.h. */
117498 _ACEOF
117499 cat confdefs.h >>conftest.$ac_ext
117500 cat >>conftest.$ac_ext <<_ACEOF
117501 /* end confdefs.h. */
117502 $ac_includes_default
117504 main ()
117506 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117507 test_array [0] = 0
117510 return 0;
117512 _ACEOF
117513 rm -f conftest.$ac_objext
117514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117515 (eval $ac_compile) 2>conftest.er1
117516 ac_status=$?
117517 grep -v '^ *+' conftest.er1 >conftest.err
117518 rm -f conftest.er1
117519 cat conftest.err >&5
117520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117521 (exit $ac_status); } &&
117522 { ac_try='test -z "$ac_c_werror_flag"
117523 || test ! -s conftest.err'
117524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117525 (eval $ac_try) 2>&5
117526 ac_status=$?
117527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117528 (exit $ac_status); }; } &&
117529 { ac_try='test -s conftest.$ac_objext'
117530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117531 (eval $ac_try) 2>&5
117532 ac_status=$?
117533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117534 (exit $ac_status); }; }; then
117535 ac_lo=0 ac_mid=0
117536 while :; do
117537 cat >conftest.$ac_ext <<_ACEOF
117538 /* confdefs.h. */
117539 _ACEOF
117540 cat confdefs.h >>conftest.$ac_ext
117541 cat >>conftest.$ac_ext <<_ACEOF
117542 /* end confdefs.h. */
117543 $ac_includes_default
117545 main ()
117547 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117548 test_array [0] = 0
117551 return 0;
117553 _ACEOF
117554 rm -f conftest.$ac_objext
117555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117556 (eval $ac_compile) 2>conftest.er1
117557 ac_status=$?
117558 grep -v '^ *+' conftest.er1 >conftest.err
117559 rm -f conftest.er1
117560 cat conftest.err >&5
117561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117562 (exit $ac_status); } &&
117563 { ac_try='test -z "$ac_c_werror_flag"
117564 || test ! -s conftest.err'
117565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117566 (eval $ac_try) 2>&5
117567 ac_status=$?
117568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117569 (exit $ac_status); }; } &&
117570 { ac_try='test -s conftest.$ac_objext'
117571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117572 (eval $ac_try) 2>&5
117573 ac_status=$?
117574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117575 (exit $ac_status); }; }; then
117576 ac_hi=$ac_mid; break
117578 echo "$as_me: failed program was:" >&5
117579 sed 's/^/| /' conftest.$ac_ext >&5
117581 ac_lo=`expr $ac_mid + 1`
117582 if test $ac_lo -le $ac_mid; then
117583 ac_lo= ac_hi=
117584 break
117586 ac_mid=`expr 2 '*' $ac_mid + 1`
117588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117591 echo "$as_me: failed program was:" >&5
117592 sed 's/^/| /' conftest.$ac_ext >&5
117594 cat >conftest.$ac_ext <<_ACEOF
117595 /* confdefs.h. */
117596 _ACEOF
117597 cat confdefs.h >>conftest.$ac_ext
117598 cat >>conftest.$ac_ext <<_ACEOF
117599 /* end confdefs.h. */
117600 $ac_includes_default
117602 main ()
117604 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117605 test_array [0] = 0
117608 return 0;
117610 _ACEOF
117611 rm -f conftest.$ac_objext
117612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117613 (eval $ac_compile) 2>conftest.er1
117614 ac_status=$?
117615 grep -v '^ *+' conftest.er1 >conftest.err
117616 rm -f conftest.er1
117617 cat conftest.err >&5
117618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117619 (exit $ac_status); } &&
117620 { ac_try='test -z "$ac_c_werror_flag"
117621 || test ! -s conftest.err'
117622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117623 (eval $ac_try) 2>&5
117624 ac_status=$?
117625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117626 (exit $ac_status); }; } &&
117627 { ac_try='test -s conftest.$ac_objext'
117628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117629 (eval $ac_try) 2>&5
117630 ac_status=$?
117631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117632 (exit $ac_status); }; }; then
117633 ac_hi=-1 ac_mid=-1
117634 while :; do
117635 cat >conftest.$ac_ext <<_ACEOF
117636 /* confdefs.h. */
117637 _ACEOF
117638 cat confdefs.h >>conftest.$ac_ext
117639 cat >>conftest.$ac_ext <<_ACEOF
117640 /* end confdefs.h. */
117641 $ac_includes_default
117643 main ()
117645 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117646 test_array [0] = 0
117649 return 0;
117651 _ACEOF
117652 rm -f conftest.$ac_objext
117653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117654 (eval $ac_compile) 2>conftest.er1
117655 ac_status=$?
117656 grep -v '^ *+' conftest.er1 >conftest.err
117657 rm -f conftest.er1
117658 cat conftest.err >&5
117659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117660 (exit $ac_status); } &&
117661 { ac_try='test -z "$ac_c_werror_flag"
117662 || test ! -s conftest.err'
117663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117664 (eval $ac_try) 2>&5
117665 ac_status=$?
117666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117667 (exit $ac_status); }; } &&
117668 { ac_try='test -s conftest.$ac_objext'
117669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117670 (eval $ac_try) 2>&5
117671 ac_status=$?
117672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117673 (exit $ac_status); }; }; then
117674 ac_lo=$ac_mid; break
117676 echo "$as_me: failed program was:" >&5
117677 sed 's/^/| /' conftest.$ac_ext >&5
117679 ac_hi=`expr '(' $ac_mid ')' - 1`
117680 if test $ac_mid -le $ac_hi; then
117681 ac_lo= ac_hi=
117682 break
117684 ac_mid=`expr 2 '*' $ac_mid`
117686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117689 echo "$as_me: failed program was:" >&5
117690 sed 's/^/| /' conftest.$ac_ext >&5
117692 ac_lo= ac_hi=
117694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117697 # Binary search between lo and hi bounds.
117698 while test "x$ac_lo" != "x$ac_hi"; do
117699 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117700 cat >conftest.$ac_ext <<_ACEOF
117701 /* confdefs.h. */
117702 _ACEOF
117703 cat confdefs.h >>conftest.$ac_ext
117704 cat >>conftest.$ac_ext <<_ACEOF
117705 /* end confdefs.h. */
117706 $ac_includes_default
117708 main ()
117710 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117711 test_array [0] = 0
117714 return 0;
117716 _ACEOF
117717 rm -f conftest.$ac_objext
117718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117719 (eval $ac_compile) 2>conftest.er1
117720 ac_status=$?
117721 grep -v '^ *+' conftest.er1 >conftest.err
117722 rm -f conftest.er1
117723 cat conftest.err >&5
117724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117725 (exit $ac_status); } &&
117726 { ac_try='test -z "$ac_c_werror_flag"
117727 || test ! -s conftest.err'
117728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117729 (eval $ac_try) 2>&5
117730 ac_status=$?
117731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117732 (exit $ac_status); }; } &&
117733 { ac_try='test -s conftest.$ac_objext'
117734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117735 (eval $ac_try) 2>&5
117736 ac_status=$?
117737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117738 (exit $ac_status); }; }; then
117739 ac_hi=$ac_mid
117741 echo "$as_me: failed program was:" >&5
117742 sed 's/^/| /' conftest.$ac_ext >&5
117744 ac_lo=`expr '(' $ac_mid ')' + 1`
117746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117748 case $ac_lo in
117749 ?*) ac_cv_sizeof_int=$ac_lo;;
117750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117751 See \`config.log' for more details." >&5
117752 echo "$as_me: error: cannot compute sizeof (int), 77
117753 See \`config.log' for more details." >&2;}
117754 { (exit 1); exit 1; }; } ;;
117757 if test "$cross_compiling" = yes; then
117758 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117759 See \`config.log' for more details." >&5
117760 echo "$as_me: error: cannot run test program while cross compiling
117761 See \`config.log' for more details." >&2;}
117762 { (exit 1); exit 1; }; }
117764 cat >conftest.$ac_ext <<_ACEOF
117765 /* confdefs.h. */
117766 _ACEOF
117767 cat confdefs.h >>conftest.$ac_ext
117768 cat >>conftest.$ac_ext <<_ACEOF
117769 /* end confdefs.h. */
117770 $ac_includes_default
117771 long longval () { return (long) (sizeof (int)); }
117772 unsigned long ulongval () { return (long) (sizeof (int)); }
117773 #include <stdio.h>
117774 #include <stdlib.h>
117776 main ()
117779 FILE *f = fopen ("conftest.val", "w");
117780 if (! f)
117781 exit (1);
117782 if (((long) (sizeof (int))) < 0)
117784 long i = longval ();
117785 if (i != ((long) (sizeof (int))))
117786 exit (1);
117787 fprintf (f, "%ld\n", i);
117791 unsigned long i = ulongval ();
117792 if (i != ((long) (sizeof (int))))
117793 exit (1);
117794 fprintf (f, "%lu\n", i);
117796 exit (ferror (f) || fclose (f) != 0);
117799 return 0;
117801 _ACEOF
117802 rm -f conftest$ac_exeext
117803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117804 (eval $ac_link) 2>&5
117805 ac_status=$?
117806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117809 (eval $ac_try) 2>&5
117810 ac_status=$?
117811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117812 (exit $ac_status); }; }; then
117813 ac_cv_sizeof_int=`cat conftest.val`
117815 echo "$as_me: program exited with status $ac_status" >&5
117816 echo "$as_me: failed program was:" >&5
117817 sed 's/^/| /' conftest.$ac_ext >&5
117819 ( exit $ac_status )
117820 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117821 See \`config.log' for more details." >&5
117822 echo "$as_me: error: cannot compute sizeof (int), 77
117823 See \`config.log' for more details." >&2;}
117824 { (exit 1); exit 1; }; }
117826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117829 rm -f conftest.val
117831 ac_cv_sizeof_int=0
117834 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
117835 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
117836 cat >>confdefs.h <<_ACEOF
117837 #define SIZEOF_INT $ac_cv_sizeof_int
117838 _ACEOF
117841 echo "$as_me:$LINENO: checking for short" >&5
117842 echo $ECHO_N "checking for short... $ECHO_C" >&6
117843 if test "${ac_cv_type_short+set}" = set; then
117844 echo $ECHO_N "(cached) $ECHO_C" >&6
117846 cat >conftest.$ac_ext <<_ACEOF
117847 /* confdefs.h. */
117848 _ACEOF
117849 cat confdefs.h >>conftest.$ac_ext
117850 cat >>conftest.$ac_ext <<_ACEOF
117851 /* end confdefs.h. */
117852 $ac_includes_default
117854 main ()
117856 if ((short *) 0)
117857 return 0;
117858 if (sizeof (short))
117859 return 0;
117861 return 0;
117863 _ACEOF
117864 rm -f conftest.$ac_objext
117865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117866 (eval $ac_compile) 2>conftest.er1
117867 ac_status=$?
117868 grep -v '^ *+' conftest.er1 >conftest.err
117869 rm -f conftest.er1
117870 cat conftest.err >&5
117871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117872 (exit $ac_status); } &&
117873 { ac_try='test -z "$ac_c_werror_flag"
117874 || test ! -s conftest.err'
117875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117876 (eval $ac_try) 2>&5
117877 ac_status=$?
117878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117879 (exit $ac_status); }; } &&
117880 { ac_try='test -s conftest.$ac_objext'
117881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117882 (eval $ac_try) 2>&5
117883 ac_status=$?
117884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117885 (exit $ac_status); }; }; then
117886 ac_cv_type_short=yes
117888 echo "$as_me: failed program was:" >&5
117889 sed 's/^/| /' conftest.$ac_ext >&5
117891 ac_cv_type_short=no
117893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117895 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
117896 echo "${ECHO_T}$ac_cv_type_short" >&6
117898 echo "$as_me:$LINENO: checking size of short" >&5
117899 echo $ECHO_N "checking size of short... $ECHO_C" >&6
117900 if test "${ac_cv_sizeof_short+set}" = set; then
117901 echo $ECHO_N "(cached) $ECHO_C" >&6
117903 if test "$ac_cv_type_short" = yes; then
117904 # The cast to unsigned long works around a bug in the HP C Compiler
117905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117907 # This bug is HP SR number 8606223364.
117908 if test "$cross_compiling" = yes; then
117909 # Depending upon the size, compute the lo and hi bounds.
117910 cat >conftest.$ac_ext <<_ACEOF
117911 /* confdefs.h. */
117912 _ACEOF
117913 cat confdefs.h >>conftest.$ac_ext
117914 cat >>conftest.$ac_ext <<_ACEOF
117915 /* end confdefs.h. */
117916 $ac_includes_default
117918 main ()
117920 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
117921 test_array [0] = 0
117924 return 0;
117926 _ACEOF
117927 rm -f conftest.$ac_objext
117928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117929 (eval $ac_compile) 2>conftest.er1
117930 ac_status=$?
117931 grep -v '^ *+' conftest.er1 >conftest.err
117932 rm -f conftest.er1
117933 cat conftest.err >&5
117934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117935 (exit $ac_status); } &&
117936 { ac_try='test -z "$ac_c_werror_flag"
117937 || test ! -s conftest.err'
117938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117939 (eval $ac_try) 2>&5
117940 ac_status=$?
117941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117942 (exit $ac_status); }; } &&
117943 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
117949 ac_lo=0 ac_mid=0
117950 while :; do
117951 cat >conftest.$ac_ext <<_ACEOF
117952 /* confdefs.h. */
117953 _ACEOF
117954 cat confdefs.h >>conftest.$ac_ext
117955 cat >>conftest.$ac_ext <<_ACEOF
117956 /* end confdefs.h. */
117957 $ac_includes_default
117959 main ()
117961 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
117962 test_array [0] = 0
117965 return 0;
117967 _ACEOF
117968 rm -f conftest.$ac_objext
117969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117970 (eval $ac_compile) 2>conftest.er1
117971 ac_status=$?
117972 grep -v '^ *+' conftest.er1 >conftest.err
117973 rm -f conftest.er1
117974 cat conftest.err >&5
117975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117976 (exit $ac_status); } &&
117977 { ac_try='test -z "$ac_c_werror_flag"
117978 || test ! -s conftest.err'
117979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117980 (eval $ac_try) 2>&5
117981 ac_status=$?
117982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117983 (exit $ac_status); }; } &&
117984 { ac_try='test -s conftest.$ac_objext'
117985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117986 (eval $ac_try) 2>&5
117987 ac_status=$?
117988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117989 (exit $ac_status); }; }; then
117990 ac_hi=$ac_mid; break
117992 echo "$as_me: failed program was:" >&5
117993 sed 's/^/| /' conftest.$ac_ext >&5
117995 ac_lo=`expr $ac_mid + 1`
117996 if test $ac_lo -le $ac_mid; then
117997 ac_lo= ac_hi=
117998 break
118000 ac_mid=`expr 2 '*' $ac_mid + 1`
118002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118005 echo "$as_me: failed program was:" >&5
118006 sed 's/^/| /' conftest.$ac_ext >&5
118008 cat >conftest.$ac_ext <<_ACEOF
118009 /* confdefs.h. */
118010 _ACEOF
118011 cat confdefs.h >>conftest.$ac_ext
118012 cat >>conftest.$ac_ext <<_ACEOF
118013 /* end confdefs.h. */
118014 $ac_includes_default
118016 main ()
118018 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118019 test_array [0] = 0
118022 return 0;
118024 _ACEOF
118025 rm -f conftest.$ac_objext
118026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118027 (eval $ac_compile) 2>conftest.er1
118028 ac_status=$?
118029 grep -v '^ *+' conftest.er1 >conftest.err
118030 rm -f conftest.er1
118031 cat conftest.err >&5
118032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118033 (exit $ac_status); } &&
118034 { ac_try='test -z "$ac_c_werror_flag"
118035 || test ! -s conftest.err'
118036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118037 (eval $ac_try) 2>&5
118038 ac_status=$?
118039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118040 (exit $ac_status); }; } &&
118041 { ac_try='test -s conftest.$ac_objext'
118042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118043 (eval $ac_try) 2>&5
118044 ac_status=$?
118045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118046 (exit $ac_status); }; }; then
118047 ac_hi=-1 ac_mid=-1
118048 while :; do
118049 cat >conftest.$ac_ext <<_ACEOF
118050 /* confdefs.h. */
118051 _ACEOF
118052 cat confdefs.h >>conftest.$ac_ext
118053 cat >>conftest.$ac_ext <<_ACEOF
118054 /* end confdefs.h. */
118055 $ac_includes_default
118057 main ()
118059 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118060 test_array [0] = 0
118063 return 0;
118065 _ACEOF
118066 rm -f conftest.$ac_objext
118067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118068 (eval $ac_compile) 2>conftest.er1
118069 ac_status=$?
118070 grep -v '^ *+' conftest.er1 >conftest.err
118071 rm -f conftest.er1
118072 cat conftest.err >&5
118073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118074 (exit $ac_status); } &&
118075 { ac_try='test -z "$ac_c_werror_flag"
118076 || test ! -s conftest.err'
118077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118078 (eval $ac_try) 2>&5
118079 ac_status=$?
118080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118081 (exit $ac_status); }; } &&
118082 { ac_try='test -s conftest.$ac_objext'
118083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118084 (eval $ac_try) 2>&5
118085 ac_status=$?
118086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118087 (exit $ac_status); }; }; then
118088 ac_lo=$ac_mid; break
118090 echo "$as_me: failed program was:" >&5
118091 sed 's/^/| /' conftest.$ac_ext >&5
118093 ac_hi=`expr '(' $ac_mid ')' - 1`
118094 if test $ac_mid -le $ac_hi; then
118095 ac_lo= ac_hi=
118096 break
118098 ac_mid=`expr 2 '*' $ac_mid`
118100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118103 echo "$as_me: failed program was:" >&5
118104 sed 's/^/| /' conftest.$ac_ext >&5
118106 ac_lo= ac_hi=
118108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118111 # Binary search between lo and hi bounds.
118112 while test "x$ac_lo" != "x$ac_hi"; do
118113 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118114 cat >conftest.$ac_ext <<_ACEOF
118115 /* confdefs.h. */
118116 _ACEOF
118117 cat confdefs.h >>conftest.$ac_ext
118118 cat >>conftest.$ac_ext <<_ACEOF
118119 /* end confdefs.h. */
118120 $ac_includes_default
118122 main ()
118124 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118125 test_array [0] = 0
118128 return 0;
118130 _ACEOF
118131 rm -f conftest.$ac_objext
118132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118133 (eval $ac_compile) 2>conftest.er1
118134 ac_status=$?
118135 grep -v '^ *+' conftest.er1 >conftest.err
118136 rm -f conftest.er1
118137 cat conftest.err >&5
118138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118139 (exit $ac_status); } &&
118140 { ac_try='test -z "$ac_c_werror_flag"
118141 || test ! -s conftest.err'
118142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118143 (eval $ac_try) 2>&5
118144 ac_status=$?
118145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118146 (exit $ac_status); }; } &&
118147 { ac_try='test -s conftest.$ac_objext'
118148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118149 (eval $ac_try) 2>&5
118150 ac_status=$?
118151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118152 (exit $ac_status); }; }; then
118153 ac_hi=$ac_mid
118155 echo "$as_me: failed program was:" >&5
118156 sed 's/^/| /' conftest.$ac_ext >&5
118158 ac_lo=`expr '(' $ac_mid ')' + 1`
118160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118162 case $ac_lo in
118163 ?*) ac_cv_sizeof_short=$ac_lo;;
118164 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118165 See \`config.log' for more details." >&5
118166 echo "$as_me: error: cannot compute sizeof (short), 77
118167 See \`config.log' for more details." >&2;}
118168 { (exit 1); exit 1; }; } ;;
118171 if test "$cross_compiling" = yes; then
118172 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118173 See \`config.log' for more details." >&5
118174 echo "$as_me: error: cannot run test program while cross compiling
118175 See \`config.log' for more details." >&2;}
118176 { (exit 1); exit 1; }; }
118178 cat >conftest.$ac_ext <<_ACEOF
118179 /* confdefs.h. */
118180 _ACEOF
118181 cat confdefs.h >>conftest.$ac_ext
118182 cat >>conftest.$ac_ext <<_ACEOF
118183 /* end confdefs.h. */
118184 $ac_includes_default
118185 long longval () { return (long) (sizeof (short)); }
118186 unsigned long ulongval () { return (long) (sizeof (short)); }
118187 #include <stdio.h>
118188 #include <stdlib.h>
118190 main ()
118193 FILE *f = fopen ("conftest.val", "w");
118194 if (! f)
118195 exit (1);
118196 if (((long) (sizeof (short))) < 0)
118198 long i = longval ();
118199 if (i != ((long) (sizeof (short))))
118200 exit (1);
118201 fprintf (f, "%ld\n", i);
118205 unsigned long i = ulongval ();
118206 if (i != ((long) (sizeof (short))))
118207 exit (1);
118208 fprintf (f, "%lu\n", i);
118210 exit (ferror (f) || fclose (f) != 0);
118213 return 0;
118215 _ACEOF
118216 rm -f conftest$ac_exeext
118217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118218 (eval $ac_link) 2>&5
118219 ac_status=$?
118220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118223 (eval $ac_try) 2>&5
118224 ac_status=$?
118225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118226 (exit $ac_status); }; }; then
118227 ac_cv_sizeof_short=`cat conftest.val`
118229 echo "$as_me: program exited with status $ac_status" >&5
118230 echo "$as_me: failed program was:" >&5
118231 sed 's/^/| /' conftest.$ac_ext >&5
118233 ( exit $ac_status )
118234 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118235 See \`config.log' for more details." >&5
118236 echo "$as_me: error: cannot compute sizeof (short), 77
118237 See \`config.log' for more details." >&2;}
118238 { (exit 1); exit 1; }; }
118240 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118243 rm -f conftest.val
118245 ac_cv_sizeof_short=0
118248 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118249 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118250 cat >>confdefs.h <<_ACEOF
118251 #define SIZEOF_SHORT $ac_cv_sizeof_short
118252 _ACEOF
118255 echo "$as_me:$LINENO: checking for char" >&5
118256 echo $ECHO_N "checking for char... $ECHO_C" >&6
118257 if test "${ac_cv_type_char+set}" = set; then
118258 echo $ECHO_N "(cached) $ECHO_C" >&6
118260 cat >conftest.$ac_ext <<_ACEOF
118261 /* confdefs.h. */
118262 _ACEOF
118263 cat confdefs.h >>conftest.$ac_ext
118264 cat >>conftest.$ac_ext <<_ACEOF
118265 /* end confdefs.h. */
118266 $ac_includes_default
118268 main ()
118270 if ((char *) 0)
118271 return 0;
118272 if (sizeof (char))
118273 return 0;
118275 return 0;
118277 _ACEOF
118278 rm -f conftest.$ac_objext
118279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118280 (eval $ac_compile) 2>conftest.er1
118281 ac_status=$?
118282 grep -v '^ *+' conftest.er1 >conftest.err
118283 rm -f conftest.er1
118284 cat conftest.err >&5
118285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118286 (exit $ac_status); } &&
118287 { ac_try='test -z "$ac_c_werror_flag"
118288 || test ! -s conftest.err'
118289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118290 (eval $ac_try) 2>&5
118291 ac_status=$?
118292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118293 (exit $ac_status); }; } &&
118294 { ac_try='test -s conftest.$ac_objext'
118295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118296 (eval $ac_try) 2>&5
118297 ac_status=$?
118298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118299 (exit $ac_status); }; }; then
118300 ac_cv_type_char=yes
118302 echo "$as_me: failed program was:" >&5
118303 sed 's/^/| /' conftest.$ac_ext >&5
118305 ac_cv_type_char=no
118307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118309 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118310 echo "${ECHO_T}$ac_cv_type_char" >&6
118312 echo "$as_me:$LINENO: checking size of char" >&5
118313 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118314 if test "${ac_cv_sizeof_char+set}" = set; then
118315 echo $ECHO_N "(cached) $ECHO_C" >&6
118317 if test "$ac_cv_type_char" = yes; then
118318 # The cast to unsigned long works around a bug in the HP C Compiler
118319 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118320 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118321 # This bug is HP SR number 8606223364.
118322 if test "$cross_compiling" = yes; then
118323 # Depending upon the size, compute the lo and hi bounds.
118324 cat >conftest.$ac_ext <<_ACEOF
118325 /* confdefs.h. */
118326 _ACEOF
118327 cat confdefs.h >>conftest.$ac_ext
118328 cat >>conftest.$ac_ext <<_ACEOF
118329 /* end confdefs.h. */
118330 $ac_includes_default
118332 main ()
118334 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118335 test_array [0] = 0
118338 return 0;
118340 _ACEOF
118341 rm -f conftest.$ac_objext
118342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118343 (eval $ac_compile) 2>conftest.er1
118344 ac_status=$?
118345 grep -v '^ *+' conftest.er1 >conftest.err
118346 rm -f conftest.er1
118347 cat conftest.err >&5
118348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118349 (exit $ac_status); } &&
118350 { ac_try='test -z "$ac_c_werror_flag"
118351 || test ! -s conftest.err'
118352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118353 (eval $ac_try) 2>&5
118354 ac_status=$?
118355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118356 (exit $ac_status); }; } &&
118357 { ac_try='test -s conftest.$ac_objext'
118358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118359 (eval $ac_try) 2>&5
118360 ac_status=$?
118361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118362 (exit $ac_status); }; }; then
118363 ac_lo=0 ac_mid=0
118364 while :; do
118365 cat >conftest.$ac_ext <<_ACEOF
118366 /* confdefs.h. */
118367 _ACEOF
118368 cat confdefs.h >>conftest.$ac_ext
118369 cat >>conftest.$ac_ext <<_ACEOF
118370 /* end confdefs.h. */
118371 $ac_includes_default
118373 main ()
118375 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118376 test_array [0] = 0
118379 return 0;
118381 _ACEOF
118382 rm -f conftest.$ac_objext
118383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118384 (eval $ac_compile) 2>conftest.er1
118385 ac_status=$?
118386 grep -v '^ *+' conftest.er1 >conftest.err
118387 rm -f conftest.er1
118388 cat conftest.err >&5
118389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118390 (exit $ac_status); } &&
118391 { ac_try='test -z "$ac_c_werror_flag"
118392 || test ! -s conftest.err'
118393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118394 (eval $ac_try) 2>&5
118395 ac_status=$?
118396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118397 (exit $ac_status); }; } &&
118398 { ac_try='test -s conftest.$ac_objext'
118399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118400 (eval $ac_try) 2>&5
118401 ac_status=$?
118402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118403 (exit $ac_status); }; }; then
118404 ac_hi=$ac_mid; break
118406 echo "$as_me: failed program was:" >&5
118407 sed 's/^/| /' conftest.$ac_ext >&5
118409 ac_lo=`expr $ac_mid + 1`
118410 if test $ac_lo -le $ac_mid; then
118411 ac_lo= ac_hi=
118412 break
118414 ac_mid=`expr 2 '*' $ac_mid + 1`
118416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118419 echo "$as_me: failed program was:" >&5
118420 sed 's/^/| /' conftest.$ac_ext >&5
118422 cat >conftest.$ac_ext <<_ACEOF
118423 /* confdefs.h. */
118424 _ACEOF
118425 cat confdefs.h >>conftest.$ac_ext
118426 cat >>conftest.$ac_ext <<_ACEOF
118427 /* end confdefs.h. */
118428 $ac_includes_default
118430 main ()
118432 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118433 test_array [0] = 0
118436 return 0;
118438 _ACEOF
118439 rm -f conftest.$ac_objext
118440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118441 (eval $ac_compile) 2>conftest.er1
118442 ac_status=$?
118443 grep -v '^ *+' conftest.er1 >conftest.err
118444 rm -f conftest.er1
118445 cat conftest.err >&5
118446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118447 (exit $ac_status); } &&
118448 { ac_try='test -z "$ac_c_werror_flag"
118449 || test ! -s conftest.err'
118450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118451 (eval $ac_try) 2>&5
118452 ac_status=$?
118453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118454 (exit $ac_status); }; } &&
118455 { ac_try='test -s conftest.$ac_objext'
118456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118457 (eval $ac_try) 2>&5
118458 ac_status=$?
118459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118460 (exit $ac_status); }; }; then
118461 ac_hi=-1 ac_mid=-1
118462 while :; do
118463 cat >conftest.$ac_ext <<_ACEOF
118464 /* confdefs.h. */
118465 _ACEOF
118466 cat confdefs.h >>conftest.$ac_ext
118467 cat >>conftest.$ac_ext <<_ACEOF
118468 /* end confdefs.h. */
118469 $ac_includes_default
118471 main ()
118473 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118474 test_array [0] = 0
118477 return 0;
118479 _ACEOF
118480 rm -f conftest.$ac_objext
118481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118482 (eval $ac_compile) 2>conftest.er1
118483 ac_status=$?
118484 grep -v '^ *+' conftest.er1 >conftest.err
118485 rm -f conftest.er1
118486 cat conftest.err >&5
118487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118488 (exit $ac_status); } &&
118489 { ac_try='test -z "$ac_c_werror_flag"
118490 || test ! -s conftest.err'
118491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118492 (eval $ac_try) 2>&5
118493 ac_status=$?
118494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118495 (exit $ac_status); }; } &&
118496 { ac_try='test -s conftest.$ac_objext'
118497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118498 (eval $ac_try) 2>&5
118499 ac_status=$?
118500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118501 (exit $ac_status); }; }; then
118502 ac_lo=$ac_mid; break
118504 echo "$as_me: failed program was:" >&5
118505 sed 's/^/| /' conftest.$ac_ext >&5
118507 ac_hi=`expr '(' $ac_mid ')' - 1`
118508 if test $ac_mid -le $ac_hi; then
118509 ac_lo= ac_hi=
118510 break
118512 ac_mid=`expr 2 '*' $ac_mid`
118514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118517 echo "$as_me: failed program was:" >&5
118518 sed 's/^/| /' conftest.$ac_ext >&5
118520 ac_lo= ac_hi=
118522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118525 # Binary search between lo and hi bounds.
118526 while test "x$ac_lo" != "x$ac_hi"; do
118527 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118528 cat >conftest.$ac_ext <<_ACEOF
118529 /* confdefs.h. */
118530 _ACEOF
118531 cat confdefs.h >>conftest.$ac_ext
118532 cat >>conftest.$ac_ext <<_ACEOF
118533 /* end confdefs.h. */
118534 $ac_includes_default
118536 main ()
118538 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118539 test_array [0] = 0
118542 return 0;
118544 _ACEOF
118545 rm -f conftest.$ac_objext
118546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118547 (eval $ac_compile) 2>conftest.er1
118548 ac_status=$?
118549 grep -v '^ *+' conftest.er1 >conftest.err
118550 rm -f conftest.er1
118551 cat conftest.err >&5
118552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118553 (exit $ac_status); } &&
118554 { ac_try='test -z "$ac_c_werror_flag"
118555 || test ! -s conftest.err'
118556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118557 (eval $ac_try) 2>&5
118558 ac_status=$?
118559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118560 (exit $ac_status); }; } &&
118561 { ac_try='test -s conftest.$ac_objext'
118562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118563 (eval $ac_try) 2>&5
118564 ac_status=$?
118565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118566 (exit $ac_status); }; }; then
118567 ac_hi=$ac_mid
118569 echo "$as_me: failed program was:" >&5
118570 sed 's/^/| /' conftest.$ac_ext >&5
118572 ac_lo=`expr '(' $ac_mid ')' + 1`
118574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118576 case $ac_lo in
118577 ?*) ac_cv_sizeof_char=$ac_lo;;
118578 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118579 See \`config.log' for more details." >&5
118580 echo "$as_me: error: cannot compute sizeof (char), 77
118581 See \`config.log' for more details." >&2;}
118582 { (exit 1); exit 1; }; } ;;
118585 if test "$cross_compiling" = yes; then
118586 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118587 See \`config.log' for more details." >&5
118588 echo "$as_me: error: cannot run test program while cross compiling
118589 See \`config.log' for more details." >&2;}
118590 { (exit 1); exit 1; }; }
118592 cat >conftest.$ac_ext <<_ACEOF
118593 /* confdefs.h. */
118594 _ACEOF
118595 cat confdefs.h >>conftest.$ac_ext
118596 cat >>conftest.$ac_ext <<_ACEOF
118597 /* end confdefs.h. */
118598 $ac_includes_default
118599 long longval () { return (long) (sizeof (char)); }
118600 unsigned long ulongval () { return (long) (sizeof (char)); }
118601 #include <stdio.h>
118602 #include <stdlib.h>
118604 main ()
118607 FILE *f = fopen ("conftest.val", "w");
118608 if (! f)
118609 exit (1);
118610 if (((long) (sizeof (char))) < 0)
118612 long i = longval ();
118613 if (i != ((long) (sizeof (char))))
118614 exit (1);
118615 fprintf (f, "%ld\n", i);
118619 unsigned long i = ulongval ();
118620 if (i != ((long) (sizeof (char))))
118621 exit (1);
118622 fprintf (f, "%lu\n", i);
118624 exit (ferror (f) || fclose (f) != 0);
118627 return 0;
118629 _ACEOF
118630 rm -f conftest$ac_exeext
118631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118632 (eval $ac_link) 2>&5
118633 ac_status=$?
118634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118637 (eval $ac_try) 2>&5
118638 ac_status=$?
118639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118640 (exit $ac_status); }; }; then
118641 ac_cv_sizeof_char=`cat conftest.val`
118643 echo "$as_me: program exited with status $ac_status" >&5
118644 echo "$as_me: failed program was:" >&5
118645 sed 's/^/| /' conftest.$ac_ext >&5
118647 ( exit $ac_status )
118648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118649 See \`config.log' for more details." >&5
118650 echo "$as_me: error: cannot compute sizeof (char), 77
118651 See \`config.log' for more details." >&2;}
118652 { (exit 1); exit 1; }; }
118654 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118657 rm -f conftest.val
118659 ac_cv_sizeof_char=0
118662 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118663 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118664 cat >>confdefs.h <<_ACEOF
118665 #define SIZEOF_CHAR $ac_cv_sizeof_char
118666 _ACEOF
118670 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118671 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118672 case "$ac_cv_sizeof_char" in
118673 1) acx_cv_type_int8_t=char ;;
118674 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118675 echo "$as_me: error: no 8-bit type" >&2;}
118676 { (exit please report a bug); exit please report a bug; }; }
118678 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
118679 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
118681 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
118682 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
118683 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
118684 2:*) acx_cv_type_int16_t=int ;;
118685 *:2) acx_cv_type_int16_t=short ;;
118686 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
118687 echo "$as_me: error: no 16-bit type" >&2;}
118688 { (exit please report a bug); exit please report a bug; }; }
118690 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
118691 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
118693 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
118694 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
118695 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
118696 4:*) acx_cv_type_int32_t=int ;;
118697 *:4) acx_cv_type_int32_t=long ;;
118698 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
118699 echo "$as_me: error: no 32-bit type" >&2;}
118700 { (exit please report a bug); exit please report a bug; }; }
118702 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
118703 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
118706 # These tests are here to make the output prettier
118708 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
118709 case "$ac_cv_sizeof_long" in
118710 8) acx_cv_type_int64_t=long ;;
118712 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
118713 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
118714 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
118715 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
118718 # Now we can use the above types
118720 if test "$ac_cv_type_uintptr_t" != yes; then
118721 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
118722 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
118723 case $ac_cv_sizeof_void_p in
118724 2) acx_cv_type_intptr_t=int16_t ;;
118725 4) acx_cv_type_intptr_t=int32_t ;;
118726 8) acx_cv_type_intptr_t=int64_t ;;
118727 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
118728 echo "$as_me: error: no equivalent for intptr_t" >&2;}
118729 { (exit please report a bug); exit please report a bug; }; }
118731 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
118732 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
118735 # ----------------- done all checks, emit header -------------
118736 ac_config_commands="$ac_config_commands include/gstdint.h"
118741 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
118744 # Check whether --enable-symvers or --disable-symvers was given.
118745 if test "${enable_symvers+set}" = set; then
118746 enableval="$enable_symvers"
118748 case "$enableval" in
118749 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
118750 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
118751 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
118752 { (exit 1); exit 1; }; } ;;
118756 enable_symvers=yes
118760 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
118761 # don't know enough about $LD to do tricks...
118764 # Turn a 'yes' into a suitable default.
118765 if test x$enable_symvers = xyes ; then
118766 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
118767 enable_symvers=no
118769 if test $with_gnu_ld = yes ; then
118770 enable_symvers=gnu
118772 case ${target_os} in
118773 darwin*)
118774 enable_symvers=darwin ;;
118776 enable_symvers=no ;;
118782 # Check to see if 'darwin' or 'darwin-export' can win.
118783 if test x$enable_symvers = xdarwin-export ; then
118784 enable_symvers=darwin
118787 # Check to see if 'gnu' can win.
118788 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
118789 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
118790 echo "$as_me:$LINENO: checking for shared libgcc" >&5
118791 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
118792 ac_save_CFLAGS="$CFLAGS"
118793 CFLAGS=' -lgcc_s'
118794 if test x$gcc_no_link = xyes; then
118795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118797 { (exit 1); exit 1; }; }
118799 cat >conftest.$ac_ext <<_ACEOF
118800 /* confdefs.h. */
118801 _ACEOF
118802 cat confdefs.h >>conftest.$ac_ext
118803 cat >>conftest.$ac_ext <<_ACEOF
118804 /* end confdefs.h. */
118807 main ()
118809 return 0;
118811 return 0;
118813 _ACEOF
118814 rm -f conftest.$ac_objext conftest$ac_exeext
118815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118816 (eval $ac_link) 2>conftest.er1
118817 ac_status=$?
118818 grep -v '^ *+' conftest.er1 >conftest.err
118819 rm -f conftest.er1
118820 cat conftest.err >&5
118821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118822 (exit $ac_status); } &&
118823 { ac_try='test -z "$ac_c_werror_flag"
118824 || test ! -s conftest.err'
118825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118826 (eval $ac_try) 2>&5
118827 ac_status=$?
118828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118829 (exit $ac_status); }; } &&
118830 { ac_try='test -s conftest$ac_exeext'
118831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118832 (eval $ac_try) 2>&5
118833 ac_status=$?
118834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118835 (exit $ac_status); }; }; then
118836 glibcxx_shared_libgcc=yes
118838 echo "$as_me: failed program was:" >&5
118839 sed 's/^/| /' conftest.$ac_ext >&5
118841 glibcxx_shared_libgcc=no
118843 rm -f conftest.err conftest.$ac_objext \
118844 conftest$ac_exeext conftest.$ac_ext
118845 CFLAGS="$ac_save_CFLAGS"
118846 if test $glibcxx_shared_libgcc = no; then
118847 cat > conftest.c <<EOF
118848 int main (void) { return 0; }
118850 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
118851 -shared -shared-libgcc -o conftest.so \
118852 conftest.c -v 2>&1 >/dev/null \
118853 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
118854 rm -f conftest.c conftest.so
118855 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
118856 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
118857 if test x$gcc_no_link = xyes; then
118858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118860 { (exit 1); exit 1; }; }
118862 cat >conftest.$ac_ext <<_ACEOF
118863 /* confdefs.h. */
118864 _ACEOF
118865 cat confdefs.h >>conftest.$ac_ext
118866 cat >>conftest.$ac_ext <<_ACEOF
118867 /* end confdefs.h. */
118870 main ()
118872 return 0;
118874 return 0;
118876 _ACEOF
118877 rm -f conftest.$ac_objext conftest$ac_exeext
118878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118879 (eval $ac_link) 2>conftest.er1
118880 ac_status=$?
118881 grep -v '^ *+' conftest.er1 >conftest.err
118882 rm -f conftest.er1
118883 cat conftest.err >&5
118884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118885 (exit $ac_status); } &&
118886 { ac_try='test -z "$ac_c_werror_flag"
118887 || test ! -s conftest.err'
118888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118889 (eval $ac_try) 2>&5
118890 ac_status=$?
118891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118892 (exit $ac_status); }; } &&
118893 { ac_try='test -s conftest$ac_exeext'
118894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118895 (eval $ac_try) 2>&5
118896 ac_status=$?
118897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118898 (exit $ac_status); }; }; then
118899 glibcxx_shared_libgcc=yes
118901 echo "$as_me: failed program was:" >&5
118902 sed 's/^/| /' conftest.$ac_ext >&5
118905 rm -f conftest.err conftest.$ac_objext \
118906 conftest$ac_exeext conftest.$ac_ext
118907 CFLAGS="$ac_save_CFLAGS"
118910 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
118911 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
118913 # For GNU ld, we need at least this version. The format is described in
118914 # GLIBCXX_CHECK_LINKER_FEATURES above.
118915 glibcxx_min_gnu_ld_version=21400
118917 # If no shared libgcc, can't win.
118918 if test $glibcxx_shared_libgcc != yes; then
118919 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118920 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118921 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
118922 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
118923 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118924 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118925 enable_symvers=no
118926 elif test $with_gnu_ld != yes ; then
118927 # just fail for now
118928 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118929 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118930 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
118931 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
118932 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118933 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118934 enable_symvers=no
118935 elif test $glibcxx_ld_is_gold = yes ; then
118936 : All versions of gold support symbol versioning.
118937 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
118938 # The right tools, the right setup, but too old. Fallbacks?
118939 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
118940 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
118941 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
118942 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
118943 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
118944 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
118945 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
118946 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
118947 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118948 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118949 enable_symvers=no
118953 # Everything parsed; figure out what file to use.
118954 case $enable_symvers in
118956 SYMVER_FILE=config/abi/pre/none.ver
118959 SYMVER_FILE=config/abi/pre/gnu.ver
118961 cat >>confdefs.h <<\_ACEOF
118962 #define _GLIBCXX_SYMVER_GNU 1
118963 _ACEOF
118966 gnu-versioned-namespace)
118967 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
118969 cat >>confdefs.h <<\_ACEOF
118970 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
118971 _ACEOF
118974 darwin)
118975 SYMVER_FILE=config/abi/pre/gnu.ver
118977 cat >>confdefs.h <<\_ACEOF
118978 #define _GLIBCXX_SYMVER_DARWIN 1
118979 _ACEOF
118984 if test x$enable_symvers != xno ; then
118986 cat >>confdefs.h <<\_ACEOF
118987 #define _GLIBCXX_SYMVER 1
118988 _ACEOF
118998 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
118999 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
119001 # Now, set up compatibility support, if any.
119002 # In addition, need this to deal with std::size_t mangling in
119003 # src/compatibility.cc. In a perfect world, could use
119004 # typeid(std::size_t).name()[0] to do direct substitution.
119005 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
119006 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
119007 ac_save_CFLAGS="$CFLAGS"
119008 CFLAGS="-Werror"
119009 cat >conftest.$ac_ext <<_ACEOF
119010 /* confdefs.h. */
119011 _ACEOF
119012 cat confdefs.h >>conftest.$ac_ext
119013 cat >>conftest.$ac_ext <<_ACEOF
119014 /* end confdefs.h. */
119017 main ()
119019 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119021 return 0;
119023 _ACEOF
119024 rm -f conftest.$ac_objext
119025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119026 (eval $ac_compile) 2>conftest.er1
119027 ac_status=$?
119028 grep -v '^ *+' conftest.er1 >conftest.err
119029 rm -f conftest.er1
119030 cat conftest.err >&5
119031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119032 (exit $ac_status); } &&
119033 { ac_try='test -z "$ac_c_werror_flag"
119034 || test ! -s conftest.err'
119035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119036 (eval $ac_try) 2>&5
119037 ac_status=$?
119038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119039 (exit $ac_status); }; } &&
119040 { ac_try='test -s conftest.$ac_objext'
119041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119042 (eval $ac_try) 2>&5
119043 ac_status=$?
119044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119045 (exit $ac_status); }; }; then
119046 glibcxx_size_t_is_i=yes
119048 echo "$as_me: failed program was:" >&5
119049 sed 's/^/| /' conftest.$ac_ext >&5
119051 glibcxx_size_t_is_i=no
119053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119054 CFLAGS=$ac_save_CFLAGS
119055 if test "$glibcxx_size_t_is_i" = yes; then
119057 cat >>confdefs.h <<\_ACEOF
119058 #define _GLIBCXX_SIZE_T_IS_UINT 1
119059 _ACEOF
119062 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119063 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119065 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119066 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119067 ac_save_CFLAGS="$CFLAGS"
119068 CFLAGS="-Werror"
119069 cat >conftest.$ac_ext <<_ACEOF
119070 /* confdefs.h. */
119071 _ACEOF
119072 cat confdefs.h >>conftest.$ac_ext
119073 cat >>conftest.$ac_ext <<_ACEOF
119074 /* end confdefs.h. */
119077 main ()
119079 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119081 return 0;
119083 _ACEOF
119084 rm -f conftest.$ac_objext
119085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119086 (eval $ac_compile) 2>conftest.er1
119087 ac_status=$?
119088 grep -v '^ *+' conftest.er1 >conftest.err
119089 rm -f conftest.er1
119090 cat conftest.err >&5
119091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119092 (exit $ac_status); } &&
119093 { ac_try='test -z "$ac_c_werror_flag"
119094 || test ! -s conftest.err'
119095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119096 (eval $ac_try) 2>&5
119097 ac_status=$?
119098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119099 (exit $ac_status); }; } &&
119100 { ac_try='test -s conftest.$ac_objext'
119101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119102 (eval $ac_try) 2>&5
119103 ac_status=$?
119104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119105 (exit $ac_status); }; }; then
119106 glibcxx_ptrdiff_t_is_i=yes
119108 echo "$as_me: failed program was:" >&5
119109 sed 's/^/| /' conftest.$ac_ext >&5
119111 glibcxx_ptrdiff_t_is_i=no
119113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119114 CFLAGS=$ac_save_CFLAGS
119115 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119117 cat >>confdefs.h <<\_ACEOF
119118 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119119 _ACEOF
119122 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119123 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119126 # Check whether --enable-visibility or --disable-visibility was given.
119127 if test "${enable_visibility+set}" = set; then
119128 enableval="$enable_visibility"
119130 case "$enableval" in
119131 yes|no) ;;
119132 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119133 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119134 { (exit 1); exit 1; }; } ;;
119138 enable_visibility=yes
119142 if test x$enable_visibility = xyes ; then
119143 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119144 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119145 if test "${have_attribute_visibility+set}" = set; then
119146 echo $ECHO_N "(cached) $ECHO_C" >&6
119149 save_CFLAGS="$CFLAGS"
119150 CFLAGS="$CFLAGS -Werror"
119151 cat >conftest.$ac_ext <<_ACEOF
119152 /* confdefs.h. */
119153 _ACEOF
119154 cat confdefs.h >>conftest.$ac_ext
119155 cat >>conftest.$ac_ext <<_ACEOF
119156 /* end confdefs.h. */
119157 void __attribute__((visibility("hidden"))) foo(void) { }
119159 main ()
119163 return 0;
119165 _ACEOF
119166 rm -f conftest.$ac_objext
119167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119168 (eval $ac_compile) 2>conftest.er1
119169 ac_status=$?
119170 grep -v '^ *+' conftest.er1 >conftest.err
119171 rm -f conftest.er1
119172 cat conftest.err >&5
119173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119174 (exit $ac_status); } &&
119175 { ac_try='test -z "$ac_c_werror_flag"
119176 || test ! -s conftest.err'
119177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119178 (eval $ac_try) 2>&5
119179 ac_status=$?
119180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119181 (exit $ac_status); }; } &&
119182 { ac_try='test -s conftest.$ac_objext'
119183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119184 (eval $ac_try) 2>&5
119185 ac_status=$?
119186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119187 (exit $ac_status); }; }; then
119188 have_attribute_visibility=yes
119190 echo "$as_me: failed program was:" >&5
119191 sed 's/^/| /' conftest.$ac_ext >&5
119193 have_attribute_visibility=no
119195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119196 CFLAGS="$save_CFLAGS"
119198 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
119199 echo "${ECHO_T}$have_attribute_visibility" >&6
119200 if test $have_attribute_visibility = no; then
119201 enable_visibility=no
119206 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119207 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119210 ac_ldbl_compat=no
119211 case "$target" in
119212 powerpc*-*-linux* | \
119213 powerpc*-*-gnu* | \
119214 sparc*-*-linux* | \
119215 s390*-*-linux* | \
119216 alpha*-*-linux*)
119217 cat >conftest.$ac_ext <<_ACEOF
119218 /* confdefs.h. */
119219 _ACEOF
119220 cat confdefs.h >>conftest.$ac_ext
119221 cat >>conftest.$ac_ext <<_ACEOF
119222 /* end confdefs.h. */
119225 main ()
119228 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119229 #error no need for long double compatibility
119230 #endif
119233 return 0;
119235 _ACEOF
119236 rm -f conftest.$ac_objext
119237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119238 (eval $ac_compile) 2>conftest.er1
119239 ac_status=$?
119240 grep -v '^ *+' conftest.er1 >conftest.err
119241 rm -f conftest.er1
119242 cat conftest.err >&5
119243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119244 (exit $ac_status); } &&
119245 { ac_try='test -z "$ac_c_werror_flag"
119246 || test ! -s conftest.err'
119247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119248 (eval $ac_try) 2>&5
119249 ac_status=$?
119250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119251 (exit $ac_status); }; } &&
119252 { ac_try='test -s conftest.$ac_objext'
119253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119254 (eval $ac_try) 2>&5
119255 ac_status=$?
119256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119257 (exit $ac_status); }; }; then
119258 ac_ldbl_compat=yes
119260 echo "$as_me: failed program was:" >&5
119261 sed 's/^/| /' conftest.$ac_ext >&5
119263 ac_ldbl_compat=no
119265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119266 if test "$ac_ldbl_compat" = yes; then
119268 cat >>confdefs.h <<\_ACEOF
119269 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119270 _ACEOF
119272 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119277 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119279 if $GLIBCXX_IS_NATIVE ; then
119280 # Do checks for resource limit functions.
119282 setrlimit_have_headers=yes
119286 for ac_header in unistd.h sys/time.h sys/resource.h
119288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119290 echo "$as_me:$LINENO: checking for $ac_header" >&5
119291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119293 echo $ECHO_N "(cached) $ECHO_C" >&6
119295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119298 # Is the header compilable?
119299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119301 cat >conftest.$ac_ext <<_ACEOF
119302 /* confdefs.h. */
119303 _ACEOF
119304 cat confdefs.h >>conftest.$ac_ext
119305 cat >>conftest.$ac_ext <<_ACEOF
119306 /* end confdefs.h. */
119307 $ac_includes_default
119308 #include <$ac_header>
119309 _ACEOF
119310 rm -f conftest.$ac_objext
119311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119312 (eval $ac_compile) 2>conftest.er1
119313 ac_status=$?
119314 grep -v '^ *+' conftest.er1 >conftest.err
119315 rm -f conftest.er1
119316 cat conftest.err >&5
119317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119318 (exit $ac_status); } &&
119319 { ac_try='test -z "$ac_c_werror_flag"
119320 || test ! -s conftest.err'
119321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119322 (eval $ac_try) 2>&5
119323 ac_status=$?
119324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119325 (exit $ac_status); }; } &&
119326 { ac_try='test -s conftest.$ac_objext'
119327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119328 (eval $ac_try) 2>&5
119329 ac_status=$?
119330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119331 (exit $ac_status); }; }; then
119332 ac_header_compiler=yes
119334 echo "$as_me: failed program was:" >&5
119335 sed 's/^/| /' conftest.$ac_ext >&5
119337 ac_header_compiler=no
119339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119341 echo "${ECHO_T}$ac_header_compiler" >&6
119343 # Is the header present?
119344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119346 cat >conftest.$ac_ext <<_ACEOF
119347 /* confdefs.h. */
119348 _ACEOF
119349 cat confdefs.h >>conftest.$ac_ext
119350 cat >>conftest.$ac_ext <<_ACEOF
119351 /* end confdefs.h. */
119352 #include <$ac_header>
119353 _ACEOF
119354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
119356 ac_status=$?
119357 grep -v '^ *+' conftest.er1 >conftest.err
119358 rm -f conftest.er1
119359 cat conftest.err >&5
119360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119361 (exit $ac_status); } >/dev/null; then
119362 if test -s conftest.err; then
119363 ac_cpp_err=$ac_c_preproc_warn_flag
119364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119366 ac_cpp_err=
119369 ac_cpp_err=yes
119371 if test -z "$ac_cpp_err"; then
119372 ac_header_preproc=yes
119374 echo "$as_me: failed program was:" >&5
119375 sed 's/^/| /' conftest.$ac_ext >&5
119377 ac_header_preproc=no
119379 rm -f conftest.err conftest.$ac_ext
119380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119381 echo "${ECHO_T}$ac_header_preproc" >&6
119383 # So? What about this header?
119384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119385 yes:no: )
119386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119390 ac_header_preproc=yes
119392 no:yes:* )
119393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
119396 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
119397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
119400 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
119401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119406 cat <<\_ASBOX
119407 ## ----------------------------------------- ##
119408 ## Report this to the package-unused lists. ##
119409 ## ----------------------------------------- ##
119410 _ASBOX
119412 sed "s/^/$as_me: WARNING: /" >&2
119415 echo "$as_me:$LINENO: checking for $ac_header" >&5
119416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119418 echo $ECHO_N "(cached) $ECHO_C" >&6
119420 eval "$as_ac_Header=\$ac_header_preproc"
119422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119427 cat >>confdefs.h <<_ACEOF
119428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119429 _ACEOF
119432 setrlimit_have_headers=no
119437 # If don't have the headers, then we can't run the tests now, and we
119438 # won't be seeing any of these during testsuite compilation.
119439 if test $setrlimit_have_headers = yes; then
119440 # Can't do these in a loop, else the resulting syntax is wrong.
119442 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119443 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119444 cat >conftest.$ac_ext <<_ACEOF
119445 /* confdefs.h. */
119446 _ACEOF
119447 cat confdefs.h >>conftest.$ac_ext
119448 cat >>conftest.$ac_ext <<_ACEOF
119449 /* end confdefs.h. */
119450 #include <unistd.h>
119451 #include <sys/time.h>
119452 #include <sys/resource.h>
119455 main ()
119457 int f = RLIMIT_DATA ;
119459 return 0;
119461 _ACEOF
119462 rm -f conftest.$ac_objext
119463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119464 (eval $ac_compile) 2>conftest.er1
119465 ac_status=$?
119466 grep -v '^ *+' conftest.er1 >conftest.err
119467 rm -f conftest.er1
119468 cat conftest.err >&5
119469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119470 (exit $ac_status); } &&
119471 { ac_try='test -z "$ac_c_werror_flag"
119472 || test ! -s conftest.err'
119473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119474 (eval $ac_try) 2>&5
119475 ac_status=$?
119476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119477 (exit $ac_status); }; } &&
119478 { ac_try='test -s conftest.$ac_objext'
119479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119480 (eval $ac_try) 2>&5
119481 ac_status=$?
119482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119483 (exit $ac_status); }; }; then
119484 glibcxx_mresult=1
119486 echo "$as_me: failed program was:" >&5
119487 sed 's/^/| /' conftest.$ac_ext >&5
119489 glibcxx_mresult=0
119491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119493 cat >>confdefs.h <<_ACEOF
119494 #define HAVE_LIMIT_DATA $glibcxx_mresult
119495 _ACEOF
119497 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119498 echo "$as_me:$LINENO: result: $res" >&5
119499 echo "${ECHO_T}$res" >&6
119502 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119503 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119504 cat >conftest.$ac_ext <<_ACEOF
119505 /* confdefs.h. */
119506 _ACEOF
119507 cat confdefs.h >>conftest.$ac_ext
119508 cat >>conftest.$ac_ext <<_ACEOF
119509 /* end confdefs.h. */
119510 #include <unistd.h>
119511 #include <sys/time.h>
119512 #include <sys/resource.h>
119515 main ()
119517 int f = RLIMIT_RSS ;
119519 return 0;
119521 _ACEOF
119522 rm -f conftest.$ac_objext
119523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119524 (eval $ac_compile) 2>conftest.er1
119525 ac_status=$?
119526 grep -v '^ *+' conftest.er1 >conftest.err
119527 rm -f conftest.er1
119528 cat conftest.err >&5
119529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119530 (exit $ac_status); } &&
119531 { ac_try='test -z "$ac_c_werror_flag"
119532 || test ! -s conftest.err'
119533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119534 (eval $ac_try) 2>&5
119535 ac_status=$?
119536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119537 (exit $ac_status); }; } &&
119538 { ac_try='test -s conftest.$ac_objext'
119539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119540 (eval $ac_try) 2>&5
119541 ac_status=$?
119542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119543 (exit $ac_status); }; }; then
119544 glibcxx_mresult=1
119546 echo "$as_me: failed program was:" >&5
119547 sed 's/^/| /' conftest.$ac_ext >&5
119549 glibcxx_mresult=0
119551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119553 cat >>confdefs.h <<_ACEOF
119554 #define HAVE_LIMIT_RSS $glibcxx_mresult
119555 _ACEOF
119557 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119558 echo "$as_me:$LINENO: result: $res" >&5
119559 echo "${ECHO_T}$res" >&6
119562 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119563 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119564 cat >conftest.$ac_ext <<_ACEOF
119565 /* confdefs.h. */
119566 _ACEOF
119567 cat confdefs.h >>conftest.$ac_ext
119568 cat >>conftest.$ac_ext <<_ACEOF
119569 /* end confdefs.h. */
119570 #include <unistd.h>
119571 #include <sys/time.h>
119572 #include <sys/resource.h>
119575 main ()
119577 int f = RLIMIT_VMEM ;
119579 return 0;
119581 _ACEOF
119582 rm -f conftest.$ac_objext
119583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119584 (eval $ac_compile) 2>conftest.er1
119585 ac_status=$?
119586 grep -v '^ *+' conftest.er1 >conftest.err
119587 rm -f conftest.er1
119588 cat conftest.err >&5
119589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119590 (exit $ac_status); } &&
119591 { ac_try='test -z "$ac_c_werror_flag"
119592 || test ! -s conftest.err'
119593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119594 (eval $ac_try) 2>&5
119595 ac_status=$?
119596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119597 (exit $ac_status); }; } &&
119598 { ac_try='test -s conftest.$ac_objext'
119599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119600 (eval $ac_try) 2>&5
119601 ac_status=$?
119602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119603 (exit $ac_status); }; }; then
119604 glibcxx_mresult=1
119606 echo "$as_me: failed program was:" >&5
119607 sed 's/^/| /' conftest.$ac_ext >&5
119609 glibcxx_mresult=0
119611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119613 cat >>confdefs.h <<_ACEOF
119614 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119615 _ACEOF
119617 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119618 echo "$as_me:$LINENO: result: $res" >&5
119619 echo "${ECHO_T}$res" >&6
119622 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119623 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119624 cat >conftest.$ac_ext <<_ACEOF
119625 /* confdefs.h. */
119626 _ACEOF
119627 cat confdefs.h >>conftest.$ac_ext
119628 cat >>conftest.$ac_ext <<_ACEOF
119629 /* end confdefs.h. */
119630 #include <unistd.h>
119631 #include <sys/time.h>
119632 #include <sys/resource.h>
119635 main ()
119637 int f = RLIMIT_AS ;
119639 return 0;
119641 _ACEOF
119642 rm -f conftest.$ac_objext
119643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119644 (eval $ac_compile) 2>conftest.er1
119645 ac_status=$?
119646 grep -v '^ *+' conftest.er1 >conftest.err
119647 rm -f conftest.er1
119648 cat conftest.err >&5
119649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119650 (exit $ac_status); } &&
119651 { ac_try='test -z "$ac_c_werror_flag"
119652 || test ! -s conftest.err'
119653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119654 (eval $ac_try) 2>&5
119655 ac_status=$?
119656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119657 (exit $ac_status); }; } &&
119658 { ac_try='test -s conftest.$ac_objext'
119659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119660 (eval $ac_try) 2>&5
119661 ac_status=$?
119662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119663 (exit $ac_status); }; }; then
119664 glibcxx_mresult=1
119666 echo "$as_me: failed program was:" >&5
119667 sed 's/^/| /' conftest.$ac_ext >&5
119669 glibcxx_mresult=0
119671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119673 cat >>confdefs.h <<_ACEOF
119674 #define HAVE_LIMIT_AS $glibcxx_mresult
119675 _ACEOF
119677 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119678 echo "$as_me:$LINENO: result: $res" >&5
119679 echo "${ECHO_T}$res" >&6
119682 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
119683 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
119684 cat >conftest.$ac_ext <<_ACEOF
119685 /* confdefs.h. */
119686 _ACEOF
119687 cat confdefs.h >>conftest.$ac_ext
119688 cat >>conftest.$ac_ext <<_ACEOF
119689 /* end confdefs.h. */
119690 #include <unistd.h>
119691 #include <sys/time.h>
119692 #include <sys/resource.h>
119695 main ()
119697 int f = RLIMIT_FSIZE ;
119699 return 0;
119701 _ACEOF
119702 rm -f conftest.$ac_objext
119703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119704 (eval $ac_compile) 2>conftest.er1
119705 ac_status=$?
119706 grep -v '^ *+' conftest.er1 >conftest.err
119707 rm -f conftest.er1
119708 cat conftest.err >&5
119709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119710 (exit $ac_status); } &&
119711 { ac_try='test -z "$ac_c_werror_flag"
119712 || test ! -s conftest.err'
119713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119714 (eval $ac_try) 2>&5
119715 ac_status=$?
119716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119717 (exit $ac_status); }; } &&
119718 { ac_try='test -s conftest.$ac_objext'
119719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119720 (eval $ac_try) 2>&5
119721 ac_status=$?
119722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119723 (exit $ac_status); }; }; then
119724 glibcxx_mresult=1
119726 echo "$as_me: failed program was:" >&5
119727 sed 's/^/| /' conftest.$ac_ext >&5
119729 glibcxx_mresult=0
119731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119733 cat >>confdefs.h <<_ACEOF
119734 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
119735 _ACEOF
119737 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119738 echo "$as_me:$LINENO: result: $res" >&5
119739 echo "${ECHO_T}$res" >&6
119742 # Check for rlimit, setrlimit.
119743 if test "${ac_setrlimit+set}" = set; then
119744 echo $ECHO_N "(cached) $ECHO_C" >&6
119747 cat >conftest.$ac_ext <<_ACEOF
119748 /* confdefs.h. */
119749 _ACEOF
119750 cat confdefs.h >>conftest.$ac_ext
119751 cat >>conftest.$ac_ext <<_ACEOF
119752 /* end confdefs.h. */
119753 #include <unistd.h>
119754 #include <sys/time.h>
119755 #include <sys/resource.h>
119758 main ()
119760 struct rlimit r;
119761 setrlimit(0, &r);
119763 return 0;
119765 _ACEOF
119766 rm -f conftest.$ac_objext
119767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119768 (eval $ac_compile) 2>conftest.er1
119769 ac_status=$?
119770 grep -v '^ *+' conftest.er1 >conftest.err
119771 rm -f conftest.er1
119772 cat conftest.err >&5
119773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119774 (exit $ac_status); } &&
119775 { ac_try='test -z "$ac_c_werror_flag"
119776 || test ! -s conftest.err'
119777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119778 (eval $ac_try) 2>&5
119779 ac_status=$?
119780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119781 (exit $ac_status); }; } &&
119782 { ac_try='test -s conftest.$ac_objext'
119783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119784 (eval $ac_try) 2>&5
119785 ac_status=$?
119786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119787 (exit $ac_status); }; }; then
119788 ac_setrlimit=yes
119790 echo "$as_me: failed program was:" >&5
119791 sed 's/^/| /' conftest.$ac_ext >&5
119793 ac_setrlimit=no
119795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119801 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
119802 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
119803 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
119804 ac_res_limits=yes
119806 cat >>confdefs.h <<\_ACEOF
119807 #define _GLIBCXX_RES_LIMITS 1
119808 _ACEOF
119811 ac_res_limits=no
119813 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
119814 echo "${ECHO_T}$ac_res_limits" >&6
119817 # Look for setenv, so that extended locale tests can be performed.
119819 echo "$as_me:$LINENO: checking for setenv declaration" >&5
119820 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
119821 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
119822 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
119823 echo $ECHO_N "(cached) $ECHO_C" >&6
119828 ac_ext=cc
119829 ac_cpp='$CXXCPP $CPPFLAGS'
119830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119834 cat >conftest.$ac_ext <<_ACEOF
119835 /* confdefs.h. */
119836 _ACEOF
119837 cat confdefs.h >>conftest.$ac_ext
119838 cat >>conftest.$ac_ext <<_ACEOF
119839 /* end confdefs.h. */
119840 #include <stdlib.h>
119842 main ()
119844 setenv(0, 0, 0);
119846 return 0;
119848 _ACEOF
119849 rm -f conftest.$ac_objext
119850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119851 (eval $ac_compile) 2>conftest.er1
119852 ac_status=$?
119853 grep -v '^ *+' conftest.er1 >conftest.err
119854 rm -f conftest.er1
119855 cat conftest.err >&5
119856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119857 (exit $ac_status); } &&
119858 { ac_try='test -z "$ac_cxx_werror_flag"
119859 || test ! -s conftest.err'
119860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119861 (eval $ac_try) 2>&5
119862 ac_status=$?
119863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119864 (exit $ac_status); }; } &&
119865 { ac_try='test -s conftest.$ac_objext'
119866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119867 (eval $ac_try) 2>&5
119868 ac_status=$?
119869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119870 (exit $ac_status); }; }; then
119871 glibcxx_cv_func_setenv_use=yes
119873 echo "$as_me: failed program was:" >&5
119874 sed 's/^/| /' conftest.$ac_ext >&5
119876 glibcxx_cv_func_setenv_use=no
119878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119879 ac_ext=c
119880 ac_cpp='$CPP $CPPFLAGS'
119881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
119890 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
119891 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
119893 for ac_func in setenv
119895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119896 echo "$as_me:$LINENO: checking for $ac_func" >&5
119897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119898 if eval "test \"\${$as_ac_var+set}\" = set"; then
119899 echo $ECHO_N "(cached) $ECHO_C" >&6
119901 if test x$gcc_no_link = xyes; then
119902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119904 { (exit 1); exit 1; }; }
119906 cat >conftest.$ac_ext <<_ACEOF
119907 /* confdefs.h. */
119908 _ACEOF
119909 cat confdefs.h >>conftest.$ac_ext
119910 cat >>conftest.$ac_ext <<_ACEOF
119911 /* end confdefs.h. */
119912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119914 #define $ac_func innocuous_$ac_func
119916 /* System header to define __stub macros and hopefully few prototypes,
119917 which can conflict with char $ac_func (); below.
119918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119919 <limits.h> exists even on freestanding compilers. */
119921 #ifdef __STDC__
119922 # include <limits.h>
119923 #else
119924 # include <assert.h>
119925 #endif
119927 #undef $ac_func
119929 /* Override any gcc2 internal prototype to avoid an error. */
119930 #ifdef __cplusplus
119931 extern "C"
119933 #endif
119934 /* We use char because int might match the return type of a gcc2
119935 builtin and then its argument prototype would still apply. */
119936 char $ac_func ();
119937 /* The GNU C library defines this for functions which it implements
119938 to always fail with ENOSYS. Some functions are actually named
119939 something starting with __ and the normal name is an alias. */
119940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119941 choke me
119942 #else
119943 char (*f) () = $ac_func;
119944 #endif
119945 #ifdef __cplusplus
119947 #endif
119950 main ()
119952 return f != $ac_func;
119954 return 0;
119956 _ACEOF
119957 rm -f conftest.$ac_objext conftest$ac_exeext
119958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119959 (eval $ac_link) 2>conftest.er1
119960 ac_status=$?
119961 grep -v '^ *+' conftest.er1 >conftest.err
119962 rm -f conftest.er1
119963 cat conftest.err >&5
119964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119965 (exit $ac_status); } &&
119966 { ac_try='test -z "$ac_c_werror_flag"
119967 || test ! -s conftest.err'
119968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119969 (eval $ac_try) 2>&5
119970 ac_status=$?
119971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119972 (exit $ac_status); }; } &&
119973 { ac_try='test -s conftest$ac_exeext'
119974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119975 (eval $ac_try) 2>&5
119976 ac_status=$?
119977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119978 (exit $ac_status); }; }; then
119979 eval "$as_ac_var=yes"
119981 echo "$as_me: failed program was:" >&5
119982 sed 's/^/| /' conftest.$ac_ext >&5
119984 eval "$as_ac_var=no"
119986 rm -f conftest.err conftest.$ac_objext \
119987 conftest$ac_exeext conftest.$ac_ext
119989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119991 if test `eval echo '${'$as_ac_var'}'` = yes; then
119992 cat >>confdefs.h <<_ACEOF
119993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119994 _ACEOF
120003 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
120004 test $enable_symvers != no; then
120005 case "$host" in
120006 *-*-cygwin*)
120007 enable_abi_check=no ;;
120009 enable_abi_check=yes ;;
120012 # Only build this as native, since automake does not understand
120013 # CXX_FOR_BUILD.
120014 enable_abi_check=no
120017 # Export file names for ABI checking.
120018 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120022 # Propagate the target-specific source directories through the build chain.
120023 ATOMICITY_SRCDIR=config/${atomicity_dir}
120024 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120025 ATOMIC_FLAGS=${atomic_flags}
120026 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120027 OS_INC_SRCDIR=config/${os_include_dir}
120028 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120029 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120039 # Determine cross-compile flags and AM_CONDITIONALs.
120040 #AC_SUBST(GLIBCXX_IS_NATIVE)
120041 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120042 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120043 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120046 if test $is_hosted = yes; then
120047 GLIBCXX_HOSTED_TRUE=
120048 GLIBCXX_HOSTED_FALSE='#'
120050 GLIBCXX_HOSTED_TRUE='#'
120051 GLIBCXX_HOSTED_FALSE=
120057 if test $enable_libstdcxx_pch = yes; then
120058 GLIBCXX_BUILD_PCH_TRUE=
120059 GLIBCXX_BUILD_PCH_FALSE='#'
120061 GLIBCXX_BUILD_PCH_TRUE='#'
120062 GLIBCXX_BUILD_PCH_FALSE=
120068 if test $enable_cheaders = c; then
120069 GLIBCXX_C_HEADERS_C_TRUE=
120070 GLIBCXX_C_HEADERS_C_FALSE='#'
120072 GLIBCXX_C_HEADERS_C_TRUE='#'
120073 GLIBCXX_C_HEADERS_C_FALSE=
120079 if test $enable_cheaders = c_std; then
120080 GLIBCXX_C_HEADERS_C_STD_TRUE=
120081 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120083 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120084 GLIBCXX_C_HEADERS_C_STD_FALSE=
120090 if test $enable_cheaders = c_global; then
120091 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120092 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120094 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120095 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120101 if test $c_compatibility = yes; then
120102 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120103 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120105 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120106 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120112 if test $c_extra = yes; then
120113 GLIBCXX_C_HEADERS_EXTRA_TRUE=
120114 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120116 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120117 GLIBCXX_C_HEADERS_EXTRA_FALSE=
120123 if test $enable_libstdcxx_debug = yes; then
120124 GLIBCXX_BUILD_DEBUG_TRUE=
120125 GLIBCXX_BUILD_DEBUG_FALSE='#'
120127 GLIBCXX_BUILD_DEBUG_TRUE='#'
120128 GLIBCXX_BUILD_DEBUG_FALSE=
120134 if test $enable_parallel = yes; then
120135 ENABLE_PARALLEL_TRUE=
120136 ENABLE_PARALLEL_FALSE='#'
120138 ENABLE_PARALLEL_TRUE='#'
120139 ENABLE_PARALLEL_FALSE=
120145 if test $enable_symvers != no; then
120146 ENABLE_SYMVERS_TRUE=
120147 ENABLE_SYMVERS_FALSE='#'
120149 ENABLE_SYMVERS_TRUE='#'
120150 ENABLE_SYMVERS_FALSE=
120156 if test $enable_symvers = gnu; then
120157 ENABLE_SYMVERS_GNU_TRUE=
120158 ENABLE_SYMVERS_GNU_FALSE='#'
120160 ENABLE_SYMVERS_GNU_TRUE='#'
120161 ENABLE_SYMVERS_GNU_FALSE=
120167 if test $enable_symvers = gnu-versioned-namespace; then
120168 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120169 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120171 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120172 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120178 if test $enable_symvers = darwin; then
120179 ENABLE_SYMVERS_DARWIN_TRUE=
120180 ENABLE_SYMVERS_DARWIN_FALSE='#'
120182 ENABLE_SYMVERS_DARWIN_TRUE='#'
120183 ENABLE_SYMVERS_DARWIN_FALSE=
120189 if test $enable_visibility = yes; then
120190 ENABLE_VISIBILITY_TRUE=
120191 ENABLE_VISIBILITY_FALSE='#'
120193 ENABLE_VISIBILITY_TRUE='#'
120194 ENABLE_VISIBILITY_FALSE=
120200 if test $ac_ldbl_compat = yes; then
120201 GLIBCXX_LDBL_COMPAT_TRUE=
120202 GLIBCXX_LDBL_COMPAT_FALSE='#'
120204 GLIBCXX_LDBL_COMPAT_TRUE='#'
120205 GLIBCXX_LDBL_COMPAT_FALSE=
120211 cat >confcache <<\_ACEOF
120212 # This file is a shell script that caches the results of configure
120213 # tests run on this system so they can be shared between configure
120214 # scripts and configure runs, see configure's option --config-cache.
120215 # It is not useful on other systems. If it contains results you don't
120216 # want to keep, you may remove or edit it.
120218 # config.status only pays attention to the cache file if you give it
120219 # the --recheck option to rerun configure.
120221 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120222 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120223 # following values.
120225 _ACEOF
120227 # The following way of writing the cache mishandles newlines in values,
120228 # but we know of no workaround that is simple, portable, and efficient.
120229 # So, don't put newlines in cache variables' values.
120230 # Ultrix sh set writes to stderr and can't be redirected directly,
120231 # and sets the high bit in the cache file unless we assign to the vars.
120233 (set) 2>&1 |
120234 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120235 *ac_space=\ *)
120236 # `set' does not quote correctly, so add quotes (double-quote
120237 # substitution turns \\\\ into \\, and sed turns \\ into \).
120238 sed -n \
120239 "s/'/'\\\\''/g;
120240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120243 # `set' quotes correctly as required by POSIX, so do not add quotes.
120244 sed -n \
120245 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120247 esac;
120249 sed '
120250 t clear
120251 : clear
120252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120253 t end
120254 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120255 : end' >>confcache
120256 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120257 if test -w $cache_file; then
120258 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120259 cat confcache >$cache_file
120261 echo "not updating unwritable cache $cache_file"
120264 rm -f confcache
120266 if test ${multilib} = yes; then
120267 multilib_arg="--enable-multilib"
120269 multilib_arg=
120272 # Export all the install information.
120274 glibcxx_toolexecdir=no
120275 glibcxx_toolexeclibdir=no
120276 glibcxx_prefixdir=$prefix
120278 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120279 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120281 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120282 if test "${with_gxx_include_dir+set}" = set; then
120283 withval="$with_gxx_include_dir"
120284 case "$withval" in
120285 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120286 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120287 { (exit 1); exit 1; }; } ;;
120288 no) gxx_include_dir=no ;;
120289 *) gxx_include_dir=$withval ;;
120292 gxx_include_dir=no
120294 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120295 echo "${ECHO_T}$gxx_include_dir" >&6
120297 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120298 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120299 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120300 if test "${enable_version_specific_runtime_libs+set}" = set; then
120301 enableval="$enable_version_specific_runtime_libs"
120302 case "$enableval" in
120303 yes) version_specific_libs=yes ;;
120304 no) version_specific_libs=no ;;
120305 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120306 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120307 { (exit 1); exit 1; }; };;
120310 version_specific_libs=no
120312 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120313 echo "${ECHO_T}$version_specific_libs" >&6
120315 # Default case for install directory for include files.
120316 if test $version_specific_libs = no && test $gxx_include_dir = no; then
120317 gxx_include_dir='include/c++/${gcc_version}'
120318 if test -n "$with_cross_host" &&
120319 test x"$with_cross_host" != x"no"; then
120320 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120322 gxx_include_dir='${prefix}/'"$gxx_include_dir"
120326 # Version-specific runtime libs processing.
120327 if test $version_specific_libs = yes; then
120328 # Need the gcc compiler version to know where to install libraries
120329 # and header files if --enable-version-specific-runtime-libs option
120330 # is selected. FIXME: these variables are misnamed, there are
120331 # no executables installed in _toolexecdir or _toolexeclibdir.
120332 if test x"$gxx_include_dir" = x"no"; then
120333 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120335 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120336 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120339 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120340 # Install a library built with a cross compiler in tooldir, not libdir.
120341 if test x"$glibcxx_toolexecdir" = x"no"; then
120342 if test -n "$with_cross_host" &&
120343 test x"$with_cross_host" != x"no"; then
120344 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120345 glibcxx_toolexeclibdir='${toolexecdir}/lib'
120347 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120348 glibcxx_toolexeclibdir='${libdir}'
120350 multi_os_directory=`$CXX -print-multi-os-directory`
120351 case $multi_os_directory in
120352 .) ;; # Avoid trailing /.
120353 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120357 echo "$as_me:$LINENO: checking for install location" >&5
120358 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120359 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120360 echo "${ECHO_T}$gxx_include_dir" >&6
120368 # Export all the include and flag information to Makefiles.
120370 # Used for every C++ compile we perform.
120371 GLIBCXX_INCLUDES="\
120372 -I$glibcxx_builddir/include/$host_alias \
120373 -I$glibcxx_builddir/include \
120374 -I$glibcxx_srcdir/libsupc++"
120376 # For Canadian crosses, pick this up too.
120377 if test $CANADIAN = yes; then
120378 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120381 # Stuff in the actual top level. Currently only used by libsupc++ to
120382 # get unwind* headers from the gcc dir.
120383 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120384 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120386 # Now, export this to all the little Makefiles....
120391 # Optimization flags that are probably a good idea for thrill-seekers. Just
120392 # uncomment the lines below and make, everything else is ready to go...
120393 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120394 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120397 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120401 if test "$enable_shared" = yes; then
120402 LIBSUPCXX_PICFLAGS="-prefer-pic"
120404 LIBSUPCXX_PICFLAGS=
120408 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120410 ac_config_files="$ac_config_files scripts/testsuite_flags"
120413 ac_config_commands="$ac_config_commands default"
120416 cat >confcache <<\_ACEOF
120417 # This file is a shell script that caches the results of configure
120418 # tests run on this system so they can be shared between configure
120419 # scripts and configure runs, see configure's option --config-cache.
120420 # It is not useful on other systems. If it contains results you don't
120421 # want to keep, you may remove or edit it.
120423 # config.status only pays attention to the cache file if you give it
120424 # the --recheck option to rerun configure.
120426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120428 # following values.
120430 _ACEOF
120432 # The following way of writing the cache mishandles newlines in values,
120433 # but we know of no workaround that is simple, portable, and efficient.
120434 # So, don't put newlines in cache variables' values.
120435 # Ultrix sh set writes to stderr and can't be redirected directly,
120436 # and sets the high bit in the cache file unless we assign to the vars.
120438 (set) 2>&1 |
120439 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120440 *ac_space=\ *)
120441 # `set' does not quote correctly, so add quotes (double-quote
120442 # substitution turns \\\\ into \\, and sed turns \\ into \).
120443 sed -n \
120444 "s/'/'\\\\''/g;
120445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120448 # `set' quotes correctly as required by POSIX, so do not add quotes.
120449 sed -n \
120450 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120452 esac;
120454 sed '
120455 t clear
120456 : clear
120457 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120458 t end
120459 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120460 : end' >>confcache
120461 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120462 if test -w $cache_file; then
120463 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120464 cat confcache >$cache_file
120466 echo "not updating unwritable cache $cache_file"
120469 rm -f confcache
120471 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120472 # Let make expand exec_prefix.
120473 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120475 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120476 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120477 # trailing colons and then remove the whole line if VPATH becomes empty
120478 # (actually we leave an empty line to preserve line numbers).
120479 if test "x$srcdir" = x.; then
120480 ac_vpsub='/^[ ]*VPATH[ ]*=/{
120481 s/:*\$(srcdir):*/:/;
120482 s/:*\${srcdir}:*/:/;
120483 s/:*@srcdir@:*/:/;
120484 s/^\([^=]*=[ ]*\):*/\1/;
120485 s/:*$//;
120486 s/^[^=]*=[ ]*$//;
120490 DEFS=-DHAVE_CONFIG_H
120492 ac_libobjs=
120493 ac_ltlibobjs=
120494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120495 # 1. Remove the extension, and $U if already installed.
120496 ac_i=`echo "$ac_i" |
120497 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120498 # 2. Add them.
120499 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120500 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120502 LIBOBJS=$ac_libobjs
120504 LTLIBOBJS=$ac_ltlibobjs
120507 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120508 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120509 Usually this means the macro was only invoked conditionally." >&5
120510 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120511 Usually this means the macro was only invoked conditionally." >&2;}
120512 { (exit 1); exit 1; }; }
120514 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120515 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120516 Usually this means the macro was only invoked conditionally." >&5
120517 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120518 Usually this means the macro was only invoked conditionally." >&2;}
120519 { (exit 1); exit 1; }; }
120521 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120522 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120523 Usually this means the macro was only invoked conditionally." >&5
120524 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120525 Usually this means the macro was only invoked conditionally." >&2;}
120526 { (exit 1); exit 1; }; }
120528 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120529 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120530 Usually this means the macro was only invoked conditionally." >&5
120531 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120532 Usually this means the macro was only invoked conditionally." >&2;}
120533 { (exit 1); exit 1; }; }
120535 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120536 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120537 Usually this means the macro was only invoked conditionally." >&5
120538 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120539 Usually this means the macro was only invoked conditionally." >&2;}
120540 { (exit 1); exit 1; }; }
120542 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120543 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120544 Usually this means the macro was only invoked conditionally." >&5
120545 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120546 Usually this means the macro was only invoked conditionally." >&2;}
120547 { (exit 1); exit 1; }; }
120549 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120550 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120551 Usually this means the macro was only invoked conditionally." >&5
120552 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120553 Usually this means the macro was only invoked conditionally." >&2;}
120554 { (exit 1); exit 1; }; }
120556 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120557 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120558 Usually this means the macro was only invoked conditionally." >&5
120559 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120560 Usually this means the macro was only invoked conditionally." >&2;}
120561 { (exit 1); exit 1; }; }
120563 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120564 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120565 Usually this means the macro was only invoked conditionally." >&5
120566 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120567 Usually this means the macro was only invoked conditionally." >&2;}
120568 { (exit 1); exit 1; }; }
120570 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120571 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120572 Usually this means the macro was only invoked conditionally." >&5
120573 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120574 Usually this means the macro was only invoked conditionally." >&2;}
120575 { (exit 1); exit 1; }; }
120577 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120578 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120579 Usually this means the macro was only invoked conditionally." >&5
120580 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120581 Usually this means the macro was only invoked conditionally." >&2;}
120582 { (exit 1); exit 1; }; }
120584 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120585 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120586 Usually this means the macro was only invoked conditionally." >&5
120587 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120588 Usually this means the macro was only invoked conditionally." >&2;}
120589 { (exit 1); exit 1; }; }
120591 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120592 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120593 Usually this means the macro was only invoked conditionally." >&5
120594 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120595 Usually this means the macro was only invoked conditionally." >&2;}
120596 { (exit 1); exit 1; }; }
120598 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120599 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120600 Usually this means the macro was only invoked conditionally." >&5
120601 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120602 Usually this means the macro was only invoked conditionally." >&2;}
120603 { (exit 1); exit 1; }; }
120605 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120606 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120607 Usually this means the macro was only invoked conditionally." >&5
120608 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120609 Usually this means the macro was only invoked conditionally." >&2;}
120610 { (exit 1); exit 1; }; }
120612 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120613 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120614 Usually this means the macro was only invoked conditionally." >&5
120615 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120616 Usually this means the macro was only invoked conditionally." >&2;}
120617 { (exit 1); exit 1; }; }
120620 : ${CONFIG_STATUS=./config.status}
120621 ac_clean_files_save=$ac_clean_files
120622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120623 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120624 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120625 cat >$CONFIG_STATUS <<_ACEOF
120626 #! $SHELL
120627 # Generated by $as_me.
120628 # Run this file to recreate the current configuration.
120629 # Compiler output produced by configure, useful for debugging
120630 # configure, is in config.log if it exists.
120632 debug=false
120633 ac_cs_recheck=false
120634 ac_cs_silent=false
120635 SHELL=\${CONFIG_SHELL-$SHELL}
120636 _ACEOF
120638 cat >>$CONFIG_STATUS <<\_ACEOF
120639 ## --------------------- ##
120640 ## M4sh Initialization. ##
120641 ## --------------------- ##
120643 # Be Bourne compatible
120644 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120645 emulate sh
120646 NULLCMD=:
120647 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120648 # is contrary to our usage. Disable this feature.
120649 alias -g '${1+"$@"}'='"$@"'
120650 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120651 set -o posix
120653 DUALCASE=1; export DUALCASE # for MKS sh
120655 # Support unset when possible.
120656 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120657 as_unset=unset
120659 as_unset=false
120663 # Work around bugs in pre-3.0 UWIN ksh.
120664 $as_unset ENV MAIL MAILPATH
120665 PS1='$ '
120666 PS2='> '
120667 PS4='+ '
120669 # NLS nuisances.
120670 for as_var in \
120671 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120672 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120673 LC_TELEPHONE LC_TIME
120675 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
120676 eval $as_var=C; export $as_var
120678 $as_unset $as_var
120682 # Required to use basename.
120683 if expr a : '\(a\)' >/dev/null 2>&1; then
120684 as_expr=expr
120686 as_expr=false
120689 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
120690 as_basename=basename
120692 as_basename=false
120696 # Name of the executable.
120697 as_me=`$as_basename "$0" ||
120698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120699 X"$0" : 'X\(//\)$' \| \
120700 X"$0" : 'X\(/\)$' \| \
120701 . : '\(.\)' 2>/dev/null ||
120702 echo X/"$0" |
120703 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
120704 /^X\/\(\/\/\)$/{ s//\1/; q; }
120705 /^X\/\(\/\).*/{ s//\1/; q; }
120706 s/.*/./; q'`
120709 # PATH needs CR, and LINENO needs CR and PATH.
120710 # Avoid depending upon Character Ranges.
120711 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
120712 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
120713 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
120714 as_cr_digits='0123456789'
120715 as_cr_alnum=$as_cr_Letters$as_cr_digits
120717 # The user is always right.
120718 if test "${PATH_SEPARATOR+set}" != set; then
120719 echo "#! /bin/sh" >conf$$.sh
120720 echo "exit 0" >>conf$$.sh
120721 chmod +x conf$$.sh
120722 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
120723 PATH_SEPARATOR=';'
120725 PATH_SEPARATOR=:
120727 rm -f conf$$.sh
120731 as_lineno_1=$LINENO
120732 as_lineno_2=$LINENO
120733 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120734 test "x$as_lineno_1" != "x$as_lineno_2" &&
120735 test "x$as_lineno_3" = "x$as_lineno_2" || {
120736 # Find who we are. Look in the path if we contain no path at all
120737 # relative or not.
120738 case $0 in
120739 *[\\/]* ) as_myself=$0 ;;
120740 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120741 for as_dir in $PATH
120743 IFS=$as_save_IFS
120744 test -z "$as_dir" && as_dir=.
120745 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120750 # We did not find ourselves, most probably we were run as `sh COMMAND'
120751 # in which case we are not to be found in the path.
120752 if test "x$as_myself" = x; then
120753 as_myself=$0
120755 if test ! -f "$as_myself"; then
120756 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
120757 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
120758 { (exit 1); exit 1; }; }
120760 case $CONFIG_SHELL in
120762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120763 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
120765 IFS=$as_save_IFS
120766 test -z "$as_dir" && as_dir=.
120767 for as_base in sh bash ksh sh5; do
120768 case $as_dir in
120770 if ("$as_dir/$as_base" -c '
120771 as_lineno_1=$LINENO
120772 as_lineno_2=$LINENO
120773 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120774 test "x$as_lineno_1" != "x$as_lineno_2" &&
120775 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
120776 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
120777 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
120778 CONFIG_SHELL=$as_dir/$as_base
120779 export CONFIG_SHELL
120780 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
120788 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
120789 # uniformly replaced by the line number. The first 'sed' inserts a
120790 # line-number line before each line; the second 'sed' does the real
120791 # work. The second script uses 'N' to pair each line-number line
120792 # with the numbered line, and appends trailing '-' during
120793 # substitution so that $LINENO is not a special case at line end.
120794 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
120795 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
120796 sed '=' <$as_myself |
120797 sed '
120799 s,$,-,
120800 : loop
120801 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
120802 t loop
120803 s,-$,,
120804 s,^['$as_cr_digits']*\n,,
120805 ' >$as_me.lineno &&
120806 chmod +x $as_me.lineno ||
120807 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
120808 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
120809 { (exit 1); exit 1; }; }
120811 # Don't try to exec as it changes $[0], causing all sort of problems
120812 # (the dirname of $[0] is not the place where we might find the
120813 # original and so on. Autoconf is especially sensible to this).
120814 . ./$as_me.lineno
120815 # Exit status is that of the last command.
120820 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
120821 *c*,-n*) ECHO_N= ECHO_C='
120822 ' ECHO_T=' ' ;;
120823 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
120824 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
120827 if expr a : '\(a\)' >/dev/null 2>&1; then
120828 as_expr=expr
120830 as_expr=false
120833 rm -f conf$$ conf$$.exe conf$$.file
120834 echo >conf$$.file
120835 if ln -s conf$$.file conf$$ 2>/dev/null; then
120836 # We could just check for DJGPP; but this test a) works b) is more generic
120837 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
120838 if test -f conf$$.exe; then
120839 # Don't use ln at all; we don't have any links
120840 as_ln_s='cp -p'
120842 as_ln_s='ln -s'
120844 elif ln conf$$.file conf$$ 2>/dev/null; then
120845 as_ln_s=ln
120847 as_ln_s='cp -p'
120849 rm -f conf$$ conf$$.exe conf$$.file
120851 if mkdir -p . 2>/dev/null; then
120852 as_mkdir_p=:
120854 test -d ./-p && rmdir ./-p
120855 as_mkdir_p=false
120858 as_executable_p="test -f"
120860 # Sed expression to map a string onto a valid CPP name.
120861 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120863 # Sed expression to map a string onto a valid variable name.
120864 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
120867 # IFS
120868 # We need space, tab and new line, in precisely that order.
120869 as_nl='
120871 IFS=" $as_nl"
120873 # CDPATH.
120874 $as_unset CDPATH
120876 exec 6>&1
120878 # Open the log real soon, to keep \$[0] and so on meaningful, and to
120879 # report actual input values of CONFIG_FILES etc. instead of their
120880 # values after options handling. Logging --version etc. is OK.
120881 exec 5>>config.log
120884 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
120885 ## Running $as_me. ##
120886 _ASBOX
120887 } >&5
120888 cat >&5 <<_CSEOF
120890 This file was extended by package-unused $as_me version-unused, which was
120891 generated by GNU Autoconf 2.59. Invocation command line was
120893 CONFIG_FILES = $CONFIG_FILES
120894 CONFIG_HEADERS = $CONFIG_HEADERS
120895 CONFIG_LINKS = $CONFIG_LINKS
120896 CONFIG_COMMANDS = $CONFIG_COMMANDS
120897 $ $0 $@
120899 _CSEOF
120900 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
120901 echo >&5
120902 _ACEOF
120904 # Files that config.status was made for.
120905 if test -n "$ac_config_files"; then
120906 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
120909 if test -n "$ac_config_headers"; then
120910 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
120913 if test -n "$ac_config_links"; then
120914 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
120917 if test -n "$ac_config_commands"; then
120918 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
120921 cat >>$CONFIG_STATUS <<\_ACEOF
120923 ac_cs_usage="\
120924 \`$as_me' instantiates files from templates according to the
120925 current configuration.
120927 Usage: $0 [OPTIONS] [FILE]...
120929 -h, --help print this help, then exit
120930 -V, --version print version number, then exit
120931 -q, --quiet do not print progress messages
120932 -d, --debug don't remove temporary files
120933 --recheck update $as_me by reconfiguring in the same conditions
120934 --file=FILE[:TEMPLATE]
120935 instantiate the configuration file FILE
120936 --header=FILE[:TEMPLATE]
120937 instantiate the configuration header FILE
120939 Configuration files:
120940 $config_files
120942 Configuration headers:
120943 $config_headers
120945 Configuration commands:
120946 $config_commands
120948 Report bugs to <bug-autoconf@gnu.org>."
120949 _ACEOF
120951 cat >>$CONFIG_STATUS <<_ACEOF
120952 ac_cs_version="\\
120953 package-unused config.status version-unused
120954 configured by $0, generated by GNU Autoconf 2.59,
120955 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
120957 Copyright (C) 2003 Free Software Foundation, Inc.
120958 This config.status script is free software; the Free Software Foundation
120959 gives unlimited permission to copy, distribute and modify it."
120960 srcdir=$srcdir
120961 INSTALL="$INSTALL"
120962 _ACEOF
120964 cat >>$CONFIG_STATUS <<\_ACEOF
120965 # If no file are specified by the user, then we need to provide default
120966 # value. By we need to know if files were specified by the user.
120967 ac_need_defaults=:
120968 while test $# != 0
120970 case $1 in
120971 --*=*)
120972 ac_option=`expr "x$1" : 'x\([^=]*\)='`
120973 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
120974 ac_shift=:
120977 ac_option=$1
120978 ac_optarg=$2
120979 ac_shift=shift
120981 *) # This is not an option, so the user has probably given explicit
120982 # arguments.
120983 ac_option=$1
120984 ac_need_defaults=false;;
120987 case $ac_option in
120988 # Handling of the options.
120989 _ACEOF
120990 cat >>$CONFIG_STATUS <<\_ACEOF
120991 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
120992 ac_cs_recheck=: ;;
120993 --version | --vers* | -V )
120994 echo "$ac_cs_version"; exit 0 ;;
120995 --he | --h)
120996 # Conflict between --help and --header
120997 { { echo "$as_me:$LINENO: error: ambiguous option: $1
120998 Try \`$0 --help' for more information." >&5
120999 echo "$as_me: error: ambiguous option: $1
121000 Try \`$0 --help' for more information." >&2;}
121001 { (exit 1); exit 1; }; };;
121002 --help | --hel | -h )
121003 echo "$ac_cs_usage"; exit 0 ;;
121004 --debug | --d* | -d )
121005 debug=: ;;
121006 --file | --fil | --fi | --f )
121007 $ac_shift
121008 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
121009 ac_need_defaults=false;;
121010 --header | --heade | --head | --hea )
121011 $ac_shift
121012 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
121013 ac_need_defaults=false;;
121014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
121015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121016 ac_cs_silent=: ;;
121018 # This is an error.
121019 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121020 Try \`$0 --help' for more information." >&5
121021 echo "$as_me: error: unrecognized option: $1
121022 Try \`$0 --help' for more information." >&2;}
121023 { (exit 1); exit 1; }; } ;;
121025 *) ac_config_targets="$ac_config_targets $1" ;;
121028 shift
121031 ac_configure_extra_args=
121033 if $ac_cs_silent; then
121034 exec 6>/dev/null
121035 ac_configure_extra_args="$ac_configure_extra_args --silent"
121038 _ACEOF
121039 cat >>$CONFIG_STATUS <<_ACEOF
121040 if \$ac_cs_recheck; then
121041 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121042 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121045 _ACEOF
121047 cat >>$CONFIG_STATUS <<_ACEOF
121049 # INIT-COMMANDS section.
121053 srcdir="$srcdir"
121054 host="$host"
121055 target="$target"
121056 with_multisubdir="$with_multisubdir"
121057 with_multisrctop="$with_multisrctop"
121058 with_target_subdir="$with_target_subdir"
121059 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121060 multi_basedir="$multi_basedir"
121061 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121062 CC="$CC"
121065 # The HP-UX ksh and POSIX shell print the target directory to stdout
121066 # if CDPATH is set.
121067 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121069 sed_quote_subst='$sed_quote_subst'
121070 double_quote_subst='$double_quote_subst'
121071 delay_variable_subst='$delay_variable_subst'
121072 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121073 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121074 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121075 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121076 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121077 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121078 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121079 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121080 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121081 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121082 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121083 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121084 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121085 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121086 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121087 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121088 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121089 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121090 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121091 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121092 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121093 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121094 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121095 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121096 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121097 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121098 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121099 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121100 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121101 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121102 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121103 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121104 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121105 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121106 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121107 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121108 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121109 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121110 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121111 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121112 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121113 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121114 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121115 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"`'
121116 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121117 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121118 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121119 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121120 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121121 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121122 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121123 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121124 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121125 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121126 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121127 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121128 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121129 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121130 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121131 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121132 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121133 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121134 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121135 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121136 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121137 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121138 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121139 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121140 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121141 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121142 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121143 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121144 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121145 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121146 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121147 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121148 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121149 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121150 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121151 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121152 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121153 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121154 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121155 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121156 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121157 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121158 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121159 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121160 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121161 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121162 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121163 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121164 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121165 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121166 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121167 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121168 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121169 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121170 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121171 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121172 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121173 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121174 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121175 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121176 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121177 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121178 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121179 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121180 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121181 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121182 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121183 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121184 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121185 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121186 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121187 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121188 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121189 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121190 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121191 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121192 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121193 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121194 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121195 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121196 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121197 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121198 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121199 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121200 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121201 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121202 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121203 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121204 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121205 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121206 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121207 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121208 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121209 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121210 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121211 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121212 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121213 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121214 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121215 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121216 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121217 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121218 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121219 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121220 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121221 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121222 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121223 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121224 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121225 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121226 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121227 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121228 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121229 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121230 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121231 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121232 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121233 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121235 LTCC='$LTCC'
121236 LTCFLAGS='$LTCFLAGS'
121237 compiler='$compiler_DEFAULT'
121239 # Quote evaled strings.
121240 for var in SED \
121241 GREP \
121242 EGREP \
121243 FGREP \
121246 LN_S \
121247 lt_SP2NL \
121248 lt_NL2SP \
121249 reload_flag \
121250 deplibs_check_method \
121251 file_magic_cmd \
121253 AR_FLAGS \
121254 STRIP \
121255 RANLIB \
121257 CFLAGS \
121258 compiler \
121259 lt_cv_sys_global_symbol_pipe \
121260 lt_cv_sys_global_symbol_to_cdecl \
121261 lt_cv_sys_global_symbol_to_c_name_address \
121262 SHELL \
121263 ECHO \
121264 lt_prog_compiler_no_builtin_flag \
121265 lt_prog_compiler_wl \
121266 lt_prog_compiler_pic \
121267 lt_prog_compiler_static \
121268 lt_cv_prog_compiler_c_o \
121269 need_locks \
121270 shrext_cmds \
121271 export_dynamic_flag_spec \
121272 whole_archive_flag_spec \
121273 compiler_needs_object \
121274 with_gnu_ld \
121275 allow_undefined_flag \
121276 no_undefined_flag \
121277 hardcode_libdir_flag_spec \
121278 hardcode_libdir_flag_spec_ld \
121279 hardcode_libdir_separator \
121280 fix_srcfile_path \
121281 exclude_expsyms \
121282 include_expsyms \
121283 file_list_spec \
121284 variables_saved_for_relink \
121285 libname_spec \
121286 library_names_spec \
121287 soname_spec \
121288 finish_eval \
121289 old_striplib \
121290 striplib \
121291 predep_objects \
121292 postdep_objects \
121293 predeps \
121294 postdeps \
121295 compiler_lib_search_path \
121296 LD_CXX \
121297 compiler_CXX \
121298 lt_prog_compiler_no_builtin_flag_CXX \
121299 lt_prog_compiler_wl_CXX \
121300 lt_prog_compiler_pic_CXX \
121301 lt_prog_compiler_static_CXX \
121302 lt_cv_prog_compiler_c_o_CXX \
121303 export_dynamic_flag_spec_CXX \
121304 whole_archive_flag_spec_CXX \
121305 compiler_needs_object_CXX \
121306 with_gnu_ld_CXX \
121307 allow_undefined_flag_CXX \
121308 no_undefined_flag_CXX \
121309 hardcode_libdir_flag_spec_CXX \
121310 hardcode_libdir_flag_spec_ld_CXX \
121311 hardcode_libdir_separator_CXX \
121312 fix_srcfile_path_CXX \
121313 exclude_expsyms_CXX \
121314 include_expsyms_CXX \
121315 file_list_spec_CXX \
121316 predep_objects_CXX \
121317 postdep_objects_CXX \
121318 predeps_CXX \
121319 postdeps_CXX \
121320 compiler_lib_search_path_CXX; do
121321 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121322 *[\\\\\\\`\\"\\\$]*)
121323 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121326 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121331 # Double-quote double-evaled strings.
121332 for var in reload_cmds \
121333 old_postinstall_cmds \
121334 old_postuninstall_cmds \
121335 old_archive_cmds \
121336 extract_expsyms_cmds \
121337 old_archive_from_new_cmds \
121338 old_archive_from_expsyms_cmds \
121339 archive_cmds \
121340 archive_expsym_cmds \
121341 module_cmds \
121342 module_expsym_cmds \
121343 export_symbols_cmds \
121344 prelink_cmds \
121345 postinstall_cmds \
121346 postuninstall_cmds \
121347 finish_cmds \
121348 sys_lib_search_path_spec \
121349 sys_lib_dlsearch_path_spec \
121350 old_archive_cmds_CXX \
121351 old_archive_from_new_cmds_CXX \
121352 old_archive_from_expsyms_cmds_CXX \
121353 archive_cmds_CXX \
121354 archive_expsym_cmds_CXX \
121355 module_cmds_CXX \
121356 module_expsym_cmds_CXX \
121357 export_symbols_cmds_CXX \
121358 prelink_cmds_CXX; do
121359 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121360 *[\\\\\\\`\\"\\\$]*)
121361 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121364 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121369 # Fix-up fallback echo if it was mangled by the above quoting rules.
121370 case \$lt_ECHO in
121371 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121375 ac_aux_dir='$ac_aux_dir'
121376 xsi_shell='$xsi_shell'
121377 lt_shell_append='$lt_shell_append'
121379 # See if we are running on zsh, and set the options which allow our
121380 # commands through without removal of \ escapes INIT.
121381 if test -n "\${ZSH_VERSION+set}" ; then
121382 setopt NO_GLOB_SUBST
121386 PACKAGE='$PACKAGE'
121387 VERSION='$VERSION'
121388 TIMESTAMP='$TIMESTAMP'
121389 RM='$RM'
121390 ofile='$ofile'
121397 GCC="$GCC"
121398 CC="$CC"
121399 acx_cv_header_stdint="$acx_cv_header_stdint"
121400 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121401 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121402 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121403 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121404 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121405 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121406 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121407 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121408 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121409 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121410 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121411 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121412 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121415 # Variables needed in config.status (file generation) which aren't already
121416 # passed by autoconf.
121417 SUBDIRS="$SUBDIRS"
121420 _ACEOF
121424 cat >>$CONFIG_STATUS <<\_ACEOF
121425 for ac_config_target in $ac_config_targets
121427 case "$ac_config_target" in
121428 # Handling of arguments.
121429 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121430 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121431 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121432 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121433 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121434 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121435 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121436 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121437 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121438 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121439 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121440 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121441 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121442 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121443 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121444 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121445 { (exit 1); exit 1; }; };;
121449 # If the user did not use the arguments to specify the items to instantiate,
121450 # then the envvar interface is used. Set only those that are not.
121451 # We use the long form for the default assignment because of an extremely
121452 # bizarre bug on SunOS 4.1.3.
121453 if $ac_need_defaults; then
121454 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121455 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121456 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121459 # Have a temporary directory for convenience. Make it in the build tree
121460 # simply because there is no reason to put it here, and in addition,
121461 # creating and moving files from /tmp can sometimes cause problems.
121462 # Create a temporary directory, and hook for its removal unless debugging.
121463 $debug ||
121465 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121466 trap '{ (exit 1); exit 1; }' 1 2 13 15
121469 # Create a (secure) tmp directory for tmp files.
121472 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121473 test -n "$tmp" && test -d "$tmp"
121476 tmp=./confstat$$-$RANDOM
121477 (umask 077 && mkdir $tmp)
121480 echo "$me: cannot create a temporary directory in ." >&2
121481 { (exit 1); exit 1; }
121484 _ACEOF
121486 cat >>$CONFIG_STATUS <<_ACEOF
121489 # CONFIG_FILES section.
121492 # No need to generate the scripts if there are no CONFIG_FILES.
121493 # This happens for instance when ./config.status config.h
121494 if test -n "\$CONFIG_FILES"; then
121495 # Protect against being on the right side of a sed subst in config.status.
121496 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121497 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121498 s,@SHELL@,$SHELL,;t t
121499 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121500 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121501 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121502 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121503 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121504 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121505 s,@exec_prefix@,$exec_prefix,;t t
121506 s,@prefix@,$prefix,;t t
121507 s,@program_transform_name@,$program_transform_name,;t t
121508 s,@bindir@,$bindir,;t t
121509 s,@sbindir@,$sbindir,;t t
121510 s,@libexecdir@,$libexecdir,;t t
121511 s,@datadir@,$datadir,;t t
121512 s,@sysconfdir@,$sysconfdir,;t t
121513 s,@sharedstatedir@,$sharedstatedir,;t t
121514 s,@localstatedir@,$localstatedir,;t t
121515 s,@libdir@,$libdir,;t t
121516 s,@includedir@,$includedir,;t t
121517 s,@oldincludedir@,$oldincludedir,;t t
121518 s,@infodir@,$infodir,;t t
121519 s,@mandir@,$mandir,;t t
121520 s,@build_alias@,$build_alias,;t t
121521 s,@host_alias@,$host_alias,;t t
121522 s,@target_alias@,$target_alias,;t t
121523 s,@DEFS@,$DEFS,;t t
121524 s,@ECHO_C@,$ECHO_C,;t t
121525 s,@ECHO_N@,$ECHO_N,;t t
121526 s,@ECHO_T@,$ECHO_T,;t t
121527 s,@LIBS@,$LIBS,;t t
121528 s,@libtool_VERSION@,$libtool_VERSION,;t t
121529 s,@multi_basedir@,$multi_basedir,;t t
121530 s,@build@,$build,;t t
121531 s,@build_cpu@,$build_cpu,;t t
121532 s,@build_vendor@,$build_vendor,;t t
121533 s,@build_os@,$build_os,;t t
121534 s,@host@,$host,;t t
121535 s,@host_cpu@,$host_cpu,;t t
121536 s,@host_vendor@,$host_vendor,;t t
121537 s,@host_os@,$host_os,;t t
121538 s,@target@,$target,;t t
121539 s,@target_cpu@,$target_cpu,;t t
121540 s,@target_vendor@,$target_vendor,;t t
121541 s,@target_os@,$target_os,;t t
121542 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121543 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121544 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121545 s,@CYGPATH_W@,$CYGPATH_W,;t t
121546 s,@PACKAGE@,$PACKAGE,;t t
121547 s,@VERSION@,$VERSION,;t t
121548 s,@ACLOCAL@,$ACLOCAL,;t t
121549 s,@AUTOCONF@,$AUTOCONF,;t t
121550 s,@AUTOMAKE@,$AUTOMAKE,;t t
121551 s,@AUTOHEADER@,$AUTOHEADER,;t t
121552 s,@MAKEINFO@,$MAKEINFO,;t t
121553 s,@install_sh@,$install_sh,;t t
121554 s,@STRIP@,$STRIP,;t t
121555 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121556 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121557 s,@mkdir_p@,$mkdir_p,;t t
121558 s,@AWK@,$AWK,;t t
121559 s,@SET_MAKE@,$SET_MAKE,;t t
121560 s,@am__leading_dot@,$am__leading_dot,;t t
121561 s,@AMTAR@,$AMTAR,;t t
121562 s,@am__tar@,$am__tar,;t t
121563 s,@am__untar@,$am__untar,;t t
121564 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121565 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121566 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121567 s,@CC@,$CC,;t t
121568 s,@ac_ct_CC@,$ac_ct_CC,;t t
121569 s,@EXEEXT@,$EXEEXT,;t t
121570 s,@OBJEXT@,$OBJEXT,;t t
121571 s,@CXX@,$CXX,;t t
121572 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121573 s,@CFLAGS@,$CFLAGS,;t t
121574 s,@CXXFLAGS@,$CXXFLAGS,;t t
121575 s,@LN_S@,$LN_S,;t t
121576 s,@AS@,$AS,;t t
121577 s,@ac_ct_AS@,$ac_ct_AS,;t t
121578 s,@AR@,$AR,;t t
121579 s,@ac_ct_AR@,$ac_ct_AR,;t t
121580 s,@RANLIB@,$RANLIB,;t t
121581 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121582 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121583 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121584 s,@MAINT@,$MAINT,;t t
121585 s,@CPP@,$CPP,;t t
121586 s,@CPPFLAGS@,$CPPFLAGS,;t t
121587 s,@EGREP@,$EGREP,;t t
121588 s,@LIBTOOL@,$LIBTOOL,;t t
121589 s,@SED@,$SED,;t t
121590 s,@FGREP@,$FGREP,;t t
121591 s,@GREP@,$GREP,;t t
121592 s,@LD@,$LD,;t t
121593 s,@DUMPBIN@,$DUMPBIN,;t t
121594 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121595 s,@NM@,$NM,;t t
121596 s,@lt_ECHO@,$lt_ECHO,;t t
121597 s,@LDFLAGS@,$LDFLAGS,;t t
121598 s,@CXXCPP@,$CXXCPP,;t t
121599 s,@enable_shared@,$enable_shared,;t t
121600 s,@enable_static@,$enable_static,;t t
121601 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121602 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121603 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121604 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121605 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121606 s,@CSTDIO_H@,$CSTDIO_H,;t t
121607 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121608 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121609 s,@check_msgfmt@,$check_msgfmt,;t t
121610 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121611 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121612 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121613 s,@USE_NLS@,$USE_NLS,;t t
121614 s,@CLOCALE_H@,$CLOCALE_H,;t t
121615 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121616 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121617 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121618 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121619 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121620 s,@CMONEY_CC@,$CMONEY_CC,;t t
121621 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121622 s,@CTIME_H@,$CTIME_H,;t t
121623 s,@CTIME_CC@,$CTIME_CC,;t t
121624 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121625 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121626 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121627 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121628 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121629 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121630 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121631 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121632 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121633 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121634 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121635 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121636 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121637 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121638 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121639 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121640 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121641 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121642 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121643 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121644 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121645 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121646 s,@WERROR@,$WERROR,;t t
121647 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121648 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121649 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121650 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121651 s,@LIBICONV@,$LIBICONV,;t t
121652 s,@LTLIBICONV@,$LTLIBICONV,;t t
121653 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121654 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121655 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121656 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121657 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121658 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121659 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121660 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121661 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121662 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121663 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121664 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121665 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121666 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121667 s,@baseline_dir@,$baseline_dir,;t t
121668 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121669 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121670 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121671 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121672 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121673 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121674 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121675 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
121676 s,@gxx_include_dir@,$gxx_include_dir,;t t
121677 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
121678 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
121679 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
121680 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
121681 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
121682 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
121683 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
121684 s,@LIBOBJS@,$LIBOBJS,;t t
121685 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
121688 _ACEOF
121690 cat >>$CONFIG_STATUS <<\_ACEOF
121691 # Split the substitutions into bite-sized pieces for seds with
121692 # small command number limits, like on Digital OSF/1 and HP-UX.
121693 ac_max_sed_lines=48
121694 ac_sed_frag=1 # Number of current file.
121695 ac_beg=1 # First line for current file.
121696 ac_end=$ac_max_sed_lines # Line after last line for current file.
121697 ac_more_lines=:
121698 ac_sed_cmds=
121699 while $ac_more_lines; do
121700 if test $ac_beg -gt 1; then
121701 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121703 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121705 if test ! -s $tmp/subs.frag; then
121706 ac_more_lines=false
121708 # The purpose of the label and of the branching condition is to
121709 # speed up the sed processing (if there are no `@' at all, there
121710 # is no need to browse any of the substitutions).
121711 # These are the two extra sed commands mentioned above.
121712 (echo ':t
121713 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
121714 if test -z "$ac_sed_cmds"; then
121715 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
121717 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
121719 ac_sed_frag=`expr $ac_sed_frag + 1`
121720 ac_beg=$ac_end
121721 ac_end=`expr $ac_end + $ac_max_sed_lines`
121724 if test -z "$ac_sed_cmds"; then
121725 ac_sed_cmds=cat
121727 fi # test -n "$CONFIG_FILES"
121729 _ACEOF
121730 cat >>$CONFIG_STATUS <<\_ACEOF
121731 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
121732 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121733 case $ac_file in
121734 - | *:- | *:-:* ) # input from stdin
121735 cat >$tmp/stdin
121736 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121737 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121738 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121739 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121740 * ) ac_file_in=$ac_file.in ;;
121743 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
121744 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
121745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121746 X"$ac_file" : 'X\(//\)[^/]' \| \
121747 X"$ac_file" : 'X\(//\)$' \| \
121748 X"$ac_file" : 'X\(/\)' \| \
121749 . : '\(.\)' 2>/dev/null ||
121750 echo X"$ac_file" |
121751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121753 /^X\(\/\/\)$/{ s//\1/; q; }
121754 /^X\(\/\).*/{ s//\1/; q; }
121755 s/.*/./; q'`
121756 { if $as_mkdir_p; then
121757 mkdir -p "$ac_dir"
121759 as_dir="$ac_dir"
121760 as_dirs=
121761 while test ! -d "$as_dir"; do
121762 as_dirs="$as_dir $as_dirs"
121763 as_dir=`(dirname "$as_dir") 2>/dev/null ||
121764 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121765 X"$as_dir" : 'X\(//\)[^/]' \| \
121766 X"$as_dir" : 'X\(//\)$' \| \
121767 X"$as_dir" : 'X\(/\)' \| \
121768 . : '\(.\)' 2>/dev/null ||
121769 echo X"$as_dir" |
121770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121771 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121772 /^X\(\/\/\)$/{ s//\1/; q; }
121773 /^X\(\/\).*/{ s//\1/; q; }
121774 s/.*/./; q'`
121776 test ! -n "$as_dirs" || mkdir $as_dirs
121777 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121778 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121779 { (exit 1); exit 1; }; }; }
121781 ac_builddir=.
121783 if test "$ac_dir" != .; then
121784 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
121785 # A "../" for each directory in $ac_dir_suffix.
121786 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
121788 ac_dir_suffix= ac_top_builddir=
121791 case $srcdir in
121792 .) # No --srcdir option. We are building in place.
121793 ac_srcdir=.
121794 if test -z "$ac_top_builddir"; then
121795 ac_top_srcdir=.
121797 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
121798 fi ;;
121799 [\\/]* | ?:[\\/]* ) # Absolute path.
121800 ac_srcdir=$srcdir$ac_dir_suffix;
121801 ac_top_srcdir=$srcdir ;;
121802 *) # Relative path.
121803 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
121804 ac_top_srcdir=$ac_top_builddir$srcdir ;;
121807 # Do not use `cd foo && pwd` to compute absolute paths, because
121808 # the directories may not exist.
121809 case `pwd` in
121810 .) ac_abs_builddir="$ac_dir";;
121812 case "$ac_dir" in
121813 .) ac_abs_builddir=`pwd`;;
121814 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
121815 *) ac_abs_builddir=`pwd`/"$ac_dir";;
121816 esac;;
121818 case $ac_abs_builddir in
121819 .) ac_abs_top_builddir=${ac_top_builddir}.;;
121821 case ${ac_top_builddir}. in
121822 .) ac_abs_top_builddir=$ac_abs_builddir;;
121823 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
121824 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
121825 esac;;
121827 case $ac_abs_builddir in
121828 .) ac_abs_srcdir=$ac_srcdir;;
121830 case $ac_srcdir in
121831 .) ac_abs_srcdir=$ac_abs_builddir;;
121832 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
121833 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
121834 esac;;
121836 case $ac_abs_builddir in
121837 .) ac_abs_top_srcdir=$ac_top_srcdir;;
121839 case $ac_top_srcdir in
121840 .) ac_abs_top_srcdir=$ac_abs_builddir;;
121841 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
121842 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
121843 esac;;
121847 case $INSTALL in
121848 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
121849 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
121852 if test x"$ac_file" != x-; then
121853 { echo "$as_me:$LINENO: creating $ac_file" >&5
121854 echo "$as_me: creating $ac_file" >&6;}
121855 rm -f "$ac_file"
121857 # Let's still pretend it is `configure' which instantiates (i.e., don't
121858 # use $as_me), people would be surprised to read:
121859 # /* config.h. Generated by config.status. */
121860 if test x"$ac_file" = x-; then
121861 configure_input=
121863 configure_input="$ac_file. "
121865 configure_input=$configure_input"Generated from `echo $ac_file_in |
121866 sed 's,.*/,,'` by configure."
121868 # First look for the input files in the build tree, otherwise in the
121869 # src tree.
121870 ac_file_inputs=`IFS=:
121871 for f in $ac_file_in; do
121872 case $f in
121873 -) echo $tmp/stdin ;;
121874 [\\/$]*)
121875 # Absolute (can't be DOS-style, as IFS=:)
121876 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121877 echo "$as_me: error: cannot find input file: $f" >&2;}
121878 { (exit 1); exit 1; }; }
121879 echo "$f";;
121880 *) # Relative
121881 if test -f "$f"; then
121882 # Build tree
121883 echo "$f"
121884 elif test -f "$srcdir/$f"; then
121885 # Source tree
121886 echo "$srcdir/$f"
121888 # /dev/null tree
121889 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121890 echo "$as_me: error: cannot find input file: $f" >&2;}
121891 { (exit 1); exit 1; }; }
121894 done` || { (exit 1); exit 1; }
121895 _ACEOF
121896 cat >>$CONFIG_STATUS <<_ACEOF
121897 sed "$ac_vpsub
121898 $extrasub
121899 _ACEOF
121900 cat >>$CONFIG_STATUS <<\_ACEOF
121902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
121903 s,@configure_input@,$configure_input,;t t
121904 s,@srcdir@,$ac_srcdir,;t t
121905 s,@abs_srcdir@,$ac_abs_srcdir,;t t
121906 s,@top_srcdir@,$ac_top_srcdir,;t t
121907 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
121908 s,@builddir@,$ac_builddir,;t t
121909 s,@abs_builddir@,$ac_abs_builddir,;t t
121910 s,@top_builddir@,$ac_top_builddir,;t t
121911 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
121912 s,@INSTALL@,$ac_INSTALL,;t t
121913 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
121914 rm -f $tmp/stdin
121915 if test x"$ac_file" != x-; then
121916 mv $tmp/out $ac_file
121918 cat $tmp/out
121919 rm -f $tmp/out
121922 # Run the commands associated with the file.
121923 case $ac_file in
121924 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
121927 _ACEOF
121928 cat >>$CONFIG_STATUS <<\_ACEOF
121931 # CONFIG_HEADER section.
121934 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
121935 # NAME is the cpp macro being defined and VALUE is the value it is being given.
121937 # ac_d sets the value in "#define NAME VALUE" lines.
121938 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
121939 ac_dB='[ ].*$,\1#\2'
121940 ac_dC=' '
121941 ac_dD=',;t'
121942 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
121943 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
121944 ac_uB='$,\1#\2define\3'
121945 ac_uC=' '
121946 ac_uD=',;t'
121948 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
121949 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121950 case $ac_file in
121951 - | *:- | *:-:* ) # input from stdin
121952 cat >$tmp/stdin
121953 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121954 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121955 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121956 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121957 * ) ac_file_in=$ac_file.in ;;
121960 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
121961 echo "$as_me: creating $ac_file" >&6;}
121963 # First look for the input files in the build tree, otherwise in the
121964 # src tree.
121965 ac_file_inputs=`IFS=:
121966 for f in $ac_file_in; do
121967 case $f in
121968 -) echo $tmp/stdin ;;
121969 [\\/$]*)
121970 # Absolute (can't be DOS-style, as IFS=:)
121971 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121972 echo "$as_me: error: cannot find input file: $f" >&2;}
121973 { (exit 1); exit 1; }; }
121974 # Do quote $f, to prevent DOS paths from being IFS'd.
121975 echo "$f";;
121976 *) # Relative
121977 if test -f "$f"; then
121978 # Build tree
121979 echo "$f"
121980 elif test -f "$srcdir/$f"; then
121981 # Source tree
121982 echo "$srcdir/$f"
121984 # /dev/null tree
121985 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121986 echo "$as_me: error: cannot find input file: $f" >&2;}
121987 { (exit 1); exit 1; }; }
121990 done` || { (exit 1); exit 1; }
121991 # Remove the trailing spaces.
121992 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
121994 _ACEOF
121996 # Transform confdefs.h into two sed scripts, `conftest.defines' and
121997 # `conftest.undefs', that substitutes the proper values into
121998 # config.h.in to produce config.h. The first handles `#define'
121999 # templates, and the second `#undef' templates.
122000 # And first: Protect against being on the right side of a sed subst in
122001 # config.status. Protect against being in an unquoted here document
122002 # in config.status.
122003 rm -f conftest.defines conftest.undefs
122004 # Using a here document instead of a string reduces the quoting nightmare.
122005 # Putting comments in sed scripts is not portable.
122007 # `end' is used to avoid that the second main sed command (meant for
122008 # 0-ary CPP macros) applies to n-ary macro definitions.
122009 # See the Autoconf documentation for `clear'.
122010 cat >confdef2sed.sed <<\_ACEOF
122011 s/[\\&,]/\\&/g
122012 s,[\\$`],\\&,g
122013 t clear
122014 : clear
122015 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122016 t end
122017 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122018 : end
122019 _ACEOF
122020 # If some macros were called several times there might be several times
122021 # the same #defines, which is useless. Nevertheless, we may not want to
122022 # sort them, since we want the *last* AC-DEFINE to be honored.
122023 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122024 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122025 rm -f confdef2sed.sed
122027 # This sed command replaces #undef with comments. This is necessary, for
122028 # example, in the case of _POSIX_SOURCE, which is predefined and required
122029 # on some systems where configure will not decide to define it.
122030 cat >>conftest.undefs <<\_ACEOF
122031 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122032 _ACEOF
122034 # Break up conftest.defines because some shells have a limit on the size
122035 # of here documents, and old seds have small limits too (100 cmds).
122036 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122037 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122038 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122039 echo ' :' >>$CONFIG_STATUS
122040 rm -f conftest.tail
122041 while grep . conftest.defines >/dev/null
122043 # Write a limited-size here document to $tmp/defines.sed.
122044 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122045 # Speed up: don't consider the non `#define' lines.
122046 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122047 # Work around the forget-to-reset-the-flag bug.
122048 echo 't clr' >>$CONFIG_STATUS
122049 echo ': clr' >>$CONFIG_STATUS
122050 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122051 echo 'CEOF
122052 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122053 rm -f $tmp/in
122054 mv $tmp/out $tmp/in
122055 ' >>$CONFIG_STATUS
122056 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122057 rm -f conftest.defines
122058 mv conftest.tail conftest.defines
122060 rm -f conftest.defines
122061 echo ' fi # grep' >>$CONFIG_STATUS
122062 echo >>$CONFIG_STATUS
122064 # Break up conftest.undefs because some shells have a limit on the size
122065 # of here documents, and old seds have small limits too (100 cmds).
122066 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122067 rm -f conftest.tail
122068 while grep . conftest.undefs >/dev/null
122070 # Write a limited-size here document to $tmp/undefs.sed.
122071 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122072 # Speed up: don't consider the non `#undef'
122073 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122074 # Work around the forget-to-reset-the-flag bug.
122075 echo 't clr' >>$CONFIG_STATUS
122076 echo ': clr' >>$CONFIG_STATUS
122077 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122078 echo 'CEOF
122079 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122080 rm -f $tmp/in
122081 mv $tmp/out $tmp/in
122082 ' >>$CONFIG_STATUS
122083 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122084 rm -f conftest.undefs
122085 mv conftest.tail conftest.undefs
122087 rm -f conftest.undefs
122089 cat >>$CONFIG_STATUS <<\_ACEOF
122090 # Let's still pretend it is `configure' which instantiates (i.e., don't
122091 # use $as_me), people would be surprised to read:
122092 # /* config.h. Generated by config.status. */
122093 if test x"$ac_file" = x-; then
122094 echo "/* Generated by configure. */" >$tmp/config.h
122096 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122098 cat $tmp/in >>$tmp/config.h
122099 rm -f $tmp/in
122100 if test x"$ac_file" != x-; then
122101 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122102 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122103 echo "$as_me: $ac_file is unchanged" >&6;}
122105 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122106 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122107 X"$ac_file" : 'X\(//\)[^/]' \| \
122108 X"$ac_file" : 'X\(//\)$' \| \
122109 X"$ac_file" : 'X\(/\)' \| \
122110 . : '\(.\)' 2>/dev/null ||
122111 echo X"$ac_file" |
122112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122114 /^X\(\/\/\)$/{ s//\1/; q; }
122115 /^X\(\/\).*/{ s//\1/; q; }
122116 s/.*/./; q'`
122117 { if $as_mkdir_p; then
122118 mkdir -p "$ac_dir"
122120 as_dir="$ac_dir"
122121 as_dirs=
122122 while test ! -d "$as_dir"; do
122123 as_dirs="$as_dir $as_dirs"
122124 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122126 X"$as_dir" : 'X\(//\)[^/]' \| \
122127 X"$as_dir" : 'X\(//\)$' \| \
122128 X"$as_dir" : 'X\(/\)' \| \
122129 . : '\(.\)' 2>/dev/null ||
122130 echo X"$as_dir" |
122131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122133 /^X\(\/\/\)$/{ s//\1/; q; }
122134 /^X\(\/\).*/{ s//\1/; q; }
122135 s/.*/./; q'`
122137 test ! -n "$as_dirs" || mkdir $as_dirs
122138 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122139 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122140 { (exit 1); exit 1; }; }; }
122142 rm -f $ac_file
122143 mv $tmp/config.h $ac_file
122146 cat $tmp/config.h
122147 rm -f $tmp/config.h
122149 # Compute $ac_file's index in $config_headers.
122150 _am_stamp_count=1
122151 for _am_header in $config_headers :; do
122152 case $_am_header in
122153 $ac_file | $ac_file:* )
122154 break ;;
122156 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122159 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122160 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122161 X$ac_file : 'X\(//\)[^/]' \| \
122162 X$ac_file : 'X\(//\)$' \| \
122163 X$ac_file : 'X\(/\)' \| \
122164 . : '\(.\)' 2>/dev/null ||
122165 echo X$ac_file |
122166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122167 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122168 /^X\(\/\/\)$/{ s//\1/; q; }
122169 /^X\(\/\).*/{ s//\1/; q; }
122170 s/.*/./; q'`/stamp-h$_am_stamp_count
122172 _ACEOF
122173 cat >>$CONFIG_STATUS <<\_ACEOF
122176 # CONFIG_COMMANDS section.
122178 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122179 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122180 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122181 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122182 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122183 X"$ac_dest" : 'X\(//\)[^/]' \| \
122184 X"$ac_dest" : 'X\(//\)$' \| \
122185 X"$ac_dest" : 'X\(/\)' \| \
122186 . : '\(.\)' 2>/dev/null ||
122187 echo X"$ac_dest" |
122188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122190 /^X\(\/\/\)$/{ s//\1/; q; }
122191 /^X\(\/\).*/{ s//\1/; q; }
122192 s/.*/./; q'`
122193 { if $as_mkdir_p; then
122194 mkdir -p "$ac_dir"
122196 as_dir="$ac_dir"
122197 as_dirs=
122198 while test ! -d "$as_dir"; do
122199 as_dirs="$as_dir $as_dirs"
122200 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122202 X"$as_dir" : 'X\(//\)[^/]' \| \
122203 X"$as_dir" : 'X\(//\)$' \| \
122204 X"$as_dir" : 'X\(/\)' \| \
122205 . : '\(.\)' 2>/dev/null ||
122206 echo X"$as_dir" |
122207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122209 /^X\(\/\/\)$/{ s//\1/; q; }
122210 /^X\(\/\).*/{ s//\1/; q; }
122211 s/.*/./; q'`
122213 test ! -n "$as_dirs" || mkdir $as_dirs
122214 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122215 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122216 { (exit 1); exit 1; }; }; }
122218 ac_builddir=.
122220 if test "$ac_dir" != .; then
122221 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122222 # A "../" for each directory in $ac_dir_suffix.
122223 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122225 ac_dir_suffix= ac_top_builddir=
122228 case $srcdir in
122229 .) # No --srcdir option. We are building in place.
122230 ac_srcdir=.
122231 if test -z "$ac_top_builddir"; then
122232 ac_top_srcdir=.
122234 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122235 fi ;;
122236 [\\/]* | ?:[\\/]* ) # Absolute path.
122237 ac_srcdir=$srcdir$ac_dir_suffix;
122238 ac_top_srcdir=$srcdir ;;
122239 *) # Relative path.
122240 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122241 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122244 # Do not use `cd foo && pwd` to compute absolute paths, because
122245 # the directories may not exist.
122246 case `pwd` in
122247 .) ac_abs_builddir="$ac_dir";;
122249 case "$ac_dir" in
122250 .) ac_abs_builddir=`pwd`;;
122251 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122252 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122253 esac;;
122255 case $ac_abs_builddir in
122256 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122258 case ${ac_top_builddir}. in
122259 .) ac_abs_top_builddir=$ac_abs_builddir;;
122260 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122261 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122262 esac;;
122264 case $ac_abs_builddir in
122265 .) ac_abs_srcdir=$ac_srcdir;;
122267 case $ac_srcdir in
122268 .) ac_abs_srcdir=$ac_abs_builddir;;
122269 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122270 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122271 esac;;
122273 case $ac_abs_builddir in
122274 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122276 case $ac_top_srcdir in
122277 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122278 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122279 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122280 esac;;
122284 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122285 echo "$as_me: executing $ac_dest commands" >&6;}
122286 case $ac_dest in
122287 default-1 )
122288 # Only add multilib support code if we just rebuilt the top-level
122289 # Makefile.
122290 case " $CONFIG_FILES " in
122291 *" Makefile "*)
122292 ac_file=Makefile . ${multi_basedir}/config-ml.in
122294 esac ;;
122295 libtool )
122297 # See if we are running on zsh, and set the options which allow our
122298 # commands through without removal of \ escapes.
122299 if test -n "${ZSH_VERSION+set}" ; then
122300 setopt NO_GLOB_SUBST
122303 cfgfile="${ofile}T"
122304 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122305 $RM "$cfgfile"
122307 cat <<_LT_EOF >> "$cfgfile"
122308 #! $SHELL
122310 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122311 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122312 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122313 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122315 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122316 # 2006, 2007 Free Software Foundation, Inc.
122318 # This file is part of GNU Libtool:
122319 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122321 # This program is free software; you can redistribute it and/or modify
122322 # it under the terms of the GNU General Public License as published by
122323 # the Free Software Foundation; either version 2 of the License, or
122324 # (at your option) any later version.
122326 # This program is distributed in the hope that it will be useful, but
122327 # WITHOUT ANY WARRANTY; without even the implied warranty of
122328 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122329 # General Public License for more details.
122331 # You should have received a copy of the GNU General Public License
122332 # along with this program; if not, a copy can be downloaded from
122333 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122334 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122335 # MA 02110-1301, USA.
122337 # As a special exception to the GNU General Public License, if you
122338 # distribute this file as part of a program that contains a
122339 # configuration script generated by Autoconf, you may include it under
122340 # the same distribution terms that you use for the rest of that program.
122343 # The names of the tagged configurations supported by this script.
122344 available_tags="CXX "
122346 # ### BEGIN LIBTOOL CONFIG
122348 # Which release of libtool.m4 was used?
122349 macro_version=$macro_version
122350 macro_revision=$macro_revision
122352 # Whether or not to build shared libraries.
122353 build_libtool_libs=$enable_shared
122355 # Whether or not to build static libraries.
122356 build_old_libs=$enable_static
122358 # What type of objects to build.
122359 pic_mode=$pic_mode
122361 # Whether or not to optimize for fast installation.
122362 fast_install=$enable_fast_install
122364 # The host system.
122365 host_alias=$host_alias
122366 host=$host
122367 host_os=$host_os
122369 # The build system.
122370 build_alias=$build_alias
122371 build=$build
122372 build_os=$build_os
122374 # A sed program that does not truncate output.
122375 SED=$lt_SED
122377 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122378 Xsed="\$SED -e 1s/^X//"
122380 # A grep program that handles long lines.
122381 GREP=$lt_GREP
122383 # An ERE matcher.
122384 EGREP=$lt_EGREP
122386 # A literal string matcher.
122387 FGREP=$lt_FGREP
122389 # A BSD- or MS-compatible name lister.
122390 NM=$lt_NM
122392 # Whether we need soft or hard links.
122393 LN_S=$lt_LN_S
122395 # What is the maximum length of a command?
122396 max_cmd_len=$max_cmd_len
122398 # Object file suffix (normally "o").
122399 objext=$ac_objext
122401 # Executable file suffix (normally "").
122402 exeext=$exeext
122404 # whether the shell understands "unset".
122405 lt_unset=$lt_unset
122407 # turn spaces into newlines.
122408 SP2NL=$lt_lt_SP2NL
122410 # turn newlines into spaces.
122411 NL2SP=$lt_lt_NL2SP
122413 # How to create reloadable object files.
122414 reload_flag=$lt_reload_flag
122415 reload_cmds=$lt_reload_cmds
122417 # Method to check whether dependent libraries are shared objects.
122418 deplibs_check_method=$lt_deplibs_check_method
122420 # Command to use when deplibs_check_method == "file_magic".
122421 file_magic_cmd=$lt_file_magic_cmd
122423 # The archiver.
122424 AR=$lt_AR
122425 AR_FLAGS=$lt_AR_FLAGS
122427 # A symbol stripping program.
122428 STRIP=$lt_STRIP
122430 # Commands used to install an old-style archive.
122431 RANLIB=$lt_RANLIB
122432 old_postinstall_cmds=$lt_old_postinstall_cmds
122433 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122435 # A C compiler.
122436 LTCC=$lt_CC
122438 # LTCC compiler flags.
122439 LTCFLAGS=$lt_CFLAGS
122441 # Take the output of nm and produce a listing of raw symbols and C names.
122442 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122444 # Transform the output of nm in a proper C declaration.
122445 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122447 # Transform the output of nm in a C name address pair.
122448 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122450 # The name of the directory that contains temporary libtool files.
122451 objdir=$objdir
122453 # Shell to use when invoking shell scripts.
122454 SHELL=$lt_SHELL
122456 # An echo program that does not interpret backslashes.
122457 ECHO=$lt_ECHO
122459 # Used to examine libraries when file_magic_cmd begins with "file".
122460 MAGIC_CMD=$MAGIC_CMD
122462 # Must we lock files when doing compilation?
122463 need_locks=$lt_need_locks
122465 # Old archive suffix (normally "a").
122466 libext=$libext
122468 # Shared library suffix (normally ".so").
122469 shrext_cmds=$lt_shrext_cmds
122471 # The commands to extract the exported symbol list from a shared archive.
122472 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122474 # Variables whose values should be saved in libtool wrapper scripts and
122475 # restored at link time.
122476 variables_saved_for_relink=$lt_variables_saved_for_relink
122478 # Do we need the "lib" prefix for modules?
122479 need_lib_prefix=$need_lib_prefix
122481 # Do we need a version for libraries?
122482 need_version=$need_version
122484 # Library versioning type.
122485 version_type=$version_type
122487 # Shared library runtime path variable.
122488 runpath_var=$runpath_var
122490 # Shared library path variable.
122491 shlibpath_var=$shlibpath_var
122493 # Is shlibpath searched before the hard-coded library search path?
122494 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122496 # Format of library name prefix.
122497 libname_spec=$lt_libname_spec
122499 # List of archive names. First name is the real one, the rest are links.
122500 # The last name is the one that the linker finds with -lNAME
122501 library_names_spec=$lt_library_names_spec
122503 # The coded name of the library, if different from the real name.
122504 soname_spec=$lt_soname_spec
122506 # Command to use after installation of a shared archive.
122507 postinstall_cmds=$lt_postinstall_cmds
122509 # Command to use after uninstallation of a shared archive.
122510 postuninstall_cmds=$lt_postuninstall_cmds
122512 # Commands used to finish a libtool library installation in a directory.
122513 finish_cmds=$lt_finish_cmds
122515 # As "finish_cmds", except a single script fragment to be evaled but
122516 # not shown.
122517 finish_eval=$lt_finish_eval
122519 # Whether we should hardcode library paths into libraries.
122520 hardcode_into_libs=$hardcode_into_libs
122522 # Compile-time system search path for libraries.
122523 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122525 # Run-time system search path for libraries.
122526 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122528 # Whether dlopen is supported.
122529 dlopen_support=$enable_dlopen
122531 # Whether dlopen of programs is supported.
122532 dlopen_self=$enable_dlopen_self
122534 # Whether dlopen of statically linked programs is supported.
122535 dlopen_self_static=$enable_dlopen_self_static
122537 # Commands to strip libraries.
122538 old_striplib=$lt_old_striplib
122539 striplib=$lt_striplib
122542 # The linker used to build libraries.
122543 LD=$lt_LD
122545 # Commands used to build an old-style archive.
122546 old_archive_cmds=$lt_old_archive_cmds
122548 # A language specific compiler.
122549 CC=$lt_compiler
122551 # Is the compiler the GNU compiler?
122552 with_gcc=$GCC
122554 # Compiler flag to turn off builtin functions.
122555 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122557 # How to pass a linker flag through the compiler.
122558 wl=$lt_lt_prog_compiler_wl
122560 # Additional compiler flags for building library objects.
122561 pic_flag=$lt_lt_prog_compiler_pic
122563 # Compiler flag to prevent dynamic linking.
122564 link_static_flag=$lt_lt_prog_compiler_static
122566 # Does compiler simultaneously support -c and -o options?
122567 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122569 # Whether or not to add -lc for building shared libraries.
122570 build_libtool_need_lc=$archive_cmds_need_lc
122572 # Whether or not to disallow shared libs when runtime libs are static.
122573 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122575 # Compiler flag to allow reflexive dlopens.
122576 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122578 # Compiler flag to generate shared objects directly from archives.
122579 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122581 # Whether the compiler copes with passing no objects directly.
122582 compiler_needs_object=$lt_compiler_needs_object
122584 # Create an old-style archive from a shared archive.
122585 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122587 # Create a temporary old-style archive to link instead of a shared archive.
122588 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122590 # Commands used to build a shared archive.
122591 archive_cmds=$lt_archive_cmds
122592 archive_expsym_cmds=$lt_archive_expsym_cmds
122594 # Commands used to build a loadable module if different from building
122595 # a shared archive.
122596 module_cmds=$lt_module_cmds
122597 module_expsym_cmds=$lt_module_expsym_cmds
122599 # Whether we are building with GNU ld or not.
122600 with_gnu_ld=$lt_with_gnu_ld
122602 # Flag that allows shared libraries with undefined symbols to be built.
122603 allow_undefined_flag=$lt_allow_undefined_flag
122605 # Flag that enforces no undefined symbols.
122606 no_undefined_flag=$lt_no_undefined_flag
122608 # Flag to hardcode \$libdir into a binary during linking.
122609 # This must work even if \$libdir does not exist
122610 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122612 # If ld is used when linking, flag to hardcode \$libdir into a binary
122613 # during linking. This must work even if \$libdir does not exist.
122614 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122616 # Whether we need a single "-rpath" flag with a separated argument.
122617 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122619 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122620 # DIR into the resulting binary.
122621 hardcode_direct=$hardcode_direct
122623 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122624 # DIR into the resulting binary and the resulting library dependency is
122625 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122626 # library is relocated.
122627 hardcode_direct_absolute=$hardcode_direct_absolute
122629 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122630 # into the resulting binary.
122631 hardcode_minus_L=$hardcode_minus_L
122633 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122634 # into the resulting binary.
122635 hardcode_shlibpath_var=$hardcode_shlibpath_var
122637 # Set to "yes" if building a shared library automatically hardcodes DIR
122638 # into the library and all subsequent libraries and executables linked
122639 # against it.
122640 hardcode_automatic=$hardcode_automatic
122642 # Set to yes if linker adds runtime paths of dependent libraries
122643 # to runtime path list.
122644 inherit_rpath=$inherit_rpath
122646 # Whether libtool must link a program against all its dependency libraries.
122647 link_all_deplibs=$link_all_deplibs
122649 # Fix the shell variable \$srcfile for the compiler.
122650 fix_srcfile_path=$lt_fix_srcfile_path
122652 # Set to "yes" if exported symbols are required.
122653 always_export_symbols=$always_export_symbols
122655 # The commands to list exported symbols.
122656 export_symbols_cmds=$lt_export_symbols_cmds
122658 # Symbols that should not be listed in the preloaded symbols.
122659 exclude_expsyms=$lt_exclude_expsyms
122661 # Symbols that must always be exported.
122662 include_expsyms=$lt_include_expsyms
122664 # Commands necessary for linking programs (against libraries) with templates.
122665 prelink_cmds=$lt_prelink_cmds
122667 # Specify filename containing input files.
122668 file_list_spec=$lt_file_list_spec
122670 # How to hardcode a shared library path into an executable.
122671 hardcode_action=$hardcode_action
122673 # Dependencies to place before and after the objects being linked to
122674 # create a shared library.
122675 predep_objects=$lt_predep_objects
122676 postdep_objects=$lt_postdep_objects
122677 predeps=$lt_predeps
122678 postdeps=$lt_postdeps
122680 # The library search path used internally by the compiler when linking
122681 # a shared library.
122682 compiler_lib_search_path=$lt_compiler_lib_search_path
122684 # ### END LIBTOOL CONFIG
122686 _LT_EOF
122688 case $host_os in
122689 aix3*)
122690 cat <<\_LT_EOF >> "$cfgfile"
122691 # AIX sometimes has problems with the GCC collect2 program. For some
122692 # reason, if we set the COLLECT_NAMES environment variable, the problems
122693 # vanish in a puff of smoke.
122694 if test "X${COLLECT_NAMES+set}" != Xset; then
122695 COLLECT_NAMES=
122696 export COLLECT_NAMES
122698 _LT_EOF
122703 ltmain="$ac_aux_dir/ltmain.sh"
122706 # We use sed instead of cat because bash on DJGPP gets confused if
122707 # if finds mixed CR/LF and LF-only lines. Since sed operates in
122708 # text mode, it properly converts lines to CR/LF. This bash problem
122709 # is reportedly fixed, but why not run on old versions too?
122710 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
122711 || (rm -f "$cfgfile"; exit 1)
122713 case $xsi_shell in
122715 cat << \_LT_EOF >> "$cfgfile"
122716 # func_dirname file append nondir_replacement
122717 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122718 # otherwise set result to NONDIR_REPLACEMENT.
122719 func_dirname ()
122721 case ${1} in
122722 */*) func_dirname_result="${1%/*}${2}" ;;
122723 * ) func_dirname_result="${3}" ;;
122727 # func_basename file
122728 func_basename ()
122730 func_basename_result="${1##*/}"
122733 # func_stripname prefix suffix name
122734 # strip PREFIX and SUFFIX off of NAME.
122735 # PREFIX and SUFFIX must not contain globbing or regex special
122736 # characters, hashes, percent signs, but SUFFIX may contain a leading
122737 # dot (in which case that matches only a dot).
122738 func_stripname ()
122740 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
122741 # positional parameters, so assign one to ordinary parameter first.
122742 func_stripname_result=${3}
122743 func_stripname_result=${func_stripname_result#"${1}"}
122744 func_stripname_result=${func_stripname_result%"${2}"}
122747 # func_opt_split
122748 func_opt_split ()
122750 func_opt_split_opt=${1%%=*}
122751 func_opt_split_arg=${1#*=}
122754 # func_lo2o object
122755 func_lo2o ()
122757 case ${1} in
122758 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
122759 *) func_lo2o_result=${1} ;;
122762 _LT_EOF
122764 *) # Bourne compatible functions.
122765 cat << \_LT_EOF >> "$cfgfile"
122766 # func_dirname file append nondir_replacement
122767 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122768 # otherwise set result to NONDIR_REPLACEMENT.
122769 func_dirname ()
122771 # Extract subdirectory from the argument.
122772 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
122773 if test "X$func_dirname_result" = "X${1}"; then
122774 func_dirname_result="${3}"
122776 func_dirname_result="$func_dirname_result${2}"
122780 # func_basename file
122781 func_basename ()
122783 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
122786 # func_stripname prefix suffix name
122787 # strip PREFIX and SUFFIX off of NAME.
122788 # PREFIX and SUFFIX must not contain globbing or regex special
122789 # characters, hashes, percent signs, but SUFFIX may contain a leading
122790 # dot (in which case that matches only a dot).
122791 # func_strip_suffix prefix name
122792 func_stripname ()
122794 case ${2} in
122795 .*) func_stripname_result=`$ECHO "X${3}" \
122796 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
122797 *) func_stripname_result=`$ECHO "X${3}" \
122798 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
122802 # sed scripts:
122803 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
122804 my_sed_long_arg='1s/^-[^=]*=//'
122806 # func_opt_split
122807 func_opt_split ()
122809 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
122810 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
122813 # func_lo2o object
122814 func_lo2o ()
122816 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
122818 _LT_EOF
122821 case $lt_shell_append in
122823 cat << \_LT_EOF >> "$cfgfile"
122825 # func_append var value
122826 # Append VALUE to the end of shell variable VAR.
122827 func_append ()
122829 eval "$1+=\$2"
122831 _LT_EOF
122834 cat << \_LT_EOF >> "$cfgfile"
122836 # func_append var value
122837 # Append VALUE to the end of shell variable VAR.
122838 func_append ()
122840 eval "$1=\$$1\$2"
122842 _LT_EOF
122847 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
122848 || (rm -f "$cfgfile"; exit 1)
122850 mv -f "$cfgfile" "$ofile" ||
122851 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
122852 chmod +x "$ofile"
122855 cat <<_LT_EOF >> "$ofile"
122857 # ### BEGIN LIBTOOL TAG CONFIG: CXX
122859 # The linker used to build libraries.
122860 LD=$lt_LD_CXX
122862 # Commands used to build an old-style archive.
122863 old_archive_cmds=$lt_old_archive_cmds_CXX
122865 # A language specific compiler.
122866 CC=$lt_compiler_CXX
122868 # Is the compiler the GNU compiler?
122869 with_gcc=$GCC_CXX
122871 # Compiler flag to turn off builtin functions.
122872 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
122874 # How to pass a linker flag through the compiler.
122875 wl=$lt_lt_prog_compiler_wl_CXX
122877 # Additional compiler flags for building library objects.
122878 pic_flag=$lt_lt_prog_compiler_pic_CXX
122880 # Compiler flag to prevent dynamic linking.
122881 link_static_flag=$lt_lt_prog_compiler_static_CXX
122883 # Does compiler simultaneously support -c and -o options?
122884 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
122886 # Whether or not to add -lc for building shared libraries.
122887 build_libtool_need_lc=$archive_cmds_need_lc_CXX
122889 # Whether or not to disallow shared libs when runtime libs are static.
122890 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
122892 # Compiler flag to allow reflexive dlopens.
122893 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
122895 # Compiler flag to generate shared objects directly from archives.
122896 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
122898 # Whether the compiler copes with passing no objects directly.
122899 compiler_needs_object=$lt_compiler_needs_object_CXX
122901 # Create an old-style archive from a shared archive.
122902 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
122904 # Create a temporary old-style archive to link instead of a shared archive.
122905 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
122907 # Commands used to build a shared archive.
122908 archive_cmds=$lt_archive_cmds_CXX
122909 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
122911 # Commands used to build a loadable module if different from building
122912 # a shared archive.
122913 module_cmds=$lt_module_cmds_CXX
122914 module_expsym_cmds=$lt_module_expsym_cmds_CXX
122916 # Whether we are building with GNU ld or not.
122917 with_gnu_ld=$lt_with_gnu_ld_CXX
122919 # Flag that allows shared libraries with undefined symbols to be built.
122920 allow_undefined_flag=$lt_allow_undefined_flag_CXX
122922 # Flag that enforces no undefined symbols.
122923 no_undefined_flag=$lt_no_undefined_flag_CXX
122925 # Flag to hardcode \$libdir into a binary during linking.
122926 # This must work even if \$libdir does not exist
122927 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
122929 # If ld is used when linking, flag to hardcode \$libdir into a binary
122930 # during linking. This must work even if \$libdir does not exist.
122931 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
122933 # Whether we need a single "-rpath" flag with a separated argument.
122934 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
122936 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122937 # DIR into the resulting binary.
122938 hardcode_direct=$hardcode_direct_CXX
122940 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122941 # DIR into the resulting binary and the resulting library dependency is
122942 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122943 # library is relocated.
122944 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
122946 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122947 # into the resulting binary.
122948 hardcode_minus_L=$hardcode_minus_L_CXX
122950 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122951 # into the resulting binary.
122952 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
122954 # Set to "yes" if building a shared library automatically hardcodes DIR
122955 # into the library and all subsequent libraries and executables linked
122956 # against it.
122957 hardcode_automatic=$hardcode_automatic_CXX
122959 # Set to yes if linker adds runtime paths of dependent libraries
122960 # to runtime path list.
122961 inherit_rpath=$inherit_rpath_CXX
122963 # Whether libtool must link a program against all its dependency libraries.
122964 link_all_deplibs=$link_all_deplibs_CXX
122966 # Fix the shell variable \$srcfile for the compiler.
122967 fix_srcfile_path=$lt_fix_srcfile_path_CXX
122969 # Set to "yes" if exported symbols are required.
122970 always_export_symbols=$always_export_symbols_CXX
122972 # The commands to list exported symbols.
122973 export_symbols_cmds=$lt_export_symbols_cmds_CXX
122975 # Symbols that should not be listed in the preloaded symbols.
122976 exclude_expsyms=$lt_exclude_expsyms_CXX
122978 # Symbols that must always be exported.
122979 include_expsyms=$lt_include_expsyms_CXX
122981 # Commands necessary for linking programs (against libraries) with templates.
122982 prelink_cmds=$lt_prelink_cmds_CXX
122984 # Specify filename containing input files.
122985 file_list_spec=$lt_file_list_spec_CXX
122987 # How to hardcode a shared library path into an executable.
122988 hardcode_action=$hardcode_action_CXX
122990 # Dependencies to place before and after the objects being linked to
122991 # create a shared library.
122992 predep_objects=$lt_predep_objects_CXX
122993 postdep_objects=$lt_postdep_objects_CXX
122994 predeps=$lt_predeps_CXX
122995 postdeps=$lt_postdeps_CXX
122997 # The library search path used internally by the compiler when linking
122998 # a shared library.
122999 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
123001 # ### END LIBTOOL TAG CONFIG: CXX
123002 _LT_EOF
123005 include/gstdint.h )
123006 if test "$GCC" = yes; then
123007 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
123009 echo "/* generated for $CC */" > tmp-stdint.h
123012 sed 's/^ *//' >> tmp-stdint.h <<EOF
123014 #ifndef GCC_GENERATED_STDINT_H
123015 #define GCC_GENERATED_STDINT_H 1
123017 #include <sys/types.h>
123020 if test "$acx_cv_header_stdint" != stdint.h; then
123021 echo "#include <stddef.h>" >> tmp-stdint.h
123023 if test "$acx_cv_header_stdint" != stddef.h; then
123024 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123027 sed 's/^ *//' >> tmp-stdint.h <<EOF
123028 /* glibc uses these symbols as guards to prevent redefinitions. */
123029 #ifdef __int8_t_defined
123030 #define _INT8_T
123031 #define _INT16_T
123032 #define _INT32_T
123033 #endif
123034 #ifdef __uint32_t_defined
123035 #define _UINT32_T
123036 #endif
123040 # ----------------- done header, emit basic int types -------------
123041 if test "$acx_cv_header_stdint" = stddef.h; then
123042 sed 's/^ *//' >> tmp-stdint.h <<EOF
123044 #ifndef _UINT8_T
123045 #define _UINT8_T
123046 #ifndef __uint8_t_defined
123047 #define __uint8_t_defined
123048 typedef unsigned $acx_cv_type_int8_t uint8_t;
123049 #endif
123050 #endif
123052 #ifndef _UINT16_T
123053 #define _UINT16_T
123054 #ifndef __uint16_t_defined
123055 #define __uint16_t_defined
123056 typedef unsigned $acx_cv_type_int16_t uint16_t;
123057 #endif
123058 #endif
123060 #ifndef _UINT32_T
123061 #define _UINT32_T
123062 #ifndef __uint32_t_defined
123063 #define __uint32_t_defined
123064 typedef unsigned $acx_cv_type_int32_t uint32_t;
123065 #endif
123066 #endif
123068 #ifndef _INT8_T
123069 #define _INT8_T
123070 #ifndef __int8_t_defined
123071 #define __int8_t_defined
123072 typedef $acx_cv_type_int8_t int8_t;
123073 #endif
123074 #endif
123076 #ifndef _INT16_T
123077 #define _INT16_T
123078 #ifndef __int16_t_defined
123079 #define __int16_t_defined
123080 typedef $acx_cv_type_int16_t int16_t;
123081 #endif
123082 #endif
123084 #ifndef _INT32_T
123085 #define _INT32_T
123086 #ifndef __int32_t_defined
123087 #define __int32_t_defined
123088 typedef $acx_cv_type_int32_t int32_t;
123089 #endif
123090 #endif
123092 elif test "$ac_cv_type_u_int32_t" = yes; then
123093 sed 's/^ *//' >> tmp-stdint.h <<EOF
123095 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123096 #ifndef _INT8_T
123097 #define _INT8_T
123098 #endif
123099 #ifndef _INT16_T
123100 #define _INT16_T
123101 #endif
123102 #ifndef _INT32_T
123103 #define _INT32_T
123104 #endif
123106 #ifndef _UINT8_T
123107 #define _UINT8_T
123108 #ifndef __uint8_t_defined
123109 #define __uint8_t_defined
123110 typedef u_int8_t uint8_t;
123111 #endif
123112 #endif
123114 #ifndef _UINT16_T
123115 #define _UINT16_T
123116 #ifndef __uint16_t_defined
123117 #define __uint16_t_defined
123118 typedef u_int16_t uint16_t;
123119 #endif
123120 #endif
123122 #ifndef _UINT32_T
123123 #define _UINT32_T
123124 #ifndef __uint32_t_defined
123125 #define __uint32_t_defined
123126 typedef u_int32_t uint32_t;
123127 #endif
123128 #endif
123131 sed 's/^ *//' >> tmp-stdint.h <<EOF
123133 /* Some systems have guard macros to prevent redefinitions, define them. */
123134 #ifndef _INT8_T
123135 #define _INT8_T
123136 #endif
123137 #ifndef _INT16_T
123138 #define _INT16_T
123139 #endif
123140 #ifndef _INT32_T
123141 #define _INT32_T
123142 #endif
123143 #ifndef _UINT8_T
123144 #define _UINT8_T
123145 #endif
123146 #ifndef _UINT16_T
123147 #define _UINT16_T
123148 #endif
123149 #ifndef _UINT32_T
123150 #define _UINT32_T
123151 #endif
123155 # ------------- done basic int types, emit int64_t types ------------
123156 if test "$ac_cv_type_uint64_t" = yes; then
123157 sed 's/^ *//' >> tmp-stdint.h <<EOF
123159 /* system headers have good uint64_t and int64_t */
123160 #ifndef _INT64_T
123161 #define _INT64_T
123162 #endif
123163 #ifndef _UINT64_T
123164 #define _UINT64_T
123165 #endif
123167 elif test "$ac_cv_type_u_int64_t" = yes; then
123168 sed 's/^ *//' >> tmp-stdint.h <<EOF
123170 /* system headers have an u_int64_t (and int64_t) */
123171 #ifndef _INT64_T
123172 #define _INT64_T
123173 #endif
123174 #ifndef _UINT64_T
123175 #define _UINT64_T
123176 #ifndef __uint64_t_defined
123177 #define __uint64_t_defined
123178 typedef u_int64_t uint64_t;
123179 #endif
123180 #endif
123182 elif test -n "$acx_cv_type_int64_t"; then
123183 sed 's/^ *//' >> tmp-stdint.h <<EOF
123185 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123186 #ifndef _INT64_T
123187 #define _INT64_T
123188 typedef $acx_cv_type_int64_t int64_t;
123189 #endif
123190 #ifndef _UINT64_T
123191 #define _UINT64_T
123192 #ifndef __uint64_t_defined
123193 #define __uint64_t_defined
123194 typedef unsigned $acx_cv_type_int64_t uint64_t;
123195 #endif
123196 #endif
123199 sed 's/^ *//' >> tmp-stdint.h <<EOF
123201 /* some common heuristics for int64_t, using compiler-specific tests */
123202 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123203 #ifndef _INT64_T
123204 #define _INT64_T
123205 #ifndef __int64_t_defined
123206 typedef long long int64_t;
123207 #endif
123208 #endif
123209 #ifndef _UINT64_T
123210 #define _UINT64_T
123211 typedef unsigned long long uint64_t;
123212 #endif
123214 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123215 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123216 does not implement __extension__. But that compiler doesn't define
123217 __GNUC_MINOR__. */
123218 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123219 # define __extension__
123220 # endif
123222 # ifndef _INT64_T
123223 # define _INT64_T
123224 __extension__ typedef long long int64_t;
123225 # endif
123226 # ifndef _UINT64_T
123227 # define _UINT64_T
123228 __extension__ typedef unsigned long long uint64_t;
123229 # endif
123231 #elif !defined __STRICT_ANSI__
123232 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123234 # ifndef _INT64_T
123235 # define _INT64_T
123236 typedef __int64 int64_t;
123237 # endif
123238 # ifndef _UINT64_T
123239 # define _UINT64_T
123240 typedef unsigned __int64 uint64_t;
123241 # endif
123242 # endif /* compiler */
123244 #endif /* ANSI version */
123248 # ------------- done int64_t types, emit intptr types ------------
123249 if test "$ac_cv_type_uintptr_t" != yes; then
123250 sed 's/^ *//' >> tmp-stdint.h <<EOF
123252 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123253 #ifndef __uintptr_t_defined
123254 typedef u$acx_cv_type_intptr_t uintptr_t;
123255 #endif
123256 #ifndef __intptr_t_defined
123257 typedef $acx_cv_type_intptr_t intptr_t;
123258 #endif
123262 # ------------- done intptr types, emit int_least types ------------
123263 if test "$ac_cv_type_int_least32_t" != yes; then
123264 sed 's/^ *//' >> tmp-stdint.h <<EOF
123266 /* Define int_least types */
123267 typedef int8_t int_least8_t;
123268 typedef int16_t int_least16_t;
123269 typedef int32_t int_least32_t;
123270 #ifdef _INT64_T
123271 typedef int64_t int_least64_t;
123272 #endif
123274 typedef uint8_t uint_least8_t;
123275 typedef uint16_t uint_least16_t;
123276 typedef uint32_t uint_least32_t;
123277 #ifdef _UINT64_T
123278 typedef uint64_t uint_least64_t;
123279 #endif
123283 # ------------- done intptr types, emit int_fast types ------------
123284 if test "$ac_cv_type_int_fast32_t" != yes; then
123285 sed 's/^ *//' >> tmp-stdint.h <<EOF
123287 /* Define int_fast types. short is often slow */
123288 typedef int8_t int_fast8_t;
123289 typedef int int_fast16_t;
123290 typedef int32_t int_fast32_t;
123291 #ifdef _INT64_T
123292 typedef int64_t int_fast64_t;
123293 #endif
123295 typedef uint8_t uint_fast8_t;
123296 typedef unsigned int uint_fast16_t;
123297 typedef uint32_t uint_fast32_t;
123298 #ifdef _UINT64_T
123299 typedef uint64_t uint_fast64_t;
123300 #endif
123304 if test "$ac_cv_type_uintmax_t" != yes; then
123305 sed 's/^ *//' >> tmp-stdint.h <<EOF
123307 /* Define intmax based on what we found */
123308 #ifdef _INT64_T
123309 typedef int64_t intmax_t;
123310 #else
123311 typedef long intmax_t;
123312 #endif
123313 #ifdef _UINT64_T
123314 typedef uint64_t uintmax_t;
123315 #else
123316 typedef unsigned long uintmax_t;
123317 #endif
123321 sed 's/^ *//' >> tmp-stdint.h <<EOF
123323 #endif /* GCC_GENERATED_STDINT_H */
123326 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123327 rm -f tmp-stdint.h
123329 mv -f tmp-stdint.h include/gstdint.h
123333 default ) if test -n "$CONFIG_FILES"; then
123334 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123335 # that multilib installs will end up installed in the correct place.
123336 # The testsuite needs it for multilib-aware ABI baseline files.
123337 # To work around this not being passed down from config-ml.in ->
123338 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123339 # append it here. Only modify Makefiles that have just been created.
123341 # Also, get rid of this simulated-VPATH thing that automake does.
123342 cat > vpsed << \_EOF
123343 s!`test -f '$<' || echo '$(srcdir)/'`!!
123345 for i in $SUBDIRS; do
123346 case $CONFIG_FILES in
123347 *${i}/Makefile*)
123348 #echo "Adding MULTISUBDIR to $i/Makefile"
123349 sed -f vpsed $i/Makefile > tmp
123350 grep '^MULTISUBDIR =' Makefile >> tmp
123351 mv tmp $i/Makefile
123355 rm vpsed
123357 (cd include && ${MAKE-make})
123361 _ACEOF
123363 cat >>$CONFIG_STATUS <<\_ACEOF
123365 { (exit 0); exit 0; }
123366 _ACEOF
123367 chmod +x $CONFIG_STATUS
123368 ac_clean_files=$ac_clean_files_save
123371 # configure is writing to config.log, and then calls config.status.
123372 # config.status does its own redirection, appending to config.log.
123373 # Unfortunately, on DOS this fails, as config.log is still kept open
123374 # by configure, so config.status won't be able to write to it; its
123375 # output is simply discarded. So we exec the FD to /dev/null,
123376 # effectively closing config.log, so it can be properly (re)opened and
123377 # appended to by config.status. When coming back to configure, we
123378 # need to make the FD available again.
123379 if test "$no_create" != yes; then
123380 ac_cs_success=:
123381 ac_config_status_args=
123382 test "$silent" = yes &&
123383 ac_config_status_args="$ac_config_status_args --quiet"
123384 exec 5>/dev/null
123385 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123386 exec 5>>config.log
123387 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123388 # would make configure fail if this is the last instruction.
123389 $ac_cs_success || { (exit 1); exit 1; }