Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob8e78be89292d81b0ff33700e60ef78b96cc43683
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 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 CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_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-symvers=STYLE enables symbol versioning of the shared library
1057 [default=yes]
1058 --enable-visibility enables visibility safe usage [default=yes]
1059 --enable-version-specific-runtime-libs
1060 Specify that runtime libraries should be installed
1061 in a compiler-specific directory
1063 Optional Packages:
1064 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1065 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1066 --with-target-subdir=SUBDIR
1067 configuring in a subdirectory
1068 --with-cross-host=HOST configuring with a cross compiler
1069 --with-newlib assume newlib as a system C library
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1071 both]
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-gnu-ld assume the C compiler uses GNU ld default=no
1074 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1075 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1076 --with-gxx-include-dir=DIR
1077 installation directory for include files
1079 Some influential environment variables:
1080 CC C compiler command
1081 CFLAGS C compiler flags
1082 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1083 nonstandard directory <lib dir>
1084 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1085 headers in a nonstandard directory <include dir>
1086 CXX C++ compiler command
1087 CXXFLAGS C++ compiler flags
1088 CPP C preprocessor
1089 CXXCPP C++ preprocessor
1091 Use these variables to override the choices made by `configure' or to help
1092 it to find libraries and programs with nonstandard names/locations.
1094 _ACEOF
1097 if test "$ac_init_help" = "recursive"; then
1098 # If there are subdirs, report their specific --help.
1099 ac_popdir=`pwd`
1100 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1101 test -d $ac_dir || continue
1102 ac_builddir=.
1104 if test "$ac_dir" != .; then
1105 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1106 # A "../" for each directory in $ac_dir_suffix.
1107 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1108 else
1109 ac_dir_suffix= ac_top_builddir=
1112 case $srcdir in
1113 .) # No --srcdir option. We are building in place.
1114 ac_srcdir=.
1115 if test -z "$ac_top_builddir"; then
1116 ac_top_srcdir=.
1117 else
1118 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1119 fi ;;
1120 [\\/]* | ?:[\\/]* ) # Absolute path.
1121 ac_srcdir=$srcdir$ac_dir_suffix;
1122 ac_top_srcdir=$srcdir ;;
1123 *) # Relative path.
1124 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1125 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1126 esac
1128 # Do not use `cd foo && pwd` to compute absolute paths, because
1129 # the directories may not exist.
1130 case `pwd` in
1131 .) ac_abs_builddir="$ac_dir";;
1133 case "$ac_dir" in
1134 .) ac_abs_builddir=`pwd`;;
1135 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1136 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1137 esac;;
1138 esac
1139 case $ac_abs_builddir in
1140 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1142 case ${ac_top_builddir}. in
1143 .) ac_abs_top_builddir=$ac_abs_builddir;;
1144 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1146 esac;;
1147 esac
1148 case $ac_abs_builddir in
1149 .) ac_abs_srcdir=$ac_srcdir;;
1151 case $ac_srcdir in
1152 .) ac_abs_srcdir=$ac_abs_builddir;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1154 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1160 case $ac_top_srcdir in
1161 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1164 esac;;
1165 esac
1167 cd $ac_dir
1168 # Check for guested configure; otherwise get Cygnus style configure.
1169 if test -f $ac_srcdir/configure.gnu; then
1170 echo
1171 $SHELL $ac_srcdir/configure.gnu --help=recursive
1172 elif test -f $ac_srcdir/configure; then
1173 echo
1174 $SHELL $ac_srcdir/configure --help=recursive
1175 elif test -f $ac_srcdir/configure.ac ||
1176 test -f $ac_srcdir/configure.in; then
1177 echo
1178 $ac_configure --help
1179 else
1180 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1182 cd $ac_popdir
1183 done
1186 test -n "$ac_init_help" && exit 0
1187 if $ac_init_version; then
1188 cat <<\_ACEOF
1189 package-unused configure version-unused
1190 generated by GNU Autoconf 2.59
1192 Copyright (C) 2003 Free Software Foundation, Inc.
1193 This configure script is free software; the Free Software Foundation
1194 gives unlimited permission to copy, distribute and modify it.
1195 _ACEOF
1196 exit 0
1198 exec 5>config.log
1199 cat >&5 <<_ACEOF
1200 This file contains any messages produced by compilers while
1201 running configure, to aid debugging if configure makes a mistake.
1203 It was created by package-unused $as_me version-unused, which was
1204 generated by GNU Autoconf 2.59. Invocation command line was
1206 $ $0 $@
1208 _ACEOF
1210 cat <<_ASUNAME
1211 ## --------- ##
1212 ## Platform. ##
1213 ## --------- ##
1215 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1216 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1217 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1218 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1219 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1221 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1222 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1224 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1225 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1226 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1227 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1232 _ASUNAME
1234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1235 for as_dir in $PATH
1237 IFS=$as_save_IFS
1238 test -z "$as_dir" && as_dir=.
1239 echo "PATH: $as_dir"
1240 done
1242 } >&5
1244 cat >&5 <<_ACEOF
1247 ## ----------- ##
1248 ## Core tests. ##
1249 ## ----------- ##
1251 _ACEOF
1254 # Keep a trace of the command line.
1255 # Strip out --no-create and --no-recursion so they do not pile up.
1256 # Strip out --silent because we don't want to record it for future runs.
1257 # Also quote any args containing shell meta-characters.
1258 # Make two passes to allow for proper duplicate-argument suppression.
1259 ac_configure_args=
1260 ac_configure_args0=
1261 ac_configure_args1=
1262 ac_sep=
1263 ac_must_keep_next=false
1264 for ac_pass in 1 2
1266 for ac_arg
1268 case $ac_arg in
1269 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1270 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1271 | -silent | --silent | --silen | --sile | --sil)
1272 continue ;;
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 esac
1276 case $ac_pass in
1277 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1279 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1280 if test $ac_must_keep_next = true; then
1281 ac_must_keep_next=false # Got value, back to normal.
1282 else
1283 case $ac_arg in
1284 *=* | --config-cache | -C | -disable-* | --disable-* \
1285 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1286 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1287 | -with-* | --with-* | -without-* | --without-* | --x)
1288 case "$ac_configure_args0 " in
1289 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1290 esac
1292 -* ) ac_must_keep_next=true ;;
1293 esac
1295 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1296 # Get rid of the leading space.
1297 ac_sep=" "
1299 esac
1300 done
1301 done
1302 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1303 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1305 # When interrupted or exit'd, cleanup temporary files, and complete
1306 # config.log. We remove comments because anyway the quotes in there
1307 # would cause problems or look ugly.
1308 # WARNING: Be sure not to use single quotes in there, as some shells,
1309 # such as our DU 5.0 friend, will then `close' the trap.
1310 trap 'exit_status=$?
1311 # Save into config.log some information that might help in debugging.
1313 echo
1315 cat <<\_ASBOX
1316 ## ---------------- ##
1317 ## Cache variables. ##
1318 ## ---------------- ##
1319 _ASBOX
1320 echo
1321 # The following way of writing the cache mishandles newlines in values,
1323 (set) 2>&1 |
1324 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1325 *ac_space=\ *)
1326 sed -n \
1327 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331 sed -n \
1332 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1334 esac;
1336 echo
1338 cat <<\_ASBOX
1339 ## ----------------- ##
1340 ## Output variables. ##
1341 ## ----------------- ##
1342 _ASBOX
1343 echo
1344 for ac_var in $ac_subst_vars
1346 eval ac_val=$`echo $ac_var`
1347 echo "$ac_var='"'"'$ac_val'"'"'"
1348 done | sort
1349 echo
1351 if test -n "$ac_subst_files"; then
1352 cat <<\_ASBOX
1353 ## ------------- ##
1354 ## Output files. ##
1355 ## ------------- ##
1356 _ASBOX
1357 echo
1358 for ac_var in $ac_subst_files
1360 eval ac_val=$`echo $ac_var`
1361 echo "$ac_var='"'"'$ac_val'"'"'"
1362 done | sort
1363 echo
1366 if test -s confdefs.h; then
1367 cat <<\_ASBOX
1368 ## ----------- ##
1369 ## confdefs.h. ##
1370 ## ----------- ##
1371 _ASBOX
1372 echo
1373 sed "/^$/d" confdefs.h | sort
1374 echo
1376 test "$ac_signal" != 0 &&
1377 echo "$as_me: caught signal $ac_signal"
1378 echo "$as_me: exit $exit_status"
1379 } >&5
1380 rm -f core *.core &&
1381 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1382 exit $exit_status
1384 for ac_signal in 1 2 13 15; do
1385 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1386 done
1387 ac_signal=0
1389 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1390 rm -rf conftest* confdefs.h
1391 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1392 echo >confdefs.h
1394 # Predefined preprocessor variables.
1396 cat >>confdefs.h <<_ACEOF
1397 #define PACKAGE_NAME "$PACKAGE_NAME"
1398 _ACEOF
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1403 _ACEOF
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1408 _ACEOF
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_STRING "$PACKAGE_STRING"
1413 _ACEOF
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1418 _ACEOF
1421 # Let the site file select an alternate cache file if it wants to.
1422 # Prefer explicitly selected file to automatically selected ones.
1423 if test -z "$CONFIG_SITE"; then
1424 if test "x$prefix" != xNONE; then
1425 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1426 else
1427 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430 for ac_site_file in $CONFIG_SITE; do
1431 if test -r "$ac_site_file"; then
1432 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1433 echo "$as_me: loading site script $ac_site_file" >&6;}
1434 sed 's/^/| /' "$ac_site_file" >&5
1435 . "$ac_site_file"
1437 done
1439 if test -r "$cache_file"; then
1440 # Some versions of bash will fail to source /dev/null (special
1441 # files actually), so we avoid doing that.
1442 if test -f "$cache_file"; then
1443 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1444 echo "$as_me: loading cache $cache_file" >&6;}
1445 case $cache_file in
1446 [\\/]* | ?:[\\/]* ) . $cache_file;;
1447 *) . ./$cache_file;;
1448 esac
1450 else
1451 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1452 echo "$as_me: creating cache $cache_file" >&6;}
1453 >$cache_file
1456 # Check that the precious variables saved in the cache have kept the same
1457 # value.
1458 ac_cache_corrupted=false
1459 for ac_var in `(set) 2>&1 |
1460 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1461 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1462 eval ac_new_set=\$ac_env_${ac_var}_set
1463 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1464 eval ac_new_val="\$ac_env_${ac_var}_value"
1465 case $ac_old_set,$ac_new_set in
1466 set,)
1467 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1468 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1469 ac_cache_corrupted=: ;;
1470 ,set)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,);;
1476 if test "x$ac_old_val" != "x$ac_new_val"; then
1477 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1478 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1479 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1480 echo "$as_me: former value: $ac_old_val" >&2;}
1481 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1482 echo "$as_me: current value: $ac_new_val" >&2;}
1483 ac_cache_corrupted=:
1484 fi;;
1485 esac
1486 # Pass precious variables to config.status.
1487 if test "$ac_new_set" = set; then
1488 case $ac_new_val in
1489 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1490 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1491 *) ac_arg=$ac_var=$ac_new_val ;;
1492 esac
1493 case " $ac_configure_args " in
1494 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1495 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1496 esac
1498 done
1499 if $ac_cache_corrupted; then
1500 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1501 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1502 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1503 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1504 { (exit 1); exit 1; }; }
1507 ac_ext=c
1508 ac_cpp='$CPP $CPPFLAGS'
1509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1540 ac_config_headers="$ac_config_headers config.h"
1543 # This works around the fact that libtool configuration may change LD
1544 # for this particular configuration, but some shells, instead of
1545 # keeping the changes in LD private, export them just because LD is
1546 # exported. Only used at the end of this file.
1547 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1549 # For libtool versioning info, format is CURRENT:REVISION:AGE
1550 libtool_VERSION=6:10:0
1553 # Find the rest of the source tree framework.
1554 # Default to --enable-multilib
1555 # Check whether --enable-multilib or --disable-multilib was given.
1556 if test "${enable_multilib+set}" = set; then
1557 enableval="$enable_multilib"
1558 case "$enableval" in
1559 yes) multilib=yes ;;
1560 no) multilib=no ;;
1561 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1562 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1563 { (exit 1); exit 1; }; } ;;
1564 esac
1565 else
1566 multilib=yes
1569 # We may get other options which we leave undocumented:
1570 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1571 # See config-ml.in if you want the gory details.
1573 if test "$srcdir" = "."; then
1574 if test "$with_target_subdir" != "."; then
1575 multi_basedir="$srcdir/$with_multisrctop../.."
1576 else
1577 multi_basedir="$srcdir/$with_multisrctop.."
1579 else
1580 multi_basedir="$srcdir/.."
1584 # Even if the default multilib is not a cross compilation,
1585 # it may be that some of the other multilibs are.
1586 if test $cross_compiling = no && test $multilib = yes \
1587 && test "x${with_multisubdir}" != x ; then
1588 cross_compiling=maybe
1591 ac_config_commands="$ac_config_commands default-1"
1594 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1596 # You will slowly go insane if you do not grok the following fact: when
1597 # building v3 as part of the compiler, the top-level /target/ becomes the
1598 # library's /host/. configure then causes --target to default to --host,
1599 # exactly like any other package using autoconf. Therefore, 'target' and
1600 # 'host' will always be the same. This makes sense both for native and
1601 # cross compilers, just think about it for a little while. :-)
1603 # Also, if v3 is being configured as part of a cross compiler, the top-level
1604 # configure script will pass the "real" host as $with_cross_host.
1606 # Do not delete or change the following two lines. For why, see
1607 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1608 ac_aux_dir=
1609 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1610 if test -f $ac_dir/install-sh; then
1611 ac_aux_dir=$ac_dir
1612 ac_install_sh="$ac_aux_dir/install-sh -c"
1613 break
1614 elif test -f $ac_dir/install.sh; then
1615 ac_aux_dir=$ac_dir
1616 ac_install_sh="$ac_aux_dir/install.sh -c"
1617 break
1618 elif test -f $ac_dir/shtool; then
1619 ac_aux_dir=$ac_dir
1620 ac_install_sh="$ac_aux_dir/shtool install -c"
1621 break
1623 done
1624 if test -z "$ac_aux_dir"; then
1625 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1626 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1627 { (exit 1); exit 1; }; }
1629 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1630 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1631 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1633 # Make sure we can run config.sub.
1634 $ac_config_sub sun4 >/dev/null 2>&1 ||
1635 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1636 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1637 { (exit 1); exit 1; }; }
1639 echo "$as_me:$LINENO: checking build system type" >&5
1640 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1641 if test "${ac_cv_build+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_build_alias=$build_alias
1645 test -z "$ac_cv_build_alias" &&
1646 ac_cv_build_alias=`$ac_config_guess`
1647 test -z "$ac_cv_build_alias" &&
1648 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1649 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1650 { (exit 1); exit 1; }; }
1651 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1652 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1653 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1654 { (exit 1); exit 1; }; }
1657 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1658 echo "${ECHO_T}$ac_cv_build" >&6
1659 build=$ac_cv_build
1660 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1661 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1662 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665 echo "$as_me:$LINENO: checking host system type" >&5
1666 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1667 if test "${ac_cv_host+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 ac_cv_host_alias=$host_alias
1671 test -z "$ac_cv_host_alias" &&
1672 ac_cv_host_alias=$ac_cv_build_alias
1673 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1674 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1675 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1676 { (exit 1); exit 1; }; }
1679 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1680 echo "${ECHO_T}$ac_cv_host" >&6
1681 host=$ac_cv_host
1682 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1683 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1684 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687 echo "$as_me:$LINENO: checking target system type" >&5
1688 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1689 if test "${ac_cv_target+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1691 else
1692 ac_cv_target_alias=$target_alias
1693 test "x$ac_cv_target_alias" = "x" &&
1694 ac_cv_target_alias=$ac_cv_host_alias
1695 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1696 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1697 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1698 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1702 echo "${ECHO_T}$ac_cv_target" >&6
1703 target=$ac_cv_target
1704 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1705 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1706 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709 # The aliases save the names the user supplied, while $host etc.
1710 # will get canonicalized.
1711 test -n "$target_alias" &&
1712 test "$program_prefix$program_suffix$program_transform_name" = \
1713 NONENONEs,x,x, &&
1714 program_prefix=${target_alias}-
1715 target_alias=${target_alias-$host_alias}
1717 # Handy for debugging:
1718 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1720 if test "$build" != "$host"; then
1721 # We are being configured with some form of cross compiler.
1722 GLIBCXX_IS_NATIVE=false
1723 case "$host","$target" in
1724 # Darwin crosses can use the host system's libraries and headers,
1725 # because of the fat library support. Of course, it must be the
1726 # same version of Darwin on both sides. Allow the user to
1727 # just say --target=foo-darwin without a version number to mean
1728 # "the version on this system".
1729 *-*-darwin*,*-*-darwin*)
1730 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1731 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1732 if test $hostos = $targetos -o $targetos = darwin ; then
1733 GLIBCXX_IS_NATIVE=true
1740 esac
1741 else
1742 GLIBCXX_IS_NATIVE=true
1745 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1746 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1747 # 1.x: minimum required version
1748 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1749 # of other PACKAGE_* variables will, however, and there's nothing
1750 # we can do about that; they come from AC_INIT).
1751 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1752 # file in the top srcdir, etc, etc), so stop complaining.
1753 # no-dependencies: turns off auto dependency generation (just for now)
1754 # -Wall: turns on all automake warnings...
1755 # -Wno-portability: ...except this one, since GNU make is now required.
1756 am__api_version="1.9"
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1772 if test -z "$INSTALL"; then
1773 if test "${ac_cv_path_install+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 # Account for people who put trailing slashes in PATH elements.
1782 case $as_dir/ in
1783 ./ | .// | /cC/* | \
1784 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1786 /usr/ucb/* ) ;;
1788 # OSF1 and SCO ODT 3.0 have their own names for install.
1789 # Don't use installbsd from OSF since it installs stuff as root
1790 # by default.
1791 for ac_prog in ginstall scoinst install; do
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1794 if test $ac_prog = install &&
1795 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1796 # AIX install. It has an incompatible calling convention.
1798 elif test $ac_prog = install &&
1799 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800 # program-specific install script used by HP pwplus--don't use.
1802 else
1803 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1804 break 3
1807 done
1808 done
1810 esac
1811 done
1815 if test "${ac_cv_path_install+set}" = set; then
1816 INSTALL=$ac_cv_path_install
1817 else
1818 # As a last resort, use the slow shell script. We don't cache a
1819 # path for INSTALL within a source directory, because that will
1820 # break other packages using the cache if that directory is
1821 # removed, or if the path is relative.
1822 INSTALL=$ac_install_sh
1825 echo "$as_me:$LINENO: result: $INSTALL" >&5
1826 echo "${ECHO_T}$INSTALL" >&6
1828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1829 # It thinks the first close brace ends the variable substitution.
1830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1836 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1837 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1838 # Just in case
1839 sleep 1
1840 echo timestamp > conftest.file
1841 # Do `set' in a subshell so we don't clobber the current shell's
1842 # arguments. Must try -L first in case configure is actually a
1843 # symlink; some systems play weird games with the mod time of symlinks
1844 # (eg FreeBSD returns the mod time of the symlink's containing
1845 # directory).
1846 if (
1847 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1848 if test "$*" = "X"; then
1849 # -L didn't work.
1850 set X `ls -t $srcdir/configure conftest.file`
1852 rm -f conftest.file
1853 if test "$*" != "X $srcdir/configure conftest.file" \
1854 && test "$*" != "X conftest.file $srcdir/configure"; then
1856 # If neither matched, then we have a broken ls. This can happen
1857 # if, for instance, CONFIG_SHELL is bash and it inherits a
1858 # broken ls alias from the environment. This has actually
1859 # happened. Such a system could not be considered "sane".
1860 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1861 alias in your environment" >&5
1862 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&2;}
1864 { (exit 1); exit 1; }; }
1867 test "$2" = conftest.file
1869 then
1870 # Ok.
1872 else
1873 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874 Check your system clock" >&5
1875 echo "$as_me: error: newly created file is older than distributed files!
1876 Check your system clock" >&2;}
1877 { (exit 1); exit 1; }; }
1879 echo "$as_me:$LINENO: result: yes" >&5
1880 echo "${ECHO_T}yes" >&6
1881 test "$program_prefix" != NONE &&
1882 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1883 # Use a double $ so make ignores it.
1884 test "$program_suffix" != NONE &&
1885 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1886 # Double any \ or $. echo might interpret backslashes.
1887 # By default was `s,x,x', remove it if useless.
1888 cat <<\_ACEOF >conftest.sed
1889 s/[\\$]/&&/g;s/;s,x,x,$//
1890 _ACEOF
1891 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1892 rm conftest.sed
1894 # expand $ac_aux_dir to an absolute path
1895 am_aux_dir=`cd $ac_aux_dir && pwd`
1897 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1898 # Use eval to expand $SHELL
1899 if eval "$MISSING --run true"; then
1900 am_missing_run="$MISSING --run "
1901 else
1902 am_missing_run=
1903 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1908 # We used to keeping the `.' as first argument, in order to
1909 # allow $(mkdir_p) to be used without argument. As in
1910 # $(mkdir_p) $(somedir)
1911 # where $(somedir) is conditionally defined. However this is wrong
1912 # for two reasons:
1913 # 1. if the package is installed by a user who cannot write `.'
1914 # make install will fail,
1915 # 2. the above comment should most certainly read
1916 # $(mkdir_p) $(DESTDIR)$(somedir)
1917 # so it does not work when $(somedir) is undefined and
1918 # $(DESTDIR) is not.
1919 # To support the latter case, we have to write
1920 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1921 # so the `.' trick is pointless.
1922 mkdir_p='mkdir -p --'
1923 else
1924 # On NextStep and OpenStep, the `mkdir' command does not
1925 # recognize any option. It will interpret all options as
1926 # directories to create, and then abort because `.' already
1927 # exists.
1928 for d in ./-p ./--version;
1930 test -d $d && rmdir $d
1931 done
1932 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1933 if test -f "$ac_aux_dir/mkinstalldirs"; then
1934 mkdir_p='$(mkinstalldirs)'
1935 else
1936 mkdir_p='$(install_sh) -d'
1940 for ac_prog in gawk mawk nawk awk
1942 # Extract the first word of "$ac_prog", so it can be a program name with args.
1943 set dummy $ac_prog; ac_word=$2
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946 if test "${ac_cv_prog_AWK+set}" = set; then
1947 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 else
1949 if test -n "$AWK"; then
1950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1951 else
1952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953 for as_dir in $PATH
1955 IFS=$as_save_IFS
1956 test -z "$as_dir" && as_dir=.
1957 for ac_exec_ext in '' $ac_executable_extensions; do
1958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959 ac_cv_prog_AWK="$ac_prog"
1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 break 2
1963 done
1964 done
1968 AWK=$ac_cv_prog_AWK
1969 if test -n "$AWK"; then
1970 echo "$as_me:$LINENO: result: $AWK" >&5
1971 echo "${ECHO_T}$AWK" >&6
1972 else
1973 echo "$as_me:$LINENO: result: no" >&5
1974 echo "${ECHO_T}no" >&6
1977 test -n "$AWK" && break
1978 done
1980 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1981 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1982 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1983 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986 cat >conftest.make <<\_ACEOF
1987 all:
1988 @echo 'ac_maketemp="$(MAKE)"'
1989 _ACEOF
1990 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1991 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1992 if test -n "$ac_maketemp"; then
1993 eval ac_cv_prog_make_${ac_make}_set=yes
1994 else
1995 eval ac_cv_prog_make_${ac_make}_set=no
1997 rm -f conftest.make
1999 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2000 echo "$as_me:$LINENO: result: yes" >&5
2001 echo "${ECHO_T}yes" >&6
2002 SET_MAKE=
2003 else
2004 echo "$as_me:$LINENO: result: no" >&5
2005 echo "${ECHO_T}no" >&6
2006 SET_MAKE="MAKE=${MAKE-make}"
2009 rm -rf .tst 2>/dev/null
2010 mkdir .tst 2>/dev/null
2011 if test -d .tst; then
2012 am__leading_dot=.
2013 else
2014 am__leading_dot=_
2016 rmdir .tst 2>/dev/null
2018 # test to see if srcdir already configured
2019 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2020 test -f $srcdir/config.status; then
2021 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2022 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2023 { (exit 1); exit 1; }; }
2026 # test whether we have cygpath
2027 if test -z "$CYGPATH_W"; then
2028 if (cygpath --version) >/dev/null 2>/dev/null; then
2029 CYGPATH_W='cygpath -w'
2030 else
2031 CYGPATH_W=echo
2036 # Define the identity of the package.
2037 PACKAGE='libstdc++'
2038 VERSION='version-unused'
2041 # Some tools Automake needs.
2043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2059 # Installed binaries are usually stripped using `strip' when the user
2060 # run `make install-strip'. However `strip' might not be the right
2061 # tool to use in cross-compilation environments, therefore Automake
2062 # will honor the `STRIP' environment variable to overrule this program.
2063 if test "$cross_compiling" != no; then
2064 if test -n "$ac_tool_prefix"; then
2065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2066 set dummy ${ac_tool_prefix}strip; ac_word=$2
2067 echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2069 if test "${ac_cv_prog_STRIP+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 else
2072 if test -n "$STRIP"; then
2073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2091 STRIP=$ac_cv_prog_STRIP
2092 if test -n "$STRIP"; then
2093 echo "$as_me:$LINENO: result: $STRIP" >&5
2094 echo "${ECHO_T}$STRIP" >&6
2095 else
2096 echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2127 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2133 echo "${ECHO_T}$ac_ct_STRIP" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2139 STRIP=$ac_ct_STRIP
2140 else
2141 STRIP="$ac_cv_prog_STRIP"
2145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2147 # We need awk for the "check" target. The system "awk" is bad on
2148 # some platforms.
2149 # Always define AMTAR for backward compatibility.
2151 AMTAR=${AMTAR-"${am_missing_run}tar"}
2153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2164 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2165 # up critical shell variables.
2167 ac_ext=c
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2172 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2173 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2174 # On Suns, sometimes $CPP names a directory.
2175 if test -n "$CPP" && test -d "$CPP"; then
2176 CPP=
2178 if test -z "$CPP"; then
2179 if test "${ac_cv_prog_CPP+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 # Double quotes because CPP needs to be expanded
2183 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2185 ac_preproc_ok=false
2186 for ac_c_preproc_warn_flag in '' yes
2188 # Use a header file that comes with gcc, so configuring glibc
2189 # with a fresh cross-compiler works.
2190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2191 # <limits.h> exists even on freestanding compilers.
2192 # On the NeXT, cc -E runs the code through the compiler's parser,
2193 # not just through cpp. "Syntax error" is here to catch this case.
2194 cat >conftest.$ac_ext <<_ACEOF
2195 /* confdefs.h. */
2196 _ACEOF
2197 cat confdefs.h >>conftest.$ac_ext
2198 cat >>conftest.$ac_ext <<_ACEOF
2199 /* end confdefs.h. */
2200 #ifdef __STDC__
2201 # include <limits.h>
2202 #else
2203 # include <assert.h>
2204 #endif
2205 Syntax error
2206 _ACEOF
2207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2209 ac_status=$?
2210 grep -v '^ *+' conftest.er1 >conftest.err
2211 rm -f conftest.er1
2212 cat conftest.err >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } >/dev/null; then
2215 if test -s conftest.err; then
2216 ac_cpp_err=$ac_c_preproc_warn_flag
2217 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2218 else
2219 ac_cpp_err=
2221 else
2222 ac_cpp_err=yes
2224 if test -z "$ac_cpp_err"; then
2226 else
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2230 # Broken: fails on valid input.
2231 continue
2233 rm -f conftest.err conftest.$ac_ext
2235 # OK, works on sane cases. Now check whether non-existent headers
2236 # can be detected and how.
2237 cat >conftest.$ac_ext <<_ACEOF
2238 /* confdefs.h. */
2239 _ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 #include <ac_nonexistent.h>
2244 _ACEOF
2245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2247 ac_status=$?
2248 grep -v '^ *+' conftest.er1 >conftest.err
2249 rm -f conftest.er1
2250 cat conftest.err >&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); } >/dev/null; then
2253 if test -s conftest.err; then
2254 ac_cpp_err=$ac_c_preproc_warn_flag
2255 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2256 else
2257 ac_cpp_err=
2259 else
2260 ac_cpp_err=yes
2262 if test -z "$ac_cpp_err"; then
2263 # Broken: success on invalid input.
2264 continue
2265 else
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2269 # Passes both tests.
2270 ac_preproc_ok=:
2271 break
2273 rm -f conftest.err conftest.$ac_ext
2275 done
2276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2277 rm -f conftest.err conftest.$ac_ext
2278 if $ac_preproc_ok; then
2279 break
2282 done
2283 ac_cv_prog_CPP=$CPP
2286 CPP=$ac_cv_prog_CPP
2287 else
2288 ac_cv_prog_CPP=$CPP
2290 echo "$as_me:$LINENO: result: $CPP" >&5
2291 echo "${ECHO_T}$CPP" >&6
2292 ac_preproc_ok=false
2293 for ac_c_preproc_warn_flag in '' yes
2295 # Use a header file that comes with gcc, so configuring glibc
2296 # with a fresh cross-compiler works.
2297 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2298 # <limits.h> exists even on freestanding compilers.
2299 # On the NeXT, cc -E runs the code through the compiler's parser,
2300 # not just through cpp. "Syntax error" is here to catch this case.
2301 cat >conftest.$ac_ext <<_ACEOF
2302 /* confdefs.h. */
2303 _ACEOF
2304 cat confdefs.h >>conftest.$ac_ext
2305 cat >>conftest.$ac_ext <<_ACEOF
2306 /* end confdefs.h. */
2307 #ifdef __STDC__
2308 # include <limits.h>
2309 #else
2310 # include <assert.h>
2311 #endif
2312 Syntax error
2313 _ACEOF
2314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2316 ac_status=$?
2317 grep -v '^ *+' conftest.er1 >conftest.err
2318 rm -f conftest.er1
2319 cat conftest.err >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } >/dev/null; then
2322 if test -s conftest.err; then
2323 ac_cpp_err=$ac_c_preproc_warn_flag
2324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2325 else
2326 ac_cpp_err=
2328 else
2329 ac_cpp_err=yes
2331 if test -z "$ac_cpp_err"; then
2333 else
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.$ac_ext >&5
2337 # Broken: fails on valid input.
2338 continue
2340 rm -f conftest.err conftest.$ac_ext
2342 # OK, works on sane cases. Now check whether non-existent headers
2343 # can be detected and how.
2344 cat >conftest.$ac_ext <<_ACEOF
2345 /* confdefs.h. */
2346 _ACEOF
2347 cat confdefs.h >>conftest.$ac_ext
2348 cat >>conftest.$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2350 #include <ac_nonexistent.h>
2351 _ACEOF
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 ac_status=$?
2355 grep -v '^ *+' conftest.er1 >conftest.err
2356 rm -f conftest.er1
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev/null; then
2360 if test -s conftest.err; then
2361 ac_cpp_err=$ac_c_preproc_warn_flag
2362 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2363 else
2364 ac_cpp_err=
2366 else
2367 ac_cpp_err=yes
2369 if test -z "$ac_cpp_err"; then
2370 # Broken: success on invalid input.
2371 continue
2372 else
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.$ac_ext >&5
2376 # Passes both tests.
2377 ac_preproc_ok=:
2378 break
2380 rm -f conftest.err conftest.$ac_ext
2382 done
2383 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2384 rm -f conftest.err conftest.$ac_ext
2385 if $ac_preproc_ok; then
2387 else
2388 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2389 See \`config.log' for more details." >&5
2390 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&2;}
2392 { (exit 1); exit 1; }; }
2395 ac_ext=c
2396 ac_cpp='$CPP $CPPFLAGS'
2397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402 echo "$as_me:$LINENO: checking for egrep" >&5
2403 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2404 if test "${ac_cv_prog_egrep+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2408 then ac_cv_prog_egrep='grep -E'
2409 else ac_cv_prog_egrep='egrep'
2412 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2413 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2414 EGREP=$ac_cv_prog_egrep
2418 # Keep these sync'd with the list in Makefile.am. The first provides an
2419 # expandable list at autoconf time; the second provides an expandable list
2420 # (i.e., shell variable) at configure time.
2422 SUBDIRS='include libmath libsupc++ src po testsuite'
2424 # These need to be absolute paths, yet at the same time need to
2425 # canonicalize only relative paths, because then amd will not unmount
2426 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2427 glibcxx_builddir=`${PWDCMD-pwd}`
2428 case $srcdir in
2429 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2430 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2431 esac
2432 toplevel_srcdir=${glibcxx_srcdir}/..
2437 # We use these options to decide which functions to include. They are
2438 # set from the top level.
2440 # Check whether --with-target-subdir or --without-target-subdir was given.
2441 if test "${with_target_subdir+set}" = set; then
2442 withval="$with_target_subdir"
2447 # Check whether --with-cross-host or --without-cross-host was given.
2448 if test "${with_cross_host+set}" = set; then
2449 withval="$with_cross_host"
2454 # Check whether --with-newlib or --without-newlib was given.
2455 if test "${with_newlib+set}" = set; then
2456 withval="$with_newlib"
2460 # We're almost certainly being configured before anything else which uses
2461 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2462 # we not cache the value of CXX that we "discover" here, because it's set
2463 # to something unique for us and libjava. Other target libraries need to
2464 # find CXX for themselves. We yank the rug out from under the normal AC_*
2465 # process by sneakily renaming the cache variable. This also lets us debug
2466 # the value of "our" CXX in postmortems.
2468 # We must also force CXX to /not/ be a precious variable, otherwise the
2469 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2470 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2471 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2472 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2474 # -fno-builtin must be present here so that a non-conflicting form of
2475 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2480 save_CXXFLAGS="$CXXFLAGS"
2481 CXXFLAGS="$CXXFLAGS -fno-builtin"
2482 ac_ext=c
2483 ac_cpp='$CPP $CPPFLAGS'
2484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -n "$ac_tool_prefix"; then
2488 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2489 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2490 echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2505 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2514 CC=$ac_cv_prog_CC
2515 if test -n "$CC"; then
2516 echo "$as_me:$LINENO: result: $CC" >&5
2517 echo "${ECHO_T}$CC" >&6
2518 else
2519 echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6
2524 if test -z "$ac_cv_prog_CC"; then
2525 ac_ct_CC=$CC
2526 # Extract the first word of "gcc", so it can be a program name with args.
2527 set dummy gcc; ac_word=$2
2528 echo "$as_me:$LINENO: checking for $ac_word" >&5
2529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2531 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533 if test -n "$ac_ct_CC"; then
2534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2543 ac_cv_prog_ac_ct_CC="gcc"
2544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2547 done
2548 done
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6
2556 else
2557 echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6
2561 CC=$ac_ct_CC
2562 else
2563 CC="$ac_cv_prog_CC"
2566 if test -z "$CC"; then
2567 if test -n "$ac_tool_prefix"; then
2568 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2569 set dummy ${ac_tool_prefix}cc; ac_word=$2
2570 echo "$as_me:$LINENO: checking for $ac_word" >&5
2571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2572 if test "${ac_cv_prog_CC+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 if test -n "$CC"; then
2576 ac_cv_prog_CC="$CC" # Let the user override the test.
2577 else
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2581 IFS=$as_save_IFS
2582 test -z "$as_dir" && as_dir=.
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_CC="${ac_tool_prefix}cc"
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 break 2
2589 done
2590 done
2594 CC=$ac_cv_prog_CC
2595 if test -n "$CC"; then
2596 echo "$as_me:$LINENO: result: $CC" >&5
2597 echo "${ECHO_T}$CC" >&6
2598 else
2599 echo "$as_me:$LINENO: result: no" >&5
2600 echo "${ECHO_T}no" >&6
2604 if test -z "$ac_cv_prog_CC"; then
2605 ac_ct_CC=$CC
2606 # Extract the first word of "cc", so it can be a program name with args.
2607 set dummy cc; ac_word=$2
2608 echo "$as_me:$LINENO: checking for $ac_word" >&5
2609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 if test -n "$ac_ct_CC"; then
2614 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2619 IFS=$as_save_IFS
2620 test -z "$as_dir" && as_dir=.
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_ac_ct_CC="cc"
2624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 break 2
2627 done
2628 done
2632 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2633 if test -n "$ac_ct_CC"; then
2634 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2635 echo "${ECHO_T}$ac_ct_CC" >&6
2636 else
2637 echo "$as_me:$LINENO: result: no" >&5
2638 echo "${ECHO_T}no" >&6
2641 CC=$ac_ct_CC
2642 else
2643 CC="$ac_cv_prog_CC"
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc; ac_word=$2
2650 echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC="$CC" # Let the user override the test.
2657 else
2658 ac_prog_rejected=no
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2662 IFS=$as_save_IFS
2663 test -z "$as_dir" && as_dir=.
2664 for ac_exec_ext in '' $ac_executable_extensions; do
2665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected=yes
2668 continue
2670 ac_cv_prog_CC="cc"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 break 2
2674 done
2675 done
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2680 shift
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2685 shift
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693 echo "$as_me:$LINENO: result: $CC" >&5
2694 echo "${ECHO_T}$CC" >&6
2695 else
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2701 if test -z "$CC"; then
2702 if test -n "$ac_tool_prefix"; then
2703 for ac_prog in cl
2705 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2706 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2707 echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2709 if test "${ac_cv_prog_CC+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2718 IFS=$as_save_IFS
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2722 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 break 2
2726 done
2727 done
2731 CC=$ac_cv_prog_CC
2732 if test -n "$CC"; then
2733 echo "$as_me:$LINENO: result: $CC" >&5
2734 echo "${ECHO_T}$CC" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2740 test -n "$CC" && break
2741 done
2743 if test -z "$CC"; then
2744 ac_ct_CC=$CC
2745 for ac_prog in cl
2747 # Extract the first word of "$ac_prog", so it can be a program name with args.
2748 set dummy $ac_prog; ac_word=$2
2749 echo "$as_me:$LINENO: checking for $ac_word" >&5
2750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2751 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 else
2754 if test -n "$ac_ct_CC"; then
2755 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2756 else
2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758 for as_dir in $PATH
2760 IFS=$as_save_IFS
2761 test -z "$as_dir" && as_dir=.
2762 for ac_exec_ext in '' $ac_executable_extensions; do
2763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2764 ac_cv_prog_ac_ct_CC="$ac_prog"
2765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 break 2
2768 done
2769 done
2773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 echo "${ECHO_T}$ac_ct_CC" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2782 test -n "$ac_ct_CC" && break
2783 done
2785 CC=$ac_ct_CC
2791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2792 See \`config.log' for more details." >&5
2793 echo "$as_me: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&2;}
2795 { (exit 1); exit 1; }; }
2797 # Provide some information about the compiler.
2798 echo "$as_me:$LINENO:" \
2799 "checking for C compiler version" >&5
2800 ac_compiler=`set X $ac_compile; echo $2`
2801 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2802 (eval $ac_compiler --version </dev/null >&5) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2806 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2807 (eval $ac_compiler -v </dev/null >&5) 2>&5
2808 ac_status=$?
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }
2811 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2812 (eval $ac_compiler -V </dev/null >&5) 2>&5
2813 ac_status=$?
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 # FIXME: Cleanup?
2833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2834 (eval $ac_link) 2>&5
2835 ac_status=$?
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; then
2838 gcc_no_link=no
2839 else
2840 gcc_no_link=yes
2843 if test x$gcc_no_link = xyes; then
2844 # Setting cross_compile will disable run tests; it will
2845 # also disable AC_CHECK_FILE but that's generally
2846 # correct if we can't link.
2847 cross_compiling=yes
2848 EXEEXT=
2849 else
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 main ()
2862 return 0;
2864 _ACEOF
2865 ac_clean_files_save=$ac_clean_files
2866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2867 # Try to create an executable without -o first, disregard a.out.
2868 # It will help us diagnose broken compilers, and finding out an intuition
2869 # of exeext.
2870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2874 (eval $ac_link_default) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; then
2878 # Find the output, starting from the most likely. This scheme is
2879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2880 # resort.
2882 # Be careful to initialize this variable, since it used to be cached.
2883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2884 ac_cv_exeext=
2885 # b.out is created by i960 compilers.
2886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2888 test -f "$ac_file" || continue
2889 case $ac_file in
2890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2892 conftest.$ac_ext )
2893 # This is the source file.
2895 [ab].out )
2896 # We found the default executable, but exeext='' is most
2897 # certainly right.
2898 break;;
2899 *.* )
2900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2901 # FIXME: I believe we export ac_cv_exeext for Libtool,
2902 # but it would be cool to find out if it's true. Does anybody
2903 # maintain Libtool? --akim.
2904 export ac_cv_exeext
2905 break;;
2907 break;;
2908 esac
2909 done
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2915 See \`config.log' for more details." >&5
2916 echo "$as_me: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&2;}
2918 { (exit 77); exit 77; }; }
2921 ac_exeext=$ac_cv_exeext
2922 echo "$as_me:$LINENO: result: $ac_file" >&5
2923 echo "${ECHO_T}$ac_file" >&6
2925 # Check the compiler produces executables we can run. If not, either
2926 # the compiler is broken, or we cross compile.
2927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2930 # If not cross compiling, check that we can run a simple program.
2931 if test "$cross_compiling" != yes; then
2932 if { ac_try='./$ac_file'
2933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2934 (eval $ac_try) 2>&5
2935 ac_status=$?
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); }; }; then
2938 cross_compiling=no
2939 else
2940 if test "$cross_compiling" = maybe; then
2941 cross_compiling=yes
2942 else
2943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2944 If you meant to cross compile, use \`--host'.
2945 See \`config.log' for more details." >&5
2946 echo "$as_me: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&2;}
2949 { (exit 1); exit 1; }; }
2953 echo "$as_me:$LINENO: result: yes" >&5
2954 echo "${ECHO_T}yes" >&6
2956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2957 ac_clean_files=$ac_clean_files_save
2958 # Check the compiler produces executables we can run. If not, either
2959 # the compiler is broken, or we cross compile.
2960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2963 echo "${ECHO_T}$cross_compiling" >&6
2965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2968 (eval $ac_link) 2>&5
2969 ac_status=$?
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; then
2972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2974 # work properly (i.e., refer to `conftest.exe'), while it won't with
2975 # `rm'.
2976 for ac_file in conftest.exe conftest conftest.*; do
2977 test -f "$ac_file" || continue
2978 case $ac_file in
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 export ac_cv_exeext
2982 break;;
2983 * ) break;;
2984 esac
2985 done
2986 else
2987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2988 See \`config.log' for more details." >&5
2989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&2;}
2991 { (exit 1); exit 1; }; }
2994 rm -f conftest$ac_cv_exeext
2995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2996 echo "${ECHO_T}$ac_cv_exeext" >&6
2998 rm -f conftest.$ac_ext
2999 EXEEXT=$ac_cv_exeext
3000 ac_exeext=$EXEEXT
3002 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3003 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3004 if test "${ac_cv_objext+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 else
3007 cat >conftest.$ac_ext <<_ACEOF
3008 /* confdefs.h. */
3009 _ACEOF
3010 cat confdefs.h >>conftest.$ac_ext
3011 cat >>conftest.$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 main ()
3019 return 0;
3021 _ACEOF
3022 rm -f conftest.o conftest.obj
3023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3024 (eval $ac_compile) 2>&5
3025 ac_status=$?
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; then
3028 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3029 case $ac_file in
3030 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3031 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3032 break;;
3033 esac
3034 done
3035 else
3036 echo "$as_me: failed program was:" >&5
3037 sed 's/^/| /' conftest.$ac_ext >&5
3039 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040 See \`config.log' for more details." >&5
3041 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&2;}
3043 { (exit 1); exit 1; }; }
3046 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3048 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049 echo "${ECHO_T}$ac_cv_objext" >&6
3050 OBJEXT=$ac_cv_objext
3051 ac_objext=$OBJEXT
3052 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3054 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055 echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057 cat >conftest.$ac_ext <<_ACEOF
3058 /* confdefs.h. */
3059 _ACEOF
3060 cat confdefs.h >>conftest.$ac_ext
3061 cat >>conftest.$ac_ext <<_ACEOF
3062 /* end confdefs.h. */
3065 main ()
3067 #ifndef __GNUC__
3068 choke me
3069 #endif
3072 return 0;
3074 _ACEOF
3075 rm -f conftest.$ac_objext
3076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3077 (eval $ac_compile) 2>conftest.er1
3078 ac_status=$?
3079 grep -v '^ *+' conftest.er1 >conftest.err
3080 rm -f conftest.er1
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } &&
3084 { ac_try='test -z "$ac_c_werror_flag"
3085 || test ! -s conftest.err'
3086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 (eval $ac_try) 2>&5
3088 ac_status=$?
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); }; } &&
3091 { ac_try='test -s conftest.$ac_objext'
3092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 (eval $ac_try) 2>&5
3094 ac_status=$?
3095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096 (exit $ac_status); }; }; then
3097 ac_compiler_gnu=yes
3098 else
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 ac_compiler_gnu=no
3104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3110 GCC=`test $ac_compiler_gnu = yes && echo yes`
3111 ac_test_CFLAGS=${CFLAGS+set}
3112 ac_save_CFLAGS=$CFLAGS
3113 CFLAGS="-g"
3114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3116 if test "${ac_cv_prog_cc_g+set}" = set; then
3117 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 else
3119 cat >conftest.$ac_ext <<_ACEOF
3120 /* confdefs.h. */
3121 _ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3127 main ()
3131 return 0;
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136 (eval $ac_compile) 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -z "$ac_c_werror_flag"
3144 || test ! -s conftest.err'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; } &&
3150 { ac_try='test -s conftest.$ac_objext'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; }; then
3156 ac_cv_prog_cc_g=yes
3157 else
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3161 ac_cv_prog_cc_g=no
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3165 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3166 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3167 if test "$ac_test_CFLAGS" = set; then
3168 CFLAGS=$ac_save_CFLAGS
3169 elif test $ac_cv_prog_cc_g = yes; then
3170 if test "$GCC" = yes; then
3171 CFLAGS="-g -O2"
3172 else
3173 CFLAGS="-g"
3175 else
3176 if test "$GCC" = yes; then
3177 CFLAGS="-O2"
3178 else
3179 CFLAGS=
3182 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3183 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3184 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3186 else
3187 ac_cv_prog_cc_stdc=no
3188 ac_save_CC=$CC
3189 cat >conftest.$ac_ext <<_ACEOF
3190 /* confdefs.h. */
3191 _ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3195 #include <stdarg.h>
3196 #include <stdio.h>
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3203 char **p;
3204 int i;
3206 return p[i];
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3210 char *s;
3211 va_list v;
3212 va_start (v,p);
3213 s = g (p, va_arg (v,int));
3214 va_end (v);
3215 return s;
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std1 is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std1. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3234 main ()
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3238 return 0;
3240 _ACEOF
3241 # Don't try gcc -ansi; that turns off useful extensions and
3242 # breaks some systems' header files.
3243 # AIX -qlanglvl=ansi
3244 # Ultrix and OSF/1 -std1
3245 # HP-UX 10.20 and later -Ae
3246 # HP-UX older versions -Aa -D_HPUX_SOURCE
3247 # SVR4 -Xc -D__EXTENSIONS__
3248 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3253 (eval $ac_compile) 2>conftest.er1
3254 ac_status=$?
3255 grep -v '^ *+' conftest.er1 >conftest.err
3256 rm -f conftest.er1
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } &&
3260 { ac_try='test -z "$ac_c_werror_flag"
3261 || test ! -s conftest.err'
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 (eval $ac_try) 2>&5
3264 ac_status=$?
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); }; } &&
3267 { ac_try='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 (eval $ac_try) 2>&5
3270 ac_status=$?
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3273 ac_cv_prog_cc_stdc=$ac_arg
3274 break
3275 else
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3280 rm -f conftest.err conftest.$ac_objext
3281 done
3282 rm -f conftest.$ac_ext conftest.$ac_objext
3283 CC=$ac_save_CC
3287 case "x$ac_cv_prog_cc_stdc" in
3288 x|xno)
3289 echo "$as_me:$LINENO: result: none needed" >&5
3290 echo "${ECHO_T}none needed" >&6 ;;
3292 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3294 CC="$CC $ac_cv_prog_cc_stdc" ;;
3295 esac
3297 # Some people use a C++ compiler to compile C. Since we use `exit',
3298 # in C++ we need to declare it. In case someone uses the same compiler
3299 # for both compiling C and C++ we need to have the C++ compiler decide
3300 # the declaration of exit, since it's the most demanding environment.
3301 cat >conftest.$ac_ext <<_ACEOF
3302 #ifndef __cplusplus
3303 choke me
3304 #endif
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3309 ac_status=$?
3310 grep -v '^ *+' conftest.er1 >conftest.err
3311 rm -f conftest.er1
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag"
3316 || test ! -s conftest.err'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318 (eval $ac_try) 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; } &&
3322 { ac_try='test -s conftest.$ac_objext'
3323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 (eval $ac_try) 2>&5
3325 ac_status=$?
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); }; }; then
3328 for ac_declaration in \
3329 '' \
3330 'extern "C" void std::exit (int) throw (); using std::exit;' \
3331 'extern "C" void std::exit (int); using std::exit;' \
3332 'extern "C" void exit (int) throw ();' \
3333 'extern "C" void exit (int);' \
3334 'void exit (int);'
3336 cat >conftest.$ac_ext <<_ACEOF
3337 /* confdefs.h. */
3338 _ACEOF
3339 cat confdefs.h >>conftest.$ac_ext
3340 cat >>conftest.$ac_ext <<_ACEOF
3341 /* end confdefs.h. */
3342 $ac_declaration
3343 #include <stdlib.h>
3345 main ()
3347 exit (42);
3349 return 0;
3351 _ACEOF
3352 rm -f conftest.$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3355 ac_status=$?
3356 grep -v '^ *+' conftest.er1 >conftest.err
3357 rm -f conftest.er1
3358 cat conftest.err >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try='test -z "$ac_c_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3364 (eval $ac_try) 2>&5
3365 ac_status=$?
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 (eval $ac_try) 2>&5
3371 ac_status=$?
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3375 else
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.$ac_ext >&5
3379 continue
3381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 $ac_declaration
3390 main ()
3392 exit (42);
3394 return 0;
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } &&
3406 { ac_try='test -z "$ac_c_werror_flag"
3407 || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 (eval $ac_try) 2>&5
3410 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try='test -s conftest.$ac_objext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 (eval $ac_try) 2>&5
3416 ac_status=$?
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 break
3420 else
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 done
3427 rm -f conftest*
3428 if test -n "$ac_declaration"; then
3429 echo '#ifdef __cplusplus' >>confdefs.h
3430 echo $ac_declaration >>confdefs.h
3431 echo '#endif' >>confdefs.h
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 ac_ext=c
3441 ac_cpp='$CPP $CPPFLAGS'
3442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 ac_ext=cc
3447 ac_cpp='$CXXCPP $CPPFLAGS'
3448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3454 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3455 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3456 echo "$as_me:$LINENO: checking for $ac_word" >&5
3457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3458 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3459 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 else
3461 if test -n "$CXX"; then
3462 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3463 else
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3467 IFS=$as_save_IFS
3468 test -z "$as_dir" && as_dir=.
3469 for ac_exec_ext in '' $ac_executable_extensions; do
3470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3471 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3473 break 2
3475 done
3476 done
3480 CXX=$glibcxx_cv_prog_CXX
3481 if test -n "$CXX"; then
3482 echo "$as_me:$LINENO: result: $CXX" >&5
3483 echo "${ECHO_T}$CXX" >&6
3484 else
3485 echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6
3489 test -n "$CXX" && break
3490 done
3492 if test -z "$CXX"; then
3493 ac_ct_CXX=$CXX
3494 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3496 # Extract the first word of "$ac_prog", so it can be a program name with args.
3497 set dummy $ac_prog; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_CXX"; then
3504 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_CXX="$ac_prog"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3523 if test -n "$ac_ct_CXX"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3525 echo "${ECHO_T}$ac_ct_CXX" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 test -n "$ac_ct_CXX" && break
3532 done
3533 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3535 CXX=$ac_ct_CXX
3539 # Provide some information about the compiler.
3540 echo "$as_me:$LINENO:" \
3541 "checking for C++ compiler version" >&5
3542 ac_compiler=`set X $ac_compile; echo $2`
3543 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3544 (eval $ac_compiler --version </dev/null >&5) 2>&5
3545 ac_status=$?
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }
3548 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3549 (eval $ac_compiler -v </dev/null >&5) 2>&5
3550 ac_status=$?
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }
3553 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3554 (eval $ac_compiler -V </dev/null >&5) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }
3559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 else
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3572 main ()
3574 #ifndef __GNUC__
3575 choke me
3576 #endif
3579 return 0;
3581 _ACEOF
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_cxx_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 (eval $ac_try) 2>&5
3595 ac_status=$?
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_compiler_gnu=yes
3605 else
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 ac_compiler_gnu=no
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3617 GXX=`test $ac_compiler_gnu = yes && echo yes`
3618 ac_test_CXXFLAGS=${CXXFLAGS+set}
3619 ac_save_CXXFLAGS=$CXXFLAGS
3620 CXXFLAGS="-g"
3621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3623 if test "${ac_cv_prog_cxx_g+set}" = set; then
3624 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 else
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3634 main ()
3638 return 0;
3640 _ACEOF
3641 rm -f conftest.$ac_objext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3643 (eval $ac_compile) 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -z "$ac_cxx_werror_flag"
3651 || test ! -s conftest.err'
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3653 (eval $ac_try) 2>&5
3654 ac_status=$?
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); }; } &&
3657 { ac_try='test -s conftest.$ac_objext'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 (eval $ac_try) 2>&5
3660 ac_status=$?
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; }; then
3663 ac_cv_prog_cxx_g=yes
3664 else
3665 echo "$as_me: failed program was:" >&5
3666 sed 's/^/| /' conftest.$ac_ext >&5
3668 ac_cv_prog_cxx_g=no
3670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3672 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3673 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3674 if test "$ac_test_CXXFLAGS" = set; then
3675 CXXFLAGS=$ac_save_CXXFLAGS
3676 elif test $ac_cv_prog_cxx_g = yes; then
3677 if test "$GXX" = yes; then
3678 CXXFLAGS="-g -O2"
3679 else
3680 CXXFLAGS="-g"
3682 else
3683 if test "$GXX" = yes; then
3684 CXXFLAGS="-O2"
3685 else
3686 CXXFLAGS=
3689 for ac_declaration in \
3690 '' \
3691 'extern "C" void std::exit (int) throw (); using std::exit;' \
3692 'extern "C" void std::exit (int); using std::exit;' \
3693 'extern "C" void exit (int) throw ();' \
3694 'extern "C" void exit (int);' \
3695 'void exit (int);'
3697 cat >conftest.$ac_ext <<_ACEOF
3698 /* confdefs.h. */
3699 _ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_declaration
3704 #include <stdlib.h>
3706 main ()
3708 exit (42);
3710 return 0;
3712 _ACEOF
3713 rm -f conftest.$ac_objext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3715 (eval $ac_compile) 2>conftest.er1
3716 ac_status=$?
3717 grep -v '^ *+' conftest.er1 >conftest.err
3718 rm -f conftest.er1
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_cxx_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 (eval $ac_try) 2>&5
3726 ac_status=$?
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest.$ac_objext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 (eval $ac_try) 2>&5
3732 ac_status=$?
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3736 else
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3740 continue
3742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3743 cat >conftest.$ac_ext <<_ACEOF
3744 /* confdefs.h. */
3745 _ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_declaration
3751 main ()
3753 exit (42);
3755 return 0;
3757 _ACEOF
3758 rm -f conftest.$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>conftest.er1
3761 ac_status=$?
3762 grep -v '^ *+' conftest.er1 >conftest.err
3763 rm -f conftest.er1
3764 cat conftest.err >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try='test -z "$ac_cxx_werror_flag"
3768 || test ! -s conftest.err'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3770 (eval $ac_try) 2>&5
3771 ac_status=$?
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; } &&
3774 { ac_try='test -s conftest.$ac_objext'
3775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 (eval $ac_try) 2>&5
3777 ac_status=$?
3778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779 (exit $ac_status); }; }; then
3780 break
3781 else
3782 echo "$as_me: failed program was:" >&5
3783 sed 's/^/| /' conftest.$ac_ext >&5
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 done
3788 rm -f conftest*
3789 if test -n "$ac_declaration"; then
3790 echo '#ifdef __cplusplus' >>confdefs.h
3791 echo $ac_declaration >>confdefs.h
3792 echo '#endif' >>confdefs.h
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 CXXFLAGS="$save_CXXFLAGS"
3806 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3807 # available). Uncomment the next line to force a particular method.
3808 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3809 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3810 LN_S=$as_ln_s
3811 if test "$LN_S" = "ln -s"; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3816 echo "${ECHO_T}no, using $LN_S" >&6
3819 #LN_S='cp -p'
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3823 set dummy ${ac_tool_prefix}as; ac_word=$2
3824 echo "$as_me:$LINENO: checking for $ac_word" >&5
3825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3826 if test "${ac_cv_prog_AS+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 else
3829 if test -n "$AS"; then
3830 ac_cv_prog_AS="$AS" # Let the user override the test.
3831 else
3832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833 for as_dir in $PATH
3835 IFS=$as_save_IFS
3836 test -z "$as_dir" && as_dir=.
3837 for ac_exec_ext in '' $ac_executable_extensions; do
3838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_AS="${ac_tool_prefix}as"
3840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841 break 2
3843 done
3844 done
3848 AS=$ac_cv_prog_AS
3849 if test -n "$AS"; then
3850 echo "$as_me:$LINENO: result: $AS" >&5
3851 echo "${ECHO_T}$AS" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3858 if test -z "$ac_cv_prog_AS"; then
3859 ac_ct_AS=$AS
3860 # Extract the first word of "as", so it can be a program name with args.
3861 set dummy as; ac_word=$2
3862 echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3864 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867 if test -n "$ac_ct_AS"; then
3868 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3873 IFS=$as_save_IFS
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3877 ac_cv_prog_ac_ct_AS="as"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 break 2
3881 done
3882 done
3886 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3887 if test -n "$ac_ct_AS"; then
3888 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3889 echo "${ECHO_T}$ac_ct_AS" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3895 AS=$ac_ct_AS
3896 else
3897 AS="$ac_cv_prog_AS"
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ar; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_AR+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$AR"; then
3909 ac_cv_prog_AR="$AR" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_AR="${ac_tool_prefix}ar"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3927 AR=$ac_cv_prog_AR
3928 if test -n "$AR"; then
3929 echo "$as_me:$LINENO: result: $AR" >&5
3930 echo "${ECHO_T}$AR" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3937 if test -z "$ac_cv_prog_AR"; then
3938 ac_ct_AR=$AR
3939 # Extract the first word of "ar", so it can be a program name with args.
3940 set dummy ar; ac_word=$2
3941 echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3943 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 if test -n "$ac_ct_AR"; then
3947 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_ac_ct_AR="ar"
3957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3965 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3966 if test -n "$ac_ct_AR"; then
3967 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3968 echo "${ECHO_T}$ac_ct_AR" >&6
3969 else
3970 echo "$as_me:$LINENO: result: no" >&5
3971 echo "${ECHO_T}no" >&6
3974 AR=$ac_ct_AR
3975 else
3976 AR="$ac_cv_prog_AR"
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_RANLIB+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$RANLIB"; then
3988 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4006 RANLIB=$ac_cv_prog_RANLIB
4007 if test -n "$RANLIB"; then
4008 echo "$as_me:$LINENO: result: $RANLIB" >&5
4009 echo "${ECHO_T}$RANLIB" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4016 if test -z "$ac_cv_prog_RANLIB"; then
4017 ac_ct_RANLIB=$RANLIB
4018 # Extract the first word of "ranlib", so it can be a program name with args.
4019 set dummy ranlib; ac_word=$2
4020 echo "$as_me:$LINENO: checking for $ac_word" >&5
4021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4022 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 else
4025 if test -n "$ac_ct_RANLIB"; then
4026 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4027 else
4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4029 for as_dir in $PATH
4031 IFS=$as_save_IFS
4032 test -z "$as_dir" && as_dir=.
4033 for ac_exec_ext in '' $ac_executable_extensions; do
4034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_ac_ct_RANLIB="ranlib"
4036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4037 break 2
4039 done
4040 done
4042 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4045 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4046 if test -n "$ac_ct_RANLIB"; then
4047 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4048 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4054 RANLIB=$ac_ct_RANLIB
4055 else
4056 RANLIB="$ac_cv_prog_RANLIB"
4060 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4061 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4062 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4063 if test "${enable_maintainer_mode+set}" = set; then
4064 enableval="$enable_maintainer_mode"
4065 USE_MAINTAINER_MODE=$enableval
4066 else
4067 USE_MAINTAINER_MODE=no
4069 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4070 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4073 if test $USE_MAINTAINER_MODE = yes; then
4074 MAINTAINER_MODE_TRUE=
4075 MAINTAINER_MODE_FALSE='#'
4076 else
4077 MAINTAINER_MODE_TRUE='#'
4078 MAINTAINER_MODE_FALSE=
4081 MAINT=$MAINTAINER_MODE_TRUE
4085 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4086 # which are themselves conditionally expanded.
4087 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4088 ## other macros from doing the same. This should be automated.) -pme
4089 need_libmath=no
4091 # Check for uClibc since Linux platforms use different configuration
4092 # directories depending on the C library in use.
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4100 #include <stdio.h>
4101 #if __UCLIBC__
4102 _using_uclibc
4103 #endif
4105 _ACEOF
4106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4107 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4108 uclibc=yes
4109 else
4110 uclibc=no
4112 rm -f conftest*
4115 # Find platform-specific directories containing configuration info.
4116 # Also possibly modify flags used elsewhere, as needed by the platform.
4118 . $glibcxx_srcdir/configure.host
4119 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4120 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4121 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4122 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4126 enable_dlopen=yes
4132 macro_version='2.1a'
4133 macro_revision='1.2435'
4146 ltmain="$ac_aux_dir/ltmain.sh"
4148 # Set options
4151 enable_win32_dll=no
4154 # Check whether --enable-shared or --disable-shared was given.
4155 if test "${enable_shared+set}" = set; then
4156 enableval="$enable_shared"
4157 p=${PACKAGE-default}
4158 case $enableval in
4159 yes) enable_shared=yes ;;
4160 no) enable_shared=no ;;
4162 enable_shared=no
4163 # Look at the argument we got. We use all the common list separators.
4164 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4165 for pkg in $enableval; do
4166 IFS="$lt_save_ifs"
4167 if test "X$pkg" = "X$p"; then
4168 enable_shared=yes
4170 done
4171 IFS="$lt_save_ifs"
4173 esac
4174 else
4175 enable_shared=yes
4185 # Check whether --enable-static or --disable-static was given.
4186 if test "${enable_static+set}" = set; then
4187 enableval="$enable_static"
4188 p=${PACKAGE-default}
4189 case $enableval in
4190 yes) enable_static=yes ;;
4191 no) enable_static=no ;;
4193 enable_static=no
4194 # Look at the argument we got. We use all the common list separators.
4195 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4196 for pkg in $enableval; do
4197 IFS="$lt_save_ifs"
4198 if test "X$pkg" = "X$p"; then
4199 enable_static=yes
4201 done
4202 IFS="$lt_save_ifs"
4204 esac
4205 else
4206 enable_static=yes
4217 # Check whether --with-pic or --without-pic was given.
4218 if test "${with_pic+set}" = set; then
4219 withval="$with_pic"
4220 pic_mode="$withval"
4221 else
4222 pic_mode=default
4225 test -z "$pic_mode" && pic_mode=default
4233 # Check whether --enable-fast-install or --disable-fast-install was given.
4234 if test "${enable_fast_install+set}" = set; then
4235 enableval="$enable_fast_install"
4236 p=${PACKAGE-default}
4237 case $enableval in
4238 yes) enable_fast_install=yes ;;
4239 no) enable_fast_install=no ;;
4241 enable_fast_install=no
4242 # Look at the argument we got. We use all the common list separators.
4243 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4244 for pkg in $enableval; do
4245 IFS="$lt_save_ifs"
4246 if test "X$pkg" = "X$p"; then
4247 enable_fast_install=yes
4249 done
4250 IFS="$lt_save_ifs"
4252 esac
4253 else
4254 enable_fast_install=yes
4264 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4265 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4266 if test "${lt_cv_path_SED+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 # Loop through the user's path and test for sed and gsed.
4270 # Then use that list of sed's as ones to test for truncation.
4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 for as_dir in $PATH
4274 IFS=$as_save_IFS
4275 test -z "$as_dir" && as_dir=.
4276 for lt_ac_prog in sed gsed; do
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4279 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4281 done
4282 done
4283 done
4284 IFS=$as_save_IFS
4285 lt_ac_max=0
4286 lt_ac_count=0
4287 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4288 # along with /bin/sed that truncates output.
4289 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4290 test ! -f $lt_ac_sed && continue
4291 cat /dev/null > conftest.in
4292 lt_ac_count=0
4293 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4294 # Check for GNU sed and select it if it is found.
4295 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4296 lt_cv_path_SED=$lt_ac_sed
4297 break
4299 while true; do
4300 cat conftest.in conftest.in >conftest.tmp
4301 mv conftest.tmp conftest.in
4302 cp conftest.in conftest.nl
4303 echo >>conftest.nl
4304 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4305 cmp -s conftest.out conftest.nl || break
4306 # 10000 chars as input seems more than enough
4307 test $lt_ac_count -gt 10 && break
4308 lt_ac_count=`expr $lt_ac_count + 1`
4309 if test $lt_ac_count -gt $lt_ac_max; then
4310 lt_ac_max=$lt_ac_count
4311 lt_cv_path_SED=$lt_ac_sed
4313 done
4314 done
4318 SED=$lt_cv_path_SED
4320 echo "$as_me:$LINENO: result: $SED" >&5
4321 echo "${ECHO_T}$SED" >&6
4323 test -z "$SED" && SED=sed
4324 Xsed="$SED -e 1s/^X//"
4336 echo "$as_me:$LINENO: checking for fgrep" >&5
4337 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4338 if test "${ac_cv_prog_fgrep+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4340 else
4341 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4342 then ac_cv_prog_fgrep='grep -F'
4343 else ac_cv_prog_fgrep='fgrep'
4346 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4347 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4348 FGREP=$ac_cv_prog_fgrep
4351 test -z "$GREP" && GREP=grep
4371 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4372 if test "${with_gnu_ld+set}" = set; then
4373 withval="$with_gnu_ld"
4374 test "$withval" = no || with_gnu_ld=yes
4375 else
4376 with_gnu_ld=no
4378 ac_prog=ld
4379 if test "$GCC" = yes; then
4380 # Check if gcc -print-prog-name=ld gives a path.
4381 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4382 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4383 case $host in
4384 *-*-mingw*)
4385 # gcc leaves a trailing carriage return which upsets mingw
4386 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4389 esac
4390 case $ac_prog in
4391 # Accept absolute paths.
4392 [\\/]* | ?:[\\/]*)
4393 re_direlt='/[^/][^/]*/\.\./'
4394 # Canonicalize the pathname of ld
4395 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4396 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4397 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4398 done
4399 test -z "$LD" && LD="$ac_prog"
4402 # If it fails, then pretend we aren't using GCC.
4403 ac_prog=ld
4406 # If it is relative, then search for the first ld in PATH.
4407 with_gnu_ld=unknown
4409 esac
4410 elif test "$with_gnu_ld" = yes; then
4411 echo "$as_me:$LINENO: checking for GNU ld" >&5
4412 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4413 else
4414 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4415 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4417 if test "${lt_cv_path_LD+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 if test -z "$LD"; then
4421 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4422 for ac_dir in $PATH; do
4423 IFS="$lt_save_ifs"
4424 test -z "$ac_dir" && ac_dir=.
4425 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4426 lt_cv_path_LD="$ac_dir/$ac_prog"
4427 # Check to see if the program is GNU ld. I'd rather use --version,
4428 # but apparently some variants of GNU ld only accept -v.
4429 # Break only if it was the GNU/non-GNU ld that we prefer.
4430 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4431 *GNU* | *'with BFD'*)
4432 test "$with_gnu_ld" != no && break
4435 test "$with_gnu_ld" != yes && break
4437 esac
4439 done
4440 IFS="$lt_save_ifs"
4441 else
4442 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4446 LD="$lt_cv_path_LD"
4447 if test -n "$LD"; then
4448 echo "$as_me:$LINENO: result: $LD" >&5
4449 echo "${ECHO_T}$LD" >&6
4450 else
4451 echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6
4454 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4455 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4456 { (exit 1); exit 1; }; }
4457 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4458 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4459 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 else
4462 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4463 case `$LD -v 2>&1 </dev/null` in
4464 *GNU* | *'with BFD'*)
4465 lt_cv_prog_gnu_ld=yes
4468 lt_cv_prog_gnu_ld=no
4470 esac
4472 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4473 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4474 with_gnu_ld=$lt_cv_prog_gnu_ld
4485 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4486 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4487 if test "${lt_cv_path_NM+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 if test -n "$NM"; then
4491 # Let the user override the test.
4492 lt_cv_path_NM="$NM"
4493 else
4494 lt_nm_to_check="${ac_tool_prefix}nm"
4495 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4496 lt_nm_to_check="$lt_nm_to_check nm"
4498 for lt_tmp_nm in $lt_nm_to_check; do
4499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4500 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4501 IFS="$lt_save_ifs"
4502 test -z "$ac_dir" && ac_dir=.
4503 tmp_nm="$ac_dir/$lt_tmp_nm"
4504 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4505 # Check to see if the nm accepts a BSD-compat flag.
4506 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4507 # nm: unknown option "B" ignored
4508 # Tru64's nm complains that /dev/null is an invalid object file
4509 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4510 */dev/null* | *'Invalid file or object type'*)
4511 lt_cv_path_NM="$tmp_nm -B"
4512 break
4515 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4516 */dev/null*)
4517 lt_cv_path_NM="$tmp_nm -p"
4518 break
4521 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4522 continue # so that we can try to find one that supports BSD flags
4524 esac
4526 esac
4528 done
4529 IFS="$lt_save_ifs"
4530 done
4531 : ${lt_cv_path_NM=no}
4534 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4535 echo "${ECHO_T}$lt_cv_path_NM" >&6
4536 if test "$lt_cv_path_NM" != "no"; then
4537 NM="$lt_cv_path_NM"
4538 else
4539 # Didn't find any BSD compatible name lister, look for dumpbin.
4540 if test -n "$ac_tool_prefix"; then
4541 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4543 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4544 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4545 echo "$as_me:$LINENO: checking for $ac_word" >&5
4546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4547 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 if test -n "$DUMPBIN"; then
4551 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4552 else
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554 for as_dir in $PATH
4556 IFS=$as_save_IFS
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4560 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2
4564 done
4565 done
4569 DUMPBIN=$ac_cv_prog_DUMPBIN
4570 if test -n "$DUMPBIN"; then
4571 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4572 echo "${ECHO_T}$DUMPBIN" >&6
4573 else
4574 echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6
4578 test -n "$DUMPBIN" && break
4579 done
4581 if test -z "$DUMPBIN"; then
4582 ac_ct_DUMPBIN=$DUMPBIN
4583 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4585 # Extract the first word of "$ac_prog", so it can be a program name with args.
4586 set dummy $ac_prog; ac_word=$2
4587 echo "$as_me:$LINENO: checking for $ac_word" >&5
4588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4589 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 else
4592 if test -n "$ac_ct_DUMPBIN"; then
4593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4594 else
4595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 for as_dir in $PATH
4598 IFS=$as_save_IFS
4599 test -z "$as_dir" && as_dir=.
4600 for ac_exec_ext in '' $ac_executable_extensions; do
4601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 break 2
4606 done
4607 done
4611 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4612 if test -n "$ac_ct_DUMPBIN"; then
4613 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4614 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4615 else
4616 echo "$as_me:$LINENO: result: no" >&5
4617 echo "${ECHO_T}no" >&6
4620 test -n "$ac_ct_DUMPBIN" && break
4621 done
4622 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4624 DUMPBIN=$ac_ct_DUMPBIN
4628 if test "$DUMPBIN" != ":"; then
4629 NM="$DUMPBIN"
4632 test -z "$NM" && NM=nm
4639 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4640 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4641 if test "${lt_cv_nm_interface+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 else
4644 lt_cv_nm_interface="BSD nm"
4645 echo "int some_variable = 0;" > conftest.$ac_ext
4646 (eval echo "\"\$as_me:4646: $ac_compile\"" >&5)
4647 (eval "$ac_compile" 2>conftest.err)
4648 cat conftest.err >&5
4649 (eval echo "\"\$as_me:4649: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4650 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4651 cat conftest.err >&5
4652 (eval echo "\"\$as_me:4652: output\"" >&5)
4653 cat conftest.out >&5
4654 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4655 lt_cv_nm_interface="MS dumpbin"
4657 rm -f conftest*
4659 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4660 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4662 # find the maximum length of command line arguments
4663 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4664 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4665 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 else
4669 teststring="ABCD"
4671 case $build_os in
4672 msdosdjgpp*)
4673 # On DJGPP, this test can blow up pretty badly due to problems in libc
4674 # (any single argument exceeding 2000 bytes causes a buffer overrun
4675 # during glob expansion). Even if it were fixed, the result of this
4676 # check would be larger than it should be.
4677 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4680 gnu*)
4681 # Under GNU Hurd, this test is not required because there is
4682 # no limit to the length of command line arguments.
4683 # Libtool will interpret -1 as no limit whatsoever
4684 lt_cv_sys_max_cmd_len=-1;
4687 cygwin* | mingw*)
4688 # On Win9x/ME, this test blows up -- it succeeds, but takes
4689 # about 5 minutes as the teststring grows exponentially.
4690 # Worse, since 9x/ME are not pre-emptively multitasking,
4691 # you end up with a "frozen" computer, even though with patience
4692 # the test eventually succeeds (with a max line length of 256k).
4693 # Instead, let's just punt: use the minimum linelength reported by
4694 # all of the supported platforms: 8192 (on NT/2K/XP).
4695 lt_cv_sys_max_cmd_len=8192;
4698 amigaos*)
4699 # On AmigaOS with pdksh, this test takes hours, literally.
4700 # So we just punt and use a minimum line length of 8192.
4701 lt_cv_sys_max_cmd_len=8192;
4704 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4705 # This has been around since 386BSD, at least. Likely further.
4706 if test -x /sbin/sysctl; then
4707 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4708 elif test -x /usr/sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4710 else
4711 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4713 # And add a safety zone
4714 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4715 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4718 interix*)
4719 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4720 lt_cv_sys_max_cmd_len=196608
4723 osf*)
4724 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4725 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4726 # nice to cause kernel panics so lets avoid the loop below.
4727 # First set a reasonable default.
4728 lt_cv_sys_max_cmd_len=16384
4730 if test -x /sbin/sysconfig; then
4731 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4732 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4733 esac
4736 sco3.2v5*)
4737 lt_cv_sys_max_cmd_len=102400
4739 sysv5* | sco5v6* | sysv4.2uw2*)
4740 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4741 if test -n "$kargmax"; then
4742 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4743 else
4744 lt_cv_sys_max_cmd_len=32768
4748 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4749 if test -n $lt_cv_sys_max_cmd_len; then
4750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4752 else
4753 # Make teststring a little bigger before we do anything with it.
4754 # a 1K string should be a reasonable start.
4755 for i in 1 2 3 4 5 6 7 8 ; do
4756 teststring=$teststring$teststring
4757 done
4758 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4759 # If test is not a shell built-in, we'll probably end up computing a
4760 # maximum length that is only half of the actual maximum length, but
4761 # we can't tell.
4762 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4763 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4764 test $i != 17 # 1/2 MB should be enough
4766 i=`expr $i + 1`
4767 teststring=$teststring$teststring
4768 done
4769 # Only check the string length outside the loop.
4770 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4771 teststring=
4772 # Add a significant safety factor because C++ compilers can tack on
4773 # massive amounts of additional arguments before passing them to the
4774 # linker. It appears as though 1/2 is a usable value.
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778 esac
4782 if test -n $lt_cv_sys_max_cmd_len ; then
4783 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4784 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4785 else
4786 echo "$as_me:$LINENO: result: none" >&5
4787 echo "${ECHO_T}none" >&6
4789 max_cmd_len=$lt_cv_sys_max_cmd_len
4797 : ${CP="cp -f"}
4798 : ${MV="mv -f"}
4799 : ${RM="rm -f"}
4801 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4802 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4803 # Try some XSI features
4804 xsi_shell=no
4805 ( _lt_dummy="a/b/c"
4806 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4807 = c,a/b,, ) >/dev/null 2>&1 \
4808 && xsi_shell=yes
4809 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4810 echo "${ECHO_T}$xsi_shell" >&6
4813 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4814 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4815 lt_shell_append=no
4816 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4817 >/dev/null 2>&1 \
4818 && lt_shell_append=yes
4819 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4820 echo "${ECHO_T}$lt_shell_append" >&6
4823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4824 lt_unset=unset
4825 else
4826 lt_unset=false
4833 # test EBCDIC or ASCII
4834 case `echo X|tr X '\101'` in
4835 A) # ASCII based system
4836 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4837 lt_SP2NL='tr \040 \012'
4838 lt_NL2SP='tr \015\012 \040\040'
4840 *) # EBCDIC based system
4841 lt_SP2NL='tr \100 \n'
4842 lt_NL2SP='tr \r\n \100\100'
4844 esac
4854 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4855 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4856 if test "${lt_cv_ld_reload_flag+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 lt_cv_ld_reload_flag='-r'
4861 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4862 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4863 reload_flag=$lt_cv_ld_reload_flag
4864 case $reload_flag in
4865 "" | " "*) ;;
4866 *) reload_flag=" $reload_flag" ;;
4867 esac
4868 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4869 case $host_os in
4870 darwin*)
4871 if test "$GCC" = yes; then
4872 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4873 else
4874 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4877 esac
4888 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4889 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4890 if test "${lt_cv_deplibs_check_method+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 else
4893 lt_cv_file_magic_cmd='$MAGIC_CMD'
4894 lt_cv_file_magic_test_file=
4895 lt_cv_deplibs_check_method='unknown'
4896 # Need to set the preceding variable on all platforms that support
4897 # interlibrary dependencies.
4898 # 'none' -- dependencies not supported.
4899 # `unknown' -- same as none, but documents that we really don't know.
4900 # 'pass_all' -- all dependencies passed with no checks.
4901 # 'test_compile' -- check by making test program.
4902 # 'file_magic [[regex]]' -- check by looking for files in library path
4903 # which responds to the $file_magic_cmd with a given extended regex.
4904 # If you have `file' or equivalent on your system and you're not sure
4905 # whether `pass_all' will *always* work, you probably want this one.
4907 case $host_os in
4908 aix4* | aix5*)
4909 lt_cv_deplibs_check_method=pass_all
4912 beos*)
4913 lt_cv_deplibs_check_method=pass_all
4916 bsdi[45]*)
4917 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4918 lt_cv_file_magic_cmd='/usr/bin/file -L'
4919 lt_cv_file_magic_test_file=/shlib/libc.so
4922 cygwin*)
4923 # func_win32_libid is a shell function defined in ltmain.sh
4924 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4925 lt_cv_file_magic_cmd='func_win32_libid'
4928 mingw* | pw32*)
4929 # Base MSYS/MinGW do not provide the 'file' command needed by
4930 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4931 # unless we find 'file', for example because we are cross-compiling.
4932 if ( file / ) >/dev/null 2>&1; then
4933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4934 lt_cv_file_magic_cmd='func_win32_libid'
4935 else
4936 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4937 lt_cv_file_magic_cmd='$OBJDUMP -f'
4941 darwin* | rhapsody*)
4942 lt_cv_deplibs_check_method=pass_all
4945 freebsd* | dragonfly*)
4946 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4947 case $host_cpu in
4948 i*86 )
4949 # Not sure whether the presence of OpenBSD here was a mistake.
4950 # Let's accept both of them until this is cleared up.
4951 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4952 lt_cv_file_magic_cmd=/usr/bin/file
4953 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4955 esac
4956 else
4957 lt_cv_deplibs_check_method=pass_all
4961 gnu*)
4962 lt_cv_deplibs_check_method=pass_all
4965 hpux10.20* | hpux11*)
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 case $host_cpu in
4968 ia64*)
4969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4972 hppa*64*)
4973 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]'
4974 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4977 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4978 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4980 esac
4983 interix[3-9]*)
4984 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4985 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4988 irix5* | irix6* | nonstopux*)
4989 case $LD in
4990 *-32|*"-32 ") libmagic=32-bit;;
4991 *-n32|*"-n32 ") libmagic=N32;;
4992 *-64|*"-64 ") libmagic=64-bit;;
4993 *) libmagic=never-match;;
4994 esac
4995 lt_cv_deplibs_check_method=pass_all
4998 # This must be Linux ELF.
4999 linux* | k*bsd*-gnu)
5000 lt_cv_deplibs_check_method=pass_all
5003 netbsd*)
5004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5005 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5006 else
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5011 newos6*)
5012 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5013 lt_cv_file_magic_cmd=/usr/bin/file
5014 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017 *nto* | *qnx*)
5018 lt_cv_deplibs_check_method=pass_all
5021 openbsd*)
5022 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5023 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5024 else
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5029 osf3* | osf4* | osf5*)
5030 lt_cv_deplibs_check_method=pass_all
5033 rdos*)
5034 lt_cv_deplibs_check_method=pass_all
5037 solaris*)
5038 lt_cv_deplibs_check_method=pass_all
5041 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5042 lt_cv_deplibs_check_method=pass_all
5045 sysv4 | sysv4.3*)
5046 case $host_vendor in
5047 motorola)
5048 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]'
5049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5051 ncr)
5052 lt_cv_deplibs_check_method=pass_all
5054 sequent)
5055 lt_cv_file_magic_cmd='/bin/file'
5056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5058 sni)
5059 lt_cv_file_magic_cmd='/bin/file'
5060 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5061 lt_cv_file_magic_test_file=/lib/libc.so
5063 siemens)
5064 lt_cv_deplibs_check_method=pass_all
5067 lt_cv_deplibs_check_method=pass_all
5069 esac
5072 tpf*)
5073 lt_cv_deplibs_check_method=pass_all
5075 esac
5078 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5079 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5080 file_magic_cmd=$lt_cv_file_magic_cmd
5081 deplibs_check_method=$lt_cv_deplibs_check_method
5082 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5095 if test -n "$ac_tool_prefix"; then
5096 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5097 set dummy ${ac_tool_prefix}ar; ac_word=$2
5098 echo "$as_me:$LINENO: checking for $ac_word" >&5
5099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5100 if test "${ac_cv_prog_AR+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 if test -n "$AR"; then
5104 ac_cv_prog_AR="$AR" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 test -z "$as_dir" && as_dir=.
5111 for ac_exec_ext in '' $ac_executable_extensions; do
5112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_AR="${ac_tool_prefix}ar"
5114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 break 2
5117 done
5118 done
5122 AR=$ac_cv_prog_AR
5123 if test -n "$AR"; then
5124 echo "$as_me:$LINENO: result: $AR" >&5
5125 echo "${ECHO_T}$AR" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5132 if test -z "$ac_cv_prog_AR"; then
5133 ac_ct_AR=$AR
5134 # Extract the first word of "ar", so it can be a program name with args.
5135 set dummy ar; ac_word=$2
5136 echo "$as_me:$LINENO: checking for $ac_word" >&5
5137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5138 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5139 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 else
5141 if test -n "$ac_ct_AR"; then
5142 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5143 else
5144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5145 for as_dir in $PATH
5147 IFS=$as_save_IFS
5148 test -z "$as_dir" && as_dir=.
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_AR="ar"
5152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5158 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5161 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5162 if test -n "$ac_ct_AR"; then
5163 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5164 echo "${ECHO_T}$ac_ct_AR" >&6
5165 else
5166 echo "$as_me:$LINENO: result: no" >&5
5167 echo "${ECHO_T}no" >&6
5170 AR=$ac_ct_AR
5171 else
5172 AR="$ac_cv_prog_AR"
5175 test -z "$AR" && AR=ar
5176 test -z "$AR_FLAGS" && AR_FLAGS=cru
5188 if test -n "$ac_tool_prefix"; then
5189 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5190 set dummy ${ac_tool_prefix}strip; ac_word=$2
5191 echo "$as_me:$LINENO: checking for $ac_word" >&5
5192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5193 if test "${ac_cv_prog_STRIP+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 if test -n "$STRIP"; then
5197 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5198 else
5199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5200 for as_dir in $PATH
5202 IFS=$as_save_IFS
5203 test -z "$as_dir" && as_dir=.
5204 for ac_exec_ext in '' $ac_executable_extensions; do
5205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5206 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 break 2
5210 done
5211 done
5215 STRIP=$ac_cv_prog_STRIP
5216 if test -n "$STRIP"; then
5217 echo "$as_me:$LINENO: result: $STRIP" >&5
5218 echo "${ECHO_T}$STRIP" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5225 if test -z "$ac_cv_prog_STRIP"; then
5226 ac_ct_STRIP=$STRIP
5227 # Extract the first word of "strip", so it can be a program name with args.
5228 set dummy strip; ac_word=$2
5229 echo "$as_me:$LINENO: checking for $ac_word" >&5
5230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 else
5234 if test -n "$ac_ct_STRIP"; then
5235 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5236 else
5237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238 for as_dir in $PATH
5240 IFS=$as_save_IFS
5241 test -z "$as_dir" && as_dir=.
5242 for ac_exec_ext in '' $ac_executable_extensions; do
5243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5244 ac_cv_prog_ac_ct_STRIP="strip"
5245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 break 2
5248 done
5249 done
5251 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5255 if test -n "$ac_ct_STRIP"; then
5256 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5257 echo "${ECHO_T}$ac_ct_STRIP" >&6
5258 else
5259 echo "$as_me:$LINENO: result: no" >&5
5260 echo "${ECHO_T}no" >&6
5263 STRIP=$ac_ct_STRIP
5264 else
5265 STRIP="$ac_cv_prog_STRIP"
5268 test -z "$STRIP" && STRIP=:
5275 if test -n "$ac_tool_prefix"; then
5276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5277 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5278 echo "$as_me:$LINENO: checking for $ac_word" >&5
5279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5280 if test "${ac_cv_prog_RANLIB+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 else
5283 if test -n "$RANLIB"; then
5284 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5289 IFS=$as_save_IFS
5290 test -z "$as_dir" && as_dir=.
5291 for ac_exec_ext in '' $ac_executable_extensions; do
5292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5293 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 break 2
5297 done
5298 done
5302 RANLIB=$ac_cv_prog_RANLIB
5303 if test -n "$RANLIB"; then
5304 echo "$as_me:$LINENO: result: $RANLIB" >&5
5305 echo "${ECHO_T}$RANLIB" >&6
5306 else
5307 echo "$as_me:$LINENO: result: no" >&5
5308 echo "${ECHO_T}no" >&6
5312 if test -z "$ac_cv_prog_RANLIB"; then
5313 ac_ct_RANLIB=$RANLIB
5314 # Extract the first word of "ranlib", so it can be a program name with args.
5315 set dummy ranlib; ac_word=$2
5316 echo "$as_me:$LINENO: checking for $ac_word" >&5
5317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5319 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 else
5321 if test -n "$ac_ct_RANLIB"; then
5322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5323 else
5324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325 for as_dir in $PATH
5327 IFS=$as_save_IFS
5328 test -z "$as_dir" && as_dir=.
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5331 ac_cv_prog_ac_ct_RANLIB="ranlib"
5332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 break 2
5335 done
5336 done
5338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5342 if test -n "$ac_ct_RANLIB"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5345 else
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5350 RANLIB=$ac_ct_RANLIB
5351 else
5352 RANLIB="$ac_cv_prog_RANLIB"
5355 test -z "$RANLIB" && RANLIB=:
5362 # Determine commands to create old-style static archives.
5363 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5364 old_postinstall_cmds='chmod 644 $oldlib'
5365 old_postuninstall_cmds=
5367 if test -n "$RANLIB"; then
5368 case $host_os in
5369 openbsd*)
5370 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5373 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5375 esac
5376 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5412 # If no C compiler was specified, use CC.
5413 LTCC=${LTCC-"$CC"}
5415 # If no C compiler flags were specified, use CFLAGS.
5416 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5418 # Allow CC to be a program name with arguments.
5419 compiler=$CC
5422 # Check for command to grab the raw symbol name followed by C symbol from nm.
5423 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5424 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5425 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 else
5429 # These are sane defaults that work on at least a few old systems.
5430 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5432 # Character class describing NM global symbol codes.
5433 symcode='[BCDEGRST]'
5435 # Regexp to match symbols that can be accessed directly from C.
5436 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5438 # Define system-specific variables.
5439 case $host_os in
5440 aix*)
5441 symcode='[BCDT]'
5443 cygwin* | mingw* | pw32*)
5444 symcode='[ABCDGISTW]'
5446 hpux*)
5447 if test "$host_cpu" = ia64; then
5448 symcode='[ABCDEGRST]'
5451 irix* | nonstopux*)
5452 symcode='[BCDEGRST]'
5454 osf*)
5455 symcode='[BCDEGQRST]'
5457 solaris*)
5458 symcode='[BDRT]'
5460 sco3.2v5*)
5461 symcode='[DT]'
5463 sysv4.2uw2*)
5464 symcode='[DT]'
5466 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5467 symcode='[ABDT]'
5469 sysv4)
5470 symcode='[DFNSTU]'
5472 esac
5474 # If we're using GNU nm, then use its standard symbol codes.
5475 case `$NM -V 2>&1` in
5476 *GNU* | *'with BFD'*)
5477 symcode='[ABCDGIRSTW]' ;;
5478 esac
5480 # Transform an extracted symbol line into a proper C declaration.
5481 # Some systems (esp. on ia64) link data and code symbols differently,
5482 # so use this general approach.
5483 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5485 # Transform an extracted symbol line into symbol name and symbol address
5486 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5488 # Handle CRLF in mingw tool chain
5489 opt_cr=
5490 case $build_os in
5491 mingw*)
5492 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5494 esac
5496 # Try without a prefix underscore, then with it.
5497 for ac_symprfx in "" "_"; do
5499 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5500 symxfrm="\\1 $ac_symprfx\\2 \\2"
5502 # Write the raw and C identifiers.
5503 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5504 # Fake it for dumpbin and say T for any non-static function
5505 # and D for any global variable.
5506 # Also find C++ and __fastcall symbols from MSVC++,
5507 # which start with @ or ?.
5508 lt_cv_sys_global_symbol_pipe="$AWK '"\
5509 " {last_section=section; section=\$ 3};"\
5510 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5511 " \$ 0!~/External *\|/{next};"\
5512 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5513 " {if(hide[section]) next};"\
5514 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5515 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5516 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5517 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5518 " ' prfx=^$ac_symprfx"
5519 else
5520 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523 # Check to see that the pipe works correctly.
5524 pipe_works=no
5526 rm -f conftest*
5527 cat > conftest.$ac_ext <<_LT_EOF
5528 #ifdef __cplusplus
5529 extern "C" {
5530 #endif
5531 char nm_test_var;
5532 void nm_test_func(void);
5533 void nm_test_func(void){}
5534 #ifdef __cplusplus
5536 #endif
5537 int main(){nm_test_var='a';nm_test_func();return(0);}
5538 _LT_EOF
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5542 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; then
5545 # Now try to grab the symbols.
5546 nlist=conftest.nm
5547 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5548 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5549 ac_status=$?
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); } && test -s "$nlist"; then
5552 # Try sorting and uniquifying the output.
5553 if sort "$nlist" | uniq > "$nlist"T; then
5554 mv -f "$nlist"T "$nlist"
5555 else
5556 rm -f "$nlist"T
5559 # Make sure that we snagged all the symbols we need.
5560 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5561 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5562 cat <<_LT_EOF > conftest.$ac_ext
5563 #ifdef __cplusplus
5564 extern "C" {
5565 #endif
5567 _LT_EOF
5568 # Now generate the symbol file.
5569 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5571 cat <<_LT_EOF >> conftest.$ac_ext
5573 /* The mapping between symbol names and symbols. */
5574 const struct {
5575 const char *name;
5576 void *address;
5578 lt__PROGRAM__LTX_preloaded_symbols[] =
5580 { "@PROGRAM@", (void *) 0 },
5581 _LT_EOF
5582 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5583 cat <<\_LT_EOF >> conftest.$ac_ext
5584 {0, (void *) 0}
5587 /* This works around a problem in FreeBSD linker */
5588 #ifdef FREEBSD_WORKAROUND
5589 static const void *lt_preloaded_setup() {
5590 return lt__PROGRAM__LTX_preloaded_symbols;
5592 #endif
5594 #ifdef __cplusplus
5596 #endif
5597 _LT_EOF
5598 # Now try linking the two files.
5599 mv conftest.$ac_objext conftstm.$ac_objext
5600 lt_save_LIBS="$LIBS"
5601 lt_save_CFLAGS="$CFLAGS"
5602 LIBS="conftstm.$ac_objext"
5603 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5605 (eval $ac_link) 2>&5
5606 ac_status=$?
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5609 pipe_works=yes
5611 LIBS="$lt_save_LIBS"
5612 CFLAGS="$lt_save_CFLAGS"
5613 else
5614 echo "cannot find nm_test_func in $nlist" >&5
5616 else
5617 echo "cannot find nm_test_var in $nlist" >&5
5619 else
5620 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 else
5623 echo "$progname: failed program was:" >&5
5624 cat conftest.$ac_ext >&5
5626 rm -f conftest* conftst*
5628 # Do not use the global_symbol_pipe unless it works.
5629 if test "$pipe_works" = yes; then
5630 break
5631 else
5632 lt_cv_sys_global_symbol_pipe=
5634 done
5638 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5639 lt_cv_sys_global_symbol_to_cdecl=
5641 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5642 echo "$as_me:$LINENO: result: failed" >&5
5643 echo "${ECHO_T}failed" >&6
5644 else
5645 echo "$as_me:$LINENO: result: ok" >&5
5646 echo "${ECHO_T}ok" >&6
5665 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5666 if test "${enable_libtool_lock+set}" = set; then
5667 enableval="$enable_libtool_lock"
5670 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5672 # Some flags need to be propagated to the compiler or linker for good
5673 # libtool support.
5674 case $host in
5675 ia64-*-hpux*)
5676 # Find out which ABI we are using.
5677 echo 'int i;' > conftest.$ac_ext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; then
5683 case `/usr/bin/file conftest.$ac_objext` in
5684 *ELF-32*)
5685 HPUX_IA64_MODE="32"
5687 *ELF-64*)
5688 HPUX_IA64_MODE="64"
5690 esac
5692 rm -rf conftest*
5694 *-*-irix6*)
5695 # Find out which ABI we are using.
5696 echo '#line 5696 "configure"' > conftest.$ac_ext
5697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5698 (eval $ac_compile) 2>&5
5699 ac_status=$?
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; then
5702 if test "$lt_cv_prog_gnu_ld" = yes; then
5703 case `/usr/bin/file conftest.$ac_objext` in
5704 *32-bit*)
5705 LD="${LD-ld} -melf32bsmip"
5707 *N32*)
5708 LD="${LD-ld} -melf32bmipn32"
5710 *64-bit*)
5711 LD="${LD-ld} -melf64bmip"
5713 esac
5714 else
5715 case `/usr/bin/file conftest.$ac_objext` in
5716 *32-bit*)
5717 LD="${LD-ld} -32"
5719 *N32*)
5720 LD="${LD-ld} -n32"
5722 *64-bit*)
5723 LD="${LD-ld} -64"
5725 esac
5728 rm -rf conftest*
5731 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5732 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5733 # Find out which ABI we are using.
5734 echo 'int i;' > conftest.$ac_ext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5736 (eval $ac_compile) 2>&5
5737 ac_status=$?
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; then
5740 case `/usr/bin/file conftest.o` in
5741 *32-bit*)
5742 case $host in
5743 x86_64-*kfreebsd*-gnu)
5744 LD="${LD-ld} -m elf_i386_fbsd"
5746 x86_64-*linux*)
5747 LD="${LD-ld} -m elf_i386"
5749 ppc64-*linux*|powerpc64-*linux*)
5750 LD="${LD-ld} -m elf32ppclinux"
5752 s390x-*linux*)
5753 LD="${LD-ld} -m elf_s390"
5755 sparc64-*linux*)
5756 LD="${LD-ld} -m elf32_sparc"
5758 esac
5760 *64-bit*)
5761 case $host in
5762 x86_64-*kfreebsd*-gnu)
5763 LD="${LD-ld} -m elf_x86_64_fbsd"
5765 x86_64-*linux*)
5766 LD="${LD-ld} -m elf_x86_64"
5768 ppc*-*linux*|powerpc*-*linux*)
5769 LD="${LD-ld} -m elf64ppc"
5771 s390*-*linux*|s390*-*tpf*)
5772 LD="${LD-ld} -m elf64_s390"
5774 sparc*-*linux*)
5775 LD="${LD-ld} -m elf64_sparc"
5777 esac
5779 esac
5781 rm -rf conftest*
5784 *-*-sco3.2v5*)
5785 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5786 SAVE_CFLAGS="$CFLAGS"
5787 CFLAGS="$CFLAGS -belf"
5788 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5789 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5790 if test "${lt_cv_cc_needs_belf+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 ac_ext=c
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5799 if test x$gcc_no_link = xyes; then
5800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5802 { (exit 1); exit 1; }; }
5804 cat >conftest.$ac_ext <<_ACEOF
5805 /* confdefs.h. */
5806 _ACEOF
5807 cat confdefs.h >>conftest.$ac_ext
5808 cat >>conftest.$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5812 main ()
5816 return 0;
5818 _ACEOF
5819 rm -f conftest.$ac_objext conftest$ac_exeext
5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5821 (eval $ac_link) 2>conftest.er1
5822 ac_status=$?
5823 grep -v '^ *+' conftest.er1 >conftest.err
5824 rm -f conftest.er1
5825 cat conftest.err >&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -z "$ac_c_werror_flag"
5829 || test ! -s conftest.err'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5831 (eval $ac_try) 2>&5
5832 ac_status=$?
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; } &&
5835 { ac_try='test -s conftest$ac_exeext'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 (eval $ac_try) 2>&5
5838 ac_status=$?
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; }; then
5841 lt_cv_cc_needs_belf=yes
5842 else
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 lt_cv_cc_needs_belf=no
5848 rm -f conftest.err conftest.$ac_objext \
5849 conftest$ac_exeext conftest.$ac_ext
5850 ac_ext=c
5851 ac_cpp='$CPP $CPPFLAGS'
5852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5858 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5859 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5860 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5861 CFLAGS="$SAVE_CFLAGS"
5864 sparc*-*solaris*)
5865 # Find out which ABI we are using.
5866 echo 'int i;' > conftest.$ac_ext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; then
5872 case `/usr/bin/file conftest.o` in
5873 *64-bit*)
5874 case $lt_cv_prog_gnu_ld in
5875 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5876 *) LD="${LD-ld} -64" ;;
5877 esac
5879 esac
5881 rm -rf conftest*
5883 esac
5885 need_locks="$enable_libtool_lock"
5887 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5888 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5889 if test "${ac_cv_header_stdc+set}" = set; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 else
5892 cat >conftest.$ac_ext <<_ACEOF
5893 /* confdefs.h. */
5894 _ACEOF
5895 cat confdefs.h >>conftest.$ac_ext
5896 cat >>conftest.$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 #include <stdlib.h>
5899 #include <stdarg.h>
5900 #include <string.h>
5901 #include <float.h>
5904 main ()
5908 return 0;
5910 _ACEOF
5911 rm -f conftest.$ac_objext
5912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5913 (eval $ac_compile) 2>conftest.er1
5914 ac_status=$?
5915 grep -v '^ *+' conftest.er1 >conftest.err
5916 rm -f conftest.er1
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } &&
5920 { ac_try='test -z "$ac_c_werror_flag"
5921 || test ! -s conftest.err'
5922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923 (eval $ac_try) 2>&5
5924 ac_status=$?
5925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5926 (exit $ac_status); }; } &&
5927 { ac_try='test -s conftest.$ac_objext'
5928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 (eval $ac_try) 2>&5
5930 ac_status=$?
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); }; }; then
5933 ac_cv_header_stdc=yes
5934 else
5935 echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 ac_cv_header_stdc=no
5940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5942 if test $ac_cv_header_stdc = yes; then
5943 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 #include <string.h>
5952 _ACEOF
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "memchr" >/dev/null 2>&1; then
5956 else
5957 ac_cv_header_stdc=no
5959 rm -f conftest*
5963 if test $ac_cv_header_stdc = yes; then
5964 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5965 cat >conftest.$ac_ext <<_ACEOF
5966 /* confdefs.h. */
5967 _ACEOF
5968 cat confdefs.h >>conftest.$ac_ext
5969 cat >>conftest.$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <stdlib.h>
5973 _ACEOF
5974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5975 $EGREP "free" >/dev/null 2>&1; then
5977 else
5978 ac_cv_header_stdc=no
5980 rm -f conftest*
5984 if test $ac_cv_header_stdc = yes; then
5985 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5986 if test "$cross_compiling" = yes; then
5988 else
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <ctype.h>
5996 #if ((' ' & 0x0FF) == 0x020)
5997 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5998 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5999 #else
6000 # define ISLOWER(c) \
6001 (('a' <= (c) && (c) <= 'i') \
6002 || ('j' <= (c) && (c) <= 'r') \
6003 || ('s' <= (c) && (c) <= 'z'))
6004 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6005 #endif
6007 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6009 main ()
6011 int i;
6012 for (i = 0; i < 256; i++)
6013 if (XOR (islower (i), ISLOWER (i))
6014 || toupper (i) != TOUPPER (i))
6015 exit(2);
6016 exit (0);
6018 _ACEOF
6019 rm -f conftest$ac_exeext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6021 (eval $ac_link) 2>&5
6022 ac_status=$?
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 (eval $ac_try) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6031 else
6032 echo "$as_me: program exited with status $ac_status" >&5
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ( exit $ac_status )
6037 ac_cv_header_stdc=no
6039 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6043 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6044 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6045 if test $ac_cv_header_stdc = yes; then
6047 cat >>confdefs.h <<\_ACEOF
6048 #define STDC_HEADERS 1
6049 _ACEOF
6053 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6064 inttypes.h stdint.h unistd.h
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 echo "$as_me:$LINENO: checking for $ac_header" >&5
6068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 cat >conftest.$ac_ext <<_ACEOF
6073 /* confdefs.h. */
6074 _ACEOF
6075 cat confdefs.h >>conftest.$ac_ext
6076 cat >>conftest.$ac_ext <<_ACEOF
6077 /* end confdefs.h. */
6078 $ac_includes_default
6080 #include <$ac_header>
6081 _ACEOF
6082 rm -f conftest.$ac_objext
6083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6084 (eval $ac_compile) 2>conftest.er1
6085 ac_status=$?
6086 grep -v '^ *+' conftest.er1 >conftest.err
6087 rm -f conftest.er1
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } &&
6091 { ac_try='test -z "$ac_c_werror_flag"
6092 || test ! -s conftest.err'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094 (eval $ac_try) 2>&5
6095 ac_status=$?
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; } &&
6098 { ac_try='test -s conftest.$ac_objext'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6100 (eval $ac_try) 2>&5
6101 ac_status=$?
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; }; then
6104 eval "$as_ac_Header=yes"
6105 else
6106 echo "$as_me: failed program was:" >&5
6107 sed 's/^/| /' conftest.$ac_ext >&5
6109 eval "$as_ac_Header=no"
6111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6116 cat >>confdefs.h <<_ACEOF
6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6118 _ACEOF
6122 done
6126 for ac_header in dlfcn.h
6128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_header" >&5
6130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 else
6134 cat >conftest.$ac_ext <<_ACEOF
6135 /* confdefs.h. */
6136 _ACEOF
6137 cat confdefs.h >>conftest.$ac_ext
6138 cat >>conftest.$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 $ac_includes_default
6142 #include <$ac_header>
6143 _ACEOF
6144 rm -f conftest.$ac_objext
6145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6146 (eval $ac_compile) 2>conftest.er1
6147 ac_status=$?
6148 grep -v '^ *+' conftest.er1 >conftest.err
6149 rm -f conftest.er1
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } &&
6153 { ac_try='test -z "$ac_c_werror_flag"
6154 || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156 (eval $ac_try) 2>&5
6157 ac_status=$?
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try='test -s conftest.$ac_objext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162 (eval $ac_try) 2>&5
6163 ac_status=$?
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 eval "$as_ac_Header=yes"
6167 else
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.$ac_ext >&5
6171 eval "$as_ac_Header=no"
6173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6178 cat >>confdefs.h <<_ACEOF
6179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6180 _ACEOF
6184 done
6188 ac_ext=cc
6189 ac_cpp='$CXXCPP $CPPFLAGS'
6190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6193 if test -n "$ac_tool_prefix"; then
6194 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6198 echo "$as_me:$LINENO: checking for $ac_word" >&5
6199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6200 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6201 echo $ECHO_N "(cached) $ECHO_C" >&6
6202 else
6203 if test -n "$CXX"; then
6204 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6205 else
6206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6207 for as_dir in $PATH
6209 IFS=$as_save_IFS
6210 test -z "$as_dir" && as_dir=.
6211 for ac_exec_ext in '' $ac_executable_extensions; do
6212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6213 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6215 break 2
6217 done
6218 done
6222 CXX=$glibcxx_cv_prog_CXX
6223 if test -n "$CXX"; then
6224 echo "$as_me:$LINENO: result: $CXX" >&5
6225 echo "${ECHO_T}$CXX" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6231 test -n "$CXX" && break
6232 done
6234 if test -z "$CXX"; then
6235 ac_ct_CXX=$CXX
6236 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6242 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$ac_ct_CXX"; then
6246 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6255 ac_cv_prog_ac_ct_CXX="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6264 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6265 if test -n "$ac_ct_CXX"; then
6266 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6267 echo "${ECHO_T}$ac_ct_CXX" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6273 test -n "$ac_ct_CXX" && break
6274 done
6275 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6277 CXX=$ac_ct_CXX
6281 # Provide some information about the compiler.
6282 echo "$as_me:$LINENO:" \
6283 "checking for C++ compiler version" >&5
6284 ac_compiler=`set X $ac_compile; echo $2`
6285 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6286 (eval $ac_compiler --version </dev/null >&5) 2>&5
6287 ac_status=$?
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6291 (eval $ac_compiler -v </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6296 (eval $ac_compiler -V </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6301 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6302 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6303 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 else
6306 cat >conftest.$ac_ext <<_ACEOF
6307 /* confdefs.h. */
6308 _ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6314 main ()
6316 #ifndef __GNUC__
6317 choke me
6318 #endif
6321 return 0;
6323 _ACEOF
6324 rm -f conftest.$ac_objext
6325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6326 (eval $ac_compile) 2>conftest.er1
6327 ac_status=$?
6328 grep -v '^ *+' conftest.er1 >conftest.err
6329 rm -f conftest.er1
6330 cat conftest.err >&5
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); } &&
6333 { ac_try='test -z "$ac_cxx_werror_flag"
6334 || test ! -s conftest.err'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 (eval $ac_try) 2>&5
6337 ac_status=$?
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; } &&
6340 { ac_try='test -s conftest.$ac_objext'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 (eval $ac_try) 2>&5
6343 ac_status=$?
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; }; then
6346 ac_compiler_gnu=yes
6347 else
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_compiler_gnu=no
6353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6357 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6358 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6359 GXX=`test $ac_compiler_gnu = yes && echo yes`
6360 ac_test_CXXFLAGS=${CXXFLAGS+set}
6361 ac_save_CXXFLAGS=$CXXFLAGS
6362 CXXFLAGS="-g"
6363 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6364 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6365 if test "${ac_cv_prog_cxx_g+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 else
6368 cat >conftest.$ac_ext <<_ACEOF
6369 /* confdefs.h. */
6370 _ACEOF
6371 cat confdefs.h >>conftest.$ac_ext
6372 cat >>conftest.$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6376 main ()
6380 return 0;
6382 _ACEOF
6383 rm -f conftest.$ac_objext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6385 (eval $ac_compile) 2>conftest.er1
6386 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1
6389 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try='test -z "$ac_cxx_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6395 (eval $ac_try) 2>&5
6396 ac_status=$?
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try='test -s conftest.$ac_objext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6401 (eval $ac_try) 2>&5
6402 ac_status=$?
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 ac_cv_prog_cxx_g=yes
6406 else
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_cv_prog_cxx_g=no
6412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6414 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6415 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6416 if test "$ac_test_CXXFLAGS" = set; then
6417 CXXFLAGS=$ac_save_CXXFLAGS
6418 elif test $ac_cv_prog_cxx_g = yes; then
6419 if test "$GXX" = yes; then
6420 CXXFLAGS="-g -O2"
6421 else
6422 CXXFLAGS="-g"
6424 else
6425 if test "$GXX" = yes; then
6426 CXXFLAGS="-O2"
6427 else
6428 CXXFLAGS=
6431 for ac_declaration in \
6432 '' \
6433 'extern "C" void std::exit (int) throw (); using std::exit;' \
6434 'extern "C" void std::exit (int); using std::exit;' \
6435 'extern "C" void exit (int) throw ();' \
6436 'extern "C" void exit (int);' \
6437 'void exit (int);'
6439 cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h. */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h. */
6445 $ac_declaration
6446 #include <stdlib.h>
6448 main ()
6450 exit (42);
6452 return 0;
6454 _ACEOF
6455 rm -f conftest.$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6458 ac_status=$?
6459 grep -v '^ *+' conftest.er1 >conftest.err
6460 rm -f conftest.er1
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try='test -z "$ac_cxx_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 (eval $ac_try) 2>&5
6468 ac_status=$?
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 (eval $ac_try) 2>&5
6474 ac_status=$?
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6478 else
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 continue
6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6485 cat >conftest.$ac_ext <<_ACEOF
6486 /* confdefs.h. */
6487 _ACEOF
6488 cat confdefs.h >>conftest.$ac_ext
6489 cat >>conftest.$ac_ext <<_ACEOF
6490 /* end confdefs.h. */
6491 $ac_declaration
6493 main ()
6495 exit (42);
6497 return 0;
6499 _ACEOF
6500 rm -f conftest.$ac_objext
6501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 (eval $ac_compile) 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -z "$ac_cxx_werror_flag"
6510 || test ! -s conftest.err'
6511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 (eval $ac_try) 2>&5
6513 ac_status=$?
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); }; } &&
6516 { ac_try='test -s conftest.$ac_objext'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 (eval $ac_try) 2>&5
6519 ac_status=$?
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; }; then
6522 break
6523 else
6524 echo "$as_me: failed program was:" >&5
6525 sed 's/^/| /' conftest.$ac_ext >&5
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529 done
6530 rm -f conftest*
6531 if test -n "$ac_declaration"; then
6532 echo '#ifdef __cplusplus' >>confdefs.h
6533 echo $ac_declaration >>confdefs.h
6534 echo '#endif' >>confdefs.h
6537 ac_ext=c
6538 ac_cpp='$CPP $CPPFLAGS'
6539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6543 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6544 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6545 (test "X$CXX" != "Xg++"))) ; then
6546 ac_ext=cc
6547 ac_cpp='$CXXCPP $CPPFLAGS'
6548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6553 if test -z "$CXXCPP"; then
6554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6556 else
6557 # Double quotes because CXXCPP needs to be expanded
6558 for CXXCPP in "$CXX -E" "/lib/cpp"
6560 ac_preproc_ok=false
6561 for ac_cxx_preproc_warn_flag in '' yes
6563 # Use a header file that comes with gcc, so configuring glibc
6564 # with a fresh cross-compiler works.
6565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6566 # <limits.h> exists even on freestanding compilers.
6567 # On the NeXT, cc -E runs the code through the compiler's parser,
6568 # not just through cpp. "Syntax error" is here to catch this case.
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #ifdef __STDC__
6576 # include <limits.h>
6577 #else
6578 # include <assert.h>
6579 #endif
6580 Syntax error
6581 _ACEOF
6582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6584 ac_status=$?
6585 grep -v '^ *+' conftest.er1 >conftest.err
6586 rm -f conftest.er1
6587 cat conftest.err >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); } >/dev/null; then
6590 if test -s conftest.err; then
6591 ac_cpp_err=$ac_cxx_preproc_warn_flag
6592 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6593 else
6594 ac_cpp_err=
6596 else
6597 ac_cpp_err=yes
6599 if test -z "$ac_cpp_err"; then
6601 else
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6605 # Broken: fails on valid input.
6606 continue
6608 rm -f conftest.err conftest.$ac_ext
6610 # OK, works on sane cases. Now check whether non-existent headers
6611 # can be detected and how.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #include <ac_nonexistent.h>
6619 _ACEOF
6620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6621 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6622 ac_status=$?
6623 grep -v '^ *+' conftest.er1 >conftest.err
6624 rm -f conftest.er1
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } >/dev/null; then
6628 if test -s conftest.err; then
6629 ac_cpp_err=$ac_cxx_preproc_warn_flag
6630 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6631 else
6632 ac_cpp_err=
6634 else
6635 ac_cpp_err=yes
6637 if test -z "$ac_cpp_err"; then
6638 # Broken: success on invalid input.
6639 continue
6640 else
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.$ac_ext >&5
6644 # Passes both tests.
6645 ac_preproc_ok=:
6646 break
6648 rm -f conftest.err conftest.$ac_ext
6650 done
6651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6652 rm -f conftest.err conftest.$ac_ext
6653 if $ac_preproc_ok; then
6654 break
6657 done
6658 ac_cv_prog_CXXCPP=$CXXCPP
6661 CXXCPP=$ac_cv_prog_CXXCPP
6662 else
6663 ac_cv_prog_CXXCPP=$CXXCPP
6665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6666 echo "${ECHO_T}$CXXCPP" >&6
6667 ac_preproc_ok=false
6668 for ac_cxx_preproc_warn_flag in '' yes
6670 # Use a header file that comes with gcc, so configuring glibc
6671 # with a fresh cross-compiler works.
6672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673 # <limits.h> exists even on freestanding compilers.
6674 # On the NeXT, cc -E runs the code through the compiler's parser,
6675 # not just through cpp. "Syntax error" is here to catch this case.
6676 cat >conftest.$ac_ext <<_ACEOF
6677 /* confdefs.h. */
6678 _ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 #ifdef __STDC__
6683 # include <limits.h>
6684 #else
6685 # include <assert.h>
6686 #endif
6687 Syntax error
6688 _ACEOF
6689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } >/dev/null; then
6697 if test -s conftest.err; then
6698 ac_cpp_err=$ac_cxx_preproc_warn_flag
6699 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6700 else
6701 ac_cpp_err=
6703 else
6704 ac_cpp_err=yes
6706 if test -z "$ac_cpp_err"; then
6708 else
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.$ac_ext >&5
6712 # Broken: fails on valid input.
6713 continue
6715 rm -f conftest.err conftest.$ac_ext
6717 # OK, works on sane cases. Now check whether non-existent headers
6718 # can be detected and how.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <ac_nonexistent.h>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6741 else
6742 ac_cpp_err=yes
6744 if test -z "$ac_cpp_err"; then
6745 # Broken: success on invalid input.
6746 continue
6747 else
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 # Passes both tests.
6752 ac_preproc_ok=:
6753 break
6755 rm -f conftest.err conftest.$ac_ext
6757 done
6758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6759 rm -f conftest.err conftest.$ac_ext
6760 if $ac_preproc_ok; then
6762 else
6763 _lt_caught_CXX_error=yes
6766 ac_ext=c
6767 ac_cpp='$CPP $CPPFLAGS'
6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6772 else
6773 _lt_caught_CXX_error=yes
6780 # This can be used to rebuild libtool when needed
6781 LIBTOOL_DEPS="$ltmain"
6783 # Always use our own libtool.
6784 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6810 test -z "$LN_S" && LN_S="ln -s"
6825 if test -n "${ZSH_VERSION+set}" ; then
6826 setopt NO_GLOB_SUBST
6829 echo "$as_me:$LINENO: checking for objdir" >&5
6830 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6831 if test "${lt_cv_objdir+set}" = set; then
6832 echo $ECHO_N "(cached) $ECHO_C" >&6
6833 else
6834 rm -f .libs 2>/dev/null
6835 mkdir .libs 2>/dev/null
6836 if test -d .libs; then
6837 lt_cv_objdir=.libs
6838 else
6839 # MS-DOS does not allow filenames that begin with a dot.
6840 lt_cv_objdir=_libs
6842 rmdir .libs 2>/dev/null
6844 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6845 echo "${ECHO_T}$lt_cv_objdir" >&6
6846 objdir=$lt_cv_objdir
6852 cat >>confdefs.h <<_ACEOF
6853 #define LT_OBJDIR "$lt_cv_objdir/"
6854 _ACEOF
6872 case $host_os in
6873 aix3*)
6874 # AIX sometimes has problems with the GCC collect2 program. For some
6875 # reason, if we set the COLLECT_NAMES environment variable, the problems
6876 # vanish in a puff of smoke.
6877 if test "X${COLLECT_NAMES+set}" != Xset; then
6878 COLLECT_NAMES=
6879 export COLLECT_NAMES
6882 esac
6884 # Sed substitution that helps us do robust quoting. It backslashifies
6885 # metacharacters that are still active within double-quoted strings.
6886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6888 # Same as above, but do not quote variable references.
6889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6891 # Sed substitution to delay expansion of an escaped shell variable in a
6892 # double_quote_subst'ed string.
6893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6895 # Sed substitution to delay expansion of an escaped single quote.
6896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6898 # Sed substitution to avoid accidental globbing in evaled expressions
6899 no_glob_subst='s/\*/\\\*/g'
6901 # Global variables:
6902 ofile=libtool
6903 can_build_shared=yes
6905 # All known linkers require a `.a' archive for static linking (except MSVC,
6906 # which needs '.lib').
6907 libext=a
6909 with_gnu_ld="$lt_cv_prog_gnu_ld"
6911 old_CC="$CC"
6912 old_CFLAGS="$CFLAGS"
6914 # Set sane defaults for various variables
6915 test -z "$CC" && CC=cc
6916 test -z "$LTCC" && LTCC=$CC
6917 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6918 test -z "$LD" && LD=ld
6919 test -z "$ac_objext" && ac_objext=o
6921 for cc_temp in $compiler""; do
6922 case $cc_temp in
6923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6925 \-*) ;;
6926 *) break;;
6927 esac
6928 done
6929 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932 # Only perform the check for file, if the check method requires it
6933 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6934 case $deplibs_check_method in
6935 file_magic*)
6936 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6937 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6938 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6939 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6940 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942 case $MAGIC_CMD in
6943 [\\/*] | ?:[\\/]*)
6944 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6947 lt_save_MAGIC_CMD="$MAGIC_CMD"
6948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6949 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6950 for ac_dir in $ac_dummy; do
6951 IFS="$lt_save_ifs"
6952 test -z "$ac_dir" && ac_dir=.
6953 if test -f $ac_dir/${ac_tool_prefix}file; then
6954 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6955 if test -n "$file_magic_test_file"; then
6956 case $deplibs_check_method in
6957 "file_magic "*)
6958 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6959 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6960 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6961 $EGREP "$file_magic_regex" > /dev/null; then
6963 else
6964 cat <<_LT_EOF 1>&2
6966 *** Warning: the command libtool uses to detect shared libraries,
6967 *** $file_magic_cmd, produces output that libtool cannot recognize.
6968 *** The result is that libtool may fail to recognize shared libraries
6969 *** as such. This will affect the creation of libtool libraries that
6970 *** depend on shared libraries, but programs linked with such libtool
6971 *** libraries will work regardless of this problem. Nevertheless, you
6972 *** may want to report the problem to your system manager and/or to
6973 *** bug-libtool@gnu.org
6975 _LT_EOF
6976 fi ;;
6977 esac
6979 break
6981 done
6982 IFS="$lt_save_ifs"
6983 MAGIC_CMD="$lt_save_MAGIC_CMD"
6985 esac
6988 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6989 if test -n "$MAGIC_CMD"; then
6990 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6991 echo "${ECHO_T}$MAGIC_CMD" >&6
6992 else
6993 echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6
7001 if test -z "$lt_cv_path_MAGIC_CMD"; then
7002 if test -n "$ac_tool_prefix"; then
7003 echo "$as_me:$LINENO: checking for file" >&5
7004 echo $ECHO_N "checking for file... $ECHO_C" >&6
7005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 else
7008 case $MAGIC_CMD in
7009 [\\/*] | ?:[\\/]*)
7010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7013 lt_save_MAGIC_CMD="$MAGIC_CMD"
7014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7015 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7016 for ac_dir in $ac_dummy; do
7017 IFS="$lt_save_ifs"
7018 test -z "$ac_dir" && ac_dir=.
7019 if test -f $ac_dir/file; then
7020 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7021 if test -n "$file_magic_test_file"; then
7022 case $deplibs_check_method in
7023 "file_magic "*)
7024 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7026 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7027 $EGREP "$file_magic_regex" > /dev/null; then
7029 else
7030 cat <<_LT_EOF 1>&2
7032 *** Warning: the command libtool uses to detect shared libraries,
7033 *** $file_magic_cmd, produces output that libtool cannot recognize.
7034 *** The result is that libtool may fail to recognize shared libraries
7035 *** as such. This will affect the creation of libtool libraries that
7036 *** depend on shared libraries, but programs linked with such libtool
7037 *** libraries will work regardless of this problem. Nevertheless, you
7038 *** may want to report the problem to your system manager and/or to
7039 *** bug-libtool@gnu.org
7041 _LT_EOF
7042 fi ;;
7043 esac
7045 break
7047 done
7048 IFS="$lt_save_ifs"
7049 MAGIC_CMD="$lt_save_MAGIC_CMD"
7051 esac
7054 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7055 if test -n "$MAGIC_CMD"; then
7056 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7057 echo "${ECHO_T}$MAGIC_CMD" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7064 else
7065 MAGIC_CMD=:
7071 esac
7073 # Use C for the default configuration in the libtool script
7075 lt_save_CC="$CC"
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083 # Source file extension for C test sources.
7084 ac_ext=c
7086 # Object file extension for compiled C test sources.
7087 objext=o
7088 objext=$objext
7090 # Code to be used in simple compile tests
7091 lt_simple_compile_test_code="int some_variable = 0;"
7093 # Code to be used in simple link tests
7094 lt_simple_link_test_code='int main(){return(0);}'
7102 # If no C compiler was specified, use CC.
7103 LTCC=${LTCC-"$CC"}
7105 # If no C compiler flags were specified, use CFLAGS.
7106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7108 # Allow CC to be a program name with arguments.
7109 compiler=$CC
7111 # Save the default compiler, since it gets overwritten when the other
7112 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7113 compiler_DEFAULT=$CC
7115 # save warnings/boilerplate of simple test code
7116 ac_outfile=conftest.$ac_objext
7117 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7118 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7119 _lt_compiler_boilerplate=`cat conftest.err`
7120 $RM conftest*
7122 ac_outfile=conftest.$ac_objext
7123 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7124 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7125 _lt_linker_boilerplate=`cat conftest.err`
7126 $RM conftest*
7129 ## CAVEAT EMPTOR:
7130 ## There is no encapsulation within the following macros, do not change
7131 ## the running order or otherwise move them around unless you know exactly
7132 ## what you are doing...
7133 if test -n "$compiler"; then
7135 lt_prog_compiler_no_builtin_flag=
7137 if test "$GCC" = yes; then
7138 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7140 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7141 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7142 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7143 echo $ECHO_N "(cached) $ECHO_C" >&6
7144 else
7145 lt_cv_prog_compiler_rtti_exceptions=no
7146 ac_outfile=conftest.$ac_objext
7147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7148 lt_compiler_flag="-fno-rtti -fno-exceptions"
7149 # Insert the option either (1) after the last *FLAGS variable, or
7150 # (2) before a word containing "conftest.", or (3) at the end.
7151 # Note that $ac_compile itself does not contain backslashes and begins
7152 # with a dollar sign (not a hyphen), so the echo should work correctly.
7153 # The option is referenced via a variable to avoid confusing sed.
7154 lt_compile=`echo "$ac_compile" | $SED \
7155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7157 -e 's:$: $lt_compiler_flag:'`
7158 (eval echo "\"\$as_me:7158: $lt_compile\"" >&5)
7159 (eval "$lt_compile" 2>conftest.err)
7160 ac_status=$?
7161 cat conftest.err >&5
7162 echo "$as_me:7162: \$? = $ac_status" >&5
7163 if (exit $ac_status) && test -s "$ac_outfile"; then
7164 # The compiler can only warn and ignore the option if not recognized
7165 # So say no if there are warnings other than the usual output.
7166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7169 lt_cv_prog_compiler_rtti_exceptions=yes
7172 $RM conftest*
7175 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7176 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7180 else
7191 lt_prog_compiler_wl=
7192 lt_prog_compiler_pic=
7193 lt_prog_compiler_static=
7195 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7196 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7198 if test "$GCC" = yes; then
7199 lt_prog_compiler_wl='-Wl,'
7200 lt_prog_compiler_static='-static'
7202 case $host_os in
7203 aix*)
7204 # All AIX code is PIC.
7205 if test "$host_cpu" = ia64; then
7206 # AIX 5 now supports IA64 processor
7207 lt_prog_compiler_static='-Bstatic'
7211 amigaos*)
7212 if test "$host_cpu" = m68k; then
7213 # FIXME: we need at least 68020 code to build shared libraries, but
7214 # adding the `-m68020' flag to GCC prevents building anything better,
7215 # like `-m68040'.
7216 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7221 # PIC is the default for these OSes.
7224 mingw* | cygwin* | pw32* | os2*)
7225 # This hack is so that the source file can tell whether it is being
7226 # built for inclusion in a dll (and should export symbols for example).
7227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7228 # (--disable-auto-import) libraries
7229 lt_prog_compiler_pic='-DDLL_EXPORT'
7232 darwin* | rhapsody*)
7233 # PIC is the default on this platform
7234 # Common symbols not allowed in MH_DYLIB files
7235 lt_prog_compiler_pic='-fno-common'
7238 hpux*)
7239 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7240 # not for PA HP-UX.
7241 case $host_cpu in
7242 hppa*64*|ia64*)
7243 # +Z the default
7246 lt_prog_compiler_pic='-fPIC'
7248 esac
7251 interix[3-9]*)
7252 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7253 # Instead, we relocate shared libraries at runtime.
7256 msdosdjgpp*)
7257 # Just because we use GCC doesn't mean we suddenly get shared libraries
7258 # on systems that don't support them.
7259 lt_prog_compiler_can_build_shared=no
7260 enable_shared=no
7263 *nto* | *qnx*)
7264 # QNX uses GNU C++, but need to define -shared option too, otherwise
7265 # it will coredump.
7266 lt_prog_compiler_pic='-fPIC -shared'
7269 sysv4*MP*)
7270 if test -d /usr/nec; then
7271 lt_prog_compiler_pic=-Kconform_pic
7276 lt_prog_compiler_pic='-fPIC'
7278 esac
7279 else
7280 # PORTME Check for flag to pass linker flags through the system compiler.
7281 case $host_os in
7282 aix*)
7283 lt_prog_compiler_wl='-Wl,'
7284 if test "$host_cpu" = ia64; then
7285 # AIX 5 now supports IA64 processor
7286 lt_prog_compiler_static='-Bstatic'
7287 else
7288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7291 darwin*)
7292 # PIC is the default on this platform
7293 # Common symbols not allowed in MH_DYLIB files
7294 case $cc_basename in
7295 xlc*)
7296 lt_prog_compiler_pic='-qnocommon'
7297 lt_prog_compiler_wl='-Wl,'
7299 esac
7302 mingw* | cygwin* | pw32* | os2*)
7303 # This hack is so that the source file can tell whether it is being
7304 # built for inclusion in a dll (and should export symbols for example).
7305 lt_prog_compiler_pic='-DDLL_EXPORT'
7308 hpux9* | hpux10* | hpux11*)
7309 lt_prog_compiler_wl='-Wl,'
7310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7311 # not for PA HP-UX.
7312 case $host_cpu in
7313 hppa*64*|ia64*)
7314 # +Z the default
7317 lt_prog_compiler_pic='+Z'
7319 esac
7320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7321 lt_prog_compiler_static='${wl}-a ${wl}archive'
7324 irix5* | irix6* | nonstopux*)
7325 lt_prog_compiler_wl='-Wl,'
7326 # PIC (with -KPIC) is the default.
7327 lt_prog_compiler_static='-non_shared'
7330 linux* | k*bsd*-gnu)
7331 case $cc_basename in
7332 icc* | ecc*)
7333 lt_prog_compiler_wl='-Wl,'
7334 lt_prog_compiler_pic='-KPIC'
7335 lt_prog_compiler_static='-static'
7337 pgcc* | pgf77* | pgf90* | pgf95*)
7338 # Portland Group compilers (*not* the Pentium gcc compiler,
7339 # which looks to be a dead project)
7340 lt_prog_compiler_wl='-Wl,'
7341 lt_prog_compiler_pic='-fpic'
7342 lt_prog_compiler_static='-Bstatic'
7344 ccc*)
7345 lt_prog_compiler_wl='-Wl,'
7346 # All Alpha code is PIC.
7347 lt_prog_compiler_static='-non_shared'
7350 case `$CC -V 2>&1 | sed 5q` in
7351 *Sun\ C*)
7352 # Sun C 5.9
7353 lt_prog_compiler_pic='-KPIC'
7354 lt_prog_compiler_static='-Bstatic'
7355 lt_prog_compiler_wl='-Wl,'
7357 *Sun\ F*)
7358 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-Bstatic'
7361 lt_prog_compiler_wl=''
7363 esac
7365 esac
7368 newsos6)
7369 lt_prog_compiler_pic='-KPIC'
7370 lt_prog_compiler_static='-Bstatic'
7373 *nto* | *qnx*)
7374 # QNX uses GNU C++, but need to define -shared option too, otherwise
7375 # it will coredump.
7376 lt_prog_compiler_pic='-fPIC -shared'
7379 osf3* | osf4* | osf5*)
7380 lt_prog_compiler_wl='-Wl,'
7381 # All OSF/1 code is PIC.
7382 lt_prog_compiler_static='-non_shared'
7385 rdos*)
7386 lt_prog_compiler_static='-non_shared'
7389 solaris*)
7390 lt_prog_compiler_pic='-KPIC'
7391 lt_prog_compiler_static='-Bstatic'
7392 case $cc_basename in
7393 f77* | f90* | f95*)
7394 lt_prog_compiler_wl='-Qoption ld ';;
7396 lt_prog_compiler_wl='-Wl,';;
7397 esac
7400 sunos4*)
7401 lt_prog_compiler_wl='-Qoption ld '
7402 lt_prog_compiler_pic='-PIC'
7403 lt_prog_compiler_static='-Bstatic'
7406 sysv4 | sysv4.2uw2* | sysv4.3*)
7407 lt_prog_compiler_wl='-Wl,'
7408 lt_prog_compiler_pic='-KPIC'
7409 lt_prog_compiler_static='-Bstatic'
7412 sysv4*MP*)
7413 if test -d /usr/nec ;then
7414 lt_prog_compiler_pic='-Kconform_pic'
7415 lt_prog_compiler_static='-Bstatic'
7419 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7420 lt_prog_compiler_wl='-Wl,'
7421 lt_prog_compiler_pic='-KPIC'
7422 lt_prog_compiler_static='-Bstatic'
7425 unicos*)
7426 lt_prog_compiler_wl='-Wl,'
7427 lt_prog_compiler_can_build_shared=no
7430 uts4*)
7431 lt_prog_compiler_pic='-pic'
7432 lt_prog_compiler_static='-Bstatic'
7436 lt_prog_compiler_can_build_shared=no
7438 esac
7441 case $host_os in
7442 # For platforms which do not support PIC, -DPIC is meaningless:
7443 *djgpp*)
7444 lt_prog_compiler_pic=
7447 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7449 esac
7450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7459 # Check to make sure the PIC flag actually works.
7461 if test -n "$lt_prog_compiler_pic"; then
7462 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7463 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7464 if test "${lt_prog_compiler_pic_works+set}" = set; then
7465 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 else
7467 lt_prog_compiler_pic_works=no
7468 ac_outfile=conftest.$ac_objext
7469 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7470 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7471 # Insert the option either (1) after the last *FLAGS variable, or
7472 # (2) before a word containing "conftest.", or (3) at the end.
7473 # Note that $ac_compile itself does not contain backslashes and begins
7474 # with a dollar sign (not a hyphen), so the echo should work correctly.
7475 # The option is referenced via a variable to avoid confusing sed.
7476 lt_compile=`echo "$ac_compile" | $SED \
7477 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7478 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7479 -e 's:$: $lt_compiler_flag:'`
7480 (eval echo "\"\$as_me:7480: $lt_compile\"" >&5)
7481 (eval "$lt_compile" 2>conftest.err)
7482 ac_status=$?
7483 cat conftest.err >&5
7484 echo "$as_me:7484: \$? = $ac_status" >&5
7485 if (exit $ac_status) && test -s "$ac_outfile"; then
7486 # The compiler can only warn and ignore the option if not recognized
7487 # So say no if there are warnings other than the usual output.
7488 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7490 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7491 lt_prog_compiler_pic_works=yes
7494 $RM conftest*
7497 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7498 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7500 if test x"$lt_prog_compiler_pic_works" = xyes; then
7501 case $lt_prog_compiler_pic in
7502 "" | " "*) ;;
7503 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7504 esac
7505 else
7506 lt_prog_compiler_pic=
7507 lt_prog_compiler_can_build_shared=no
7518 # Check to make sure the static flag actually works.
7520 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7521 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7522 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7523 if test "${lt_prog_compiler_static_works+set}" = set; then
7524 echo $ECHO_N "(cached) $ECHO_C" >&6
7525 else
7526 lt_prog_compiler_static_works=no
7527 save_LDFLAGS="$LDFLAGS"
7528 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7529 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7530 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7531 # The linker can only warn and ignore the option if not recognized
7532 # So say no if there are warnings
7533 if test -s conftest.err; then
7534 # Append any errors to the config.log.
7535 cat conftest.err 1>&5
7536 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7537 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538 if diff conftest.exp conftest.er2 >/dev/null; then
7539 lt_prog_compiler_static_works=yes
7541 else
7542 lt_prog_compiler_static_works=yes
7545 $RM conftest*
7546 LDFLAGS="$save_LDFLAGS"
7549 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7550 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7552 if test x"$lt_prog_compiler_static_works" = xyes; then
7554 else
7555 lt_prog_compiler_static=
7564 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7565 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7566 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 lt_cv_prog_compiler_c_o=no
7570 $RM -r conftest 2>/dev/null
7571 mkdir conftest
7572 cd conftest
7573 mkdir out
7574 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7576 lt_compiler_flag="-o out/conftest2.$ac_objext"
7577 # Insert the option either (1) after the last *FLAGS variable, or
7578 # (2) before a word containing "conftest.", or (3) at the end.
7579 # Note that $ac_compile itself does not contain backslashes and begins
7580 # with a dollar sign (not a hyphen), so the echo should work correctly.
7581 lt_compile=`echo "$ac_compile" | $SED \
7582 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7583 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7584 -e 's:$: $lt_compiler_flag:'`
7585 (eval echo "\"\$as_me:7585: $lt_compile\"" >&5)
7586 (eval "$lt_compile" 2>out/conftest.err)
7587 ac_status=$?
7588 cat out/conftest.err >&5
7589 echo "$as_me:7589: \$? = $ac_status" >&5
7590 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7591 then
7592 # The compiler can only warn and ignore the option if not recognized
7593 # So say no if there are warnings
7594 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7595 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7596 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7597 lt_cv_prog_compiler_c_o=yes
7600 chmod u+w . 2>&5
7601 $RM conftest*
7602 # SGI C++ compiler will create directory out/ii_files/ for
7603 # template instantiation
7604 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7605 $RM out/* && rmdir out
7606 cd ..
7607 $RM -r conftest
7608 $RM conftest*
7611 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7612 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 lt_cv_prog_compiler_c_o=no
7625 $RM -r conftest 2>/dev/null
7626 mkdir conftest
7627 cd conftest
7628 mkdir out
7629 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7631 lt_compiler_flag="-o out/conftest2.$ac_objext"
7632 # Insert the option either (1) after the last *FLAGS variable, or
7633 # (2) before a word containing "conftest.", or (3) at the end.
7634 # Note that $ac_compile itself does not contain backslashes and begins
7635 # with a dollar sign (not a hyphen), so the echo should work correctly.
7636 lt_compile=`echo "$ac_compile" | $SED \
7637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7639 -e 's:$: $lt_compiler_flag:'`
7640 (eval echo "\"\$as_me:7640: $lt_compile\"" >&5)
7641 (eval "$lt_compile" 2>out/conftest.err)
7642 ac_status=$?
7643 cat out/conftest.err >&5
7644 echo "$as_me:7644: \$? = $ac_status" >&5
7645 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7646 then
7647 # The compiler can only warn and ignore the option if not recognized
7648 # So say no if there are warnings
7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7650 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7651 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7652 lt_cv_prog_compiler_c_o=yes
7655 chmod u+w . 2>&5
7656 $RM conftest*
7657 # SGI C++ compiler will create directory out/ii_files/ for
7658 # template instantiation
7659 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7660 $RM out/* && rmdir out
7661 cd ..
7662 $RM -r conftest
7663 $RM conftest*
7666 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7667 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7672 hard_links="nottested"
7673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7674 # do not overwrite the value of need_locks provided by the user
7675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7677 hard_links=yes
7678 $RM conftest*
7679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7680 touch conftest.a
7681 ln conftest.a conftest.b 2>&5 || hard_links=no
7682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7683 echo "$as_me:$LINENO: result: $hard_links" >&5
7684 echo "${ECHO_T}$hard_links" >&6
7685 if test "$hard_links" = no; then
7686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7688 need_locks=warn
7690 else
7691 need_locks=no
7699 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7700 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7702 runpath_var=
7703 allow_undefined_flag=
7704 always_export_symbols=no
7705 archive_cmds=
7706 archive_expsym_cmds=
7707 compiler_needs_object=no
7708 enable_shared_with_static_runtimes=no
7709 export_dynamic_flag_spec=
7710 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7711 hardcode_automatic=no
7712 hardcode_direct=no
7713 hardcode_direct_absolute=no
7714 hardcode_libdir_flag_spec=
7715 hardcode_libdir_flag_spec_ld=
7716 hardcode_libdir_separator=
7717 hardcode_minus_L=no
7718 hardcode_shlibpath_var=unsupported
7719 inherit_rpath=no
7720 link_all_deplibs=unknown
7721 module_cmds=
7722 module_expsym_cmds=
7723 old_archive_from_new_cmds=
7724 old_archive_from_expsyms_cmds=
7725 thread_safe_flag_spec=
7726 whole_archive_flag_spec=
7727 # include_expsyms should be a list of space-separated symbols to be *always*
7728 # included in the symbol list
7729 include_expsyms=
7730 # exclude_expsyms can be an extended regexp of symbols to exclude
7731 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733 # as well as any symbol that contains `d'.
7734 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7735 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736 # platforms (ab)use it in PIC code, but their linkers get confused if
7737 # the symbol is explicitly referenced. Since portable code cannot
7738 # rely on this symbol name, it's probably fine to never include it in
7739 # preloaded symbol tables.
7740 extract_expsyms_cmds=
7742 case $host_os in
7743 cygwin* | mingw* | pw32*)
7744 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7745 # When not using gcc, we currently assume that we are using
7746 # Microsoft Visual C++.
7747 if test "$GCC" != yes; then
7748 with_gnu_ld=no
7751 interix*)
7752 # we just hope/assume this is gcc and not c89 (= MSVC++)
7753 with_gnu_ld=yes
7755 openbsd*)
7756 with_gnu_ld=no
7758 esac
7760 ld_shlibs=yes
7761 if test "$with_gnu_ld" = yes; then
7762 # If archive_cmds runs LD, not CC, wlarc should be empty
7763 wlarc='${wl}'
7765 # Set some defaults for GNU ld with shared library support. These
7766 # are reset later if shared libraries are not supported. Putting them
7767 # here allows them to be overridden if necessary.
7768 runpath_var=LD_RUN_PATH
7769 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7770 export_dynamic_flag_spec='${wl}--export-dynamic'
7771 # ancient GNU ld didn't support --whole-archive et. al.
7772 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7773 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7774 else
7775 whole_archive_flag_spec=
7777 supports_anon_versioning=no
7778 case `$LD -v 2>&1` in
7779 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7780 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7781 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7782 *\ 2.11.*) ;; # other 2.11 versions
7783 *) supports_anon_versioning=yes ;;
7784 esac
7786 # See if GNU ld supports shared libraries.
7787 case $host_os in
7788 aix3* | aix4* | aix5*)
7789 # On AIX/PPC, the GNU linker is very broken
7790 if test "$host_cpu" != ia64; then
7791 ld_shlibs=no
7792 cat <<_LT_EOF 1>&2
7794 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7795 *** to be unable to reliably create shared libraries on AIX.
7796 *** Therefore, libtool is disabling shared libraries support. If you
7797 *** really care for shared libraries, you may want to modify your PATH
7798 *** so that a non-GNU linker is found, and then restart.
7800 _LT_EOF
7804 amigaos*)
7805 if test "$host_cpu" = m68k; then
7806 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)'
7807 hardcode_libdir_flag_spec='-L$libdir'
7808 hardcode_minus_L=yes
7811 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7812 # that the semantics of dynamic libraries on AmigaOS, at least up
7813 # to version 4, is to share data among multiple programs linked
7814 # with the same dynamic library. Since this doesn't match the
7815 # behavior of shared libraries on other platforms, we can't use
7816 # them.
7817 ld_shlibs=no
7820 beos*)
7821 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7822 allow_undefined_flag=unsupported
7823 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7824 # support --undefined. This deserves some investigation. FIXME
7825 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7826 else
7827 ld_shlibs=no
7831 cygwin* | mingw* | pw32*)
7832 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7833 # as there is no search path for DLLs.
7834 hardcode_libdir_flag_spec='-L$libdir'
7835 allow_undefined_flag=unsupported
7836 always_export_symbols=no
7837 enable_shared_with_static_runtimes=yes
7838 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7840 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7841 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7842 # If the export-symbols file already is a .def file (1st line
7843 # is EXPORTS), use it as is; otherwise, prepend...
7844 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7845 cp $export_symbols $output_objdir/$soname.def;
7846 else
7847 echo EXPORTS > $output_objdir/$soname.def;
7848 cat $export_symbols >> $output_objdir/$soname.def;
7850 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7851 else
7852 ld_shlibs=no
7856 interix[3-9]*)
7857 hardcode_direct=no
7858 hardcode_shlibpath_var=no
7859 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7860 export_dynamic_flag_spec='${wl}-E'
7861 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7862 # Instead, shared libraries are loaded at an image base (0x10000000 by
7863 # default) and relocated if they conflict, which is a slow very memory
7864 # consuming and fragmenting process. To avoid this, we pick a random,
7865 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7866 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7867 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7868 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'
7871 gnu* | linux* | tpf* | k*bsd*-gnu)
7872 tmp_diet=no
7873 if test "$host_os" = linux-dietlibc; then
7874 case $cc_basename in
7875 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7876 esac
7878 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7879 && test "$tmp_diet" = no
7880 then
7881 tmp_addflag=
7882 case $cc_basename,$host_cpu in
7883 pgcc*) # Portland Group C compiler
7884 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'
7885 tmp_addflag=' $pic_flag'
7887 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7888 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'
7889 tmp_addflag=' $pic_flag -Mnomain' ;;
7890 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7891 tmp_addflag=' -i_dynamic' ;;
7892 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7893 tmp_addflag=' -i_dynamic -nofor_main' ;;
7894 ifc* | ifort*) # Intel Fortran compiler
7895 tmp_addflag=' -nofor_main' ;;
7896 esac
7897 case `$CC -V 2>&1 | sed 5q` in
7898 *Sun\ C*) # Sun C 5.9
7899 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'
7900 compiler_needs_object=yes
7901 tmp_sharedflag='-G' ;;
7902 *Sun\ F*) # Sun Fortran 8.3
7903 tmp_sharedflag='-G' ;;
7905 tmp_sharedflag='-shared' ;;
7906 esac
7907 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7909 if test "x$supports_anon_versioning" = xyes; then
7910 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7911 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7912 echo "local: *; };" >> $output_objdir/$libname.ver~
7913 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7915 else
7916 ld_shlibs=no
7920 netbsd*)
7921 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7922 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7923 wlarc=
7924 else
7925 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7926 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7930 solaris*)
7931 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7932 ld_shlibs=no
7933 cat <<_LT_EOF 1>&2
7935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7936 *** create shared libraries on Solaris systems. Therefore, libtool
7937 *** is disabling shared libraries support. We urge you to upgrade GNU
7938 *** binutils to release 2.9.1 or newer. Another option is to modify
7939 *** your PATH or compiler configuration so that the native linker is
7940 *** used, and then restart.
7942 _LT_EOF
7943 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7946 else
7947 ld_shlibs=no
7951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7952 case `$LD -v 2>&1` in
7953 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7954 ld_shlibs=no
7955 cat <<_LT_EOF 1>&2
7957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7958 *** reliably create shared libraries on SCO systems. Therefore, libtool
7959 *** is disabling shared libraries support. We urge you to upgrade GNU
7960 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7961 *** your PATH or compiler configuration so that the native linker is
7962 *** used, and then restart.
7964 _LT_EOF
7967 # For security reasons, it is highly recommended that you always
7968 # use absolute paths for naming shared libraries, and exclude the
7969 # DT_RUNPATH tag from executables and libraries. But doing so
7970 # requires that you compile everything twice, which is a pain.
7971 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7972 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 else
7976 ld_shlibs=no
7979 esac
7982 sunos4*)
7983 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7984 wlarc=
7985 hardcode_direct=yes
7986 hardcode_shlibpath_var=no
7990 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7991 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7992 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7993 else
7994 ld_shlibs=no
7997 esac
7999 if test "$ld_shlibs" = no; then
8000 runpath_var=
8001 hardcode_libdir_flag_spec=
8002 export_dynamic_flag_spec=
8003 whole_archive_flag_spec=
8005 else
8006 # PORTME fill in a description of your system's linker (not GNU ld)
8007 case $host_os in
8008 aix3*)
8009 allow_undefined_flag=unsupported
8010 always_export_symbols=yes
8011 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'
8012 # Note: this linker hardcodes the directories in LIBPATH if there
8013 # are no directories specified by -L.
8014 hardcode_minus_L=yes
8015 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8016 # Neither direct hardcoding nor static linking is supported with a
8017 # broken collect2.
8018 hardcode_direct=unsupported
8022 aix4* | aix5*)
8023 if test "$host_cpu" = ia64; then
8024 # On IA64, the linker does run time linking by default, so we don't
8025 # have to do anything special.
8026 aix_use_runtimelinking=no
8027 exp_sym_flag='-Bexport'
8028 no_entry_flag=""
8029 else
8030 # If we're using GNU nm, then we don't want the "-C" option.
8031 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8032 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8033 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'
8034 else
8035 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'
8037 aix_use_runtimelinking=no
8039 # Test if we are trying to use run time linking or normal
8040 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8041 # need to do runtime linking.
8042 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8043 for ld_flag in $LDFLAGS; do
8044 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8045 aix_use_runtimelinking=yes
8046 break
8048 done
8050 esac
8052 exp_sym_flag='-bexport'
8053 no_entry_flag='-bnoentry'
8056 # When large executables or shared objects are built, AIX ld can
8057 # have problems creating the table of contents. If linking a library
8058 # or program results in "error TOC overflow" add -mminimal-toc to
8059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8062 archive_cmds=''
8063 hardcode_direct=yes
8064 hardcode_direct_absolute=yes
8065 hardcode_libdir_separator=':'
8066 link_all_deplibs=yes
8067 file_list_spec='${wl}-f,'
8069 if test "$GCC" = yes; then
8070 case $host_os in aix4.[012]|aix4.[012].*)
8071 # We only want to do this on AIX 4.2 and lower, the check
8072 # below for broken collect2 doesn't work under 4.3+
8073 collect2name=`${CC} -print-prog-name=collect2`
8074 if test -f "$collect2name" &&
8075 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8076 then
8077 # We have reworked collect2
8079 else
8080 # We have old collect2
8081 hardcode_direct=unsupported
8082 # It fails to find uninstalled libraries when the uninstalled
8083 # path is not listed in the libpath. Setting hardcode_minus_L
8084 # to unsupported forces relinking
8085 hardcode_minus_L=yes
8086 hardcode_libdir_flag_spec='-L$libdir'
8087 hardcode_libdir_separator=
8090 esac
8091 shared_flag='-shared'
8092 if test "$aix_use_runtimelinking" = yes; then
8093 shared_flag="$shared_flag "'${wl}-G'
8095 else
8096 # not using gcc
8097 if test "$host_cpu" = ia64; then
8098 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8099 # chokes on -Wl,-G. The following line is correct:
8100 shared_flag='-G'
8101 else
8102 if test "$aix_use_runtimelinking" = yes; then
8103 shared_flag='${wl}-G'
8104 else
8105 shared_flag='${wl}-bM:SRE'
8110 # It seems that -bexpall does not export symbols beginning with
8111 # underscore (_), so it is better to generate a list of symbols to export.
8112 always_export_symbols=yes
8113 if test "$aix_use_runtimelinking" = yes; then
8114 # Warning - without using the other runtime loading flags (-brtl),
8115 # -berok will link without error, but may produce a broken library.
8116 allow_undefined_flag='-berok'
8117 # Determine the default libpath from the value encoded in an
8118 # empty executable.
8119 if test x$gcc_no_link = xyes; then
8120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8122 { (exit 1); exit 1; }; }
8124 cat >conftest.$ac_ext <<_ACEOF
8125 /* confdefs.h. */
8126 _ACEOF
8127 cat confdefs.h >>conftest.$ac_ext
8128 cat >>conftest.$ac_ext <<_ACEOF
8129 /* end confdefs.h. */
8132 main ()
8136 return 0;
8138 _ACEOF
8139 rm -f conftest.$ac_objext conftest$ac_exeext
8140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8141 (eval $ac_link) 2>conftest.er1
8142 ac_status=$?
8143 grep -v '^ *+' conftest.er1 >conftest.err
8144 rm -f conftest.er1
8145 cat conftest.err >&5
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } &&
8148 { ac_try='test -z "$ac_c_werror_flag"
8149 || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 (eval $ac_try) 2>&5
8152 ac_status=$?
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 (eval $ac_try) 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8162 lt_aix_libpath_sed='
8163 /Import File Strings/,/^$/ {
8164 /^0/ {
8165 s/^0 *\(.*\)$/\1/
8169 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8170 # Check for a 64-bit object if we didn't find anything.
8171 if test -z "$aix_libpath"; then
8172 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8174 else
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8179 rm -f conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8183 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8184 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"
8185 else
8186 if test "$host_cpu" = ia64; then
8187 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8188 allow_undefined_flag="-z nodefs"
8189 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"
8190 else
8191 # Determine the default libpath from the value encoded in an
8192 # empty executable.
8193 if test x$gcc_no_link = xyes; then
8194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8196 { (exit 1); exit 1; }; }
8198 cat >conftest.$ac_ext <<_ACEOF
8199 /* confdefs.h. */
8200 _ACEOF
8201 cat confdefs.h >>conftest.$ac_ext
8202 cat >>conftest.$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8206 main ()
8210 return 0;
8212 _ACEOF
8213 rm -f conftest.$ac_objext conftest$ac_exeext
8214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8215 (eval $ac_link) 2>conftest.er1
8216 ac_status=$?
8217 grep -v '^ *+' conftest.er1 >conftest.err
8218 rm -f conftest.er1
8219 cat conftest.err >&5
8220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8221 (exit $ac_status); } &&
8222 { ac_try='test -z "$ac_c_werror_flag"
8223 || test ! -s conftest.err'
8224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 (eval $ac_try) 2>&5
8226 ac_status=$?
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); }; } &&
8229 { ac_try='test -s conftest$ac_exeext'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 (eval $ac_try) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; }; then
8236 lt_aix_libpath_sed='
8237 /Import File Strings/,/^$/ {
8238 /^0/ {
8239 s/^0 *\(.*\)$/\1/
8243 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8244 # Check for a 64-bit object if we didn't find anything.
8245 if test -z "$aix_libpath"; then
8246 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8248 else
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8253 rm -f conftest.err conftest.$ac_objext \
8254 conftest$ac_exeext conftest.$ac_ext
8255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8257 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8258 # Warning - without using the other run time loading flags,
8259 # -berok will link without error, but may produce a broken library.
8260 no_undefined_flag=' ${wl}-bernotok'
8261 allow_undefined_flag=' ${wl}-berok'
8262 # Exported symbols can be pulled into shared objects from archives
8263 whole_archive_flag_spec='$convenience'
8264 archive_cmds_need_lc=yes
8265 # This is similar to how AIX traditionally builds its shared libraries.
8266 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'
8271 amigaos*)
8272 if test "$host_cpu" = m68k; then
8273 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)'
8274 hardcode_libdir_flag_spec='-L$libdir'
8275 hardcode_minus_L=yes
8277 # see comment about different semantics on the GNU ld section
8278 ld_shlibs=no
8281 bsdi[45]*)
8282 export_dynamic_flag_spec=-rdynamic
8285 cygwin* | mingw* | pw32*)
8286 # When not using gcc, we currently assume that we are using
8287 # Microsoft Visual C++.
8288 # hardcode_libdir_flag_spec is actually meaningless, as there is
8289 # no search path for DLLs.
8290 hardcode_libdir_flag_spec=' '
8291 allow_undefined_flag=unsupported
8292 # Tell ltmain to make .lib files, not .a files.
8293 libext=lib
8294 # Tell ltmain to make .dll files, not .so files.
8295 shrext_cmds=".dll"
8296 # FIXME: Setting linknames here is a bad hack.
8297 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8298 # The linker will automatically build a .lib file if we build a DLL.
8299 old_archive_from_new_cmds='true'
8300 # FIXME: Should let the user specify the lib program.
8301 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8302 fix_srcfile_path='`cygpath -w "$srcfile"`'
8303 enable_shared_with_static_runtimes=yes
8306 darwin* | rhapsody*)
8307 case $host_os in
8308 rhapsody* | darwin1.[012])
8309 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8311 *) # Darwin 1.3 on
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8313 10.[012])
8314 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8316 10.*)
8317 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8319 esac
8321 esac
8322 archive_cmds_need_lc=no
8323 hardcode_direct=no
8324 hardcode_automatic=yes
8325 hardcode_shlibpath_var=unsupported
8326 whole_archive_flag_spec=''
8327 link_all_deplibs=yes
8328 if test "$GCC" = yes ; then
8329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 lt_cv_apple_cc_single_mod=no
8333 if test -z "${LT_MULTI_MODULE}"; then
8334 # By default we will add the -single_module flag. You can override
8335 # by either setting the environment variable LT_MULTI_MODULE
8336 # non-empty at configure time, or by adding -multi-module to the
8337 # link flags.
8338 echo "int foo(void){return 1;}" > conftest.c
8339 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8340 -dynamiclib ${wl}-single_module conftest.c
8341 if test -f libconftest.dylib; then
8342 lt_cv_apple_cc_single_mod=yes
8343 rm libconftest.dylib
8345 rm conftest.$ac_ext
8349 output_verbose_link_cmd=echo
8350 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8351 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8352 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}'
8353 else
8354 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8355 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}'
8357 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8358 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}'
8359 else
8360 case $cc_basename in
8361 xlc*)
8362 output_verbose_link_cmd=echo
8363 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8364 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8365 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8366 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}'
8367 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}'
8370 ld_shlibs=no
8372 esac
8376 dgux*)
8377 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8378 hardcode_libdir_flag_spec='-L$libdir'
8379 hardcode_shlibpath_var=no
8382 freebsd1*)
8383 ld_shlibs=no
8386 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8387 # support. Future versions do this automatically, but an explicit c++rt0.o
8388 # does not break anything, and helps significantly (at the cost of a little
8389 # extra space).
8390 freebsd2.2*)
8391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8392 hardcode_libdir_flag_spec='-R$libdir'
8393 hardcode_direct=yes
8394 hardcode_shlibpath_var=no
8397 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8398 freebsd2*)
8399 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8400 hardcode_direct=yes
8401 hardcode_minus_L=yes
8402 hardcode_shlibpath_var=no
8405 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8406 freebsd* | dragonfly*)
8407 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8408 hardcode_libdir_flag_spec='-R$libdir'
8409 hardcode_direct=yes
8410 hardcode_shlibpath_var=no
8413 hpux9*)
8414 if test "$GCC" = yes; then
8415 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'
8416 else
8417 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'
8419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8420 hardcode_libdir_separator=:
8421 hardcode_direct=yes
8423 # hardcode_minus_L: Not really in the search PATH,
8424 # but as the default location of the library.
8425 hardcode_minus_L=yes
8426 export_dynamic_flag_spec='${wl}-E'
8429 hpux10*)
8430 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8431 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8432 else
8433 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8435 if test "$with_gnu_ld" = no; then
8436 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8437 hardcode_libdir_flag_spec_ld='+b $libdir'
8438 hardcode_libdir_separator=:
8439 hardcode_direct=yes
8440 hardcode_direct_absolute=yes
8441 export_dynamic_flag_spec='${wl}-E'
8442 # hardcode_minus_L: Not really in the search PATH,
8443 # but as the default location of the library.
8444 hardcode_minus_L=yes
8448 hpux11*)
8449 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8450 case $host_cpu in
8451 hppa*64*)
8452 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8454 ia64*)
8455 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8460 esac
8461 else
8462 case $host_cpu in
8463 hppa*64*)
8464 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8466 ia64*)
8467 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8472 esac
8474 if test "$with_gnu_ld" = no; then
8475 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8476 hardcode_libdir_separator=:
8478 case $host_cpu in
8479 hppa*64*|ia64*)
8480 hardcode_direct=no
8481 hardcode_shlibpath_var=no
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8488 # hardcode_minus_L: Not really in the search PATH,
8489 # but as the default location of the library.
8490 hardcode_minus_L=yes
8492 esac
8496 irix5* | irix6* | nonstopux*)
8497 if test "$GCC" = yes; then
8498 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'
8499 # Try to use the -exported_symbol ld option, if it does not
8500 # work, assume that -exports_file does not work either and
8501 # implicitly export all symbols.
8502 save_LDFLAGS="$LDFLAGS"
8503 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8504 if test x$gcc_no_link = xyes; then
8505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8507 { (exit 1); exit 1; }; }
8509 cat >conftest.$ac_ext <<_ACEOF
8510 int foo(void) {}
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8514 (eval $ac_link) 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } &&
8521 { ac_try='test -z "$ac_c_werror_flag"
8522 || test ! -s conftest.err'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8524 (eval $ac_try) 2>&5
8525 ac_status=$?
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; } &&
8528 { ac_try='test -s conftest$ac_exeext'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8530 (eval $ac_try) 2>&5
8531 ac_status=$?
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; }; then
8534 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'
8536 else
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8541 rm -f conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 LDFLAGS="$save_LDFLAGS"
8544 else
8545 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'
8546 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'
8548 archive_cmds_need_lc='no'
8549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8550 hardcode_libdir_separator=:
8551 inherit_rpath=yes
8552 link_all_deplibs=yes
8555 netbsd*)
8556 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8558 else
8559 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8561 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_direct=yes
8563 hardcode_shlibpath_var=no
8566 newsos6)
8567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8568 hardcode_direct=yes
8569 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8570 hardcode_libdir_separator=:
8571 hardcode_shlibpath_var=no
8574 *nto* | *qnx*)
8577 openbsd*)
8578 hardcode_direct=yes
8579 hardcode_shlibpath_var=no
8580 hardcode_direct_absolute=yes
8581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8582 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8583 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8585 export_dynamic_flag_spec='${wl}-E'
8586 else
8587 case $host_os in
8588 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8589 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590 hardcode_libdir_flag_spec='-R$libdir'
8593 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8594 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8596 esac
8600 os2*)
8601 hardcode_libdir_flag_spec='-L$libdir'
8602 hardcode_minus_L=yes
8603 allow_undefined_flag=unsupported
8604 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'
8605 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8608 osf3*)
8609 if test "$GCC" = yes; then
8610 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8611 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'
8612 else
8613 allow_undefined_flag=' -expect_unresolved \*'
8614 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'
8616 archive_cmds_need_lc='no'
8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8618 hardcode_libdir_separator=:
8621 osf4* | osf5*) # as osf3* with the addition of -msym flag
8622 if test "$GCC" = yes; then
8623 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8624 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'
8625 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 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'
8629 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~
8630 $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'
8632 # Both c and cxx compiler support -rpath directly
8633 hardcode_libdir_flag_spec='-rpath $libdir'
8635 archive_cmds_need_lc='no'
8636 hardcode_libdir_separator=:
8639 solaris*)
8640 no_undefined_flag=' -z defs'
8641 if test "$GCC" = yes; then
8642 wlarc='${wl}'
8643 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8645 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8646 else
8647 case `$CC -V 2>&1` in
8648 *"Compilers 5.0"*)
8649 wlarc=''
8650 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8651 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8652 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8655 wlarc='${wl}'
8656 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8657 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8658 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 esac
8662 hardcode_libdir_flag_spec='-R$libdir'
8663 hardcode_shlibpath_var=no
8664 case $host_os in
8665 solaris2.[0-5] | solaris2.[0-5].*) ;;
8667 # The compiler driver will combine and reorder linker options,
8668 # but understands `-z linker_flag'. GCC discards it without `$wl',
8669 # but is careful enough not to reorder.
8670 # Supported since Solaris 2.6 (maybe 2.5.1?)
8671 if test "$GCC" = yes; then
8672 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8673 else
8674 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8677 esac
8678 link_all_deplibs=yes
8681 sunos4*)
8682 if test "x$host_vendor" = xsequent; then
8683 # Use $CC to link under sequent, because it throws in some extra .o
8684 # files that make .init and .fini sections work.
8685 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8686 else
8687 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8689 hardcode_libdir_flag_spec='-L$libdir'
8690 hardcode_direct=yes
8691 hardcode_minus_L=yes
8692 hardcode_shlibpath_var=no
8695 sysv4)
8696 case $host_vendor in
8697 sni)
8698 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8699 hardcode_direct=yes # is this really true???
8701 siemens)
8702 ## LD is ld it makes a PLAMLIB
8703 ## CC just makes a GrossModule.
8704 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8705 reload_cmds='$CC -r -o $output$reload_objs'
8706 hardcode_direct=no
8708 motorola)
8709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8710 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8712 esac
8713 runpath_var='LD_RUN_PATH'
8714 hardcode_shlibpath_var=no
8717 sysv4.3*)
8718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8719 hardcode_shlibpath_var=no
8720 export_dynamic_flag_spec='-Bexport'
8723 sysv4*MP*)
8724 if test -d /usr/nec; then
8725 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_shlibpath_var=no
8727 runpath_var=LD_RUN_PATH
8728 hardcode_runpath_var=yes
8729 ld_shlibs=yes
8733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8734 no_undefined_flag='${wl}-z,text'
8735 archive_cmds_need_lc=no
8736 hardcode_shlibpath_var=no
8737 runpath_var='LD_RUN_PATH'
8739 if test "$GCC" = yes; then
8740 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8741 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8742 else
8743 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8748 sysv5* | sco3.2v5* | sco5v6*)
8749 # Note: We can NOT use -z defs as we might desire, because we do not
8750 # link with -lc, and that would cause any symbols used from libc to
8751 # always be unresolved, which means just about no library would
8752 # ever link correctly. If we're not using GNU ld we use -z text
8753 # though, which does catch some bad symbols but isn't as heavy-handed
8754 # as -z defs.
8755 no_undefined_flag='${wl}-z,text'
8756 allow_undefined_flag='${wl}-z,nodefs'
8757 archive_cmds_need_lc=no
8758 hardcode_shlibpath_var=no
8759 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8760 hardcode_libdir_separator=':'
8761 link_all_deplibs=yes
8762 export_dynamic_flag_spec='${wl}-Bexport'
8763 runpath_var='LD_RUN_PATH'
8765 if test "$GCC" = yes; then
8766 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8768 else
8769 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8774 uts4*)
8775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8776 hardcode_libdir_flag_spec='-L$libdir'
8777 hardcode_shlibpath_var=no
8781 ld_shlibs=no
8783 esac
8785 if test x$host_vendor = xsni; then
8786 case $host in
8787 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8788 export_dynamic_flag_spec='${wl}-Blargedynsym'
8790 esac
8794 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8795 echo "${ECHO_T}$ld_shlibs" >&6
8796 test "$ld_shlibs" = no && can_build_shared=no
8798 with_gnu_ld=$with_gnu_ld
8815 # Do we need to explicitly link libc?
8817 case "x$archive_cmds_need_lc" in
8818 x|xyes)
8819 # Assume -lc should be added
8820 archive_cmds_need_lc=yes
8822 if test "$enable_shared" = yes && test "$GCC" = yes; then
8823 case $archive_cmds in
8824 *'~'*)
8825 # FIXME: we may have to deal with multi-command sequences.
8827 '$CC '*)
8828 # Test whether the compiler implicitly links with -lc since on some
8829 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8830 # to ld, don't add -lc before -lgcc.
8831 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8832 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8833 $RM conftest*
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8837 (eval $ac_compile) 2>&5
8838 ac_status=$?
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } 2>conftest.err; then
8841 soname=conftest
8842 lib=conftest
8843 libobjs=conftest.$ac_objext
8844 deplibs=
8845 wl=$lt_prog_compiler_wl
8846 pic_flag=$lt_prog_compiler_pic
8847 compiler_flags=-v
8848 linker_flags=-v
8849 verstring=
8850 output_objdir=.
8851 libname=conftest
8852 lt_save_allow_undefined_flag=$allow_undefined_flag
8853 allow_undefined_flag=
8854 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8855 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8856 ac_status=$?
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); }
8859 then
8860 archive_cmds_need_lc=no
8861 else
8862 archive_cmds_need_lc=yes
8864 allow_undefined_flag=$lt_save_allow_undefined_flag
8865 else
8866 cat conftest.err 1>&5
8868 $RM conftest*
8869 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8870 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8872 esac
8875 esac
9033 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9034 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9035 withGCC=$GCC
9036 if test "$withGCC" = yes; then
9037 case $host_os in
9038 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9039 *) lt_awk_arg="/^libraries:/" ;;
9040 esac
9041 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9042 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9043 # if the path contains ";" then we assume it to be the separator
9044 # otherwise default to the standard path separator (i.e. ":") - it is
9045 # assumed that no part of a normal pathname contains ";" but that should
9046 # okay in the real world where ";" in dirpaths is itself problematic.
9047 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9048 else
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9051 # Ok, now we have the path, separated by spaces, we can step through it
9052 # and add multilib dir if necessary.
9053 lt_tmp_lt_search_path_spec=
9054 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9055 for lt_sys_path in $lt_search_path_spec; do
9056 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9057 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9058 else
9059 test -d "$lt_sys_path" && \
9060 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9062 done
9063 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9064 BEGIN {RS=" "; FS="/|\n";} {
9065 lt_foo="";
9066 lt_count=0;
9067 for (lt_i = NF; lt_i > 0; lt_i--) {
9068 if ($lt_i != "" && $lt_i != ".") {
9069 if ($lt_i == "..") {
9070 lt_count++;
9071 } else {
9072 if (lt_count == 0) {
9073 lt_foo="/" $lt_i lt_foo;
9074 } else {
9075 lt_count--;
9080 if (lt_foo != "") { lt_freq[lt_foo]++; }
9081 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9083 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9084 else
9085 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9087 library_names_spec=
9088 libname_spec='lib$name'
9089 soname_spec=
9090 shrext_cmds=".so"
9091 postinstall_cmds=
9092 postuninstall_cmds=
9093 finish_cmds=
9094 finish_eval=
9095 shlibpath_var=
9096 shlibpath_overrides_runpath=unknown
9097 version_type=none
9098 dynamic_linker="$host_os ld.so"
9099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9100 need_lib_prefix=unknown
9101 hardcode_into_libs=no
9103 # when you set need_version to no, make sure it does not cause -set_version
9104 # flags to be left without arguments
9105 need_version=unknown
9107 case $host_os in
9108 aix3*)
9109 version_type=linux
9110 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9111 shlibpath_var=LIBPATH
9113 # AIX 3 has no versioning support, so we append a major version to the name.
9114 soname_spec='${libname}${release}${shared_ext}$major'
9117 aix4* | aix5*)
9118 version_type=linux
9119 need_lib_prefix=no
9120 need_version=no
9121 hardcode_into_libs=yes
9122 if test "$host_cpu" = ia64; then
9123 # AIX 5 supports IA64
9124 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9125 shlibpath_var=LD_LIBRARY_PATH
9126 else
9127 # With GCC up to 2.95.x, collect2 would create an import file
9128 # for dependence libraries. The import file would start with
9129 # the line `#! .'. This would cause the generated library to
9130 # depend on `.', always an invalid library. This was fixed in
9131 # development snapshots of GCC prior to 3.0.
9132 case $host_os in
9133 aix4 | aix4.[01] | aix4.[01].*)
9134 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9135 echo ' yes '
9136 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9138 else
9139 can_build_shared=no
9142 esac
9143 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9144 # soname into executable. Probably we can add versioning support to
9145 # collect2, so additional links can be useful in future.
9146 if test "$aix_use_runtimelinking" = yes; then
9147 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9148 # instead of lib<name>.a to let people know that these are not
9149 # typical AIX shared libraries.
9150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9151 else
9152 # We preserve .a as extension for shared libraries through AIX4.2
9153 # and later when we are not doing run time linking.
9154 library_names_spec='${libname}${release}.a $libname.a'
9155 soname_spec='${libname}${release}${shared_ext}$major'
9157 shlibpath_var=LIBPATH
9161 amigaos*)
9162 if test "$host_cpu" = m68k; then
9163 library_names_spec='$libname.ixlibrary $libname.a'
9164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9165 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'
9166 else
9167 dynamic_linker=no
9171 beos*)
9172 library_names_spec='${libname}${shared_ext}'
9173 dynamic_linker="$host_os ld.so"
9174 shlibpath_var=LIBRARY_PATH
9177 bsdi[45]*)
9178 version_type=linux
9179 need_version=no
9180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9181 soname_spec='${libname}${release}${shared_ext}$major'
9182 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9183 shlibpath_var=LD_LIBRARY_PATH
9184 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9185 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9186 # the default ld.so.conf also contains /usr/contrib/lib and
9187 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9188 # libtool to hard-code these into programs
9191 cygwin* | mingw* | pw32*)
9192 version_type=windows
9193 shrext_cmds=".dll"
9194 need_version=no
9195 need_lib_prefix=no
9197 case $withGCC,$host_os in
9198 yes,cygwin* | yes,mingw* | yes,pw32*)
9199 library_names_spec='$libname.dll.a'
9200 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9201 postinstall_cmds='base_file=`basename \${file}`~
9202 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9203 dldir=$destdir/`dirname \$dlpath`~
9204 test -d \$dldir || mkdir -p \$dldir~
9205 $install_prog $dir/$dlname \$dldir/$dlname~
9206 chmod a+x \$dldir/$dlname~
9207 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9208 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9210 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9211 dlpath=$dir/\$dldll~
9212 $RM \$dlpath'
9213 shlibpath_overrides_runpath=yes
9215 case $host_os in
9216 cygwin*)
9217 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9218 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9219 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9221 mingw*)
9222 # MinGW DLLs use traditional 'lib' prefix
9223 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9225 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9226 # It is most probably a Windows format PATH printed by
9227 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9228 # path with ; separators, and with drive letters. We can handle the
9229 # drive letters (cygwin fileutils understands them), so leave them,
9230 # especially as we might pass files found there to a mingw objdump,
9231 # which wouldn't understand a cygwinified path. Ahh.
9232 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9233 else
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9237 pw32*)
9238 # pw32 DLLs use 'pw' prefix rather than 'lib'
9239 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9241 esac
9245 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9247 esac
9248 dynamic_linker='Win32 ld.exe'
9249 # FIXME: first we should search . and the directory the executable is in
9250 shlibpath_var=PATH
9253 darwin* | rhapsody*)
9254 dynamic_linker="$host_os dyld"
9255 version_type=darwin
9256 need_lib_prefix=no
9257 need_version=no
9258 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9259 soname_spec='${libname}${release}${major}$shared_ext'
9260 shlibpath_overrides_runpath=yes
9261 shlibpath_var=DYLD_LIBRARY_PATH
9262 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9264 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9265 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9268 dgux*)
9269 version_type=linux
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9273 soname_spec='${libname}${release}${shared_ext}$major'
9274 shlibpath_var=LD_LIBRARY_PATH
9277 freebsd1*)
9278 dynamic_linker=no
9281 freebsd* | dragonfly*)
9282 # DragonFly does not have aout. When/if they implement a new
9283 # versioning mechanism, adjust this.
9284 if test -x /usr/bin/objformat; then
9285 objformat=`/usr/bin/objformat`
9286 else
9287 case $host_os in
9288 freebsd[123]*) objformat=aout ;;
9289 *) objformat=elf ;;
9290 esac
9292 version_type=freebsd-$objformat
9293 case $version_type in
9294 freebsd-elf*)
9295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9296 need_version=no
9297 need_lib_prefix=no
9299 freebsd-*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9301 need_version=yes
9303 esac
9304 shlibpath_var=LD_LIBRARY_PATH
9305 case $host_os in
9306 freebsd2*)
9307 shlibpath_overrides_runpath=yes
9309 freebsd3.[01]* | freebsdelf3.[01]*)
9310 shlibpath_overrides_runpath=yes
9311 hardcode_into_libs=yes
9313 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9314 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9315 shlibpath_overrides_runpath=no
9316 hardcode_into_libs=yes
9318 *) # from 4.6 on, and DragonFly
9319 shlibpath_overrides_runpath=yes
9320 hardcode_into_libs=yes
9322 esac
9325 gnu*)
9326 version_type=linux
9327 need_lib_prefix=no
9328 need_version=no
9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9330 soname_spec='${libname}${release}${shared_ext}$major'
9331 shlibpath_var=LD_LIBRARY_PATH
9332 hardcode_into_libs=yes
9335 hpux9* | hpux10* | hpux11*)
9336 # Give a soname corresponding to the major version so that dld.sl refuses to
9337 # link against other versions.
9338 version_type=sunos
9339 need_lib_prefix=no
9340 need_version=no
9341 case $host_cpu in
9342 ia64*)
9343 shrext_cmds='.so'
9344 hardcode_into_libs=yes
9345 dynamic_linker="$host_os dld.so"
9346 shlibpath_var=LD_LIBRARY_PATH
9347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9349 soname_spec='${libname}${release}${shared_ext}$major'
9350 if test "X$HPUX_IA64_MODE" = X32; then
9351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9352 else
9353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9357 hppa*64*)
9358 shrext_cmds='.sl'
9359 hardcode_into_libs=yes
9360 dynamic_linker="$host_os dld.sl"
9361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9364 soname_spec='${libname}${release}${shared_ext}$major'
9365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9369 shrext_cmds='.sl'
9370 dynamic_linker="$host_os dld.sl"
9371 shlibpath_var=SHLIB_PATH
9372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9376 esac
9377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9378 postinstall_cmds='chmod 555 $lib'
9381 interix[3-9]*)
9382 version_type=linux
9383 need_lib_prefix=no
9384 need_version=no
9385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9386 soname_spec='${libname}${release}${shared_ext}$major'
9387 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9388 shlibpath_var=LD_LIBRARY_PATH
9389 shlibpath_overrides_runpath=no
9390 hardcode_into_libs=yes
9393 irix5* | irix6* | nonstopux*)
9394 case $host_os in
9395 nonstopux*) version_type=nonstopux ;;
9397 if test "$lt_cv_prog_gnu_ld" = yes; then
9398 version_type=linux
9399 else
9400 version_type=irix
9401 fi ;;
9402 esac
9403 need_lib_prefix=no
9404 need_version=no
9405 soname_spec='${libname}${release}${shared_ext}$major'
9406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9407 case $host_os in
9408 irix5* | nonstopux*)
9409 libsuff= shlibsuff=
9412 case $LD in # libtool.m4 will add one of these switches to LD
9413 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9414 libsuff= shlibsuff= libmagic=32-bit;;
9415 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9416 libsuff=32 shlibsuff=N32 libmagic=N32;;
9417 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9418 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9419 *) libsuff= shlibsuff= libmagic=never-match;;
9420 esac
9422 esac
9423 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9424 shlibpath_overrides_runpath=no
9425 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9426 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9427 hardcode_into_libs=yes
9430 # No shared lib support for Linux oldld, aout, or coff.
9431 linux*oldld* | linux*aout* | linux*coff*)
9432 dynamic_linker=no
9435 # This must be Linux ELF.
9436 linux* | k*bsd*-gnu)
9437 version_type=linux
9438 need_lib_prefix=no
9439 need_version=no
9440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9441 soname_spec='${libname}${release}${shared_ext}$major'
9442 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9443 shlibpath_var=LD_LIBRARY_PATH
9444 shlibpath_overrides_runpath=no
9445 # Some binutils ld are patched to set DT_RUNPATH
9446 save_LDFLAGS=$LDFLAGS
9447 save_libdir=$libdir
9448 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9449 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9450 if test x$gcc_no_link = xyes; then
9451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9453 { (exit 1); exit 1; }; }
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9463 main ()
9467 return 0;
9469 _ACEOF
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest$ac_exeext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9493 shlibpath_overrides_runpath=yes
9496 else
9497 echo "$as_me: failed program was:" >&5
9498 sed 's/^/| /' conftest.$ac_ext >&5
9501 rm -f conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LDFLAGS=$save_LDFLAGS
9504 libdir=$save_libdir
9506 # This implies no fast_install, which is unacceptable.
9507 # Some rework will be needed to allow for fast_install
9508 # before this can be enabled.
9509 hardcode_into_libs=yes
9511 # Append ld.so.conf contents to the search path
9512 if test -f /etc/ld.so.conf; then
9513 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' ' '`
9514 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9517 # We used to test for /lib/ld.so.1 and disable shared libraries on
9518 # powerpc, because MkLinux only supported shared libraries with the
9519 # GNU dynamic linker. Since this was broken with cross compilers,
9520 # most powerpc-linux boxes support dynamic linking these days and
9521 # people can always --disable-shared, the test was removed, and we
9522 # assume the GNU/Linux dynamic linker is in use.
9523 dynamic_linker='GNU/Linux ld.so'
9526 netbsd*)
9527 version_type=sunos
9528 need_lib_prefix=no
9529 need_version=no
9530 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9533 dynamic_linker='NetBSD (a.out) ld.so'
9534 else
9535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9536 soname_spec='${libname}${release}${shared_ext}$major'
9537 dynamic_linker='NetBSD ld.elf_so'
9539 shlibpath_var=LD_LIBRARY_PATH
9540 shlibpath_overrides_runpath=yes
9541 hardcode_into_libs=yes
9544 newsos6)
9545 version_type=linux
9546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9547 shlibpath_var=LD_LIBRARY_PATH
9548 shlibpath_overrides_runpath=yes
9551 *nto* | *qnx*)
9552 version_type=qnx
9553 need_lib_prefix=no
9554 need_version=no
9555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9556 soname_spec='${libname}${release}${shared_ext}$major'
9557 shlibpath_var=LD_LIBRARY_PATH
9558 shlibpath_overrides_runpath=no
9559 hardcode_into_libs=yes
9560 dynamic_linker='ldqnx.so'
9563 openbsd*)
9564 version_type=sunos
9565 sys_lib_dlsearch_path_spec="/usr/lib"
9566 need_lib_prefix=no
9567 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9568 case $host_os in
9569 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9570 *) need_version=no ;;
9571 esac
9572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9573 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9574 shlibpath_var=LD_LIBRARY_PATH
9575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9576 case $host_os in
9577 openbsd2.[89] | openbsd2.[89].*)
9578 shlibpath_overrides_runpath=no
9581 shlibpath_overrides_runpath=yes
9583 esac
9584 else
9585 shlibpath_overrides_runpath=yes
9589 os2*)
9590 libname_spec='$name'
9591 shrext_cmds=".dll"
9592 need_lib_prefix=no
9593 library_names_spec='$libname${shared_ext} $libname.a'
9594 dynamic_linker='OS/2 ld.exe'
9595 shlibpath_var=LIBPATH
9598 osf3* | osf4* | osf5*)
9599 version_type=osf
9600 need_lib_prefix=no
9601 need_version=no
9602 soname_spec='${libname}${release}${shared_ext}$major'
9603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9604 shlibpath_var=LD_LIBRARY_PATH
9605 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9606 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9609 rdos*)
9610 dynamic_linker=no
9613 solaris*)
9614 version_type=linux
9615 need_lib_prefix=no
9616 need_version=no
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 soname_spec='${libname}${release}${shared_ext}$major'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 shlibpath_overrides_runpath=yes
9621 hardcode_into_libs=yes
9622 # ldd complains unless libraries are executable
9623 postinstall_cmds='chmod +x $lib'
9626 sunos4*)
9627 version_type=sunos
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9629 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9630 shlibpath_var=LD_LIBRARY_PATH
9631 shlibpath_overrides_runpath=yes
9632 if test "$with_gnu_ld" = yes; then
9633 need_lib_prefix=no
9635 need_version=yes
9638 sysv4 | sysv4.3*)
9639 version_type=linux
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 soname_spec='${libname}${release}${shared_ext}$major'
9642 shlibpath_var=LD_LIBRARY_PATH
9643 case $host_vendor in
9644 sni)
9645 shlibpath_overrides_runpath=no
9646 need_lib_prefix=no
9647 runpath_var=LD_RUN_PATH
9649 siemens)
9650 need_lib_prefix=no
9652 motorola)
9653 need_lib_prefix=no
9654 need_version=no
9655 shlibpath_overrides_runpath=no
9656 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9658 esac
9661 sysv4*MP*)
9662 if test -d /usr/nec ;then
9663 version_type=linux
9664 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9665 soname_spec='$libname${shared_ext}.$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9671 version_type=freebsd-elf
9672 need_lib_prefix=no
9673 need_version=no
9674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9675 soname_spec='${libname}${release}${shared_ext}$major'
9676 shlibpath_var=LD_LIBRARY_PATH
9677 shlibpath_overrides_runpath=yes
9678 hardcode_into_libs=yes
9679 if test "$with_gnu_ld" = yes; then
9680 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9681 else
9682 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9683 case $host_os in
9684 sco3.2v5*)
9685 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9687 esac
9689 sys_lib_dlsearch_path_spec='/usr/lib'
9692 tpf*)
9693 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9694 version_type=linux
9695 need_lib_prefix=no
9696 need_version=no
9697 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var=LD_LIBRARY_PATH
9699 shlibpath_overrides_runpath=no
9700 hardcode_into_libs=yes
9703 uts4*)
9704 version_type=linux
9705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9706 soname_spec='${libname}${release}${shared_ext}$major'
9707 shlibpath_var=LD_LIBRARY_PATH
9711 dynamic_linker=no
9713 esac
9714 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9715 echo "${ECHO_T}$dynamic_linker" >&6
9716 test "$dynamic_linker" = no && can_build_shared=no
9718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9719 if test "$GCC" = yes; then
9720 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9809 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9810 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9811 hardcode_action=
9812 if test -n "$hardcode_libdir_flag_spec" ||
9813 test -n "$runpath_var" ||
9814 test "X$hardcode_automatic" = "Xyes" ; then
9816 # We can hardcode non-existent directories.
9817 if test "$hardcode_direct" != no &&
9818 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9819 # have to relink, otherwise we might link with an installed library
9820 # when we should be linking with a yet-to-be-installed one
9821 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9822 test "$hardcode_minus_L" != no; then
9823 # Linking always hardcodes the temporary library directory.
9824 hardcode_action=relink
9825 else
9826 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9827 hardcode_action=immediate
9829 else
9830 # We cannot hardcode anything, or else we can only hardcode existing
9831 # directories.
9832 hardcode_action=unsupported
9834 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9835 echo "${ECHO_T}$hardcode_action" >&6
9837 if test "$hardcode_action" = relink ||
9838 test "$inherit_rpath" = yes; then
9839 # Fast installation is not supported
9840 enable_fast_install=no
9841 elif test "$shlibpath_overrides_runpath" = yes ||
9842 test "$enable_shared" = no; then
9843 # Fast installation is not necessary
9844 enable_fast_install=needless
9852 if test "x$enable_dlopen" != xyes; then
9853 enable_dlopen=unknown
9854 enable_dlopen_self=unknown
9855 enable_dlopen_self_static=unknown
9856 else
9857 lt_cv_dlopen=no
9858 lt_cv_dlopen_libs=
9860 case $host_os in
9861 beos*)
9862 lt_cv_dlopen="load_add_on"
9863 lt_cv_dlopen_libs=
9864 lt_cv_dlopen_self=yes
9867 mingw* | pw32*)
9868 lt_cv_dlopen="LoadLibrary"
9869 lt_cv_dlopen_libs=
9872 cygwin*)
9873 lt_cv_dlopen="dlopen"
9874 lt_cv_dlopen_libs=
9877 darwin*)
9878 # if libdl is installed we need to link against it
9879 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9880 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9881 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9882 echo $ECHO_N "(cached) $ECHO_C" >&6
9883 else
9884 ac_check_lib_save_LIBS=$LIBS
9885 LIBS="-ldl $LIBS"
9886 if test x$gcc_no_link = xyes; then
9887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9889 { (exit 1); exit 1; }; }
9891 cat >conftest.$ac_ext <<_ACEOF
9892 /* confdefs.h. */
9893 _ACEOF
9894 cat confdefs.h >>conftest.$ac_ext
9895 cat >>conftest.$ac_ext <<_ACEOF
9896 /* end confdefs.h. */
9898 /* Override any gcc2 internal prototype to avoid an error. */
9899 #ifdef __cplusplus
9900 extern "C"
9901 #endif
9902 /* We use char because int might match the return type of a gcc2
9903 builtin and then its argument prototype would still apply. */
9904 char dlopen ();
9906 main ()
9908 dlopen ();
9910 return 0;
9912 _ACEOF
9913 rm -f conftest.$ac_objext conftest$ac_exeext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9915 (eval $ac_link) 2>conftest.er1
9916 ac_status=$?
9917 grep -v '^ *+' conftest.er1 >conftest.err
9918 rm -f conftest.er1
9919 cat conftest.err >&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 (eval $ac_try) 2>&5
9926 ac_status=$?
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try='test -s conftest$ac_exeext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 (eval $ac_try) 2>&5
9932 ac_status=$?
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_lib_dl_dlopen=yes
9936 else
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.$ac_ext >&5
9940 ac_cv_lib_dl_dlopen=no
9942 rm -f conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LIBS=$ac_check_lib_save_LIBS
9946 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9948 if test $ac_cv_lib_dl_dlopen = yes; then
9949 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9950 else
9952 lt_cv_dlopen="dyld"
9953 lt_cv_dlopen_libs=
9954 lt_cv_dlopen_self=yes
9961 echo "$as_me:$LINENO: checking for shl_load" >&5
9962 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9963 if test "${ac_cv_func_shl_load+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966 if test x$gcc_no_link = xyes; then
9967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9969 { (exit 1); exit 1; }; }
9971 cat >conftest.$ac_ext <<_ACEOF
9972 /* confdefs.h. */
9973 _ACEOF
9974 cat confdefs.h >>conftest.$ac_ext
9975 cat >>conftest.$ac_ext <<_ACEOF
9976 /* end confdefs.h. */
9977 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9979 #define shl_load innocuous_shl_load
9981 /* System header to define __stub macros and hopefully few prototypes,
9982 which can conflict with char shl_load (); below.
9983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9984 <limits.h> exists even on freestanding compilers. */
9986 #ifdef __STDC__
9987 # include <limits.h>
9988 #else
9989 # include <assert.h>
9990 #endif
9992 #undef shl_load
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 #ifdef __cplusplus
9996 extern "C"
9998 #endif
9999 /* We use char because int might match the return type of a gcc2
10000 builtin and then its argument prototype would still apply. */
10001 char shl_load ();
10002 /* The GNU C library defines this for functions which it implements
10003 to always fail with ENOSYS. Some functions are actually named
10004 something starting with __ and the normal name is an alias. */
10005 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10006 choke me
10007 #else
10008 char (*f) () = shl_load;
10009 #endif
10010 #ifdef __cplusplus
10012 #endif
10015 main ()
10017 return f != shl_load;
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext conftest$ac_exeext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10024 (eval $ac_link) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_c_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest$ac_exeext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 ac_cv_func_shl_load=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 ac_cv_func_shl_load=no
10051 rm -f conftest.err conftest.$ac_objext \
10052 conftest$ac_exeext conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10055 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10056 if test $ac_cv_func_shl_load = yes; then
10057 lt_cv_dlopen="shl_load"
10058 else
10059 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10060 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 ac_check_lib_save_LIBS=$LIBS
10065 LIBS="-ldld $LIBS"
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10078 /* Override any gcc2 internal prototype to avoid an error. */
10079 #ifdef __cplusplus
10080 extern "C"
10081 #endif
10082 /* We use char because int might match the return type of a gcc2
10083 builtin and then its argument prototype would still apply. */
10084 char shl_load ();
10086 main ()
10088 shl_load ();
10090 return 0;
10092 _ACEOF
10093 rm -f conftest.$ac_objext conftest$ac_exeext
10094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10095 (eval $ac_link) 2>conftest.er1
10096 ac_status=$?
10097 grep -v '^ *+' conftest.er1 >conftest.err
10098 rm -f conftest.er1
10099 cat conftest.err >&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); } &&
10102 { ac_try='test -z "$ac_c_werror_flag"
10103 || test ! -s conftest.err'
10104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105 (eval $ac_try) 2>&5
10106 ac_status=$?
10107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108 (exit $ac_status); }; } &&
10109 { ac_try='test -s conftest$ac_exeext'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; }; then
10115 ac_cv_lib_dld_shl_load=yes
10116 else
10117 echo "$as_me: failed program was:" >&5
10118 sed 's/^/| /' conftest.$ac_ext >&5
10120 ac_cv_lib_dld_shl_load=no
10122 rm -f conftest.err conftest.$ac_objext \
10123 conftest$ac_exeext conftest.$ac_ext
10124 LIBS=$ac_check_lib_save_LIBS
10126 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10127 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10128 if test $ac_cv_lib_dld_shl_load = yes; then
10129 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10130 else
10131 echo "$as_me:$LINENO: checking for dlopen" >&5
10132 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10133 if test "${ac_cv_func_dlopen+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 else
10136 if test x$gcc_no_link = xyes; then
10137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10139 { (exit 1); exit 1; }; }
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10149 #define dlopen innocuous_dlopen
10151 /* System header to define __stub macros and hopefully few prototypes,
10152 which can conflict with char dlopen (); below.
10153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10154 <limits.h> exists even on freestanding compilers. */
10156 #ifdef __STDC__
10157 # include <limits.h>
10158 #else
10159 # include <assert.h>
10160 #endif
10162 #undef dlopen
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 #ifdef __cplusplus
10166 extern "C"
10168 #endif
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char dlopen ();
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10176 choke me
10177 #else
10178 char (*f) () = dlopen;
10179 #endif
10180 #ifdef __cplusplus
10182 #endif
10185 main ()
10187 return f != dlopen;
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10194 (eval $ac_link) 2>conftest.er1
10195 ac_status=$?
10196 grep -v '^ *+' conftest.er1 >conftest.err
10197 rm -f conftest.er1
10198 cat conftest.err >&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10205 ac_status=$?
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try='test -s conftest$ac_exeext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10211 ac_status=$?
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_func_dlopen=yes
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10219 ac_cv_func_dlopen=no
10221 rm -f conftest.err conftest.$ac_objext \
10222 conftest$ac_exeext conftest.$ac_ext
10224 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10225 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10226 if test $ac_cv_func_dlopen = yes; then
10227 lt_cv_dlopen="dlopen"
10228 else
10229 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10230 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10231 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_lib_save_LIBS=$LIBS
10235 LIBS="-ldl $LIBS"
10236 if test x$gcc_no_link = xyes; then
10237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10239 { (exit 1); exit 1; }; }
10241 cat >conftest.$ac_ext <<_ACEOF
10242 /* confdefs.h. */
10243 _ACEOF
10244 cat confdefs.h >>conftest.$ac_ext
10245 cat >>conftest.$ac_ext <<_ACEOF
10246 /* end confdefs.h. */
10248 /* Override any gcc2 internal prototype to avoid an error. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10254 char dlopen ();
10256 main ()
10258 dlopen ();
10260 return 0;
10262 _ACEOF
10263 rm -f conftest.$ac_objext conftest$ac_exeext
10264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10265 (eval $ac_link) 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } &&
10272 { ac_try='test -z "$ac_c_werror_flag"
10273 || test ! -s conftest.err'
10274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10275 (eval $ac_try) 2>&5
10276 ac_status=$?
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); }; } &&
10279 { ac_try='test -s conftest$ac_exeext'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 ac_cv_lib_dl_dlopen=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_dl_dlopen=no
10292 rm -f conftest.err conftest.$ac_objext \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10297 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10298 if test $ac_cv_lib_dl_dlopen = yes; then
10299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10300 else
10301 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10302 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10303 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10305 else
10306 ac_check_lib_save_LIBS=$LIBS
10307 LIBS="-lsvld $LIBS"
10308 if test x$gcc_no_link = xyes; then
10309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10311 { (exit 1); exit 1; }; }
10313 cat >conftest.$ac_ext <<_ACEOF
10314 /* confdefs.h. */
10315 _ACEOF
10316 cat confdefs.h >>conftest.$ac_ext
10317 cat >>conftest.$ac_ext <<_ACEOF
10318 /* end confdefs.h. */
10320 /* Override any gcc2 internal prototype to avoid an error. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 /* We use char because int might match the return type of a gcc2
10325 builtin and then its argument prototype would still apply. */
10326 char dlopen ();
10328 main ()
10330 dlopen ();
10332 return 0;
10334 _ACEOF
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10337 (eval $ac_link) 2>conftest.er1
10338 ac_status=$?
10339 grep -v '^ *+' conftest.er1 >conftest.err
10340 rm -f conftest.er1
10341 cat conftest.err >&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -z "$ac_c_werror_flag"
10345 || test ! -s conftest.err'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10348 ac_status=$?
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; } &&
10351 { ac_try='test -s conftest$ac_exeext'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10354 ac_status=$?
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; }; then
10357 ac_cv_lib_svld_dlopen=yes
10358 else
10359 echo "$as_me: failed program was:" >&5
10360 sed 's/^/| /' conftest.$ac_ext >&5
10362 ac_cv_lib_svld_dlopen=no
10364 rm -f conftest.err conftest.$ac_objext \
10365 conftest$ac_exeext conftest.$ac_ext
10366 LIBS=$ac_check_lib_save_LIBS
10368 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10369 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10370 if test $ac_cv_lib_svld_dlopen = yes; then
10371 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10372 else
10373 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10374 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10375 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377 else
10378 ac_check_lib_save_LIBS=$LIBS
10379 LIBS="-ldld $LIBS"
10380 if test x$gcc_no_link = xyes; then
10381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10383 { (exit 1); exit 1; }; }
10385 cat >conftest.$ac_ext <<_ACEOF
10386 /* confdefs.h. */
10387 _ACEOF
10388 cat confdefs.h >>conftest.$ac_ext
10389 cat >>conftest.$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10392 /* Override any gcc2 internal prototype to avoid an error. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 /* We use char because int might match the return type of a gcc2
10397 builtin and then its argument prototype would still apply. */
10398 char dld_link ();
10400 main ()
10402 dld_link ();
10404 return 0;
10406 _ACEOF
10407 rm -f conftest.$ac_objext conftest$ac_exeext
10408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10409 (eval $ac_link) 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } &&
10416 { ac_try='test -z "$ac_c_werror_flag"
10417 || test ! -s conftest.err'
10418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10419 (eval $ac_try) 2>&5
10420 ac_status=$?
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; } &&
10423 { ac_try='test -s conftest$ac_exeext'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; }; then
10429 ac_cv_lib_dld_dld_link=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_cv_lib_dld_dld_link=no
10436 rm -f conftest.err conftest.$ac_objext \
10437 conftest$ac_exeext conftest.$ac_ext
10438 LIBS=$ac_check_lib_save_LIBS
10440 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10441 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10442 if test $ac_cv_lib_dld_dld_link = yes; then
10443 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10462 esac
10464 if test "x$lt_cv_dlopen" != xno; then
10465 enable_dlopen=yes
10466 else
10467 enable_dlopen=no
10470 case $lt_cv_dlopen in
10471 dlopen)
10472 save_CPPFLAGS="$CPPFLAGS"
10473 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10475 save_LDFLAGS="$LDFLAGS"
10476 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10478 save_LIBS="$LIBS"
10479 LIBS="$lt_cv_dlopen_libs $LIBS"
10481 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10482 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10483 if test "${lt_cv_dlopen_self+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test "$cross_compiling" = yes; then :
10487 lt_cv_dlopen_self=cross
10488 else
10489 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10490 lt_status=$lt_dlunknown
10491 cat > conftest.$ac_ext <<_LT_EOF
10492 #line 10492 "configure"
10493 #include "confdefs.h"
10495 #if HAVE_DLFCN_H
10496 #include <dlfcn.h>
10497 #endif
10499 #include <stdio.h>
10501 #ifdef RTLD_GLOBAL
10502 # define LT_DLGLOBAL RTLD_GLOBAL
10503 #else
10504 # ifdef DL_GLOBAL
10505 # define LT_DLGLOBAL DL_GLOBAL
10506 # else
10507 # define LT_DLGLOBAL 0
10508 # endif
10509 #endif
10511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10512 find out it does not work in some platform. */
10513 #ifndef LT_DLLAZY_OR_NOW
10514 # ifdef RTLD_LAZY
10515 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10516 # else
10517 # ifdef DL_LAZY
10518 # define LT_DLLAZY_OR_NOW DL_LAZY
10519 # else
10520 # ifdef RTLD_NOW
10521 # define LT_DLLAZY_OR_NOW RTLD_NOW
10522 # else
10523 # ifdef DL_NOW
10524 # define LT_DLLAZY_OR_NOW DL_NOW
10525 # else
10526 # define LT_DLLAZY_OR_NOW 0
10527 # endif
10528 # endif
10529 # endif
10530 # endif
10531 #endif
10533 #ifdef __cplusplus
10534 extern "C" void exit (int);
10535 #endif
10537 void fnord() { int i=42;}
10538 int main ()
10540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10541 int status = $lt_dlunknown;
10543 if (self)
10545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10546 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10547 /* dlclose (self); */
10549 else
10550 puts (dlerror ());
10552 exit (status);
10554 _LT_EOF
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>&5
10557 ac_status=$?
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10560 (./conftest; exit; ) >&5 2>/dev/null
10561 lt_status=$?
10562 case x$lt_status in
10563 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10564 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10565 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10566 esac
10567 else :
10568 # compilation failed
10569 lt_cv_dlopen_self=no
10572 rm -fr conftest*
10576 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10577 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10579 if test "x$lt_cv_dlopen_self" = xyes; then
10580 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10581 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10582 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10583 if test "${lt_cv_dlopen_self_static+set}" = set; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10585 else
10586 if test "$cross_compiling" = yes; then :
10587 lt_cv_dlopen_self_static=cross
10588 else
10589 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10590 lt_status=$lt_dlunknown
10591 cat > conftest.$ac_ext <<_LT_EOF
10592 #line 10592 "configure"
10593 #include "confdefs.h"
10595 #if HAVE_DLFCN_H
10596 #include <dlfcn.h>
10597 #endif
10599 #include <stdio.h>
10601 #ifdef RTLD_GLOBAL
10602 # define LT_DLGLOBAL RTLD_GLOBAL
10603 #else
10604 # ifdef DL_GLOBAL
10605 # define LT_DLGLOBAL DL_GLOBAL
10606 # else
10607 # define LT_DLGLOBAL 0
10608 # endif
10609 #endif
10611 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10612 find out it does not work in some platform. */
10613 #ifndef LT_DLLAZY_OR_NOW
10614 # ifdef RTLD_LAZY
10615 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10616 # else
10617 # ifdef DL_LAZY
10618 # define LT_DLLAZY_OR_NOW DL_LAZY
10619 # else
10620 # ifdef RTLD_NOW
10621 # define LT_DLLAZY_OR_NOW RTLD_NOW
10622 # else
10623 # ifdef DL_NOW
10624 # define LT_DLLAZY_OR_NOW DL_NOW
10625 # else
10626 # define LT_DLLAZY_OR_NOW 0
10627 # endif
10628 # endif
10629 # endif
10630 # endif
10631 #endif
10633 #ifdef __cplusplus
10634 extern "C" void exit (int);
10635 #endif
10637 void fnord() { int i=42;}
10638 int main ()
10640 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10641 int status = $lt_dlunknown;
10643 if (self)
10645 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10646 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10647 /* dlclose (self); */
10649 else
10650 puts (dlerror ());
10652 exit (status);
10654 _LT_EOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10656 (eval $ac_link) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10660 (./conftest; exit; ) >&5 2>/dev/null
10661 lt_status=$?
10662 case x$lt_status in
10663 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10664 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10665 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10666 esac
10667 else :
10668 # compilation failed
10669 lt_cv_dlopen_self_static=no
10672 rm -fr conftest*
10676 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10677 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10680 CPPFLAGS="$save_CPPFLAGS"
10681 LDFLAGS="$save_LDFLAGS"
10682 LIBS="$save_LIBS"
10684 esac
10686 case $lt_cv_dlopen_self in
10687 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10688 *) enable_dlopen_self=unknown ;;
10689 esac
10691 case $lt_cv_dlopen_self_static in
10692 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10693 *) enable_dlopen_self_static=unknown ;;
10694 esac
10713 striplib=
10714 old_striplib=
10715 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10716 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10717 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10718 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10719 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 # FIXME - insert some real tests, host_os isn't really good enough
10724 case $host_os in
10725 darwin*)
10726 if test -n "$STRIP" ; then
10727 striplib="$STRIP -x"
10728 old_striplib="$STRIP -S"
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10740 esac
10754 # Report which library types will actually be built
10755 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10756 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10757 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10758 echo "${ECHO_T}$can_build_shared" >&6
10760 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10761 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10762 test "$can_build_shared" = "no" && enable_shared=no
10764 # On AIX, shared libraries and static libraries use the same namespace, and
10765 # are all built from PIC.
10766 case $host_os in
10767 aix3*)
10768 test "$enable_shared" = yes && enable_static=no
10769 if test -n "$RANLIB"; then
10770 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10771 postinstall_cmds='$RANLIB $lib'
10775 aix4* | aix5*)
10776 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10777 test "$enable_shared" = yes && enable_static=no
10780 esac
10781 echo "$as_me:$LINENO: result: $enable_shared" >&5
10782 echo "${ECHO_T}$enable_shared" >&6
10784 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10785 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10786 # Make sure either enable_shared or enable_static is yes.
10787 test "$enable_shared" = yes || enable_static=yes
10788 echo "$as_me:$LINENO: result: $enable_static" >&5
10789 echo "${ECHO_T}$enable_static" >&6
10795 ac_ext=c
10796 ac_cpp='$CPP $CPPFLAGS'
10797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10801 CC="$lt_save_CC"
10804 ac_ext=cc
10805 ac_cpp='$CXXCPP $CPPFLAGS'
10806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10810 archive_cmds_need_lc_CXX=no
10811 allow_undefined_flag_CXX=
10812 always_export_symbols_CXX=no
10813 archive_expsym_cmds_CXX=
10814 compiler_needs_object_CXX=no
10815 export_dynamic_flag_spec_CXX=
10816 hardcode_direct_CXX=no
10817 hardcode_direct_absolute_CXX=no
10818 hardcode_libdir_flag_spec_CXX=
10819 hardcode_libdir_flag_spec_ld_CXX=
10820 hardcode_libdir_separator_CXX=
10821 hardcode_minus_L_CXX=no
10822 hardcode_shlibpath_var_CXX=unsupported
10823 hardcode_automatic_CXX=no
10824 inherit_rpath_CXX=no
10825 module_cmds_CXX=
10826 module_expsym_cmds_CXX=
10827 link_all_deplibs_CXX=unknown
10828 old_archive_cmds_CXX=$old_archive_cmds
10829 no_undefined_flag_CXX=
10830 whole_archive_flag_spec_CXX=
10831 enable_shared_with_static_runtimes_CXX=no
10833 # Source file extension for C++ test sources.
10834 ac_ext=cpp
10836 # Object file extension for compiled C++ test sources.
10837 objext=o
10838 objext_CXX=$objext
10840 # No sense in running all these tests if we already determined that
10841 # the CXX compiler isn't working. Some variables (like enable_shared)
10842 # are currently assumed to apply to all compilers on this platform,
10843 # and will be corrupted by setting them based on a non-working compiler.
10844 if test "$_lt_caught_CXX_error" != yes; then
10845 # Code to be used in simple compile tests
10846 lt_simple_compile_test_code="int some_variable = 0;"
10848 # Code to be used in simple link tests
10849 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10851 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10858 # If no C compiler was specified, use CC.
10859 LTCC=${LTCC-"$CC"}
10861 # If no C compiler flags were specified, use CFLAGS.
10862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10864 # Allow CC to be a program name with arguments.
10865 compiler=$CC
10868 # save warnings/boilerplate of simple test code
10869 ac_outfile=conftest.$ac_objext
10870 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10871 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10872 _lt_compiler_boilerplate=`cat conftest.err`
10873 $RM conftest*
10875 ac_outfile=conftest.$ac_objext
10876 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10877 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10878 _lt_linker_boilerplate=`cat conftest.err`
10879 $RM conftest*
10882 # Allow CC to be a program name with arguments.
10883 lt_save_CC=$CC
10884 lt_save_LD=$LD
10885 lt_save_GCC=$GCC
10886 GCC=$GXX
10887 lt_save_with_gnu_ld=$with_gnu_ld
10888 lt_save_path_LD=$lt_cv_path_LD
10889 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10890 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10891 else
10892 $as_unset lt_cv_prog_gnu_ld
10894 if test -n "${lt_cv_path_LDCXX+set}"; then
10895 lt_cv_path_LD=$lt_cv_path_LDCXX
10896 else
10897 $as_unset lt_cv_path_LD
10899 test -z "${LDCXX+set}" || LD=$LDCXX
10900 CC=${CXX-"c++"}
10901 compiler=$CC
10902 compiler_CXX=$CC
10903 for cc_temp in $compiler""; do
10904 case $cc_temp in
10905 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10906 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10907 \-*) ;;
10908 *) break;;
10909 esac
10910 done
10911 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10914 if test -n "$compiler"; then
10915 # We don't want -fno-exception when compiling C++ code, so set the
10916 # no_builtin_flag separately
10917 if test "$GXX" = yes; then
10918 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10919 else
10920 lt_prog_compiler_no_builtin_flag_CXX=
10923 if test "$GXX" = yes; then
10924 # Set up default GNU C++ configuration
10928 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10929 if test "${with_gnu_ld+set}" = set; then
10930 withval="$with_gnu_ld"
10931 test "$withval" = no || with_gnu_ld=yes
10932 else
10933 with_gnu_ld=no
10935 ac_prog=ld
10936 if test "$GCC" = yes; then
10937 # Check if gcc -print-prog-name=ld gives a path.
10938 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10939 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10940 case $host in
10941 *-*-mingw*)
10942 # gcc leaves a trailing carriage return which upsets mingw
10943 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10946 esac
10947 case $ac_prog in
10948 # Accept absolute paths.
10949 [\\/]* | ?:[\\/]*)
10950 re_direlt='/[^/][^/]*/\.\./'
10951 # Canonicalize the pathname of ld
10952 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10953 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10954 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10955 done
10956 test -z "$LD" && LD="$ac_prog"
10959 # If it fails, then pretend we aren't using GCC.
10960 ac_prog=ld
10963 # If it is relative, then search for the first ld in PATH.
10964 with_gnu_ld=unknown
10966 esac
10967 elif test "$with_gnu_ld" = yes; then
10968 echo "$as_me:$LINENO: checking for GNU ld" >&5
10969 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10970 else
10971 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10972 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10974 if test "${lt_cv_path_LD+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 if test -z "$LD"; then
10978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10979 for ac_dir in $PATH; do
10980 IFS="$lt_save_ifs"
10981 test -z "$ac_dir" && ac_dir=.
10982 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10983 lt_cv_path_LD="$ac_dir/$ac_prog"
10984 # Check to see if the program is GNU ld. I'd rather use --version,
10985 # but apparently some variants of GNU ld only accept -v.
10986 # Break only if it was the GNU/non-GNU ld that we prefer.
10987 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10988 *GNU* | *'with BFD'*)
10989 test "$with_gnu_ld" != no && break
10992 test "$with_gnu_ld" != yes && break
10994 esac
10996 done
10997 IFS="$lt_save_ifs"
10998 else
10999 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11003 LD="$lt_cv_path_LD"
11004 if test -n "$LD"; then
11005 echo "$as_me:$LINENO: result: $LD" >&5
11006 echo "${ECHO_T}$LD" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11011 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11012 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11013 { (exit 1); exit 1; }; }
11014 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11015 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11016 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11018 else
11019 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11020 case `$LD -v 2>&1 </dev/null` in
11021 *GNU* | *'with BFD'*)
11022 lt_cv_prog_gnu_ld=yes
11025 lt_cv_prog_gnu_ld=no
11027 esac
11029 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11030 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11031 with_gnu_ld=$lt_cv_prog_gnu_ld
11039 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11040 # archiving commands below assume that GNU ld is being used.
11041 if test "$with_gnu_ld" = yes; then
11042 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11043 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'
11045 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11046 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11048 # If archive_cmds runs LD, not CC, wlarc should be empty
11049 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11050 # investigate it a little bit more. (MM)
11051 wlarc='${wl}'
11053 # ancient GNU ld didn't support --whole-archive et. al.
11054 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11055 $GREP 'no-whole-archive' > /dev/null; then
11056 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11057 else
11058 whole_archive_flag_spec_CXX=
11060 else
11061 with_gnu_ld=no
11062 wlarc=
11064 # A generic and very simple default shared library creation
11065 # command for GNU C++ for the case where it uses the native
11066 # linker, instead of GNU ld. If possible, this setting should
11067 # overridden to take advantage of the native linker features on
11068 # the platform it is being used on.
11069 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11072 # Commands to make compiler produce verbose output that lists
11073 # what "hidden" libraries, object files and flags are used when
11074 # linking a shared library.
11075 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11077 else
11078 GXX=no
11079 with_gnu_ld=no
11080 wlarc=
11083 # PORTME: fill in a description of your system's C++ link characteristics
11084 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11085 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11086 ld_shlibs_CXX=yes
11087 case $host_os in
11088 aix3*)
11089 # FIXME: insert proper C++ library support
11090 ld_shlibs_CXX=no
11092 aix4* | aix5*)
11093 if test "$host_cpu" = ia64; then
11094 # On IA64, the linker does run time linking by default, so we don't
11095 # have to do anything special.
11096 aix_use_runtimelinking=no
11097 exp_sym_flag='-Bexport'
11098 no_entry_flag=""
11099 else
11100 aix_use_runtimelinking=no
11102 # Test if we are trying to use run time linking or normal
11103 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11104 # need to do runtime linking.
11105 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11106 for ld_flag in $LDFLAGS; do
11107 case $ld_flag in
11108 *-brtl*)
11109 aix_use_runtimelinking=yes
11110 break
11112 esac
11113 done
11115 esac
11117 exp_sym_flag='-bexport'
11118 no_entry_flag='-bnoentry'
11121 # When large executables or shared objects are built, AIX ld can
11122 # have problems creating the table of contents. If linking a library
11123 # or program results in "error TOC overflow" add -mminimal-toc to
11124 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11125 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11127 archive_cmds_CXX=''
11128 hardcode_direct_CXX=yes
11129 hardcode_direct_absolute_CXX=yes
11130 hardcode_libdir_separator_CXX=':'
11131 link_all_deplibs_CXX=yes
11132 file_list_spec_CXX='${wl}-f,'
11134 if test "$GXX" = yes; then
11135 case $host_os in aix4.[012]|aix4.[012].*)
11136 # We only want to do this on AIX 4.2 and lower, the check
11137 # below for broken collect2 doesn't work under 4.3+
11138 collect2name=`${CC} -print-prog-name=collect2`
11139 if test -f "$collect2name" &&
11140 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11141 then
11142 # We have reworked collect2
11144 else
11145 # We have old collect2
11146 hardcode_direct_CXX=unsupported
11147 # It fails to find uninstalled libraries when the uninstalled
11148 # path is not listed in the libpath. Setting hardcode_minus_L
11149 # to unsupported forces relinking
11150 hardcode_minus_L_CXX=yes
11151 hardcode_libdir_flag_spec_CXX='-L$libdir'
11152 hardcode_libdir_separator_CXX=
11154 esac
11155 shared_flag='-shared'
11156 if test "$aix_use_runtimelinking" = yes; then
11157 shared_flag="$shared_flag "'${wl}-G'
11159 else
11160 # not using gcc
11161 if test "$host_cpu" = ia64; then
11162 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11163 # chokes on -Wl,-G. The following line is correct:
11164 shared_flag='-G'
11165 else
11166 if test "$aix_use_runtimelinking" = yes; then
11167 shared_flag='${wl}-G'
11168 else
11169 shared_flag='${wl}-bM:SRE'
11174 # It seems that -bexpall does not export symbols beginning with
11175 # underscore (_), so it is better to generate a list of symbols to
11176 # export.
11177 always_export_symbols_CXX=yes
11178 if test "$aix_use_runtimelinking" = yes; then
11179 # Warning - without using the other runtime loading flags (-brtl),
11180 # -berok will link without error, but may produce a broken library.
11181 allow_undefined_flag_CXX='-berok'
11182 # Determine the default libpath from the value encoded in an empty
11183 # executable.
11184 if test x$gcc_no_link = xyes; then
11185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11187 { (exit 1); exit 1; }; }
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11197 main ()
11201 return 0;
11203 _ACEOF
11204 rm -f conftest.$ac_objext conftest$ac_exeext
11205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11206 (eval $ac_link) 2>conftest.er1
11207 ac_status=$?
11208 grep -v '^ *+' conftest.er1 >conftest.err
11209 rm -f conftest.er1
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } &&
11213 { ac_try='test -z "$ac_cxx_werror_flag"
11214 || test ! -s conftest.err'
11215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11216 (eval $ac_try) 2>&5
11217 ac_status=$?
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); }; } &&
11220 { ac_try='test -s conftest$ac_exeext'
11221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222 (eval $ac_try) 2>&5
11223 ac_status=$?
11224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); }; }; then
11227 lt_aix_libpath_sed='
11228 /Import File Strings/,/^$/ {
11229 /^0/ {
11230 s/^0 *\(.*\)$/\1/
11234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11235 # Check for a 64-bit object if we didn't find anything.
11236 if test -z "$aix_libpath"; then
11237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11239 else
11240 echo "$as_me: failed program was:" >&5
11241 sed 's/^/| /' conftest.$ac_ext >&5
11244 rm -f conftest.err conftest.$ac_objext \
11245 conftest$ac_exeext conftest.$ac_ext
11246 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11248 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11250 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"
11251 else
11252 if test "$host_cpu" = ia64; then
11253 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11254 allow_undefined_flag_CXX="-z nodefs"
11255 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"
11256 else
11257 # Determine the default libpath from the value encoded in an
11258 # empty executable.
11259 if test x$gcc_no_link = xyes; then
11260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262 { (exit 1); exit 1; }; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11272 main ()
11276 return 0;
11278 _ACEOF
11279 rm -f conftest.$ac_objext conftest$ac_exeext
11280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11281 (eval $ac_link) 2>conftest.er1
11282 ac_status=$?
11283 grep -v '^ *+' conftest.er1 >conftest.err
11284 rm -f conftest.er1
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } &&
11288 { ac_try='test -z "$ac_cxx_werror_flag"
11289 || test ! -s conftest.err'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; } &&
11295 { ac_try='test -s conftest$ac_exeext'
11296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 (eval $ac_try) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); }; }; then
11302 lt_aix_libpath_sed='
11303 /Import File Strings/,/^$/ {
11304 /^0/ {
11305 s/^0 *\(.*\)$/\1/
11309 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11310 # Check for a 64-bit object if we didn't find anything.
11311 if test -z "$aix_libpath"; then
11312 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11314 else
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.$ac_ext >&5
11319 rm -f conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11323 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11324 # Warning - without using the other run time loading flags,
11325 # -berok will link without error, but may produce a broken library.
11326 no_undefined_flag_CXX=' ${wl}-bernotok'
11327 allow_undefined_flag_CXX=' ${wl}-berok'
11328 # Exported symbols can be pulled into shared objects from archives
11329 whole_archive_flag_spec_CXX='$convenience'
11330 archive_cmds_need_lc_CXX=yes
11331 # This is similar to how AIX traditionally builds its shared
11332 # libraries.
11333 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'
11338 beos*)
11339 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11340 allow_undefined_flag_CXX=unsupported
11341 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11342 # support --undefined. This deserves some investigation. FIXME
11343 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11344 else
11345 ld_shlibs_CXX=no
11349 chorus*)
11350 case $cc_basename in
11352 # FIXME: insert proper C++ library support
11353 ld_shlibs_CXX=no
11355 esac
11358 cygwin* | mingw* | pw32*)
11359 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11360 # as there is no search path for DLLs.
11361 hardcode_libdir_flag_spec_CXX='-L$libdir'
11362 allow_undefined_flag_CXX=unsupported
11363 always_export_symbols_CXX=no
11364 enable_shared_with_static_runtimes_CXX=yes
11366 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11367 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'
11368 # If the export-symbols file already is a .def file (1st line
11369 # is EXPORTS), use it as is; otherwise, prepend...
11370 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11371 cp $export_symbols $output_objdir/$soname.def;
11372 else
11373 echo EXPORTS > $output_objdir/$soname.def;
11374 cat $export_symbols >> $output_objdir/$soname.def;
11376 $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'
11377 else
11378 ld_shlibs_CXX=no
11381 darwin* | rhapsody*)
11382 case $host_os in
11383 rhapsody* | darwin1.[012])
11384 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11386 *) # Darwin 1.3 on
11387 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11388 10.[012])
11389 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11391 10.*)
11392 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11394 esac
11396 esac
11397 archive_cmds_need_lc_CXX=no
11398 hardcode_direct_CXX=no
11399 hardcode_automatic_CXX=yes
11400 hardcode_shlibpath_var_CXX=unsupported
11401 whole_archive_flag_spec_CXX=''
11402 link_all_deplibs_CXX=yes
11404 if test "$GXX" = yes ; then
11405 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11406 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 else
11408 lt_cv_apple_cc_single_mod=no
11409 if test -z "${LT_MULTI_MODULE}"; then
11410 # By default we will add the -single_module flag. You can override
11411 # by either setting the environment variable LT_MULTI_MODULE
11412 # non-empty at configure time, or by adding -multi-module to the
11413 # link flags.
11414 echo "int foo(void){return 1;}" > conftest.c
11415 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11416 -dynamiclib ${wl}-single_module conftest.c
11417 if test -f libconftest.dylib; then
11418 lt_cv_apple_cc_single_mod=yes
11419 rm libconftest.dylib
11421 rm conftest.$ac_ext
11425 output_verbose_link_cmd=echo
11426 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11427 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11428 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}'
11429 else
11430 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'
11431 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}'
11433 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11434 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}'
11435 else
11436 case $cc_basename in
11437 xlc*)
11438 output_verbose_link_cmd=echo
11439 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'
11440 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11441 # Don't fix this by using the ld -exported_symbols_list flag,
11442 # it doesn't exist in older darwin lds
11443 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}'
11444 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}'
11447 ld_shlibs_CXX=no
11449 esac
11453 dgux*)
11454 case $cc_basename in
11455 ec++*)
11456 # FIXME: insert proper C++ library support
11457 ld_shlibs_CXX=no
11459 ghcx*)
11460 # Green Hills C++ Compiler
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11465 # FIXME: insert proper C++ library support
11466 ld_shlibs_CXX=no
11468 esac
11471 freebsd[12]*)
11472 # C++ shared libraries reported to be fairly broken before
11473 # switch to ELF
11474 ld_shlibs_CXX=no
11477 freebsd-elf*)
11478 archive_cmds_need_lc_CXX=no
11481 freebsd* | dragonfly*)
11482 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11483 # conventions
11484 ld_shlibs_CXX=yes
11487 gnu*)
11490 hpux9*)
11491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11492 hardcode_libdir_separator_CXX=:
11493 export_dynamic_flag_spec_CXX='${wl}-E'
11494 hardcode_direct_CXX=yes
11495 hardcode_minus_L_CXX=yes # Not in the search PATH,
11496 # but as the default
11497 # location of the library.
11499 case $cc_basename in
11500 CC*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 aCC*)
11505 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'
11506 # Commands to make compiler produce verbose output that lists
11507 # what "hidden" libraries, object files and flags are used when
11508 # linking a shared library.
11510 # There doesn't appear to be a way to prevent this compiler from
11511 # explicitly linking system object files so we need to strip them
11512 # from the output so that they don't get included in the library
11513 # dependencies.
11514 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'
11517 if test "$GXX" = yes; then
11518 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'
11519 else
11520 # FIXME: insert proper C++ library support
11521 ld_shlibs_CXX=no
11524 esac
11527 hpux10*|hpux11*)
11528 if test $with_gnu_ld = no; then
11529 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11530 hardcode_libdir_separator_CXX=:
11532 case $host_cpu in
11533 hppa*64*|ia64*)
11536 export_dynamic_flag_spec_CXX='${wl}-E'
11538 esac
11540 case $host_cpu in
11541 hppa*64*|ia64*)
11542 hardcode_direct_CXX=no
11543 hardcode_shlibpath_var_CXX=no
11546 hardcode_direct_CXX=yes
11547 hardcode_direct_absolute_CXX=yes
11548 hardcode_minus_L_CXX=yes # Not in the search PATH,
11549 # but as the default
11550 # location of the library.
11552 esac
11554 case $cc_basename in
11555 CC*)
11556 # FIXME: insert proper C++ library support
11557 ld_shlibs_CXX=no
11559 aCC*)
11560 case $host_cpu in
11561 hppa*64*)
11562 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11564 ia64*)
11565 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11568 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570 esac
11571 # Commands to make compiler produce verbose output that lists
11572 # what "hidden" libraries, object files and flags are used when
11573 # linking a shared library.
11575 # There doesn't appear to be a way to prevent this compiler from
11576 # explicitly linking system object files so we need to strip them
11577 # from the output so that they don't get included in the library
11578 # dependencies.
11579 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'
11582 if test "$GXX" = yes; then
11583 if test $with_gnu_ld = no; then
11584 case $host_cpu in
11585 hppa*64*)
11586 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11588 ia64*)
11589 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592 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'
11594 esac
11596 else
11597 # FIXME: insert proper C++ library support
11598 ld_shlibs_CXX=no
11601 esac
11604 interix[3-9]*)
11605 hardcode_direct_CXX=no
11606 hardcode_shlibpath_var_CXX=no
11607 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11608 export_dynamic_flag_spec_CXX='${wl}-E'
11609 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11610 # Instead, shared libraries are loaded at an image base (0x10000000 by
11611 # default) and relocated if they conflict, which is a slow very memory
11612 # consuming and fragmenting process. To avoid this, we pick a random,
11613 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11614 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11615 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'
11616 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'
11618 irix5* | irix6*)
11619 case $cc_basename in
11620 CC*)
11621 # SGI C++
11622 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'
11624 # Archives containing C++ object files must be created using
11625 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11626 # necessary to make sure instantiated templates are included
11627 # in the archive.
11628 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11631 if test "$GXX" = yes; then
11632 if test "$with_gnu_ld" = no; then
11633 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'
11634 else
11635 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'
11638 link_all_deplibs_CXX=yes
11640 esac
11641 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11642 hardcode_libdir_separator_CXX=:
11643 inherit_rpath_CXX=yes
11646 linux* | k*bsd*-gnu)
11647 case $cc_basename in
11648 KCC*)
11649 # Kuck and Associates, Inc. (KAI) C++ Compiler
11651 # KCC will only create a shared library if the output file
11652 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11653 # to its proper name (with version) after linking.
11654 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'
11655 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'
11656 # Commands to make compiler produce verbose output that lists
11657 # what "hidden" libraries, object files and flags are used when
11658 # linking a shared library.
11660 # There doesn't appear to be a way to prevent this compiler from
11661 # explicitly linking system object files so we need to strip them
11662 # from the output so that they don't get included in the library
11663 # dependencies.
11664 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'
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11667 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11669 # Archives containing C++ object files must be created using
11670 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11671 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11673 icpc* | ecpc* )
11674 # Intel C++
11675 with_gnu_ld=yes
11676 # version 8.0 and above of icpc choke on multiply defined symbols
11677 # if we add $predep_objects and $postdep_objects, however 7.1 and
11678 # earlier do not add the objects themselves.
11679 case `$CC -V 2>&1` in
11680 *"Version 7."*)
11681 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11682 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'
11684 *) # Version 8.0 or newer
11685 tmp_idyn=
11686 case $host_cpu in
11687 ia64*) tmp_idyn=' -i_dynamic';;
11688 esac
11689 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11690 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'
11692 esac
11693 archive_cmds_need_lc_CXX=no
11694 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11695 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11696 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11698 pgCC*)
11699 # Portland Group C++ compiler
11700 case `$CC -V` in
11701 *pgCC\ [1-5]*)
11702 prelink_cmds_CXX='tpldir=Template.dir~
11703 rm -rf $tpldir~
11704 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11705 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11706 old_archive_cmds_CXX='tpldir=Template.dir~
11707 rm -rf $tpldir~
11708 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11709 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11710 $RANLIB $oldlib'
11711 archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11714 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11715 archive_expsym_cmds_CXX='tpldir=Template.dir~
11716 rm -rf $tpldir~
11717 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11718 $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'
11720 *) # Version 6 will use weak symbols
11721 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11722 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'
11724 esac
11726 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11728 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'
11730 cxx*)
11731 # Compaq C++
11732 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11733 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'
11735 runpath_var=LD_RUN_PATH
11736 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11737 hardcode_libdir_separator_CXX=:
11739 # Commands to make compiler produce verbose output that lists
11740 # what "hidden" libraries, object files and flags are used when
11741 # linking a shared library.
11743 # There doesn't appear to be a way to prevent this compiler from
11744 # explicitly linking system object files so we need to strip them
11745 # from the output so that they don't get included in the library
11746 # dependencies.
11747 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'
11750 case `$CC -V 2>&1 | sed 5q` in
11751 *Sun\ C*)
11752 # Sun C++ 5.9
11753 no_undefined_flag_CXX=' -zdefs'
11754 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11755 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'
11756 hardcode_libdir_flag_spec_CXX='-R$libdir'
11757 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'
11758 compiler_needs_object_CXX=yes
11760 # Not sure whether something based on
11761 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11762 # would be better.
11763 output_verbose_link_cmd='echo'
11765 # Archives containing C++ object files must be created using
11766 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11767 # necessary to make sure instantiated templates are included
11768 # in the archive.
11769 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11771 esac
11773 esac
11776 lynxos*)
11777 # FIXME: insert proper C++ library support
11778 ld_shlibs_CXX=no
11781 m88k*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11786 mvs*)
11787 case $cc_basename in
11788 cxx*)
11789 # FIXME: insert proper C++ library support
11790 ld_shlibs_CXX=no
11793 # FIXME: insert proper C++ library support
11794 ld_shlibs_CXX=no
11796 esac
11799 netbsd*)
11800 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11801 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11802 wlarc=
11803 hardcode_libdir_flag_spec_CXX='-R$libdir'
11804 hardcode_direct_CXX=yes
11805 hardcode_shlibpath_var_CXX=no
11807 # Workaround some broken pre-1.5 toolchains
11808 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11811 *nto* | *qnx*)
11812 ld_shlibs_CXX=yes
11815 openbsd2*)
11816 # C++ shared libraries are fairly broken
11817 ld_shlibs_CXX=no
11820 openbsd*)
11821 hardcode_direct_CXX=yes
11822 hardcode_shlibpath_var_CXX=no
11823 hardcode_direct_absolute_CXX=yes
11824 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11825 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11826 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11827 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11828 export_dynamic_flag_spec_CXX='${wl}-E'
11829 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11831 output_verbose_link_cmd=echo
11834 osf3* | osf4* | osf5*)
11835 case $cc_basename in
11836 KCC*)
11837 # Kuck and Associates, Inc. (KAI) C++ Compiler
11839 # KCC will only create a shared library if the output file
11840 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11841 # to its proper name (with version) after linking.
11842 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'
11844 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11845 hardcode_libdir_separator_CXX=:
11847 # Archives containing C++ object files must be created using
11848 # the KAI C++ compiler.
11849 case $host in
11850 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11851 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11852 esac
11854 RCC*)
11855 # Rational C++ 2.4.1
11856 # FIXME: insert proper C++ library support
11857 ld_shlibs_CXX=no
11859 cxx*)
11860 case $host in
11861 osf3*)
11862 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11863 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'
11864 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11867 allow_undefined_flag_CXX=' -expect_unresolved \*'
11868 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'
11869 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11870 echo "-hidden">> $lib.exp~
11871 $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~
11872 $RM $lib.exp'
11873 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11875 esac
11877 hardcode_libdir_separator_CXX=:
11879 # Commands to make compiler produce verbose output that lists
11880 # what "hidden" libraries, object files and flags are used when
11881 # linking a shared library.
11883 # There doesn't appear to be a way to prevent this compiler from
11884 # explicitly linking system object files so we need to strip them
11885 # from the output so that they don't get included in the library
11886 # dependencies.
11887 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'
11890 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11891 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11892 case $host in
11893 osf3*)
11894 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'
11897 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'
11899 esac
11901 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11907 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11909 else
11910 # FIXME: insert proper C++ library support
11911 ld_shlibs_CXX=no
11914 esac
11917 psos*)
11918 # FIXME: insert proper C++ library support
11919 ld_shlibs_CXX=no
11922 sunos4*)
11923 case $cc_basename in
11924 CC*)
11925 # Sun C++ 4.x
11926 # FIXME: insert proper C++ library support
11927 ld_shlibs_CXX=no
11929 lcc*)
11930 # Lucid
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11938 esac
11941 solaris*)
11942 case $cc_basename in
11943 CC*)
11944 # Sun C++ 4.2, 5.x and Centerline C++
11945 archive_cmds_need_lc_CXX=yes
11946 no_undefined_flag_CXX=' -zdefs'
11947 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11948 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11949 $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'
11951 hardcode_libdir_flag_spec_CXX='-R$libdir'
11952 hardcode_shlibpath_var_CXX=no
11953 case $host_os in
11954 solaris2.[0-5] | solaris2.[0-5].*) ;;
11956 # The compiler driver will combine and reorder linker options,
11957 # but understands `-z linker_flag'.
11958 # Supported since Solaris 2.6 (maybe 2.5.1?)
11959 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11961 esac
11962 link_all_deplibs_CXX=yes
11964 output_verbose_link_cmd='echo'
11966 # Archives containing C++ object files must be created using
11967 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11968 # necessary to make sure instantiated templates are included
11969 # in the archive.
11970 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11972 gcx*)
11973 # Green Hills C++ Compiler
11974 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11976 # The C++ compiler must be used to create the archive.
11977 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11980 # GNU C++ compiler with Solaris linker
11981 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11982 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11983 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11984 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11985 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11986 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11988 # Commands to make compiler produce verbose output that lists
11989 # what "hidden" libraries, object files and flags are used when
11990 # linking a shared library.
11991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11992 else
11993 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11994 # platform.
11995 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11996 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11997 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12002 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12005 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12006 case $host_os in
12007 solaris2.[0-5] | solaris2.[0-5].*) ;;
12009 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12011 esac
12014 esac
12017 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12018 no_undefined_flag_CXX='${wl}-z,text'
12019 archive_cmds_need_lc_CXX=no
12020 hardcode_shlibpath_var_CXX=no
12021 runpath_var='LD_RUN_PATH'
12023 case $cc_basename in
12024 CC*)
12025 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12026 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12029 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12030 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032 esac
12035 sysv5* | sco3.2v5* | sco5v6*)
12036 # Note: We can NOT use -z defs as we might desire, because we do not
12037 # link with -lc, and that would cause any symbols used from libc to
12038 # always be unresolved, which means just about no library would
12039 # ever link correctly. If we're not using GNU ld we use -z text
12040 # though, which does catch some bad symbols but isn't as heavy-handed
12041 # as -z defs.
12042 no_undefined_flag_CXX='${wl}-z,text'
12043 allow_undefined_flag_CXX='${wl}-z,nodefs'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12047 hardcode_libdir_separator_CXX=':'
12048 link_all_deplibs_CXX=yes
12049 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12050 runpath_var='LD_RUN_PATH'
12052 case $cc_basename in
12053 CC*)
12054 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061 esac
12064 tandem*)
12065 case $cc_basename in
12066 NCC*)
12067 # NonStop-UX NCC 3.20
12068 # FIXME: insert proper C++ library support
12069 ld_shlibs_CXX=no
12072 # FIXME: insert proper C++ library support
12073 ld_shlibs_CXX=no
12075 esac
12078 vxworks*)
12079 # FIXME: insert proper C++ library support
12080 ld_shlibs_CXX=no
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12087 esac
12089 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12090 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12091 test "$ld_shlibs_CXX" = no && can_build_shared=no
12093 GCC_CXX="$GXX"
12094 LD_CXX="$LD"
12096 ## CAVEAT EMPTOR:
12097 ## There is no encapsulation within the following macros, do not change
12098 ## the running order or otherwise move them around unless you know exactly
12099 ## what you are doing...
12100 # Dependencies to place before and after the object being linked:
12101 predep_objects_CXX=
12102 postdep_objects_CXX=
12103 predeps_CXX=
12104 postdeps_CXX=
12105 compiler_lib_search_path_CXX=
12107 cat > conftest.$ac_ext <<_LT_EOF
12108 class Foo
12110 public:
12111 Foo (void) { a = 0; }
12112 private:
12113 int a;
12115 _LT_EOF
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; then
12122 # Parse the compiler output and extract the necessary
12123 # objects, libraries and library flags.
12125 # Sentinel used to keep track of whether or not we are before
12126 # the conftest object file.
12127 pre_test_object_deps_done=no
12129 # The `*' in the case matches for architectures that use `case' in
12130 # $output_verbose_cmd can trigger glob expansion during the loop
12131 # eval without this substitution.
12132 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12134 for p in `eval $output_verbose_link_cmd`; do
12135 case $p in
12137 -L* | -R* | -l*)
12138 # Some compilers place space between "-{L,R}" and the path.
12139 # Remove the space.
12140 if test $p = "-L" ||
12141 test $p = "-R"; then
12142 prev=$p
12143 continue
12144 else
12145 prev=
12148 if test "$pre_test_object_deps_done" = no; then
12149 case $p in
12150 -L* | -R*)
12151 # Internal compiler library paths should come after those
12152 # provided the user. The postdeps already come after the
12153 # user supplied libs so there is no need to process them.
12154 if test -z "$compiler_lib_search_path_CXX"; then
12155 compiler_lib_search_path_CXX="${prev}${p}"
12156 else
12157 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12160 # The "-l" case would never come before the object being
12161 # linked, so don't bother handling this case.
12162 esac
12163 else
12164 if test -z "$postdeps_CXX"; then
12165 postdeps_CXX="${prev}${p}"
12166 else
12167 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12172 *.$objext)
12173 # This assumes that the test object file only shows up
12174 # once in the compiler output.
12175 if test "$p" = "conftest.$objext"; then
12176 pre_test_object_deps_done=yes
12177 continue
12180 if test "$pre_test_object_deps_done" = no; then
12181 if test -z "$predep_objects_CXX"; then
12182 predep_objects_CXX="$p"
12183 else
12184 predep_objects_CXX="$predep_objects_CXX $p"
12186 else
12187 if test -z "$postdep_objects_CXX"; then
12188 postdep_objects_CXX="$p"
12189 else
12190 postdep_objects_CXX="$postdep_objects_CXX $p"
12195 *) ;; # Ignore the rest.
12197 esac
12198 done
12200 # Clean up.
12201 rm -f a.out a.exe
12202 else
12203 echo "libtool.m4: error: problem compiling CXX test program"
12206 $RM -f confest.$objext
12208 # PORTME: override above test on systems where it is broken
12209 case $host_os in
12210 interix[3-9]*)
12211 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12212 # hack all around it, let's just trust "g++" to DTRT.
12213 predep_objects_CXX=
12214 postdep_objects_CXX=
12215 postdeps_CXX=
12218 linux*)
12219 case `$CC -V 2>&1 | sed 5q` in
12220 *Sun\ C*)
12221 # Sun C++ 5.9
12223 # The more standards-conforming stlport4 library is
12224 # incompatible with the Cstd library. Avoid specifying
12225 # it if it's in CXXFLAGS. Ignore libCrun as
12226 # -library=stlport4 depends on it.
12227 case " $CXX $CXXFLAGS " in
12228 *" -library=stlport4 "*)
12229 solaris_use_stlport4=yes
12231 esac
12233 if test "$solaris_use_stlport4" != yes; then
12234 postdeps_CXX='-library=Cstd -library=Crun'
12237 esac
12240 solaris*)
12241 case $cc_basename in
12242 CC*)
12243 # The more standards-conforming stlport4 library is
12244 # incompatible with the Cstd library. Avoid specifying
12245 # it if it's in CXXFLAGS. Ignore libCrun as
12246 # -library=stlport4 depends on it.
12247 case " $CXX $CXXFLAGS " in
12248 *" -library=stlport4 "*)
12249 solaris_use_stlport4=yes
12251 esac
12253 # Adding this requires a known-good setup of shared libraries for
12254 # Sun compiler versions before 5.6, else PIC objects from an old
12255 # archive will be linked into the output, leading to subtle bugs.
12256 if test "$solaris_use_stlport4" != yes; then
12257 postdeps_CXX='-library=Cstd -library=Crun'
12260 esac
12262 esac
12265 case " $postdeps_CXX " in
12266 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12267 esac
12294 lt_prog_compiler_wl_CXX=
12295 lt_prog_compiler_pic_CXX=
12296 lt_prog_compiler_static_CXX=
12298 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12299 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12301 # C++ specific cases for pic, static, wl, etc.
12302 if test "$GXX" = yes; then
12303 lt_prog_compiler_wl_CXX='-Wl,'
12304 lt_prog_compiler_static_CXX='-static'
12306 case $host_os in
12307 aix*)
12308 # All AIX code is PIC.
12309 if test "$host_cpu" = ia64; then
12310 # AIX 5 now supports IA64 processor
12311 lt_prog_compiler_static_CXX='-Bstatic'
12314 amigaos*)
12315 if test "$host_cpu" = m68k; then
12316 # FIXME: we need at least 68020 code to build shared libraries, but
12317 # adding the `-m68020' flag to GCC prevents building anything better,
12318 # like `-m68040'.
12319 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12322 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12323 # PIC is the default for these OSes.
12325 mingw* | cygwin* | os2* | pw32*)
12326 # This hack is so that the source file can tell whether it is being
12327 # built for inclusion in a dll (and should export symbols for example).
12328 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12329 # (--disable-auto-import) libraries
12330 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12332 darwin* | rhapsody*)
12333 # PIC is the default on this platform
12334 # Common symbols not allowed in MH_DYLIB files
12335 lt_prog_compiler_pic_CXX='-fno-common'
12337 *djgpp*)
12338 # DJGPP does not support shared libraries at all
12339 lt_prog_compiler_pic_CXX=
12341 interix[3-9]*)
12342 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12343 # Instead, we relocate shared libraries at runtime.
12345 sysv4*MP*)
12346 if test -d /usr/nec; then
12347 lt_prog_compiler_pic_CXX=-Kconform_pic
12350 hpux*)
12351 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12352 # not for PA HP-UX.
12353 case $host_cpu in
12354 hppa*64*|ia64*)
12357 lt_prog_compiler_pic_CXX='-fPIC'
12359 esac
12361 *qnx* | *nto*)
12362 # QNX uses GNU C++, but need to define -shared option too, otherwise
12363 # it will coredump.
12364 lt_prog_compiler_pic_CXX='-fPIC -shared'
12367 lt_prog_compiler_pic_CXX='-fPIC'
12369 esac
12370 else
12371 case $host_os in
12372 aix4* | aix5*)
12373 # All AIX code is PIC.
12374 if test "$host_cpu" = ia64; then
12375 # AIX 5 now supports IA64 processor
12376 lt_prog_compiler_static_CXX='-Bstatic'
12377 else
12378 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12381 chorus*)
12382 case $cc_basename in
12383 cxch68*)
12384 # Green Hills C++ Compiler
12385 # _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"
12387 esac
12389 darwin*)
12390 # PIC is the default on this platform
12391 # Common symbols not allowed in MH_DYLIB files
12392 case $cc_basename in
12393 xlc*)
12394 lt_prog_compiler_pic_CXX='-qnocommon'
12395 lt_prog_compiler_wl_CXX='-Wl,'
12397 esac
12399 dgux*)
12400 case $cc_basename in
12401 ec++*)
12402 lt_prog_compiler_pic_CXX='-KPIC'
12404 ghcx*)
12405 # Green Hills C++ Compiler
12406 lt_prog_compiler_pic_CXX='-pic'
12410 esac
12412 freebsd* | dragonfly*)
12413 # FreeBSD uses GNU C++
12415 hpux9* | hpux10* | hpux11*)
12416 case $cc_basename in
12417 CC*)
12418 lt_prog_compiler_wl_CXX='-Wl,'
12419 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12420 if test "$host_cpu" != ia64; then
12421 lt_prog_compiler_pic_CXX='+Z'
12424 aCC*)
12425 lt_prog_compiler_wl_CXX='-Wl,'
12426 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12427 case $host_cpu in
12428 hppa*64*|ia64*)
12429 # +Z the default
12432 lt_prog_compiler_pic_CXX='+Z'
12434 esac
12438 esac
12440 interix*)
12441 # This is c89, which is MS Visual C++ (no shared libs)
12442 # Anyone wants to do a port?
12444 irix5* | irix6* | nonstopux*)
12445 case $cc_basename in
12446 CC*)
12447 lt_prog_compiler_wl_CXX='-Wl,'
12448 lt_prog_compiler_static_CXX='-non_shared'
12449 # CC pic flag -KPIC is the default.
12453 esac
12455 linux* | k*bsd*-gnu)
12456 case $cc_basename in
12457 KCC*)
12458 # KAI C++ Compiler
12459 lt_prog_compiler_wl_CXX='--backend -Wl,'
12460 lt_prog_compiler_pic_CXX='-fPIC'
12462 icpc* | ecpc* )
12463 # Intel C++
12464 lt_prog_compiler_wl_CXX='-Wl,'
12465 lt_prog_compiler_pic_CXX='-KPIC'
12466 lt_prog_compiler_static_CXX='-static'
12468 pgCC*)
12469 # Portland Group C++ compiler
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_pic_CXX='-fpic'
12472 lt_prog_compiler_static_CXX='-Bstatic'
12474 cxx*)
12475 # Compaq C++
12476 # Make sure the PIC flag is empty. It appears that all Alpha
12477 # Linux and Compaq Tru64 Unix objects are PIC.
12478 lt_prog_compiler_pic_CXX=
12479 lt_prog_compiler_static_CXX='-non_shared'
12482 case `$CC -V 2>&1 | sed 5q` in
12483 *Sun\ C*)
12484 # Sun C++ 5.9
12485 lt_prog_compiler_pic_CXX='-KPIC'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12487 lt_prog_compiler_wl_CXX='-Qoption ld '
12489 esac
12491 esac
12493 lynxos*)
12495 m88k*)
12497 mvs*)
12498 case $cc_basename in
12499 cxx*)
12500 lt_prog_compiler_pic_CXX='-W c,exportall'
12504 esac
12506 netbsd*)
12508 *qnx* | *nto*)
12509 # QNX uses GNU C++, but need to define -shared option too, otherwise
12510 # it will coredump.
12511 lt_prog_compiler_pic_CXX='-fPIC -shared'
12513 osf3* | osf4* | osf5*)
12514 case $cc_basename in
12515 KCC*)
12516 lt_prog_compiler_wl_CXX='--backend -Wl,'
12518 RCC*)
12519 # Rational C++ 2.4.1
12520 lt_prog_compiler_pic_CXX='-pic'
12522 cxx*)
12523 # Digital/Compaq C++
12524 lt_prog_compiler_wl_CXX='-Wl,'
12525 # Make sure the PIC flag is empty. It appears that all Alpha
12526 # Linux and Compaq Tru64 Unix objects are PIC.
12527 lt_prog_compiler_pic_CXX=
12528 lt_prog_compiler_static_CXX='-non_shared'
12532 esac
12534 psos*)
12536 solaris*)
12537 case $cc_basename in
12538 CC*)
12539 # Sun C++ 4.2, 5.x and Centerline C++
12540 lt_prog_compiler_pic_CXX='-KPIC'
12541 lt_prog_compiler_static_CXX='-Bstatic'
12542 lt_prog_compiler_wl_CXX='-Qoption ld '
12544 gcx*)
12545 # Green Hills C++ Compiler
12546 lt_prog_compiler_pic_CXX='-PIC'
12550 esac
12552 sunos4*)
12553 case $cc_basename in
12554 CC*)
12555 # Sun C++ 4.x
12556 lt_prog_compiler_pic_CXX='-pic'
12557 lt_prog_compiler_static_CXX='-Bstatic'
12559 lcc*)
12560 # Lucid
12561 lt_prog_compiler_pic_CXX='-pic'
12565 esac
12567 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12568 case $cc_basename in
12569 CC*)
12570 lt_prog_compiler_wl_CXX='-Wl,'
12571 lt_prog_compiler_pic_CXX='-KPIC'
12572 lt_prog_compiler_static_CXX='-Bstatic'
12574 esac
12576 tandem*)
12577 case $cc_basename in
12578 NCC*)
12579 # NonStop-UX NCC 3.20
12580 lt_prog_compiler_pic_CXX='-KPIC'
12584 esac
12586 vxworks*)
12589 lt_prog_compiler_can_build_shared_CXX=no
12591 esac
12594 case $host_os in
12595 # For platforms which do not support PIC, -DPIC is meaningless:
12596 *djgpp*)
12597 lt_prog_compiler_pic_CXX=
12600 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12602 esac
12603 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12604 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12609 # Check to make sure the PIC flag actually works.
12611 if test -n "$lt_prog_compiler_pic_CXX"; then
12612 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12613 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12614 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 lt_prog_compiler_pic_works_CXX=no
12618 ac_outfile=conftest.$ac_objext
12619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12620 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12621 # Insert the option either (1) after the last *FLAGS variable, or
12622 # (2) before a word containing "conftest.", or (3) at the end.
12623 # Note that $ac_compile itself does not contain backslashes and begins
12624 # with a dollar sign (not a hyphen), so the echo should work correctly.
12625 # The option is referenced via a variable to avoid confusing sed.
12626 lt_compile=`echo "$ac_compile" | $SED \
12627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12629 -e 's:$: $lt_compiler_flag:'`
12630 (eval echo "\"\$as_me:12630: $lt_compile\"" >&5)
12631 (eval "$lt_compile" 2>conftest.err)
12632 ac_status=$?
12633 cat conftest.err >&5
12634 echo "$as_me:12634: \$? = $ac_status" >&5
12635 if (exit $ac_status) && test -s "$ac_outfile"; then
12636 # The compiler can only warn and ignore the option if not recognized
12637 # So say no if there are warnings other than the usual output.
12638 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12639 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12640 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12641 lt_prog_compiler_pic_works_CXX=yes
12644 $RM conftest*
12647 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12648 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12650 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12651 case $lt_prog_compiler_pic_CXX in
12652 "" | " "*) ;;
12653 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12654 esac
12655 else
12656 lt_prog_compiler_pic_CXX=
12657 lt_prog_compiler_can_build_shared_CXX=no
12665 # Check to make sure the static flag actually works.
12667 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12668 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12669 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12670 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12671 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 else
12673 lt_prog_compiler_static_works_CXX=no
12674 save_LDFLAGS="$LDFLAGS"
12675 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12676 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12677 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12678 # The linker can only warn and ignore the option if not recognized
12679 # So say no if there are warnings
12680 if test -s conftest.err; then
12681 # Append any errors to the config.log.
12682 cat conftest.err 1>&5
12683 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_static_works_CXX=yes
12688 else
12689 lt_prog_compiler_static_works_CXX=yes
12692 $RM conftest*
12693 LDFLAGS="$save_LDFLAGS"
12696 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12697 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12699 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12701 else
12702 lt_prog_compiler_static_CXX=
12708 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12709 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12710 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 lt_cv_prog_compiler_c_o_CXX=no
12714 $RM -r conftest 2>/dev/null
12715 mkdir conftest
12716 cd conftest
12717 mkdir out
12718 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12720 lt_compiler_flag="-o out/conftest2.$ac_objext"
12721 # Insert the option either (1) after the last *FLAGS variable, or
12722 # (2) before a word containing "conftest.", or (3) at the end.
12723 # Note that $ac_compile itself does not contain backslashes and begins
12724 # with a dollar sign (not a hyphen), so the echo should work correctly.
12725 lt_compile=`echo "$ac_compile" | $SED \
12726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12728 -e 's:$: $lt_compiler_flag:'`
12729 (eval echo "\"\$as_me:12729: $lt_compile\"" >&5)
12730 (eval "$lt_compile" 2>out/conftest.err)
12731 ac_status=$?
12732 cat out/conftest.err >&5
12733 echo "$as_me:12733: \$? = $ac_status" >&5
12734 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12735 then
12736 # The compiler can only warn and ignore the option if not recognized
12737 # So say no if there are warnings
12738 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12739 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12740 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12741 lt_cv_prog_compiler_c_o_CXX=yes
12744 chmod u+w . 2>&5
12745 $RM conftest*
12746 # SGI C++ compiler will create directory out/ii_files/ for
12747 # template instantiation
12748 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12749 $RM out/* && rmdir out
12750 cd ..
12751 $RM -r conftest
12752 $RM conftest*
12755 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12756 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12760 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12761 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12762 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 lt_cv_prog_compiler_c_o_CXX=no
12766 $RM -r conftest 2>/dev/null
12767 mkdir conftest
12768 cd conftest
12769 mkdir out
12770 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12772 lt_compiler_flag="-o out/conftest2.$ac_objext"
12773 # Insert the option either (1) after the last *FLAGS variable, or
12774 # (2) before a word containing "conftest.", or (3) at the end.
12775 # Note that $ac_compile itself does not contain backslashes and begins
12776 # with a dollar sign (not a hyphen), so the echo should work correctly.
12777 lt_compile=`echo "$ac_compile" | $SED \
12778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12780 -e 's:$: $lt_compiler_flag:'`
12781 (eval echo "\"\$as_me:12781: $lt_compile\"" >&5)
12782 (eval "$lt_compile" 2>out/conftest.err)
12783 ac_status=$?
12784 cat out/conftest.err >&5
12785 echo "$as_me:12785: \$? = $ac_status" >&5
12786 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12787 then
12788 # The compiler can only warn and ignore the option if not recognized
12789 # So say no if there are warnings
12790 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12791 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12792 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12793 lt_cv_prog_compiler_c_o_CXX=yes
12796 chmod u+w . 2>&5
12797 $RM conftest*
12798 # SGI C++ compiler will create directory out/ii_files/ for
12799 # template instantiation
12800 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12801 $RM out/* && rmdir out
12802 cd ..
12803 $RM -r conftest
12804 $RM conftest*
12807 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12808 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12813 hard_links="nottested"
12814 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12815 # do not overwrite the value of need_locks provided by the user
12816 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12817 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12818 hard_links=yes
12819 $RM conftest*
12820 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12821 touch conftest.a
12822 ln conftest.a conftest.b 2>&5 || hard_links=no
12823 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12824 echo "$as_me:$LINENO: result: $hard_links" >&5
12825 echo "${ECHO_T}$hard_links" >&6
12826 if test "$hard_links" = no; then
12827 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12828 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12829 need_locks=warn
12831 else
12832 need_locks=no
12837 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12838 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12840 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12841 case $host_os in
12842 aix4* | aix5*)
12843 # If we're using GNU nm, then we don't want the "-C" option.
12844 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12845 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12846 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'
12847 else
12848 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'
12851 pw32*)
12852 export_symbols_cmds_CXX="$ltdll_cmds"
12854 cygwin* | mingw*)
12855 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'
12858 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12860 esac
12862 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12863 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12864 test "$ld_shlibs_CXX" = no && can_build_shared=no
12866 with_gnu_ld_CXX=$with_gnu_ld
12874 # Do we need to explicitly link libc?
12876 case "x$archive_cmds_need_lc_CXX" in
12877 x|xyes)
12878 # Assume -lc should be added
12879 archive_cmds_need_lc_CXX=yes
12881 if test "$enable_shared" = yes && test "$GCC" = yes; then
12882 case $archive_cmds_CXX in
12883 *'~'*)
12884 # FIXME: we may have to deal with multi-command sequences.
12886 '$CC '*)
12887 # Test whether the compiler implicitly links with -lc since on some
12888 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12889 # to ld, don't add -lc before -lgcc.
12890 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12891 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12892 $RM conftest*
12893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12896 (eval $ac_compile) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } 2>conftest.err; then
12900 soname=conftest
12901 lib=conftest
12902 libobjs=conftest.$ac_objext
12903 deplibs=
12904 wl=$lt_prog_compiler_wl_CXX
12905 pic_flag=$lt_prog_compiler_pic_CXX
12906 compiler_flags=-v
12907 linker_flags=-v
12908 verstring=
12909 output_objdir=.
12910 libname=conftest
12911 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12912 allow_undefined_flag_CXX=
12913 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12914 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }
12918 then
12919 archive_cmds_need_lc_CXX=no
12920 else
12921 archive_cmds_need_lc_CXX=yes
12923 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12924 else
12925 cat conftest.err 1>&5
12927 $RM conftest*
12928 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12929 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12931 esac
12934 esac
12999 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13000 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13001 withGCC=$GXX
13002 library_names_spec=
13003 libname_spec='lib$name'
13004 soname_spec=
13005 shrext_cmds=".so"
13006 postinstall_cmds=
13007 postuninstall_cmds=
13008 finish_cmds=
13009 finish_eval=
13010 shlibpath_var=
13011 shlibpath_overrides_runpath=unknown
13012 version_type=none
13013 dynamic_linker="$host_os ld.so"
13014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13015 need_lib_prefix=unknown
13016 hardcode_into_libs=no
13018 # when you set need_version to no, make sure it does not cause -set_version
13019 # flags to be left without arguments
13020 need_version=unknown
13022 case $host_os in
13023 aix3*)
13024 version_type=linux
13025 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13026 shlibpath_var=LIBPATH
13028 # AIX 3 has no versioning support, so we append a major version to the name.
13029 soname_spec='${libname}${release}${shared_ext}$major'
13032 aix4* | aix5*)
13033 version_type=linux
13034 need_lib_prefix=no
13035 need_version=no
13036 hardcode_into_libs=yes
13037 if test "$host_cpu" = ia64; then
13038 # AIX 5 supports IA64
13039 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13040 shlibpath_var=LD_LIBRARY_PATH
13041 else
13042 # With GCC up to 2.95.x, collect2 would create an import file
13043 # for dependence libraries. The import file would start with
13044 # the line `#! .'. This would cause the generated library to
13045 # depend on `.', always an invalid library. This was fixed in
13046 # development snapshots of GCC prior to 3.0.
13047 case $host_os in
13048 aix4 | aix4.[01] | aix4.[01].*)
13049 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13050 echo ' yes '
13051 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13053 else
13054 can_build_shared=no
13057 esac
13058 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13059 # soname into executable. Probably we can add versioning support to
13060 # collect2, so additional links can be useful in future.
13061 if test "$aix_use_runtimelinking" = yes; then
13062 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13063 # instead of lib<name>.a to let people know that these are not
13064 # typical AIX shared libraries.
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13066 else
13067 # We preserve .a as extension for shared libraries through AIX4.2
13068 # and later when we are not doing run time linking.
13069 library_names_spec='${libname}${release}.a $libname.a'
13070 soname_spec='${libname}${release}${shared_ext}$major'
13072 shlibpath_var=LIBPATH
13076 amigaos*)
13077 if test "$host_cpu" = m68k; then
13078 library_names_spec='$libname.ixlibrary $libname.a'
13079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13080 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'
13081 else
13082 dynamic_linker=no
13086 beos*)
13087 library_names_spec='${libname}${shared_ext}'
13088 dynamic_linker="$host_os ld.so"
13089 shlibpath_var=LIBRARY_PATH
13092 bsdi[45]*)
13093 version_type=linux
13094 need_version=no
13095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13096 soname_spec='${libname}${release}${shared_ext}$major'
13097 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13098 shlibpath_var=LD_LIBRARY_PATH
13099 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13100 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13101 # the default ld.so.conf also contains /usr/contrib/lib and
13102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13103 # libtool to hard-code these into programs
13106 cygwin* | mingw* | pw32*)
13107 version_type=windows
13108 shrext_cmds=".dll"
13109 need_version=no
13110 need_lib_prefix=no
13112 case $withGCC,$host_os in
13113 yes,cygwin* | yes,mingw* | yes,pw32*)
13114 library_names_spec='$libname.dll.a'
13115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13116 postinstall_cmds='base_file=`basename \${file}`~
13117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13118 dldir=$destdir/`dirname \$dlpath`~
13119 test -d \$dldir || mkdir -p \$dldir~
13120 $install_prog $dir/$dlname \$dldir/$dlname~
13121 chmod a+x \$dldir/$dlname~
13122 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13123 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13125 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13126 dlpath=$dir/\$dldll~
13127 $RM \$dlpath'
13128 shlibpath_overrides_runpath=yes
13130 case $host_os in
13131 cygwin*)
13132 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13133 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13134 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13136 mingw*)
13137 # MinGW DLLs use traditional 'lib' prefix
13138 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13140 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13141 # It is most probably a Windows format PATH printed by
13142 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13143 # path with ; separators, and with drive letters. We can handle the
13144 # drive letters (cygwin fileutils understands them), so leave them,
13145 # especially as we might pass files found there to a mingw objdump,
13146 # which wouldn't understand a cygwinified path. Ahh.
13147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13148 else
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13152 pw32*)
13153 # pw32 DLLs use 'pw' prefix rather than 'lib'
13154 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13156 esac
13160 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13162 esac
13163 dynamic_linker='Win32 ld.exe'
13164 # FIXME: first we should search . and the directory the executable is in
13165 shlibpath_var=PATH
13168 darwin* | rhapsody*)
13169 dynamic_linker="$host_os dyld"
13170 version_type=darwin
13171 need_lib_prefix=no
13172 need_version=no
13173 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13174 soname_spec='${libname}${release}${major}$shared_ext'
13175 shlibpath_overrides_runpath=yes
13176 shlibpath_var=DYLD_LIBRARY_PATH
13177 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13179 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13182 dgux*)
13183 version_type=linux
13184 need_lib_prefix=no
13185 need_version=no
13186 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13187 soname_spec='${libname}${release}${shared_ext}$major'
13188 shlibpath_var=LD_LIBRARY_PATH
13191 freebsd1*)
13192 dynamic_linker=no
13195 freebsd* | dragonfly*)
13196 # DragonFly does not have aout. When/if they implement a new
13197 # versioning mechanism, adjust this.
13198 if test -x /usr/bin/objformat; then
13199 objformat=`/usr/bin/objformat`
13200 else
13201 case $host_os in
13202 freebsd[123]*) objformat=aout ;;
13203 *) objformat=elf ;;
13204 esac
13206 version_type=freebsd-$objformat
13207 case $version_type in
13208 freebsd-elf*)
13209 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13210 need_version=no
13211 need_lib_prefix=no
13213 freebsd-*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13215 need_version=yes
13217 esac
13218 shlibpath_var=LD_LIBRARY_PATH
13219 case $host_os in
13220 freebsd2*)
13221 shlibpath_overrides_runpath=yes
13223 freebsd3.[01]* | freebsdelf3.[01]*)
13224 shlibpath_overrides_runpath=yes
13225 hardcode_into_libs=yes
13227 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13228 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13232 *) # from 4.6 on, and DragonFly
13233 shlibpath_overrides_runpath=yes
13234 hardcode_into_libs=yes
13236 esac
13239 gnu*)
13240 version_type=linux
13241 need_lib_prefix=no
13242 need_version=no
13243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13244 soname_spec='${libname}${release}${shared_ext}$major'
13245 shlibpath_var=LD_LIBRARY_PATH
13246 hardcode_into_libs=yes
13249 hpux9* | hpux10* | hpux11*)
13250 # Give a soname corresponding to the major version so that dld.sl refuses to
13251 # link against other versions.
13252 version_type=sunos
13253 need_lib_prefix=no
13254 need_version=no
13255 case $host_cpu in
13256 ia64*)
13257 shrext_cmds='.so'
13258 hardcode_into_libs=yes
13259 dynamic_linker="$host_os dld.so"
13260 shlibpath_var=LD_LIBRARY_PATH
13261 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13263 soname_spec='${libname}${release}${shared_ext}$major'
13264 if test "X$HPUX_IA64_MODE" = X32; then
13265 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13266 else
13267 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13269 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13271 hppa*64*)
13272 shrext_cmds='.sl'
13273 hardcode_into_libs=yes
13274 dynamic_linker="$host_os dld.sl"
13275 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13276 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13278 soname_spec='${libname}${release}${shared_ext}$major'
13279 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13280 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283 shrext_cmds='.sl'
13284 dynamic_linker="$host_os dld.sl"
13285 shlibpath_var=SHLIB_PATH
13286 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13290 esac
13291 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13292 postinstall_cmds='chmod 555 $lib'
13295 interix[3-9]*)
13296 version_type=linux
13297 need_lib_prefix=no
13298 need_version=no
13299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13300 soname_spec='${libname}${release}${shared_ext}$major'
13301 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13302 shlibpath_var=LD_LIBRARY_PATH
13303 shlibpath_overrides_runpath=no
13304 hardcode_into_libs=yes
13307 irix5* | irix6* | nonstopux*)
13308 case $host_os in
13309 nonstopux*) version_type=nonstopux ;;
13311 if test "$lt_cv_prog_gnu_ld" = yes; then
13312 version_type=linux
13313 else
13314 version_type=irix
13315 fi ;;
13316 esac
13317 need_lib_prefix=no
13318 need_version=no
13319 soname_spec='${libname}${release}${shared_ext}$major'
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13321 case $host_os in
13322 irix5* | nonstopux*)
13323 libsuff= shlibsuff=
13326 case $LD in # libtool.m4 will add one of these switches to LD
13327 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13328 libsuff= shlibsuff= libmagic=32-bit;;
13329 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13330 libsuff=32 shlibsuff=N32 libmagic=N32;;
13331 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13332 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13333 *) libsuff= shlibsuff= libmagic=never-match;;
13334 esac
13336 esac
13337 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13338 shlibpath_overrides_runpath=no
13339 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13340 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13341 hardcode_into_libs=yes
13344 # No shared lib support for Linux oldld, aout, or coff.
13345 linux*oldld* | linux*aout* | linux*coff*)
13346 dynamic_linker=no
13349 # This must be Linux ELF.
13350 linux* | k*bsd*-gnu)
13351 version_type=linux
13352 need_lib_prefix=no
13353 need_version=no
13354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355 soname_spec='${libname}${release}${shared_ext}$major'
13356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13357 shlibpath_var=LD_LIBRARY_PATH
13358 shlibpath_overrides_runpath=no
13359 # Some binutils ld are patched to set DT_RUNPATH
13360 save_LDFLAGS=$LDFLAGS
13361 save_libdir=$libdir
13362 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13363 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13364 if test x$gcc_no_link = xyes; then
13365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13367 { (exit 1); exit 1; }; }
13369 cat >conftest.$ac_ext <<_ACEOF
13370 /* confdefs.h. */
13371 _ACEOF
13372 cat confdefs.h >>conftest.$ac_ext
13373 cat >>conftest.$ac_ext <<_ACEOF
13374 /* end confdefs.h. */
13377 main ()
13381 return 0;
13383 _ACEOF
13384 rm -f conftest.$ac_objext conftest$ac_exeext
13385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13386 (eval $ac_link) 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -z "$ac_cxx_werror_flag"
13394 || test ! -s conftest.err'
13395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13396 (eval $ac_try) 2>&5
13397 ac_status=$?
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); }; } &&
13400 { ac_try='test -s conftest$ac_exeext'
13401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13402 (eval $ac_try) 2>&5
13403 ac_status=$?
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); }; }; then
13406 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13407 shlibpath_overrides_runpath=yes
13410 else
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13415 rm -f conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LDFLAGS=$save_LDFLAGS
13418 libdir=$save_libdir
13420 # This implies no fast_install, which is unacceptable.
13421 # Some rework will be needed to allow for fast_install
13422 # before this can be enabled.
13423 hardcode_into_libs=yes
13425 # Append ld.so.conf contents to the search path
13426 if test -f /etc/ld.so.conf; then
13427 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' ' '`
13428 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13431 # We used to test for /lib/ld.so.1 and disable shared libraries on
13432 # powerpc, because MkLinux only supported shared libraries with the
13433 # GNU dynamic linker. Since this was broken with cross compilers,
13434 # most powerpc-linux boxes support dynamic linking these days and
13435 # people can always --disable-shared, the test was removed, and we
13436 # assume the GNU/Linux dynamic linker is in use.
13437 dynamic_linker='GNU/Linux ld.so'
13440 netbsd*)
13441 version_type=sunos
13442 need_lib_prefix=no
13443 need_version=no
13444 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13447 dynamic_linker='NetBSD (a.out) ld.so'
13448 else
13449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13450 soname_spec='${libname}${release}${shared_ext}$major'
13451 dynamic_linker='NetBSD ld.elf_so'
13453 shlibpath_var=LD_LIBRARY_PATH
13454 shlibpath_overrides_runpath=yes
13455 hardcode_into_libs=yes
13458 newsos6)
13459 version_type=linux
13460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 shlibpath_var=LD_LIBRARY_PATH
13462 shlibpath_overrides_runpath=yes
13465 *nto* | *qnx*)
13466 version_type=qnx
13467 need_lib_prefix=no
13468 need_version=no
13469 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13470 soname_spec='${libname}${release}${shared_ext}$major'
13471 shlibpath_var=LD_LIBRARY_PATH
13472 shlibpath_overrides_runpath=no
13473 hardcode_into_libs=yes
13474 dynamic_linker='ldqnx.so'
13477 openbsd*)
13478 version_type=sunos
13479 sys_lib_dlsearch_path_spec="/usr/lib"
13480 need_lib_prefix=no
13481 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13482 case $host_os in
13483 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13484 *) need_version=no ;;
13485 esac
13486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13488 shlibpath_var=LD_LIBRARY_PATH
13489 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13490 case $host_os in
13491 openbsd2.[89] | openbsd2.[89].*)
13492 shlibpath_overrides_runpath=no
13495 shlibpath_overrides_runpath=yes
13497 esac
13498 else
13499 shlibpath_overrides_runpath=yes
13503 os2*)
13504 libname_spec='$name'
13505 shrext_cmds=".dll"
13506 need_lib_prefix=no
13507 library_names_spec='$libname${shared_ext} $libname.a'
13508 dynamic_linker='OS/2 ld.exe'
13509 shlibpath_var=LIBPATH
13512 osf3* | osf4* | osf5*)
13513 version_type=osf
13514 need_lib_prefix=no
13515 need_version=no
13516 soname_spec='${libname}${release}${shared_ext}$major'
13517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var=LD_LIBRARY_PATH
13519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523 rdos*)
13524 dynamic_linker=no
13527 solaris*)
13528 version_type=linux
13529 need_lib_prefix=no
13530 need_version=no
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 soname_spec='${libname}${release}${shared_ext}$major'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 shlibpath_overrides_runpath=yes
13535 hardcode_into_libs=yes
13536 # ldd complains unless libraries are executable
13537 postinstall_cmds='chmod +x $lib'
13540 sunos4*)
13541 version_type=sunos
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13544 shlibpath_var=LD_LIBRARY_PATH
13545 shlibpath_overrides_runpath=yes
13546 if test "$with_gnu_ld" = yes; then
13547 need_lib_prefix=no
13549 need_version=yes
13552 sysv4 | sysv4.3*)
13553 version_type=linux
13554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13555 soname_spec='${libname}${release}${shared_ext}$major'
13556 shlibpath_var=LD_LIBRARY_PATH
13557 case $host_vendor in
13558 sni)
13559 shlibpath_overrides_runpath=no
13560 need_lib_prefix=no
13561 runpath_var=LD_RUN_PATH
13563 siemens)
13564 need_lib_prefix=no
13566 motorola)
13567 need_lib_prefix=no
13568 need_version=no
13569 shlibpath_overrides_runpath=no
13570 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13572 esac
13575 sysv4*MP*)
13576 if test -d /usr/nec ;then
13577 version_type=linux
13578 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13579 soname_spec='$libname${shared_ext}.$major'
13580 shlibpath_var=LD_LIBRARY_PATH
13584 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13585 version_type=freebsd-elf
13586 need_lib_prefix=no
13587 need_version=no
13588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13589 soname_spec='${libname}${release}${shared_ext}$major'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 shlibpath_overrides_runpath=yes
13592 hardcode_into_libs=yes
13593 if test "$with_gnu_ld" = yes; then
13594 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13595 else
13596 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13597 case $host_os in
13598 sco3.2v5*)
13599 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13601 esac
13603 sys_lib_dlsearch_path_spec='/usr/lib'
13606 tpf*)
13607 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13608 version_type=linux
13609 need_lib_prefix=no
13610 need_version=no
13611 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13612 shlibpath_var=LD_LIBRARY_PATH
13613 shlibpath_overrides_runpath=no
13614 hardcode_into_libs=yes
13617 uts4*)
13618 version_type=linux
13619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13620 soname_spec='${libname}${release}${shared_ext}$major'
13621 shlibpath_var=LD_LIBRARY_PATH
13625 dynamic_linker=no
13627 esac
13628 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13629 echo "${ECHO_T}$dynamic_linker" >&6
13630 test "$dynamic_linker" = no && can_build_shared=no
13632 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13633 if test "$GCC" = yes; then
13634 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13672 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13673 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13674 hardcode_action_CXX=
13675 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13676 test -n "$runpath_var_CXX" ||
13677 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13679 # We can hardcode non-existent directories.
13680 if test "$hardcode_direct_CXX" != no &&
13681 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13682 # have to relink, otherwise we might link with an installed library
13683 # when we should be linking with a yet-to-be-installed one
13684 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13685 test "$hardcode_minus_L_CXX" != no; then
13686 # Linking always hardcodes the temporary library directory.
13687 hardcode_action_CXX=relink
13688 else
13689 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13690 hardcode_action_CXX=immediate
13692 else
13693 # We cannot hardcode anything, or else we can only hardcode existing
13694 # directories.
13695 hardcode_action_CXX=unsupported
13697 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13698 echo "${ECHO_T}$hardcode_action_CXX" >&6
13700 if test "$hardcode_action_CXX" = relink ||
13701 test "$inherit_rpath_CXX" = yes; then
13702 # Fast installation is not supported
13703 enable_fast_install=no
13704 elif test "$shlibpath_overrides_runpath" = yes ||
13705 test "$enable_shared" = no; then
13706 # Fast installation is not necessary
13707 enable_fast_install=needless
13716 fi # test -n "$compiler"
13718 CC=$lt_save_CC
13719 LDCXX=$LD
13720 LD=$lt_save_LD
13721 GCC=$lt_save_GCC
13722 with_gnu_ld=$lt_save_with_gnu_ld
13723 lt_cv_path_LDCXX=$lt_cv_path_LD
13724 lt_cv_path_LD=$lt_save_path_LD
13725 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13726 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13727 fi # test "$_lt_caught_CXX_error" != yes
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13747 ac_config_commands="$ac_config_commands libtool"
13752 # Only expand once:
13758 # Possibly disable most of the library.
13759 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13760 ## than just ignoring the results. Faster /and/ more correct, win win.
13762 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13763 if test "${enable_hosted_libstdcxx+set}" = set; then
13764 enableval="$enable_hosted_libstdcxx"
13766 else
13767 case "$host" in
13768 arm*-*-symbianelf*)
13769 enable_hosted_libstdcxx=no
13772 enable_hosted_libstdcxx=yes
13774 esac
13776 if test "$enable_hosted_libstdcxx" = no; then
13777 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13778 echo "$as_me: Only freestanding libraries will be built" >&6;}
13779 is_hosted=no
13780 hosted_define=0
13781 enable_abi_check=no
13782 enable_libstdcxx_pch=no
13783 else
13784 is_hosted=yes
13785 hosted_define=1
13789 cat >>confdefs.h <<_ACEOF
13790 #define _GLIBCXX_HOSTED $hosted_define
13791 _ACEOF
13795 # Check for compiler support that doesn't require linking.
13797 echo "$as_me:$LINENO: checking for exception model to use" >&5
13798 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13801 ac_ext=cc
13802 ac_cpp='$CXXCPP $CPPFLAGS'
13803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13807 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13808 if test "${enable_sjlj_exceptions+set}" = set; then
13809 enableval="$enable_sjlj_exceptions"
13811 case "$enableval" in
13812 yes|no|auto) ;;
13813 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13814 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13815 { (exit 1); exit 1; }; } ;;
13816 esac
13818 else
13819 enable_sjlj_exceptions=auto
13823 if test $enable_sjlj_exceptions = auto; then
13824 # Botheration. Now we've got to detect the exception model. Link tests
13825 # against libgcc.a are problematic since we've not been given proper -L
13826 # bits for single-tree newlib and libgloss.
13828 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13829 cat > conftest.$ac_ext << EOF
13830 #line 13830 "configure"
13831 struct S { ~S(); };
13832 void bar();
13833 void foo()
13835 S s;
13836 bar();
13839 old_CXXFLAGS="$CXXFLAGS"
13840 CXXFLAGS=-S
13841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13842 (eval $ac_compile) 2>&5
13843 ac_status=$?
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; then
13846 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13847 enable_sjlj_exceptions=yes
13848 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=no
13850 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13854 CXXFLAGS="$old_CXXFLAGS"
13855 rm -f conftest*
13858 # This is a tad weird, for hysterical raisins. We have to map
13859 # enable/disable to two different models.
13860 case $enable_sjlj_exceptions in
13861 yes)
13863 cat >>confdefs.h <<\_ACEOF
13864 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13865 _ACEOF
13867 ac_exception_model_name=sjlj
13870 ac_exception_model_name="call frame"
13873 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13874 echo "$as_me: error: unable to detect exception model" >&2;}
13875 { (exit 1); exit 1; }; }
13877 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13885 echo "${ECHO_T}$ac_exception_model_name" >&6
13888 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13889 if test "${enable_libstdcxx_pch+set}" = set; then
13890 enableval="$enable_libstdcxx_pch"
13892 case "$enableval" in
13893 yes|no) ;;
13894 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13895 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13896 { (exit 1); exit 1; }; } ;;
13897 esac
13899 else
13900 enable_libstdcxx_pch=$is_hosted
13903 if test $enable_libstdcxx_pch = yes; then
13904 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13905 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13906 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13907 echo $ECHO_N "(cached) $ECHO_C" >&6
13908 else
13909 ac_save_CXXFLAGS="$CXXFLAGS"
13910 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13913 ac_ext=cc
13914 ac_cpp='$CXXCPP $CPPFLAGS'
13915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13919 echo '#include <math.h>' > conftest.h
13920 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13921 -o conftest.h.gch 1>&5 2>&1 &&
13922 echo '#error "pch failed"' > conftest.h &&
13923 echo '#include "conftest.h"' > conftest.cc &&
13924 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13925 then
13926 glibcxx_cv_prog_CXX_pch=yes
13927 else
13928 glibcxx_cv_prog_CXX_pch=no
13930 rm -f conftest*
13931 CXXFLAGS=$ac_save_CXXFLAGS
13932 ac_ext=c
13933 ac_cpp='$CPP $CPPFLAGS'
13934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13940 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13941 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13942 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13945 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13946 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13951 if test $enable_libstdcxx_pch = yes; then
13952 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
13953 else
13954 glibcxx_PCHFLAGS=""
13959 # Enable all the variable C++ runtime options.
13961 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13962 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13963 # Check whether --enable-cstdio or --disable-cstdio was given.
13964 if test "${enable_cstdio+set}" = set; then
13965 enableval="$enable_cstdio"
13967 case "$enableval" in
13968 stdio) ;;
13969 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13970 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13971 { (exit 1); exit 1; }; } ;;
13972 esac
13974 else
13975 enable_cstdio=stdio
13979 # Now that libio has been removed, you can have any color you want as long
13980 # as it's black. This is one big no-op until other packages are added, but
13981 # showing the framework never hurts.
13982 case ${enable_cstdio} in
13983 stdio)
13984 CSTDIO_H=config/io/c_io_stdio.h
13985 BASIC_FILE_H=config/io/basic_file_stdio.h
13986 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13987 echo "$as_me:$LINENO: result: stdio" >&5
13988 echo "${ECHO_T}stdio" >&6
13990 esac
13997 # Check whether --enable-clocale or --disable-clocale was given.
13998 if test "${enable_clocale+set}" = set; then
13999 enableval="$enable_clocale"
14001 case "$enableval" in
14002 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14003 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14004 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14005 { (exit 1); exit 1; }; } ;;
14006 esac
14008 else
14009 enable_clocale=auto
14013 # Deal with gettext issues. Default to not using it (=no) until we detect
14014 # support for it later. Let the user turn it off via --e/d, but let that
14015 # default to on for easier handling.
14016 USE_NLS=no
14017 # Check whether --enable-nls or --disable-nls was given.
14018 if test "${enable_nls+set}" = set; then
14019 enableval="$enable_nls"
14021 else
14022 enable_nls=yes
14025 # Either a known packaage, or "auto"
14026 if test $enable_clocale = no || test $enable_clocale = yes; then
14027 enable_clocale=auto
14029 enable_clocale_flag=$enable_clocale
14031 # Probe for locale model to use if none specified.
14032 # Default to "generic".
14033 if test $enable_clocale_flag = auto; then
14034 case ${target_os} in
14035 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14036 enable_clocale_flag=gnu
14038 darwin* | freebsd*)
14039 enable_clocale_flag=darwin
14042 enable_clocale_flag=generic
14044 esac
14047 # Sanity check model, and test for special functionality.
14048 if test $enable_clocale_flag = gnu; then
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14056 #include <features.h>
14057 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14058 _GLIBCXX_ok
14059 #endif
14061 _ACEOF
14062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14063 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14064 enable_clocale_flag=gnu
14065 else
14066 enable_clocale_flag=generic
14068 rm -f conftest*
14071 if test $enable_clocale = auto; then
14072 # Test for bugs early in glibc-2.2.x series
14073 if test "$cross_compiling" = yes; then
14074 enable_clocale_flag=generic
14075 else
14076 cat >conftest.$ac_ext <<_ACEOF
14077 /* confdefs.h. */
14078 _ACEOF
14079 cat confdefs.h >>conftest.$ac_ext
14080 cat >>conftest.$ac_ext <<_ACEOF
14081 /* end confdefs.h. */
14083 #define _GNU_SOURCE 1
14084 #include <locale.h>
14085 #include <string.h>
14086 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14087 extern __typeof(newlocale) __newlocale;
14088 extern __typeof(duplocale) __duplocale;
14089 extern __typeof(strcoll_l) __strcoll_l;
14090 #endif
14091 int main()
14093 const char __one[] = "Äuglein Augmen";
14094 const char __two[] = "Äuglein";
14095 int i;
14096 int j;
14097 __locale_t loc;
14098 __locale_t loc_dup;
14099 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14100 loc_dup = __duplocale(loc);
14101 i = __strcoll_l(__one, __two, loc);
14102 j = __strcoll_l(__one, __two, loc_dup);
14103 return 0;
14106 _ACEOF
14107 rm -f conftest$ac_exeext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14109 (eval $ac_link) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; }; then
14118 enable_clocale_flag=gnu
14119 else
14120 echo "$as_me: program exited with status $ac_status" >&5
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14124 ( exit $ac_status )
14125 enable_clocale_flag=generic
14127 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14131 # Set it to scream when it hurts.
14132 ac_save_CFLAGS="$CFLAGS"
14133 CFLAGS="-Wimplicit-function-declaration -Werror"
14135 # Use strxfrm_l if available.
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #define _GNU_SOURCE 1
14143 #include <string.h>
14144 #include <locale.h>
14146 main ()
14148 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag"
14163 || test ! -s conftest.err'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_STRXFRM_L 1
14178 _ACEOF
14180 else
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.$ac_ext >&5
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14187 # Use strerror_l if available.
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #define _GNU_SOURCE 1
14195 #include <string.h>
14196 #include <locale.h>
14198 main ()
14200 __locale_t loc; strerror_l(5, loc);
14202 return 0;
14204 _ACEOF
14205 rm -f conftest.$ac_objext
14206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14207 (eval $ac_compile) 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } &&
14214 { ac_try='test -z "$ac_c_werror_flag"
14215 || test ! -s conftest.err'
14216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217 (eval $ac_try) 2>&5
14218 ac_status=$?
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); }; } &&
14221 { ac_try='test -s conftest.$ac_objext'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; }; then
14228 cat >>confdefs.h <<\_ACEOF
14229 #define HAVE_STRERROR_L 1
14230 _ACEOF
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14239 CFLAGS="$ac_save_CFLAGS"
14242 # Perhaps use strerror_r if available, and strerror_l isn't.
14243 ac_save_CFLAGS="$CFLAGS"
14244 CFLAGS="-Wimplicit-function-declaration -Werror"
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251 #define _GNU_SOURCE 1
14252 #include <string.h>
14253 #include <locale.h>
14255 main ()
14257 char s[128]; strerror_r(5, s, 128);
14259 return 0;
14261 _ACEOF
14262 rm -f conftest.$ac_objext
14263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14264 (eval $ac_compile) 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -z "$ac_c_werror_flag"
14272 || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14285 cat >>confdefs.h <<\_ACEOF
14286 #define HAVE_STRERROR_R 1
14287 _ACEOF
14289 else
14290 echo "$as_me: failed program was:" >&5
14291 sed 's/^/| /' conftest.$ac_ext >&5
14294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14295 CFLAGS="$ac_save_CFLAGS"
14297 # Set configure bits for specified locale package
14298 echo "$as_me:$LINENO: checking for C locale to use" >&5
14299 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14300 case ${enable_clocale_flag} in
14301 generic)
14302 echo "$as_me:$LINENO: result: generic" >&5
14303 echo "${ECHO_T}generic" >&6
14305 CLOCALE_H=config/locale/generic/c_locale.h
14306 CLOCALE_CC=config/locale/generic/c_locale.cc
14307 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14308 CCOLLATE_CC=config/locale/generic/collate_members.cc
14309 CCTYPE_CC=config/locale/generic/ctype_members.cc
14310 CMESSAGES_H=config/locale/generic/messages_members.h
14311 CMESSAGES_CC=config/locale/generic/messages_members.cc
14312 CMONEY_CC=config/locale/generic/monetary_members.cc
14313 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14314 CTIME_H=config/locale/generic/time_members.h
14315 CTIME_CC=config/locale/generic/time_members.cc
14316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14318 darwin)
14319 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14320 echo "${ECHO_T}darwin or freebsd" >&6
14322 CLOCALE_H=config/locale/generic/c_locale.h
14323 CLOCALE_CC=config/locale/generic/c_locale.cc
14324 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14325 CCOLLATE_CC=config/locale/generic/collate_members.cc
14326 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14327 CMESSAGES_H=config/locale/generic/messages_members.h
14328 CMESSAGES_CC=config/locale/generic/messages_members.cc
14329 CMONEY_CC=config/locale/generic/monetary_members.cc
14330 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14331 CTIME_H=config/locale/generic/time_members.h
14332 CTIME_CC=config/locale/generic/time_members.cc
14333 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14336 gnu)
14337 echo "$as_me:$LINENO: result: gnu" >&5
14338 echo "${ECHO_T}gnu" >&6
14340 # Declare intention to use gettext, and add support for specific
14341 # languages.
14342 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14343 ALL_LINGUAS="de fr"
14345 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14346 # Extract the first word of "msgfmt", so it can be a program name with args.
14347 set dummy msgfmt; ac_word=$2
14348 echo "$as_me:$LINENO: checking for $ac_word" >&5
14349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14350 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 if test -n "$check_msgfmt"; then
14354 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14355 else
14356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357 for as_dir in $PATH
14359 IFS=$as_save_IFS
14360 test -z "$as_dir" && as_dir=.
14361 for ac_exec_ext in '' $ac_executable_extensions; do
14362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363 ac_cv_prog_check_msgfmt="yes"
14364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14365 break 2
14367 done
14368 done
14370 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14373 check_msgfmt=$ac_cv_prog_check_msgfmt
14374 if test -n "$check_msgfmt"; then
14375 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14376 echo "${ECHO_T}$check_msgfmt" >&6
14377 else
14378 echo "$as_me:$LINENO: result: no" >&5
14379 echo "${ECHO_T}no" >&6
14382 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14383 USE_NLS=yes
14385 # Export the build objects.
14386 for ling in $ALL_LINGUAS; do \
14387 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14388 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14389 done
14393 CLOCALE_H=config/locale/gnu/c_locale.h
14394 CLOCALE_CC=config/locale/gnu/c_locale.cc
14395 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14396 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14397 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14398 CMESSAGES_H=config/locale/gnu/messages_members.h
14399 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14400 CMONEY_CC=config/locale/gnu/monetary_members.cc
14401 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14402 CTIME_H=config/locale/gnu/time_members.h
14403 CTIME_CC=config/locale/gnu/time_members.cc
14404 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14406 ieee_1003.1-2001)
14407 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14408 echo "${ECHO_T}IEEE 1003.1" >&6
14410 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14411 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14412 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14413 CCOLLATE_CC=config/locale/generic/collate_members.cc
14414 CCTYPE_CC=config/locale/generic/ctype_members.cc
14415 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14416 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14417 CMONEY_CC=config/locale/generic/monetary_members.cc
14418 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14419 CTIME_H=config/locale/generic/time_members.h
14420 CTIME_CC=config/locale/generic/time_members.cc
14421 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14423 esac
14425 # This is where the testsuite looks for locale catalogs, using the
14426 # -DLOCALEDIR define during testsuite compilation.
14427 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14430 # A standalone libintl (e.g., GNU libintl) may be in use.
14431 if test $USE_NLS = yes; then
14433 for ac_header in libintl.h
14435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14437 echo "$as_me:$LINENO: checking for $ac_header" >&5
14438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14444 else
14445 # Is the header compilable?
14446 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14448 cat >conftest.$ac_ext <<_ACEOF
14449 /* confdefs.h. */
14450 _ACEOF
14451 cat confdefs.h >>conftest.$ac_ext
14452 cat >>conftest.$ac_ext <<_ACEOF
14453 /* end confdefs.h. */
14454 $ac_includes_default
14455 #include <$ac_header>
14456 _ACEOF
14457 rm -f conftest.$ac_objext
14458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14459 (eval $ac_compile) 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } &&
14466 { ac_try='test -z "$ac_c_werror_flag"
14467 || test ! -s conftest.err'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14469 (eval $ac_try) 2>&5
14470 ac_status=$?
14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); }; } &&
14473 { ac_try='test -s conftest.$ac_objext'
14474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14475 (eval $ac_try) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }; }; then
14479 ac_header_compiler=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14484 ac_header_compiler=no
14486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14488 echo "${ECHO_T}$ac_header_compiler" >&6
14490 # Is the header present?
14491 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14499 #include <$ac_header>
14500 _ACEOF
14501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } >/dev/null; then
14509 if test -s conftest.err; then
14510 ac_cpp_err=$ac_c_preproc_warn_flag
14511 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14512 else
14513 ac_cpp_err=
14515 else
14516 ac_cpp_err=yes
14518 if test -z "$ac_cpp_err"; then
14519 ac_header_preproc=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14524 ac_header_preproc=no
14526 rm -f conftest.err conftest.$ac_ext
14527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14528 echo "${ECHO_T}$ac_header_preproc" >&6
14530 # So? What about this header?
14531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14532 yes:no: )
14533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14537 ac_header_preproc=yes
14539 no:yes:* )
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14553 cat <<\_ASBOX
14554 ## ----------------------------------------- ##
14555 ## Report this to the package-unused lists. ##
14556 ## ----------------------------------------- ##
14557 _ASBOX
14559 sed "s/^/$as_me: WARNING: /" >&2
14561 esac
14562 echo "$as_me:$LINENO: checking for $ac_header" >&5
14563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 eval "$as_ac_Header=\$ac_header_preproc"
14569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14574 cat >>confdefs.h <<_ACEOF
14575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14576 _ACEOF
14578 else
14579 USE_NLS=no
14582 done
14584 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14585 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14586 if test "${ac_cv_search_gettext+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_func_search_save_LIBS=$LIBS
14590 ac_cv_search_gettext=no
14591 if test x$gcc_no_link = xyes; then
14592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14594 { (exit 1); exit 1; }; }
14596 cat >conftest.$ac_ext <<_ACEOF
14597 /* confdefs.h. */
14598 _ACEOF
14599 cat confdefs.h >>conftest.$ac_ext
14600 cat >>conftest.$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14603 /* Override any gcc2 internal prototype to avoid an error. */
14604 #ifdef __cplusplus
14605 extern "C"
14606 #endif
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char gettext ();
14611 main ()
14613 gettext ();
14615 return 0;
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try='test -z "$ac_c_werror_flag"
14628 || test ! -s conftest.err'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; } &&
14634 { ac_try='test -s conftest$ac_exeext'
14635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14636 (eval $ac_try) 2>&5
14637 ac_status=$?
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); }; }; then
14640 ac_cv_search_gettext="none required"
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14646 rm -f conftest.err conftest.$ac_objext \
14647 conftest$ac_exeext conftest.$ac_ext
14648 if test "$ac_cv_search_gettext" = no; then
14649 for ac_lib in intl; do
14650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if test x$gcc_no_link = xyes; then
14652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14654 { (exit 1); exit 1; }; }
14656 cat >conftest.$ac_ext <<_ACEOF
14657 /* confdefs.h. */
14658 _ACEOF
14659 cat confdefs.h >>conftest.$ac_ext
14660 cat >>conftest.$ac_ext <<_ACEOF
14661 /* end confdefs.h. */
14663 /* Override any gcc2 internal prototype to avoid an error. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 /* We use char because int might match the return type of a gcc2
14668 builtin and then its argument prototype would still apply. */
14669 char gettext ();
14671 main ()
14673 gettext ();
14675 return 0;
14677 _ACEOF
14678 rm -f conftest.$ac_objext conftest$ac_exeext
14679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14680 (eval $ac_link) 2>conftest.er1
14681 ac_status=$?
14682 grep -v '^ *+' conftest.er1 >conftest.err
14683 rm -f conftest.er1
14684 cat conftest.err >&5
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); } &&
14687 { ac_try='test -z "$ac_c_werror_flag"
14688 || test ! -s conftest.err'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; } &&
14694 { ac_try='test -s conftest$ac_exeext'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_cv_search_gettext="-l$ac_lib"
14701 break
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14707 rm -f conftest.err conftest.$ac_objext \
14708 conftest$ac_exeext conftest.$ac_ext
14709 done
14711 LIBS=$ac_func_search_save_LIBS
14713 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14714 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14715 if test "$ac_cv_search_gettext" != no; then
14716 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14718 else
14719 USE_NLS=no
14723 if test $USE_NLS = yes; then
14725 cat >>confdefs.h <<\_ACEOF
14726 #define _GLIBCXX_USE_NLS 1
14727 _ACEOF
14746 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14747 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14748 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14749 if test "${enable_libstdcxx_allocator+set}" = set; then
14750 enableval="$enable_libstdcxx_allocator"
14752 case "$enableval" in
14753 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14754 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14755 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14756 { (exit 1); exit 1; }; } ;;
14757 esac
14759 else
14760 enable_libstdcxx_allocator=auto
14764 # If they didn't use this option switch, or if they specified --enable
14765 # with no specific model, we'll have to look for one. If they
14766 # specified --disable (???), do likewise.
14767 if test $enable_libstdcxx_allocator = no ||
14768 test $enable_libstdcxx_allocator = yes;
14769 then
14770 enable_libstdcxx_allocator=auto
14773 # Either a known package, or "auto". Auto implies the default choice
14774 # for a particular platform.
14775 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14777 # Probe for host-specific support if no specific model is specified.
14778 # Default to "new".
14779 if test $enable_libstdcxx_allocator_flag = auto; then
14780 case ${target_os} in
14781 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14782 enable_libstdcxx_allocator_flag=new
14785 enable_libstdcxx_allocator_flag=new
14787 esac
14789 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14790 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14793 # Set configure bits for specified locale package
14794 case ${enable_libstdcxx_allocator_flag} in
14795 bitmap)
14796 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14797 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14799 malloc)
14800 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14801 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14804 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14805 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14807 new)
14808 ALLOCATOR_H=config/allocator/new_allocator_base.h
14809 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14811 pool)
14812 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14813 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14815 esac
14821 # Check whether --enable-cheaders or --disable-cheaders was given.
14822 if test "${enable_cheaders+set}" = set; then
14823 enableval="$enable_cheaders"
14825 case "$enableval" in
14826 c|c_std|c_global) ;;
14827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14828 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14829 { (exit 1); exit 1; }; } ;;
14830 esac
14832 else
14833 enable_cheaders=$c_model
14836 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14837 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14839 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14841 # Allow overrides to configure.host here.
14842 if test $enable_cheaders = c_global; then
14843 c_compatibility=yes
14846 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14847 c_extra=yes
14857 # Check whether --enable-long-long or --disable-long-long was given.
14858 if test "${enable_long_long+set}" = set; then
14859 enableval="$enable_long_long"
14861 case "$enableval" in
14862 yes|no) ;;
14863 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14864 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14865 { (exit 1); exit 1; }; } ;;
14866 esac
14868 else
14869 enable_long_long=yes
14872 if test $enable_long_long = yes; then
14874 cat >>confdefs.h <<\_ACEOF
14875 #define _GLIBCXX_USE_LONG_LONG 1
14876 _ACEOF
14879 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14880 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14881 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14882 echo "${ECHO_T}$enable_long_long" >&6
14885 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14886 if test "${enable_wchar_t+set}" = set; then
14887 enableval="$enable_wchar_t"
14889 case "$enableval" in
14890 yes|no) ;;
14891 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14892 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14893 { (exit 1); exit 1; }; } ;;
14894 esac
14896 else
14897 enable_wchar_t=yes
14901 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14903 for ac_header in wchar.h
14905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14907 echo "$as_me:$LINENO: checking for $ac_header" >&5
14908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6
14912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14914 else
14915 # Is the header compilable?
14916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924 $ac_includes_default
14925 #include <$ac_header>
14926 _ACEOF
14927 rm -f conftest.$ac_objext
14928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14929 (eval $ac_compile) 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } &&
14936 { ac_try='test -z "$ac_c_werror_flag"
14937 || test ! -s conftest.err'
14938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939 (eval $ac_try) 2>&5
14940 ac_status=$?
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; } &&
14943 { ac_try='test -s conftest.$ac_objext'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; }; then
14949 ac_header_compiler=yes
14950 else
14951 echo "$as_me: failed program was:" >&5
14952 sed 's/^/| /' conftest.$ac_ext >&5
14954 ac_header_compiler=no
14956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14958 echo "${ECHO_T}$ac_header_compiler" >&6
14960 # Is the header present?
14961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <$ac_header>
14970 _ACEOF
14971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14973 ac_status=$?
14974 grep -v '^ *+' conftest.er1 >conftest.err
14975 rm -f conftest.er1
14976 cat conftest.err >&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } >/dev/null; then
14979 if test -s conftest.err; then
14980 ac_cpp_err=$ac_c_preproc_warn_flag
14981 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14982 else
14983 ac_cpp_err=
14985 else
14986 ac_cpp_err=yes
14988 if test -z "$ac_cpp_err"; then
14989 ac_header_preproc=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14994 ac_header_preproc=no
14996 rm -f conftest.err conftest.$ac_ext
14997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14998 echo "${ECHO_T}$ac_header_preproc" >&6
15000 # So? What about this header?
15001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15002 yes:no: )
15003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15007 ac_header_preproc=yes
15009 no:yes:* )
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15023 cat <<\_ASBOX
15024 ## ----------------------------------------- ##
15025 ## Report this to the package-unused lists. ##
15026 ## ----------------------------------------- ##
15027 _ASBOX
15029 sed "s/^/$as_me: WARNING: /" >&2
15031 esac
15032 echo "$as_me:$LINENO: checking for $ac_header" >&5
15033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15036 else
15037 eval "$as_ac_Header=\$ac_header_preproc"
15039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15044 cat >>confdefs.h <<_ACEOF
15045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15046 _ACEOF
15047 ac_has_wchar_h=yes
15048 else
15049 ac_has_wchar_h=no
15052 done
15054 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15055 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062 #include <wchar.h>
15064 main ()
15066 mbstate_t teststate;
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15073 (eval $ac_compile) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest.$ac_objext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 have_mbstate_t=yes
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 have_mbstate_t=no
15100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15101 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15102 echo "${ECHO_T}$have_mbstate_t" >&6
15103 if test x"$have_mbstate_t" = xyes; then
15105 cat >>confdefs.h <<\_ACEOF
15106 #define HAVE_MBSTATE_T 1
15107 _ACEOF
15111 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15112 # ac_has_wchar_h.
15114 for ac_header in wctype.h
15116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15118 echo "$as_me:$LINENO: checking for $ac_header" >&5
15119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15125 else
15126 # Is the header compilable?
15127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15129 cat >conftest.$ac_ext <<_ACEOF
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 #include <$ac_header>
15137 _ACEOF
15138 rm -f conftest.$ac_objext
15139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15140 (eval $ac_compile) 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } &&
15147 { ac_try='test -z "$ac_c_werror_flag"
15148 || test ! -s conftest.err'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_header_compiler=yes
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15165 ac_header_compiler=no
15167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15169 echo "${ECHO_T}$ac_header_compiler" >&6
15171 # Is the header present?
15172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15174 cat >conftest.$ac_ext <<_ACEOF
15175 /* confdefs.h. */
15176 _ACEOF
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 #include <$ac_header>
15181 _ACEOF
15182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } >/dev/null; then
15190 if test -s conftest.err; then
15191 ac_cpp_err=$ac_c_preproc_warn_flag
15192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15193 else
15194 ac_cpp_err=
15196 else
15197 ac_cpp_err=yes
15199 if test -z "$ac_cpp_err"; then
15200 ac_header_preproc=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15205 ac_header_preproc=no
15207 rm -f conftest.err conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15209 echo "${ECHO_T}$ac_header_preproc" >&6
15211 # So? What about this header?
15212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15213 yes:no: )
15214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15218 ac_header_preproc=yes
15220 no:yes:* )
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15224 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15228 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15234 cat <<\_ASBOX
15235 ## ----------------------------------------- ##
15236 ## Report this to the package-unused lists. ##
15237 ## ----------------------------------------- ##
15238 _ASBOX
15240 sed "s/^/$as_me: WARNING: /" >&2
15242 esac
15243 echo "$as_me:$LINENO: checking for $ac_header" >&5
15244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 eval "$as_ac_Header=\$ac_header_preproc"
15250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15255 cat >>confdefs.h <<_ACEOF
15256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15257 _ACEOF
15258 ac_has_wctype_h=yes
15259 else
15260 ac_has_wctype_h=no
15263 done
15266 if test x"$enable_wchar_t" = x"yes"; then
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15277 if test x"$ac_has_wchar_h" = xyes &&
15278 test x"$ac_has_wctype_h" = xyes; then
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285 #include <wchar.h>
15286 #include <stddef.h>
15287 wint_t i;
15288 long l = WEOF;
15289 long j = WCHAR_MIN;
15290 long k = WCHAR_MAX;
15291 namespace test
15293 using ::btowc;
15294 using ::fgetwc;
15295 using ::fgetws;
15296 using ::fputwc;
15297 using ::fputws;
15298 using ::fwide;
15299 using ::fwprintf;
15300 using ::fwscanf;
15301 using ::getwc;
15302 using ::getwchar;
15303 using ::mbrlen;
15304 using ::mbrtowc;
15305 using ::mbsinit;
15306 using ::mbsrtowcs;
15307 using ::putwc;
15308 using ::putwchar;
15309 using ::swprintf;
15310 using ::swscanf;
15311 using ::ungetwc;
15312 using ::vfwprintf;
15313 using ::vswprintf;
15314 using ::vwprintf;
15315 using ::wcrtomb;
15316 using ::wcscat;
15317 using ::wcschr;
15318 using ::wcscmp;
15319 using ::wcscoll;
15320 using ::wcscpy;
15321 using ::wcscspn;
15322 using ::wcsftime;
15323 using ::wcslen;
15324 using ::wcsncat;
15325 using ::wcsncmp;
15326 using ::wcsncpy;
15327 using ::wcspbrk;
15328 using ::wcsrchr;
15329 using ::wcsrtombs;
15330 using ::wcsspn;
15331 using ::wcsstr;
15332 using ::wcstod;
15333 using ::wcstok;
15334 using ::wcstol;
15335 using ::wcstoul;
15336 using ::wcsxfrm;
15337 using ::wctob;
15338 using ::wmemchr;
15339 using ::wmemcmp;
15340 using ::wmemcpy;
15341 using ::wmemmove;
15342 using ::wmemset;
15343 using ::wprintf;
15344 using ::wscanf;
15348 main ()
15352 return 0;
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15357 (eval $ac_compile) 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } &&
15364 { ac_try='test -z "$ac_cxx_werror_flag"
15365 || test ! -s conftest.err'
15366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367 (eval $ac_try) 2>&5
15368 ac_status=$?
15369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370 (exit $ac_status); }; } &&
15371 { ac_try='test -s conftest.$ac_objext'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15374 ac_status=$?
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; }; then
15378 else
15379 echo "$as_me: failed program was:" >&5
15380 sed 's/^/| /' conftest.$ac_ext >&5
15382 enable_wchar_t=no
15384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385 else
15386 enable_wchar_t=no
15389 ac_ext=c
15390 ac_cpp='$CPP $CPPFLAGS'
15391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15397 if test x"$enable_wchar_t" = x"yes"; then
15399 cat >>confdefs.h <<\_ACEOF
15400 #define _GLIBCXX_USE_WCHAR_T 1
15401 _ACEOF
15405 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15406 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15407 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15408 echo "${ECHO_T}$enable_wchar_t" >&6
15412 # Check whether --enable-c99 or --disable-c99 was given.
15413 if test "${enable_c99+set}" = set; then
15414 enableval="$enable_c99"
15416 case "$enableval" in
15417 yes|no) ;;
15418 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15419 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15423 else
15424 enable_c99=yes
15428 if test x"$enable_c99" = x"yes"; then
15432 ac_ext=cc
15433 ac_cpp='$CXXCPP $CPPFLAGS'
15434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15439 # Check for the existence of <math.h> functions used if C99 is enabled.
15440 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15441 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15442 if test "${ac_c99_math+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 #include <math.h>
15454 main ()
15456 fpclassify(0.0);
15457 isfinite(0.0);
15458 isinf(0.0);
15459 isnan(0.0);
15460 isnormal(0.0);
15461 signbit(0.0);
15462 isgreater(0.0,0.0);
15463 isgreaterequal(0.0,0.0);
15464 isless(0.0,0.0);
15465 islessequal(0.0,0.0);
15466 islessgreater(0.0,0.0);
15467 islessgreater(0.0,0.0);
15468 isunordered(0.0,0.0);
15471 return 0;
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_cxx_werror_flag"
15484 || test ! -s conftest.err'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; } &&
15490 { ac_try='test -s conftest.$ac_objext'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5
15493 ac_status=$?
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }; }; then
15496 ac_c99_math=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15501 ac_c99_math=no
15503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15507 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15508 echo "${ECHO_T}$ac_c99_math" >&6
15509 if test x"$ac_c99_math" = x"yes"; then
15511 cat >>confdefs.h <<\_ACEOF
15512 #define _GLIBCXX_USE_C99_MATH 1
15513 _ACEOF
15517 # Check for the existence of <complex.h> complex math functions.
15518 # This is necessary even though libstdc++ uses the builtin versions
15519 # of these functions, because if the builtin cannot be used, a reference
15520 # to the library function is emitted.
15522 for ac_header in tgmath.h
15524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15526 echo "$as_me:$LINENO: checking for $ac_header" >&5
15527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15533 else
15534 # Is the header compilable?
15535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15544 #include <$ac_header>
15545 _ACEOF
15546 rm -f conftest.$ac_objext
15547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15548 (eval $ac_compile) 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } &&
15555 { ac_try='test -z "$ac_cxx_werror_flag"
15556 || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest.$ac_objext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_header_compiler=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15573 ac_header_compiler=no
15575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15577 echo "${ECHO_T}$ac_header_compiler" >&6
15579 # Is the header present?
15580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15582 cat >conftest.$ac_ext <<_ACEOF
15583 /* confdefs.h. */
15584 _ACEOF
15585 cat confdefs.h >>conftest.$ac_ext
15586 cat >>conftest.$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #include <$ac_header>
15589 _ACEOF
15590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15592 ac_status=$?
15593 grep -v '^ *+' conftest.er1 >conftest.err
15594 rm -f conftest.er1
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } >/dev/null; then
15598 if test -s conftest.err; then
15599 ac_cpp_err=$ac_cxx_preproc_warn_flag
15600 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15601 else
15602 ac_cpp_err=
15604 else
15605 ac_cpp_err=yes
15607 if test -z "$ac_cpp_err"; then
15608 ac_header_preproc=yes
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 ac_header_preproc=no
15615 rm -f conftest.err conftest.$ac_ext
15616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15617 echo "${ECHO_T}$ac_header_preproc" >&6
15619 # So? What about this header?
15620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15621 yes:no: )
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15626 ac_header_preproc=yes
15628 no:yes:* )
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15642 cat <<\_ASBOX
15643 ## ----------------------------------------- ##
15644 ## Report this to the package-unused lists. ##
15645 ## ----------------------------------------- ##
15646 _ASBOX
15648 sed "s/^/$as_me: WARNING: /" >&2
15650 esac
15651 echo "$as_me:$LINENO: checking for $ac_header" >&5
15652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 eval "$as_ac_Header=\$ac_header_preproc"
15658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15663 cat >>confdefs.h <<_ACEOF
15664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15665 _ACEOF
15666 ac_has_tgmath_h=yes
15667 else
15668 ac_has_tgmath_h=no
15671 done
15674 for ac_header in complex.h
15676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo "$as_me:$LINENO: checking for $ac_header" >&5
15679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15685 else
15686 # Is the header compilable?
15687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15696 #include <$ac_header>
15697 _ACEOF
15698 rm -f conftest.$ac_objext
15699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15700 (eval $ac_compile) 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_cxx_werror_flag"
15708 || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_header_compiler=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15725 ac_header_compiler=no
15727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15729 echo "${ECHO_T}$ac_header_compiler" >&6
15731 # Is the header present?
15732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15734 cat >conftest.$ac_ext <<_ACEOF
15735 /* confdefs.h. */
15736 _ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 #include <$ac_header>
15741 _ACEOF
15742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15744 ac_status=$?
15745 grep -v '^ *+' conftest.er1 >conftest.err
15746 rm -f conftest.er1
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } >/dev/null; then
15750 if test -s conftest.err; then
15751 ac_cpp_err=$ac_cxx_preproc_warn_flag
15752 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15753 else
15754 ac_cpp_err=
15756 else
15757 ac_cpp_err=yes
15759 if test -z "$ac_cpp_err"; then
15760 ac_header_preproc=yes
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15765 ac_header_preproc=no
15767 rm -f conftest.err conftest.$ac_ext
15768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15769 echo "${ECHO_T}$ac_header_preproc" >&6
15771 # So? What about this header?
15772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15773 yes:no: )
15774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15778 ac_header_preproc=yes
15780 no:yes:* )
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15794 cat <<\_ASBOX
15795 ## ----------------------------------------- ##
15796 ## Report this to the package-unused lists. ##
15797 ## ----------------------------------------- ##
15798 _ASBOX
15800 sed "s/^/$as_me: WARNING: /" >&2
15802 esac
15803 echo "$as_me:$LINENO: checking for $ac_header" >&5
15804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808 eval "$as_ac_Header=\$ac_header_preproc"
15810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15815 cat >>confdefs.h <<_ACEOF
15816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15817 _ACEOF
15818 ac_has_complex_h=yes
15819 else
15820 ac_has_complex_h=no
15823 done
15825 ac_c99_complex=no;
15826 if test x"$ac_has_complex_h" = x"yes"; then
15827 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15828 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15829 cat >conftest.$ac_ext <<_ACEOF
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 #include <complex.h>
15837 main ()
15839 typedef __complex__ float float_type; float_type tmpf;
15840 cabsf(tmpf);
15841 cargf(tmpf);
15842 ccosf(tmpf);
15843 ccoshf(tmpf);
15844 cexpf(tmpf);
15845 clogf(tmpf);
15846 csinf(tmpf);
15847 csinhf(tmpf);
15848 csqrtf(tmpf);
15849 ctanf(tmpf);
15850 ctanhf(tmpf);
15851 cpowf(tmpf, tmpf);
15852 typedef __complex__ double double_type; double_type tmpd;
15853 cabs(tmpd);
15854 carg(tmpd);
15855 ccos(tmpd);
15856 ccosh(tmpd);
15857 cexp(tmpd);
15858 clog(tmpd);
15859 csin(tmpd);
15860 csinh(tmpd);
15861 csqrt(tmpd);
15862 ctan(tmpd);
15863 ctanh(tmpd);
15864 cpow(tmpd, tmpd);
15865 typedef __complex__ long double ld_type; ld_type tmpld;
15866 cabsl(tmpld);
15867 cargl(tmpld);
15868 ccosl(tmpld);
15869 ccoshl(tmpld);
15870 cexpl(tmpld);
15871 clogl(tmpld);
15872 csinl(tmpld);
15873 csinhl(tmpld);
15874 csqrtl(tmpld);
15875 ctanl(tmpld);
15876 ctanhl(tmpld);
15877 cpowl(tmpld, tmpld);
15880 return 0;
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try='test -z "$ac_cxx_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_c99_complex=yes
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15910 ac_c99_complex=no
15912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15914 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
15915 echo "${ECHO_T}$ac_c99_complex" >&6
15916 if test x"$ac_c99_complex" = x"yes"; then
15918 cat >>confdefs.h <<\_ACEOF
15919 #define _GLIBCXX_USE_C99_COMPLEX 1
15920 _ACEOF
15924 # Check for the existence in <stdio.h> of vscanf, et. al.
15925 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
15926 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
15927 if test "${ac_c99_stdio+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 #include <stdio.h>
15938 #include <stdarg.h>
15939 void foo(char* fmt, ...)
15941 va_list args; va_start(args, fmt);
15942 vfscanf(stderr, "%i", args);
15943 vscanf("%i", args);
15944 vsnprintf(fmt, 0, "%i", args);
15945 vsscanf(fmt, "%i", args);
15948 main ()
15950 snprintf("12", 0, "%i");
15952 return 0;
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15958 ac_status=$?
15959 grep -v '^ *+' conftest.er1 >conftest.err
15960 rm -f conftest.er1
15961 cat conftest.err >&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try='test -z "$ac_cxx_werror_flag"
15965 || test ! -s conftest.err'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; } &&
15971 { ac_try='test -s conftest.$ac_objext'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; }; then
15977 ac_c99_stdio=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15982 ac_c99_stdio=no
15984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15988 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
15989 echo "${ECHO_T}$ac_c99_stdio" >&6
15991 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
15992 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
15993 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
15994 if test "${ac_c99_stdlib+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15998 cat >conftest.$ac_ext <<_ACEOF
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 #include <stdlib.h>
16006 main ()
16008 char* tmp;
16009 strtof("gnu", &tmp);
16010 strtold("gnu", &tmp);
16011 strtoll("gnu", &tmp, 10);
16012 strtoull("gnu", &tmp, 10);
16013 llabs(10);
16014 lldiv(10,1);
16015 atoll("10");
16016 _Exit(0);
16017 lldiv_t mydivt;
16019 return 0;
16021 _ACEOF
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try='test -z "$ac_cxx_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_c99_stdlib=yes
16045 else
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16049 ac_c99_stdlib=no
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16055 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16056 echo "${ECHO_T}$ac_c99_stdlib" >&6
16058 # Check for the existence in <wchar.h> of wcstold, etc.
16059 ac_c99_wchar=no;
16060 if test x"$ac_has_wchar_h" = xyes &&
16061 test x"$ac_has_wctype_h" = xyes; then
16062 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16063 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16064 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */
16066 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 #include <wchar.h>
16071 namespace test
16073 using ::wcstold;
16074 using ::wcstoll;
16075 using ::wcstoull;
16079 main ()
16083 return 0;
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_cxx_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_c99_wchar=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_c99_wchar=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 # Checks for wide character functions that may not be present.
16118 # Injection of these is wrapped with guard macros.
16119 # NB: only put functions here, instead of immediately above, if
16120 # absolutely necessary.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #include <wchar.h>
16128 namespace test { using ::vfwscanf; }
16130 main ()
16134 return 0;
16136 _ACEOF
16137 rm -f conftest.$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_cxx_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16160 cat >>confdefs.h <<\_ACEOF
16161 #define HAVE_VFWSCANF 1
16162 _ACEOF
16164 else
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 #include <wchar.h>
16178 namespace test { using ::vswscanf; }
16180 main ()
16184 return 0;
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16210 cat >>confdefs.h <<\_ACEOF
16211 #define HAVE_VSWSCANF 1
16212 _ACEOF
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 #include <wchar.h>
16228 namespace test { using ::vwscanf; }
16230 main ()
16234 return 0;
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_cxx_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16260 cat >>confdefs.h <<\_ACEOF
16261 #define HAVE_VWSCANF 1
16262 _ACEOF
16264 else
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.$ac_ext >&5
16269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 #include <wchar.h>
16278 namespace test { using ::wcstof; }
16280 main ()
16284 return 0;
16286 _ACEOF
16287 rm -f conftest.$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_cxx_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16310 cat >>confdefs.h <<\_ACEOF
16311 #define HAVE_WCSTOF 1
16312 _ACEOF
16314 else
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.$ac_ext >&5
16319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 #include <wctype.h>
16329 main ()
16331 wint_t t; int i = iswblank(t);
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16359 cat >>confdefs.h <<\_ACEOF
16360 #define HAVE_ISWBLANK 1
16361 _ACEOF
16363 else
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16371 echo "${ECHO_T}$ac_c99_wchar" >&6
16374 # Option parsed, now set things appropriately.
16375 if test x"$ac_c99_math" = x"no" ||
16376 test x"$ac_c99_complex" = x"no" ||
16377 test x"$ac_c99_stdio" = x"no" ||
16378 test x"$ac_c99_stdlib" = x"no" ||
16379 test x"$ac_c99_wchar" = x"no"; then
16380 enable_c99=no;
16381 else
16383 cat >>confdefs.h <<\_ACEOF
16384 #define _GLIBCXX_USE_C99 1
16385 _ACEOF
16389 ac_ext=c
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16397 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16398 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16399 echo "$as_me:$LINENO: result: $enable_c99" >&5
16400 echo "${ECHO_T}$enable_c99" >&6
16403 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16404 if test "${enable_concept_checks+set}" = set; then
16405 enableval="$enable_concept_checks"
16407 case "$enableval" in
16408 yes|no) ;;
16409 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16410 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16411 { (exit 1); exit 1; }; } ;;
16412 esac
16414 else
16415 enable_concept_checks=no
16418 if test $enable_concept_checks = yes; then
16420 cat >>confdefs.h <<\_ACEOF
16421 #define _GLIBCXX_CONCEPT_CHECKS 1
16422 _ACEOF
16427 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16428 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16429 enableval="$enable_libstdcxx_debug_flags"
16430 case "x$enable_libstdcxx_debug_flags" in
16431 xno | x) enable_libstdcxx_debug_flags= ;;
16432 x-*) ;;
16433 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16434 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16435 { (exit 1); exit 1; }; } ;;
16436 esac
16437 else
16438 enable_libstdcxx_debug_flags="-g3 -O0"
16442 # Option parsed, now set things appropriately
16443 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16446 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16447 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16450 echo "$as_me:$LINENO: checking for additional debug build" >&5
16451 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16452 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16453 if test "${enable_libstdcxx_debug+set}" = set; then
16454 enableval="$enable_libstdcxx_debug"
16456 case "$enableval" in
16457 yes|no) ;;
16458 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16459 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16460 { (exit 1); exit 1; }; } ;;
16461 esac
16463 else
16464 enable_libstdcxx_debug=no
16467 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16468 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16471 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16472 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16473 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16474 if test "${enable_cxx_flags+set}" = set; then
16475 enableval="$enable_cxx_flags"
16476 case "x$enable_cxx_flags" in
16477 xno | x) enable_cxx_flags= ;;
16478 x-*) ;;
16479 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16480 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16481 { (exit 1); exit 1; }; } ;;
16482 esac
16483 else
16484 enable_cxx_flags=
16488 # Run through flags (either default or command-line) and set anything
16489 # extra (e.g., #defines) that must accompany particular g++ options.
16490 if test -n "$enable_cxx_flags"; then
16491 for f in $enable_cxx_flags; do
16492 case "$f" in
16493 -fhonor-std) ;;
16494 -*) ;;
16495 *) # and we're trying to pass /what/ exactly?
16496 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16497 echo "$as_me: error: compiler flags start with a -" >&2;}
16498 { (exit 1); exit 1; }; } ;;
16499 esac
16500 done
16503 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16504 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16505 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16509 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16510 if test "${enable_fully_dynamic_string+set}" = set; then
16511 enableval="$enable_fully_dynamic_string"
16513 case "$enableval" in
16514 yes|no) ;;
16515 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16516 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16517 { (exit 1); exit 1; }; } ;;
16518 esac
16520 else
16521 enable_fully_dynamic_string=no
16524 if test $enable_fully_dynamic_string = yes; then
16526 cat >>confdefs.h <<\_ACEOF
16527 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16528 _ACEOF
16533 # No surprises, no surprises...
16535 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
16536 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
16537 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
16538 echo "$as_me:$LINENO: result: $target_thread_file" >&5
16539 echo "${ECHO_T}$target_thread_file" >&6
16541 if test $target_thread_file != single; then
16543 cat >>confdefs.h <<\_ACEOF
16544 #define HAVE_GTHR_DEFAULT 1
16545 _ACEOF
16549 glibcxx_thread_h=gthr-$target_thread_file.h
16551 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
16552 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
16553 enable_thread=yes
16554 else
16555 enable_thread=no
16561 echo "$as_me:$LINENO: checking for atomic builtins" >&5
16562 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
16565 ac_ext=cc
16566 ac_cpp='$CXXCPP $CPPFLAGS'
16567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16572 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
16573 cat > conftest.$ac_ext << EOF
16574 #line 16574 "configure"
16575 int main()
16577 // NB: _Atomic_word not necessarily int.
16578 typedef int atomic_type;
16579 atomic_type c1;
16580 atomic_type c2;
16581 const atomic_type c3(0);
16582 if (__sync_fetch_and_add(&c1, c2) == c3)
16584 // Do something.
16586 return 0;
16589 old_CXXFLAGS="$CXXFLAGS"
16590 CXXFLAGS=-S
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>&5
16593 ac_status=$?
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; then
16596 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
16597 enable_atomic_builtins=no
16598 else
16600 cat >>confdefs.h <<\_ACEOF
16601 #define _GLIBCXX_ATOMIC_BUILTINS 1
16602 _ACEOF
16604 enable_atomic_builtins=yes
16605 atomicity_dir=cpu/generic/atomicity_builtins
16608 CXXFLAGS="$old_CXXFLAGS"
16609 rm -f conftest*
16611 # Now, if still generic, set to mutex.
16612 if test $atomicity_dir = "cpu/generic" ; then
16613 atomicity_dir=cpu/generic/atomicity_mutex
16615 ac_ext=c
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16621 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
16622 echo "${ECHO_T}$enable_atomic_builtins" >&6
16624 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
16625 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
16626 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16627 if test $target_thread_file = single; then
16628 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
16629 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16630 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16631 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16632 else
16633 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
16634 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16635 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
16636 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16641 # All these tests are for C++; save the language and the compiler flags.
16642 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16643 # found in GLIBCXX_CONFIGURE.
16646 ac_ext=cc
16647 ac_cpp='$CXXCPP $CPPFLAGS'
16648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16652 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16653 ac_save_CXXFLAGS="$CXXFLAGS"
16655 # Check for maintainer-mode bits.
16656 if test x"$USE_MAINTAINER_MODE" = xno; then
16657 WERROR=''
16658 else
16659 WERROR='-Werror'
16662 # Check for -ffunction-sections -fdata-sections
16663 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16664 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
16665 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 int foo; void bar() { };
16674 main ()
16678 return 0;
16680 _ACEOF
16681 rm -f conftest.$ac_objext
16682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16683 (eval $ac_compile) 2>conftest.er1
16684 ac_status=$?
16685 grep -v '^ *+' conftest.er1 >conftest.err
16686 rm -f conftest.er1
16687 cat conftest.err >&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); } &&
16690 { ac_try='test -z "$ac_cxx_werror_flag"
16691 || test ! -s conftest.err'
16692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16693 (eval $ac_try) 2>&5
16694 ac_status=$?
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); }; } &&
16697 { ac_try='test -s conftest.$ac_objext'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; }; then
16703 ac_fdsections=yes
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16708 ac_fdsections=no
16710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16711 if test "$ac_test_CXXFLAGS" = set; then
16712 CXXFLAGS="$ac_save_CXXFLAGS"
16713 else
16714 # this is the suspicious part
16715 CXXFLAGS=''
16717 if test x"$ac_fdsections" = x"yes"; then
16718 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16720 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
16721 echo "${ECHO_T}$ac_fdsections" >&6
16723 ac_ext=c
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16733 if $GLIBCXX_IS_NATIVE; then
16735 # We can do more elaborate tests that assume a working linker.
16736 CANADIAN=no
16738 # Check for available headers.
16754 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
16755 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
16756 sys/types.h sys/ipc.h sys/sem.h
16758 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16760 echo "$as_me:$LINENO: checking for $ac_header" >&5
16761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16763 echo $ECHO_N "(cached) $ECHO_C" >&6
16765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16767 else
16768 # Is the header compilable?
16769 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16770 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16771 cat >conftest.$ac_ext <<_ACEOF
16772 /* confdefs.h. */
16773 _ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16777 $ac_includes_default
16778 #include <$ac_header>
16779 _ACEOF
16780 rm -f conftest.$ac_objext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } &&
16789 { ac_try='test -z "$ac_c_werror_flag"
16790 || test ! -s conftest.err'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16793 ac_status=$?
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; } &&
16796 { ac_try='test -s conftest.$ac_objext'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16802 ac_header_compiler=yes
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16807 ac_header_compiler=no
16809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16811 echo "${ECHO_T}$ac_header_compiler" >&6
16813 # Is the header present?
16814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16816 cat >conftest.$ac_ext <<_ACEOF
16817 /* confdefs.h. */
16818 _ACEOF
16819 cat confdefs.h >>conftest.$ac_ext
16820 cat >>conftest.$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 #include <$ac_header>
16823 _ACEOF
16824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16826 ac_status=$?
16827 grep -v '^ *+' conftest.er1 >conftest.err
16828 rm -f conftest.er1
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } >/dev/null; then
16832 if test -s conftest.err; then
16833 ac_cpp_err=$ac_c_preproc_warn_flag
16834 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16835 else
16836 ac_cpp_err=
16838 else
16839 ac_cpp_err=yes
16841 if test -z "$ac_cpp_err"; then
16842 ac_header_preproc=yes
16843 else
16844 echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.$ac_ext >&5
16847 ac_header_preproc=no
16849 rm -f conftest.err conftest.$ac_ext
16850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16851 echo "${ECHO_T}$ac_header_preproc" >&6
16853 # So? What about this header?
16854 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16855 yes:no: )
16856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16859 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16860 ac_header_preproc=yes
16862 no:yes:* )
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16864 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16866 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16867 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16868 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16869 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16870 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16872 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16874 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16876 cat <<\_ASBOX
16877 ## ----------------------------------------- ##
16878 ## Report this to the package-unused lists. ##
16879 ## ----------------------------------------- ##
16880 _ASBOX
16882 sed "s/^/$as_me: WARNING: /" >&2
16884 esac
16885 echo "$as_me:$LINENO: checking for $ac_header" >&5
16886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16888 echo $ECHO_N "(cached) $ECHO_C" >&6
16889 else
16890 eval "$as_ac_Header=\$ac_header_preproc"
16892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16893 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16897 cat >>confdefs.h <<_ACEOF
16898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16899 _ACEOF
16903 done
16908 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16909 if test "${with_gnu_ld+set}" = set; then
16910 withval="$with_gnu_ld"
16911 test "$withval" = no || with_gnu_ld=yes
16912 else
16913 with_gnu_ld=no
16915 ac_prog=ld
16916 if test "$GCC" = yes; then
16917 # Check if gcc -print-prog-name=ld gives a path.
16918 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
16919 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
16920 case $host in
16921 *-*-mingw*)
16922 # gcc leaves a trailing carriage return which upsets mingw
16923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16926 esac
16927 case $ac_prog in
16928 # Accept absolute paths.
16929 [\\/]* | ?:[\\/]*)
16930 re_direlt='/[^/][^/]*/\.\./'
16931 # Canonicalize the pathname of ld
16932 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
16933 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
16934 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
16935 done
16936 test -z "$LD" && LD="$ac_prog"
16939 # If it fails, then pretend we aren't using GCC.
16940 ac_prog=ld
16943 # If it is relative, then search for the first ld in PATH.
16944 with_gnu_ld=unknown
16946 esac
16947 elif test "$with_gnu_ld" = yes; then
16948 echo "$as_me:$LINENO: checking for GNU ld" >&5
16949 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16950 else
16951 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16952 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16954 if test "${lt_cv_path_LD+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957 if test -z "$LD"; then
16958 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
16959 for ac_dir in $PATH; do
16960 IFS="$lt_save_ifs"
16961 test -z "$ac_dir" && ac_dir=.
16962 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16963 lt_cv_path_LD="$ac_dir/$ac_prog"
16964 # Check to see if the program is GNU ld. I'd rather use --version,
16965 # but apparently some variants of GNU ld only accept -v.
16966 # Break only if it was the GNU/non-GNU ld that we prefer.
16967 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
16968 *GNU* | *'with BFD'*)
16969 test "$with_gnu_ld" != no && break
16972 test "$with_gnu_ld" != yes && break
16974 esac
16976 done
16977 IFS="$lt_save_ifs"
16978 else
16979 lt_cv_path_LD="$LD" # Let the user override the test with a path.
16983 LD="$lt_cv_path_LD"
16984 if test -n "$LD"; then
16985 echo "$as_me:$LINENO: result: $LD" >&5
16986 echo "${ECHO_T}$LD" >&6
16987 else
16988 echo "$as_me:$LINENO: result: no" >&5
16989 echo "${ECHO_T}no" >&6
16991 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16992 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16993 { (exit 1); exit 1; }; }
16994 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16995 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16996 if test "${lt_cv_prog_gnu_ld+set}" = set; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 else
16999 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17000 case `$LD -v 2>&1 </dev/null` in
17001 *GNU* | *'with BFD'*)
17002 lt_cv_prog_gnu_ld=yes
17005 lt_cv_prog_gnu_ld=no
17007 esac
17009 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17010 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17011 with_gnu_ld=$lt_cv_prog_gnu_ld
17019 # If we're not using GNU ld, then there's no point in even trying these
17020 # tests. Check for that first. We should have already tested for gld
17021 # by now (in libtool), but require it now just to be safe...
17022 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17023 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17027 # The name set by libtool depends on the version of libtool. Shame on us
17028 # for depending on an impl detail, but c'est la vie. Older versions used
17029 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17030 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17031 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17032 # set (hence we're using an older libtool), then set it.
17033 if test x${with_gnu_ld+set} != xset; then
17034 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17035 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17036 with_gnu_ld=no
17037 else
17038 with_gnu_ld=$ac_cv_prog_gnu_ld
17042 # Start by getting the version number. I think the libtool test already
17043 # does some of this, but throws away the result.
17044 if test x"$with_gnu_ld" = x"yes"; then
17045 echo "$as_me:$LINENO: checking for ld version" >&5
17046 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17048 ldver=`$LD --version 2>/dev/null | head -1 | \
17049 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17051 glibcxx_gnu_ld_version=`echo $ldver | \
17052 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17053 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17054 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17057 # Set --gc-sections.
17058 glibcxx_gcsections_min_ld=21602
17059 if test x"$with_gnu_ld" = x"yes" &&
17060 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17062 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17063 # NB: This flag only works reliably after 2.16.1. Configure tests
17064 # for this are difficult, so hard wire a value that should work.
17066 ac_test_CFLAGS="${CFLAGS+set}"
17067 ac_save_CFLAGS="$CFLAGS"
17068 CFLAGS='-Wl,--gc-sections'
17070 # Check for -Wl,--gc-sections
17071 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17072 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17073 if test x$gcc_no_link = xyes; then
17074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17076 { (exit 1); exit 1; }; }
17078 cat >conftest.$ac_ext <<_ACEOF
17079 /* confdefs.h. */
17080 _ACEOF
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17084 int one(void) { return 1; }
17085 int two(void) { return 2; }
17088 main ()
17090 two();
17092 return 0;
17094 _ACEOF
17095 rm -f conftest.$ac_objext conftest$ac_exeext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17097 (eval $ac_link) 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try='test -z "$ac_c_werror_flag"
17105 || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try='test -s conftest$ac_exeext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_gcsections=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17122 ac_gcsections=no
17124 rm -f conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17126 if test "$ac_gcsections" = "yes"; then
17127 rm -f conftest.c
17128 touch conftest.c
17129 if $CC -c conftest.c; then
17130 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17131 grep "Warning: gc-sections option ignored" > /dev/null; then
17132 ac_gcsections=no
17135 rm -f conftest.c conftest.o conftest
17137 if test "$ac_gcsections" = "yes"; then
17138 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17140 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17141 echo "${ECHO_T}$ac_gcsections" >&6
17143 if test "$ac_test_CFLAGS" = set; then
17144 CFLAGS="$ac_save_CFLAGS"
17145 else
17146 # this is the suspicious part
17147 CFLAGS=''
17151 # Set -z,relro.
17152 # Note this is only for shared objects.
17153 ac_ld_relro=no
17154 if test x"$with_gnu_ld" = x"yes"; then
17155 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17156 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17157 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17158 if test -n "$cxx_z_relo"; then
17159 OPT_LDFLAGS="-Wl,-z,relro"
17160 ac_ld_relro=yes
17162 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17163 echo "${ECHO_T}$ac_ld_relro" >&6
17166 # Set linker optimization flags.
17167 if test x"$with_gnu_ld" = x"yes"; then
17168 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17175 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17176 ac_save_CXXFLAGS="$CXXFLAGS"
17177 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17179 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17180 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17181 if test "${ac_cv_lib_m_sin+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 else
17184 ac_check_lib_save_LIBS=$LIBS
17185 LIBS="-lm $LIBS"
17186 if test x$gcc_no_link = xyes; then
17187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17189 { (exit 1); exit 1; }; }
17191 cat >conftest.$ac_ext <<_ACEOF
17192 /* confdefs.h. */
17193 _ACEOF
17194 cat confdefs.h >>conftest.$ac_ext
17195 cat >>conftest.$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17198 /* Override any gcc2 internal prototype to avoid an error. */
17199 #ifdef __cplusplus
17200 extern "C"
17201 #endif
17202 /* We use char because int might match the return type of a gcc2
17203 builtin and then its argument prototype would still apply. */
17204 char sin ();
17206 main ()
17208 sin ();
17210 return 0;
17212 _ACEOF
17213 rm -f conftest.$ac_objext conftest$ac_exeext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17215 (eval $ac_link) 2>conftest.er1
17216 ac_status=$?
17217 grep -v '^ *+' conftest.er1 >conftest.err
17218 rm -f conftest.er1
17219 cat conftest.err >&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try='test -z "$ac_c_werror_flag"
17223 || test ! -s conftest.err'
17224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17225 (eval $ac_try) 2>&5
17226 ac_status=$?
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); }; } &&
17229 { ac_try='test -s conftest$ac_exeext'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; }; then
17235 ac_cv_lib_m_sin=yes
17236 else
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 ac_cv_lib_m_sin=no
17242 rm -f conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 LIBS=$ac_check_lib_save_LIBS
17246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17247 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17248 if test $ac_cv_lib_m_sin = yes; then
17249 libm="-lm"
17252 ac_save_LIBS="$LIBS"
17253 LIBS="$LIBS $libm"
17257 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17258 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17259 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17260 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17262 else
17266 ac_ext=cc
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #include <math.h>
17279 #ifdef HAVE_IEEEFP_H
17280 #include <ieeefp.h>
17281 #endif
17284 main ()
17286 isinf(0);
17288 return 0;
17290 _ACEOF
17291 rm -f conftest.$ac_objext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17293 (eval $ac_compile) 2>conftest.er1
17294 ac_status=$?
17295 grep -v '^ *+' conftest.er1 >conftest.err
17296 rm -f conftest.er1
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_cxx_werror_flag"
17301 || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try='test -s conftest.$ac_objext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17313 glibcxx_cv_func_isinf_use=yes
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17318 glibcxx_cv_func_isinf_use=no
17320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17321 ac_ext=c
17322 ac_cpp='$CPP $CPPFLAGS'
17323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17332 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17334 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17336 for ac_func in isinf
17338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17339 echo "$as_me:$LINENO: checking for $ac_func" >&5
17340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17341 if eval "test \"\${$as_ac_var+set}\" = set"; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 if test x$gcc_no_link = xyes; then
17345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17347 { (exit 1); exit 1; }; }
17349 cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h. */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17357 #define $ac_func innocuous_$ac_func
17359 /* System header to define __stub macros and hopefully few prototypes,
17360 which can conflict with char $ac_func (); below.
17361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17362 <limits.h> exists even on freestanding compilers. */
17364 #ifdef __STDC__
17365 # include <limits.h>
17366 #else
17367 # include <assert.h>
17368 #endif
17370 #undef $ac_func
17372 /* Override any gcc2 internal prototype to avoid an error. */
17373 #ifdef __cplusplus
17374 extern "C"
17376 #endif
17377 /* We use char because int might match the return type of a gcc2
17378 builtin and then its argument prototype would still apply. */
17379 char $ac_func ();
17380 /* The GNU C library defines this for functions which it implements
17381 to always fail with ENOSYS. Some functions are actually named
17382 something starting with __ and the normal name is an alias. */
17383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17384 choke me
17385 #else
17386 char (*f) () = $ac_func;
17387 #endif
17388 #ifdef __cplusplus
17390 #endif
17393 main ()
17395 return f != $ac_func;
17397 return 0;
17399 _ACEOF
17400 rm -f conftest.$ac_objext conftest$ac_exeext
17401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17402 (eval $ac_link) 2>conftest.er1
17403 ac_status=$?
17404 grep -v '^ *+' conftest.er1 >conftest.err
17405 rm -f conftest.er1
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } &&
17409 { ac_try='test -z "$ac_c_werror_flag"
17410 || test ! -s conftest.err'
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); }; } &&
17416 { ac_try='test -s conftest$ac_exeext'
17417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17418 (eval $ac_try) 2>&5
17419 ac_status=$?
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); }; }; then
17422 eval "$as_ac_var=yes"
17423 else
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17427 eval "$as_ac_var=no"
17429 rm -f conftest.err conftest.$ac_objext \
17430 conftest$ac_exeext conftest.$ac_ext
17432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17434 if test `eval echo '${'$as_ac_var'}'` = yes; then
17435 cat >>confdefs.h <<_ACEOF
17436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17437 _ACEOF
17440 done
17442 else
17444 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
17445 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
17446 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
17447 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17453 ac_ext=cc
17454 ac_cpp='$CXXCPP $CPPFLAGS'
17455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17459 cat >conftest.$ac_ext <<_ACEOF
17460 /* confdefs.h. */
17461 _ACEOF
17462 cat confdefs.h >>conftest.$ac_ext
17463 cat >>conftest.$ac_ext <<_ACEOF
17464 /* end confdefs.h. */
17465 #include <math.h>
17466 #ifdef HAVE_IEEEFP_H
17467 #include <ieeefp.h>
17468 #endif
17471 main ()
17473 _isinf(0);
17475 return 0;
17477 _ACEOF
17478 rm -f conftest.$ac_objext
17479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17480 (eval $ac_compile) 2>conftest.er1
17481 ac_status=$?
17482 grep -v '^ *+' conftest.er1 >conftest.err
17483 rm -f conftest.er1
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } &&
17487 { ac_try='test -z "$ac_cxx_werror_flag"
17488 || test ! -s conftest.err'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; } &&
17494 { ac_try='test -s conftest.$ac_objext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17497 ac_status=$?
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17500 glibcxx_cv_func__isinf_use=yes
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17505 glibcxx_cv_func__isinf_use=no
17507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
17519 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
17521 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
17523 for ac_func in _isinf
17525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17526 echo "$as_me:$LINENO: checking for $ac_func" >&5
17527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17528 if eval "test \"\${$as_ac_var+set}\" = set"; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17531 if test x$gcc_no_link = xyes; then
17532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17534 { (exit 1); exit 1; }; }
17536 cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h. */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h. */
17542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17544 #define $ac_func innocuous_$ac_func
17546 /* System header to define __stub macros and hopefully few prototypes,
17547 which can conflict with char $ac_func (); below.
17548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17549 <limits.h> exists even on freestanding compilers. */
17551 #ifdef __STDC__
17552 # include <limits.h>
17553 #else
17554 # include <assert.h>
17555 #endif
17557 #undef $ac_func
17559 /* Override any gcc2 internal prototype to avoid an error. */
17560 #ifdef __cplusplus
17561 extern "C"
17563 #endif
17564 /* We use char because int might match the return type of a gcc2
17565 builtin and then its argument prototype would still apply. */
17566 char $ac_func ();
17567 /* The GNU C library defines this for functions which it implements
17568 to always fail with ENOSYS. Some functions are actually named
17569 something starting with __ and the normal name is an alias. */
17570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17571 choke me
17572 #else
17573 char (*f) () = $ac_func;
17574 #endif
17575 #ifdef __cplusplus
17577 #endif
17580 main ()
17582 return f != $ac_func;
17584 return 0;
17586 _ACEOF
17587 rm -f conftest.$ac_objext conftest$ac_exeext
17588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17589 (eval $ac_link) 2>conftest.er1
17590 ac_status=$?
17591 grep -v '^ *+' conftest.er1 >conftest.err
17592 rm -f conftest.er1
17593 cat conftest.err >&5
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } &&
17596 { ac_try='test -z "$ac_c_werror_flag"
17597 || test ! -s conftest.err'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; } &&
17603 { ac_try='test -s conftest$ac_exeext'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17606 ac_status=$?
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; }; then
17609 eval "$as_ac_var=yes"
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17614 eval "$as_ac_var=no"
17616 rm -f conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17621 if test `eval echo '${'$as_ac_var'}'` = yes; then
17622 cat >>confdefs.h <<_ACEOF
17623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17624 _ACEOF
17627 done
17637 echo "$as_me:$LINENO: checking for isnan declaration" >&5
17638 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
17639 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
17640 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 else
17646 ac_ext=cc
17647 ac_cpp='$CXXCPP $CPPFLAGS'
17648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17652 cat >conftest.$ac_ext <<_ACEOF
17653 /* confdefs.h. */
17654 _ACEOF
17655 cat confdefs.h >>conftest.$ac_ext
17656 cat >>conftest.$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 #include <math.h>
17659 #ifdef HAVE_IEEEFP_H
17660 #include <ieeefp.h>
17661 #endif
17664 main ()
17666 isnan(0);
17668 return 0;
17670 _ACEOF
17671 rm -f conftest.$ac_objext
17672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17673 (eval $ac_compile) 2>conftest.er1
17674 ac_status=$?
17675 grep -v '^ *+' conftest.er1 >conftest.err
17676 rm -f conftest.er1
17677 cat conftest.err >&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); } &&
17680 { ac_try='test -z "$ac_cxx_werror_flag"
17681 || test ! -s conftest.err'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; } &&
17687 { ac_try='test -s conftest.$ac_objext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 glibcxx_cv_func_isnan_use=yes
17694 else
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17698 glibcxx_cv_func_isnan_use=no
17700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17701 ac_ext=c
17702 ac_cpp='$CPP $CPPFLAGS'
17703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
17712 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
17714 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
17716 for ac_func in isnan
17718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17719 echo "$as_me:$LINENO: checking for $ac_func" >&5
17720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17721 if eval "test \"\${$as_ac_var+set}\" = set"; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17724 if test x$gcc_no_link = xyes; then
17725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17727 { (exit 1); exit 1; }; }
17729 cat >conftest.$ac_ext <<_ACEOF
17730 /* confdefs.h. */
17731 _ACEOF
17732 cat confdefs.h >>conftest.$ac_ext
17733 cat >>conftest.$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17737 #define $ac_func innocuous_$ac_func
17739 /* System header to define __stub macros and hopefully few prototypes,
17740 which can conflict with char $ac_func (); below.
17741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17742 <limits.h> exists even on freestanding compilers. */
17744 #ifdef __STDC__
17745 # include <limits.h>
17746 #else
17747 # include <assert.h>
17748 #endif
17750 #undef $ac_func
17752 /* Override any gcc2 internal prototype to avoid an error. */
17753 #ifdef __cplusplus
17754 extern "C"
17756 #endif
17757 /* We use char because int might match the return type of a gcc2
17758 builtin and then its argument prototype would still apply. */
17759 char $ac_func ();
17760 /* The GNU C library defines this for functions which it implements
17761 to always fail with ENOSYS. Some functions are actually named
17762 something starting with __ and the normal name is an alias. */
17763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17764 choke me
17765 #else
17766 char (*f) () = $ac_func;
17767 #endif
17768 #ifdef __cplusplus
17770 #endif
17773 main ()
17775 return f != $ac_func;
17777 return 0;
17779 _ACEOF
17780 rm -f conftest.$ac_objext conftest$ac_exeext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17782 (eval $ac_link) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_c_werror_flag"
17790 || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try='test -s conftest$ac_exeext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 eval "$as_ac_var=yes"
17803 else
17804 echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.$ac_ext >&5
17807 eval "$as_ac_var=no"
17809 rm -f conftest.err conftest.$ac_objext \
17810 conftest$ac_exeext conftest.$ac_ext
17812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17814 if test `eval echo '${'$as_ac_var'}'` = yes; then
17815 cat >>confdefs.h <<_ACEOF
17816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17817 _ACEOF
17820 done
17822 else
17824 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
17825 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
17826 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
17827 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 else
17833 ac_ext=cc
17834 ac_cpp='$CXXCPP $CPPFLAGS'
17835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17839 cat >conftest.$ac_ext <<_ACEOF
17840 /* confdefs.h. */
17841 _ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17845 #include <math.h>
17846 #ifdef HAVE_IEEEFP_H
17847 #include <ieeefp.h>
17848 #endif
17851 main ()
17853 _isnan(0);
17855 return 0;
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_cxx_werror_flag"
17868 || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 glibcxx_cv_func__isnan_use=yes
17881 else
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 glibcxx_cv_func__isnan_use=no
17887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17888 ac_ext=c
17889 ac_cpp='$CPP $CPPFLAGS'
17890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
17899 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
17901 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
17903 for ac_func in _isnan
17905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17906 echo "$as_me:$LINENO: checking for $ac_func" >&5
17907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17908 if eval "test \"\${$as_ac_var+set}\" = set"; then
17909 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 else
17911 if test x$gcc_no_link = xyes; then
17912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17914 { (exit 1); exit 1; }; }
17916 cat >conftest.$ac_ext <<_ACEOF
17917 /* confdefs.h. */
17918 _ACEOF
17919 cat confdefs.h >>conftest.$ac_ext
17920 cat >>conftest.$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17924 #define $ac_func innocuous_$ac_func
17926 /* System header to define __stub macros and hopefully few prototypes,
17927 which can conflict with char $ac_func (); below.
17928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17929 <limits.h> exists even on freestanding compilers. */
17931 #ifdef __STDC__
17932 # include <limits.h>
17933 #else
17934 # include <assert.h>
17935 #endif
17937 #undef $ac_func
17939 /* Override any gcc2 internal prototype to avoid an error. */
17940 #ifdef __cplusplus
17941 extern "C"
17943 #endif
17944 /* We use char because int might match the return type of a gcc2
17945 builtin and then its argument prototype would still apply. */
17946 char $ac_func ();
17947 /* The GNU C library defines this for functions which it implements
17948 to always fail with ENOSYS. Some functions are actually named
17949 something starting with __ and the normal name is an alias. */
17950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17951 choke me
17952 #else
17953 char (*f) () = $ac_func;
17954 #endif
17955 #ifdef __cplusplus
17957 #endif
17960 main ()
17962 return f != $ac_func;
17964 return 0;
17966 _ACEOF
17967 rm -f conftest.$ac_objext conftest$ac_exeext
17968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17969 (eval $ac_link) 2>conftest.er1
17970 ac_status=$?
17971 grep -v '^ *+' conftest.er1 >conftest.err
17972 rm -f conftest.er1
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } &&
17976 { ac_try='test -z "$ac_c_werror_flag"
17977 || test ! -s conftest.err'
17978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17979 (eval $ac_try) 2>&5
17980 ac_status=$?
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); }; } &&
17983 { ac_try='test -s conftest$ac_exeext'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17986 ac_status=$?
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; }; then
17989 eval "$as_ac_var=yes"
17990 else
17991 echo "$as_me: failed program was:" >&5
17992 sed 's/^/| /' conftest.$ac_ext >&5
17994 eval "$as_ac_var=no"
17996 rm -f conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext conftest.$ac_ext
17999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18001 if test `eval echo '${'$as_ac_var'}'` = yes; then
18002 cat >>confdefs.h <<_ACEOF
18003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18004 _ACEOF
18007 done
18017 echo "$as_me:$LINENO: checking for finite declaration" >&5
18018 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18019 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18020 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 else
18026 ac_ext=cc
18027 ac_cpp='$CXXCPP $CPPFLAGS'
18028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <math.h>
18039 #ifdef HAVE_IEEEFP_H
18040 #include <ieeefp.h>
18041 #endif
18044 main ()
18046 finite(0);
18048 return 0;
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_cxx_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 glibcxx_cv_func_finite_use=yes
18074 else
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18078 glibcxx_cv_func_finite_use=no
18080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18081 ac_ext=c
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18092 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18094 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18096 for ac_func in finite
18098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18099 echo "$as_me:$LINENO: checking for $ac_func" >&5
18100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18101 if eval "test \"\${$as_ac_var+set}\" = set"; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 else
18104 if test x$gcc_no_link = xyes; then
18105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18107 { (exit 1); exit 1; }; }
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18117 #define $ac_func innocuous_$ac_func
18119 /* System header to define __stub macros and hopefully few prototypes,
18120 which can conflict with char $ac_func (); below.
18121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18122 <limits.h> exists even on freestanding compilers. */
18124 #ifdef __STDC__
18125 # include <limits.h>
18126 #else
18127 # include <assert.h>
18128 #endif
18130 #undef $ac_func
18132 /* Override any gcc2 internal prototype to avoid an error. */
18133 #ifdef __cplusplus
18134 extern "C"
18136 #endif
18137 /* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
18139 char $ac_func ();
18140 /* The GNU C library defines this for functions which it implements
18141 to always fail with ENOSYS. Some functions are actually named
18142 something starting with __ and the normal name is an alias. */
18143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18144 choke me
18145 #else
18146 char (*f) () = $ac_func;
18147 #endif
18148 #ifdef __cplusplus
18150 #endif
18153 main ()
18155 return f != $ac_func;
18157 return 0;
18159 _ACEOF
18160 rm -f conftest.$ac_objext conftest$ac_exeext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18162 (eval $ac_link) 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try='test -z "$ac_c_werror_flag"
18170 || test ! -s conftest.err'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18173 ac_status=$?
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; } &&
18176 { ac_try='test -s conftest$ac_exeext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 eval "$as_ac_var=yes"
18183 else
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.$ac_ext >&5
18187 eval "$as_ac_var=no"
18189 rm -f conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18194 if test `eval echo '${'$as_ac_var'}'` = yes; then
18195 cat >>confdefs.h <<_ACEOF
18196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18197 _ACEOF
18200 done
18202 else
18204 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18205 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18206 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18207 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18213 ac_ext=cc
18214 ac_cpp='$CXXCPP $CPPFLAGS'
18215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18219 cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h. */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 #include <math.h>
18226 #ifdef HAVE_IEEEFP_H
18227 #include <ieeefp.h>
18228 #endif
18231 main ()
18233 _finite(0);
18235 return 0;
18237 _ACEOF
18238 rm -f conftest.$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -z "$ac_cxx_werror_flag"
18248 || test ! -s conftest.err'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18251 ac_status=$?
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; } &&
18254 { ac_try='test -s conftest.$ac_objext'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; }; then
18260 glibcxx_cv_func__finite_use=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 glibcxx_cv_func__finite_use=no
18267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18268 ac_ext=c
18269 ac_cpp='$CPP $CPPFLAGS'
18270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18279 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18281 if test x$glibcxx_cv_func__finite_use = x"yes"; then
18283 for ac_func in _finite
18285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18286 echo "$as_me:$LINENO: checking for $ac_func" >&5
18287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18288 if eval "test \"\${$as_ac_var+set}\" = set"; then
18289 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 else
18291 if test x$gcc_no_link = xyes; then
18292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18294 { (exit 1); exit 1; }; }
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18304 #define $ac_func innocuous_$ac_func
18306 /* System header to define __stub macros and hopefully few prototypes,
18307 which can conflict with char $ac_func (); below.
18308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18309 <limits.h> exists even on freestanding compilers. */
18311 #ifdef __STDC__
18312 # include <limits.h>
18313 #else
18314 # include <assert.h>
18315 #endif
18317 #undef $ac_func
18319 /* Override any gcc2 internal prototype to avoid an error. */
18320 #ifdef __cplusplus
18321 extern "C"
18323 #endif
18324 /* We use char because int might match the return type of a gcc2
18325 builtin and then its argument prototype would still apply. */
18326 char $ac_func ();
18327 /* The GNU C library defines this for functions which it implements
18328 to always fail with ENOSYS. Some functions are actually named
18329 something starting with __ and the normal name is an alias. */
18330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18331 choke me
18332 #else
18333 char (*f) () = $ac_func;
18334 #endif
18335 #ifdef __cplusplus
18337 #endif
18340 main ()
18342 return f != $ac_func;
18344 return 0;
18346 _ACEOF
18347 rm -f conftest.$ac_objext conftest$ac_exeext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18349 (eval $ac_link) 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try='test -z "$ac_c_werror_flag"
18357 || test ! -s conftest.err'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; } &&
18363 { ac_try='test -s conftest$ac_exeext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 eval "$as_ac_var=yes"
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18374 eval "$as_ac_var=no"
18376 rm -f conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18381 if test `eval echo '${'$as_ac_var'}'` = yes; then
18382 cat >>confdefs.h <<_ACEOF
18383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18384 _ACEOF
18387 done
18397 echo "$as_me:$LINENO: checking for copysign declaration" >&5
18398 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
18399 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
18400 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
18401 echo $ECHO_N "(cached) $ECHO_C" >&6
18402 else
18406 ac_ext=cc
18407 ac_cpp='$CXXCPP $CPPFLAGS'
18408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18412 cat >conftest.$ac_ext <<_ACEOF
18413 /* confdefs.h. */
18414 _ACEOF
18415 cat confdefs.h >>conftest.$ac_ext
18416 cat >>conftest.$ac_ext <<_ACEOF
18417 /* end confdefs.h. */
18418 #include <math.h>
18420 main ()
18422 copysign(0, 0);
18424 return 0;
18426 _ACEOF
18427 rm -f conftest.$ac_objext
18428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18429 (eval $ac_compile) 2>conftest.er1
18430 ac_status=$?
18431 grep -v '^ *+' conftest.er1 >conftest.err
18432 rm -f conftest.er1
18433 cat conftest.err >&5
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); } &&
18436 { ac_try='test -z "$ac_cxx_werror_flag"
18437 || test ! -s conftest.err'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; } &&
18443 { ac_try='test -s conftest.$ac_objext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 glibcxx_cv_func_copysign_use=yes
18450 else
18451 echo "$as_me: failed program was:" >&5
18452 sed 's/^/| /' conftest.$ac_ext >&5
18454 glibcxx_cv_func_copysign_use=no
18456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18457 ac_ext=c
18458 ac_cpp='$CPP $CPPFLAGS'
18459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
18468 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
18470 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
18472 for ac_func in copysign
18474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18475 echo "$as_me:$LINENO: checking for $ac_func" >&5
18476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18477 if eval "test \"\${$as_ac_var+set}\" = set"; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 else
18480 if test x$gcc_no_link = xyes; then
18481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18483 { (exit 1); exit 1; }; }
18485 cat >conftest.$ac_ext <<_ACEOF
18486 /* confdefs.h. */
18487 _ACEOF
18488 cat confdefs.h >>conftest.$ac_ext
18489 cat >>conftest.$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18493 #define $ac_func innocuous_$ac_func
18495 /* System header to define __stub macros and hopefully few prototypes,
18496 which can conflict with char $ac_func (); below.
18497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18498 <limits.h> exists even on freestanding compilers. */
18500 #ifdef __STDC__
18501 # include <limits.h>
18502 #else
18503 # include <assert.h>
18504 #endif
18506 #undef $ac_func
18508 /* Override any gcc2 internal prototype to avoid an error. */
18509 #ifdef __cplusplus
18510 extern "C"
18512 #endif
18513 /* We use char because int might match the return type of a gcc2
18514 builtin and then its argument prototype would still apply. */
18515 char $ac_func ();
18516 /* The GNU C library defines this for functions which it implements
18517 to always fail with ENOSYS. Some functions are actually named
18518 something starting with __ and the normal name is an alias. */
18519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18520 choke me
18521 #else
18522 char (*f) () = $ac_func;
18523 #endif
18524 #ifdef __cplusplus
18526 #endif
18529 main ()
18531 return f != $ac_func;
18533 return 0;
18535 _ACEOF
18536 rm -f conftest.$ac_objext conftest$ac_exeext
18537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18538 (eval $ac_link) 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } &&
18545 { ac_try='test -z "$ac_c_werror_flag"
18546 || test ! -s conftest.err'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; } &&
18552 { ac_try='test -s conftest$ac_exeext'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; }; then
18558 eval "$as_ac_var=yes"
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18563 eval "$as_ac_var=no"
18565 rm -f conftest.err conftest.$ac_objext \
18566 conftest$ac_exeext conftest.$ac_ext
18568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18570 if test `eval echo '${'$as_ac_var'}'` = yes; then
18571 cat >>confdefs.h <<_ACEOF
18572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18573 _ACEOF
18576 done
18578 else
18580 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
18581 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
18582 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
18583 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
18584 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 else
18589 ac_ext=cc
18590 ac_cpp='$CXXCPP $CPPFLAGS'
18591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18595 cat >conftest.$ac_ext <<_ACEOF
18596 /* confdefs.h. */
18597 _ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <math.h>
18603 main ()
18605 _copysign(0, 0);
18607 return 0;
18609 _ACEOF
18610 rm -f conftest.$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try='test -z "$ac_cxx_werror_flag"
18620 || test ! -s conftest.err'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; } &&
18626 { ac_try='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18629 ac_status=$?
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 glibcxx_cv_func__copysign_use=yes
18633 else
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 glibcxx_cv_func__copysign_use=no
18639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18640 ac_ext=c
18641 ac_cpp='$CPP $CPPFLAGS'
18642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
18651 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
18653 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
18655 for ac_func in _copysign
18657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18658 echo "$as_me:$LINENO: checking for $ac_func" >&5
18659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18660 if eval "test \"\${$as_ac_var+set}\" = set"; then
18661 echo $ECHO_N "(cached) $ECHO_C" >&6
18662 else
18663 if test x$gcc_no_link = xyes; then
18664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18666 { (exit 1); exit 1; }; }
18668 cat >conftest.$ac_ext <<_ACEOF
18669 /* confdefs.h. */
18670 _ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18676 #define $ac_func innocuous_$ac_func
18678 /* System header to define __stub macros and hopefully few prototypes,
18679 which can conflict with char $ac_func (); below.
18680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18681 <limits.h> exists even on freestanding compilers. */
18683 #ifdef __STDC__
18684 # include <limits.h>
18685 #else
18686 # include <assert.h>
18687 #endif
18689 #undef $ac_func
18691 /* Override any gcc2 internal prototype to avoid an error. */
18692 #ifdef __cplusplus
18693 extern "C"
18695 #endif
18696 /* We use char because int might match the return type of a gcc2
18697 builtin and then its argument prototype would still apply. */
18698 char $ac_func ();
18699 /* The GNU C library defines this for functions which it implements
18700 to always fail with ENOSYS. Some functions are actually named
18701 something starting with __ and the normal name is an alias. */
18702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18703 choke me
18704 #else
18705 char (*f) () = $ac_func;
18706 #endif
18707 #ifdef __cplusplus
18709 #endif
18712 main ()
18714 return f != $ac_func;
18716 return 0;
18718 _ACEOF
18719 rm -f conftest.$ac_objext conftest$ac_exeext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18721 (eval $ac_link) 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_c_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest$ac_exeext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 eval "$as_ac_var=yes"
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 eval "$as_ac_var=no"
18748 rm -f conftest.err conftest.$ac_objext \
18749 conftest$ac_exeext conftest.$ac_ext
18751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18753 if test `eval echo '${'$as_ac_var'}'` = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18756 _ACEOF
18759 done
18769 echo "$as_me:$LINENO: checking for sincos declaration" >&5
18770 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
18771 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
18772 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 else
18778 ac_ext=cc
18779 ac_cpp='$CXXCPP $CPPFLAGS'
18780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18784 cat >conftest.$ac_ext <<_ACEOF
18785 /* confdefs.h. */
18786 _ACEOF
18787 cat confdefs.h >>conftest.$ac_ext
18788 cat >>conftest.$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 #include <math.h>
18792 main ()
18794 sincos(0, 0, 0);
18796 return 0;
18798 _ACEOF
18799 rm -f conftest.$ac_objext
18800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18801 (eval $ac_compile) 2>conftest.er1
18802 ac_status=$?
18803 grep -v '^ *+' conftest.er1 >conftest.err
18804 rm -f conftest.er1
18805 cat conftest.err >&5
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); } &&
18808 { ac_try='test -z "$ac_cxx_werror_flag"
18809 || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 glibcxx_cv_func_sincos_use=yes
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 glibcxx_cv_func_sincos_use=no
18828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18829 ac_ext=c
18830 ac_cpp='$CPP $CPPFLAGS'
18831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
18840 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
18842 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
18844 for ac_func in sincos
18846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18847 echo "$as_me:$LINENO: checking for $ac_func" >&5
18848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18849 if eval "test \"\${$as_ac_var+set}\" = set"; then
18850 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 else
18852 if test x$gcc_no_link = xyes; then
18853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18855 { (exit 1); exit 1; }; }
18857 cat >conftest.$ac_ext <<_ACEOF
18858 /* confdefs.h. */
18859 _ACEOF
18860 cat confdefs.h >>conftest.$ac_ext
18861 cat >>conftest.$ac_ext <<_ACEOF
18862 /* end confdefs.h. */
18863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18865 #define $ac_func innocuous_$ac_func
18867 /* System header to define __stub macros and hopefully few prototypes,
18868 which can conflict with char $ac_func (); below.
18869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18870 <limits.h> exists even on freestanding compilers. */
18872 #ifdef __STDC__
18873 # include <limits.h>
18874 #else
18875 # include <assert.h>
18876 #endif
18878 #undef $ac_func
18880 /* Override any gcc2 internal prototype to avoid an error. */
18881 #ifdef __cplusplus
18882 extern "C"
18884 #endif
18885 /* We use char because int might match the return type of a gcc2
18886 builtin and then its argument prototype would still apply. */
18887 char $ac_func ();
18888 /* The GNU C library defines this for functions which it implements
18889 to always fail with ENOSYS. Some functions are actually named
18890 something starting with __ and the normal name is an alias. */
18891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18892 choke me
18893 #else
18894 char (*f) () = $ac_func;
18895 #endif
18896 #ifdef __cplusplus
18898 #endif
18901 main ()
18903 return f != $ac_func;
18905 return 0;
18907 _ACEOF
18908 rm -f conftest.$ac_objext conftest$ac_exeext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18910 (eval $ac_link) 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -z "$ac_c_werror_flag"
18918 || test ! -s conftest.err'
18919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920 (eval $ac_try) 2>&5
18921 ac_status=$?
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; } &&
18924 { ac_try='test -s conftest$ac_exeext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 eval "$as_ac_var=yes"
18931 else
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18935 eval "$as_ac_var=no"
18937 rm -f conftest.err conftest.$ac_objext \
18938 conftest$ac_exeext conftest.$ac_ext
18940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18942 if test `eval echo '${'$as_ac_var'}'` = yes; then
18943 cat >>confdefs.h <<_ACEOF
18944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18945 _ACEOF
18948 done
18950 else
18952 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
18953 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
18954 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
18955 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18961 ac_ext=cc
18962 ac_cpp='$CXXCPP $CPPFLAGS'
18963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18967 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */
18969 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 #include <math.h>
18975 main ()
18977 _sincos(0, 0, 0);
18979 return 0;
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_cxx_werror_flag"
18992 || test ! -s conftest.err'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18995 ac_status=$?
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; } &&
18998 { ac_try='test -s conftest.$ac_objext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19001 ac_status=$?
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19004 glibcxx_cv_func__sincos_use=yes
19005 else
19006 echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5
19009 glibcxx_cv_func__sincos_use=no
19011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19012 ac_ext=c
19013 ac_cpp='$CPP $CPPFLAGS'
19014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19023 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19025 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19027 for ac_func in _sincos
19029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19030 echo "$as_me:$LINENO: checking for $ac_func" >&5
19031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19032 if eval "test \"\${$as_ac_var+set}\" = set"; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 if test x$gcc_no_link = xyes; then
19036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19038 { (exit 1); exit 1; }; }
19040 cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h. */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19048 #define $ac_func innocuous_$ac_func
19050 /* System header to define __stub macros and hopefully few prototypes,
19051 which can conflict with char $ac_func (); below.
19052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19053 <limits.h> exists even on freestanding compilers. */
19055 #ifdef __STDC__
19056 # include <limits.h>
19057 #else
19058 # include <assert.h>
19059 #endif
19061 #undef $ac_func
19063 /* Override any gcc2 internal prototype to avoid an error. */
19064 #ifdef __cplusplus
19065 extern "C"
19067 #endif
19068 /* We use char because int might match the return type of a gcc2
19069 builtin and then its argument prototype would still apply. */
19070 char $ac_func ();
19071 /* The GNU C library defines this for functions which it implements
19072 to always fail with ENOSYS. Some functions are actually named
19073 something starting with __ and the normal name is an alias. */
19074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19075 choke me
19076 #else
19077 char (*f) () = $ac_func;
19078 #endif
19079 #ifdef __cplusplus
19081 #endif
19084 main ()
19086 return f != $ac_func;
19088 return 0;
19090 _ACEOF
19091 rm -f conftest.$ac_objext conftest$ac_exeext
19092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19093 (eval $ac_link) 2>conftest.er1
19094 ac_status=$?
19095 grep -v '^ *+' conftest.er1 >conftest.err
19096 rm -f conftest.er1
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -z "$ac_c_werror_flag"
19101 || test ! -s conftest.err'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19104 ac_status=$?
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; } &&
19107 { ac_try='test -s conftest$ac_exeext'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 eval "$as_ac_var=yes"
19114 else
19115 echo "$as_me: failed program was:" >&5
19116 sed 's/^/| /' conftest.$ac_ext >&5
19118 eval "$as_ac_var=no"
19120 rm -f conftest.err conftest.$ac_objext \
19121 conftest$ac_exeext conftest.$ac_ext
19123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19125 if test `eval echo '${'$as_ac_var'}'` = yes; then
19126 cat >>confdefs.h <<_ACEOF
19127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19128 _ACEOF
19131 done
19141 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19142 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19143 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19144 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19146 else
19150 ac_ext=cc
19151 ac_cpp='$CXXCPP $CPPFLAGS'
19152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19156 cat >conftest.$ac_ext <<_ACEOF
19157 /* confdefs.h. */
19158 _ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162 #include <math.h>
19163 #ifdef HAVE_IEEEFP_H
19164 #include <ieeefp.h>
19165 #endif
19168 main ()
19170 fpclass(0);
19172 return 0;
19174 _ACEOF
19175 rm -f conftest.$ac_objext
19176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19177 (eval $ac_compile) 2>conftest.er1
19178 ac_status=$?
19179 grep -v '^ *+' conftest.er1 >conftest.err
19180 rm -f conftest.er1
19181 cat conftest.err >&5
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); } &&
19184 { ac_try='test -z "$ac_cxx_werror_flag"
19185 || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19188 ac_status=$?
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try='test -s conftest.$ac_objext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 glibcxx_cv_func_fpclass_use=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 glibcxx_cv_func_fpclass_use=no
19204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19205 ac_ext=c
19206 ac_cpp='$CPP $CPPFLAGS'
19207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19216 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19218 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19220 for ac_func in fpclass
19222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19223 echo "$as_me:$LINENO: checking for $ac_func" >&5
19224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19225 if eval "test \"\${$as_ac_var+set}\" = set"; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 else
19228 if test x$gcc_no_link = xyes; then
19229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19231 { (exit 1); exit 1; }; }
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19241 #define $ac_func innocuous_$ac_func
19243 /* System header to define __stub macros and hopefully few prototypes,
19244 which can conflict with char $ac_func (); below.
19245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19246 <limits.h> exists even on freestanding compilers. */
19248 #ifdef __STDC__
19249 # include <limits.h>
19250 #else
19251 # include <assert.h>
19252 #endif
19254 #undef $ac_func
19256 /* Override any gcc2 internal prototype to avoid an error. */
19257 #ifdef __cplusplus
19258 extern "C"
19260 #endif
19261 /* We use char because int might match the return type of a gcc2
19262 builtin and then its argument prototype would still apply. */
19263 char $ac_func ();
19264 /* The GNU C library defines this for functions which it implements
19265 to always fail with ENOSYS. Some functions are actually named
19266 something starting with __ and the normal name is an alias. */
19267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19268 choke me
19269 #else
19270 char (*f) () = $ac_func;
19271 #endif
19272 #ifdef __cplusplus
19274 #endif
19277 main ()
19279 return f != $ac_func;
19281 return 0;
19283 _ACEOF
19284 rm -f conftest.$ac_objext conftest$ac_exeext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19286 (eval $ac_link) 2>conftest.er1
19287 ac_status=$?
19288 grep -v '^ *+' conftest.er1 >conftest.err
19289 rm -f conftest.er1
19290 cat conftest.err >&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try='test -z "$ac_c_werror_flag"
19294 || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19297 ac_status=$?
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try='test -s conftest$ac_exeext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19306 eval "$as_ac_var=yes"
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19311 eval "$as_ac_var=no"
19313 rm -f conftest.err conftest.$ac_objext \
19314 conftest$ac_exeext conftest.$ac_ext
19316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19318 if test `eval echo '${'$as_ac_var'}'` = yes; then
19319 cat >>confdefs.h <<_ACEOF
19320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19321 _ACEOF
19324 done
19326 else
19328 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19329 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19330 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19331 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19332 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19337 ac_ext=cc
19338 ac_cpp='$CXXCPP $CPPFLAGS'
19339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <math.h>
19350 #ifdef HAVE_IEEEFP_H
19351 #include <ieeefp.h>
19352 #endif
19355 main ()
19357 _fpclass(0);
19359 return 0;
19361 _ACEOF
19362 rm -f conftest.$ac_objext
19363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19364 (eval $ac_compile) 2>conftest.er1
19365 ac_status=$?
19366 grep -v '^ *+' conftest.er1 >conftest.err
19367 rm -f conftest.er1
19368 cat conftest.err >&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -z "$ac_cxx_werror_flag"
19372 || test ! -s conftest.err'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; } &&
19378 { ac_try='test -s conftest.$ac_objext'
19379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19380 (eval $ac_try) 2>&5
19381 ac_status=$?
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); }; }; then
19384 glibcxx_cv_func__fpclass_use=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19389 glibcxx_cv_func__fpclass_use=no
19391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19392 ac_ext=c
19393 ac_cpp='$CPP $CPPFLAGS'
19394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
19403 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
19405 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
19407 for ac_func in _fpclass
19409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19410 echo "$as_me:$LINENO: checking for $ac_func" >&5
19411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19412 if eval "test \"\${$as_ac_var+set}\" = set"; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19414 else
19415 if test x$gcc_no_link = xyes; then
19416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418 { (exit 1); exit 1; }; }
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19428 #define $ac_func innocuous_$ac_func
19430 /* System header to define __stub macros and hopefully few prototypes,
19431 which can conflict with char $ac_func (); below.
19432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19433 <limits.h> exists even on freestanding compilers. */
19435 #ifdef __STDC__
19436 # include <limits.h>
19437 #else
19438 # include <assert.h>
19439 #endif
19441 #undef $ac_func
19443 /* Override any gcc2 internal prototype to avoid an error. */
19444 #ifdef __cplusplus
19445 extern "C"
19447 #endif
19448 /* We use char because int might match the return type of a gcc2
19449 builtin and then its argument prototype would still apply. */
19450 char $ac_func ();
19451 /* The GNU C library defines this for functions which it implements
19452 to always fail with ENOSYS. Some functions are actually named
19453 something starting with __ and the normal name is an alias. */
19454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19455 choke me
19456 #else
19457 char (*f) () = $ac_func;
19458 #endif
19459 #ifdef __cplusplus
19461 #endif
19464 main ()
19466 return f != $ac_func;
19468 return 0;
19470 _ACEOF
19471 rm -f conftest.$ac_objext conftest$ac_exeext
19472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19473 (eval $ac_link) 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } &&
19480 { ac_try='test -z "$ac_c_werror_flag"
19481 || test ! -s conftest.err'
19482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19483 (eval $ac_try) 2>&5
19484 ac_status=$?
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); }; } &&
19487 { ac_try='test -s conftest$ac_exeext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19490 ac_status=$?
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19493 eval "$as_ac_var=yes"
19494 else
19495 echo "$as_me: failed program was:" >&5
19496 sed 's/^/| /' conftest.$ac_ext >&5
19498 eval "$as_ac_var=no"
19500 rm -f conftest.err conftest.$ac_objext \
19501 conftest$ac_exeext conftest.$ac_ext
19503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19505 if test `eval echo '${'$as_ac_var'}'` = yes; then
19506 cat >>confdefs.h <<_ACEOF
19507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19508 _ACEOF
19511 done
19521 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
19522 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
19523 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
19524 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
19525 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 else
19530 ac_ext=cc
19531 ac_cpp='$CXXCPP $CPPFLAGS'
19532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 #include <math.h>
19543 #ifdef HAVE_IEEEFP_H
19544 #include <ieeefp.h>
19545 #endif
19548 main ()
19550 qfpclass(0);
19552 return 0;
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19557 (eval $ac_compile) 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } &&
19564 { ac_try='test -z "$ac_cxx_werror_flag"
19565 || test ! -s conftest.err'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19568 ac_status=$?
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; } &&
19571 { ac_try='test -s conftest.$ac_objext'
19572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19573 (eval $ac_try) 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); }; }; then
19577 glibcxx_cv_func_qfpclass_use=yes
19578 else
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 glibcxx_cv_func_qfpclass_use=no
19584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19585 ac_ext=c
19586 ac_cpp='$CPP $CPPFLAGS'
19587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
19596 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
19598 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
19600 for ac_func in qfpclass
19602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19603 echo "$as_me:$LINENO: checking for $ac_func" >&5
19604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19605 if eval "test \"\${$as_ac_var+set}\" = set"; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 else
19608 if test x$gcc_no_link = xyes; then
19609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19611 { (exit 1); exit 1; }; }
19613 cat >conftest.$ac_ext <<_ACEOF
19614 /* confdefs.h. */
19615 _ACEOF
19616 cat confdefs.h >>conftest.$ac_ext
19617 cat >>conftest.$ac_ext <<_ACEOF
19618 /* end confdefs.h. */
19619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19621 #define $ac_func innocuous_$ac_func
19623 /* System header to define __stub macros and hopefully few prototypes,
19624 which can conflict with char $ac_func (); below.
19625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19626 <limits.h> exists even on freestanding compilers. */
19628 #ifdef __STDC__
19629 # include <limits.h>
19630 #else
19631 # include <assert.h>
19632 #endif
19634 #undef $ac_func
19636 /* Override any gcc2 internal prototype to avoid an error. */
19637 #ifdef __cplusplus
19638 extern "C"
19640 #endif
19641 /* We use char because int might match the return type of a gcc2
19642 builtin and then its argument prototype would still apply. */
19643 char $ac_func ();
19644 /* The GNU C library defines this for functions which it implements
19645 to always fail with ENOSYS. Some functions are actually named
19646 something starting with __ and the normal name is an alias. */
19647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19648 choke me
19649 #else
19650 char (*f) () = $ac_func;
19651 #endif
19652 #ifdef __cplusplus
19654 #endif
19657 main ()
19659 return f != $ac_func;
19661 return 0;
19663 _ACEOF
19664 rm -f conftest.$ac_objext conftest$ac_exeext
19665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19666 (eval $ac_link) 2>conftest.er1
19667 ac_status=$?
19668 grep -v '^ *+' conftest.er1 >conftest.err
19669 rm -f conftest.er1
19670 cat conftest.err >&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try='test -z "$ac_c_werror_flag"
19674 || test ! -s conftest.err'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19677 ac_status=$?
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; } &&
19680 { ac_try='test -s conftest$ac_exeext'
19681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 (eval $ac_try) 2>&5
19683 ac_status=$?
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); }; }; then
19686 eval "$as_ac_var=yes"
19687 else
19688 echo "$as_me: failed program was:" >&5
19689 sed 's/^/| /' conftest.$ac_ext >&5
19691 eval "$as_ac_var=no"
19693 rm -f conftest.err conftest.$ac_objext \
19694 conftest$ac_exeext conftest.$ac_ext
19696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19698 if test `eval echo '${'$as_ac_var'}'` = yes; then
19699 cat >>confdefs.h <<_ACEOF
19700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19701 _ACEOF
19704 done
19706 else
19708 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
19709 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
19710 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
19711 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19717 ac_ext=cc
19718 ac_cpp='$CXXCPP $CPPFLAGS'
19719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #include <math.h>
19730 #ifdef HAVE_IEEEFP_H
19731 #include <ieeefp.h>
19732 #endif
19735 main ()
19737 _qfpclass(0);
19739 return 0;
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19744 (eval $ac_compile) 2>conftest.er1
19745 ac_status=$?
19746 grep -v '^ *+' conftest.er1 >conftest.err
19747 rm -f conftest.er1
19748 cat conftest.err >&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); } &&
19751 { ac_try='test -z "$ac_cxx_werror_flag"
19752 || test ! -s conftest.err'
19753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19754 (eval $ac_try) 2>&5
19755 ac_status=$?
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); }; } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19761 ac_status=$?
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 glibcxx_cv_func__qfpclass_use=yes
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 glibcxx_cv_func__qfpclass_use=no
19771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19772 ac_ext=c
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
19785 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
19787 for ac_func in _qfpclass
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 if test x$gcc_no_link = xyes; then
19796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.$ac_ext <<_ACEOF
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19808 #define $ac_func innocuous_$ac_func
19810 /* System header to define __stub macros and hopefully few prototypes,
19811 which can conflict with char $ac_func (); below.
19812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19813 <limits.h> exists even on freestanding compilers. */
19815 #ifdef __STDC__
19816 # include <limits.h>
19817 #else
19818 # include <assert.h>
19819 #endif
19821 #undef $ac_func
19823 /* Override any gcc2 internal prototype to avoid an error. */
19824 #ifdef __cplusplus
19825 extern "C"
19827 #endif
19828 /* We use char because int might match the return type of a gcc2
19829 builtin and then its argument prototype would still apply. */
19830 char $ac_func ();
19831 /* The GNU C library defines this for functions which it implements
19832 to always fail with ENOSYS. Some functions are actually named
19833 something starting with __ and the normal name is an alias. */
19834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19835 choke me
19836 #else
19837 char (*f) () = $ac_func;
19838 #endif
19839 #ifdef __cplusplus
19841 #endif
19844 main ()
19846 return f != $ac_func;
19848 return 0;
19850 _ACEOF
19851 rm -f conftest.$ac_objext conftest$ac_exeext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19853 (eval $ac_link) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest$ac_exeext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 eval "$as_ac_var=yes"
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 eval "$as_ac_var=no"
19880 rm -f conftest.err conftest.$ac_objext \
19881 conftest$ac_exeext conftest.$ac_ext
19883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19885 if test `eval echo '${'$as_ac_var'}'` = yes; then
19886 cat >>confdefs.h <<_ACEOF
19887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19888 _ACEOF
19891 done
19901 echo "$as_me:$LINENO: checking for hypot declaration" >&5
19902 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
19903 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
19904 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
19905 echo $ECHO_N "(cached) $ECHO_C" >&6
19906 else
19910 ac_ext=cc
19911 ac_cpp='$CXXCPP $CPPFLAGS'
19912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19916 cat >conftest.$ac_ext <<_ACEOF
19917 /* confdefs.h. */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 #include <math.h>
19924 main ()
19926 hypot(0, 0);
19928 return 0;
19930 _ACEOF
19931 rm -f conftest.$ac_objext
19932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19933 (eval $ac_compile) 2>conftest.er1
19934 ac_status=$?
19935 grep -v '^ *+' conftest.er1 >conftest.err
19936 rm -f conftest.er1
19937 cat conftest.err >&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try='test -z "$ac_cxx_werror_flag"
19941 || test ! -s conftest.err'
19942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19943 (eval $ac_try) 2>&5
19944 ac_status=$?
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); }; } &&
19947 { ac_try='test -s conftest.$ac_objext'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 glibcxx_cv_func_hypot_use=yes
19954 else
19955 echo "$as_me: failed program was:" >&5
19956 sed 's/^/| /' conftest.$ac_ext >&5
19958 glibcxx_cv_func_hypot_use=no
19960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19961 ac_ext=c
19962 ac_cpp='$CPP $CPPFLAGS'
19963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
19972 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
19974 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
19976 for ac_func in hypot
19978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19979 echo "$as_me:$LINENO: checking for $ac_func" >&5
19980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19981 if eval "test \"\${$as_ac_var+set}\" = set"; then
19982 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 else
19984 if test x$gcc_no_link = xyes; then
19985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19987 { (exit 1); exit 1; }; }
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19997 #define $ac_func innocuous_$ac_func
19999 /* System header to define __stub macros and hopefully few prototypes,
20000 which can conflict with char $ac_func (); below.
20001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20002 <limits.h> exists even on freestanding compilers. */
20004 #ifdef __STDC__
20005 # include <limits.h>
20006 #else
20007 # include <assert.h>
20008 #endif
20010 #undef $ac_func
20012 /* Override any gcc2 internal prototype to avoid an error. */
20013 #ifdef __cplusplus
20014 extern "C"
20016 #endif
20017 /* We use char because int might match the return type of a gcc2
20018 builtin and then its argument prototype would still apply. */
20019 char $ac_func ();
20020 /* The GNU C library defines this for functions which it implements
20021 to always fail with ENOSYS. Some functions are actually named
20022 something starting with __ and the normal name is an alias. */
20023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20024 choke me
20025 #else
20026 char (*f) () = $ac_func;
20027 #endif
20028 #ifdef __cplusplus
20030 #endif
20033 main ()
20035 return f != $ac_func;
20037 return 0;
20039 _ACEOF
20040 rm -f conftest.$ac_objext conftest$ac_exeext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20042 (eval $ac_link) 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_c_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20053 ac_status=$?
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try='test -s conftest$ac_exeext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 eval "$as_ac_var=yes"
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 eval "$as_ac_var=no"
20069 rm -f conftest.err conftest.$ac_objext \
20070 conftest$ac_exeext conftest.$ac_ext
20072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20074 if test `eval echo '${'$as_ac_var'}'` = yes; then
20075 cat >>confdefs.h <<_ACEOF
20076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20077 _ACEOF
20080 done
20082 else
20084 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20085 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20086 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20087 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20088 echo $ECHO_N "(cached) $ECHO_C" >&6
20089 else
20093 ac_ext=cc
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20099 cat >conftest.$ac_ext <<_ACEOF
20100 /* confdefs.h. */
20101 _ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105 #include <math.h>
20107 main ()
20109 _hypot(0, 0);
20111 return 0;
20113 _ACEOF
20114 rm -f conftest.$ac_objext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20116 (eval $ac_compile) 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try='test -z "$ac_cxx_werror_flag"
20124 || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try='test -s conftest.$ac_objext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20133 ac_status=$?
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 glibcxx_cv_func__hypot_use=yes
20137 else
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20141 glibcxx_cv_func__hypot_use=no
20143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20144 ac_ext=c
20145 ac_cpp='$CPP $CPPFLAGS'
20146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20155 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20159 for ac_func in _hypot
20161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20162 echo "$as_me:$LINENO: checking for $ac_func" >&5
20163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20164 if eval "test \"\${$as_ac_var+set}\" = set"; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 else
20167 if test x$gcc_no_link = xyes; then
20168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20170 { (exit 1); exit 1; }; }
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20180 #define $ac_func innocuous_$ac_func
20182 /* System header to define __stub macros and hopefully few prototypes,
20183 which can conflict with char $ac_func (); below.
20184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20185 <limits.h> exists even on freestanding compilers. */
20187 #ifdef __STDC__
20188 # include <limits.h>
20189 #else
20190 # include <assert.h>
20191 #endif
20193 #undef $ac_func
20195 /* Override any gcc2 internal prototype to avoid an error. */
20196 #ifdef __cplusplus
20197 extern "C"
20199 #endif
20200 /* We use char because int might match the return type of a gcc2
20201 builtin and then its argument prototype would still apply. */
20202 char $ac_func ();
20203 /* The GNU C library defines this for functions which it implements
20204 to always fail with ENOSYS. Some functions are actually named
20205 something starting with __ and the normal name is an alias. */
20206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20207 choke me
20208 #else
20209 char (*f) () = $ac_func;
20210 #endif
20211 #ifdef __cplusplus
20213 #endif
20216 main ()
20218 return f != $ac_func;
20220 return 0;
20222 _ACEOF
20223 rm -f conftest.$ac_objext conftest$ac_exeext
20224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20225 (eval $ac_link) 2>conftest.er1
20226 ac_status=$?
20227 grep -v '^ *+' conftest.er1 >conftest.err
20228 rm -f conftest.er1
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } &&
20232 { ac_try='test -z "$ac_c_werror_flag"
20233 || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest$ac_exeext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 eval "$as_ac_var=yes"
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20250 eval "$as_ac_var=no"
20252 rm -f conftest.err conftest.$ac_objext \
20253 conftest$ac_exeext conftest.$ac_ext
20255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20257 if test `eval echo '${'$as_ac_var'}'` = yes; then
20258 cat >>confdefs.h <<_ACEOF
20259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20260 _ACEOF
20263 done
20273 echo "$as_me:$LINENO: checking for float trig functions" >&5
20274 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20275 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20276 echo $ECHO_N "(cached) $ECHO_C" >&6
20277 else
20281 ac_ext=cc
20282 ac_cpp='$CXXCPP $CPPFLAGS'
20283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 #include <math.h>
20295 main ()
20297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20299 return 0;
20301 _ACEOF
20302 rm -f conftest.$ac_objext
20303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20304 (eval $ac_compile) 2>conftest.er1
20305 ac_status=$?
20306 grep -v '^ *+' conftest.er1 >conftest.err
20307 rm -f conftest.er1
20308 cat conftest.err >&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try='test -z "$ac_cxx_werror_flag"
20312 || test ! -s conftest.err'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; } &&
20318 { ac_try='test -s conftest.$ac_objext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20321 ac_status=$?
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 glibcxx_cv_func_float_trig_use=yes
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20329 glibcxx_cv_func_float_trig_use=no
20331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20332 ac_ext=c
20333 ac_cpp='$CPP $CPPFLAGS'
20334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20341 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20342 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20352 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20355 echo "$as_me:$LINENO: checking for $ac_func" >&5
20356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20357 if eval "test \"\${$as_ac_var+set}\" = set"; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 else
20360 if test x$gcc_no_link = xyes; then
20361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20363 { (exit 1); exit 1; }; }
20365 cat >conftest.$ac_ext <<_ACEOF
20366 /* confdefs.h. */
20367 _ACEOF
20368 cat confdefs.h >>conftest.$ac_ext
20369 cat >>conftest.$ac_ext <<_ACEOF
20370 /* end confdefs.h. */
20371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20373 #define $ac_func innocuous_$ac_func
20375 /* System header to define __stub macros and hopefully few prototypes,
20376 which can conflict with char $ac_func (); below.
20377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20378 <limits.h> exists even on freestanding compilers. */
20380 #ifdef __STDC__
20381 # include <limits.h>
20382 #else
20383 # include <assert.h>
20384 #endif
20386 #undef $ac_func
20388 /* Override any gcc2 internal prototype to avoid an error. */
20389 #ifdef __cplusplus
20390 extern "C"
20392 #endif
20393 /* We use char because int might match the return type of a gcc2
20394 builtin and then its argument prototype would still apply. */
20395 char $ac_func ();
20396 /* The GNU C library defines this for functions which it implements
20397 to always fail with ENOSYS. Some functions are actually named
20398 something starting with __ and the normal name is an alias. */
20399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20400 choke me
20401 #else
20402 char (*f) () = $ac_func;
20403 #endif
20404 #ifdef __cplusplus
20406 #endif
20409 main ()
20411 return f != $ac_func;
20413 return 0;
20415 _ACEOF
20416 rm -f conftest.$ac_objext conftest$ac_exeext
20417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20418 (eval $ac_link) 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } &&
20425 { ac_try='test -z "$ac_c_werror_flag"
20426 || test ! -s conftest.err'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; } &&
20432 { ac_try='test -s conftest$ac_exeext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 eval "$as_ac_var=yes"
20439 else
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 eval "$as_ac_var=no"
20445 rm -f conftest.err conftest.$ac_objext \
20446 conftest$ac_exeext conftest.$ac_ext
20448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20450 if test `eval echo '${'$as_ac_var'}'` = yes; then
20451 cat >>confdefs.h <<_ACEOF
20452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20453 _ACEOF
20456 done
20458 else
20459 echo "$as_me:$LINENO: checking for _float trig functions" >&5
20460 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
20461 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
20462 echo $ECHO_N "(cached) $ECHO_C" >&6
20463 else
20467 ac_ext=cc
20468 ac_cpp='$CXXCPP $CPPFLAGS'
20469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20473 cat >conftest.$ac_ext <<_ACEOF
20474 /* confdefs.h. */
20475 _ACEOF
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 #include <math.h>
20481 main ()
20483 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20485 return 0;
20487 _ACEOF
20488 rm -f conftest.$ac_objext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20490 (eval $ac_compile) 2>conftest.er1
20491 ac_status=$?
20492 grep -v '^ *+' conftest.er1 >conftest.err
20493 rm -f conftest.er1
20494 cat conftest.err >&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -z "$ac_cxx_werror_flag"
20498 || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest.$ac_objext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20507 ac_status=$?
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 glibcxx_cv_func__float_trig_use=yes
20511 else
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 glibcxx_cv_func__float_trig_use=no
20517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20518 ac_ext=c
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
20527 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
20528 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20538 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20541 echo "$as_me:$LINENO: checking for $ac_func" >&5
20542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20543 if eval "test \"\${$as_ac_var+set}\" = set"; then
20544 echo $ECHO_N "(cached) $ECHO_C" >&6
20545 else
20546 if test x$gcc_no_link = xyes; then
20547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20549 { (exit 1); exit 1; }; }
20551 cat >conftest.$ac_ext <<_ACEOF
20552 /* confdefs.h. */
20553 _ACEOF
20554 cat confdefs.h >>conftest.$ac_ext
20555 cat >>conftest.$ac_ext <<_ACEOF
20556 /* end confdefs.h. */
20557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20559 #define $ac_func innocuous_$ac_func
20561 /* System header to define __stub macros and hopefully few prototypes,
20562 which can conflict with char $ac_func (); below.
20563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20564 <limits.h> exists even on freestanding compilers. */
20566 #ifdef __STDC__
20567 # include <limits.h>
20568 #else
20569 # include <assert.h>
20570 #endif
20572 #undef $ac_func
20574 /* Override any gcc2 internal prototype to avoid an error. */
20575 #ifdef __cplusplus
20576 extern "C"
20578 #endif
20579 /* We use char because int might match the return type of a gcc2
20580 builtin and then its argument prototype would still apply. */
20581 char $ac_func ();
20582 /* The GNU C library defines this for functions which it implements
20583 to always fail with ENOSYS. Some functions are actually named
20584 something starting with __ and the normal name is an alias. */
20585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20586 choke me
20587 #else
20588 char (*f) () = $ac_func;
20589 #endif
20590 #ifdef __cplusplus
20592 #endif
20595 main ()
20597 return f != $ac_func;
20599 return 0;
20601 _ACEOF
20602 rm -f conftest.$ac_objext conftest$ac_exeext
20603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 (eval $ac_link) 2>conftest.er1
20605 ac_status=$?
20606 grep -v '^ *+' conftest.er1 >conftest.err
20607 rm -f conftest.er1
20608 cat conftest.err >&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try='test -z "$ac_c_werror_flag"
20612 || test ! -s conftest.err'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20615 ac_status=$?
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; } &&
20618 { ac_try='test -s conftest$ac_exeext'
20619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20620 (eval $ac_try) 2>&5
20621 ac_status=$?
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); }; }; then
20624 eval "$as_ac_var=yes"
20625 else
20626 echo "$as_me: failed program was:" >&5
20627 sed 's/^/| /' conftest.$ac_ext >&5
20629 eval "$as_ac_var=no"
20631 rm -f conftest.err conftest.$ac_objext \
20632 conftest$ac_exeext conftest.$ac_ext
20634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20636 if test `eval echo '${'$as_ac_var'}'` = yes; then
20637 cat >>confdefs.h <<_ACEOF
20638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20639 _ACEOF
20642 done
20660 echo "$as_me:$LINENO: checking for float round functions" >&5
20661 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
20662 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
20663 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 else
20668 ac_ext=cc
20669 ac_cpp='$CXXCPP $CPPFLAGS'
20670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20674 cat >conftest.$ac_ext <<_ACEOF
20675 /* confdefs.h. */
20676 _ACEOF
20677 cat confdefs.h >>conftest.$ac_ext
20678 cat >>conftest.$ac_ext <<_ACEOF
20679 /* end confdefs.h. */
20680 #include <math.h>
20682 main ()
20684 ceilf (0); floorf (0);
20686 return 0;
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try='test -z "$ac_cxx_werror_flag"
20699 || test ! -s conftest.err'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; } &&
20705 { ac_try='test -s conftest.$ac_objext'
20706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707 (eval $ac_try) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 glibcxx_cv_func_float_round_use=yes
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20716 glibcxx_cv_func_float_round_use=no
20718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20719 ac_ext=c
20720 ac_cpp='$CPP $CPPFLAGS'
20721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
20728 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
20729 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20732 for ac_func in ceilf floorf
20734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20735 echo "$as_me:$LINENO: checking for $ac_func" >&5
20736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20737 if eval "test \"\${$as_ac_var+set}\" = set"; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20740 if test x$gcc_no_link = xyes; then
20741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20743 { (exit 1); exit 1; }; }
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20753 #define $ac_func innocuous_$ac_func
20755 /* System header to define __stub macros and hopefully few prototypes,
20756 which can conflict with char $ac_func (); below.
20757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20758 <limits.h> exists even on freestanding compilers. */
20760 #ifdef __STDC__
20761 # include <limits.h>
20762 #else
20763 # include <assert.h>
20764 #endif
20766 #undef $ac_func
20768 /* Override any gcc2 internal prototype to avoid an error. */
20769 #ifdef __cplusplus
20770 extern "C"
20772 #endif
20773 /* We use char because int might match the return type of a gcc2
20774 builtin and then its argument prototype would still apply. */
20775 char $ac_func ();
20776 /* The GNU C library defines this for functions which it implements
20777 to always fail with ENOSYS. Some functions are actually named
20778 something starting with __ and the normal name is an alias. */
20779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20780 choke me
20781 #else
20782 char (*f) () = $ac_func;
20783 #endif
20784 #ifdef __cplusplus
20786 #endif
20789 main ()
20791 return f != $ac_func;
20793 return 0;
20795 _ACEOF
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>conftest.er1
20799 ac_status=$?
20800 grep -v '^ *+' conftest.er1 >conftest.err
20801 rm -f conftest.er1
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20809 ac_status=$?
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 eval "$as_ac_var=yes"
20819 else
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20823 eval "$as_ac_var=no"
20825 rm -f conftest.err conftest.$ac_objext \
20826 conftest$ac_exeext conftest.$ac_ext
20828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20830 if test `eval echo '${'$as_ac_var'}'` = yes; then
20831 cat >>confdefs.h <<_ACEOF
20832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20833 _ACEOF
20836 done
20838 else
20839 echo "$as_me:$LINENO: checking for _float round functions" >&5
20840 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
20841 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20847 ac_ext=cc
20848 ac_cpp='$CXXCPP $CPPFLAGS'
20849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20853 cat >conftest.$ac_ext <<_ACEOF
20854 /* confdefs.h. */
20855 _ACEOF
20856 cat confdefs.h >>conftest.$ac_ext
20857 cat >>conftest.$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 #include <math.h>
20861 main ()
20863 _ceilf (0); _floorf (0);
20865 return 0;
20867 _ACEOF
20868 rm -f conftest.$ac_objext
20869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20870 (eval $ac_compile) 2>conftest.er1
20871 ac_status=$?
20872 grep -v '^ *+' conftest.er1 >conftest.err
20873 rm -f conftest.er1
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } &&
20877 { ac_try='test -z "$ac_cxx_werror_flag"
20878 || test ! -s conftest.err'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; } &&
20884 { ac_try='test -s conftest.$ac_objext'
20885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20886 (eval $ac_try) 2>&5
20887 ac_status=$?
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); }; }; then
20890 glibcxx_cv_func__float_round_use=yes
20891 else
20892 echo "$as_me: failed program was:" >&5
20893 sed 's/^/| /' conftest.$ac_ext >&5
20895 glibcxx_cv_func__float_round_use=no
20897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20898 ac_ext=c
20899 ac_cpp='$CPP $CPPFLAGS'
20900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
20907 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
20908 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20911 for ac_func in _ceilf _floorf
20913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20914 echo "$as_me:$LINENO: checking for $ac_func" >&5
20915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20916 if eval "test \"\${$as_ac_var+set}\" = set"; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 else
20919 if test x$gcc_no_link = xyes; then
20920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20922 { (exit 1); exit 1; }; }
20924 cat >conftest.$ac_ext <<_ACEOF
20925 /* confdefs.h. */
20926 _ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20932 #define $ac_func innocuous_$ac_func
20934 /* System header to define __stub macros and hopefully few prototypes,
20935 which can conflict with char $ac_func (); below.
20936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20937 <limits.h> exists even on freestanding compilers. */
20939 #ifdef __STDC__
20940 # include <limits.h>
20941 #else
20942 # include <assert.h>
20943 #endif
20945 #undef $ac_func
20947 /* Override any gcc2 internal prototype to avoid an error. */
20948 #ifdef __cplusplus
20949 extern "C"
20951 #endif
20952 /* We use char because int might match the return type of a gcc2
20953 builtin and then its argument prototype would still apply. */
20954 char $ac_func ();
20955 /* The GNU C library defines this for functions which it implements
20956 to always fail with ENOSYS. Some functions are actually named
20957 something starting with __ and the normal name is an alias. */
20958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20959 choke me
20960 #else
20961 char (*f) () = $ac_func;
20962 #endif
20963 #ifdef __cplusplus
20965 #endif
20968 main ()
20970 return f != $ac_func;
20972 return 0;
20974 _ACEOF
20975 rm -f conftest.$ac_objext conftest$ac_exeext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20977 (eval $ac_link) 2>conftest.er1
20978 ac_status=$?
20979 grep -v '^ *+' conftest.er1 >conftest.err
20980 rm -f conftest.er1
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } &&
20984 { ac_try='test -z "$ac_c_werror_flag"
20985 || test ! -s conftest.err'
20986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20987 (eval $ac_try) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); }; } &&
20991 { ac_try='test -s conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20994 ac_status=$?
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 eval "$as_ac_var=yes"
20998 else
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 eval "$as_ac_var=no"
21004 rm -f conftest.err conftest.$ac_objext \
21005 conftest$ac_exeext conftest.$ac_ext
21007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21009 if test `eval echo '${'$as_ac_var'}'` = yes; then
21010 cat >>confdefs.h <<_ACEOF
21011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21012 _ACEOF
21015 done
21027 echo "$as_me:$LINENO: checking for expf declaration" >&5
21028 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21029 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21030 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21031 echo $ECHO_N "(cached) $ECHO_C" >&6
21032 else
21036 ac_ext=cc
21037 ac_cpp='$CXXCPP $CPPFLAGS'
21038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21042 cat >conftest.$ac_ext <<_ACEOF
21043 /* confdefs.h. */
21044 _ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 #include <math.h>
21049 #ifdef HAVE_IEEEFP_H
21050 #include <ieeefp.h>
21051 #endif
21054 main ()
21056 expf(0);
21058 return 0;
21060 _ACEOF
21061 rm -f conftest.$ac_objext
21062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21063 (eval $ac_compile) 2>conftest.er1
21064 ac_status=$?
21065 grep -v '^ *+' conftest.er1 >conftest.err
21066 rm -f conftest.er1
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } &&
21070 { ac_try='test -z "$ac_cxx_werror_flag"
21071 || test ! -s conftest.err'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; } &&
21077 { ac_try='test -s conftest.$ac_objext'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; }; then
21083 glibcxx_cv_func_expf_use=yes
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21088 glibcxx_cv_func_expf_use=no
21090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21091 ac_ext=c
21092 ac_cpp='$CPP $CPPFLAGS'
21093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21102 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21104 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21106 for ac_func in expf
21108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21109 echo "$as_me:$LINENO: checking for $ac_func" >&5
21110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21111 if eval "test \"\${$as_ac_var+set}\" = set"; then
21112 echo $ECHO_N "(cached) $ECHO_C" >&6
21113 else
21114 if test x$gcc_no_link = xyes; then
21115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21117 { (exit 1); exit 1; }; }
21119 cat >conftest.$ac_ext <<_ACEOF
21120 /* confdefs.h. */
21121 _ACEOF
21122 cat confdefs.h >>conftest.$ac_ext
21123 cat >>conftest.$ac_ext <<_ACEOF
21124 /* end confdefs.h. */
21125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21127 #define $ac_func innocuous_$ac_func
21129 /* System header to define __stub macros and hopefully few prototypes,
21130 which can conflict with char $ac_func (); below.
21131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21132 <limits.h> exists even on freestanding compilers. */
21134 #ifdef __STDC__
21135 # include <limits.h>
21136 #else
21137 # include <assert.h>
21138 #endif
21140 #undef $ac_func
21142 /* Override any gcc2 internal prototype to avoid an error. */
21143 #ifdef __cplusplus
21144 extern "C"
21146 #endif
21147 /* We use char because int might match the return type of a gcc2
21148 builtin and then its argument prototype would still apply. */
21149 char $ac_func ();
21150 /* The GNU C library defines this for functions which it implements
21151 to always fail with ENOSYS. Some functions are actually named
21152 something starting with __ and the normal name is an alias. */
21153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21154 choke me
21155 #else
21156 char (*f) () = $ac_func;
21157 #endif
21158 #ifdef __cplusplus
21160 #endif
21163 main ()
21165 return f != $ac_func;
21167 return 0;
21169 _ACEOF
21170 rm -f conftest.$ac_objext conftest$ac_exeext
21171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21172 (eval $ac_link) 2>conftest.er1
21173 ac_status=$?
21174 grep -v '^ *+' conftest.er1 >conftest.err
21175 rm -f conftest.er1
21176 cat conftest.err >&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); } &&
21179 { ac_try='test -z "$ac_c_werror_flag"
21180 || test ! -s conftest.err'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21183 ac_status=$?
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; } &&
21186 { ac_try='test -s conftest$ac_exeext'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 eval "$as_ac_var=yes"
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21197 eval "$as_ac_var=no"
21199 rm -f conftest.err conftest.$ac_objext \
21200 conftest$ac_exeext conftest.$ac_ext
21202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21204 if test `eval echo '${'$as_ac_var'}'` = yes; then
21205 cat >>confdefs.h <<_ACEOF
21206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21207 _ACEOF
21210 done
21212 else
21214 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21215 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21216 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21217 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 else
21223 ac_ext=cc
21224 ac_cpp='$CXXCPP $CPPFLAGS'
21225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229 cat >conftest.$ac_ext <<_ACEOF
21230 /* confdefs.h. */
21231 _ACEOF
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 #include <math.h>
21236 #ifdef HAVE_IEEEFP_H
21237 #include <ieeefp.h>
21238 #endif
21241 main ()
21243 _expf(0);
21245 return 0;
21247 _ACEOF
21248 rm -f conftest.$ac_objext
21249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21250 (eval $ac_compile) 2>conftest.er1
21251 ac_status=$?
21252 grep -v '^ *+' conftest.er1 >conftest.err
21253 rm -f conftest.er1
21254 cat conftest.err >&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); } &&
21257 { ac_try='test -z "$ac_cxx_werror_flag"
21258 || test ! -s conftest.err'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; } &&
21264 { ac_try='test -s conftest.$ac_objext'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21267 ac_status=$?
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; }; then
21270 glibcxx_cv_func__expf_use=yes
21271 else
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21275 glibcxx_cv_func__expf_use=no
21277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21289 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21291 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21293 for ac_func in _expf
21295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21296 echo "$as_me:$LINENO: checking for $ac_func" >&5
21297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21298 if eval "test \"\${$as_ac_var+set}\" = set"; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 else
21301 if test x$gcc_no_link = xyes; then
21302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21304 { (exit 1); exit 1; }; }
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21314 #define $ac_func innocuous_$ac_func
21316 /* System header to define __stub macros and hopefully few prototypes,
21317 which can conflict with char $ac_func (); below.
21318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21319 <limits.h> exists even on freestanding compilers. */
21321 #ifdef __STDC__
21322 # include <limits.h>
21323 #else
21324 # include <assert.h>
21325 #endif
21327 #undef $ac_func
21329 /* Override any gcc2 internal prototype to avoid an error. */
21330 #ifdef __cplusplus
21331 extern "C"
21333 #endif
21334 /* We use char because int might match the return type of a gcc2
21335 builtin and then its argument prototype would still apply. */
21336 char $ac_func ();
21337 /* The GNU C library defines this for functions which it implements
21338 to always fail with ENOSYS. Some functions are actually named
21339 something starting with __ and the normal name is an alias. */
21340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21341 choke me
21342 #else
21343 char (*f) () = $ac_func;
21344 #endif
21345 #ifdef __cplusplus
21347 #endif
21350 main ()
21352 return f != $ac_func;
21354 return 0;
21356 _ACEOF
21357 rm -f conftest.$ac_objext conftest$ac_exeext
21358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359 (eval $ac_link) 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } &&
21366 { ac_try='test -z "$ac_c_werror_flag"
21367 || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest$ac_exeext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 eval "$as_ac_var=yes"
21380 else
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21384 eval "$as_ac_var=no"
21386 rm -f conftest.err conftest.$ac_objext \
21387 conftest$ac_exeext conftest.$ac_ext
21389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21391 if test `eval echo '${'$as_ac_var'}'` = yes; then
21392 cat >>confdefs.h <<_ACEOF
21393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21394 _ACEOF
21397 done
21407 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
21408 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
21409 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21410 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 else
21416 ac_ext=cc
21417 ac_cpp='$CXXCPP $CPPFLAGS'
21418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21422 cat >conftest.$ac_ext <<_ACEOF
21423 /* confdefs.h. */
21424 _ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428 #include <math.h>
21429 #ifdef HAVE_IEEEFP_H
21430 #include <ieeefp.h>
21431 #endif
21434 main ()
21436 isnanf(0);
21438 return 0;
21440 _ACEOF
21441 rm -f conftest.$ac_objext
21442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21443 (eval $ac_compile) 2>conftest.er1
21444 ac_status=$?
21445 grep -v '^ *+' conftest.er1 >conftest.err
21446 rm -f conftest.er1
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } &&
21450 { ac_try='test -z "$ac_cxx_werror_flag"
21451 || test ! -s conftest.err'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; } &&
21457 { ac_try='test -s conftest.$ac_objext'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21460 ac_status=$?
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; }; then
21463 glibcxx_cv_func_isnanf_use=yes
21464 else
21465 echo "$as_me: failed program was:" >&5
21466 sed 's/^/| /' conftest.$ac_ext >&5
21468 glibcxx_cv_func_isnanf_use=no
21470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21471 ac_ext=c
21472 ac_cpp='$CPP $CPPFLAGS'
21473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
21482 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
21484 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21486 for ac_func in isnanf
21488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21489 echo "$as_me:$LINENO: checking for $ac_func" >&5
21490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21491 if eval "test \"\${$as_ac_var+set}\" = set"; then
21492 echo $ECHO_N "(cached) $ECHO_C" >&6
21493 else
21494 if test x$gcc_no_link = xyes; then
21495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21497 { (exit 1); exit 1; }; }
21499 cat >conftest.$ac_ext <<_ACEOF
21500 /* confdefs.h. */
21501 _ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21507 #define $ac_func innocuous_$ac_func
21509 /* System header to define __stub macros and hopefully few prototypes,
21510 which can conflict with char $ac_func (); below.
21511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21512 <limits.h> exists even on freestanding compilers. */
21514 #ifdef __STDC__
21515 # include <limits.h>
21516 #else
21517 # include <assert.h>
21518 #endif
21520 #undef $ac_func
21522 /* Override any gcc2 internal prototype to avoid an error. */
21523 #ifdef __cplusplus
21524 extern "C"
21526 #endif
21527 /* We use char because int might match the return type of a gcc2
21528 builtin and then its argument prototype would still apply. */
21529 char $ac_func ();
21530 /* The GNU C library defines this for functions which it implements
21531 to always fail with ENOSYS. Some functions are actually named
21532 something starting with __ and the normal name is an alias. */
21533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21534 choke me
21535 #else
21536 char (*f) () = $ac_func;
21537 #endif
21538 #ifdef __cplusplus
21540 #endif
21543 main ()
21545 return f != $ac_func;
21547 return 0;
21549 _ACEOF
21550 rm -f conftest.$ac_objext conftest$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>conftest.er1
21553 ac_status=$?
21554 grep -v '^ *+' conftest.er1 >conftest.err
21555 rm -f conftest.er1
21556 cat conftest.err >&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } &&
21559 { ac_try='test -z "$ac_c_werror_flag"
21560 || test ! -s conftest.err'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; } &&
21566 { ac_try='test -s conftest$ac_exeext'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 eval "$as_ac_var=yes"
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 eval "$as_ac_var=no"
21579 rm -f conftest.err conftest.$ac_objext \
21580 conftest$ac_exeext conftest.$ac_ext
21582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21584 if test `eval echo '${'$as_ac_var'}'` = yes; then
21585 cat >>confdefs.h <<_ACEOF
21586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21587 _ACEOF
21590 done
21592 else
21594 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
21595 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
21596 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21597 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 else
21603 ac_ext=cc
21604 ac_cpp='$CXXCPP $CPPFLAGS'
21605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 #include <math.h>
21616 #ifdef HAVE_IEEEFP_H
21617 #include <ieeefp.h>
21618 #endif
21621 main ()
21623 _isnanf(0);
21625 return 0;
21627 _ACEOF
21628 rm -f conftest.$ac_objext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21630 (eval $ac_compile) 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } &&
21637 { ac_try='test -z "$ac_cxx_werror_flag"
21638 || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 glibcxx_cv_func__isnanf_use=yes
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21655 glibcxx_cv_func__isnanf_use=no
21657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21658 ac_ext=c
21659 ac_cpp='$CPP $CPPFLAGS'
21660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
21669 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
21671 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21673 for ac_func in _isnanf
21675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21676 echo "$as_me:$LINENO: checking for $ac_func" >&5
21677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21678 if eval "test \"\${$as_ac_var+set}\" = set"; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21680 else
21681 if test x$gcc_no_link = xyes; then
21682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21684 { (exit 1); exit 1; }; }
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21694 #define $ac_func innocuous_$ac_func
21696 /* System header to define __stub macros and hopefully few prototypes,
21697 which can conflict with char $ac_func (); below.
21698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21699 <limits.h> exists even on freestanding compilers. */
21701 #ifdef __STDC__
21702 # include <limits.h>
21703 #else
21704 # include <assert.h>
21705 #endif
21707 #undef $ac_func
21709 /* Override any gcc2 internal prototype to avoid an error. */
21710 #ifdef __cplusplus
21711 extern "C"
21713 #endif
21714 /* We use char because int might match the return type of a gcc2
21715 builtin and then its argument prototype would still apply. */
21716 char $ac_func ();
21717 /* The GNU C library defines this for functions which it implements
21718 to always fail with ENOSYS. Some functions are actually named
21719 something starting with __ and the normal name is an alias. */
21720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21721 choke me
21722 #else
21723 char (*f) () = $ac_func;
21724 #endif
21725 #ifdef __cplusplus
21727 #endif
21730 main ()
21732 return f != $ac_func;
21734 return 0;
21736 _ACEOF
21737 rm -f conftest.$ac_objext conftest$ac_exeext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21739 (eval $ac_link) 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -z "$ac_c_werror_flag"
21747 || test ! -s conftest.err'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; } &&
21753 { ac_try='test -s conftest$ac_exeext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 eval "$as_ac_var=yes"
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 eval "$as_ac_var=no"
21766 rm -f conftest.err conftest.$ac_objext \
21767 conftest$ac_exeext conftest.$ac_ext
21769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21771 if test `eval echo '${'$as_ac_var'}'` = yes; then
21772 cat >>confdefs.h <<_ACEOF
21773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21774 _ACEOF
21777 done
21787 echo "$as_me:$LINENO: checking for isinff declaration" >&5
21788 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
21789 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21790 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
21791 echo $ECHO_N "(cached) $ECHO_C" >&6
21792 else
21796 ac_ext=cc
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 #include <math.h>
21809 #ifdef HAVE_IEEEFP_H
21810 #include <ieeefp.h>
21811 #endif
21814 main ()
21816 isinff(0);
21818 return 0;
21820 _ACEOF
21821 rm -f conftest.$ac_objext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21823 (eval $ac_compile) 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } &&
21830 { ac_try='test -z "$ac_cxx_werror_flag"
21831 || test ! -s conftest.err'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; } &&
21837 { ac_try='test -s conftest.$ac_objext'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; }; then
21843 glibcxx_cv_func_isinff_use=yes
21844 else
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21848 glibcxx_cv_func_isinff_use=no
21850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21851 ac_ext=c
21852 ac_cpp='$CPP $CPPFLAGS'
21853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
21862 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
21864 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21866 for ac_func in isinff
21868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21869 echo "$as_me:$LINENO: checking for $ac_func" >&5
21870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21871 if eval "test \"\${$as_ac_var+set}\" = set"; then
21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 else
21874 if test x$gcc_no_link = xyes; then
21875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21877 { (exit 1); exit 1; }; }
21879 cat >conftest.$ac_ext <<_ACEOF
21880 /* confdefs.h. */
21881 _ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21887 #define $ac_func innocuous_$ac_func
21889 /* System header to define __stub macros and hopefully few prototypes,
21890 which can conflict with char $ac_func (); below.
21891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21892 <limits.h> exists even on freestanding compilers. */
21894 #ifdef __STDC__
21895 # include <limits.h>
21896 #else
21897 # include <assert.h>
21898 #endif
21900 #undef $ac_func
21902 /* Override any gcc2 internal prototype to avoid an error. */
21903 #ifdef __cplusplus
21904 extern "C"
21906 #endif
21907 /* We use char because int might match the return type of a gcc2
21908 builtin and then its argument prototype would still apply. */
21909 char $ac_func ();
21910 /* The GNU C library defines this for functions which it implements
21911 to always fail with ENOSYS. Some functions are actually named
21912 something starting with __ and the normal name is an alias. */
21913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21914 choke me
21915 #else
21916 char (*f) () = $ac_func;
21917 #endif
21918 #ifdef __cplusplus
21920 #endif
21923 main ()
21925 return f != $ac_func;
21927 return 0;
21929 _ACEOF
21930 rm -f conftest.$ac_objext conftest$ac_exeext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21932 (eval $ac_link) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_c_werror_flag"
21940 || test ! -s conftest.err'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest$ac_exeext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 eval "$as_ac_var=yes"
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21957 eval "$as_ac_var=no"
21959 rm -f conftest.err conftest.$ac_objext \
21960 conftest$ac_exeext conftest.$ac_ext
21962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21964 if test `eval echo '${'$as_ac_var'}'` = yes; then
21965 cat >>confdefs.h <<_ACEOF
21966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21967 _ACEOF
21970 done
21972 else
21974 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
21975 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
21976 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21977 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 else
21983 ac_ext=cc
21984 ac_cpp='$CXXCPP $CPPFLAGS'
21985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21989 cat >conftest.$ac_ext <<_ACEOF
21990 /* confdefs.h. */
21991 _ACEOF
21992 cat confdefs.h >>conftest.$ac_ext
21993 cat >>conftest.$ac_ext <<_ACEOF
21994 /* end confdefs.h. */
21995 #include <math.h>
21996 #ifdef HAVE_IEEEFP_H
21997 #include <ieeefp.h>
21998 #endif
22001 main ()
22003 _isinff(0);
22005 return 0;
22007 _ACEOF
22008 rm -f conftest.$ac_objext
22009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22010 (eval $ac_compile) 2>conftest.er1
22011 ac_status=$?
22012 grep -v '^ *+' conftest.er1 >conftest.err
22013 rm -f conftest.er1
22014 cat conftest.err >&5
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } &&
22017 { ac_try='test -z "$ac_cxx_werror_flag"
22018 || test ! -s conftest.err'
22019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22020 (eval $ac_try) 2>&5
22021 ac_status=$?
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; } &&
22024 { ac_try='test -s conftest.$ac_objext'
22025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22026 (eval $ac_try) 2>&5
22027 ac_status=$?
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); }; }; then
22030 glibcxx_cv_func__isinff_use=yes
22031 else
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22035 glibcxx_cv_func__isinff_use=no
22037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22038 ac_ext=c
22039 ac_cpp='$CPP $CPPFLAGS'
22040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22049 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22051 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22053 for ac_func in _isinff
22055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22056 echo "$as_me:$LINENO: checking for $ac_func" >&5
22057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22058 if eval "test \"\${$as_ac_var+set}\" = set"; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22060 else
22061 if test x$gcc_no_link = xyes; then
22062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22064 { (exit 1); exit 1; }; }
22066 cat >conftest.$ac_ext <<_ACEOF
22067 /* confdefs.h. */
22068 _ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22074 #define $ac_func innocuous_$ac_func
22076 /* System header to define __stub macros and hopefully few prototypes,
22077 which can conflict with char $ac_func (); below.
22078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22079 <limits.h> exists even on freestanding compilers. */
22081 #ifdef __STDC__
22082 # include <limits.h>
22083 #else
22084 # include <assert.h>
22085 #endif
22087 #undef $ac_func
22089 /* Override any gcc2 internal prototype to avoid an error. */
22090 #ifdef __cplusplus
22091 extern "C"
22093 #endif
22094 /* We use char because int might match the return type of a gcc2
22095 builtin and then its argument prototype would still apply. */
22096 char $ac_func ();
22097 /* The GNU C library defines this for functions which it implements
22098 to always fail with ENOSYS. Some functions are actually named
22099 something starting with __ and the normal name is an alias. */
22100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22101 choke me
22102 #else
22103 char (*f) () = $ac_func;
22104 #endif
22105 #ifdef __cplusplus
22107 #endif
22110 main ()
22112 return f != $ac_func;
22114 return 0;
22116 _ACEOF
22117 rm -f conftest.$ac_objext conftest$ac_exeext
22118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22119 (eval $ac_link) 2>conftest.er1
22120 ac_status=$?
22121 grep -v '^ *+' conftest.er1 >conftest.err
22122 rm -f conftest.er1
22123 cat conftest.err >&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } &&
22126 { ac_try='test -z "$ac_c_werror_flag"
22127 || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try='test -s conftest$ac_exeext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 eval "$as_ac_var=yes"
22140 else
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.$ac_ext >&5
22144 eval "$as_ac_var=no"
22146 rm -f conftest.err conftest.$ac_objext \
22147 conftest$ac_exeext conftest.$ac_ext
22149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22151 if test `eval echo '${'$as_ac_var'}'` = yes; then
22152 cat >>confdefs.h <<_ACEOF
22153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22154 _ACEOF
22157 done
22167 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22168 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22169 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22170 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 else
22176 ac_ext=cc
22177 ac_cpp='$CXXCPP $CPPFLAGS'
22178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22182 cat >conftest.$ac_ext <<_ACEOF
22183 /* confdefs.h. */
22184 _ACEOF
22185 cat confdefs.h >>conftest.$ac_ext
22186 cat >>conftest.$ac_ext <<_ACEOF
22187 /* end confdefs.h. */
22188 #include <math.h>
22190 main ()
22192 atan2f(0, 0);
22194 return 0;
22196 _ACEOF
22197 rm -f conftest.$ac_objext
22198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22199 (eval $ac_compile) 2>conftest.er1
22200 ac_status=$?
22201 grep -v '^ *+' conftest.er1 >conftest.err
22202 rm -f conftest.er1
22203 cat conftest.err >&5
22204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22205 (exit $ac_status); } &&
22206 { ac_try='test -z "$ac_cxx_werror_flag"
22207 || test ! -s conftest.err'
22208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22209 (eval $ac_try) 2>&5
22210 ac_status=$?
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); }; } &&
22213 { ac_try='test -s conftest.$ac_objext'
22214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22215 (eval $ac_try) 2>&5
22216 ac_status=$?
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; }; then
22219 glibcxx_cv_func_atan2f_use=yes
22220 else
22221 echo "$as_me: failed program was:" >&5
22222 sed 's/^/| /' conftest.$ac_ext >&5
22224 glibcxx_cv_func_atan2f_use=no
22226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22227 ac_ext=c
22228 ac_cpp='$CPP $CPPFLAGS'
22229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22238 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22240 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22242 for ac_func in atan2f
22244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22245 echo "$as_me:$LINENO: checking for $ac_func" >&5
22246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22247 if eval "test \"\${$as_ac_var+set}\" = set"; then
22248 echo $ECHO_N "(cached) $ECHO_C" >&6
22249 else
22250 if test x$gcc_no_link = xyes; then
22251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22253 { (exit 1); exit 1; }; }
22255 cat >conftest.$ac_ext <<_ACEOF
22256 /* confdefs.h. */
22257 _ACEOF
22258 cat confdefs.h >>conftest.$ac_ext
22259 cat >>conftest.$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22263 #define $ac_func innocuous_$ac_func
22265 /* System header to define __stub macros and hopefully few prototypes,
22266 which can conflict with char $ac_func (); below.
22267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22268 <limits.h> exists even on freestanding compilers. */
22270 #ifdef __STDC__
22271 # include <limits.h>
22272 #else
22273 # include <assert.h>
22274 #endif
22276 #undef $ac_func
22278 /* Override any gcc2 internal prototype to avoid an error. */
22279 #ifdef __cplusplus
22280 extern "C"
22282 #endif
22283 /* We use char because int might match the return type of a gcc2
22284 builtin and then its argument prototype would still apply. */
22285 char $ac_func ();
22286 /* The GNU C library defines this for functions which it implements
22287 to always fail with ENOSYS. Some functions are actually named
22288 something starting with __ and the normal name is an alias. */
22289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22290 choke me
22291 #else
22292 char (*f) () = $ac_func;
22293 #endif
22294 #ifdef __cplusplus
22296 #endif
22299 main ()
22301 return f != $ac_func;
22303 return 0;
22305 _ACEOF
22306 rm -f conftest.$ac_objext conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try='test -z "$ac_c_werror_flag"
22316 || test ! -s conftest.err'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22319 ac_status=$?
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; } &&
22322 { ac_try='test -s conftest$ac_exeext'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22325 ac_status=$?
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 eval "$as_ac_var=yes"
22329 else
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.$ac_ext >&5
22333 eval "$as_ac_var=no"
22335 rm -f conftest.err conftest.$ac_objext \
22336 conftest$ac_exeext conftest.$ac_ext
22338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22340 if test `eval echo '${'$as_ac_var'}'` = yes; then
22341 cat >>confdefs.h <<_ACEOF
22342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22343 _ACEOF
22346 done
22348 else
22350 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22351 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22352 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22353 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 else
22359 ac_ext=cc
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365 cat >conftest.$ac_ext <<_ACEOF
22366 /* confdefs.h. */
22367 _ACEOF
22368 cat confdefs.h >>conftest.$ac_ext
22369 cat >>conftest.$ac_ext <<_ACEOF
22370 /* end confdefs.h. */
22371 #include <math.h>
22373 main ()
22375 _atan2f(0, 0);
22377 return 0;
22379 _ACEOF
22380 rm -f conftest.$ac_objext
22381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22382 (eval $ac_compile) 2>conftest.er1
22383 ac_status=$?
22384 grep -v '^ *+' conftest.er1 >conftest.err
22385 rm -f conftest.er1
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } &&
22389 { ac_try='test -z "$ac_cxx_werror_flag"
22390 || test ! -s conftest.err'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; } &&
22396 { ac_try='test -s conftest.$ac_objext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 glibcxx_cv_func__atan2f_use=yes
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22407 glibcxx_cv_func__atan2f_use=no
22409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22410 ac_ext=c
22411 ac_cpp='$CPP $CPPFLAGS'
22412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
22421 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
22423 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22425 for ac_func in _atan2f
22427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22428 echo "$as_me:$LINENO: checking for $ac_func" >&5
22429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22430 if eval "test \"\${$as_ac_var+set}\" = set"; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 else
22433 if test x$gcc_no_link = xyes; then
22434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22436 { (exit 1); exit 1; }; }
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22446 #define $ac_func innocuous_$ac_func
22448 /* System header to define __stub macros and hopefully few prototypes,
22449 which can conflict with char $ac_func (); below.
22450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22451 <limits.h> exists even on freestanding compilers. */
22453 #ifdef __STDC__
22454 # include <limits.h>
22455 #else
22456 # include <assert.h>
22457 #endif
22459 #undef $ac_func
22461 /* Override any gcc2 internal prototype to avoid an error. */
22462 #ifdef __cplusplus
22463 extern "C"
22465 #endif
22466 /* We use char because int might match the return type of a gcc2
22467 builtin and then its argument prototype would still apply. */
22468 char $ac_func ();
22469 /* The GNU C library defines this for functions which it implements
22470 to always fail with ENOSYS. Some functions are actually named
22471 something starting with __ and the normal name is an alias. */
22472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22473 choke me
22474 #else
22475 char (*f) () = $ac_func;
22476 #endif
22477 #ifdef __cplusplus
22479 #endif
22482 main ()
22484 return f != $ac_func;
22486 return 0;
22488 _ACEOF
22489 rm -f conftest.$ac_objext conftest$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag"
22499 || test ! -s conftest.err'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; } &&
22505 { ac_try='test -s conftest$ac_exeext'
22506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22507 (eval $ac_try) 2>&5
22508 ac_status=$?
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 eval "$as_ac_var=yes"
22512 else
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 eval "$as_ac_var=no"
22518 rm -f conftest.err conftest.$ac_objext \
22519 conftest$ac_exeext conftest.$ac_ext
22521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22523 if test `eval echo '${'$as_ac_var'}'` = yes; then
22524 cat >>confdefs.h <<_ACEOF
22525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22526 _ACEOF
22529 done
22539 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
22540 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
22541 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22542 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 else
22548 ac_ext=cc
22549 ac_cpp='$CXXCPP $CPPFLAGS'
22550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 #include <math.h>
22561 #ifdef HAVE_IEEEFP_H
22562 #include <ieeefp.h>
22563 #endif
22566 main ()
22568 fabsf(0);
22570 return 0;
22572 _ACEOF
22573 rm -f conftest.$ac_objext
22574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22575 (eval $ac_compile) 2>conftest.er1
22576 ac_status=$?
22577 grep -v '^ *+' conftest.er1 >conftest.err
22578 rm -f conftest.er1
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } &&
22582 { ac_try='test -z "$ac_cxx_werror_flag"
22583 || test ! -s conftest.err'
22584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22585 (eval $ac_try) 2>&5
22586 ac_status=$?
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; } &&
22589 { ac_try='test -s conftest.$ac_objext'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; }; then
22595 glibcxx_cv_func_fabsf_use=yes
22596 else
22597 echo "$as_me: failed program was:" >&5
22598 sed 's/^/| /' conftest.$ac_ext >&5
22600 glibcxx_cv_func_fabsf_use=no
22602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22603 ac_ext=c
22604 ac_cpp='$CPP $CPPFLAGS'
22605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
22614 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
22616 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22618 for ac_func in fabsf
22620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22621 echo "$as_me:$LINENO: checking for $ac_func" >&5
22622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22623 if eval "test \"\${$as_ac_var+set}\" = set"; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22626 if test x$gcc_no_link = xyes; then
22627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22629 { (exit 1); exit 1; }; }
22631 cat >conftest.$ac_ext <<_ACEOF
22632 /* confdefs.h. */
22633 _ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22639 #define $ac_func innocuous_$ac_func
22641 /* System header to define __stub macros and hopefully few prototypes,
22642 which can conflict with char $ac_func (); below.
22643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22644 <limits.h> exists even on freestanding compilers. */
22646 #ifdef __STDC__
22647 # include <limits.h>
22648 #else
22649 # include <assert.h>
22650 #endif
22652 #undef $ac_func
22654 /* Override any gcc2 internal prototype to avoid an error. */
22655 #ifdef __cplusplus
22656 extern "C"
22658 #endif
22659 /* We use char because int might match the return type of a gcc2
22660 builtin and then its argument prototype would still apply. */
22661 char $ac_func ();
22662 /* The GNU C library defines this for functions which it implements
22663 to always fail with ENOSYS. Some functions are actually named
22664 something starting with __ and the normal name is an alias. */
22665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22666 choke me
22667 #else
22668 char (*f) () = $ac_func;
22669 #endif
22670 #ifdef __cplusplus
22672 #endif
22675 main ()
22677 return f != $ac_func;
22679 return 0;
22681 _ACEOF
22682 rm -f conftest.$ac_objext conftest$ac_exeext
22683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22684 (eval $ac_link) 2>conftest.er1
22685 ac_status=$?
22686 grep -v '^ *+' conftest.er1 >conftest.err
22687 rm -f conftest.er1
22688 cat conftest.err >&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); } &&
22691 { ac_try='test -z "$ac_c_werror_flag"
22692 || test ! -s conftest.err'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; } &&
22698 { ac_try='test -s conftest$ac_exeext'
22699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22700 (eval $ac_try) 2>&5
22701 ac_status=$?
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); }; }; then
22704 eval "$as_ac_var=yes"
22705 else
22706 echo "$as_me: failed program was:" >&5
22707 sed 's/^/| /' conftest.$ac_ext >&5
22709 eval "$as_ac_var=no"
22711 rm -f conftest.err conftest.$ac_objext \
22712 conftest$ac_exeext conftest.$ac_ext
22714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22716 if test `eval echo '${'$as_ac_var'}'` = yes; then
22717 cat >>confdefs.h <<_ACEOF
22718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22719 _ACEOF
22722 done
22724 else
22726 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
22727 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
22728 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22729 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22735 ac_ext=cc
22736 ac_cpp='$CXXCPP $CPPFLAGS'
22737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22741 cat >conftest.$ac_ext <<_ACEOF
22742 /* confdefs.h. */
22743 _ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 #include <math.h>
22748 #ifdef HAVE_IEEEFP_H
22749 #include <ieeefp.h>
22750 #endif
22753 main ()
22755 _fabsf(0);
22757 return 0;
22759 _ACEOF
22760 rm -f conftest.$ac_objext
22761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22762 (eval $ac_compile) 2>conftest.er1
22763 ac_status=$?
22764 grep -v '^ *+' conftest.er1 >conftest.err
22765 rm -f conftest.er1
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } &&
22769 { ac_try='test -z "$ac_cxx_werror_flag"
22770 || test ! -s conftest.err'
22771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22772 (eval $ac_try) 2>&5
22773 ac_status=$?
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); }; } &&
22776 { ac_try='test -s conftest.$ac_objext'
22777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22778 (eval $ac_try) 2>&5
22779 ac_status=$?
22780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22781 (exit $ac_status); }; }; then
22782 glibcxx_cv_func__fabsf_use=yes
22783 else
22784 echo "$as_me: failed program was:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22787 glibcxx_cv_func__fabsf_use=no
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22790 ac_ext=c
22791 ac_cpp='$CPP $CPPFLAGS'
22792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
22801 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
22803 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22805 for ac_func in _fabsf
22807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22808 echo "$as_me:$LINENO: checking for $ac_func" >&5
22809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22810 if eval "test \"\${$as_ac_var+set}\" = set"; then
22811 echo $ECHO_N "(cached) $ECHO_C" >&6
22812 else
22813 if test x$gcc_no_link = xyes; then
22814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22816 { (exit 1); exit 1; }; }
22818 cat >conftest.$ac_ext <<_ACEOF
22819 /* confdefs.h. */
22820 _ACEOF
22821 cat confdefs.h >>conftest.$ac_ext
22822 cat >>conftest.$ac_ext <<_ACEOF
22823 /* end confdefs.h. */
22824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22826 #define $ac_func innocuous_$ac_func
22828 /* System header to define __stub macros and hopefully few prototypes,
22829 which can conflict with char $ac_func (); below.
22830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22831 <limits.h> exists even on freestanding compilers. */
22833 #ifdef __STDC__
22834 # include <limits.h>
22835 #else
22836 # include <assert.h>
22837 #endif
22839 #undef $ac_func
22841 /* Override any gcc2 internal prototype to avoid an error. */
22842 #ifdef __cplusplus
22843 extern "C"
22845 #endif
22846 /* We use char because int might match the return type of a gcc2
22847 builtin and then its argument prototype would still apply. */
22848 char $ac_func ();
22849 /* The GNU C library defines this for functions which it implements
22850 to always fail with ENOSYS. Some functions are actually named
22851 something starting with __ and the normal name is an alias. */
22852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22853 choke me
22854 #else
22855 char (*f) () = $ac_func;
22856 #endif
22857 #ifdef __cplusplus
22859 #endif
22862 main ()
22864 return f != $ac_func;
22866 return 0;
22868 _ACEOF
22869 rm -f conftest.$ac_objext conftest$ac_exeext
22870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22871 (eval $ac_link) 2>conftest.er1
22872 ac_status=$?
22873 grep -v '^ *+' conftest.er1 >conftest.err
22874 rm -f conftest.er1
22875 cat conftest.err >&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); } &&
22878 { ac_try='test -z "$ac_c_werror_flag"
22879 || test ! -s conftest.err'
22880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22881 (eval $ac_try) 2>&5
22882 ac_status=$?
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); }; } &&
22885 { ac_try='test -s conftest$ac_exeext'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 eval "$as_ac_var=yes"
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22896 eval "$as_ac_var=no"
22898 rm -f conftest.err conftest.$ac_objext \
22899 conftest$ac_exeext conftest.$ac_ext
22901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22903 if test `eval echo '${'$as_ac_var'}'` = yes; then
22904 cat >>confdefs.h <<_ACEOF
22905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22906 _ACEOF
22909 done
22919 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
22920 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
22921 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22922 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
22923 echo $ECHO_N "(cached) $ECHO_C" >&6
22924 else
22928 ac_ext=cc
22929 ac_cpp='$CXXCPP $CPPFLAGS'
22930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22934 cat >conftest.$ac_ext <<_ACEOF
22935 /* confdefs.h. */
22936 _ACEOF
22937 cat confdefs.h >>conftest.$ac_ext
22938 cat >>conftest.$ac_ext <<_ACEOF
22939 /* end confdefs.h. */
22940 #include <math.h>
22942 main ()
22944 fmodf(0, 0);
22946 return 0;
22948 _ACEOF
22949 rm -f conftest.$ac_objext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22951 (eval $ac_compile) 2>conftest.er1
22952 ac_status=$?
22953 grep -v '^ *+' conftest.er1 >conftest.err
22954 rm -f conftest.er1
22955 cat conftest.err >&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } &&
22958 { ac_try='test -z "$ac_cxx_werror_flag"
22959 || test ! -s conftest.err'
22960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22961 (eval $ac_try) 2>&5
22962 ac_status=$?
22963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22964 (exit $ac_status); }; } &&
22965 { ac_try='test -s conftest.$ac_objext'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; }; then
22971 glibcxx_cv_func_fmodf_use=yes
22972 else
22973 echo "$as_me: failed program was:" >&5
22974 sed 's/^/| /' conftest.$ac_ext >&5
22976 glibcxx_cv_func_fmodf_use=no
22978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22979 ac_ext=c
22980 ac_cpp='$CPP $CPPFLAGS'
22981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
22990 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
22992 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22994 for ac_func in fmodf
22996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22997 echo "$as_me:$LINENO: checking for $ac_func" >&5
22998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22999 if eval "test \"\${$as_ac_var+set}\" = set"; then
23000 echo $ECHO_N "(cached) $ECHO_C" >&6
23001 else
23002 if test x$gcc_no_link = xyes; then
23003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23005 { (exit 1); exit 1; }; }
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23015 #define $ac_func innocuous_$ac_func
23017 /* System header to define __stub macros and hopefully few prototypes,
23018 which can conflict with char $ac_func (); below.
23019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23020 <limits.h> exists even on freestanding compilers. */
23022 #ifdef __STDC__
23023 # include <limits.h>
23024 #else
23025 # include <assert.h>
23026 #endif
23028 #undef $ac_func
23030 /* Override any gcc2 internal prototype to avoid an error. */
23031 #ifdef __cplusplus
23032 extern "C"
23034 #endif
23035 /* We use char because int might match the return type of a gcc2
23036 builtin and then its argument prototype would still apply. */
23037 char $ac_func ();
23038 /* The GNU C library defines this for functions which it implements
23039 to always fail with ENOSYS. Some functions are actually named
23040 something starting with __ and the normal name is an alias. */
23041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23042 choke me
23043 #else
23044 char (*f) () = $ac_func;
23045 #endif
23046 #ifdef __cplusplus
23048 #endif
23051 main ()
23053 return f != $ac_func;
23055 return 0;
23057 _ACEOF
23058 rm -f conftest.$ac_objext conftest$ac_exeext
23059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23060 (eval $ac_link) 2>conftest.er1
23061 ac_status=$?
23062 grep -v '^ *+' conftest.er1 >conftest.err
23063 rm -f conftest.er1
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } &&
23067 { ac_try='test -z "$ac_c_werror_flag"
23068 || test ! -s conftest.err'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23071 ac_status=$?
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; } &&
23074 { ac_try='test -s conftest$ac_exeext'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; }; then
23080 eval "$as_ac_var=yes"
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23085 eval "$as_ac_var=no"
23087 rm -f conftest.err conftest.$ac_objext \
23088 conftest$ac_exeext conftest.$ac_ext
23090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23092 if test `eval echo '${'$as_ac_var'}'` = yes; then
23093 cat >>confdefs.h <<_ACEOF
23094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23095 _ACEOF
23098 done
23100 else
23102 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23103 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23104 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23105 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 else
23111 ac_ext=cc
23112 ac_cpp='$CXXCPP $CPPFLAGS'
23113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23117 cat >conftest.$ac_ext <<_ACEOF
23118 /* confdefs.h. */
23119 _ACEOF
23120 cat confdefs.h >>conftest.$ac_ext
23121 cat >>conftest.$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123 #include <math.h>
23125 main ()
23127 _fmodf(0, 0);
23129 return 0;
23131 _ACEOF
23132 rm -f conftest.$ac_objext
23133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23134 (eval $ac_compile) 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -z "$ac_cxx_werror_flag"
23142 || test ! -s conftest.err'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; } &&
23148 { ac_try='test -s conftest.$ac_objext'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; }; then
23154 glibcxx_cv_func__fmodf_use=yes
23155 else
23156 echo "$as_me: failed program was:" >&5
23157 sed 's/^/| /' conftest.$ac_ext >&5
23159 glibcxx_cv_func__fmodf_use=no
23161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23162 ac_ext=c
23163 ac_cpp='$CPP $CPPFLAGS'
23164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23173 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23175 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23177 for ac_func in _fmodf
23179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23180 echo "$as_me:$LINENO: checking for $ac_func" >&5
23181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23182 if eval "test \"\${$as_ac_var+set}\" = set"; then
23183 echo $ECHO_N "(cached) $ECHO_C" >&6
23184 else
23185 if test x$gcc_no_link = xyes; then
23186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23188 { (exit 1); exit 1; }; }
23190 cat >conftest.$ac_ext <<_ACEOF
23191 /* confdefs.h. */
23192 _ACEOF
23193 cat confdefs.h >>conftest.$ac_ext
23194 cat >>conftest.$ac_ext <<_ACEOF
23195 /* end confdefs.h. */
23196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23198 #define $ac_func innocuous_$ac_func
23200 /* System header to define __stub macros and hopefully few prototypes,
23201 which can conflict with char $ac_func (); below.
23202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23203 <limits.h> exists even on freestanding compilers. */
23205 #ifdef __STDC__
23206 # include <limits.h>
23207 #else
23208 # include <assert.h>
23209 #endif
23211 #undef $ac_func
23213 /* Override any gcc2 internal prototype to avoid an error. */
23214 #ifdef __cplusplus
23215 extern "C"
23217 #endif
23218 /* We use char because int might match the return type of a gcc2
23219 builtin and then its argument prototype would still apply. */
23220 char $ac_func ();
23221 /* The GNU C library defines this for functions which it implements
23222 to always fail with ENOSYS. Some functions are actually named
23223 something starting with __ and the normal name is an alias. */
23224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23225 choke me
23226 #else
23227 char (*f) () = $ac_func;
23228 #endif
23229 #ifdef __cplusplus
23231 #endif
23234 main ()
23236 return f != $ac_func;
23238 return 0;
23240 _ACEOF
23241 rm -f conftest.$ac_objext conftest$ac_exeext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23243 (eval $ac_link) 2>conftest.er1
23244 ac_status=$?
23245 grep -v '^ *+' conftest.er1 >conftest.err
23246 rm -f conftest.er1
23247 cat conftest.err >&5
23248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23249 (exit $ac_status); } &&
23250 { ac_try='test -z "$ac_c_werror_flag"
23251 || test ! -s conftest.err'
23252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23253 (eval $ac_try) 2>&5
23254 ac_status=$?
23255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23256 (exit $ac_status); }; } &&
23257 { ac_try='test -s conftest$ac_exeext'
23258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23259 (eval $ac_try) 2>&5
23260 ac_status=$?
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); }; }; then
23263 eval "$as_ac_var=yes"
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23268 eval "$as_ac_var=no"
23270 rm -f conftest.err conftest.$ac_objext \
23271 conftest$ac_exeext conftest.$ac_ext
23273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23275 if test `eval echo '${'$as_ac_var'}'` = yes; then
23276 cat >>confdefs.h <<_ACEOF
23277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23278 _ACEOF
23281 done
23291 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23292 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23293 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23294 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 else
23300 ac_ext=cc
23301 ac_cpp='$CXXCPP $CPPFLAGS'
23302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23306 cat >conftest.$ac_ext <<_ACEOF
23307 /* confdefs.h. */
23308 _ACEOF
23309 cat confdefs.h >>conftest.$ac_ext
23310 cat >>conftest.$ac_ext <<_ACEOF
23311 /* end confdefs.h. */
23312 #include <math.h>
23314 main ()
23316 frexpf(0, 0);
23318 return 0;
23320 _ACEOF
23321 rm -f conftest.$ac_objext
23322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23323 (eval $ac_compile) 2>conftest.er1
23324 ac_status=$?
23325 grep -v '^ *+' conftest.er1 >conftest.err
23326 rm -f conftest.er1
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } &&
23330 { ac_try='test -z "$ac_cxx_werror_flag"
23331 || test ! -s conftest.err'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23334 ac_status=$?
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; } &&
23337 { ac_try='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23340 ac_status=$?
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 glibcxx_cv_func_frexpf_use=yes
23344 else
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 glibcxx_cv_func_frexpf_use=no
23350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
23362 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
23364 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23366 for ac_func in frexpf
23368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23369 echo "$as_me:$LINENO: checking for $ac_func" >&5
23370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23371 if eval "test \"\${$as_ac_var+set}\" = set"; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 else
23374 if test x$gcc_no_link = xyes; then
23375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23377 { (exit 1); exit 1; }; }
23379 cat >conftest.$ac_ext <<_ACEOF
23380 /* confdefs.h. */
23381 _ACEOF
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23387 #define $ac_func innocuous_$ac_func
23389 /* System header to define __stub macros and hopefully few prototypes,
23390 which can conflict with char $ac_func (); below.
23391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23392 <limits.h> exists even on freestanding compilers. */
23394 #ifdef __STDC__
23395 # include <limits.h>
23396 #else
23397 # include <assert.h>
23398 #endif
23400 #undef $ac_func
23402 /* Override any gcc2 internal prototype to avoid an error. */
23403 #ifdef __cplusplus
23404 extern "C"
23406 #endif
23407 /* We use char because int might match the return type of a gcc2
23408 builtin and then its argument prototype would still apply. */
23409 char $ac_func ();
23410 /* The GNU C library defines this for functions which it implements
23411 to always fail with ENOSYS. Some functions are actually named
23412 something starting with __ and the normal name is an alias. */
23413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23414 choke me
23415 #else
23416 char (*f) () = $ac_func;
23417 #endif
23418 #ifdef __cplusplus
23420 #endif
23423 main ()
23425 return f != $ac_func;
23427 return 0;
23429 _ACEOF
23430 rm -f conftest.$ac_objext conftest$ac_exeext
23431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23432 (eval $ac_link) 2>conftest.er1
23433 ac_status=$?
23434 grep -v '^ *+' conftest.er1 >conftest.err
23435 rm -f conftest.er1
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -z "$ac_c_werror_flag"
23440 || test ! -s conftest.err'
23441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23442 (eval $ac_try) 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); }; } &&
23446 { ac_try='test -s conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 eval "$as_ac_var=yes"
23453 else
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23457 eval "$as_ac_var=no"
23459 rm -f conftest.err conftest.$ac_objext \
23460 conftest$ac_exeext conftest.$ac_ext
23462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23464 if test `eval echo '${'$as_ac_var'}'` = yes; then
23465 cat >>confdefs.h <<_ACEOF
23466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23467 _ACEOF
23470 done
23472 else
23474 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
23475 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
23476 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23477 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
23478 echo $ECHO_N "(cached) $ECHO_C" >&6
23479 else
23483 ac_ext=cc
23484 ac_cpp='$CXXCPP $CPPFLAGS'
23485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23489 cat >conftest.$ac_ext <<_ACEOF
23490 /* confdefs.h. */
23491 _ACEOF
23492 cat confdefs.h >>conftest.$ac_ext
23493 cat >>conftest.$ac_ext <<_ACEOF
23494 /* end confdefs.h. */
23495 #include <math.h>
23497 main ()
23499 _frexpf(0, 0);
23501 return 0;
23503 _ACEOF
23504 rm -f conftest.$ac_objext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23506 (eval $ac_compile) 2>conftest.er1
23507 ac_status=$?
23508 grep -v '^ *+' conftest.er1 >conftest.err
23509 rm -f conftest.er1
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try='test -z "$ac_cxx_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest.$ac_objext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 glibcxx_cv_func__frexpf_use=yes
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23531 glibcxx_cv_func__frexpf_use=no
23533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23534 ac_ext=c
23535 ac_cpp='$CPP $CPPFLAGS'
23536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
23545 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
23547 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23549 for ac_func in _frexpf
23551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23552 echo "$as_me:$LINENO: checking for $ac_func" >&5
23553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23554 if eval "test \"\${$as_ac_var+set}\" = set"; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23556 else
23557 if test x$gcc_no_link = xyes; then
23558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23560 { (exit 1); exit 1; }; }
23562 cat >conftest.$ac_ext <<_ACEOF
23563 /* confdefs.h. */
23564 _ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23570 #define $ac_func innocuous_$ac_func
23572 /* System header to define __stub macros and hopefully few prototypes,
23573 which can conflict with char $ac_func (); below.
23574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23575 <limits.h> exists even on freestanding compilers. */
23577 #ifdef __STDC__
23578 # include <limits.h>
23579 #else
23580 # include <assert.h>
23581 #endif
23583 #undef $ac_func
23585 /* Override any gcc2 internal prototype to avoid an error. */
23586 #ifdef __cplusplus
23587 extern "C"
23589 #endif
23590 /* We use char because int might match the return type of a gcc2
23591 builtin and then its argument prototype would still apply. */
23592 char $ac_func ();
23593 /* The GNU C library defines this for functions which it implements
23594 to always fail with ENOSYS. Some functions are actually named
23595 something starting with __ and the normal name is an alias. */
23596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23597 choke me
23598 #else
23599 char (*f) () = $ac_func;
23600 #endif
23601 #ifdef __cplusplus
23603 #endif
23606 main ()
23608 return f != $ac_func;
23610 return 0;
23612 _ACEOF
23613 rm -f conftest.$ac_objext conftest$ac_exeext
23614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23615 (eval $ac_link) 2>conftest.er1
23616 ac_status=$?
23617 grep -v '^ *+' conftest.er1 >conftest.err
23618 rm -f conftest.er1
23619 cat conftest.err >&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); } &&
23622 { ac_try='test -z "$ac_c_werror_flag"
23623 || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23626 ac_status=$?
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try='test -s conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 eval "$as_ac_var=yes"
23636 else
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.$ac_ext >&5
23640 eval "$as_ac_var=no"
23642 rm -f conftest.err conftest.$ac_objext \
23643 conftest$ac_exeext conftest.$ac_ext
23645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23647 if test `eval echo '${'$as_ac_var'}'` = yes; then
23648 cat >>confdefs.h <<_ACEOF
23649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23650 _ACEOF
23653 done
23663 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
23664 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
23665 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23666 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
23667 echo $ECHO_N "(cached) $ECHO_C" >&6
23668 else
23672 ac_ext=cc
23673 ac_cpp='$CXXCPP $CPPFLAGS'
23674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23678 cat >conftest.$ac_ext <<_ACEOF
23679 /* confdefs.h. */
23680 _ACEOF
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23684 #include <math.h>
23686 main ()
23688 hypotf(0, 0);
23690 return 0;
23692 _ACEOF
23693 rm -f conftest.$ac_objext
23694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23695 (eval $ac_compile) 2>conftest.er1
23696 ac_status=$?
23697 grep -v '^ *+' conftest.er1 >conftest.err
23698 rm -f conftest.er1
23699 cat conftest.err >&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); } &&
23702 { ac_try='test -z "$ac_cxx_werror_flag"
23703 || test ! -s conftest.err'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try='test -s conftest.$ac_objext'
23710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23711 (eval $ac_try) 2>&5
23712 ac_status=$?
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); }; }; then
23715 glibcxx_cv_func_hypotf_use=yes
23716 else
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23720 glibcxx_cv_func_hypotf_use=no
23722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23723 ac_ext=c
23724 ac_cpp='$CPP $CPPFLAGS'
23725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
23734 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
23736 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23738 for ac_func in hypotf
23740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23741 echo "$as_me:$LINENO: checking for $ac_func" >&5
23742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23743 if eval "test \"\${$as_ac_var+set}\" = set"; then
23744 echo $ECHO_N "(cached) $ECHO_C" >&6
23745 else
23746 if test x$gcc_no_link = xyes; then
23747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23749 { (exit 1); exit 1; }; }
23751 cat >conftest.$ac_ext <<_ACEOF
23752 /* confdefs.h. */
23753 _ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23759 #define $ac_func innocuous_$ac_func
23761 /* System header to define __stub macros and hopefully few prototypes,
23762 which can conflict with char $ac_func (); below.
23763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23764 <limits.h> exists even on freestanding compilers. */
23766 #ifdef __STDC__
23767 # include <limits.h>
23768 #else
23769 # include <assert.h>
23770 #endif
23772 #undef $ac_func
23774 /* Override any gcc2 internal prototype to avoid an error. */
23775 #ifdef __cplusplus
23776 extern "C"
23778 #endif
23779 /* We use char because int might match the return type of a gcc2
23780 builtin and then its argument prototype would still apply. */
23781 char $ac_func ();
23782 /* The GNU C library defines this for functions which it implements
23783 to always fail with ENOSYS. Some functions are actually named
23784 something starting with __ and the normal name is an alias. */
23785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23786 choke me
23787 #else
23788 char (*f) () = $ac_func;
23789 #endif
23790 #ifdef __cplusplus
23792 #endif
23795 main ()
23797 return f != $ac_func;
23799 return 0;
23801 _ACEOF
23802 rm -f conftest.$ac_objext conftest$ac_exeext
23803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23804 (eval $ac_link) 2>conftest.er1
23805 ac_status=$?
23806 grep -v '^ *+' conftest.er1 >conftest.err
23807 rm -f conftest.er1
23808 cat conftest.err >&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); } &&
23811 { ac_try='test -z "$ac_c_werror_flag"
23812 || test ! -s conftest.err'
23813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23814 (eval $ac_try) 2>&5
23815 ac_status=$?
23816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23817 (exit $ac_status); }; } &&
23818 { ac_try='test -s conftest$ac_exeext'
23819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23820 (eval $ac_try) 2>&5
23821 ac_status=$?
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); }; }; then
23824 eval "$as_ac_var=yes"
23825 else
23826 echo "$as_me: failed program was:" >&5
23827 sed 's/^/| /' conftest.$ac_ext >&5
23829 eval "$as_ac_var=no"
23831 rm -f conftest.err conftest.$ac_objext \
23832 conftest$ac_exeext conftest.$ac_ext
23834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23836 if test `eval echo '${'$as_ac_var'}'` = yes; then
23837 cat >>confdefs.h <<_ACEOF
23838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23839 _ACEOF
23842 done
23844 else
23846 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
23847 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
23848 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23849 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23855 ac_ext=cc
23856 ac_cpp='$CXXCPP $CPPFLAGS'
23857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23861 cat >conftest.$ac_ext <<_ACEOF
23862 /* confdefs.h. */
23863 _ACEOF
23864 cat confdefs.h >>conftest.$ac_ext
23865 cat >>conftest.$ac_ext <<_ACEOF
23866 /* end confdefs.h. */
23867 #include <math.h>
23869 main ()
23871 _hypotf(0, 0);
23873 return 0;
23875 _ACEOF
23876 rm -f conftest.$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_cxx_werror_flag"
23886 || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try='test -s conftest.$ac_objext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23895 ac_status=$?
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 glibcxx_cv_func__hypotf_use=yes
23899 else
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23903 glibcxx_cv_func__hypotf_use=no
23905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23906 ac_ext=c
23907 ac_cpp='$CPP $CPPFLAGS'
23908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
23917 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
23919 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23921 for ac_func in _hypotf
23923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23924 echo "$as_me:$LINENO: checking for $ac_func" >&5
23925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23926 if eval "test \"\${$as_ac_var+set}\" = set"; then
23927 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 else
23929 if test x$gcc_no_link = xyes; then
23930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23932 { (exit 1); exit 1; }; }
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23942 #define $ac_func innocuous_$ac_func
23944 /* System header to define __stub macros and hopefully few prototypes,
23945 which can conflict with char $ac_func (); below.
23946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23947 <limits.h> exists even on freestanding compilers. */
23949 #ifdef __STDC__
23950 # include <limits.h>
23951 #else
23952 # include <assert.h>
23953 #endif
23955 #undef $ac_func
23957 /* Override any gcc2 internal prototype to avoid an error. */
23958 #ifdef __cplusplus
23959 extern "C"
23961 #endif
23962 /* We use char because int might match the return type of a gcc2
23963 builtin and then its argument prototype would still apply. */
23964 char $ac_func ();
23965 /* The GNU C library defines this for functions which it implements
23966 to always fail with ENOSYS. Some functions are actually named
23967 something starting with __ and the normal name is an alias. */
23968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23969 choke me
23970 #else
23971 char (*f) () = $ac_func;
23972 #endif
23973 #ifdef __cplusplus
23975 #endif
23978 main ()
23980 return f != $ac_func;
23982 return 0;
23984 _ACEOF
23985 rm -f conftest.$ac_objext conftest$ac_exeext
23986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23987 (eval $ac_link) 2>conftest.er1
23988 ac_status=$?
23989 grep -v '^ *+' conftest.er1 >conftest.err
23990 rm -f conftest.er1
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } &&
23994 { ac_try='test -z "$ac_c_werror_flag"
23995 || test ! -s conftest.err'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; } &&
24001 { ac_try='test -s conftest$ac_exeext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24004 ac_status=$?
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 eval "$as_ac_var=yes"
24008 else
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 eval "$as_ac_var=no"
24014 rm -f conftest.err conftest.$ac_objext \
24015 conftest$ac_exeext conftest.$ac_ext
24017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24019 if test `eval echo '${'$as_ac_var'}'` = yes; then
24020 cat >>confdefs.h <<_ACEOF
24021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24022 _ACEOF
24025 done
24035 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24036 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24037 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24038 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24039 echo $ECHO_N "(cached) $ECHO_C" >&6
24040 else
24044 ac_ext=cc
24045 ac_cpp='$CXXCPP $CPPFLAGS'
24046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24050 cat >conftest.$ac_ext <<_ACEOF
24051 /* confdefs.h. */
24052 _ACEOF
24053 cat confdefs.h >>conftest.$ac_ext
24054 cat >>conftest.$ac_ext <<_ACEOF
24055 /* end confdefs.h. */
24056 #include <math.h>
24058 main ()
24060 ldexpf(0, 0);
24062 return 0;
24064 _ACEOF
24065 rm -f conftest.$ac_objext
24066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24067 (eval $ac_compile) 2>conftest.er1
24068 ac_status=$?
24069 grep -v '^ *+' conftest.er1 >conftest.err
24070 rm -f conftest.er1
24071 cat conftest.err >&5
24072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073 (exit $ac_status); } &&
24074 { ac_try='test -z "$ac_cxx_werror_flag"
24075 || test ! -s conftest.err'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; } &&
24081 { ac_try='test -s conftest.$ac_objext'
24082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24083 (eval $ac_try) 2>&5
24084 ac_status=$?
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); }; }; then
24087 glibcxx_cv_func_ldexpf_use=yes
24088 else
24089 echo "$as_me: failed program was:" >&5
24090 sed 's/^/| /' conftest.$ac_ext >&5
24092 glibcxx_cv_func_ldexpf_use=no
24094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24095 ac_ext=c
24096 ac_cpp='$CPP $CPPFLAGS'
24097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24106 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24108 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24110 for ac_func in ldexpf
24112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24113 echo "$as_me:$LINENO: checking for $ac_func" >&5
24114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24115 if eval "test \"\${$as_ac_var+set}\" = set"; then
24116 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 else
24118 if test x$gcc_no_link = xyes; then
24119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24121 { (exit 1); exit 1; }; }
24123 cat >conftest.$ac_ext <<_ACEOF
24124 /* confdefs.h. */
24125 _ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24131 #define $ac_func innocuous_$ac_func
24133 /* System header to define __stub macros and hopefully few prototypes,
24134 which can conflict with char $ac_func (); below.
24135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24136 <limits.h> exists even on freestanding compilers. */
24138 #ifdef __STDC__
24139 # include <limits.h>
24140 #else
24141 # include <assert.h>
24142 #endif
24144 #undef $ac_func
24146 /* Override any gcc2 internal prototype to avoid an error. */
24147 #ifdef __cplusplus
24148 extern "C"
24150 #endif
24151 /* We use char because int might match the return type of a gcc2
24152 builtin and then its argument prototype would still apply. */
24153 char $ac_func ();
24154 /* The GNU C library defines this for functions which it implements
24155 to always fail with ENOSYS. Some functions are actually named
24156 something starting with __ and the normal name is an alias. */
24157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24158 choke me
24159 #else
24160 char (*f) () = $ac_func;
24161 #endif
24162 #ifdef __cplusplus
24164 #endif
24167 main ()
24169 return f != $ac_func;
24171 return 0;
24173 _ACEOF
24174 rm -f conftest.$ac_objext conftest$ac_exeext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24176 (eval $ac_link) 2>conftest.er1
24177 ac_status=$?
24178 grep -v '^ *+' conftest.er1 >conftest.err
24179 rm -f conftest.er1
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } &&
24183 { ac_try='test -z "$ac_c_werror_flag"
24184 || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24187 ac_status=$?
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try='test -s conftest$ac_exeext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 eval "$as_ac_var=yes"
24197 else
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24201 eval "$as_ac_var=no"
24203 rm -f conftest.err conftest.$ac_objext \
24204 conftest$ac_exeext conftest.$ac_ext
24206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24208 if test `eval echo '${'$as_ac_var'}'` = yes; then
24209 cat >>confdefs.h <<_ACEOF
24210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24211 _ACEOF
24214 done
24216 else
24218 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24219 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24220 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24221 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24222 echo $ECHO_N "(cached) $ECHO_C" >&6
24223 else
24227 ac_ext=cc
24228 ac_cpp='$CXXCPP $CPPFLAGS'
24229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24233 cat >conftest.$ac_ext <<_ACEOF
24234 /* confdefs.h. */
24235 _ACEOF
24236 cat confdefs.h >>conftest.$ac_ext
24237 cat >>conftest.$ac_ext <<_ACEOF
24238 /* end confdefs.h. */
24239 #include <math.h>
24241 main ()
24243 _ldexpf(0, 0);
24245 return 0;
24247 _ACEOF
24248 rm -f conftest.$ac_objext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24250 (eval $ac_compile) 2>conftest.er1
24251 ac_status=$?
24252 grep -v '^ *+' conftest.er1 >conftest.err
24253 rm -f conftest.er1
24254 cat conftest.err >&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); } &&
24257 { ac_try='test -z "$ac_cxx_werror_flag"
24258 || test ! -s conftest.err'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24261 ac_status=$?
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; } &&
24264 { ac_try='test -s conftest.$ac_objext'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24267 ac_status=$?
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; }; then
24270 glibcxx_cv_func__ldexpf_use=yes
24271 else
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24275 glibcxx_cv_func__ldexpf_use=no
24277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24278 ac_ext=c
24279 ac_cpp='$CPP $CPPFLAGS'
24280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24289 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24291 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24293 for ac_func in _ldexpf
24295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24296 echo "$as_me:$LINENO: checking for $ac_func" >&5
24297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24298 if eval "test \"\${$as_ac_var+set}\" = set"; then
24299 echo $ECHO_N "(cached) $ECHO_C" >&6
24300 else
24301 if test x$gcc_no_link = xyes; then
24302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24304 { (exit 1); exit 1; }; }
24306 cat >conftest.$ac_ext <<_ACEOF
24307 /* confdefs.h. */
24308 _ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24314 #define $ac_func innocuous_$ac_func
24316 /* System header to define __stub macros and hopefully few prototypes,
24317 which can conflict with char $ac_func (); below.
24318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24319 <limits.h> exists even on freestanding compilers. */
24321 #ifdef __STDC__
24322 # include <limits.h>
24323 #else
24324 # include <assert.h>
24325 #endif
24327 #undef $ac_func
24329 /* Override any gcc2 internal prototype to avoid an error. */
24330 #ifdef __cplusplus
24331 extern "C"
24333 #endif
24334 /* We use char because int might match the return type of a gcc2
24335 builtin and then its argument prototype would still apply. */
24336 char $ac_func ();
24337 /* The GNU C library defines this for functions which it implements
24338 to always fail with ENOSYS. Some functions are actually named
24339 something starting with __ and the normal name is an alias. */
24340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24341 choke me
24342 #else
24343 char (*f) () = $ac_func;
24344 #endif
24345 #ifdef __cplusplus
24347 #endif
24350 main ()
24352 return f != $ac_func;
24354 return 0;
24356 _ACEOF
24357 rm -f conftest.$ac_objext conftest$ac_exeext
24358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24359 (eval $ac_link) 2>conftest.er1
24360 ac_status=$?
24361 grep -v '^ *+' conftest.er1 >conftest.err
24362 rm -f conftest.er1
24363 cat conftest.err >&5
24364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365 (exit $ac_status); } &&
24366 { ac_try='test -z "$ac_c_werror_flag"
24367 || test ! -s conftest.err'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; } &&
24373 { ac_try='test -s conftest$ac_exeext'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; }; then
24379 eval "$as_ac_var=yes"
24380 else
24381 echo "$as_me: failed program was:" >&5
24382 sed 's/^/| /' conftest.$ac_ext >&5
24384 eval "$as_ac_var=no"
24386 rm -f conftest.err conftest.$ac_objext \
24387 conftest$ac_exeext conftest.$ac_ext
24389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24391 if test `eval echo '${'$as_ac_var'}'` = yes; then
24392 cat >>confdefs.h <<_ACEOF
24393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24394 _ACEOF
24397 done
24407 echo "$as_me:$LINENO: checking for logf declaration" >&5
24408 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
24409 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24410 if test "${glibcxx_cv_func_logf_use+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 else
24416 ac_ext=cc
24417 ac_cpp='$CXXCPP $CPPFLAGS'
24418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h. */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428 #include <math.h>
24429 #ifdef HAVE_IEEEFP_H
24430 #include <ieeefp.h>
24431 #endif
24434 main ()
24436 logf(0);
24438 return 0;
24440 _ACEOF
24441 rm -f conftest.$ac_objext
24442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24443 (eval $ac_compile) 2>conftest.er1
24444 ac_status=$?
24445 grep -v '^ *+' conftest.er1 >conftest.err
24446 rm -f conftest.er1
24447 cat conftest.err >&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } &&
24450 { ac_try='test -z "$ac_cxx_werror_flag"
24451 || test ! -s conftest.err'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; } &&
24457 { ac_try='test -s conftest.$ac_objext'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; }; then
24463 glibcxx_cv_func_logf_use=yes
24464 else
24465 echo "$as_me: failed program was:" >&5
24466 sed 's/^/| /' conftest.$ac_ext >&5
24468 glibcxx_cv_func_logf_use=no
24470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24471 ac_ext=c
24472 ac_cpp='$CPP $CPPFLAGS'
24473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
24482 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
24484 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24486 for ac_func in logf
24488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24489 echo "$as_me:$LINENO: checking for $ac_func" >&5
24490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24491 if eval "test \"\${$as_ac_var+set}\" = set"; then
24492 echo $ECHO_N "(cached) $ECHO_C" >&6
24493 else
24494 if test x$gcc_no_link = xyes; then
24495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24497 { (exit 1); exit 1; }; }
24499 cat >conftest.$ac_ext <<_ACEOF
24500 /* confdefs.h. */
24501 _ACEOF
24502 cat confdefs.h >>conftest.$ac_ext
24503 cat >>conftest.$ac_ext <<_ACEOF
24504 /* end confdefs.h. */
24505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24507 #define $ac_func innocuous_$ac_func
24509 /* System header to define __stub macros and hopefully few prototypes,
24510 which can conflict with char $ac_func (); below.
24511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24512 <limits.h> exists even on freestanding compilers. */
24514 #ifdef __STDC__
24515 # include <limits.h>
24516 #else
24517 # include <assert.h>
24518 #endif
24520 #undef $ac_func
24522 /* Override any gcc2 internal prototype to avoid an error. */
24523 #ifdef __cplusplus
24524 extern "C"
24526 #endif
24527 /* We use char because int might match the return type of a gcc2
24528 builtin and then its argument prototype would still apply. */
24529 char $ac_func ();
24530 /* The GNU C library defines this for functions which it implements
24531 to always fail with ENOSYS. Some functions are actually named
24532 something starting with __ and the normal name is an alias. */
24533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24534 choke me
24535 #else
24536 char (*f) () = $ac_func;
24537 #endif
24538 #ifdef __cplusplus
24540 #endif
24543 main ()
24545 return f != $ac_func;
24547 return 0;
24549 _ACEOF
24550 rm -f conftest.$ac_objext conftest$ac_exeext
24551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24552 (eval $ac_link) 2>conftest.er1
24553 ac_status=$?
24554 grep -v '^ *+' conftest.er1 >conftest.err
24555 rm -f conftest.er1
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try='test -z "$ac_c_werror_flag"
24560 || test ! -s conftest.err'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; } &&
24566 { ac_try='test -s conftest$ac_exeext'
24567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568 (eval $ac_try) 2>&5
24569 ac_status=$?
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); }; }; then
24572 eval "$as_ac_var=yes"
24573 else
24574 echo "$as_me: failed program was:" >&5
24575 sed 's/^/| /' conftest.$ac_ext >&5
24577 eval "$as_ac_var=no"
24579 rm -f conftest.err conftest.$ac_objext \
24580 conftest$ac_exeext conftest.$ac_ext
24582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24584 if test `eval echo '${'$as_ac_var'}'` = yes; then
24585 cat >>confdefs.h <<_ACEOF
24586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24587 _ACEOF
24590 done
24592 else
24594 echo "$as_me:$LINENO: checking for _logf declaration" >&5
24595 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
24596 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24597 if test "${glibcxx_cv_func__logf_use+set}" = set; then
24598 echo $ECHO_N "(cached) $ECHO_C" >&6
24599 else
24603 ac_ext=cc
24604 ac_cpp='$CXXCPP $CPPFLAGS'
24605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24609 cat >conftest.$ac_ext <<_ACEOF
24610 /* confdefs.h. */
24611 _ACEOF
24612 cat confdefs.h >>conftest.$ac_ext
24613 cat >>conftest.$ac_ext <<_ACEOF
24614 /* end confdefs.h. */
24615 #include <math.h>
24616 #ifdef HAVE_IEEEFP_H
24617 #include <ieeefp.h>
24618 #endif
24621 main ()
24623 _logf(0);
24625 return 0;
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24630 (eval $ac_compile) 2>conftest.er1
24631 ac_status=$?
24632 grep -v '^ *+' conftest.er1 >conftest.err
24633 rm -f conftest.er1
24634 cat conftest.err >&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -z "$ac_cxx_werror_flag"
24638 || test ! -s conftest.err'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; } &&
24644 { ac_try='test -s conftest.$ac_objext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 glibcxx_cv_func__logf_use=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24655 glibcxx_cv_func__logf_use=no
24657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
24669 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
24671 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24673 for ac_func in _logf
24675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24676 echo "$as_me:$LINENO: checking for $ac_func" >&5
24677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24678 if eval "test \"\${$as_ac_var+set}\" = set"; then
24679 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 else
24681 if test x$gcc_no_link = xyes; then
24682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24684 { (exit 1); exit 1; }; }
24686 cat >conftest.$ac_ext <<_ACEOF
24687 /* confdefs.h. */
24688 _ACEOF
24689 cat confdefs.h >>conftest.$ac_ext
24690 cat >>conftest.$ac_ext <<_ACEOF
24691 /* end confdefs.h. */
24692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24694 #define $ac_func innocuous_$ac_func
24696 /* System header to define __stub macros and hopefully few prototypes,
24697 which can conflict with char $ac_func (); below.
24698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24699 <limits.h> exists even on freestanding compilers. */
24701 #ifdef __STDC__
24702 # include <limits.h>
24703 #else
24704 # include <assert.h>
24705 #endif
24707 #undef $ac_func
24709 /* Override any gcc2 internal prototype to avoid an error. */
24710 #ifdef __cplusplus
24711 extern "C"
24713 #endif
24714 /* We use char because int might match the return type of a gcc2
24715 builtin and then its argument prototype would still apply. */
24716 char $ac_func ();
24717 /* The GNU C library defines this for functions which it implements
24718 to always fail with ENOSYS. Some functions are actually named
24719 something starting with __ and the normal name is an alias. */
24720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24721 choke me
24722 #else
24723 char (*f) () = $ac_func;
24724 #endif
24725 #ifdef __cplusplus
24727 #endif
24730 main ()
24732 return f != $ac_func;
24734 return 0;
24736 _ACEOF
24737 rm -f conftest.$ac_objext conftest$ac_exeext
24738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24739 (eval $ac_link) 2>conftest.er1
24740 ac_status=$?
24741 grep -v '^ *+' conftest.er1 >conftest.err
24742 rm -f conftest.er1
24743 cat conftest.err >&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } &&
24746 { ac_try='test -z "$ac_c_werror_flag"
24747 || test ! -s conftest.err'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24750 ac_status=$?
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; } &&
24753 { ac_try='test -s conftest$ac_exeext'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24756 ac_status=$?
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24759 eval "$as_ac_var=yes"
24760 else
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.$ac_ext >&5
24764 eval "$as_ac_var=no"
24766 rm -f conftest.err conftest.$ac_objext \
24767 conftest$ac_exeext conftest.$ac_ext
24769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24771 if test `eval echo '${'$as_ac_var'}'` = yes; then
24772 cat >>confdefs.h <<_ACEOF
24773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24774 _ACEOF
24777 done
24787 echo "$as_me:$LINENO: checking for log10f declaration" >&5
24788 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
24789 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24790 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
24791 echo $ECHO_N "(cached) $ECHO_C" >&6
24792 else
24796 ac_ext=cc
24797 ac_cpp='$CXXCPP $CPPFLAGS'
24798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24802 cat >conftest.$ac_ext <<_ACEOF
24803 /* confdefs.h. */
24804 _ACEOF
24805 cat confdefs.h >>conftest.$ac_ext
24806 cat >>conftest.$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24808 #include <math.h>
24809 #ifdef HAVE_IEEEFP_H
24810 #include <ieeefp.h>
24811 #endif
24814 main ()
24816 log10f(0);
24818 return 0;
24820 _ACEOF
24821 rm -f conftest.$ac_objext
24822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24823 (eval $ac_compile) 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } &&
24830 { ac_try='test -z "$ac_cxx_werror_flag"
24831 || test ! -s conftest.err'
24832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24833 (eval $ac_try) 2>&5
24834 ac_status=$?
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); }; } &&
24837 { ac_try='test -s conftest.$ac_objext'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; }; then
24843 glibcxx_cv_func_log10f_use=yes
24844 else
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24848 glibcxx_cv_func_log10f_use=no
24850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
24862 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
24864 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24866 for ac_func in log10f
24868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24869 echo "$as_me:$LINENO: checking for $ac_func" >&5
24870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24871 if eval "test \"\${$as_ac_var+set}\" = set"; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 if test x$gcc_no_link = xyes; then
24875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24877 { (exit 1); exit 1; }; }
24879 cat >conftest.$ac_ext <<_ACEOF
24880 /* confdefs.h. */
24881 _ACEOF
24882 cat confdefs.h >>conftest.$ac_ext
24883 cat >>conftest.$ac_ext <<_ACEOF
24884 /* end confdefs.h. */
24885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24887 #define $ac_func innocuous_$ac_func
24889 /* System header to define __stub macros and hopefully few prototypes,
24890 which can conflict with char $ac_func (); below.
24891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24892 <limits.h> exists even on freestanding compilers. */
24894 #ifdef __STDC__
24895 # include <limits.h>
24896 #else
24897 # include <assert.h>
24898 #endif
24900 #undef $ac_func
24902 /* Override any gcc2 internal prototype to avoid an error. */
24903 #ifdef __cplusplus
24904 extern "C"
24906 #endif
24907 /* We use char because int might match the return type of a gcc2
24908 builtin and then its argument prototype would still apply. */
24909 char $ac_func ();
24910 /* The GNU C library defines this for functions which it implements
24911 to always fail with ENOSYS. Some functions are actually named
24912 something starting with __ and the normal name is an alias. */
24913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24914 choke me
24915 #else
24916 char (*f) () = $ac_func;
24917 #endif
24918 #ifdef __cplusplus
24920 #endif
24923 main ()
24925 return f != $ac_func;
24927 return 0;
24929 _ACEOF
24930 rm -f conftest.$ac_objext conftest$ac_exeext
24931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24932 (eval $ac_link) 2>conftest.er1
24933 ac_status=$?
24934 grep -v '^ *+' conftest.er1 >conftest.err
24935 rm -f conftest.er1
24936 cat conftest.err >&5
24937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24938 (exit $ac_status); } &&
24939 { ac_try='test -z "$ac_c_werror_flag"
24940 || test ! -s conftest.err'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; } &&
24946 { ac_try='test -s conftest$ac_exeext'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; }; then
24952 eval "$as_ac_var=yes"
24953 else
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24957 eval "$as_ac_var=no"
24959 rm -f conftest.err conftest.$ac_objext \
24960 conftest$ac_exeext conftest.$ac_ext
24962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24964 if test `eval echo '${'$as_ac_var'}'` = yes; then
24965 cat >>confdefs.h <<_ACEOF
24966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24967 _ACEOF
24970 done
24972 else
24974 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
24975 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
24976 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24977 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 else
24983 ac_ext=cc
24984 ac_cpp='$CXXCPP $CPPFLAGS'
24985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989 cat >conftest.$ac_ext <<_ACEOF
24990 /* confdefs.h. */
24991 _ACEOF
24992 cat confdefs.h >>conftest.$ac_ext
24993 cat >>conftest.$ac_ext <<_ACEOF
24994 /* end confdefs.h. */
24995 #include <math.h>
24996 #ifdef HAVE_IEEEFP_H
24997 #include <ieeefp.h>
24998 #endif
25001 main ()
25003 _log10f(0);
25005 return 0;
25007 _ACEOF
25008 rm -f conftest.$ac_objext
25009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25010 (eval $ac_compile) 2>conftest.er1
25011 ac_status=$?
25012 grep -v '^ *+' conftest.er1 >conftest.err
25013 rm -f conftest.er1
25014 cat conftest.err >&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } &&
25017 { ac_try='test -z "$ac_cxx_werror_flag"
25018 || test ! -s conftest.err'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; } &&
25024 { ac_try='test -s conftest.$ac_objext'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25027 ac_status=$?
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; }; then
25030 glibcxx_cv_func__log10f_use=yes
25031 else
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25035 glibcxx_cv_func__log10f_use=no
25037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25038 ac_ext=c
25039 ac_cpp='$CPP $CPPFLAGS'
25040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25049 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25051 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25053 for ac_func in _log10f
25055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25056 echo "$as_me:$LINENO: checking for $ac_func" >&5
25057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25058 if eval "test \"\${$as_ac_var+set}\" = set"; then
25059 echo $ECHO_N "(cached) $ECHO_C" >&6
25060 else
25061 if test x$gcc_no_link = xyes; then
25062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25064 { (exit 1); exit 1; }; }
25066 cat >conftest.$ac_ext <<_ACEOF
25067 /* confdefs.h. */
25068 _ACEOF
25069 cat confdefs.h >>conftest.$ac_ext
25070 cat >>conftest.$ac_ext <<_ACEOF
25071 /* end confdefs.h. */
25072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25074 #define $ac_func innocuous_$ac_func
25076 /* System header to define __stub macros and hopefully few prototypes,
25077 which can conflict with char $ac_func (); below.
25078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25079 <limits.h> exists even on freestanding compilers. */
25081 #ifdef __STDC__
25082 # include <limits.h>
25083 #else
25084 # include <assert.h>
25085 #endif
25087 #undef $ac_func
25089 /* Override any gcc2 internal prototype to avoid an error. */
25090 #ifdef __cplusplus
25091 extern "C"
25093 #endif
25094 /* We use char because int might match the return type of a gcc2
25095 builtin and then its argument prototype would still apply. */
25096 char $ac_func ();
25097 /* The GNU C library defines this for functions which it implements
25098 to always fail with ENOSYS. Some functions are actually named
25099 something starting with __ and the normal name is an alias. */
25100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25101 choke me
25102 #else
25103 char (*f) () = $ac_func;
25104 #endif
25105 #ifdef __cplusplus
25107 #endif
25110 main ()
25112 return f != $ac_func;
25114 return 0;
25116 _ACEOF
25117 rm -f conftest.$ac_objext conftest$ac_exeext
25118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25119 (eval $ac_link) 2>conftest.er1
25120 ac_status=$?
25121 grep -v '^ *+' conftest.er1 >conftest.err
25122 rm -f conftest.er1
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } &&
25126 { ac_try='test -z "$ac_c_werror_flag"
25127 || test ! -s conftest.err'
25128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25129 (eval $ac_try) 2>&5
25130 ac_status=$?
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); }; } &&
25133 { ac_try='test -s conftest$ac_exeext'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25136 ac_status=$?
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; }; then
25139 eval "$as_ac_var=yes"
25140 else
25141 echo "$as_me: failed program was:" >&5
25142 sed 's/^/| /' conftest.$ac_ext >&5
25144 eval "$as_ac_var=no"
25146 rm -f conftest.err conftest.$ac_objext \
25147 conftest$ac_exeext conftest.$ac_ext
25149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25151 if test `eval echo '${'$as_ac_var'}'` = yes; then
25152 cat >>confdefs.h <<_ACEOF
25153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25154 _ACEOF
25157 done
25167 echo "$as_me:$LINENO: checking for modff declaration" >&5
25168 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25169 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25170 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25171 echo $ECHO_N "(cached) $ECHO_C" >&6
25172 else
25176 ac_ext=cc
25177 ac_cpp='$CXXCPP $CPPFLAGS'
25178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25182 cat >conftest.$ac_ext <<_ACEOF
25183 /* confdefs.h. */
25184 _ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25188 #include <math.h>
25190 main ()
25192 modff(0, 0);
25194 return 0;
25196 _ACEOF
25197 rm -f conftest.$ac_objext
25198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25199 (eval $ac_compile) 2>conftest.er1
25200 ac_status=$?
25201 grep -v '^ *+' conftest.er1 >conftest.err
25202 rm -f conftest.er1
25203 cat conftest.err >&5
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } &&
25206 { ac_try='test -z "$ac_cxx_werror_flag"
25207 || test ! -s conftest.err'
25208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25209 (eval $ac_try) 2>&5
25210 ac_status=$?
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); }; } &&
25213 { ac_try='test -s conftest.$ac_objext'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25216 ac_status=$?
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; }; then
25219 glibcxx_cv_func_modff_use=yes
25220 else
25221 echo "$as_me: failed program was:" >&5
25222 sed 's/^/| /' conftest.$ac_ext >&5
25224 glibcxx_cv_func_modff_use=no
25226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25227 ac_ext=c
25228 ac_cpp='$CPP $CPPFLAGS'
25229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25238 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25240 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25242 for ac_func in modff
25244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25245 echo "$as_me:$LINENO: checking for $ac_func" >&5
25246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25247 if eval "test \"\${$as_ac_var+set}\" = set"; then
25248 echo $ECHO_N "(cached) $ECHO_C" >&6
25249 else
25250 if test x$gcc_no_link = xyes; then
25251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25253 { (exit 1); exit 1; }; }
25255 cat >conftest.$ac_ext <<_ACEOF
25256 /* confdefs.h. */
25257 _ACEOF
25258 cat confdefs.h >>conftest.$ac_ext
25259 cat >>conftest.$ac_ext <<_ACEOF
25260 /* end confdefs.h. */
25261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25263 #define $ac_func innocuous_$ac_func
25265 /* System header to define __stub macros and hopefully few prototypes,
25266 which can conflict with char $ac_func (); below.
25267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25268 <limits.h> exists even on freestanding compilers. */
25270 #ifdef __STDC__
25271 # include <limits.h>
25272 #else
25273 # include <assert.h>
25274 #endif
25276 #undef $ac_func
25278 /* Override any gcc2 internal prototype to avoid an error. */
25279 #ifdef __cplusplus
25280 extern "C"
25282 #endif
25283 /* We use char because int might match the return type of a gcc2
25284 builtin and then its argument prototype would still apply. */
25285 char $ac_func ();
25286 /* The GNU C library defines this for functions which it implements
25287 to always fail with ENOSYS. Some functions are actually named
25288 something starting with __ and the normal name is an alias. */
25289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25290 choke me
25291 #else
25292 char (*f) () = $ac_func;
25293 #endif
25294 #ifdef __cplusplus
25296 #endif
25299 main ()
25301 return f != $ac_func;
25303 return 0;
25305 _ACEOF
25306 rm -f conftest.$ac_objext conftest$ac_exeext
25307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25308 (eval $ac_link) 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } &&
25315 { ac_try='test -z "$ac_c_werror_flag"
25316 || test ! -s conftest.err'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25319 ac_status=$?
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; } &&
25322 { ac_try='test -s conftest$ac_exeext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25328 eval "$as_ac_var=yes"
25329 else
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.$ac_ext >&5
25333 eval "$as_ac_var=no"
25335 rm -f conftest.err conftest.$ac_objext \
25336 conftest$ac_exeext conftest.$ac_ext
25338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25340 if test `eval echo '${'$as_ac_var'}'` = yes; then
25341 cat >>confdefs.h <<_ACEOF
25342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25343 _ACEOF
25346 done
25348 else
25350 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25351 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25352 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25353 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 else
25359 ac_ext=cc
25360 ac_cpp='$CXXCPP $CPPFLAGS'
25361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25365 cat >conftest.$ac_ext <<_ACEOF
25366 /* confdefs.h. */
25367 _ACEOF
25368 cat confdefs.h >>conftest.$ac_ext
25369 cat >>conftest.$ac_ext <<_ACEOF
25370 /* end confdefs.h. */
25371 #include <math.h>
25373 main ()
25375 _modff(0, 0);
25377 return 0;
25379 _ACEOF
25380 rm -f conftest.$ac_objext
25381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25382 (eval $ac_compile) 2>conftest.er1
25383 ac_status=$?
25384 grep -v '^ *+' conftest.er1 >conftest.err
25385 rm -f conftest.er1
25386 cat conftest.err >&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } &&
25389 { ac_try='test -z "$ac_cxx_werror_flag"
25390 || test ! -s conftest.err'
25391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392 (eval $ac_try) 2>&5
25393 ac_status=$?
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); }; } &&
25396 { ac_try='test -s conftest.$ac_objext'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25399 ac_status=$?
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; }; then
25402 glibcxx_cv_func__modff_use=yes
25403 else
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25407 glibcxx_cv_func__modff_use=no
25409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25421 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25423 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25425 for ac_func in _modff
25427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25428 echo "$as_me:$LINENO: checking for $ac_func" >&5
25429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25430 if eval "test \"\${$as_ac_var+set}\" = set"; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 else
25433 if test x$gcc_no_link = xyes; then
25434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25436 { (exit 1); exit 1; }; }
25438 cat >conftest.$ac_ext <<_ACEOF
25439 /* confdefs.h. */
25440 _ACEOF
25441 cat confdefs.h >>conftest.$ac_ext
25442 cat >>conftest.$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25446 #define $ac_func innocuous_$ac_func
25448 /* System header to define __stub macros and hopefully few prototypes,
25449 which can conflict with char $ac_func (); below.
25450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25451 <limits.h> exists even on freestanding compilers. */
25453 #ifdef __STDC__
25454 # include <limits.h>
25455 #else
25456 # include <assert.h>
25457 #endif
25459 #undef $ac_func
25461 /* Override any gcc2 internal prototype to avoid an error. */
25462 #ifdef __cplusplus
25463 extern "C"
25465 #endif
25466 /* We use char because int might match the return type of a gcc2
25467 builtin and then its argument prototype would still apply. */
25468 char $ac_func ();
25469 /* The GNU C library defines this for functions which it implements
25470 to always fail with ENOSYS. Some functions are actually named
25471 something starting with __ and the normal name is an alias. */
25472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25473 choke me
25474 #else
25475 char (*f) () = $ac_func;
25476 #endif
25477 #ifdef __cplusplus
25479 #endif
25482 main ()
25484 return f != $ac_func;
25486 return 0;
25488 _ACEOF
25489 rm -f conftest.$ac_objext conftest$ac_exeext
25490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25491 (eval $ac_link) 2>conftest.er1
25492 ac_status=$?
25493 grep -v '^ *+' conftest.er1 >conftest.err
25494 rm -f conftest.er1
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } &&
25498 { ac_try='test -z "$ac_c_werror_flag"
25499 || test ! -s conftest.err'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; } &&
25505 { ac_try='test -s conftest$ac_exeext'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25508 ac_status=$?
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; }; then
25511 eval "$as_ac_var=yes"
25512 else
25513 echo "$as_me: failed program was:" >&5
25514 sed 's/^/| /' conftest.$ac_ext >&5
25516 eval "$as_ac_var=no"
25518 rm -f conftest.err conftest.$ac_objext \
25519 conftest$ac_exeext conftest.$ac_ext
25521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25523 if test `eval echo '${'$as_ac_var'}'` = yes; then
25524 cat >>confdefs.h <<_ACEOF
25525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25526 _ACEOF
25529 done
25539 echo "$as_me:$LINENO: checking for modf declaration" >&5
25540 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
25541 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25542 if test "${glibcxx_cv_func_modf_use+set}" = set; then
25543 echo $ECHO_N "(cached) $ECHO_C" >&6
25544 else
25548 ac_ext=cc
25549 ac_cpp='$CXXCPP $CPPFLAGS'
25550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25554 cat >conftest.$ac_ext <<_ACEOF
25555 /* confdefs.h. */
25556 _ACEOF
25557 cat confdefs.h >>conftest.$ac_ext
25558 cat >>conftest.$ac_ext <<_ACEOF
25559 /* end confdefs.h. */
25560 #include <math.h>
25562 main ()
25564 modf(0, 0);
25566 return 0;
25568 _ACEOF
25569 rm -f conftest.$ac_objext
25570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25571 (eval $ac_compile) 2>conftest.er1
25572 ac_status=$?
25573 grep -v '^ *+' conftest.er1 >conftest.err
25574 rm -f conftest.er1
25575 cat conftest.err >&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } &&
25578 { ac_try='test -z "$ac_cxx_werror_flag"
25579 || test ! -s conftest.err'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25582 ac_status=$?
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; } &&
25585 { ac_try='test -s conftest.$ac_objext'
25586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25587 (eval $ac_try) 2>&5
25588 ac_status=$?
25589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25590 (exit $ac_status); }; }; then
25591 glibcxx_cv_func_modf_use=yes
25592 else
25593 echo "$as_me: failed program was:" >&5
25594 sed 's/^/| /' conftest.$ac_ext >&5
25596 glibcxx_cv_func_modf_use=no
25598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25599 ac_ext=c
25600 ac_cpp='$CPP $CPPFLAGS'
25601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
25610 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
25612 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25614 for ac_func in modf
25616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25617 echo "$as_me:$LINENO: checking for $ac_func" >&5
25618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25619 if eval "test \"\${$as_ac_var+set}\" = set"; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 else
25622 if test x$gcc_no_link = xyes; then
25623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25625 { (exit 1); exit 1; }; }
25627 cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25635 #define $ac_func innocuous_$ac_func
25637 /* System header to define __stub macros and hopefully few prototypes,
25638 which can conflict with char $ac_func (); below.
25639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25640 <limits.h> exists even on freestanding compilers. */
25642 #ifdef __STDC__
25643 # include <limits.h>
25644 #else
25645 # include <assert.h>
25646 #endif
25648 #undef $ac_func
25650 /* Override any gcc2 internal prototype to avoid an error. */
25651 #ifdef __cplusplus
25652 extern "C"
25654 #endif
25655 /* We use char because int might match the return type of a gcc2
25656 builtin and then its argument prototype would still apply. */
25657 char $ac_func ();
25658 /* The GNU C library defines this for functions which it implements
25659 to always fail with ENOSYS. Some functions are actually named
25660 something starting with __ and the normal name is an alias. */
25661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25662 choke me
25663 #else
25664 char (*f) () = $ac_func;
25665 #endif
25666 #ifdef __cplusplus
25668 #endif
25671 main ()
25673 return f != $ac_func;
25675 return 0;
25677 _ACEOF
25678 rm -f conftest.$ac_objext conftest$ac_exeext
25679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25680 (eval $ac_link) 2>conftest.er1
25681 ac_status=$?
25682 grep -v '^ *+' conftest.er1 >conftest.err
25683 rm -f conftest.er1
25684 cat conftest.err >&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -z "$ac_c_werror_flag"
25688 || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25691 ac_status=$?
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try='test -s conftest$ac_exeext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25697 ac_status=$?
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 eval "$as_ac_var=yes"
25701 else
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25705 eval "$as_ac_var=no"
25707 rm -f conftest.err conftest.$ac_objext \
25708 conftest$ac_exeext conftest.$ac_ext
25710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25712 if test `eval echo '${'$as_ac_var'}'` = yes; then
25713 cat >>confdefs.h <<_ACEOF
25714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25715 _ACEOF
25718 done
25720 else
25722 echo "$as_me:$LINENO: checking for _modf declaration" >&5
25723 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
25724 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25725 if test "${glibcxx_cv_func__modf_use+set}" = set; then
25726 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 else
25731 ac_ext=cc
25732 ac_cpp='$CXXCPP $CPPFLAGS'
25733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25737 cat >conftest.$ac_ext <<_ACEOF
25738 /* confdefs.h. */
25739 _ACEOF
25740 cat confdefs.h >>conftest.$ac_ext
25741 cat >>conftest.$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743 #include <math.h>
25745 main ()
25747 _modf(0, 0);
25749 return 0;
25751 _ACEOF
25752 rm -f conftest.$ac_objext
25753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25754 (eval $ac_compile) 2>conftest.er1
25755 ac_status=$?
25756 grep -v '^ *+' conftest.er1 >conftest.err
25757 rm -f conftest.er1
25758 cat conftest.err >&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } &&
25761 { ac_try='test -z "$ac_cxx_werror_flag"
25762 || test ! -s conftest.err'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; } &&
25768 { ac_try='test -s conftest.$ac_objext'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; }; then
25774 glibcxx_cv_func__modf_use=yes
25775 else
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25779 glibcxx_cv_func__modf_use=no
25781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25782 ac_ext=c
25783 ac_cpp='$CPP $CPPFLAGS'
25784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
25793 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
25795 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25797 for ac_func in _modf
25799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25800 echo "$as_me:$LINENO: checking for $ac_func" >&5
25801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25802 if eval "test \"\${$as_ac_var+set}\" = set"; then
25803 echo $ECHO_N "(cached) $ECHO_C" >&6
25804 else
25805 if test x$gcc_no_link = xyes; then
25806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25808 { (exit 1); exit 1; }; }
25810 cat >conftest.$ac_ext <<_ACEOF
25811 /* confdefs.h. */
25812 _ACEOF
25813 cat confdefs.h >>conftest.$ac_ext
25814 cat >>conftest.$ac_ext <<_ACEOF
25815 /* end confdefs.h. */
25816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25818 #define $ac_func innocuous_$ac_func
25820 /* System header to define __stub macros and hopefully few prototypes,
25821 which can conflict with char $ac_func (); below.
25822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25823 <limits.h> exists even on freestanding compilers. */
25825 #ifdef __STDC__
25826 # include <limits.h>
25827 #else
25828 # include <assert.h>
25829 #endif
25831 #undef $ac_func
25833 /* Override any gcc2 internal prototype to avoid an error. */
25834 #ifdef __cplusplus
25835 extern "C"
25837 #endif
25838 /* We use char because int might match the return type of a gcc2
25839 builtin and then its argument prototype would still apply. */
25840 char $ac_func ();
25841 /* The GNU C library defines this for functions which it implements
25842 to always fail with ENOSYS. Some functions are actually named
25843 something starting with __ and the normal name is an alias. */
25844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25845 choke me
25846 #else
25847 char (*f) () = $ac_func;
25848 #endif
25849 #ifdef __cplusplus
25851 #endif
25854 main ()
25856 return f != $ac_func;
25858 return 0;
25860 _ACEOF
25861 rm -f conftest.$ac_objext conftest$ac_exeext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25863 (eval $ac_link) 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } &&
25870 { ac_try='test -z "$ac_c_werror_flag"
25871 || test ! -s conftest.err'
25872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25873 (eval $ac_try) 2>&5
25874 ac_status=$?
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); }; } &&
25877 { ac_try='test -s conftest$ac_exeext'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; }; then
25883 eval "$as_ac_var=yes"
25884 else
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.$ac_ext >&5
25888 eval "$as_ac_var=no"
25890 rm -f conftest.err conftest.$ac_objext \
25891 conftest$ac_exeext conftest.$ac_ext
25893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25895 if test `eval echo '${'$as_ac_var'}'` = yes; then
25896 cat >>confdefs.h <<_ACEOF
25897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25898 _ACEOF
25901 done
25911 echo "$as_me:$LINENO: checking for powf declaration" >&5
25912 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
25913 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25914 if test "${glibcxx_cv_func_powf_use+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 else
25920 ac_ext=cc
25921 ac_cpp='$CXXCPP $CPPFLAGS'
25922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25926 cat >conftest.$ac_ext <<_ACEOF
25927 /* confdefs.h. */
25928 _ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <math.h>
25934 main ()
25936 powf(0, 0);
25938 return 0;
25940 _ACEOF
25941 rm -f conftest.$ac_objext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25943 (eval $ac_compile) 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } &&
25950 { ac_try='test -z "$ac_cxx_werror_flag"
25951 || test ! -s conftest.err'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; } &&
25957 { ac_try='test -s conftest.$ac_objext'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25963 glibcxx_cv_func_powf_use=yes
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 glibcxx_cv_func_powf_use=no
25970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25971 ac_ext=c
25972 ac_cpp='$CPP $CPPFLAGS'
25973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
25982 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
25984 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25986 for ac_func in powf
25988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25989 echo "$as_me:$LINENO: checking for $ac_func" >&5
25990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25991 if eval "test \"\${$as_ac_var+set}\" = set"; then
25992 echo $ECHO_N "(cached) $ECHO_C" >&6
25993 else
25994 if test x$gcc_no_link = xyes; then
25995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25997 { (exit 1); exit 1; }; }
25999 cat >conftest.$ac_ext <<_ACEOF
26000 /* confdefs.h. */
26001 _ACEOF
26002 cat confdefs.h >>conftest.$ac_ext
26003 cat >>conftest.$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26007 #define $ac_func innocuous_$ac_func
26009 /* System header to define __stub macros and hopefully few prototypes,
26010 which can conflict with char $ac_func (); below.
26011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26012 <limits.h> exists even on freestanding compilers. */
26014 #ifdef __STDC__
26015 # include <limits.h>
26016 #else
26017 # include <assert.h>
26018 #endif
26020 #undef $ac_func
26022 /* Override any gcc2 internal prototype to avoid an error. */
26023 #ifdef __cplusplus
26024 extern "C"
26026 #endif
26027 /* We use char because int might match the return type of a gcc2
26028 builtin and then its argument prototype would still apply. */
26029 char $ac_func ();
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26034 choke me
26035 #else
26036 char (*f) () = $ac_func;
26037 #endif
26038 #ifdef __cplusplus
26040 #endif
26043 main ()
26045 return f != $ac_func;
26047 return 0;
26049 _ACEOF
26050 rm -f conftest.$ac_objext conftest$ac_exeext
26051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26052 (eval $ac_link) 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } &&
26059 { ac_try='test -z "$ac_c_werror_flag"
26060 || test ! -s conftest.err'
26061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26062 (eval $ac_try) 2>&5
26063 ac_status=$?
26064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26065 (exit $ac_status); }; } &&
26066 { ac_try='test -s conftest$ac_exeext'
26067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26068 (eval $ac_try) 2>&5
26069 ac_status=$?
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); }; }; then
26072 eval "$as_ac_var=yes"
26073 else
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.$ac_ext >&5
26077 eval "$as_ac_var=no"
26079 rm -f conftest.err conftest.$ac_objext \
26080 conftest$ac_exeext conftest.$ac_ext
26082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26084 if test `eval echo '${'$as_ac_var'}'` = yes; then
26085 cat >>confdefs.h <<_ACEOF
26086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26087 _ACEOF
26090 done
26092 else
26094 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26095 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26096 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26097 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26099 else
26103 ac_ext=cc
26104 ac_cpp='$CXXCPP $CPPFLAGS'
26105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26109 cat >conftest.$ac_ext <<_ACEOF
26110 /* confdefs.h. */
26111 _ACEOF
26112 cat confdefs.h >>conftest.$ac_ext
26113 cat >>conftest.$ac_ext <<_ACEOF
26114 /* end confdefs.h. */
26115 #include <math.h>
26117 main ()
26119 _powf(0, 0);
26121 return 0;
26123 _ACEOF
26124 rm -f conftest.$ac_objext
26125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26126 (eval $ac_compile) 2>conftest.er1
26127 ac_status=$?
26128 grep -v '^ *+' conftest.er1 >conftest.err
26129 rm -f conftest.er1
26130 cat conftest.err >&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } &&
26133 { ac_try='test -z "$ac_cxx_werror_flag"
26134 || test ! -s conftest.err'
26135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136 (eval $ac_try) 2>&5
26137 ac_status=$?
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); }; } &&
26140 { ac_try='test -s conftest.$ac_objext'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; }; then
26146 glibcxx_cv_func__powf_use=yes
26147 else
26148 echo "$as_me: failed program was:" >&5
26149 sed 's/^/| /' conftest.$ac_ext >&5
26151 glibcxx_cv_func__powf_use=no
26153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26154 ac_ext=c
26155 ac_cpp='$CPP $CPPFLAGS'
26156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26165 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26167 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26169 for ac_func in _powf
26171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26172 echo "$as_me:$LINENO: checking for $ac_func" >&5
26173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26174 if eval "test \"\${$as_ac_var+set}\" = set"; then
26175 echo $ECHO_N "(cached) $ECHO_C" >&6
26176 else
26177 if test x$gcc_no_link = xyes; then
26178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26180 { (exit 1); exit 1; }; }
26182 cat >conftest.$ac_ext <<_ACEOF
26183 /* confdefs.h. */
26184 _ACEOF
26185 cat confdefs.h >>conftest.$ac_ext
26186 cat >>conftest.$ac_ext <<_ACEOF
26187 /* end confdefs.h. */
26188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26190 #define $ac_func innocuous_$ac_func
26192 /* System header to define __stub macros and hopefully few prototypes,
26193 which can conflict with char $ac_func (); below.
26194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26195 <limits.h> exists even on freestanding compilers. */
26197 #ifdef __STDC__
26198 # include <limits.h>
26199 #else
26200 # include <assert.h>
26201 #endif
26203 #undef $ac_func
26205 /* Override any gcc2 internal prototype to avoid an error. */
26206 #ifdef __cplusplus
26207 extern "C"
26209 #endif
26210 /* We use char because int might match the return type of a gcc2
26211 builtin and then its argument prototype would still apply. */
26212 char $ac_func ();
26213 /* The GNU C library defines this for functions which it implements
26214 to always fail with ENOSYS. Some functions are actually named
26215 something starting with __ and the normal name is an alias. */
26216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26217 choke me
26218 #else
26219 char (*f) () = $ac_func;
26220 #endif
26221 #ifdef __cplusplus
26223 #endif
26226 main ()
26228 return f != $ac_func;
26230 return 0;
26232 _ACEOF
26233 rm -f conftest.$ac_objext conftest$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>conftest.er1
26236 ac_status=$?
26237 grep -v '^ *+' conftest.er1 >conftest.err
26238 rm -f conftest.er1
26239 cat conftest.err >&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try='test -z "$ac_c_werror_flag"
26243 || test ! -s conftest.err'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26246 ac_status=$?
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; } &&
26249 { ac_try='test -s conftest$ac_exeext'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26252 ac_status=$?
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; }; then
26255 eval "$as_ac_var=yes"
26256 else
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26260 eval "$as_ac_var=no"
26262 rm -f conftest.err conftest.$ac_objext \
26263 conftest$ac_exeext conftest.$ac_ext
26265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26267 if test `eval echo '${'$as_ac_var'}'` = yes; then
26268 cat >>confdefs.h <<_ACEOF
26269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26270 _ACEOF
26273 done
26283 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26284 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26285 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26286 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26292 ac_ext=cc
26293 ac_cpp='$CXXCPP $CPPFLAGS'
26294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <math.h>
26305 #ifdef HAVE_IEEEFP_H
26306 #include <ieeefp.h>
26307 #endif
26310 main ()
26312 sqrtf(0);
26314 return 0;
26316 _ACEOF
26317 rm -f conftest.$ac_objext
26318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26319 (eval $ac_compile) 2>conftest.er1
26320 ac_status=$?
26321 grep -v '^ *+' conftest.er1 >conftest.err
26322 rm -f conftest.er1
26323 cat conftest.err >&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); } &&
26326 { ac_try='test -z "$ac_cxx_werror_flag"
26327 || test ! -s conftest.err'
26328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26329 (eval $ac_try) 2>&5
26330 ac_status=$?
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); }; } &&
26333 { ac_try='test -s conftest.$ac_objext'
26334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26335 (eval $ac_try) 2>&5
26336 ac_status=$?
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); }; }; then
26339 glibcxx_cv_func_sqrtf_use=yes
26340 else
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.$ac_ext >&5
26344 glibcxx_cv_func_sqrtf_use=no
26346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26347 ac_ext=c
26348 ac_cpp='$CPP $CPPFLAGS'
26349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26358 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26360 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26362 for ac_func in sqrtf
26364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26365 echo "$as_me:$LINENO: checking for $ac_func" >&5
26366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26367 if eval "test \"\${$as_ac_var+set}\" = set"; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 if test x$gcc_no_link = xyes; then
26371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26373 { (exit 1); exit 1; }; }
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26383 #define $ac_func innocuous_$ac_func
26385 /* System header to define __stub macros and hopefully few prototypes,
26386 which can conflict with char $ac_func (); below.
26387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 <limits.h> exists even on freestanding compilers. */
26390 #ifdef __STDC__
26391 # include <limits.h>
26392 #else
26393 # include <assert.h>
26394 #endif
26396 #undef $ac_func
26398 /* Override any gcc2 internal prototype to avoid an error. */
26399 #ifdef __cplusplus
26400 extern "C"
26402 #endif
26403 /* We use char because int might match the return type of a gcc2
26404 builtin and then its argument prototype would still apply. */
26405 char $ac_func ();
26406 /* The GNU C library defines this for functions which it implements
26407 to always fail with ENOSYS. Some functions are actually named
26408 something starting with __ and the normal name is an alias. */
26409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26410 choke me
26411 #else
26412 char (*f) () = $ac_func;
26413 #endif
26414 #ifdef __cplusplus
26416 #endif
26419 main ()
26421 return f != $ac_func;
26423 return 0;
26425 _ACEOF
26426 rm -f conftest.$ac_objext conftest$ac_exeext
26427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26428 (eval $ac_link) 2>conftest.er1
26429 ac_status=$?
26430 grep -v '^ *+' conftest.er1 >conftest.err
26431 rm -f conftest.er1
26432 cat conftest.err >&5
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } &&
26435 { ac_try='test -z "$ac_c_werror_flag"
26436 || test ! -s conftest.err'
26437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26438 (eval $ac_try) 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }; } &&
26442 { ac_try='test -s conftest$ac_exeext'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; }; then
26448 eval "$as_ac_var=yes"
26449 else
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26453 eval "$as_ac_var=no"
26455 rm -f conftest.err conftest.$ac_objext \
26456 conftest$ac_exeext conftest.$ac_ext
26458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26460 if test `eval echo '${'$as_ac_var'}'` = yes; then
26461 cat >>confdefs.h <<_ACEOF
26462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26463 _ACEOF
26466 done
26468 else
26470 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26471 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26472 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26473 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26479 ac_ext=cc
26480 ac_cpp='$CXXCPP $CPPFLAGS'
26481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26485 cat >conftest.$ac_ext <<_ACEOF
26486 /* confdefs.h. */
26487 _ACEOF
26488 cat confdefs.h >>conftest.$ac_ext
26489 cat >>conftest.$ac_ext <<_ACEOF
26490 /* end confdefs.h. */
26491 #include <math.h>
26492 #ifdef HAVE_IEEEFP_H
26493 #include <ieeefp.h>
26494 #endif
26497 main ()
26499 _sqrtf(0);
26501 return 0;
26503 _ACEOF
26504 rm -f conftest.$ac_objext
26505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26506 (eval $ac_compile) 2>conftest.er1
26507 ac_status=$?
26508 grep -v '^ *+' conftest.er1 >conftest.err
26509 rm -f conftest.er1
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } &&
26513 { ac_try='test -z "$ac_cxx_werror_flag"
26514 || test ! -s conftest.err'
26515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26516 (eval $ac_try) 2>&5
26517 ac_status=$?
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); }; } &&
26520 { ac_try='test -s conftest.$ac_objext'
26521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26522 (eval $ac_try) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); }; }; then
26526 glibcxx_cv_func__sqrtf_use=yes
26527 else
26528 echo "$as_me: failed program was:" >&5
26529 sed 's/^/| /' conftest.$ac_ext >&5
26531 glibcxx_cv_func__sqrtf_use=no
26533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26534 ac_ext=c
26535 ac_cpp='$CPP $CPPFLAGS'
26536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26545 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26547 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26549 for ac_func in _sqrtf
26551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26552 echo "$as_me:$LINENO: checking for $ac_func" >&5
26553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26554 if eval "test \"\${$as_ac_var+set}\" = set"; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26556 else
26557 if test x$gcc_no_link = xyes; then
26558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26560 { (exit 1); exit 1; }; }
26562 cat >conftest.$ac_ext <<_ACEOF
26563 /* confdefs.h. */
26564 _ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26570 #define $ac_func innocuous_$ac_func
26572 /* System header to define __stub macros and hopefully few prototypes,
26573 which can conflict with char $ac_func (); below.
26574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26575 <limits.h> exists even on freestanding compilers. */
26577 #ifdef __STDC__
26578 # include <limits.h>
26579 #else
26580 # include <assert.h>
26581 #endif
26583 #undef $ac_func
26585 /* Override any gcc2 internal prototype to avoid an error. */
26586 #ifdef __cplusplus
26587 extern "C"
26589 #endif
26590 /* We use char because int might match the return type of a gcc2
26591 builtin and then its argument prototype would still apply. */
26592 char $ac_func ();
26593 /* The GNU C library defines this for functions which it implements
26594 to always fail with ENOSYS. Some functions are actually named
26595 something starting with __ and the normal name is an alias. */
26596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26597 choke me
26598 #else
26599 char (*f) () = $ac_func;
26600 #endif
26601 #ifdef __cplusplus
26603 #endif
26606 main ()
26608 return f != $ac_func;
26610 return 0;
26612 _ACEOF
26613 rm -f conftest.$ac_objext conftest$ac_exeext
26614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26615 (eval $ac_link) 2>conftest.er1
26616 ac_status=$?
26617 grep -v '^ *+' conftest.er1 >conftest.err
26618 rm -f conftest.er1
26619 cat conftest.err >&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); } &&
26622 { ac_try='test -z "$ac_c_werror_flag"
26623 || test ! -s conftest.err'
26624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26625 (eval $ac_try) 2>&5
26626 ac_status=$?
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); }; } &&
26629 { ac_try='test -s conftest$ac_exeext'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26632 ac_status=$?
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; }; then
26635 eval "$as_ac_var=yes"
26636 else
26637 echo "$as_me: failed program was:" >&5
26638 sed 's/^/| /' conftest.$ac_ext >&5
26640 eval "$as_ac_var=no"
26642 rm -f conftest.err conftest.$ac_objext \
26643 conftest$ac_exeext conftest.$ac_ext
26645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26647 if test `eval echo '${'$as_ac_var'}'` = yes; then
26648 cat >>confdefs.h <<_ACEOF
26649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26650 _ACEOF
26653 done
26663 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
26664 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
26665 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
26666 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
26667 echo $ECHO_N "(cached) $ECHO_C" >&6
26668 else
26672 ac_ext=cc
26673 ac_cpp='$CXXCPP $CPPFLAGS'
26674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684 #include <math.h>
26686 main ()
26688 sincosf(0, 0, 0);
26690 return 0;
26692 _ACEOF
26693 rm -f conftest.$ac_objext
26694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26695 (eval $ac_compile) 2>conftest.er1
26696 ac_status=$?
26697 grep -v '^ *+' conftest.er1 >conftest.err
26698 rm -f conftest.er1
26699 cat conftest.err >&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); } &&
26702 { ac_try='test -z "$ac_cxx_werror_flag"
26703 || test ! -s conftest.err'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; } &&
26709 { ac_try='test -s conftest.$ac_objext'
26710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26711 (eval $ac_try) 2>&5
26712 ac_status=$?
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); }; }; then
26715 glibcxx_cv_func_sincosf_use=yes
26716 else
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26720 glibcxx_cv_func_sincosf_use=no
26722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26723 ac_ext=c
26724 ac_cpp='$CPP $CPPFLAGS'
26725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
26734 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
26736 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
26738 for ac_func in sincosf
26740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26741 echo "$as_me:$LINENO: checking for $ac_func" >&5
26742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26743 if eval "test \"\${$as_ac_var+set}\" = set"; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 else
26746 if test x$gcc_no_link = xyes; then
26747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26749 { (exit 1); exit 1; }; }
26751 cat >conftest.$ac_ext <<_ACEOF
26752 /* confdefs.h. */
26753 _ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26759 #define $ac_func innocuous_$ac_func
26761 /* System header to define __stub macros and hopefully few prototypes,
26762 which can conflict with char $ac_func (); below.
26763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26764 <limits.h> exists even on freestanding compilers. */
26766 #ifdef __STDC__
26767 # include <limits.h>
26768 #else
26769 # include <assert.h>
26770 #endif
26772 #undef $ac_func
26774 /* Override any gcc2 internal prototype to avoid an error. */
26775 #ifdef __cplusplus
26776 extern "C"
26778 #endif
26779 /* We use char because int might match the return type of a gcc2
26780 builtin and then its argument prototype would still apply. */
26781 char $ac_func ();
26782 /* The GNU C library defines this for functions which it implements
26783 to always fail with ENOSYS. Some functions are actually named
26784 something starting with __ and the normal name is an alias. */
26785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26786 choke me
26787 #else
26788 char (*f) () = $ac_func;
26789 #endif
26790 #ifdef __cplusplus
26792 #endif
26795 main ()
26797 return f != $ac_func;
26799 return 0;
26801 _ACEOF
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26805 ac_status=$?
26806 grep -v '^ *+' conftest.er1 >conftest.err
26807 rm -f conftest.er1
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26821 ac_status=$?
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 eval "$as_ac_var=yes"
26825 else
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26829 eval "$as_ac_var=no"
26831 rm -f conftest.err conftest.$ac_objext \
26832 conftest$ac_exeext conftest.$ac_ext
26834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26836 if test `eval echo '${'$as_ac_var'}'` = yes; then
26837 cat >>confdefs.h <<_ACEOF
26838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26839 _ACEOF
26842 done
26844 else
26846 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
26847 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
26848 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
26849 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26851 else
26855 ac_ext=cc
26856 ac_cpp='$CXXCPP $CPPFLAGS'
26857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26861 cat >conftest.$ac_ext <<_ACEOF
26862 /* confdefs.h. */
26863 _ACEOF
26864 cat confdefs.h >>conftest.$ac_ext
26865 cat >>conftest.$ac_ext <<_ACEOF
26866 /* end confdefs.h. */
26867 #include <math.h>
26869 main ()
26871 _sincosf(0, 0, 0);
26873 return 0;
26875 _ACEOF
26876 rm -f conftest.$ac_objext
26877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26878 (eval $ac_compile) 2>conftest.er1
26879 ac_status=$?
26880 grep -v '^ *+' conftest.er1 >conftest.err
26881 rm -f conftest.er1
26882 cat conftest.err >&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } &&
26885 { ac_try='test -z "$ac_cxx_werror_flag"
26886 || test ! -s conftest.err'
26887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26888 (eval $ac_try) 2>&5
26889 ac_status=$?
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); }; } &&
26892 { ac_try='test -s conftest.$ac_objext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26898 glibcxx_cv_func__sincosf_use=yes
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26903 glibcxx_cv_func__sincosf_use=no
26905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26906 ac_ext=c
26907 ac_cpp='$CPP $CPPFLAGS'
26908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
26917 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
26919 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
26921 for ac_func in _sincosf
26923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26924 echo "$as_me:$LINENO: checking for $ac_func" >&5
26925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26926 if eval "test \"\${$as_ac_var+set}\" = set"; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 if test x$gcc_no_link = xyes; then
26930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26932 { (exit 1); exit 1; }; }
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26942 #define $ac_func innocuous_$ac_func
26944 /* System header to define __stub macros and hopefully few prototypes,
26945 which can conflict with char $ac_func (); below.
26946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26947 <limits.h> exists even on freestanding compilers. */
26949 #ifdef __STDC__
26950 # include <limits.h>
26951 #else
26952 # include <assert.h>
26953 #endif
26955 #undef $ac_func
26957 /* Override any gcc2 internal prototype to avoid an error. */
26958 #ifdef __cplusplus
26959 extern "C"
26961 #endif
26962 /* We use char because int might match the return type of a gcc2
26963 builtin and then its argument prototype would still apply. */
26964 char $ac_func ();
26965 /* The GNU C library defines this for functions which it implements
26966 to always fail with ENOSYS. Some functions are actually named
26967 something starting with __ and the normal name is an alias. */
26968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26969 choke me
26970 #else
26971 char (*f) () = $ac_func;
26972 #endif
26973 #ifdef __cplusplus
26975 #endif
26978 main ()
26980 return f != $ac_func;
26982 return 0;
26984 _ACEOF
26985 rm -f conftest.$ac_objext conftest$ac_exeext
26986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26987 (eval $ac_link) 2>conftest.er1
26988 ac_status=$?
26989 grep -v '^ *+' conftest.er1 >conftest.err
26990 rm -f conftest.er1
26991 cat conftest.err >&5
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); } &&
26994 { ac_try='test -z "$ac_c_werror_flag"
26995 || test ! -s conftest.err'
26996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26997 (eval $ac_try) 2>&5
26998 ac_status=$?
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); }; } &&
27001 { ac_try='test -s conftest$ac_exeext'
27002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27003 (eval $ac_try) 2>&5
27004 ac_status=$?
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); }; }; then
27007 eval "$as_ac_var=yes"
27008 else
27009 echo "$as_me: failed program was:" >&5
27010 sed 's/^/| /' conftest.$ac_ext >&5
27012 eval "$as_ac_var=no"
27014 rm -f conftest.err conftest.$ac_objext \
27015 conftest$ac_exeext conftest.$ac_ext
27017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27019 if test `eval echo '${'$as_ac_var'}'` = yes; then
27020 cat >>confdefs.h <<_ACEOF
27021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27022 _ACEOF
27025 done
27035 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27036 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27037 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27038 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27044 ac_ext=cc
27045 ac_cpp='$CXXCPP $CPPFLAGS'
27046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <math.h>
27057 #ifdef HAVE_IEEEFP_H
27058 #include <ieeefp.h>
27059 #endif
27062 main ()
27064 finitef(0);
27066 return 0;
27068 _ACEOF
27069 rm -f conftest.$ac_objext
27070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27071 (eval $ac_compile) 2>conftest.er1
27072 ac_status=$?
27073 grep -v '^ *+' conftest.er1 >conftest.err
27074 rm -f conftest.er1
27075 cat conftest.err >&5
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); } &&
27078 { ac_try='test -z "$ac_cxx_werror_flag"
27079 || test ! -s conftest.err'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; } &&
27085 { ac_try='test -s conftest.$ac_objext'
27086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27087 (eval $ac_try) 2>&5
27088 ac_status=$?
27089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27090 (exit $ac_status); }; }; then
27091 glibcxx_cv_func_finitef_use=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27096 glibcxx_cv_func_finitef_use=no
27098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27099 ac_ext=c
27100 ac_cpp='$CPP $CPPFLAGS'
27101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27110 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27112 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27114 for ac_func in finitef
27116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27117 echo "$as_me:$LINENO: checking for $ac_func" >&5
27118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27119 if eval "test \"\${$as_ac_var+set}\" = set"; then
27120 echo $ECHO_N "(cached) $ECHO_C" >&6
27121 else
27122 if test x$gcc_no_link = xyes; then
27123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27125 { (exit 1); exit 1; }; }
27127 cat >conftest.$ac_ext <<_ACEOF
27128 /* confdefs.h. */
27129 _ACEOF
27130 cat confdefs.h >>conftest.$ac_ext
27131 cat >>conftest.$ac_ext <<_ACEOF
27132 /* end confdefs.h. */
27133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27135 #define $ac_func innocuous_$ac_func
27137 /* System header to define __stub macros and hopefully few prototypes,
27138 which can conflict with char $ac_func (); below.
27139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27140 <limits.h> exists even on freestanding compilers. */
27142 #ifdef __STDC__
27143 # include <limits.h>
27144 #else
27145 # include <assert.h>
27146 #endif
27148 #undef $ac_func
27150 /* Override any gcc2 internal prototype to avoid an error. */
27151 #ifdef __cplusplus
27152 extern "C"
27154 #endif
27155 /* We use char because int might match the return type of a gcc2
27156 builtin and then its argument prototype would still apply. */
27157 char $ac_func ();
27158 /* The GNU C library defines this for functions which it implements
27159 to always fail with ENOSYS. Some functions are actually named
27160 something starting with __ and the normal name is an alias. */
27161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27162 choke me
27163 #else
27164 char (*f) () = $ac_func;
27165 #endif
27166 #ifdef __cplusplus
27168 #endif
27171 main ()
27173 return f != $ac_func;
27175 return 0;
27177 _ACEOF
27178 rm -f conftest.$ac_objext conftest$ac_exeext
27179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27180 (eval $ac_link) 2>conftest.er1
27181 ac_status=$?
27182 grep -v '^ *+' conftest.er1 >conftest.err
27183 rm -f conftest.er1
27184 cat conftest.err >&5
27185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27186 (exit $ac_status); } &&
27187 { ac_try='test -z "$ac_c_werror_flag"
27188 || test ! -s conftest.err'
27189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27190 (eval $ac_try) 2>&5
27191 ac_status=$?
27192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27193 (exit $ac_status); }; } &&
27194 { ac_try='test -s conftest$ac_exeext'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27197 ac_status=$?
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; }; then
27200 eval "$as_ac_var=yes"
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27205 eval "$as_ac_var=no"
27207 rm -f conftest.err conftest.$ac_objext \
27208 conftest$ac_exeext conftest.$ac_ext
27210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27212 if test `eval echo '${'$as_ac_var'}'` = yes; then
27213 cat >>confdefs.h <<_ACEOF
27214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27215 _ACEOF
27218 done
27220 else
27222 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27223 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27224 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27225 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27226 echo $ECHO_N "(cached) $ECHO_C" >&6
27227 else
27231 ac_ext=cc
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237 cat >conftest.$ac_ext <<_ACEOF
27238 /* confdefs.h. */
27239 _ACEOF
27240 cat confdefs.h >>conftest.$ac_ext
27241 cat >>conftest.$ac_ext <<_ACEOF
27242 /* end confdefs.h. */
27243 #include <math.h>
27244 #ifdef HAVE_IEEEFP_H
27245 #include <ieeefp.h>
27246 #endif
27249 main ()
27251 _finitef(0);
27253 return 0;
27255 _ACEOF
27256 rm -f conftest.$ac_objext
27257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27258 (eval $ac_compile) 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } &&
27265 { ac_try='test -z "$ac_cxx_werror_flag"
27266 || test ! -s conftest.err'
27267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27268 (eval $ac_try) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); }; } &&
27272 { ac_try='test -s conftest.$ac_objext'
27273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27274 (eval $ac_try) 2>&5
27275 ac_status=$?
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); }; }; then
27278 glibcxx_cv_func__finitef_use=yes
27279 else
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27283 glibcxx_cv_func__finitef_use=no
27285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27286 ac_ext=c
27287 ac_cpp='$CPP $CPPFLAGS'
27288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27297 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27299 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27301 for ac_func in _finitef
27303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27304 echo "$as_me:$LINENO: checking for $ac_func" >&5
27305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27306 if eval "test \"\${$as_ac_var+set}\" = set"; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309 if test x$gcc_no_link = xyes; then
27310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27312 { (exit 1); exit 1; }; }
27314 cat >conftest.$ac_ext <<_ACEOF
27315 /* confdefs.h. */
27316 _ACEOF
27317 cat confdefs.h >>conftest.$ac_ext
27318 cat >>conftest.$ac_ext <<_ACEOF
27319 /* end confdefs.h. */
27320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27322 #define $ac_func innocuous_$ac_func
27324 /* System header to define __stub macros and hopefully few prototypes,
27325 which can conflict with char $ac_func (); below.
27326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27327 <limits.h> exists even on freestanding compilers. */
27329 #ifdef __STDC__
27330 # include <limits.h>
27331 #else
27332 # include <assert.h>
27333 #endif
27335 #undef $ac_func
27337 /* Override any gcc2 internal prototype to avoid an error. */
27338 #ifdef __cplusplus
27339 extern "C"
27341 #endif
27342 /* We use char because int might match the return type of a gcc2
27343 builtin and then its argument prototype would still apply. */
27344 char $ac_func ();
27345 /* The GNU C library defines this for functions which it implements
27346 to always fail with ENOSYS. Some functions are actually named
27347 something starting with __ and the normal name is an alias. */
27348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27349 choke me
27350 #else
27351 char (*f) () = $ac_func;
27352 #endif
27353 #ifdef __cplusplus
27355 #endif
27358 main ()
27360 return f != $ac_func;
27362 return 0;
27364 _ACEOF
27365 rm -f conftest.$ac_objext conftest$ac_exeext
27366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27367 (eval $ac_link) 2>conftest.er1
27368 ac_status=$?
27369 grep -v '^ *+' conftest.er1 >conftest.err
27370 rm -f conftest.er1
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } &&
27374 { ac_try='test -z "$ac_c_werror_flag"
27375 || test ! -s conftest.err'
27376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27377 (eval $ac_try) 2>&5
27378 ac_status=$?
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; } &&
27381 { ac_try='test -s conftest$ac_exeext'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27384 ac_status=$?
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; }; then
27387 eval "$as_ac_var=yes"
27388 else
27389 echo "$as_me: failed program was:" >&5
27390 sed 's/^/| /' conftest.$ac_ext >&5
27392 eval "$as_ac_var=no"
27394 rm -f conftest.err conftest.$ac_objext \
27395 conftest$ac_exeext conftest.$ac_ext
27397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27399 if test `eval echo '${'$as_ac_var'}'` = yes; then
27400 cat >>confdefs.h <<_ACEOF
27401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27402 _ACEOF
27405 done
27415 echo "$as_me:$LINENO: checking for long double trig functions" >&5
27416 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27417 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27418 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 else
27423 ac_ext=cc
27424 ac_cpp='$CXXCPP $CPPFLAGS'
27425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429 cat >conftest.$ac_ext <<_ACEOF
27430 /* confdefs.h. */
27431 _ACEOF
27432 cat confdefs.h >>conftest.$ac_ext
27433 cat >>conftest.$ac_ext <<_ACEOF
27434 /* end confdefs.h. */
27435 #include <math.h>
27437 main ()
27439 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
27441 return 0;
27443 _ACEOF
27444 rm -f conftest.$ac_objext
27445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27446 (eval $ac_compile) 2>conftest.er1
27447 ac_status=$?
27448 grep -v '^ *+' conftest.er1 >conftest.err
27449 rm -f conftest.er1
27450 cat conftest.err >&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } &&
27453 { ac_try='test -z "$ac_cxx_werror_flag"
27454 || test ! -s conftest.err'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; } &&
27460 { ac_try='test -s conftest.$ac_objext'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27463 ac_status=$?
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27466 glibcxx_cv_func_long_double_trig_use=yes
27467 else
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27471 glibcxx_cv_func_long_double_trig_use=no
27473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27474 ac_ext=c
27475 ac_cpp='$CPP $CPPFLAGS'
27476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27483 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27484 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27494 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
27496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27497 echo "$as_me:$LINENO: checking for $ac_func" >&5
27498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27499 if eval "test \"\${$as_ac_var+set}\" = set"; then
27500 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 else
27502 if test x$gcc_no_link = xyes; then
27503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27505 { (exit 1); exit 1; }; }
27507 cat >conftest.$ac_ext <<_ACEOF
27508 /* confdefs.h. */
27509 _ACEOF
27510 cat confdefs.h >>conftest.$ac_ext
27511 cat >>conftest.$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27515 #define $ac_func innocuous_$ac_func
27517 /* System header to define __stub macros and hopefully few prototypes,
27518 which can conflict with char $ac_func (); below.
27519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27520 <limits.h> exists even on freestanding compilers. */
27522 #ifdef __STDC__
27523 # include <limits.h>
27524 #else
27525 # include <assert.h>
27526 #endif
27528 #undef $ac_func
27530 /* Override any gcc2 internal prototype to avoid an error. */
27531 #ifdef __cplusplus
27532 extern "C"
27534 #endif
27535 /* We use char because int might match the return type of a gcc2
27536 builtin and then its argument prototype would still apply. */
27537 char $ac_func ();
27538 /* The GNU C library defines this for functions which it implements
27539 to always fail with ENOSYS. Some functions are actually named
27540 something starting with __ and the normal name is an alias. */
27541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27542 choke me
27543 #else
27544 char (*f) () = $ac_func;
27545 #endif
27546 #ifdef __cplusplus
27548 #endif
27551 main ()
27553 return f != $ac_func;
27555 return 0;
27557 _ACEOF
27558 rm -f conftest.$ac_objext conftest$ac_exeext
27559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27560 (eval $ac_link) 2>conftest.er1
27561 ac_status=$?
27562 grep -v '^ *+' conftest.er1 >conftest.err
27563 rm -f conftest.er1
27564 cat conftest.err >&5
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); } &&
27567 { ac_try='test -z "$ac_c_werror_flag"
27568 || test ! -s conftest.err'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27571 ac_status=$?
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; } &&
27574 { ac_try='test -s conftest$ac_exeext'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; }; then
27580 eval "$as_ac_var=yes"
27581 else
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.$ac_ext >&5
27585 eval "$as_ac_var=no"
27587 rm -f conftest.err conftest.$ac_objext \
27588 conftest$ac_exeext conftest.$ac_ext
27590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27592 if test `eval echo '${'$as_ac_var'}'` = yes; then
27593 cat >>confdefs.h <<_ACEOF
27594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27595 _ACEOF
27598 done
27600 else
27601 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
27602 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
27603 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
27604 echo $ECHO_N "(cached) $ECHO_C" >&6
27605 else
27609 ac_ext=cc
27610 ac_cpp='$CXXCPP $CPPFLAGS'
27611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27615 cat >conftest.$ac_ext <<_ACEOF
27616 /* confdefs.h. */
27617 _ACEOF
27618 cat confdefs.h >>conftest.$ac_ext
27619 cat >>conftest.$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27621 #include <math.h>
27623 main ()
27625 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
27627 return 0;
27629 _ACEOF
27630 rm -f conftest.$ac_objext
27631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27632 (eval $ac_compile) 2>conftest.er1
27633 ac_status=$?
27634 grep -v '^ *+' conftest.er1 >conftest.err
27635 rm -f conftest.er1
27636 cat conftest.err >&5
27637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27638 (exit $ac_status); } &&
27639 { ac_try='test -z "$ac_cxx_werror_flag"
27640 || test ! -s conftest.err'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; } &&
27646 { ac_try='test -s conftest.$ac_objext'
27647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27648 (eval $ac_try) 2>&5
27649 ac_status=$?
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); }; }; then
27652 glibcxx_cv_func__long_double_trig_use=yes
27653 else
27654 echo "$as_me: failed program was:" >&5
27655 sed 's/^/| /' conftest.$ac_ext >&5
27657 glibcxx_cv_func__long_double_trig_use=no
27659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27660 ac_ext=c
27661 ac_cpp='$CPP $CPPFLAGS'
27662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
27669 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
27670 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
27680 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
27682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27683 echo "$as_me:$LINENO: checking for $ac_func" >&5
27684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27685 if eval "test \"\${$as_ac_var+set}\" = set"; then
27686 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 else
27688 if test x$gcc_no_link = xyes; then
27689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27691 { (exit 1); exit 1; }; }
27693 cat >conftest.$ac_ext <<_ACEOF
27694 /* confdefs.h. */
27695 _ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27701 #define $ac_func innocuous_$ac_func
27703 /* System header to define __stub macros and hopefully few prototypes,
27704 which can conflict with char $ac_func (); below.
27705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27706 <limits.h> exists even on freestanding compilers. */
27708 #ifdef __STDC__
27709 # include <limits.h>
27710 #else
27711 # include <assert.h>
27712 #endif
27714 #undef $ac_func
27716 /* Override any gcc2 internal prototype to avoid an error. */
27717 #ifdef __cplusplus
27718 extern "C"
27720 #endif
27721 /* We use char because int might match the return type of a gcc2
27722 builtin and then its argument prototype would still apply. */
27723 char $ac_func ();
27724 /* The GNU C library defines this for functions which it implements
27725 to always fail with ENOSYS. Some functions are actually named
27726 something starting with __ and the normal name is an alias. */
27727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27728 choke me
27729 #else
27730 char (*f) () = $ac_func;
27731 #endif
27732 #ifdef __cplusplus
27734 #endif
27737 main ()
27739 return f != $ac_func;
27741 return 0;
27743 _ACEOF
27744 rm -f conftest.$ac_objext conftest$ac_exeext
27745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27746 (eval $ac_link) 2>conftest.er1
27747 ac_status=$?
27748 grep -v '^ *+' conftest.er1 >conftest.err
27749 rm -f conftest.er1
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } &&
27753 { ac_try='test -z "$ac_c_werror_flag"
27754 || test ! -s conftest.err'
27755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27756 (eval $ac_try) 2>&5
27757 ac_status=$?
27758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27759 (exit $ac_status); }; } &&
27760 { ac_try='test -s conftest$ac_exeext'
27761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27762 (eval $ac_try) 2>&5
27763 ac_status=$?
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); }; }; then
27766 eval "$as_ac_var=yes"
27767 else
27768 echo "$as_me: failed program was:" >&5
27769 sed 's/^/| /' conftest.$ac_ext >&5
27771 eval "$as_ac_var=no"
27773 rm -f conftest.err conftest.$ac_objext \
27774 conftest$ac_exeext conftest.$ac_ext
27776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27778 if test `eval echo '${'$as_ac_var'}'` = yes; then
27779 cat >>confdefs.h <<_ACEOF
27780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27781 _ACEOF
27784 done
27802 echo "$as_me:$LINENO: checking for long double round functions" >&5
27803 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
27804 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
27805 echo $ECHO_N "(cached) $ECHO_C" >&6
27806 else
27810 ac_ext=cc
27811 ac_cpp='$CXXCPP $CPPFLAGS'
27812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27816 cat >conftest.$ac_ext <<_ACEOF
27817 /* confdefs.h. */
27818 _ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27822 #include <math.h>
27824 main ()
27826 ceill (0); floorl (0);
27828 return 0;
27830 _ACEOF
27831 rm -f conftest.$ac_objext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27833 (eval $ac_compile) 2>conftest.er1
27834 ac_status=$?
27835 grep -v '^ *+' conftest.er1 >conftest.err
27836 rm -f conftest.er1
27837 cat conftest.err >&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } &&
27840 { ac_try='test -z "$ac_cxx_werror_flag"
27841 || test ! -s conftest.err'
27842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843 (eval $ac_try) 2>&5
27844 ac_status=$?
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); }; } &&
27847 { ac_try='test -s conftest.$ac_objext'
27848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849 (eval $ac_try) 2>&5
27850 ac_status=$?
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; }; then
27853 glibcxx_cv_func_long_double_round_use=yes
27854 else
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 glibcxx_cv_func_long_double_round_use=no
27860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27861 ac_ext=c
27862 ac_cpp='$CPP $CPPFLAGS'
27863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
27870 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
27871 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
27874 for ac_func in ceill floorl
27876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27877 echo "$as_me:$LINENO: checking for $ac_func" >&5
27878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27879 if eval "test \"\${$as_ac_var+set}\" = set"; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 else
27882 if test x$gcc_no_link = xyes; then
27883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27885 { (exit 1); exit 1; }; }
27887 cat >conftest.$ac_ext <<_ACEOF
27888 /* confdefs.h. */
27889 _ACEOF
27890 cat confdefs.h >>conftest.$ac_ext
27891 cat >>conftest.$ac_ext <<_ACEOF
27892 /* end confdefs.h. */
27893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27895 #define $ac_func innocuous_$ac_func
27897 /* System header to define __stub macros and hopefully few prototypes,
27898 which can conflict with char $ac_func (); below.
27899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27900 <limits.h> exists even on freestanding compilers. */
27902 #ifdef __STDC__
27903 # include <limits.h>
27904 #else
27905 # include <assert.h>
27906 #endif
27908 #undef $ac_func
27910 /* Override any gcc2 internal prototype to avoid an error. */
27911 #ifdef __cplusplus
27912 extern "C"
27914 #endif
27915 /* We use char because int might match the return type of a gcc2
27916 builtin and then its argument prototype would still apply. */
27917 char $ac_func ();
27918 /* The GNU C library defines this for functions which it implements
27919 to always fail with ENOSYS. Some functions are actually named
27920 something starting with __ and the normal name is an alias. */
27921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27922 choke me
27923 #else
27924 char (*f) () = $ac_func;
27925 #endif
27926 #ifdef __cplusplus
27928 #endif
27931 main ()
27933 return f != $ac_func;
27935 return 0;
27937 _ACEOF
27938 rm -f conftest.$ac_objext conftest$ac_exeext
27939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27940 (eval $ac_link) 2>conftest.er1
27941 ac_status=$?
27942 grep -v '^ *+' conftest.er1 >conftest.err
27943 rm -f conftest.er1
27944 cat conftest.err >&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try='test -z "$ac_c_werror_flag"
27948 || test ! -s conftest.err'
27949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27950 (eval $ac_try) 2>&5
27951 ac_status=$?
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; } &&
27954 { ac_try='test -s conftest$ac_exeext'
27955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27956 (eval $ac_try) 2>&5
27957 ac_status=$?
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); }; }; then
27960 eval "$as_ac_var=yes"
27961 else
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.$ac_ext >&5
27965 eval "$as_ac_var=no"
27967 rm -f conftest.err conftest.$ac_objext \
27968 conftest$ac_exeext conftest.$ac_ext
27970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27972 if test `eval echo '${'$as_ac_var'}'` = yes; then
27973 cat >>confdefs.h <<_ACEOF
27974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27975 _ACEOF
27978 done
27980 else
27981 echo "$as_me:$LINENO: checking for _long double round functions" >&5
27982 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
27983 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27989 ac_ext=cc
27990 ac_cpp='$CXXCPP $CPPFLAGS'
27991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27995 cat >conftest.$ac_ext <<_ACEOF
27996 /* confdefs.h. */
27997 _ACEOF
27998 cat confdefs.h >>conftest.$ac_ext
27999 cat >>conftest.$ac_ext <<_ACEOF
28000 /* end confdefs.h. */
28001 #include <math.h>
28003 main ()
28005 _ceill (0); _floorl (0);
28007 return 0;
28009 _ACEOF
28010 rm -f conftest.$ac_objext
28011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28012 (eval $ac_compile) 2>conftest.er1
28013 ac_status=$?
28014 grep -v '^ *+' conftest.er1 >conftest.err
28015 rm -f conftest.er1
28016 cat conftest.err >&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } &&
28019 { ac_try='test -z "$ac_cxx_werror_flag"
28020 || test ! -s conftest.err'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; } &&
28026 { ac_try='test -s conftest.$ac_objext'
28027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28028 (eval $ac_try) 2>&5
28029 ac_status=$?
28030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28031 (exit $ac_status); }; }; then
28032 glibcxx_cv_func__long_double_round_use=yes
28033 else
28034 echo "$as_me: failed program was:" >&5
28035 sed 's/^/| /' conftest.$ac_ext >&5
28037 glibcxx_cv_func__long_double_round_use=no
28039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28040 ac_ext=c
28041 ac_cpp='$CPP $CPPFLAGS'
28042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28049 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28050 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28053 for ac_func in _ceill _floorl
28055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28056 echo "$as_me:$LINENO: checking for $ac_func" >&5
28057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28058 if eval "test \"\${$as_ac_var+set}\" = set"; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28061 if test x$gcc_no_link = xyes; then
28062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28064 { (exit 1); exit 1; }; }
28066 cat >conftest.$ac_ext <<_ACEOF
28067 /* confdefs.h. */
28068 _ACEOF
28069 cat confdefs.h >>conftest.$ac_ext
28070 cat >>conftest.$ac_ext <<_ACEOF
28071 /* end confdefs.h. */
28072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28074 #define $ac_func innocuous_$ac_func
28076 /* System header to define __stub macros and hopefully few prototypes,
28077 which can conflict with char $ac_func (); below.
28078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28079 <limits.h> exists even on freestanding compilers. */
28081 #ifdef __STDC__
28082 # include <limits.h>
28083 #else
28084 # include <assert.h>
28085 #endif
28087 #undef $ac_func
28089 /* Override any gcc2 internal prototype to avoid an error. */
28090 #ifdef __cplusplus
28091 extern "C"
28093 #endif
28094 /* We use char because int might match the return type of a gcc2
28095 builtin and then its argument prototype would still apply. */
28096 char $ac_func ();
28097 /* The GNU C library defines this for functions which it implements
28098 to always fail with ENOSYS. Some functions are actually named
28099 something starting with __ and the normal name is an alias. */
28100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28101 choke me
28102 #else
28103 char (*f) () = $ac_func;
28104 #endif
28105 #ifdef __cplusplus
28107 #endif
28110 main ()
28112 return f != $ac_func;
28114 return 0;
28116 _ACEOF
28117 rm -f conftest.$ac_objext conftest$ac_exeext
28118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28119 (eval $ac_link) 2>conftest.er1
28120 ac_status=$?
28121 grep -v '^ *+' conftest.er1 >conftest.err
28122 rm -f conftest.er1
28123 cat conftest.err >&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } &&
28126 { ac_try='test -z "$ac_c_werror_flag"
28127 || test ! -s conftest.err'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28130 ac_status=$?
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; } &&
28133 { ac_try='test -s conftest$ac_exeext'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; }; then
28139 eval "$as_ac_var=yes"
28140 else
28141 echo "$as_me: failed program was:" >&5
28142 sed 's/^/| /' conftest.$ac_ext >&5
28144 eval "$as_ac_var=no"
28146 rm -f conftest.err conftest.$ac_objext \
28147 conftest$ac_exeext conftest.$ac_ext
28149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28151 if test `eval echo '${'$as_ac_var'}'` = yes; then
28152 cat >>confdefs.h <<_ACEOF
28153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28154 _ACEOF
28157 done
28169 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28170 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28171 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28172 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28173 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 else
28178 ac_ext=cc
28179 ac_cpp='$CXXCPP $CPPFLAGS'
28180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28184 cat >conftest.$ac_ext <<_ACEOF
28185 /* confdefs.h. */
28186 _ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 #include <math.h>
28191 #ifdef HAVE_IEEEFP_H
28192 #include <ieeefp.h>
28193 #endif
28196 main ()
28198 isnanl(0);
28200 return 0;
28202 _ACEOF
28203 rm -f conftest.$ac_objext
28204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28205 (eval $ac_compile) 2>conftest.er1
28206 ac_status=$?
28207 grep -v '^ *+' conftest.er1 >conftest.err
28208 rm -f conftest.er1
28209 cat conftest.err >&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); } &&
28212 { ac_try='test -z "$ac_cxx_werror_flag"
28213 || test ! -s conftest.err'
28214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28215 (eval $ac_try) 2>&5
28216 ac_status=$?
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); }; } &&
28219 { ac_try='test -s conftest.$ac_objext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 glibcxx_cv_func_isnanl_use=yes
28226 else
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.$ac_ext >&5
28230 glibcxx_cv_func_isnanl_use=no
28232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28233 ac_ext=c
28234 ac_cpp='$CPP $CPPFLAGS'
28235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28244 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28246 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28248 for ac_func in isnanl
28250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28251 echo "$as_me:$LINENO: checking for $ac_func" >&5
28252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28253 if eval "test \"\${$as_ac_var+set}\" = set"; then
28254 echo $ECHO_N "(cached) $ECHO_C" >&6
28255 else
28256 if test x$gcc_no_link = xyes; then
28257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28259 { (exit 1); exit 1; }; }
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28269 #define $ac_func innocuous_$ac_func
28271 /* System header to define __stub macros and hopefully few prototypes,
28272 which can conflict with char $ac_func (); below.
28273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28274 <limits.h> exists even on freestanding compilers. */
28276 #ifdef __STDC__
28277 # include <limits.h>
28278 #else
28279 # include <assert.h>
28280 #endif
28282 #undef $ac_func
28284 /* Override any gcc2 internal prototype to avoid an error. */
28285 #ifdef __cplusplus
28286 extern "C"
28288 #endif
28289 /* We use char because int might match the return type of a gcc2
28290 builtin and then its argument prototype would still apply. */
28291 char $ac_func ();
28292 /* The GNU C library defines this for functions which it implements
28293 to always fail with ENOSYS. Some functions are actually named
28294 something starting with __ and the normal name is an alias. */
28295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28296 choke me
28297 #else
28298 char (*f) () = $ac_func;
28299 #endif
28300 #ifdef __cplusplus
28302 #endif
28305 main ()
28307 return f != $ac_func;
28309 return 0;
28311 _ACEOF
28312 rm -f conftest.$ac_objext conftest$ac_exeext
28313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28314 (eval $ac_link) 2>conftest.er1
28315 ac_status=$?
28316 grep -v '^ *+' conftest.er1 >conftest.err
28317 rm -f conftest.er1
28318 cat conftest.err >&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } &&
28321 { ac_try='test -z "$ac_c_werror_flag"
28322 || test ! -s conftest.err'
28323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28324 (eval $ac_try) 2>&5
28325 ac_status=$?
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); }; } &&
28328 { ac_try='test -s conftest$ac_exeext'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28331 ac_status=$?
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; }; then
28334 eval "$as_ac_var=yes"
28335 else
28336 echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28339 eval "$as_ac_var=no"
28341 rm -f conftest.err conftest.$ac_objext \
28342 conftest$ac_exeext conftest.$ac_ext
28344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28346 if test `eval echo '${'$as_ac_var'}'` = yes; then
28347 cat >>confdefs.h <<_ACEOF
28348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28349 _ACEOF
28352 done
28354 else
28356 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
28357 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
28358 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
28359 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28361 else
28365 ac_ext=cc
28366 ac_cpp='$CXXCPP $CPPFLAGS'
28367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28371 cat >conftest.$ac_ext <<_ACEOF
28372 /* confdefs.h. */
28373 _ACEOF
28374 cat confdefs.h >>conftest.$ac_ext
28375 cat >>conftest.$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 #include <math.h>
28378 #ifdef HAVE_IEEEFP_H
28379 #include <ieeefp.h>
28380 #endif
28383 main ()
28385 _isnanl(0);
28387 return 0;
28389 _ACEOF
28390 rm -f conftest.$ac_objext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 (eval $ac_compile) 2>conftest.er1
28393 ac_status=$?
28394 grep -v '^ *+' conftest.er1 >conftest.err
28395 rm -f conftest.er1
28396 cat conftest.err >&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -z "$ac_cxx_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 glibcxx_cv_func__isnanl_use=yes
28413 else
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28417 glibcxx_cv_func__isnanl_use=no
28419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28420 ac_ext=c
28421 ac_cpp='$CPP $CPPFLAGS'
28422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
28431 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
28433 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
28435 for ac_func in _isnanl
28437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28438 echo "$as_me:$LINENO: checking for $ac_func" >&5
28439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28440 if eval "test \"\${$as_ac_var+set}\" = set"; then
28441 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 else
28443 if test x$gcc_no_link = xyes; then
28444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28446 { (exit 1); exit 1; }; }
28448 cat >conftest.$ac_ext <<_ACEOF
28449 /* confdefs.h. */
28450 _ACEOF
28451 cat confdefs.h >>conftest.$ac_ext
28452 cat >>conftest.$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28456 #define $ac_func innocuous_$ac_func
28458 /* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28463 #ifdef __STDC__
28464 # include <limits.h>
28465 #else
28466 # include <assert.h>
28467 #endif
28469 #undef $ac_func
28471 /* Override any gcc2 internal prototype to avoid an error. */
28472 #ifdef __cplusplus
28473 extern "C"
28475 #endif
28476 /* We use char because int might match the return type of a gcc2
28477 builtin and then its argument prototype would still apply. */
28478 char $ac_func ();
28479 /* The GNU C library defines this for functions which it implements
28480 to always fail with ENOSYS. Some functions are actually named
28481 something starting with __ and the normal name is an alias. */
28482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28483 choke me
28484 #else
28485 char (*f) () = $ac_func;
28486 #endif
28487 #ifdef __cplusplus
28489 #endif
28492 main ()
28494 return f != $ac_func;
28496 return 0;
28498 _ACEOF
28499 rm -f conftest.$ac_objext conftest$ac_exeext
28500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28501 (eval $ac_link) 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } &&
28508 { ac_try='test -z "$ac_c_werror_flag"
28509 || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try='test -s conftest$ac_exeext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 eval "$as_ac_var=yes"
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28526 eval "$as_ac_var=no"
28528 rm -f conftest.err conftest.$ac_objext \
28529 conftest$ac_exeext conftest.$ac_ext
28531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28533 if test `eval echo '${'$as_ac_var'}'` = yes; then
28534 cat >>confdefs.h <<_ACEOF
28535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28536 _ACEOF
28539 done
28549 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
28550 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
28551 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
28552 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 else
28558 ac_ext=cc
28559 ac_cpp='$CXXCPP $CPPFLAGS'
28560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28564 cat >conftest.$ac_ext <<_ACEOF
28565 /* confdefs.h. */
28566 _ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28570 #include <math.h>
28571 #ifdef HAVE_IEEEFP_H
28572 #include <ieeefp.h>
28573 #endif
28576 main ()
28578 isinfl(0);
28580 return 0;
28582 _ACEOF
28583 rm -f conftest.$ac_objext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28585 (eval $ac_compile) 2>conftest.er1
28586 ac_status=$?
28587 grep -v '^ *+' conftest.er1 >conftest.err
28588 rm -f conftest.er1
28589 cat conftest.err >&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); } &&
28592 { ac_try='test -z "$ac_cxx_werror_flag"
28593 || test ! -s conftest.err'
28594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28595 (eval $ac_try) 2>&5
28596 ac_status=$?
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; } &&
28599 { ac_try='test -s conftest.$ac_objext'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; }; then
28605 glibcxx_cv_func_isinfl_use=yes
28606 else
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28610 glibcxx_cv_func_isinfl_use=no
28612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28613 ac_ext=c
28614 ac_cpp='$CPP $CPPFLAGS'
28615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
28624 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
28626 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
28628 for ac_func in isinfl
28630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_var+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636 if test x$gcc_no_link = xyes; then
28637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639 { (exit 1); exit 1; }; }
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28649 #define $ac_func innocuous_$ac_func
28651 /* System header to define __stub macros and hopefully few prototypes,
28652 which can conflict with char $ac_func (); below.
28653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28654 <limits.h> exists even on freestanding compilers. */
28656 #ifdef __STDC__
28657 # include <limits.h>
28658 #else
28659 # include <assert.h>
28660 #endif
28662 #undef $ac_func
28664 /* Override any gcc2 internal prototype to avoid an error. */
28665 #ifdef __cplusplus
28666 extern "C"
28668 #endif
28669 /* We use char because int might match the return type of a gcc2
28670 builtin and then its argument prototype would still apply. */
28671 char $ac_func ();
28672 /* The GNU C library defines this for functions which it implements
28673 to always fail with ENOSYS. Some functions are actually named
28674 something starting with __ and the normal name is an alias. */
28675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28676 choke me
28677 #else
28678 char (*f) () = $ac_func;
28679 #endif
28680 #ifdef __cplusplus
28682 #endif
28685 main ()
28687 return f != $ac_func;
28689 return 0;
28691 _ACEOF
28692 rm -f conftest.$ac_objext conftest$ac_exeext
28693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28694 (eval $ac_link) 2>conftest.er1
28695 ac_status=$?
28696 grep -v '^ *+' conftest.er1 >conftest.err
28697 rm -f conftest.er1
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } &&
28701 { ac_try='test -z "$ac_c_werror_flag"
28702 || test ! -s conftest.err'
28703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28704 (eval $ac_try) 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); }; } &&
28708 { ac_try='test -s conftest$ac_exeext'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 eval "$as_ac_var=yes"
28715 else
28716 echo "$as_me: failed program was:" >&5
28717 sed 's/^/| /' conftest.$ac_ext >&5
28719 eval "$as_ac_var=no"
28721 rm -f conftest.err conftest.$ac_objext \
28722 conftest$ac_exeext conftest.$ac_ext
28724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28726 if test `eval echo '${'$as_ac_var'}'` = yes; then
28727 cat >>confdefs.h <<_ACEOF
28728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28729 _ACEOF
28732 done
28734 else
28736 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
28737 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
28738 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
28739 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28741 else
28745 ac_ext=cc
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757 #include <math.h>
28758 #ifdef HAVE_IEEEFP_H
28759 #include <ieeefp.h>
28760 #endif
28763 main ()
28765 _isinfl(0);
28767 return 0;
28769 _ACEOF
28770 rm -f conftest.$ac_objext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28772 (eval $ac_compile) 2>conftest.er1
28773 ac_status=$?
28774 grep -v '^ *+' conftest.er1 >conftest.err
28775 rm -f conftest.er1
28776 cat conftest.err >&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try='test -z "$ac_cxx_werror_flag"
28780 || test ! -s conftest.err'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; } &&
28786 { ac_try='test -s conftest.$ac_objext'
28787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28788 (eval $ac_try) 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; }; then
28792 glibcxx_cv_func__isinfl_use=yes
28793 else
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28797 glibcxx_cv_func__isinfl_use=no
28799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28800 ac_ext=c
28801 ac_cpp='$CPP $CPPFLAGS'
28802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
28811 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
28813 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
28815 for ac_func in _isinfl
28817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28818 echo "$as_me:$LINENO: checking for $ac_func" >&5
28819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28820 if eval "test \"\${$as_ac_var+set}\" = set"; then
28821 echo $ECHO_N "(cached) $ECHO_C" >&6
28822 else
28823 if test x$gcc_no_link = xyes; then
28824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28826 { (exit 1); exit 1; }; }
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28836 #define $ac_func innocuous_$ac_func
28838 /* System header to define __stub macros and hopefully few prototypes,
28839 which can conflict with char $ac_func (); below.
28840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28841 <limits.h> exists even on freestanding compilers. */
28843 #ifdef __STDC__
28844 # include <limits.h>
28845 #else
28846 # include <assert.h>
28847 #endif
28849 #undef $ac_func
28851 /* Override any gcc2 internal prototype to avoid an error. */
28852 #ifdef __cplusplus
28853 extern "C"
28855 #endif
28856 /* We use char because int might match the return type of a gcc2
28857 builtin and then its argument prototype would still apply. */
28858 char $ac_func ();
28859 /* The GNU C library defines this for functions which it implements
28860 to always fail with ENOSYS. Some functions are actually named
28861 something starting with __ and the normal name is an alias. */
28862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28863 choke me
28864 #else
28865 char (*f) () = $ac_func;
28866 #endif
28867 #ifdef __cplusplus
28869 #endif
28872 main ()
28874 return f != $ac_func;
28876 return 0;
28878 _ACEOF
28879 rm -f conftest.$ac_objext conftest$ac_exeext
28880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28881 (eval $ac_link) 2>conftest.er1
28882 ac_status=$?
28883 grep -v '^ *+' conftest.er1 >conftest.err
28884 rm -f conftest.er1
28885 cat conftest.err >&5
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); } &&
28888 { ac_try='test -z "$ac_c_werror_flag"
28889 || test ! -s conftest.err'
28890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28891 (eval $ac_try) 2>&5
28892 ac_status=$?
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); }; } &&
28895 { ac_try='test -s conftest$ac_exeext'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; }; then
28901 eval "$as_ac_var=yes"
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28906 eval "$as_ac_var=no"
28908 rm -f conftest.err conftest.$ac_objext \
28909 conftest$ac_exeext conftest.$ac_ext
28911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28913 if test `eval echo '${'$as_ac_var'}'` = yes; then
28914 cat >>confdefs.h <<_ACEOF
28915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28916 _ACEOF
28919 done
28929 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
28930 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
28931 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
28932 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 else
28938 ac_ext=cc
28939 ac_cpp='$CXXCPP $CPPFLAGS'
28940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28944 cat >conftest.$ac_ext <<_ACEOF
28945 /* confdefs.h. */
28946 _ACEOF
28947 cat confdefs.h >>conftest.$ac_ext
28948 cat >>conftest.$ac_ext <<_ACEOF
28949 /* end confdefs.h. */
28950 #include <math.h>
28952 main ()
28954 copysignl(0, 0);
28956 return 0;
28958 _ACEOF
28959 rm -f conftest.$ac_objext
28960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28961 (eval $ac_compile) 2>conftest.er1
28962 ac_status=$?
28963 grep -v '^ *+' conftest.er1 >conftest.err
28964 rm -f conftest.er1
28965 cat conftest.err >&5
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); } &&
28968 { ac_try='test -z "$ac_cxx_werror_flag"
28969 || test ! -s conftest.err'
28970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28971 (eval $ac_try) 2>&5
28972 ac_status=$?
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); }; } &&
28975 { ac_try='test -s conftest.$ac_objext'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28978 ac_status=$?
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; }; then
28981 glibcxx_cv_func_copysignl_use=yes
28982 else
28983 echo "$as_me: failed program was:" >&5
28984 sed 's/^/| /' conftest.$ac_ext >&5
28986 glibcxx_cv_func_copysignl_use=no
28988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28989 ac_ext=c
28990 ac_cpp='$CPP $CPPFLAGS'
28991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
29000 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29002 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29004 for ac_func in copysignl
29006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29007 echo "$as_me:$LINENO: checking for $ac_func" >&5
29008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29009 if eval "test \"\${$as_ac_var+set}\" = set"; then
29010 echo $ECHO_N "(cached) $ECHO_C" >&6
29011 else
29012 if test x$gcc_no_link = xyes; then
29013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29015 { (exit 1); exit 1; }; }
29017 cat >conftest.$ac_ext <<_ACEOF
29018 /* confdefs.h. */
29019 _ACEOF
29020 cat confdefs.h >>conftest.$ac_ext
29021 cat >>conftest.$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29025 #define $ac_func innocuous_$ac_func
29027 /* System header to define __stub macros and hopefully few prototypes,
29028 which can conflict with char $ac_func (); below.
29029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29030 <limits.h> exists even on freestanding compilers. */
29032 #ifdef __STDC__
29033 # include <limits.h>
29034 #else
29035 # include <assert.h>
29036 #endif
29038 #undef $ac_func
29040 /* Override any gcc2 internal prototype to avoid an error. */
29041 #ifdef __cplusplus
29042 extern "C"
29044 #endif
29045 /* We use char because int might match the return type of a gcc2
29046 builtin and then its argument prototype would still apply. */
29047 char $ac_func ();
29048 /* The GNU C library defines this for functions which it implements
29049 to always fail with ENOSYS. Some functions are actually named
29050 something starting with __ and the normal name is an alias. */
29051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29052 choke me
29053 #else
29054 char (*f) () = $ac_func;
29055 #endif
29056 #ifdef __cplusplus
29058 #endif
29061 main ()
29063 return f != $ac_func;
29065 return 0;
29067 _ACEOF
29068 rm -f conftest.$ac_objext conftest$ac_exeext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29070 (eval $ac_link) 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try='test -z "$ac_c_werror_flag"
29078 || test ! -s conftest.err'
29079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29080 (eval $ac_try) 2>&5
29081 ac_status=$?
29082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); }; } &&
29084 { ac_try='test -s conftest$ac_exeext'
29085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29086 (eval $ac_try) 2>&5
29087 ac_status=$?
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); }; }; then
29090 eval "$as_ac_var=yes"
29091 else
29092 echo "$as_me: failed program was:" >&5
29093 sed 's/^/| /' conftest.$ac_ext >&5
29095 eval "$as_ac_var=no"
29097 rm -f conftest.err conftest.$ac_objext \
29098 conftest$ac_exeext conftest.$ac_ext
29100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29102 if test `eval echo '${'$as_ac_var'}'` = yes; then
29103 cat >>confdefs.h <<_ACEOF
29104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29105 _ACEOF
29108 done
29110 else
29112 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29113 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29114 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29115 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29121 ac_ext=cc
29122 ac_cpp='$CXXCPP $CPPFLAGS'
29123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127 cat >conftest.$ac_ext <<_ACEOF
29128 /* confdefs.h. */
29129 _ACEOF
29130 cat confdefs.h >>conftest.$ac_ext
29131 cat >>conftest.$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29133 #include <math.h>
29135 main ()
29137 _copysignl(0, 0);
29139 return 0;
29141 _ACEOF
29142 rm -f conftest.$ac_objext
29143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29144 (eval $ac_compile) 2>conftest.er1
29145 ac_status=$?
29146 grep -v '^ *+' conftest.er1 >conftest.err
29147 rm -f conftest.er1
29148 cat conftest.err >&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } &&
29151 { ac_try='test -z "$ac_cxx_werror_flag"
29152 || test ! -s conftest.err'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; } &&
29158 { ac_try='test -s conftest.$ac_objext'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; }; then
29164 glibcxx_cv_func__copysignl_use=yes
29165 else
29166 echo "$as_me: failed program was:" >&5
29167 sed 's/^/| /' conftest.$ac_ext >&5
29169 glibcxx_cv_func__copysignl_use=no
29171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29172 ac_ext=c
29173 ac_cpp='$CPP $CPPFLAGS'
29174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29183 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29185 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29187 for ac_func in _copysignl
29189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 echo "$as_me:$LINENO: checking for $ac_func" >&5
29191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29192 if eval "test \"\${$as_ac_var+set}\" = set"; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 else
29195 if test x$gcc_no_link = xyes; then
29196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29198 { (exit 1); exit 1; }; }
29200 cat >conftest.$ac_ext <<_ACEOF
29201 /* confdefs.h. */
29202 _ACEOF
29203 cat confdefs.h >>conftest.$ac_ext
29204 cat >>conftest.$ac_ext <<_ACEOF
29205 /* end confdefs.h. */
29206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29208 #define $ac_func innocuous_$ac_func
29210 /* System header to define __stub macros and hopefully few prototypes,
29211 which can conflict with char $ac_func (); below.
29212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29213 <limits.h> exists even on freestanding compilers. */
29215 #ifdef __STDC__
29216 # include <limits.h>
29217 #else
29218 # include <assert.h>
29219 #endif
29221 #undef $ac_func
29223 /* Override any gcc2 internal prototype to avoid an error. */
29224 #ifdef __cplusplus
29225 extern "C"
29227 #endif
29228 /* We use char because int might match the return type of a gcc2
29229 builtin and then its argument prototype would still apply. */
29230 char $ac_func ();
29231 /* The GNU C library defines this for functions which it implements
29232 to always fail with ENOSYS. Some functions are actually named
29233 something starting with __ and the normal name is an alias. */
29234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29235 choke me
29236 #else
29237 char (*f) () = $ac_func;
29238 #endif
29239 #ifdef __cplusplus
29241 #endif
29244 main ()
29246 return f != $ac_func;
29248 return 0;
29250 _ACEOF
29251 rm -f conftest.$ac_objext conftest$ac_exeext
29252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>conftest.er1
29254 ac_status=$?
29255 grep -v '^ *+' conftest.er1 >conftest.err
29256 rm -f conftest.er1
29257 cat conftest.err >&5
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try='test -z "$ac_c_werror_flag"
29261 || test ! -s conftest.err'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29264 ac_status=$?
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; } &&
29267 { ac_try='test -s conftest$ac_exeext'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 eval "$as_ac_var=yes"
29274 else
29275 echo "$as_me: failed program was:" >&5
29276 sed 's/^/| /' conftest.$ac_ext >&5
29278 eval "$as_ac_var=no"
29280 rm -f conftest.err conftest.$ac_objext \
29281 conftest$ac_exeext conftest.$ac_ext
29283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29285 if test `eval echo '${'$as_ac_var'}'` = yes; then
29286 cat >>confdefs.h <<_ACEOF
29287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29288 _ACEOF
29291 done
29301 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29302 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29303 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29304 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29305 echo $ECHO_N "(cached) $ECHO_C" >&6
29306 else
29310 ac_ext=cc
29311 ac_cpp='$CXXCPP $CPPFLAGS'
29312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29316 cat >conftest.$ac_ext <<_ACEOF
29317 /* confdefs.h. */
29318 _ACEOF
29319 cat confdefs.h >>conftest.$ac_ext
29320 cat >>conftest.$ac_ext <<_ACEOF
29321 /* end confdefs.h. */
29322 #include <math.h>
29324 main ()
29326 atan2l(0, 0);
29328 return 0;
29330 _ACEOF
29331 rm -f conftest.$ac_objext
29332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29333 (eval $ac_compile) 2>conftest.er1
29334 ac_status=$?
29335 grep -v '^ *+' conftest.er1 >conftest.err
29336 rm -f conftest.er1
29337 cat conftest.err >&5
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); } &&
29340 { ac_try='test -z "$ac_cxx_werror_flag"
29341 || test ! -s conftest.err'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29344 ac_status=$?
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; } &&
29347 { ac_try='test -s conftest.$ac_objext'
29348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29349 (eval $ac_try) 2>&5
29350 ac_status=$?
29351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29352 (exit $ac_status); }; }; then
29353 glibcxx_cv_func_atan2l_use=yes
29354 else
29355 echo "$as_me: failed program was:" >&5
29356 sed 's/^/| /' conftest.$ac_ext >&5
29358 glibcxx_cv_func_atan2l_use=no
29360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29361 ac_ext=c
29362 ac_cpp='$CPP $CPPFLAGS'
29363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
29372 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
29374 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
29376 for ac_func in atan2l
29378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29379 echo "$as_me:$LINENO: checking for $ac_func" >&5
29380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29381 if eval "test \"\${$as_ac_var+set}\" = set"; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29383 else
29384 if test x$gcc_no_link = xyes; then
29385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29387 { (exit 1); exit 1; }; }
29389 cat >conftest.$ac_ext <<_ACEOF
29390 /* confdefs.h. */
29391 _ACEOF
29392 cat confdefs.h >>conftest.$ac_ext
29393 cat >>conftest.$ac_ext <<_ACEOF
29394 /* end confdefs.h. */
29395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29397 #define $ac_func innocuous_$ac_func
29399 /* System header to define __stub macros and hopefully few prototypes,
29400 which can conflict with char $ac_func (); below.
29401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29402 <limits.h> exists even on freestanding compilers. */
29404 #ifdef __STDC__
29405 # include <limits.h>
29406 #else
29407 # include <assert.h>
29408 #endif
29410 #undef $ac_func
29412 /* Override any gcc2 internal prototype to avoid an error. */
29413 #ifdef __cplusplus
29414 extern "C"
29416 #endif
29417 /* We use char because int might match the return type of a gcc2
29418 builtin and then its argument prototype would still apply. */
29419 char $ac_func ();
29420 /* The GNU C library defines this for functions which it implements
29421 to always fail with ENOSYS. Some functions are actually named
29422 something starting with __ and the normal name is an alias. */
29423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29424 choke me
29425 #else
29426 char (*f) () = $ac_func;
29427 #endif
29428 #ifdef __cplusplus
29430 #endif
29433 main ()
29435 return f != $ac_func;
29437 return 0;
29439 _ACEOF
29440 rm -f conftest.$ac_objext conftest$ac_exeext
29441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29442 (eval $ac_link) 2>conftest.er1
29443 ac_status=$?
29444 grep -v '^ *+' conftest.er1 >conftest.err
29445 rm -f conftest.er1
29446 cat conftest.err >&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try='test -z "$ac_c_werror_flag"
29450 || test ! -s conftest.err'
29451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29452 (eval $ac_try) 2>&5
29453 ac_status=$?
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; } &&
29456 { ac_try='test -s conftest$ac_exeext'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; }; then
29462 eval "$as_ac_var=yes"
29463 else
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29467 eval "$as_ac_var=no"
29469 rm -f conftest.err conftest.$ac_objext \
29470 conftest$ac_exeext conftest.$ac_ext
29472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29474 if test `eval echo '${'$as_ac_var'}'` = yes; then
29475 cat >>confdefs.h <<_ACEOF
29476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29477 _ACEOF
29480 done
29482 else
29484 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
29485 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
29486 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
29487 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 else
29493 ac_ext=cc
29494 ac_cpp='$CXXCPP $CPPFLAGS'
29495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29499 cat >conftest.$ac_ext <<_ACEOF
29500 /* confdefs.h. */
29501 _ACEOF
29502 cat confdefs.h >>conftest.$ac_ext
29503 cat >>conftest.$ac_ext <<_ACEOF
29504 /* end confdefs.h. */
29505 #include <math.h>
29507 main ()
29509 _atan2l(0, 0);
29511 return 0;
29513 _ACEOF
29514 rm -f conftest.$ac_objext
29515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29516 (eval $ac_compile) 2>conftest.er1
29517 ac_status=$?
29518 grep -v '^ *+' conftest.er1 >conftest.err
29519 rm -f conftest.er1
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } &&
29523 { ac_try='test -z "$ac_cxx_werror_flag"
29524 || test ! -s conftest.err'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29527 ac_status=$?
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; } &&
29530 { ac_try='test -s conftest.$ac_objext'
29531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29532 (eval $ac_try) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 glibcxx_cv_func__atan2l_use=yes
29537 else
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29541 glibcxx_cv_func__atan2l_use=no
29543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29544 ac_ext=c
29545 ac_cpp='$CPP $CPPFLAGS'
29546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
29555 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
29557 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
29559 for ac_func in _atan2l
29561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29562 echo "$as_me:$LINENO: checking for $ac_func" >&5
29563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29564 if eval "test \"\${$as_ac_var+set}\" = set"; then
29565 echo $ECHO_N "(cached) $ECHO_C" >&6
29566 else
29567 if test x$gcc_no_link = xyes; then
29568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29570 { (exit 1); exit 1; }; }
29572 cat >conftest.$ac_ext <<_ACEOF
29573 /* confdefs.h. */
29574 _ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29580 #define $ac_func innocuous_$ac_func
29582 /* System header to define __stub macros and hopefully few prototypes,
29583 which can conflict with char $ac_func (); below.
29584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29585 <limits.h> exists even on freestanding compilers. */
29587 #ifdef __STDC__
29588 # include <limits.h>
29589 #else
29590 # include <assert.h>
29591 #endif
29593 #undef $ac_func
29595 /* Override any gcc2 internal prototype to avoid an error. */
29596 #ifdef __cplusplus
29597 extern "C"
29599 #endif
29600 /* We use char because int might match the return type of a gcc2
29601 builtin and then its argument prototype would still apply. */
29602 char $ac_func ();
29603 /* The GNU C library defines this for functions which it implements
29604 to always fail with ENOSYS. Some functions are actually named
29605 something starting with __ and the normal name is an alias. */
29606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29607 choke me
29608 #else
29609 char (*f) () = $ac_func;
29610 #endif
29611 #ifdef __cplusplus
29613 #endif
29616 main ()
29618 return f != $ac_func;
29620 return 0;
29622 _ACEOF
29623 rm -f conftest.$ac_objext conftest$ac_exeext
29624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29625 (eval $ac_link) 2>conftest.er1
29626 ac_status=$?
29627 grep -v '^ *+' conftest.er1 >conftest.err
29628 rm -f conftest.er1
29629 cat conftest.err >&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } &&
29632 { ac_try='test -z "$ac_c_werror_flag"
29633 || test ! -s conftest.err'
29634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29635 (eval $ac_try) 2>&5
29636 ac_status=$?
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; } &&
29639 { ac_try='test -s conftest$ac_exeext'
29640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29641 (eval $ac_try) 2>&5
29642 ac_status=$?
29643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29644 (exit $ac_status); }; }; then
29645 eval "$as_ac_var=yes"
29646 else
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.$ac_ext >&5
29650 eval "$as_ac_var=no"
29652 rm -f conftest.err conftest.$ac_objext \
29653 conftest$ac_exeext conftest.$ac_ext
29655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29657 if test `eval echo '${'$as_ac_var'}'` = yes; then
29658 cat >>confdefs.h <<_ACEOF
29659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29660 _ACEOF
29663 done
29673 echo "$as_me:$LINENO: checking for expl declaration" >&5
29674 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
29675 if test x${glibcxx_cv_func_expl_use+set} != xset; then
29676 if test "${glibcxx_cv_func_expl_use+set}" = set; then
29677 echo $ECHO_N "(cached) $ECHO_C" >&6
29678 else
29682 ac_ext=cc
29683 ac_cpp='$CXXCPP $CPPFLAGS'
29684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688 cat >conftest.$ac_ext <<_ACEOF
29689 /* confdefs.h. */
29690 _ACEOF
29691 cat confdefs.h >>conftest.$ac_ext
29692 cat >>conftest.$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29694 #include <math.h>
29695 #ifdef HAVE_IEEEFP_H
29696 #include <ieeefp.h>
29697 #endif
29700 main ()
29702 expl(0);
29704 return 0;
29706 _ACEOF
29707 rm -f conftest.$ac_objext
29708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29709 (eval $ac_compile) 2>conftest.er1
29710 ac_status=$?
29711 grep -v '^ *+' conftest.er1 >conftest.err
29712 rm -f conftest.er1
29713 cat conftest.err >&5
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); } &&
29716 { ac_try='test -z "$ac_cxx_werror_flag"
29717 || test ! -s conftest.err'
29718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29719 (eval $ac_try) 2>&5
29720 ac_status=$?
29721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29722 (exit $ac_status); }; } &&
29723 { ac_try='test -s conftest.$ac_objext'
29724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29725 (eval $ac_try) 2>&5
29726 ac_status=$?
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); }; }; then
29729 glibcxx_cv_func_expl_use=yes
29730 else
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29734 glibcxx_cv_func_expl_use=no
29736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29737 ac_ext=c
29738 ac_cpp='$CPP $CPPFLAGS'
29739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
29748 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
29750 if test x$glibcxx_cv_func_expl_use = x"yes"; then
29752 for ac_func in expl
29754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29755 echo "$as_me:$LINENO: checking for $ac_func" >&5
29756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29757 if eval "test \"\${$as_ac_var+set}\" = set"; then
29758 echo $ECHO_N "(cached) $ECHO_C" >&6
29759 else
29760 if test x$gcc_no_link = xyes; then
29761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29763 { (exit 1); exit 1; }; }
29765 cat >conftest.$ac_ext <<_ACEOF
29766 /* confdefs.h. */
29767 _ACEOF
29768 cat confdefs.h >>conftest.$ac_ext
29769 cat >>conftest.$ac_ext <<_ACEOF
29770 /* end confdefs.h. */
29771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29773 #define $ac_func innocuous_$ac_func
29775 /* System header to define __stub macros and hopefully few prototypes,
29776 which can conflict with char $ac_func (); below.
29777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29778 <limits.h> exists even on freestanding compilers. */
29780 #ifdef __STDC__
29781 # include <limits.h>
29782 #else
29783 # include <assert.h>
29784 #endif
29786 #undef $ac_func
29788 /* Override any gcc2 internal prototype to avoid an error. */
29789 #ifdef __cplusplus
29790 extern "C"
29792 #endif
29793 /* We use char because int might match the return type of a gcc2
29794 builtin and then its argument prototype would still apply. */
29795 char $ac_func ();
29796 /* The GNU C library defines this for functions which it implements
29797 to always fail with ENOSYS. Some functions are actually named
29798 something starting with __ and the normal name is an alias. */
29799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29800 choke me
29801 #else
29802 char (*f) () = $ac_func;
29803 #endif
29804 #ifdef __cplusplus
29806 #endif
29809 main ()
29811 return f != $ac_func;
29813 return 0;
29815 _ACEOF
29816 rm -f conftest.$ac_objext conftest$ac_exeext
29817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29818 (eval $ac_link) 2>conftest.er1
29819 ac_status=$?
29820 grep -v '^ *+' conftest.er1 >conftest.err
29821 rm -f conftest.er1
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } &&
29825 { ac_try='test -z "$ac_c_werror_flag"
29826 || test ! -s conftest.err'
29827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828 (eval $ac_try) 2>&5
29829 ac_status=$?
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); }; } &&
29832 { ac_try='test -s conftest$ac_exeext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29838 eval "$as_ac_var=yes"
29839 else
29840 echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.$ac_ext >&5
29843 eval "$as_ac_var=no"
29845 rm -f conftest.err conftest.$ac_objext \
29846 conftest$ac_exeext conftest.$ac_ext
29848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29850 if test `eval echo '${'$as_ac_var'}'` = yes; then
29851 cat >>confdefs.h <<_ACEOF
29852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29853 _ACEOF
29856 done
29858 else
29860 echo "$as_me:$LINENO: checking for _expl declaration" >&5
29861 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
29862 if test x${glibcxx_cv_func__expl_use+set} != xset; then
29863 if test "${glibcxx_cv_func__expl_use+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 else
29869 ac_ext=cc
29870 ac_cpp='$CXXCPP $CPPFLAGS'
29871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29875 cat >conftest.$ac_ext <<_ACEOF
29876 /* confdefs.h. */
29877 _ACEOF
29878 cat confdefs.h >>conftest.$ac_ext
29879 cat >>conftest.$ac_ext <<_ACEOF
29880 /* end confdefs.h. */
29881 #include <math.h>
29882 #ifdef HAVE_IEEEFP_H
29883 #include <ieeefp.h>
29884 #endif
29887 main ()
29889 _expl(0);
29891 return 0;
29893 _ACEOF
29894 rm -f conftest.$ac_objext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29896 (eval $ac_compile) 2>conftest.er1
29897 ac_status=$?
29898 grep -v '^ *+' conftest.er1 >conftest.err
29899 rm -f conftest.er1
29900 cat conftest.err >&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try='test -z "$ac_cxx_werror_flag"
29904 || test ! -s conftest.err'
29905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29906 (eval $ac_try) 2>&5
29907 ac_status=$?
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); }; } &&
29910 { ac_try='test -s conftest.$ac_objext'
29911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29912 (eval $ac_try) 2>&5
29913 ac_status=$?
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); }; }; then
29916 glibcxx_cv_func__expl_use=yes
29917 else
29918 echo "$as_me: failed program was:" >&5
29919 sed 's/^/| /' conftest.$ac_ext >&5
29921 glibcxx_cv_func__expl_use=no
29923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29924 ac_ext=c
29925 ac_cpp='$CPP $CPPFLAGS'
29926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
29935 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
29937 if test x$glibcxx_cv_func__expl_use = x"yes"; then
29939 for ac_func in _expl
29941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29942 echo "$as_me:$LINENO: checking for $ac_func" >&5
29943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29944 if eval "test \"\${$as_ac_var+set}\" = set"; then
29945 echo $ECHO_N "(cached) $ECHO_C" >&6
29946 else
29947 if test x$gcc_no_link = xyes; then
29948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29950 { (exit 1); exit 1; }; }
29952 cat >conftest.$ac_ext <<_ACEOF
29953 /* confdefs.h. */
29954 _ACEOF
29955 cat confdefs.h >>conftest.$ac_ext
29956 cat >>conftest.$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29960 #define $ac_func innocuous_$ac_func
29962 /* System header to define __stub macros and hopefully few prototypes,
29963 which can conflict with char $ac_func (); below.
29964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29965 <limits.h> exists even on freestanding compilers. */
29967 #ifdef __STDC__
29968 # include <limits.h>
29969 #else
29970 # include <assert.h>
29971 #endif
29973 #undef $ac_func
29975 /* Override any gcc2 internal prototype to avoid an error. */
29976 #ifdef __cplusplus
29977 extern "C"
29979 #endif
29980 /* We use char because int might match the return type of a gcc2
29981 builtin and then its argument prototype would still apply. */
29982 char $ac_func ();
29983 /* The GNU C library defines this for functions which it implements
29984 to always fail with ENOSYS. Some functions are actually named
29985 something starting with __ and the normal name is an alias. */
29986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29987 choke me
29988 #else
29989 char (*f) () = $ac_func;
29990 #endif
29991 #ifdef __cplusplus
29993 #endif
29996 main ()
29998 return f != $ac_func;
30000 return 0;
30002 _ACEOF
30003 rm -f conftest.$ac_objext conftest$ac_exeext
30004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30005 (eval $ac_link) 2>conftest.er1
30006 ac_status=$?
30007 grep -v '^ *+' conftest.er1 >conftest.err
30008 rm -f conftest.er1
30009 cat conftest.err >&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); } &&
30012 { ac_try='test -z "$ac_c_werror_flag"
30013 || test ! -s conftest.err'
30014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30015 (eval $ac_try) 2>&5
30016 ac_status=$?
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; } &&
30019 { ac_try='test -s conftest$ac_exeext'
30020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30021 (eval $ac_try) 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; }; then
30025 eval "$as_ac_var=yes"
30026 else
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30030 eval "$as_ac_var=no"
30032 rm -f conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30037 if test `eval echo '${'$as_ac_var'}'` = yes; then
30038 cat >>confdefs.h <<_ACEOF
30039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30040 _ACEOF
30043 done
30053 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30054 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30055 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30056 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30057 echo $ECHO_N "(cached) $ECHO_C" >&6
30058 else
30062 ac_ext=cc
30063 ac_cpp='$CXXCPP $CPPFLAGS'
30064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30068 cat >conftest.$ac_ext <<_ACEOF
30069 /* confdefs.h. */
30070 _ACEOF
30071 cat confdefs.h >>conftest.$ac_ext
30072 cat >>conftest.$ac_ext <<_ACEOF
30073 /* end confdefs.h. */
30074 #include <math.h>
30075 #ifdef HAVE_IEEEFP_H
30076 #include <ieeefp.h>
30077 #endif
30080 main ()
30082 fabsl(0);
30084 return 0;
30086 _ACEOF
30087 rm -f conftest.$ac_objext
30088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30089 (eval $ac_compile) 2>conftest.er1
30090 ac_status=$?
30091 grep -v '^ *+' conftest.er1 >conftest.err
30092 rm -f conftest.er1
30093 cat conftest.err >&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } &&
30096 { ac_try='test -z "$ac_cxx_werror_flag"
30097 || test ! -s conftest.err'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30100 ac_status=$?
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; } &&
30103 { ac_try='test -s conftest.$ac_objext'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30106 ac_status=$?
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; }; then
30109 glibcxx_cv_func_fabsl_use=yes
30110 else
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.$ac_ext >&5
30114 glibcxx_cv_func_fabsl_use=no
30116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30128 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30130 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30132 for ac_func in fabsl
30134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30135 echo "$as_me:$LINENO: checking for $ac_func" >&5
30136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30137 if eval "test \"\${$as_ac_var+set}\" = set"; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 else
30140 if test x$gcc_no_link = xyes; then
30141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30143 { (exit 1); exit 1; }; }
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30153 #define $ac_func innocuous_$ac_func
30155 /* System header to define __stub macros and hopefully few prototypes,
30156 which can conflict with char $ac_func (); below.
30157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30158 <limits.h> exists even on freestanding compilers. */
30160 #ifdef __STDC__
30161 # include <limits.h>
30162 #else
30163 # include <assert.h>
30164 #endif
30166 #undef $ac_func
30168 /* Override any gcc2 internal prototype to avoid an error. */
30169 #ifdef __cplusplus
30170 extern "C"
30172 #endif
30173 /* We use char because int might match the return type of a gcc2
30174 builtin and then its argument prototype would still apply. */
30175 char $ac_func ();
30176 /* The GNU C library defines this for functions which it implements
30177 to always fail with ENOSYS. Some functions are actually named
30178 something starting with __ and the normal name is an alias. */
30179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30180 choke me
30181 #else
30182 char (*f) () = $ac_func;
30183 #endif
30184 #ifdef __cplusplus
30186 #endif
30189 main ()
30191 return f != $ac_func;
30193 return 0;
30195 _ACEOF
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30199 ac_status=$?
30200 grep -v '^ *+' conftest.er1 >conftest.err
30201 rm -f conftest.er1
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try='test -z "$ac_c_werror_flag"
30206 || test ! -s conftest.err'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30209 ac_status=$?
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; } &&
30212 { ac_try='test -s conftest$ac_exeext'
30213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30214 (eval $ac_try) 2>&5
30215 ac_status=$?
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); }; }; then
30218 eval "$as_ac_var=yes"
30219 else
30220 echo "$as_me: failed program was:" >&5
30221 sed 's/^/| /' conftest.$ac_ext >&5
30223 eval "$as_ac_var=no"
30225 rm -f conftest.err conftest.$ac_objext \
30226 conftest$ac_exeext conftest.$ac_ext
30228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30230 if test `eval echo '${'$as_ac_var'}'` = yes; then
30231 cat >>confdefs.h <<_ACEOF
30232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30233 _ACEOF
30236 done
30238 else
30240 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30241 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30242 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30243 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30244 echo $ECHO_N "(cached) $ECHO_C" >&6
30245 else
30249 ac_ext=cc
30250 ac_cpp='$CXXCPP $CPPFLAGS'
30251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30255 cat >conftest.$ac_ext <<_ACEOF
30256 /* confdefs.h. */
30257 _ACEOF
30258 cat confdefs.h >>conftest.$ac_ext
30259 cat >>conftest.$ac_ext <<_ACEOF
30260 /* end confdefs.h. */
30261 #include <math.h>
30262 #ifdef HAVE_IEEEFP_H
30263 #include <ieeefp.h>
30264 #endif
30267 main ()
30269 _fabsl(0);
30271 return 0;
30273 _ACEOF
30274 rm -f conftest.$ac_objext
30275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30276 (eval $ac_compile) 2>conftest.er1
30277 ac_status=$?
30278 grep -v '^ *+' conftest.er1 >conftest.err
30279 rm -f conftest.er1
30280 cat conftest.err >&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); } &&
30283 { ac_try='test -z "$ac_cxx_werror_flag"
30284 || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest.$ac_objext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30296 glibcxx_cv_func__fabsl_use=yes
30297 else
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30301 glibcxx_cv_func__fabsl_use=no
30303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30304 ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30315 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30317 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30319 for ac_func in _fabsl
30321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30322 echo "$as_me:$LINENO: checking for $ac_func" >&5
30323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30324 if eval "test \"\${$as_ac_var+set}\" = set"; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 else
30327 if test x$gcc_no_link = xyes; then
30328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30330 { (exit 1); exit 1; }; }
30332 cat >conftest.$ac_ext <<_ACEOF
30333 /* confdefs.h. */
30334 _ACEOF
30335 cat confdefs.h >>conftest.$ac_ext
30336 cat >>conftest.$ac_ext <<_ACEOF
30337 /* end confdefs.h. */
30338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30340 #define $ac_func innocuous_$ac_func
30342 /* System header to define __stub macros and hopefully few prototypes,
30343 which can conflict with char $ac_func (); below.
30344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30345 <limits.h> exists even on freestanding compilers. */
30347 #ifdef __STDC__
30348 # include <limits.h>
30349 #else
30350 # include <assert.h>
30351 #endif
30353 #undef $ac_func
30355 /* Override any gcc2 internal prototype to avoid an error. */
30356 #ifdef __cplusplus
30357 extern "C"
30359 #endif
30360 /* We use char because int might match the return type of a gcc2
30361 builtin and then its argument prototype would still apply. */
30362 char $ac_func ();
30363 /* The GNU C library defines this for functions which it implements
30364 to always fail with ENOSYS. Some functions are actually named
30365 something starting with __ and the normal name is an alias. */
30366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30367 choke me
30368 #else
30369 char (*f) () = $ac_func;
30370 #endif
30371 #ifdef __cplusplus
30373 #endif
30376 main ()
30378 return f != $ac_func;
30380 return 0;
30382 _ACEOF
30383 rm -f conftest.$ac_objext conftest$ac_exeext
30384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30385 (eval $ac_link) 2>conftest.er1
30386 ac_status=$?
30387 grep -v '^ *+' conftest.er1 >conftest.err
30388 rm -f conftest.er1
30389 cat conftest.err >&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } &&
30392 { ac_try='test -z "$ac_c_werror_flag"
30393 || test ! -s conftest.err'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30396 ac_status=$?
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; } &&
30399 { ac_try='test -s conftest$ac_exeext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405 eval "$as_ac_var=yes"
30406 else
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.$ac_ext >&5
30410 eval "$as_ac_var=no"
30412 rm -f conftest.err conftest.$ac_objext \
30413 conftest$ac_exeext conftest.$ac_ext
30415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30417 if test `eval echo '${'$as_ac_var'}'` = yes; then
30418 cat >>confdefs.h <<_ACEOF
30419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30420 _ACEOF
30423 done
30433 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
30434 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
30435 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30436 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
30437 echo $ECHO_N "(cached) $ECHO_C" >&6
30438 else
30442 ac_ext=cc
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30448 cat >conftest.$ac_ext <<_ACEOF
30449 /* confdefs.h. */
30450 _ACEOF
30451 cat confdefs.h >>conftest.$ac_ext
30452 cat >>conftest.$ac_ext <<_ACEOF
30453 /* end confdefs.h. */
30454 #include <math.h>
30456 main ()
30458 fmodl(0, 0);
30460 return 0;
30462 _ACEOF
30463 rm -f conftest.$ac_objext
30464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30465 (eval $ac_compile) 2>conftest.er1
30466 ac_status=$?
30467 grep -v '^ *+' conftest.er1 >conftest.err
30468 rm -f conftest.er1
30469 cat conftest.err >&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); } &&
30472 { ac_try='test -z "$ac_cxx_werror_flag"
30473 || test ! -s conftest.err'
30474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30475 (eval $ac_try) 2>&5
30476 ac_status=$?
30477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30478 (exit $ac_status); }; } &&
30479 { ac_try='test -s conftest.$ac_objext'
30480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30481 (eval $ac_try) 2>&5
30482 ac_status=$?
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); }; }; then
30485 glibcxx_cv_func_fmodl_use=yes
30486 else
30487 echo "$as_me: failed program was:" >&5
30488 sed 's/^/| /' conftest.$ac_ext >&5
30490 glibcxx_cv_func_fmodl_use=no
30492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30493 ac_ext=c
30494 ac_cpp='$CPP $CPPFLAGS'
30495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
30504 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
30506 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30508 for ac_func in fmodl
30510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30511 echo "$as_me:$LINENO: checking for $ac_func" >&5
30512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30513 if eval "test \"\${$as_ac_var+set}\" = set"; then
30514 echo $ECHO_N "(cached) $ECHO_C" >&6
30515 else
30516 if test x$gcc_no_link = xyes; then
30517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30519 { (exit 1); exit 1; }; }
30521 cat >conftest.$ac_ext <<_ACEOF
30522 /* confdefs.h. */
30523 _ACEOF
30524 cat confdefs.h >>conftest.$ac_ext
30525 cat >>conftest.$ac_ext <<_ACEOF
30526 /* end confdefs.h. */
30527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30529 #define $ac_func innocuous_$ac_func
30531 /* System header to define __stub macros and hopefully few prototypes,
30532 which can conflict with char $ac_func (); below.
30533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30534 <limits.h> exists even on freestanding compilers. */
30536 #ifdef __STDC__
30537 # include <limits.h>
30538 #else
30539 # include <assert.h>
30540 #endif
30542 #undef $ac_func
30544 /* Override any gcc2 internal prototype to avoid an error. */
30545 #ifdef __cplusplus
30546 extern "C"
30548 #endif
30549 /* We use char because int might match the return type of a gcc2
30550 builtin and then its argument prototype would still apply. */
30551 char $ac_func ();
30552 /* The GNU C library defines this for functions which it implements
30553 to always fail with ENOSYS. Some functions are actually named
30554 something starting with __ and the normal name is an alias. */
30555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30556 choke me
30557 #else
30558 char (*f) () = $ac_func;
30559 #endif
30560 #ifdef __cplusplus
30562 #endif
30565 main ()
30567 return f != $ac_func;
30569 return 0;
30571 _ACEOF
30572 rm -f conftest.$ac_objext conftest$ac_exeext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30574 (eval $ac_link) 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try='test -z "$ac_c_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try='test -s conftest$ac_exeext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 eval "$as_ac_var=yes"
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30599 eval "$as_ac_var=no"
30601 rm -f conftest.err conftest.$ac_objext \
30602 conftest$ac_exeext conftest.$ac_ext
30604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30606 if test `eval echo '${'$as_ac_var'}'` = yes; then
30607 cat >>confdefs.h <<_ACEOF
30608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30609 _ACEOF
30612 done
30614 else
30616 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
30617 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
30618 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30619 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
30620 echo $ECHO_N "(cached) $ECHO_C" >&6
30621 else
30625 ac_ext=cc
30626 ac_cpp='$CXXCPP $CPPFLAGS'
30627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30631 cat >conftest.$ac_ext <<_ACEOF
30632 /* confdefs.h. */
30633 _ACEOF
30634 cat confdefs.h >>conftest.$ac_ext
30635 cat >>conftest.$ac_ext <<_ACEOF
30636 /* end confdefs.h. */
30637 #include <math.h>
30639 main ()
30641 _fmodl(0, 0);
30643 return 0;
30645 _ACEOF
30646 rm -f conftest.$ac_objext
30647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30648 (eval $ac_compile) 2>conftest.er1
30649 ac_status=$?
30650 grep -v '^ *+' conftest.er1 >conftest.err
30651 rm -f conftest.er1
30652 cat conftest.err >&5
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); } &&
30655 { ac_try='test -z "$ac_cxx_werror_flag"
30656 || test ! -s conftest.err'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; } &&
30662 { ac_try='test -s conftest.$ac_objext'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; }; then
30668 glibcxx_cv_func__fmodl_use=yes
30669 else
30670 echo "$as_me: failed program was:" >&5
30671 sed 's/^/| /' conftest.$ac_ext >&5
30673 glibcxx_cv_func__fmodl_use=no
30675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30676 ac_ext=c
30677 ac_cpp='$CPP $CPPFLAGS'
30678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
30687 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
30689 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30691 for ac_func in _fmodl
30693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30694 echo "$as_me:$LINENO: checking for $ac_func" >&5
30695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30696 if eval "test \"\${$as_ac_var+set}\" = set"; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30699 if test x$gcc_no_link = xyes; then
30700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30702 { (exit 1); exit 1; }; }
30704 cat >conftest.$ac_ext <<_ACEOF
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30712 #define $ac_func innocuous_$ac_func
30714 /* System header to define __stub macros and hopefully few prototypes,
30715 which can conflict with char $ac_func (); below.
30716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30717 <limits.h> exists even on freestanding compilers. */
30719 #ifdef __STDC__
30720 # include <limits.h>
30721 #else
30722 # include <assert.h>
30723 #endif
30725 #undef $ac_func
30727 /* Override any gcc2 internal prototype to avoid an error. */
30728 #ifdef __cplusplus
30729 extern "C"
30731 #endif
30732 /* We use char because int might match the return type of a gcc2
30733 builtin and then its argument prototype would still apply. */
30734 char $ac_func ();
30735 /* The GNU C library defines this for functions which it implements
30736 to always fail with ENOSYS. Some functions are actually named
30737 something starting with __ and the normal name is an alias. */
30738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30739 choke me
30740 #else
30741 char (*f) () = $ac_func;
30742 #endif
30743 #ifdef __cplusplus
30745 #endif
30748 main ()
30750 return f != $ac_func;
30752 return 0;
30754 _ACEOF
30755 rm -f conftest.$ac_objext conftest$ac_exeext
30756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30757 (eval $ac_link) 2>conftest.er1
30758 ac_status=$?
30759 grep -v '^ *+' conftest.er1 >conftest.err
30760 rm -f conftest.er1
30761 cat conftest.err >&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); } &&
30764 { ac_try='test -z "$ac_c_werror_flag"
30765 || test ! -s conftest.err'
30766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30767 (eval $ac_try) 2>&5
30768 ac_status=$?
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); }; } &&
30771 { ac_try='test -s conftest$ac_exeext'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30774 ac_status=$?
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; }; then
30777 eval "$as_ac_var=yes"
30778 else
30779 echo "$as_me: failed program was:" >&5
30780 sed 's/^/| /' conftest.$ac_ext >&5
30782 eval "$as_ac_var=no"
30784 rm -f conftest.err conftest.$ac_objext \
30785 conftest$ac_exeext conftest.$ac_ext
30787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30789 if test `eval echo '${'$as_ac_var'}'` = yes; then
30790 cat >>confdefs.h <<_ACEOF
30791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30792 _ACEOF
30795 done
30805 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
30806 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
30807 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30808 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
30809 echo $ECHO_N "(cached) $ECHO_C" >&6
30810 else
30814 ac_ext=cc
30815 ac_cpp='$CXXCPP $CPPFLAGS'
30816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30820 cat >conftest.$ac_ext <<_ACEOF
30821 /* confdefs.h. */
30822 _ACEOF
30823 cat confdefs.h >>conftest.$ac_ext
30824 cat >>conftest.$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30826 #include <math.h>
30828 main ()
30830 frexpl(0, 0);
30832 return 0;
30834 _ACEOF
30835 rm -f conftest.$ac_objext
30836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30837 (eval $ac_compile) 2>conftest.er1
30838 ac_status=$?
30839 grep -v '^ *+' conftest.er1 >conftest.err
30840 rm -f conftest.er1
30841 cat conftest.err >&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } &&
30844 { ac_try='test -z "$ac_cxx_werror_flag"
30845 || test ! -s conftest.err'
30846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847 (eval $ac_try) 2>&5
30848 ac_status=$?
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); }; } &&
30851 { ac_try='test -s conftest.$ac_objext'
30852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30853 (eval $ac_try) 2>&5
30854 ac_status=$?
30855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30856 (exit $ac_status); }; }; then
30857 glibcxx_cv_func_frexpl_use=yes
30858 else
30859 echo "$as_me: failed program was:" >&5
30860 sed 's/^/| /' conftest.$ac_ext >&5
30862 glibcxx_cv_func_frexpl_use=no
30864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30865 ac_ext=c
30866 ac_cpp='$CPP $CPPFLAGS'
30867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
30876 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
30878 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30880 for ac_func in frexpl
30882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30883 echo "$as_me:$LINENO: checking for $ac_func" >&5
30884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30885 if eval "test \"\${$as_ac_var+set}\" = set"; then
30886 echo $ECHO_N "(cached) $ECHO_C" >&6
30887 else
30888 if test x$gcc_no_link = xyes; then
30889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30891 { (exit 1); exit 1; }; }
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30901 #define $ac_func innocuous_$ac_func
30903 /* System header to define __stub macros and hopefully few prototypes,
30904 which can conflict with char $ac_func (); below.
30905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30906 <limits.h> exists even on freestanding compilers. */
30908 #ifdef __STDC__
30909 # include <limits.h>
30910 #else
30911 # include <assert.h>
30912 #endif
30914 #undef $ac_func
30916 /* Override any gcc2 internal prototype to avoid an error. */
30917 #ifdef __cplusplus
30918 extern "C"
30920 #endif
30921 /* We use char because int might match the return type of a gcc2
30922 builtin and then its argument prototype would still apply. */
30923 char $ac_func ();
30924 /* The GNU C library defines this for functions which it implements
30925 to always fail with ENOSYS. Some functions are actually named
30926 something starting with __ and the normal name is an alias. */
30927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30928 choke me
30929 #else
30930 char (*f) () = $ac_func;
30931 #endif
30932 #ifdef __cplusplus
30934 #endif
30937 main ()
30939 return f != $ac_func;
30941 return 0;
30943 _ACEOF
30944 rm -f conftest.$ac_objext conftest$ac_exeext
30945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30946 (eval $ac_link) 2>conftest.er1
30947 ac_status=$?
30948 grep -v '^ *+' conftest.er1 >conftest.err
30949 rm -f conftest.er1
30950 cat conftest.err >&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } &&
30953 { ac_try='test -z "$ac_c_werror_flag"
30954 || test ! -s conftest.err'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; } &&
30960 { ac_try='test -s conftest$ac_exeext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 eval "$as_ac_var=yes"
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30971 eval "$as_ac_var=no"
30973 rm -f conftest.err conftest.$ac_objext \
30974 conftest$ac_exeext conftest.$ac_ext
30976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30978 if test `eval echo '${'$as_ac_var'}'` = yes; then
30979 cat >>confdefs.h <<_ACEOF
30980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30981 _ACEOF
30984 done
30986 else
30988 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
30989 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
30990 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30991 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30993 else
30997 ac_ext=cc
30998 ac_cpp='$CXXCPP $CPPFLAGS'
30999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31003 cat >conftest.$ac_ext <<_ACEOF
31004 /* confdefs.h. */
31005 _ACEOF
31006 cat confdefs.h >>conftest.$ac_ext
31007 cat >>conftest.$ac_ext <<_ACEOF
31008 /* end confdefs.h. */
31009 #include <math.h>
31011 main ()
31013 _frexpl(0, 0);
31015 return 0;
31017 _ACEOF
31018 rm -f conftest.$ac_objext
31019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31020 (eval $ac_compile) 2>conftest.er1
31021 ac_status=$?
31022 grep -v '^ *+' conftest.er1 >conftest.err
31023 rm -f conftest.er1
31024 cat conftest.err >&5
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); } &&
31027 { ac_try='test -z "$ac_cxx_werror_flag"
31028 || test ! -s conftest.err'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; } &&
31034 { ac_try='test -s conftest.$ac_objext'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31037 ac_status=$?
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; }; then
31040 glibcxx_cv_func__frexpl_use=yes
31041 else
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.$ac_ext >&5
31045 glibcxx_cv_func__frexpl_use=no
31047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31048 ac_ext=c
31049 ac_cpp='$CPP $CPPFLAGS'
31050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31059 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31061 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31063 for ac_func in _frexpl
31065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31066 echo "$as_me:$LINENO: checking for $ac_func" >&5
31067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31068 if eval "test \"\${$as_ac_var+set}\" = set"; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 else
31071 if test x$gcc_no_link = xyes; then
31072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31074 { (exit 1); exit 1; }; }
31076 cat >conftest.$ac_ext <<_ACEOF
31077 /* confdefs.h. */
31078 _ACEOF
31079 cat confdefs.h >>conftest.$ac_ext
31080 cat >>conftest.$ac_ext <<_ACEOF
31081 /* end confdefs.h. */
31082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31084 #define $ac_func innocuous_$ac_func
31086 /* System header to define __stub macros and hopefully few prototypes,
31087 which can conflict with char $ac_func (); below.
31088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31089 <limits.h> exists even on freestanding compilers. */
31091 #ifdef __STDC__
31092 # include <limits.h>
31093 #else
31094 # include <assert.h>
31095 #endif
31097 #undef $ac_func
31099 /* Override any gcc2 internal prototype to avoid an error. */
31100 #ifdef __cplusplus
31101 extern "C"
31103 #endif
31104 /* We use char because int might match the return type of a gcc2
31105 builtin and then its argument prototype would still apply. */
31106 char $ac_func ();
31107 /* The GNU C library defines this for functions which it implements
31108 to always fail with ENOSYS. Some functions are actually named
31109 something starting with __ and the normal name is an alias. */
31110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31111 choke me
31112 #else
31113 char (*f) () = $ac_func;
31114 #endif
31115 #ifdef __cplusplus
31117 #endif
31120 main ()
31122 return f != $ac_func;
31124 return 0;
31126 _ACEOF
31127 rm -f conftest.$ac_objext conftest$ac_exeext
31128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31129 (eval $ac_link) 2>conftest.er1
31130 ac_status=$?
31131 grep -v '^ *+' conftest.er1 >conftest.err
31132 rm -f conftest.er1
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } &&
31136 { ac_try='test -z "$ac_c_werror_flag"
31137 || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 eval "$as_ac_var=yes"
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31154 eval "$as_ac_var=no"
31156 rm -f conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31161 if test `eval echo '${'$as_ac_var'}'` = yes; then
31162 cat >>confdefs.h <<_ACEOF
31163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31164 _ACEOF
31167 done
31177 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31178 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31179 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31180 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 else
31186 ac_ext=cc
31187 ac_cpp='$CXXCPP $CPPFLAGS'
31188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31192 cat >conftest.$ac_ext <<_ACEOF
31193 /* confdefs.h. */
31194 _ACEOF
31195 cat confdefs.h >>conftest.$ac_ext
31196 cat >>conftest.$ac_ext <<_ACEOF
31197 /* end confdefs.h. */
31198 #include <math.h>
31200 main ()
31202 hypotl(0, 0);
31204 return 0;
31206 _ACEOF
31207 rm -f conftest.$ac_objext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31209 (eval $ac_compile) 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try='test -z "$ac_cxx_werror_flag"
31217 || test ! -s conftest.err'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; } &&
31223 { ac_try='test -s conftest.$ac_objext'
31224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31225 (eval $ac_try) 2>&5
31226 ac_status=$?
31227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31228 (exit $ac_status); }; }; then
31229 glibcxx_cv_func_hypotl_use=yes
31230 else
31231 echo "$as_me: failed program was:" >&5
31232 sed 's/^/| /' conftest.$ac_ext >&5
31234 glibcxx_cv_func_hypotl_use=no
31236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31237 ac_ext=c
31238 ac_cpp='$CPP $CPPFLAGS'
31239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31248 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31250 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31252 for ac_func in hypotl
31254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31255 echo "$as_me:$LINENO: checking for $ac_func" >&5
31256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31257 if eval "test \"\${$as_ac_var+set}\" = set"; then
31258 echo $ECHO_N "(cached) $ECHO_C" >&6
31259 else
31260 if test x$gcc_no_link = xyes; then
31261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31263 { (exit 1); exit 1; }; }
31265 cat >conftest.$ac_ext <<_ACEOF
31266 /* confdefs.h. */
31267 _ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31273 #define $ac_func innocuous_$ac_func
31275 /* System header to define __stub macros and hopefully few prototypes,
31276 which can conflict with char $ac_func (); below.
31277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31278 <limits.h> exists even on freestanding compilers. */
31280 #ifdef __STDC__
31281 # include <limits.h>
31282 #else
31283 # include <assert.h>
31284 #endif
31286 #undef $ac_func
31288 /* Override any gcc2 internal prototype to avoid an error. */
31289 #ifdef __cplusplus
31290 extern "C"
31292 #endif
31293 /* We use char because int might match the return type of a gcc2
31294 builtin and then its argument prototype would still apply. */
31295 char $ac_func ();
31296 /* The GNU C library defines this for functions which it implements
31297 to always fail with ENOSYS. Some functions are actually named
31298 something starting with __ and the normal name is an alias. */
31299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31300 choke me
31301 #else
31302 char (*f) () = $ac_func;
31303 #endif
31304 #ifdef __cplusplus
31306 #endif
31309 main ()
31311 return f != $ac_func;
31313 return 0;
31315 _ACEOF
31316 rm -f conftest.$ac_objext conftest$ac_exeext
31317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31318 (eval $ac_link) 2>conftest.er1
31319 ac_status=$?
31320 grep -v '^ *+' conftest.er1 >conftest.err
31321 rm -f conftest.er1
31322 cat conftest.err >&5
31323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324 (exit $ac_status); } &&
31325 { ac_try='test -z "$ac_c_werror_flag"
31326 || test ! -s conftest.err'
31327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31328 (eval $ac_try) 2>&5
31329 ac_status=$?
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; } &&
31332 { ac_try='test -s conftest$ac_exeext'
31333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31334 (eval $ac_try) 2>&5
31335 ac_status=$?
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); }; }; then
31338 eval "$as_ac_var=yes"
31339 else
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.$ac_ext >&5
31343 eval "$as_ac_var=no"
31345 rm -f conftest.err conftest.$ac_objext \
31346 conftest$ac_exeext conftest.$ac_ext
31348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31350 if test `eval echo '${'$as_ac_var'}'` = yes; then
31351 cat >>confdefs.h <<_ACEOF
31352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31353 _ACEOF
31356 done
31358 else
31360 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
31361 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
31362 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31363 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
31364 echo $ECHO_N "(cached) $ECHO_C" >&6
31365 else
31369 ac_ext=cc
31370 ac_cpp='$CXXCPP $CPPFLAGS'
31371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31375 cat >conftest.$ac_ext <<_ACEOF
31376 /* confdefs.h. */
31377 _ACEOF
31378 cat confdefs.h >>conftest.$ac_ext
31379 cat >>conftest.$ac_ext <<_ACEOF
31380 /* end confdefs.h. */
31381 #include <math.h>
31383 main ()
31385 _hypotl(0, 0);
31387 return 0;
31389 _ACEOF
31390 rm -f conftest.$ac_objext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31392 (eval $ac_compile) 2>conftest.er1
31393 ac_status=$?
31394 grep -v '^ *+' conftest.er1 >conftest.err
31395 rm -f conftest.er1
31396 cat conftest.err >&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try='test -z "$ac_cxx_werror_flag"
31400 || test ! -s conftest.err'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; } &&
31406 { ac_try='test -s conftest.$ac_objext'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31409 ac_status=$?
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; }; then
31412 glibcxx_cv_func__hypotl_use=yes
31413 else
31414 echo "$as_me: failed program was:" >&5
31415 sed 's/^/| /' conftest.$ac_ext >&5
31417 glibcxx_cv_func__hypotl_use=no
31419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31420 ac_ext=c
31421 ac_cpp='$CPP $CPPFLAGS'
31422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
31431 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
31433 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31435 for ac_func in _hypotl
31437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31438 echo "$as_me:$LINENO: checking for $ac_func" >&5
31439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31440 if eval "test \"\${$as_ac_var+set}\" = set"; then
31441 echo $ECHO_N "(cached) $ECHO_C" >&6
31442 else
31443 if test x$gcc_no_link = xyes; then
31444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31446 { (exit 1); exit 1; }; }
31448 cat >conftest.$ac_ext <<_ACEOF
31449 /* confdefs.h. */
31450 _ACEOF
31451 cat confdefs.h >>conftest.$ac_ext
31452 cat >>conftest.$ac_ext <<_ACEOF
31453 /* end confdefs.h. */
31454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31456 #define $ac_func innocuous_$ac_func
31458 /* System header to define __stub macros and hopefully few prototypes,
31459 which can conflict with char $ac_func (); below.
31460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31461 <limits.h> exists even on freestanding compilers. */
31463 #ifdef __STDC__
31464 # include <limits.h>
31465 #else
31466 # include <assert.h>
31467 #endif
31469 #undef $ac_func
31471 /* Override any gcc2 internal prototype to avoid an error. */
31472 #ifdef __cplusplus
31473 extern "C"
31475 #endif
31476 /* We use char because int might match the return type of a gcc2
31477 builtin and then its argument prototype would still apply. */
31478 char $ac_func ();
31479 /* The GNU C library defines this for functions which it implements
31480 to always fail with ENOSYS. Some functions are actually named
31481 something starting with __ and the normal name is an alias. */
31482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31483 choke me
31484 #else
31485 char (*f) () = $ac_func;
31486 #endif
31487 #ifdef __cplusplus
31489 #endif
31492 main ()
31494 return f != $ac_func;
31496 return 0;
31498 _ACEOF
31499 rm -f conftest.$ac_objext conftest$ac_exeext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31501 (eval $ac_link) 2>conftest.er1
31502 ac_status=$?
31503 grep -v '^ *+' conftest.er1 >conftest.err
31504 rm -f conftest.er1
31505 cat conftest.err >&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } &&
31508 { ac_try='test -z "$ac_c_werror_flag"
31509 || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest$ac_exeext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 eval "$as_ac_var=yes"
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31526 eval "$as_ac_var=no"
31528 rm -f conftest.err conftest.$ac_objext \
31529 conftest$ac_exeext conftest.$ac_ext
31531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31533 if test `eval echo '${'$as_ac_var'}'` = yes; then
31534 cat >>confdefs.h <<_ACEOF
31535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31536 _ACEOF
31539 done
31549 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
31550 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
31551 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31552 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31558 ac_ext=cc
31559 ac_cpp='$CXXCPP $CPPFLAGS'
31560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31564 cat >conftest.$ac_ext <<_ACEOF
31565 /* confdefs.h. */
31566 _ACEOF
31567 cat confdefs.h >>conftest.$ac_ext
31568 cat >>conftest.$ac_ext <<_ACEOF
31569 /* end confdefs.h. */
31570 #include <math.h>
31572 main ()
31574 ldexpl(0, 0);
31576 return 0;
31578 _ACEOF
31579 rm -f conftest.$ac_objext
31580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31581 (eval $ac_compile) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } &&
31588 { ac_try='test -z "$ac_cxx_werror_flag"
31589 || test ! -s conftest.err'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31592 ac_status=$?
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; } &&
31595 { ac_try='test -s conftest.$ac_objext'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31598 ac_status=$?
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; }; then
31601 glibcxx_cv_func_ldexpl_use=yes
31602 else
31603 echo "$as_me: failed program was:" >&5
31604 sed 's/^/| /' conftest.$ac_ext >&5
31606 glibcxx_cv_func_ldexpl_use=no
31608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31609 ac_ext=c
31610 ac_cpp='$CPP $CPPFLAGS'
31611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
31620 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
31622 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31624 for ac_func in ldexpl
31626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31627 echo "$as_me:$LINENO: checking for $ac_func" >&5
31628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31629 if eval "test \"\${$as_ac_var+set}\" = set"; then
31630 echo $ECHO_N "(cached) $ECHO_C" >&6
31631 else
31632 if test x$gcc_no_link = xyes; then
31633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31635 { (exit 1); exit 1; }; }
31637 cat >conftest.$ac_ext <<_ACEOF
31638 /* confdefs.h. */
31639 _ACEOF
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h. */
31643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31645 #define $ac_func innocuous_$ac_func
31647 /* System header to define __stub macros and hopefully few prototypes,
31648 which can conflict with char $ac_func (); below.
31649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31650 <limits.h> exists even on freestanding compilers. */
31652 #ifdef __STDC__
31653 # include <limits.h>
31654 #else
31655 # include <assert.h>
31656 #endif
31658 #undef $ac_func
31660 /* Override any gcc2 internal prototype to avoid an error. */
31661 #ifdef __cplusplus
31662 extern "C"
31664 #endif
31665 /* We use char because int might match the return type of a gcc2
31666 builtin and then its argument prototype would still apply. */
31667 char $ac_func ();
31668 /* The GNU C library defines this for functions which it implements
31669 to always fail with ENOSYS. Some functions are actually named
31670 something starting with __ and the normal name is an alias. */
31671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31672 choke me
31673 #else
31674 char (*f) () = $ac_func;
31675 #endif
31676 #ifdef __cplusplus
31678 #endif
31681 main ()
31683 return f != $ac_func;
31685 return 0;
31687 _ACEOF
31688 rm -f conftest.$ac_objext conftest$ac_exeext
31689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31690 (eval $ac_link) 2>conftest.er1
31691 ac_status=$?
31692 grep -v '^ *+' conftest.er1 >conftest.err
31693 rm -f conftest.er1
31694 cat conftest.err >&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); } &&
31697 { ac_try='test -z "$ac_c_werror_flag"
31698 || test ! -s conftest.err'
31699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31700 (eval $ac_try) 2>&5
31701 ac_status=$?
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); }; } &&
31704 { ac_try='test -s conftest$ac_exeext'
31705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31706 (eval $ac_try) 2>&5
31707 ac_status=$?
31708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31709 (exit $ac_status); }; }; then
31710 eval "$as_ac_var=yes"
31711 else
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31715 eval "$as_ac_var=no"
31717 rm -f conftest.err conftest.$ac_objext \
31718 conftest$ac_exeext conftest.$ac_ext
31720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31722 if test `eval echo '${'$as_ac_var'}'` = yes; then
31723 cat >>confdefs.h <<_ACEOF
31724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31725 _ACEOF
31728 done
31730 else
31732 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
31733 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
31734 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31735 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31737 else
31741 ac_ext=cc
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31747 cat >conftest.$ac_ext <<_ACEOF
31748 /* confdefs.h. */
31749 _ACEOF
31750 cat confdefs.h >>conftest.$ac_ext
31751 cat >>conftest.$ac_ext <<_ACEOF
31752 /* end confdefs.h. */
31753 #include <math.h>
31755 main ()
31757 _ldexpl(0, 0);
31759 return 0;
31761 _ACEOF
31762 rm -f conftest.$ac_objext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31764 (eval $ac_compile) 2>conftest.er1
31765 ac_status=$?
31766 grep -v '^ *+' conftest.er1 >conftest.err
31767 rm -f conftest.er1
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -z "$ac_cxx_werror_flag"
31772 || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='test -s conftest.$ac_objext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 glibcxx_cv_func__ldexpl_use=yes
31785 else
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31789 glibcxx_cv_func__ldexpl_use=no
31791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31792 ac_ext=c
31793 ac_cpp='$CPP $CPPFLAGS'
31794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
31803 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
31805 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31807 for ac_func in _ldexpl
31809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31810 echo "$as_me:$LINENO: checking for $ac_func" >&5
31811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31812 if eval "test \"\${$as_ac_var+set}\" = set"; then
31813 echo $ECHO_N "(cached) $ECHO_C" >&6
31814 else
31815 if test x$gcc_no_link = xyes; then
31816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31818 { (exit 1); exit 1; }; }
31820 cat >conftest.$ac_ext <<_ACEOF
31821 /* confdefs.h. */
31822 _ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31828 #define $ac_func innocuous_$ac_func
31830 /* System header to define __stub macros and hopefully few prototypes,
31831 which can conflict with char $ac_func (); below.
31832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31833 <limits.h> exists even on freestanding compilers. */
31835 #ifdef __STDC__
31836 # include <limits.h>
31837 #else
31838 # include <assert.h>
31839 #endif
31841 #undef $ac_func
31843 /* Override any gcc2 internal prototype to avoid an error. */
31844 #ifdef __cplusplus
31845 extern "C"
31847 #endif
31848 /* We use char because int might match the return type of a gcc2
31849 builtin and then its argument prototype would still apply. */
31850 char $ac_func ();
31851 /* The GNU C library defines this for functions which it implements
31852 to always fail with ENOSYS. Some functions are actually named
31853 something starting with __ and the normal name is an alias. */
31854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31855 choke me
31856 #else
31857 char (*f) () = $ac_func;
31858 #endif
31859 #ifdef __cplusplus
31861 #endif
31864 main ()
31866 return f != $ac_func;
31868 return 0;
31870 _ACEOF
31871 rm -f conftest.$ac_objext conftest$ac_exeext
31872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31873 (eval $ac_link) 2>conftest.er1
31874 ac_status=$?
31875 grep -v '^ *+' conftest.er1 >conftest.err
31876 rm -f conftest.er1
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } &&
31880 { ac_try='test -z "$ac_c_werror_flag"
31881 || test ! -s conftest.err'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; } &&
31887 { ac_try='test -s conftest$ac_exeext'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31890 ac_status=$?
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; }; then
31893 eval "$as_ac_var=yes"
31894 else
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31898 eval "$as_ac_var=no"
31900 rm -f conftest.err conftest.$ac_objext \
31901 conftest$ac_exeext conftest.$ac_ext
31903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31905 if test `eval echo '${'$as_ac_var'}'` = yes; then
31906 cat >>confdefs.h <<_ACEOF
31907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31908 _ACEOF
31911 done
31921 echo "$as_me:$LINENO: checking for logl declaration" >&5
31922 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
31923 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31924 if test "${glibcxx_cv_func_logl_use+set}" = set; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 else
31930 ac_ext=cc
31931 ac_cpp='$CXXCPP $CPPFLAGS'
31932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31936 cat >conftest.$ac_ext <<_ACEOF
31937 /* confdefs.h. */
31938 _ACEOF
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31942 #include <math.h>
31943 #ifdef HAVE_IEEEFP_H
31944 #include <ieeefp.h>
31945 #endif
31948 main ()
31950 logl(0);
31952 return 0;
31954 _ACEOF
31955 rm -f conftest.$ac_objext
31956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31957 (eval $ac_compile) 2>conftest.er1
31958 ac_status=$?
31959 grep -v '^ *+' conftest.er1 >conftest.err
31960 rm -f conftest.er1
31961 cat conftest.err >&5
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); } &&
31964 { ac_try='test -z "$ac_cxx_werror_flag"
31965 || test ! -s conftest.err'
31966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31967 (eval $ac_try) 2>&5
31968 ac_status=$?
31969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970 (exit $ac_status); }; } &&
31971 { ac_try='test -s conftest.$ac_objext'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31974 ac_status=$?
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; }; then
31977 glibcxx_cv_func_logl_use=yes
31978 else
31979 echo "$as_me: failed program was:" >&5
31980 sed 's/^/| /' conftest.$ac_ext >&5
31982 glibcxx_cv_func_logl_use=no
31984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31985 ac_ext=c
31986 ac_cpp='$CPP $CPPFLAGS'
31987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
31996 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
31998 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32000 for ac_func in logl
32002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32003 echo "$as_me:$LINENO: checking for $ac_func" >&5
32004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32005 if eval "test \"\${$as_ac_var+set}\" = set"; then
32006 echo $ECHO_N "(cached) $ECHO_C" >&6
32007 else
32008 if test x$gcc_no_link = xyes; then
32009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32011 { (exit 1); exit 1; }; }
32013 cat >conftest.$ac_ext <<_ACEOF
32014 /* confdefs.h. */
32015 _ACEOF
32016 cat confdefs.h >>conftest.$ac_ext
32017 cat >>conftest.$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32021 #define $ac_func innocuous_$ac_func
32023 /* System header to define __stub macros and hopefully few prototypes,
32024 which can conflict with char $ac_func (); below.
32025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32026 <limits.h> exists even on freestanding compilers. */
32028 #ifdef __STDC__
32029 # include <limits.h>
32030 #else
32031 # include <assert.h>
32032 #endif
32034 #undef $ac_func
32036 /* Override any gcc2 internal prototype to avoid an error. */
32037 #ifdef __cplusplus
32038 extern "C"
32040 #endif
32041 /* We use char because int might match the return type of a gcc2
32042 builtin and then its argument prototype would still apply. */
32043 char $ac_func ();
32044 /* The GNU C library defines this for functions which it implements
32045 to always fail with ENOSYS. Some functions are actually named
32046 something starting with __ and the normal name is an alias. */
32047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32048 choke me
32049 #else
32050 char (*f) () = $ac_func;
32051 #endif
32052 #ifdef __cplusplus
32054 #endif
32057 main ()
32059 return f != $ac_func;
32061 return 0;
32063 _ACEOF
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32066 (eval $ac_link) 2>conftest.er1
32067 ac_status=$?
32068 grep -v '^ *+' conftest.er1 >conftest.err
32069 rm -f conftest.er1
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } &&
32073 { ac_try='test -z "$ac_c_werror_flag"
32074 || test ! -s conftest.err'
32075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32076 (eval $ac_try) 2>&5
32077 ac_status=$?
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); }; } &&
32080 { ac_try='test -s conftest$ac_exeext'
32081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32082 (eval $ac_try) 2>&5
32083 ac_status=$?
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); }; }; then
32086 eval "$as_ac_var=yes"
32087 else
32088 echo "$as_me: failed program was:" >&5
32089 sed 's/^/| /' conftest.$ac_ext >&5
32091 eval "$as_ac_var=no"
32093 rm -f conftest.err conftest.$ac_objext \
32094 conftest$ac_exeext conftest.$ac_ext
32096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32098 if test `eval echo '${'$as_ac_var'}'` = yes; then
32099 cat >>confdefs.h <<_ACEOF
32100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32101 _ACEOF
32104 done
32106 else
32108 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32109 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32110 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32111 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32112 echo $ECHO_N "(cached) $ECHO_C" >&6
32113 else
32117 ac_ext=cc
32118 ac_cpp='$CXXCPP $CPPFLAGS'
32119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32123 cat >conftest.$ac_ext <<_ACEOF
32124 /* confdefs.h. */
32125 _ACEOF
32126 cat confdefs.h >>conftest.$ac_ext
32127 cat >>conftest.$ac_ext <<_ACEOF
32128 /* end confdefs.h. */
32129 #include <math.h>
32130 #ifdef HAVE_IEEEFP_H
32131 #include <ieeefp.h>
32132 #endif
32135 main ()
32137 _logl(0);
32139 return 0;
32141 _ACEOF
32142 rm -f conftest.$ac_objext
32143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32144 (eval $ac_compile) 2>conftest.er1
32145 ac_status=$?
32146 grep -v '^ *+' conftest.er1 >conftest.err
32147 rm -f conftest.er1
32148 cat conftest.err >&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } &&
32151 { ac_try='test -z "$ac_cxx_werror_flag"
32152 || test ! -s conftest.err'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32155 ac_status=$?
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; } &&
32158 { ac_try='test -s conftest.$ac_objext'
32159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32160 (eval $ac_try) 2>&5
32161 ac_status=$?
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); }; }; then
32164 glibcxx_cv_func__logl_use=yes
32165 else
32166 echo "$as_me: failed program was:" >&5
32167 sed 's/^/| /' conftest.$ac_ext >&5
32169 glibcxx_cv_func__logl_use=no
32171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32172 ac_ext=c
32173 ac_cpp='$CPP $CPPFLAGS'
32174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32183 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32185 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32187 for ac_func in _logl
32189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32190 echo "$as_me:$LINENO: checking for $ac_func" >&5
32191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32192 if eval "test \"\${$as_ac_var+set}\" = set"; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32194 else
32195 if test x$gcc_no_link = xyes; then
32196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32198 { (exit 1); exit 1; }; }
32200 cat >conftest.$ac_ext <<_ACEOF
32201 /* confdefs.h. */
32202 _ACEOF
32203 cat confdefs.h >>conftest.$ac_ext
32204 cat >>conftest.$ac_ext <<_ACEOF
32205 /* end confdefs.h. */
32206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32208 #define $ac_func innocuous_$ac_func
32210 /* System header to define __stub macros and hopefully few prototypes,
32211 which can conflict with char $ac_func (); below.
32212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32213 <limits.h> exists even on freestanding compilers. */
32215 #ifdef __STDC__
32216 # include <limits.h>
32217 #else
32218 # include <assert.h>
32219 #endif
32221 #undef $ac_func
32223 /* Override any gcc2 internal prototype to avoid an error. */
32224 #ifdef __cplusplus
32225 extern "C"
32227 #endif
32228 /* We use char because int might match the return type of a gcc2
32229 builtin and then its argument prototype would still apply. */
32230 char $ac_func ();
32231 /* The GNU C library defines this for functions which it implements
32232 to always fail with ENOSYS. Some functions are actually named
32233 something starting with __ and the normal name is an alias. */
32234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32235 choke me
32236 #else
32237 char (*f) () = $ac_func;
32238 #endif
32239 #ifdef __cplusplus
32241 #endif
32244 main ()
32246 return f != $ac_func;
32248 return 0;
32250 _ACEOF
32251 rm -f conftest.$ac_objext conftest$ac_exeext
32252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32253 (eval $ac_link) 2>conftest.er1
32254 ac_status=$?
32255 grep -v '^ *+' conftest.er1 >conftest.err
32256 rm -f conftest.er1
32257 cat conftest.err >&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } &&
32260 { ac_try='test -z "$ac_c_werror_flag"
32261 || test ! -s conftest.err'
32262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32263 (eval $ac_try) 2>&5
32264 ac_status=$?
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); }; } &&
32267 { ac_try='test -s conftest$ac_exeext'
32268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32269 (eval $ac_try) 2>&5
32270 ac_status=$?
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); }; }; then
32273 eval "$as_ac_var=yes"
32274 else
32275 echo "$as_me: failed program was:" >&5
32276 sed 's/^/| /' conftest.$ac_ext >&5
32278 eval "$as_ac_var=no"
32280 rm -f conftest.err conftest.$ac_objext \
32281 conftest$ac_exeext conftest.$ac_ext
32283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32285 if test `eval echo '${'$as_ac_var'}'` = yes; then
32286 cat >>confdefs.h <<_ACEOF
32287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32288 _ACEOF
32291 done
32301 echo "$as_me:$LINENO: checking for log10l declaration" >&5
32302 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32303 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32304 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 else
32310 ac_ext=cc
32311 ac_cpp='$CXXCPP $CPPFLAGS'
32312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316 cat >conftest.$ac_ext <<_ACEOF
32317 /* confdefs.h. */
32318 _ACEOF
32319 cat confdefs.h >>conftest.$ac_ext
32320 cat >>conftest.$ac_ext <<_ACEOF
32321 /* end confdefs.h. */
32322 #include <math.h>
32323 #ifdef HAVE_IEEEFP_H
32324 #include <ieeefp.h>
32325 #endif
32328 main ()
32330 log10l(0);
32332 return 0;
32334 _ACEOF
32335 rm -f conftest.$ac_objext
32336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32337 (eval $ac_compile) 2>conftest.er1
32338 ac_status=$?
32339 grep -v '^ *+' conftest.er1 >conftest.err
32340 rm -f conftest.er1
32341 cat conftest.err >&5
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); } &&
32344 { ac_try='test -z "$ac_cxx_werror_flag"
32345 || test ! -s conftest.err'
32346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32347 (eval $ac_try) 2>&5
32348 ac_status=$?
32349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32350 (exit $ac_status); }; } &&
32351 { ac_try='test -s conftest.$ac_objext'
32352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32353 (eval $ac_try) 2>&5
32354 ac_status=$?
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); }; }; then
32357 glibcxx_cv_func_log10l_use=yes
32358 else
32359 echo "$as_me: failed program was:" >&5
32360 sed 's/^/| /' conftest.$ac_ext >&5
32362 glibcxx_cv_func_log10l_use=no
32364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
32376 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
32378 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32380 for ac_func in log10l
32382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32383 echo "$as_me:$LINENO: checking for $ac_func" >&5
32384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32385 if eval "test \"\${$as_ac_var+set}\" = set"; then
32386 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 else
32388 if test x$gcc_no_link = xyes; then
32389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32391 { (exit 1); exit 1; }; }
32393 cat >conftest.$ac_ext <<_ACEOF
32394 /* confdefs.h. */
32395 _ACEOF
32396 cat confdefs.h >>conftest.$ac_ext
32397 cat >>conftest.$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32401 #define $ac_func innocuous_$ac_func
32403 /* System header to define __stub macros and hopefully few prototypes,
32404 which can conflict with char $ac_func (); below.
32405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32406 <limits.h> exists even on freestanding compilers. */
32408 #ifdef __STDC__
32409 # include <limits.h>
32410 #else
32411 # include <assert.h>
32412 #endif
32414 #undef $ac_func
32416 /* Override any gcc2 internal prototype to avoid an error. */
32417 #ifdef __cplusplus
32418 extern "C"
32420 #endif
32421 /* We use char because int might match the return type of a gcc2
32422 builtin and then its argument prototype would still apply. */
32423 char $ac_func ();
32424 /* The GNU C library defines this for functions which it implements
32425 to always fail with ENOSYS. Some functions are actually named
32426 something starting with __ and the normal name is an alias. */
32427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32428 choke me
32429 #else
32430 char (*f) () = $ac_func;
32431 #endif
32432 #ifdef __cplusplus
32434 #endif
32437 main ()
32439 return f != $ac_func;
32441 return 0;
32443 _ACEOF
32444 rm -f conftest.$ac_objext conftest$ac_exeext
32445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32446 (eval $ac_link) 2>conftest.er1
32447 ac_status=$?
32448 grep -v '^ *+' conftest.er1 >conftest.err
32449 rm -f conftest.er1
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try='test -z "$ac_c_werror_flag"
32454 || test ! -s conftest.err'
32455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32456 (eval $ac_try) 2>&5
32457 ac_status=$?
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); }; } &&
32460 { ac_try='test -s conftest$ac_exeext'
32461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32462 (eval $ac_try) 2>&5
32463 ac_status=$?
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); }; }; then
32466 eval "$as_ac_var=yes"
32467 else
32468 echo "$as_me: failed program was:" >&5
32469 sed 's/^/| /' conftest.$ac_ext >&5
32471 eval "$as_ac_var=no"
32473 rm -f conftest.err conftest.$ac_objext \
32474 conftest$ac_exeext conftest.$ac_ext
32476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32478 if test `eval echo '${'$as_ac_var'}'` = yes; then
32479 cat >>confdefs.h <<_ACEOF
32480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32481 _ACEOF
32484 done
32486 else
32488 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
32489 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
32490 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32491 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32497 ac_ext=cc
32498 ac_cpp='$CXXCPP $CPPFLAGS'
32499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32503 cat >conftest.$ac_ext <<_ACEOF
32504 /* confdefs.h. */
32505 _ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509 #include <math.h>
32510 #ifdef HAVE_IEEEFP_H
32511 #include <ieeefp.h>
32512 #endif
32515 main ()
32517 _log10l(0);
32519 return 0;
32521 _ACEOF
32522 rm -f conftest.$ac_objext
32523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32524 (eval $ac_compile) 2>conftest.er1
32525 ac_status=$?
32526 grep -v '^ *+' conftest.er1 >conftest.err
32527 rm -f conftest.er1
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } &&
32531 { ac_try='test -z "$ac_cxx_werror_flag"
32532 || test ! -s conftest.err'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32535 ac_status=$?
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; } &&
32538 { ac_try='test -s conftest.$ac_objext'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32541 ac_status=$?
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; }; then
32544 glibcxx_cv_func__log10l_use=yes
32545 else
32546 echo "$as_me: failed program was:" >&5
32547 sed 's/^/| /' conftest.$ac_ext >&5
32549 glibcxx_cv_func__log10l_use=no
32551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32552 ac_ext=c
32553 ac_cpp='$CPP $CPPFLAGS'
32554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
32563 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
32565 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32567 for ac_func in _log10l
32569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32570 echo "$as_me:$LINENO: checking for $ac_func" >&5
32571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32572 if eval "test \"\${$as_ac_var+set}\" = set"; then
32573 echo $ECHO_N "(cached) $ECHO_C" >&6
32574 else
32575 if test x$gcc_no_link = xyes; then
32576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32578 { (exit 1); exit 1; }; }
32580 cat >conftest.$ac_ext <<_ACEOF
32581 /* confdefs.h. */
32582 _ACEOF
32583 cat confdefs.h >>conftest.$ac_ext
32584 cat >>conftest.$ac_ext <<_ACEOF
32585 /* end confdefs.h. */
32586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32588 #define $ac_func innocuous_$ac_func
32590 /* System header to define __stub macros and hopefully few prototypes,
32591 which can conflict with char $ac_func (); below.
32592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32593 <limits.h> exists even on freestanding compilers. */
32595 #ifdef __STDC__
32596 # include <limits.h>
32597 #else
32598 # include <assert.h>
32599 #endif
32601 #undef $ac_func
32603 /* Override any gcc2 internal prototype to avoid an error. */
32604 #ifdef __cplusplus
32605 extern "C"
32607 #endif
32608 /* We use char because int might match the return type of a gcc2
32609 builtin and then its argument prototype would still apply. */
32610 char $ac_func ();
32611 /* The GNU C library defines this for functions which it implements
32612 to always fail with ENOSYS. Some functions are actually named
32613 something starting with __ and the normal name is an alias. */
32614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32615 choke me
32616 #else
32617 char (*f) () = $ac_func;
32618 #endif
32619 #ifdef __cplusplus
32621 #endif
32624 main ()
32626 return f != $ac_func;
32628 return 0;
32630 _ACEOF
32631 rm -f conftest.$ac_objext conftest$ac_exeext
32632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32633 (eval $ac_link) 2>conftest.er1
32634 ac_status=$?
32635 grep -v '^ *+' conftest.er1 >conftest.err
32636 rm -f conftest.er1
32637 cat conftest.err >&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); } &&
32640 { ac_try='test -z "$ac_c_werror_flag"
32641 || test ! -s conftest.err'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; } &&
32647 { ac_try='test -s conftest$ac_exeext'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; }; then
32653 eval "$as_ac_var=yes"
32654 else
32655 echo "$as_me: failed program was:" >&5
32656 sed 's/^/| /' conftest.$ac_ext >&5
32658 eval "$as_ac_var=no"
32660 rm -f conftest.err conftest.$ac_objext \
32661 conftest$ac_exeext conftest.$ac_ext
32663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32665 if test `eval echo '${'$as_ac_var'}'` = yes; then
32666 cat >>confdefs.h <<_ACEOF
32667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32668 _ACEOF
32671 done
32681 echo "$as_me:$LINENO: checking for modfl declaration" >&5
32682 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
32683 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32684 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
32685 echo $ECHO_N "(cached) $ECHO_C" >&6
32686 else
32690 ac_ext=cc
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 #include <math.h>
32704 main ()
32706 modfl(0, 0);
32708 return 0;
32710 _ACEOF
32711 rm -f conftest.$ac_objext
32712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32713 (eval $ac_compile) 2>conftest.er1
32714 ac_status=$?
32715 grep -v '^ *+' conftest.er1 >conftest.err
32716 rm -f conftest.er1
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } &&
32720 { ac_try='test -z "$ac_cxx_werror_flag"
32721 || test ! -s conftest.err'
32722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723 (eval $ac_try) 2>&5
32724 ac_status=$?
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; } &&
32727 { ac_try='test -s conftest.$ac_objext'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32730 ac_status=$?
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; }; then
32733 glibcxx_cv_func_modfl_use=yes
32734 else
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32738 glibcxx_cv_func_modfl_use=no
32740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32741 ac_ext=c
32742 ac_cpp='$CPP $CPPFLAGS'
32743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
32752 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
32754 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32756 for ac_func in modfl
32758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32759 echo "$as_me:$LINENO: checking for $ac_func" >&5
32760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32761 if eval "test \"\${$as_ac_var+set}\" = set"; then
32762 echo $ECHO_N "(cached) $ECHO_C" >&6
32763 else
32764 if test x$gcc_no_link = xyes; then
32765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32767 { (exit 1); exit 1; }; }
32769 cat >conftest.$ac_ext <<_ACEOF
32770 /* confdefs.h. */
32771 _ACEOF
32772 cat confdefs.h >>conftest.$ac_ext
32773 cat >>conftest.$ac_ext <<_ACEOF
32774 /* end confdefs.h. */
32775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32777 #define $ac_func innocuous_$ac_func
32779 /* System header to define __stub macros and hopefully few prototypes,
32780 which can conflict with char $ac_func (); below.
32781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32782 <limits.h> exists even on freestanding compilers. */
32784 #ifdef __STDC__
32785 # include <limits.h>
32786 #else
32787 # include <assert.h>
32788 #endif
32790 #undef $ac_func
32792 /* Override any gcc2 internal prototype to avoid an error. */
32793 #ifdef __cplusplus
32794 extern "C"
32796 #endif
32797 /* We use char because int might match the return type of a gcc2
32798 builtin and then its argument prototype would still apply. */
32799 char $ac_func ();
32800 /* The GNU C library defines this for functions which it implements
32801 to always fail with ENOSYS. Some functions are actually named
32802 something starting with __ and the normal name is an alias. */
32803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32804 choke me
32805 #else
32806 char (*f) () = $ac_func;
32807 #endif
32808 #ifdef __cplusplus
32810 #endif
32813 main ()
32815 return f != $ac_func;
32817 return 0;
32819 _ACEOF
32820 rm -f conftest.$ac_objext conftest$ac_exeext
32821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32822 (eval $ac_link) 2>conftest.er1
32823 ac_status=$?
32824 grep -v '^ *+' conftest.er1 >conftest.err
32825 rm -f conftest.er1
32826 cat conftest.err >&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); } &&
32829 { ac_try='test -z "$ac_c_werror_flag"
32830 || test ! -s conftest.err'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32833 ac_status=$?
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; } &&
32836 { ac_try='test -s conftest$ac_exeext'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; }; then
32842 eval "$as_ac_var=yes"
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32847 eval "$as_ac_var=no"
32849 rm -f conftest.err conftest.$ac_objext \
32850 conftest$ac_exeext conftest.$ac_ext
32852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32854 if test `eval echo '${'$as_ac_var'}'` = yes; then
32855 cat >>confdefs.h <<_ACEOF
32856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32857 _ACEOF
32860 done
32862 else
32864 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
32865 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
32866 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32867 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
32868 echo $ECHO_N "(cached) $ECHO_C" >&6
32869 else
32873 ac_ext=cc
32874 ac_cpp='$CXXCPP $CPPFLAGS'
32875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32879 cat >conftest.$ac_ext <<_ACEOF
32880 /* confdefs.h. */
32881 _ACEOF
32882 cat confdefs.h >>conftest.$ac_ext
32883 cat >>conftest.$ac_ext <<_ACEOF
32884 /* end confdefs.h. */
32885 #include <math.h>
32887 main ()
32889 _modfl(0, 0);
32891 return 0;
32893 _ACEOF
32894 rm -f conftest.$ac_objext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32896 (eval $ac_compile) 2>conftest.er1
32897 ac_status=$?
32898 grep -v '^ *+' conftest.er1 >conftest.err
32899 rm -f conftest.er1
32900 cat conftest.err >&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try='test -z "$ac_cxx_werror_flag"
32904 || test ! -s conftest.err'
32905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32906 (eval $ac_try) 2>&5
32907 ac_status=$?
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); }; } &&
32910 { ac_try='test -s conftest.$ac_objext'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32913 ac_status=$?
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; }; then
32916 glibcxx_cv_func__modfl_use=yes
32917 else
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32921 glibcxx_cv_func__modfl_use=no
32923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32924 ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
32935 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
32937 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32939 for ac_func in _modfl
32941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32942 echo "$as_me:$LINENO: checking for $ac_func" >&5
32943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32944 if eval "test \"\${$as_ac_var+set}\" = set"; then
32945 echo $ECHO_N "(cached) $ECHO_C" >&6
32946 else
32947 if test x$gcc_no_link = xyes; then
32948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32950 { (exit 1); exit 1; }; }
32952 cat >conftest.$ac_ext <<_ACEOF
32953 /* confdefs.h. */
32954 _ACEOF
32955 cat confdefs.h >>conftest.$ac_ext
32956 cat >>conftest.$ac_ext <<_ACEOF
32957 /* end confdefs.h. */
32958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32960 #define $ac_func innocuous_$ac_func
32962 /* System header to define __stub macros and hopefully few prototypes,
32963 which can conflict with char $ac_func (); below.
32964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32965 <limits.h> exists even on freestanding compilers. */
32967 #ifdef __STDC__
32968 # include <limits.h>
32969 #else
32970 # include <assert.h>
32971 #endif
32973 #undef $ac_func
32975 /* Override any gcc2 internal prototype to avoid an error. */
32976 #ifdef __cplusplus
32977 extern "C"
32979 #endif
32980 /* We use char because int might match the return type of a gcc2
32981 builtin and then its argument prototype would still apply. */
32982 char $ac_func ();
32983 /* The GNU C library defines this for functions which it implements
32984 to always fail with ENOSYS. Some functions are actually named
32985 something starting with __ and the normal name is an alias. */
32986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32987 choke me
32988 #else
32989 char (*f) () = $ac_func;
32990 #endif
32991 #ifdef __cplusplus
32993 #endif
32996 main ()
32998 return f != $ac_func;
33000 return 0;
33002 _ACEOF
33003 rm -f conftest.$ac_objext conftest$ac_exeext
33004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33005 (eval $ac_link) 2>conftest.er1
33006 ac_status=$?
33007 grep -v '^ *+' conftest.er1 >conftest.err
33008 rm -f conftest.er1
33009 cat conftest.err >&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } &&
33012 { ac_try='test -z "$ac_c_werror_flag"
33013 || test ! -s conftest.err'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33016 ac_status=$?
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; } &&
33019 { ac_try='test -s conftest$ac_exeext'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33022 ac_status=$?
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; }; then
33025 eval "$as_ac_var=yes"
33026 else
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33030 eval "$as_ac_var=no"
33032 rm -f conftest.err conftest.$ac_objext \
33033 conftest$ac_exeext conftest.$ac_ext
33035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33037 if test `eval echo '${'$as_ac_var'}'` = yes; then
33038 cat >>confdefs.h <<_ACEOF
33039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33040 _ACEOF
33043 done
33053 echo "$as_me:$LINENO: checking for powl declaration" >&5
33054 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33055 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33056 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33057 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 else
33062 ac_ext=cc
33063 ac_cpp='$CXXCPP $CPPFLAGS'
33064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33068 cat >conftest.$ac_ext <<_ACEOF
33069 /* confdefs.h. */
33070 _ACEOF
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33074 #include <math.h>
33076 main ()
33078 powl(0, 0);
33080 return 0;
33082 _ACEOF
33083 rm -f conftest.$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>conftest.er1
33086 ac_status=$?
33087 grep -v '^ *+' conftest.er1 >conftest.err
33088 rm -f conftest.er1
33089 cat conftest.err >&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } &&
33092 { ac_try='test -z "$ac_cxx_werror_flag"
33093 || test ! -s conftest.err'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; } &&
33099 { ac_try='test -s conftest.$ac_objext'
33100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33101 (eval $ac_try) 2>&5
33102 ac_status=$?
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); }; }; then
33105 glibcxx_cv_func_powl_use=yes
33106 else
33107 echo "$as_me: failed program was:" >&5
33108 sed 's/^/| /' conftest.$ac_ext >&5
33110 glibcxx_cv_func_powl_use=no
33112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_ext=c
33114 ac_cpp='$CPP $CPPFLAGS'
33115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33124 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33126 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33128 for ac_func in powl
33130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33131 echo "$as_me:$LINENO: checking for $ac_func" >&5
33132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33133 if eval "test \"\${$as_ac_var+set}\" = set"; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33136 if test x$gcc_no_link = xyes; then
33137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33139 { (exit 1); exit 1; }; }
33141 cat >conftest.$ac_ext <<_ACEOF
33142 /* confdefs.h. */
33143 _ACEOF
33144 cat confdefs.h >>conftest.$ac_ext
33145 cat >>conftest.$ac_ext <<_ACEOF
33146 /* end confdefs.h. */
33147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33149 #define $ac_func innocuous_$ac_func
33151 /* System header to define __stub macros and hopefully few prototypes,
33152 which can conflict with char $ac_func (); below.
33153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33154 <limits.h> exists even on freestanding compilers. */
33156 #ifdef __STDC__
33157 # include <limits.h>
33158 #else
33159 # include <assert.h>
33160 #endif
33162 #undef $ac_func
33164 /* Override any gcc2 internal prototype to avoid an error. */
33165 #ifdef __cplusplus
33166 extern "C"
33168 #endif
33169 /* We use char because int might match the return type of a gcc2
33170 builtin and then its argument prototype would still apply. */
33171 char $ac_func ();
33172 /* The GNU C library defines this for functions which it implements
33173 to always fail with ENOSYS. Some functions are actually named
33174 something starting with __ and the normal name is an alias. */
33175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33176 choke me
33177 #else
33178 char (*f) () = $ac_func;
33179 #endif
33180 #ifdef __cplusplus
33182 #endif
33185 main ()
33187 return f != $ac_func;
33189 return 0;
33191 _ACEOF
33192 rm -f conftest.$ac_objext conftest$ac_exeext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33194 (eval $ac_link) 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try='test -z "$ac_c_werror_flag"
33202 || test ! -s conftest.err'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; } &&
33208 { ac_try='test -s conftest$ac_exeext'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; }; then
33214 eval "$as_ac_var=yes"
33215 else
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33219 eval "$as_ac_var=no"
33221 rm -f conftest.err conftest.$ac_objext \
33222 conftest$ac_exeext conftest.$ac_ext
33224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33226 if test `eval echo '${'$as_ac_var'}'` = yes; then
33227 cat >>confdefs.h <<_ACEOF
33228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33229 _ACEOF
33232 done
33234 else
33236 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33237 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33238 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33239 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 else
33245 ac_ext=cc
33246 ac_cpp='$CXXCPP $CPPFLAGS'
33247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33251 cat >conftest.$ac_ext <<_ACEOF
33252 /* confdefs.h. */
33253 _ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257 #include <math.h>
33259 main ()
33261 _powl(0, 0);
33263 return 0;
33265 _ACEOF
33266 rm -f conftest.$ac_objext
33267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33268 (eval $ac_compile) 2>conftest.er1
33269 ac_status=$?
33270 grep -v '^ *+' conftest.er1 >conftest.err
33271 rm -f conftest.er1
33272 cat conftest.err >&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } &&
33275 { ac_try='test -z "$ac_cxx_werror_flag"
33276 || test ! -s conftest.err'
33277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33278 (eval $ac_try) 2>&5
33279 ac_status=$?
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; } &&
33282 { ac_try='test -s conftest.$ac_objext'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33285 ac_status=$?
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; }; then
33288 glibcxx_cv_func__powl_use=yes
33289 else
33290 echo "$as_me: failed program was:" >&5
33291 sed 's/^/| /' conftest.$ac_ext >&5
33293 glibcxx_cv_func__powl_use=no
33295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33296 ac_ext=c
33297 ac_cpp='$CPP $CPPFLAGS'
33298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33307 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33309 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33311 for ac_func in _powl
33313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33314 echo "$as_me:$LINENO: checking for $ac_func" >&5
33315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33316 if eval "test \"\${$as_ac_var+set}\" = set"; then
33317 echo $ECHO_N "(cached) $ECHO_C" >&6
33318 else
33319 if test x$gcc_no_link = xyes; then
33320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33322 { (exit 1); exit 1; }; }
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33332 #define $ac_func innocuous_$ac_func
33334 /* System header to define __stub macros and hopefully few prototypes,
33335 which can conflict with char $ac_func (); below.
33336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33337 <limits.h> exists even on freestanding compilers. */
33339 #ifdef __STDC__
33340 # include <limits.h>
33341 #else
33342 # include <assert.h>
33343 #endif
33345 #undef $ac_func
33347 /* Override any gcc2 internal prototype to avoid an error. */
33348 #ifdef __cplusplus
33349 extern "C"
33351 #endif
33352 /* We use char because int might match the return type of a gcc2
33353 builtin and then its argument prototype would still apply. */
33354 char $ac_func ();
33355 /* The GNU C library defines this for functions which it implements
33356 to always fail with ENOSYS. Some functions are actually named
33357 something starting with __ and the normal name is an alias. */
33358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33359 choke me
33360 #else
33361 char (*f) () = $ac_func;
33362 #endif
33363 #ifdef __cplusplus
33365 #endif
33368 main ()
33370 return f != $ac_func;
33372 return 0;
33374 _ACEOF
33375 rm -f conftest.$ac_objext conftest$ac_exeext
33376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33377 (eval $ac_link) 2>conftest.er1
33378 ac_status=$?
33379 grep -v '^ *+' conftest.er1 >conftest.err
33380 rm -f conftest.er1
33381 cat conftest.err >&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); } &&
33384 { ac_try='test -z "$ac_c_werror_flag"
33385 || test ! -s conftest.err'
33386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387 (eval $ac_try) 2>&5
33388 ac_status=$?
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); }; } &&
33391 { ac_try='test -s conftest$ac_exeext'
33392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33393 (eval $ac_try) 2>&5
33394 ac_status=$?
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); }; }; then
33397 eval "$as_ac_var=yes"
33398 else
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.$ac_ext >&5
33402 eval "$as_ac_var=no"
33404 rm -f conftest.err conftest.$ac_objext \
33405 conftest$ac_exeext conftest.$ac_ext
33407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33409 if test `eval echo '${'$as_ac_var'}'` = yes; then
33410 cat >>confdefs.h <<_ACEOF
33411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33412 _ACEOF
33415 done
33425 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
33426 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
33427 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33428 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 else
33434 ac_ext=cc
33435 ac_cpp='$CXXCPP $CPPFLAGS'
33436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33440 cat >conftest.$ac_ext <<_ACEOF
33441 /* confdefs.h. */
33442 _ACEOF
33443 cat confdefs.h >>conftest.$ac_ext
33444 cat >>conftest.$ac_ext <<_ACEOF
33445 /* end confdefs.h. */
33446 #include <math.h>
33447 #ifdef HAVE_IEEEFP_H
33448 #include <ieeefp.h>
33449 #endif
33452 main ()
33454 sqrtl(0);
33456 return 0;
33458 _ACEOF
33459 rm -f conftest.$ac_objext
33460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33461 (eval $ac_compile) 2>conftest.er1
33462 ac_status=$?
33463 grep -v '^ *+' conftest.er1 >conftest.err
33464 rm -f conftest.er1
33465 cat conftest.err >&5
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); } &&
33468 { ac_try='test -z "$ac_cxx_werror_flag"
33469 || test ! -s conftest.err'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33472 ac_status=$?
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; } &&
33475 { ac_try='test -s conftest.$ac_objext'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33478 ac_status=$?
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; }; then
33481 glibcxx_cv_func_sqrtl_use=yes
33482 else
33483 echo "$as_me: failed program was:" >&5
33484 sed 's/^/| /' conftest.$ac_ext >&5
33486 glibcxx_cv_func_sqrtl_use=no
33488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33489 ac_ext=c
33490 ac_cpp='$CPP $CPPFLAGS'
33491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
33500 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
33502 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33504 for ac_func in sqrtl
33506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33507 echo "$as_me:$LINENO: checking for $ac_func" >&5
33508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33509 if eval "test \"\${$as_ac_var+set}\" = set"; then
33510 echo $ECHO_N "(cached) $ECHO_C" >&6
33511 else
33512 if test x$gcc_no_link = xyes; then
33513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33515 { (exit 1); exit 1; }; }
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h. */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define $ac_func innocuous_$ac_func
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char $ac_func (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33532 #ifdef __STDC__
33533 # include <limits.h>
33534 #else
33535 # include <assert.h>
33536 #endif
33538 #undef $ac_func
33540 /* Override any gcc2 internal prototype to avoid an error. */
33541 #ifdef __cplusplus
33542 extern "C"
33544 #endif
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33547 char $ac_func ();
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33552 choke me
33553 #else
33554 char (*f) () = $ac_func;
33555 #endif
33556 #ifdef __cplusplus
33558 #endif
33561 main ()
33563 return f != $ac_func;
33565 return 0;
33567 _ACEOF
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33571 ac_status=$?
33572 grep -v '^ *+' conftest.er1 >conftest.err
33573 rm -f conftest.er1
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try='test -z "$ac_c_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33581 ac_status=$?
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest$ac_exeext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33587 ac_status=$?
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 eval "$as_ac_var=yes"
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33595 eval "$as_ac_var=no"
33597 rm -f conftest.err conftest.$ac_objext \
33598 conftest$ac_exeext conftest.$ac_ext
33600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33602 if test `eval echo '${'$as_ac_var'}'` = yes; then
33603 cat >>confdefs.h <<_ACEOF
33604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 _ACEOF
33608 done
33610 else
33612 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
33613 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
33614 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33615 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33621 ac_ext=cc
33622 ac_cpp='$CXXCPP $CPPFLAGS'
33623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33627 cat >conftest.$ac_ext <<_ACEOF
33628 /* confdefs.h. */
33629 _ACEOF
33630 cat confdefs.h >>conftest.$ac_ext
33631 cat >>conftest.$ac_ext <<_ACEOF
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 #ifdef HAVE_IEEEFP_H
33635 #include <ieeefp.h>
33636 #endif
33639 main ()
33641 _sqrtl(0);
33643 return 0;
33645 _ACEOF
33646 rm -f conftest.$ac_objext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33648 (eval $ac_compile) 2>conftest.er1
33649 ac_status=$?
33650 grep -v '^ *+' conftest.er1 >conftest.err
33651 rm -f conftest.er1
33652 cat conftest.err >&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } &&
33655 { ac_try='test -z "$ac_cxx_werror_flag"
33656 || test ! -s conftest.err'
33657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33658 (eval $ac_try) 2>&5
33659 ac_status=$?
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); }; } &&
33662 { ac_try='test -s conftest.$ac_objext'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33665 ac_status=$?
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; }; then
33668 glibcxx_cv_func__sqrtl_use=yes
33669 else
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.$ac_ext >&5
33673 glibcxx_cv_func__sqrtl_use=no
33675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33676 ac_ext=c
33677 ac_cpp='$CPP $CPPFLAGS'
33678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
33687 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
33689 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33691 for ac_func in _sqrtl
33693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33694 echo "$as_me:$LINENO: checking for $ac_func" >&5
33695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33696 if eval "test \"\${$as_ac_var+set}\" = set"; then
33697 echo $ECHO_N "(cached) $ECHO_C" >&6
33698 else
33699 if test x$gcc_no_link = xyes; then
33700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33702 { (exit 1); exit 1; }; }
33704 cat >conftest.$ac_ext <<_ACEOF
33705 /* confdefs.h. */
33706 _ACEOF
33707 cat confdefs.h >>conftest.$ac_ext
33708 cat >>conftest.$ac_ext <<_ACEOF
33709 /* end confdefs.h. */
33710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33712 #define $ac_func innocuous_$ac_func
33714 /* System header to define __stub macros and hopefully few prototypes,
33715 which can conflict with char $ac_func (); below.
33716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33717 <limits.h> exists even on freestanding compilers. */
33719 #ifdef __STDC__
33720 # include <limits.h>
33721 #else
33722 # include <assert.h>
33723 #endif
33725 #undef $ac_func
33727 /* Override any gcc2 internal prototype to avoid an error. */
33728 #ifdef __cplusplus
33729 extern "C"
33731 #endif
33732 /* We use char because int might match the return type of a gcc2
33733 builtin and then its argument prototype would still apply. */
33734 char $ac_func ();
33735 /* The GNU C library defines this for functions which it implements
33736 to always fail with ENOSYS. Some functions are actually named
33737 something starting with __ and the normal name is an alias. */
33738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33739 choke me
33740 #else
33741 char (*f) () = $ac_func;
33742 #endif
33743 #ifdef __cplusplus
33745 #endif
33748 main ()
33750 return f != $ac_func;
33752 return 0;
33754 _ACEOF
33755 rm -f conftest.$ac_objext conftest$ac_exeext
33756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33757 (eval $ac_link) 2>conftest.er1
33758 ac_status=$?
33759 grep -v '^ *+' conftest.er1 >conftest.err
33760 rm -f conftest.er1
33761 cat conftest.err >&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); } &&
33764 { ac_try='test -z "$ac_c_werror_flag"
33765 || test ! -s conftest.err'
33766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33767 (eval $ac_try) 2>&5
33768 ac_status=$?
33769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33770 (exit $ac_status); }; } &&
33771 { ac_try='test -s conftest$ac_exeext'
33772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33773 (eval $ac_try) 2>&5
33774 ac_status=$?
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); }; }; then
33777 eval "$as_ac_var=yes"
33778 else
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.$ac_ext >&5
33782 eval "$as_ac_var=no"
33784 rm -f conftest.err conftest.$ac_objext \
33785 conftest$ac_exeext conftest.$ac_ext
33787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33789 if test `eval echo '${'$as_ac_var'}'` = yes; then
33790 cat >>confdefs.h <<_ACEOF
33791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33792 _ACEOF
33795 done
33805 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
33806 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
33807 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33808 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
33809 echo $ECHO_N "(cached) $ECHO_C" >&6
33810 else
33814 ac_ext=cc
33815 ac_cpp='$CXXCPP $CPPFLAGS'
33816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33820 cat >conftest.$ac_ext <<_ACEOF
33821 /* confdefs.h. */
33822 _ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33826 #include <math.h>
33828 main ()
33830 sincosl(0, 0, 0);
33832 return 0;
33834 _ACEOF
33835 rm -f conftest.$ac_objext
33836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33837 (eval $ac_compile) 2>conftest.er1
33838 ac_status=$?
33839 grep -v '^ *+' conftest.er1 >conftest.err
33840 rm -f conftest.er1
33841 cat conftest.err >&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); } &&
33844 { ac_try='test -z "$ac_cxx_werror_flag"
33845 || test ! -s conftest.err'
33846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33847 (eval $ac_try) 2>&5
33848 ac_status=$?
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); }; } &&
33851 { ac_try='test -s conftest.$ac_objext'
33852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33853 (eval $ac_try) 2>&5
33854 ac_status=$?
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); }; }; then
33857 glibcxx_cv_func_sincosl_use=yes
33858 else
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.$ac_ext >&5
33862 glibcxx_cv_func_sincosl_use=no
33864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33865 ac_ext=c
33866 ac_cpp='$CPP $CPPFLAGS'
33867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
33876 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
33878 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33880 for ac_func in sincosl
33882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33883 echo "$as_me:$LINENO: checking for $ac_func" >&5
33884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33885 if eval "test \"\${$as_ac_var+set}\" = set"; then
33886 echo $ECHO_N "(cached) $ECHO_C" >&6
33887 else
33888 if test x$gcc_no_link = xyes; then
33889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33891 { (exit 1); exit 1; }; }
33893 cat >conftest.$ac_ext <<_ACEOF
33894 /* confdefs.h. */
33895 _ACEOF
33896 cat confdefs.h >>conftest.$ac_ext
33897 cat >>conftest.$ac_ext <<_ACEOF
33898 /* end confdefs.h. */
33899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33901 #define $ac_func innocuous_$ac_func
33903 /* System header to define __stub macros and hopefully few prototypes,
33904 which can conflict with char $ac_func (); below.
33905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33906 <limits.h> exists even on freestanding compilers. */
33908 #ifdef __STDC__
33909 # include <limits.h>
33910 #else
33911 # include <assert.h>
33912 #endif
33914 #undef $ac_func
33916 /* Override any gcc2 internal prototype to avoid an error. */
33917 #ifdef __cplusplus
33918 extern "C"
33920 #endif
33921 /* We use char because int might match the return type of a gcc2
33922 builtin and then its argument prototype would still apply. */
33923 char $ac_func ();
33924 /* The GNU C library defines this for functions which it implements
33925 to always fail with ENOSYS. Some functions are actually named
33926 something starting with __ and the normal name is an alias. */
33927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33928 choke me
33929 #else
33930 char (*f) () = $ac_func;
33931 #endif
33932 #ifdef __cplusplus
33934 #endif
33937 main ()
33939 return f != $ac_func;
33941 return 0;
33943 _ACEOF
33944 rm -f conftest.$ac_objext conftest$ac_exeext
33945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33946 (eval $ac_link) 2>conftest.er1
33947 ac_status=$?
33948 grep -v '^ *+' conftest.er1 >conftest.err
33949 rm -f conftest.er1
33950 cat conftest.err >&5
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); } &&
33953 { ac_try='test -z "$ac_c_werror_flag"
33954 || test ! -s conftest.err'
33955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33956 (eval $ac_try) 2>&5
33957 ac_status=$?
33958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33959 (exit $ac_status); }; } &&
33960 { ac_try='test -s conftest$ac_exeext'
33961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 (eval $ac_try) 2>&5
33963 ac_status=$?
33964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 (exit $ac_status); }; }; then
33966 eval "$as_ac_var=yes"
33967 else
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33971 eval "$as_ac_var=no"
33973 rm -f conftest.err conftest.$ac_objext \
33974 conftest$ac_exeext conftest.$ac_ext
33976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33978 if test `eval echo '${'$as_ac_var'}'` = yes; then
33979 cat >>confdefs.h <<_ACEOF
33980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33981 _ACEOF
33984 done
33986 else
33988 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
33989 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
33990 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33991 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 else
33997 ac_ext=cc
33998 ac_cpp='$CXXCPP $CPPFLAGS'
33999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003 cat >conftest.$ac_ext <<_ACEOF
34004 /* confdefs.h. */
34005 _ACEOF
34006 cat confdefs.h >>conftest.$ac_ext
34007 cat >>conftest.$ac_ext <<_ACEOF
34008 /* end confdefs.h. */
34009 #include <math.h>
34011 main ()
34013 _sincosl(0, 0, 0);
34015 return 0;
34017 _ACEOF
34018 rm -f conftest.$ac_objext
34019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34020 (eval $ac_compile) 2>conftest.er1
34021 ac_status=$?
34022 grep -v '^ *+' conftest.er1 >conftest.err
34023 rm -f conftest.er1
34024 cat conftest.err >&5
34025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34026 (exit $ac_status); } &&
34027 { ac_try='test -z "$ac_cxx_werror_flag"
34028 || test ! -s conftest.err'
34029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34030 (eval $ac_try) 2>&5
34031 ac_status=$?
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); }; } &&
34034 { ac_try='test -s conftest.$ac_objext'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34037 ac_status=$?
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; }; then
34040 glibcxx_cv_func__sincosl_use=yes
34041 else
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34045 glibcxx_cv_func__sincosl_use=no
34047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34048 ac_ext=c
34049 ac_cpp='$CPP $CPPFLAGS'
34050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34059 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34061 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34063 for ac_func in _sincosl
34065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34066 echo "$as_me:$LINENO: checking for $ac_func" >&5
34067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34068 if eval "test \"\${$as_ac_var+set}\" = set"; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 else
34071 if test x$gcc_no_link = xyes; then
34072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34074 { (exit 1); exit 1; }; }
34076 cat >conftest.$ac_ext <<_ACEOF
34077 /* confdefs.h. */
34078 _ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34084 #define $ac_func innocuous_$ac_func
34086 /* System header to define __stub macros and hopefully few prototypes,
34087 which can conflict with char $ac_func (); below.
34088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34089 <limits.h> exists even on freestanding compilers. */
34091 #ifdef __STDC__
34092 # include <limits.h>
34093 #else
34094 # include <assert.h>
34095 #endif
34097 #undef $ac_func
34099 /* Override any gcc2 internal prototype to avoid an error. */
34100 #ifdef __cplusplus
34101 extern "C"
34103 #endif
34104 /* We use char because int might match the return type of a gcc2
34105 builtin and then its argument prototype would still apply. */
34106 char $ac_func ();
34107 /* The GNU C library defines this for functions which it implements
34108 to always fail with ENOSYS. Some functions are actually named
34109 something starting with __ and the normal name is an alias. */
34110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34111 choke me
34112 #else
34113 char (*f) () = $ac_func;
34114 #endif
34115 #ifdef __cplusplus
34117 #endif
34120 main ()
34122 return f != $ac_func;
34124 return 0;
34126 _ACEOF
34127 rm -f conftest.$ac_objext conftest$ac_exeext
34128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34129 (eval $ac_link) 2>conftest.er1
34130 ac_status=$?
34131 grep -v '^ *+' conftest.er1 >conftest.err
34132 rm -f conftest.er1
34133 cat conftest.err >&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } &&
34136 { ac_try='test -z "$ac_c_werror_flag"
34137 || test ! -s conftest.err'
34138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34139 (eval $ac_try) 2>&5
34140 ac_status=$?
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); }; } &&
34143 { ac_try='test -s conftest$ac_exeext'
34144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34145 (eval $ac_try) 2>&5
34146 ac_status=$?
34147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34148 (exit $ac_status); }; }; then
34149 eval "$as_ac_var=yes"
34150 else
34151 echo "$as_me: failed program was:" >&5
34152 sed 's/^/| /' conftest.$ac_ext >&5
34154 eval "$as_ac_var=no"
34156 rm -f conftest.err conftest.$ac_objext \
34157 conftest$ac_exeext conftest.$ac_ext
34159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34161 if test `eval echo '${'$as_ac_var'}'` = yes; then
34162 cat >>confdefs.h <<_ACEOF
34163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34164 _ACEOF
34167 done
34177 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34178 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34179 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34180 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34181 echo $ECHO_N "(cached) $ECHO_C" >&6
34182 else
34186 ac_ext=cc
34187 ac_cpp='$CXXCPP $CPPFLAGS'
34188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34192 cat >conftest.$ac_ext <<_ACEOF
34193 /* confdefs.h. */
34194 _ACEOF
34195 cat confdefs.h >>conftest.$ac_ext
34196 cat >>conftest.$ac_ext <<_ACEOF
34197 /* end confdefs.h. */
34198 #include <math.h>
34199 #ifdef HAVE_IEEEFP_H
34200 #include <ieeefp.h>
34201 #endif
34204 main ()
34206 finitel(0);
34208 return 0;
34210 _ACEOF
34211 rm -f conftest.$ac_objext
34212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34213 (eval $ac_compile) 2>conftest.er1
34214 ac_status=$?
34215 grep -v '^ *+' conftest.er1 >conftest.err
34216 rm -f conftest.er1
34217 cat conftest.err >&5
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); } &&
34220 { ac_try='test -z "$ac_cxx_werror_flag"
34221 || test ! -s conftest.err'
34222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34223 (eval $ac_try) 2>&5
34224 ac_status=$?
34225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34226 (exit $ac_status); }; } &&
34227 { ac_try='test -s conftest.$ac_objext'
34228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34229 (eval $ac_try) 2>&5
34230 ac_status=$?
34231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34232 (exit $ac_status); }; }; then
34233 glibcxx_cv_func_finitel_use=yes
34234 else
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34238 glibcxx_cv_func_finitel_use=no
34240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34241 ac_ext=c
34242 ac_cpp='$CPP $CPPFLAGS'
34243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34252 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34254 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34256 for ac_func in finitel
34258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34259 echo "$as_me:$LINENO: checking for $ac_func" >&5
34260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34261 if eval "test \"\${$as_ac_var+set}\" = set"; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34263 else
34264 if test x$gcc_no_link = xyes; then
34265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34267 { (exit 1); exit 1; }; }
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34277 #define $ac_func innocuous_$ac_func
34279 /* System header to define __stub macros and hopefully few prototypes,
34280 which can conflict with char $ac_func (); below.
34281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34282 <limits.h> exists even on freestanding compilers. */
34284 #ifdef __STDC__
34285 # include <limits.h>
34286 #else
34287 # include <assert.h>
34288 #endif
34290 #undef $ac_func
34292 /* Override any gcc2 internal prototype to avoid an error. */
34293 #ifdef __cplusplus
34294 extern "C"
34296 #endif
34297 /* We use char because int might match the return type of a gcc2
34298 builtin and then its argument prototype would still apply. */
34299 char $ac_func ();
34300 /* The GNU C library defines this for functions which it implements
34301 to always fail with ENOSYS. Some functions are actually named
34302 something starting with __ and the normal name is an alias. */
34303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34304 choke me
34305 #else
34306 char (*f) () = $ac_func;
34307 #endif
34308 #ifdef __cplusplus
34310 #endif
34313 main ()
34315 return f != $ac_func;
34317 return 0;
34319 _ACEOF
34320 rm -f conftest.$ac_objext conftest$ac_exeext
34321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34322 (eval $ac_link) 2>conftest.er1
34323 ac_status=$?
34324 grep -v '^ *+' conftest.er1 >conftest.err
34325 rm -f conftest.er1
34326 cat conftest.err >&5
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); } &&
34329 { ac_try='test -z "$ac_c_werror_flag"
34330 || test ! -s conftest.err'
34331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34332 (eval $ac_try) 2>&5
34333 ac_status=$?
34334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34335 (exit $ac_status); }; } &&
34336 { ac_try='test -s conftest$ac_exeext'
34337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34338 (eval $ac_try) 2>&5
34339 ac_status=$?
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 (exit $ac_status); }; }; then
34342 eval "$as_ac_var=yes"
34343 else
34344 echo "$as_me: failed program was:" >&5
34345 sed 's/^/| /' conftest.$ac_ext >&5
34347 eval "$as_ac_var=no"
34349 rm -f conftest.err conftest.$ac_objext \
34350 conftest$ac_exeext conftest.$ac_ext
34352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34354 if test `eval echo '${'$as_ac_var'}'` = yes; then
34355 cat >>confdefs.h <<_ACEOF
34356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34357 _ACEOF
34360 done
34362 else
34364 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
34365 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
34366 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34367 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
34368 echo $ECHO_N "(cached) $ECHO_C" >&6
34369 else
34373 ac_ext=cc
34374 ac_cpp='$CXXCPP $CPPFLAGS'
34375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34379 cat >conftest.$ac_ext <<_ACEOF
34380 /* confdefs.h. */
34381 _ACEOF
34382 cat confdefs.h >>conftest.$ac_ext
34383 cat >>conftest.$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34385 #include <math.h>
34386 #ifdef HAVE_IEEEFP_H
34387 #include <ieeefp.h>
34388 #endif
34391 main ()
34393 _finitel(0);
34395 return 0;
34397 _ACEOF
34398 rm -f conftest.$ac_objext
34399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34400 (eval $ac_compile) 2>conftest.er1
34401 ac_status=$?
34402 grep -v '^ *+' conftest.er1 >conftest.err
34403 rm -f conftest.er1
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } &&
34407 { ac_try='test -z "$ac_cxx_werror_flag"
34408 || test ! -s conftest.err'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34411 ac_status=$?
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; } &&
34414 { ac_try='test -s conftest.$ac_objext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34417 ac_status=$?
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 glibcxx_cv_func__finitel_use=yes
34421 else
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.$ac_ext >&5
34425 glibcxx_cv_func__finitel_use=no
34427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34428 ac_ext=c
34429 ac_cpp='$CPP $CPPFLAGS'
34430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
34439 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
34441 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34443 for ac_func in _finitel
34445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34446 echo "$as_me:$LINENO: checking for $ac_func" >&5
34447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34448 if eval "test \"\${$as_ac_var+set}\" = set"; then
34449 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 else
34451 if test x$gcc_no_link = xyes; then
34452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34454 { (exit 1); exit 1; }; }
34456 cat >conftest.$ac_ext <<_ACEOF
34457 /* confdefs.h. */
34458 _ACEOF
34459 cat confdefs.h >>conftest.$ac_ext
34460 cat >>conftest.$ac_ext <<_ACEOF
34461 /* end confdefs.h. */
34462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34464 #define $ac_func innocuous_$ac_func
34466 /* System header to define __stub macros and hopefully few prototypes,
34467 which can conflict with char $ac_func (); below.
34468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34469 <limits.h> exists even on freestanding compilers. */
34471 #ifdef __STDC__
34472 # include <limits.h>
34473 #else
34474 # include <assert.h>
34475 #endif
34477 #undef $ac_func
34479 /* Override any gcc2 internal prototype to avoid an error. */
34480 #ifdef __cplusplus
34481 extern "C"
34483 #endif
34484 /* We use char because int might match the return type of a gcc2
34485 builtin and then its argument prototype would still apply. */
34486 char $ac_func ();
34487 /* The GNU C library defines this for functions which it implements
34488 to always fail with ENOSYS. Some functions are actually named
34489 something starting with __ and the normal name is an alias. */
34490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34491 choke me
34492 #else
34493 char (*f) () = $ac_func;
34494 #endif
34495 #ifdef __cplusplus
34497 #endif
34500 main ()
34502 return f != $ac_func;
34504 return 0;
34506 _ACEOF
34507 rm -f conftest.$ac_objext conftest$ac_exeext
34508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34509 (eval $ac_link) 2>conftest.er1
34510 ac_status=$?
34511 grep -v '^ *+' conftest.er1 >conftest.err
34512 rm -f conftest.er1
34513 cat conftest.err >&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } &&
34516 { ac_try='test -z "$ac_c_werror_flag"
34517 || test ! -s conftest.err'
34518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34519 (eval $ac_try) 2>&5
34520 ac_status=$?
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); }; } &&
34523 { ac_try='test -s conftest$ac_exeext'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; }; then
34529 eval "$as_ac_var=yes"
34530 else
34531 echo "$as_me: failed program was:" >&5
34532 sed 's/^/| /' conftest.$ac_ext >&5
34534 eval "$as_ac_var=no"
34536 rm -f conftest.err conftest.$ac_objext \
34537 conftest$ac_exeext conftest.$ac_ext
34539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34541 if test `eval echo '${'$as_ac_var'}'` = yes; then
34542 cat >>confdefs.h <<_ACEOF
34543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34544 _ACEOF
34547 done
34556 LIBS="$ac_save_LIBS"
34557 CXXFLAGS="$ac_save_CXXFLAGS"
34561 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
34562 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
34563 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
34564 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
34565 echo $ECHO_N "(cached) $ECHO_C" >&6
34566 else
34570 ac_ext=cc
34571 ac_cpp='$CXXCPP $CPPFLAGS'
34572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576 cat >conftest.$ac_ext <<_ACEOF
34577 /* confdefs.h. */
34578 _ACEOF
34579 cat confdefs.h >>conftest.$ac_ext
34580 cat >>conftest.$ac_ext <<_ACEOF
34581 /* end confdefs.h. */
34582 #include <math.h>
34584 main ()
34586 __builtin_abs(0);
34588 return 0;
34590 _ACEOF
34591 rm -f conftest.$ac_objext
34592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34593 (eval $ac_compile) 2>conftest.er1
34594 ac_status=$?
34595 grep -v '^ *+' conftest.er1 >conftest.err
34596 rm -f conftest.er1
34597 cat conftest.err >&5
34598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34599 (exit $ac_status); } &&
34600 { ac_try='test -z "$ac_cxx_werror_flag"
34601 || test ! -s conftest.err'
34602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34603 (eval $ac_try) 2>&5
34604 ac_status=$?
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; } &&
34607 { ac_try='test -s conftest.$ac_objext'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; }; then
34613 glibcxx_cv_func___builtin_abs_use=yes
34614 else
34615 echo "$as_me: failed program was:" >&5
34616 sed 's/^/| /' conftest.$ac_ext >&5
34618 glibcxx_cv_func___builtin_abs_use=no
34620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34621 ac_ext=c
34622 ac_cpp='$CPP $CPPFLAGS'
34623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34631 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
34632 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
34633 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
34634 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
34635 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
34636 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
34637 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
34638 echo $ECHO_N "(cached) $ECHO_C" >&6
34639 else
34641 if test x$gcc_no_link = xyes; then
34642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34644 { (exit 1); exit 1; }; }
34646 cat >conftest.$ac_ext <<_ACEOF
34647 /* confdefs.h. */
34648 _ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34652 #include <math.h>
34654 main ()
34656 __builtin_abs(0);
34658 return 0;
34660 _ACEOF
34661 rm -f conftest.$ac_objext conftest$ac_exeext
34662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34663 (eval $ac_link) 2>conftest.er1
34664 ac_status=$?
34665 grep -v '^ *+' conftest.er1 >conftest.err
34666 rm -f conftest.er1
34667 cat conftest.err >&5
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); } &&
34670 { ac_try='test -z "$ac_c_werror_flag"
34671 || test ! -s conftest.err'
34672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34673 (eval $ac_try) 2>&5
34674 ac_status=$?
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); }; } &&
34677 { ac_try='test -s conftest$ac_exeext'
34678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34679 (eval $ac_try) 2>&5
34680 ac_status=$?
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); }; }; then
34683 glibcxx_cv_func___builtin_abs_link=yes
34684 else
34685 echo "$as_me: failed program was:" >&5
34686 sed 's/^/| /' conftest.$ac_ext >&5
34688 glibcxx_cv_func___builtin_abs_link=no
34690 rm -f conftest.err conftest.$ac_objext \
34691 conftest$ac_exeext conftest.$ac_ext
34696 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
34697 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
34699 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define HAVE___BUILTIN_ABS 1
34703 _ACEOF
34710 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
34711 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
34712 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
34713 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
34714 echo $ECHO_N "(cached) $ECHO_C" >&6
34715 else
34719 ac_ext=cc
34720 ac_cpp='$CXXCPP $CPPFLAGS'
34721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725 cat >conftest.$ac_ext <<_ACEOF
34726 /* confdefs.h. */
34727 _ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 #include <math.h>
34733 main ()
34735 __builtin_fabsf(0);
34737 return 0;
34739 _ACEOF
34740 rm -f conftest.$ac_objext
34741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34742 (eval $ac_compile) 2>conftest.er1
34743 ac_status=$?
34744 grep -v '^ *+' conftest.er1 >conftest.err
34745 rm -f conftest.er1
34746 cat conftest.err >&5
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); } &&
34749 { ac_try='test -z "$ac_cxx_werror_flag"
34750 || test ! -s conftest.err'
34751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34752 (eval $ac_try) 2>&5
34753 ac_status=$?
34754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34755 (exit $ac_status); }; } &&
34756 { ac_try='test -s conftest.$ac_objext'
34757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34758 (eval $ac_try) 2>&5
34759 ac_status=$?
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); }; }; then
34762 glibcxx_cv_func___builtin_fabsf_use=yes
34763 else
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34767 glibcxx_cv_func___builtin_fabsf_use=no
34769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34770 ac_ext=c
34771 ac_cpp='$CPP $CPPFLAGS'
34772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34780 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
34781 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
34782 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
34783 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
34784 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
34785 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
34786 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34788 else
34790 if test x$gcc_no_link = xyes; then
34791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34793 { (exit 1); exit 1; }; }
34795 cat >conftest.$ac_ext <<_ACEOF
34796 /* confdefs.h. */
34797 _ACEOF
34798 cat confdefs.h >>conftest.$ac_ext
34799 cat >>conftest.$ac_ext <<_ACEOF
34800 /* end confdefs.h. */
34801 #include <math.h>
34803 main ()
34805 __builtin_fabsf(0);
34807 return 0;
34809 _ACEOF
34810 rm -f conftest.$ac_objext conftest$ac_exeext
34811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34812 (eval $ac_link) 2>conftest.er1
34813 ac_status=$?
34814 grep -v '^ *+' conftest.er1 >conftest.err
34815 rm -f conftest.er1
34816 cat conftest.err >&5
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); } &&
34819 { ac_try='test -z "$ac_c_werror_flag"
34820 || test ! -s conftest.err'
34821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34822 (eval $ac_try) 2>&5
34823 ac_status=$?
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); }; } &&
34826 { ac_try='test -s conftest$ac_exeext'
34827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34828 (eval $ac_try) 2>&5
34829 ac_status=$?
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); }; }; then
34832 glibcxx_cv_func___builtin_fabsf_link=yes
34833 else
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34837 glibcxx_cv_func___builtin_fabsf_link=no
34839 rm -f conftest.err conftest.$ac_objext \
34840 conftest$ac_exeext conftest.$ac_ext
34845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
34846 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
34848 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
34850 cat >>confdefs.h <<\_ACEOF
34851 #define HAVE___BUILTIN_FABSF 1
34852 _ACEOF
34859 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
34860 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
34861 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
34862 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
34863 echo $ECHO_N "(cached) $ECHO_C" >&6
34864 else
34868 ac_ext=cc
34869 ac_cpp='$CXXCPP $CPPFLAGS'
34870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874 cat >conftest.$ac_ext <<_ACEOF
34875 /* confdefs.h. */
34876 _ACEOF
34877 cat confdefs.h >>conftest.$ac_ext
34878 cat >>conftest.$ac_ext <<_ACEOF
34879 /* end confdefs.h. */
34880 #include <math.h>
34882 main ()
34884 __builtin_fabs(0);
34886 return 0;
34888 _ACEOF
34889 rm -f conftest.$ac_objext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34891 (eval $ac_compile) 2>conftest.er1
34892 ac_status=$?
34893 grep -v '^ *+' conftest.er1 >conftest.err
34894 rm -f conftest.er1
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } &&
34898 { ac_try='test -z "$ac_cxx_werror_flag"
34899 || test ! -s conftest.err'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; } &&
34905 { ac_try='test -s conftest.$ac_objext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 glibcxx_cv_func___builtin_fabs_use=yes
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34916 glibcxx_cv_func___builtin_fabs_use=no
34918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
34930 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
34931 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
34932 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
34933 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
34934 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
34935 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34937 else
34939 if test x$gcc_no_link = xyes; then
34940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34942 { (exit 1); exit 1; }; }
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950 #include <math.h>
34952 main ()
34954 __builtin_fabs(0);
34956 return 0;
34958 _ACEOF
34959 rm -f conftest.$ac_objext conftest$ac_exeext
34960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34961 (eval $ac_link) 2>conftest.er1
34962 ac_status=$?
34963 grep -v '^ *+' conftest.er1 >conftest.err
34964 rm -f conftest.er1
34965 cat conftest.err >&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); } &&
34968 { ac_try='test -z "$ac_c_werror_flag"
34969 || test ! -s conftest.err'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34972 ac_status=$?
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; } &&
34975 { ac_try='test -s conftest$ac_exeext'
34976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34977 (eval $ac_try) 2>&5
34978 ac_status=$?
34979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34980 (exit $ac_status); }; }; then
34981 glibcxx_cv_func___builtin_fabs_link=yes
34982 else
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34986 glibcxx_cv_func___builtin_fabs_link=no
34988 rm -f conftest.err conftest.$ac_objext \
34989 conftest$ac_exeext conftest.$ac_ext
34994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
34995 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
34997 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
34999 cat >>confdefs.h <<\_ACEOF
35000 #define HAVE___BUILTIN_FABS 1
35001 _ACEOF
35008 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35009 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35010 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35011 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 else
35017 ac_ext=cc
35018 ac_cpp='$CXXCPP $CPPFLAGS'
35019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35023 cat >conftest.$ac_ext <<_ACEOF
35024 /* confdefs.h. */
35025 _ACEOF
35026 cat confdefs.h >>conftest.$ac_ext
35027 cat >>conftest.$ac_ext <<_ACEOF
35028 /* end confdefs.h. */
35029 #include <math.h>
35031 main ()
35033 __builtin_fabsl(0);
35035 return 0;
35037 _ACEOF
35038 rm -f conftest.$ac_objext
35039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35040 (eval $ac_compile) 2>conftest.er1
35041 ac_status=$?
35042 grep -v '^ *+' conftest.er1 >conftest.err
35043 rm -f conftest.er1
35044 cat conftest.err >&5
35045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35046 (exit $ac_status); } &&
35047 { ac_try='test -z "$ac_cxx_werror_flag"
35048 || test ! -s conftest.err'
35049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35050 (eval $ac_try) 2>&5
35051 ac_status=$?
35052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35053 (exit $ac_status); }; } &&
35054 { ac_try='test -s conftest.$ac_objext'
35055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35056 (eval $ac_try) 2>&5
35057 ac_status=$?
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); }; }; then
35060 glibcxx_cv_func___builtin_fabsl_use=yes
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35065 glibcxx_cv_func___builtin_fabsl_use=no
35067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35068 ac_ext=c
35069 ac_cpp='$CPP $CPPFLAGS'
35070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35078 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35079 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35080 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35081 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35082 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35083 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35084 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35088 if test x$gcc_no_link = xyes; then
35089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35091 { (exit 1); exit 1; }; }
35093 cat >conftest.$ac_ext <<_ACEOF
35094 /* confdefs.h. */
35095 _ACEOF
35096 cat confdefs.h >>conftest.$ac_ext
35097 cat >>conftest.$ac_ext <<_ACEOF
35098 /* end confdefs.h. */
35099 #include <math.h>
35101 main ()
35103 __builtin_fabsl(0);
35105 return 0;
35107 _ACEOF
35108 rm -f conftest.$ac_objext conftest$ac_exeext
35109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35110 (eval $ac_link) 2>conftest.er1
35111 ac_status=$?
35112 grep -v '^ *+' conftest.er1 >conftest.err
35113 rm -f conftest.er1
35114 cat conftest.err >&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } &&
35117 { ac_try='test -z "$ac_c_werror_flag"
35118 || test ! -s conftest.err'
35119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120 (eval $ac_try) 2>&5
35121 ac_status=$?
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; } &&
35124 { ac_try='test -s conftest$ac_exeext'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35127 ac_status=$?
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; }; then
35130 glibcxx_cv_func___builtin_fabsl_link=yes
35131 else
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35135 glibcxx_cv_func___builtin_fabsl_link=no
35137 rm -f conftest.err conftest.$ac_objext \
35138 conftest$ac_exeext conftest.$ac_ext
35143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35144 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35146 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define HAVE___BUILTIN_FABSL 1
35150 _ACEOF
35157 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35158 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35159 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35160 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35161 echo $ECHO_N "(cached) $ECHO_C" >&6
35162 else
35166 ac_ext=cc
35167 ac_cpp='$CXXCPP $CPPFLAGS'
35168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172 cat >conftest.$ac_ext <<_ACEOF
35173 /* confdefs.h. */
35174 _ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 #include <math.h>
35180 main ()
35182 __builtin_labs(0);
35184 return 0;
35186 _ACEOF
35187 rm -f conftest.$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try='test -z "$ac_cxx_werror_flag"
35197 || test ! -s conftest.err'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35200 ac_status=$?
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; } &&
35203 { ac_try='test -s conftest.$ac_objext'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35206 ac_status=$?
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 glibcxx_cv_func___builtin_labs_use=yes
35210 else
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35214 glibcxx_cv_func___builtin_labs_use=no
35216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35228 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35229 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35230 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35231 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35232 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35233 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35235 else
35237 if test x$gcc_no_link = xyes; then
35238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35240 { (exit 1); exit 1; }; }
35242 cat >conftest.$ac_ext <<_ACEOF
35243 /* confdefs.h. */
35244 _ACEOF
35245 cat confdefs.h >>conftest.$ac_ext
35246 cat >>conftest.$ac_ext <<_ACEOF
35247 /* end confdefs.h. */
35248 #include <math.h>
35250 main ()
35252 __builtin_labs(0);
35254 return 0;
35256 _ACEOF
35257 rm -f conftest.$ac_objext conftest$ac_exeext
35258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35259 (eval $ac_link) 2>conftest.er1
35260 ac_status=$?
35261 grep -v '^ *+' conftest.er1 >conftest.err
35262 rm -f conftest.er1
35263 cat conftest.err >&5
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); } &&
35266 { ac_try='test -z "$ac_c_werror_flag"
35267 || test ! -s conftest.err'
35268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35269 (eval $ac_try) 2>&5
35270 ac_status=$?
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); }; } &&
35273 { ac_try='test -s conftest$ac_exeext'
35274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275 (eval $ac_try) 2>&5
35276 ac_status=$?
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); }; }; then
35279 glibcxx_cv_func___builtin_labs_link=yes
35280 else
35281 echo "$as_me: failed program was:" >&5
35282 sed 's/^/| /' conftest.$ac_ext >&5
35284 glibcxx_cv_func___builtin_labs_link=no
35286 rm -f conftest.err conftest.$ac_objext \
35287 conftest$ac_exeext conftest.$ac_ext
35292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35293 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35295 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35297 cat >>confdefs.h <<\_ACEOF
35298 #define HAVE___BUILTIN_LABS 1
35299 _ACEOF
35307 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35308 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35309 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35310 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35311 echo $ECHO_N "(cached) $ECHO_C" >&6
35312 else
35316 ac_ext=cc
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35322 cat >conftest.$ac_ext <<_ACEOF
35323 /* confdefs.h. */
35324 _ACEOF
35325 cat confdefs.h >>conftest.$ac_ext
35326 cat >>conftest.$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35328 #include <math.h>
35330 main ()
35332 __builtin_sqrtf(0);
35334 return 0;
35336 _ACEOF
35337 rm -f conftest.$ac_objext
35338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35339 (eval $ac_compile) 2>conftest.er1
35340 ac_status=$?
35341 grep -v '^ *+' conftest.er1 >conftest.err
35342 rm -f conftest.er1
35343 cat conftest.err >&5
35344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35345 (exit $ac_status); } &&
35346 { ac_try='test -z "$ac_cxx_werror_flag"
35347 || test ! -s conftest.err'
35348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35349 (eval $ac_try) 2>&5
35350 ac_status=$?
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; } &&
35353 { ac_try='test -s conftest.$ac_objext'
35354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35355 (eval $ac_try) 2>&5
35356 ac_status=$?
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); }; }; then
35359 glibcxx_cv_func___builtin_sqrtf_use=yes
35360 else
35361 echo "$as_me: failed program was:" >&5
35362 sed 's/^/| /' conftest.$ac_ext >&5
35364 glibcxx_cv_func___builtin_sqrtf_use=no
35366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35367 ac_ext=c
35368 ac_cpp='$CPP $CPPFLAGS'
35369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35377 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
35378 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
35379 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
35380 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
35381 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
35382 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
35383 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
35384 echo $ECHO_N "(cached) $ECHO_C" >&6
35385 else
35387 if test x$gcc_no_link = xyes; then
35388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35390 { (exit 1); exit 1; }; }
35392 cat >conftest.$ac_ext <<_ACEOF
35393 /* confdefs.h. */
35394 _ACEOF
35395 cat confdefs.h >>conftest.$ac_ext
35396 cat >>conftest.$ac_ext <<_ACEOF
35397 /* end confdefs.h. */
35398 #include <math.h>
35400 main ()
35402 __builtin_sqrtf(0);
35404 return 0;
35406 _ACEOF
35407 rm -f conftest.$ac_objext conftest$ac_exeext
35408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35409 (eval $ac_link) 2>conftest.er1
35410 ac_status=$?
35411 grep -v '^ *+' conftest.er1 >conftest.err
35412 rm -f conftest.er1
35413 cat conftest.err >&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); } &&
35416 { ac_try='test -z "$ac_c_werror_flag"
35417 || test ! -s conftest.err'
35418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35419 (eval $ac_try) 2>&5
35420 ac_status=$?
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); }; } &&
35423 { ac_try='test -s conftest$ac_exeext'
35424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35425 (eval $ac_try) 2>&5
35426 ac_status=$?
35427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35428 (exit $ac_status); }; }; then
35429 glibcxx_cv_func___builtin_sqrtf_link=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35434 glibcxx_cv_func___builtin_sqrtf_link=no
35436 rm -f conftest.err conftest.$ac_objext \
35437 conftest$ac_exeext conftest.$ac_ext
35442 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
35443 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
35445 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
35447 cat >>confdefs.h <<\_ACEOF
35448 #define HAVE___BUILTIN_SQRTF 1
35449 _ACEOF
35456 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
35457 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
35458 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
35459 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
35460 echo $ECHO_N "(cached) $ECHO_C" >&6
35461 else
35465 ac_ext=cc
35466 ac_cpp='$CXXCPP $CPPFLAGS'
35467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35471 cat >conftest.$ac_ext <<_ACEOF
35472 /* confdefs.h. */
35473 _ACEOF
35474 cat confdefs.h >>conftest.$ac_ext
35475 cat >>conftest.$ac_ext <<_ACEOF
35476 /* end confdefs.h. */
35477 #include <math.h>
35479 main ()
35481 __builtin_sqrt(0);
35483 return 0;
35485 _ACEOF
35486 rm -f conftest.$ac_objext
35487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35488 (eval $ac_compile) 2>conftest.er1
35489 ac_status=$?
35490 grep -v '^ *+' conftest.er1 >conftest.err
35491 rm -f conftest.er1
35492 cat conftest.err >&5
35493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35494 (exit $ac_status); } &&
35495 { ac_try='test -z "$ac_cxx_werror_flag"
35496 || test ! -s conftest.err'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; } &&
35502 { ac_try='test -s conftest.$ac_objext'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35505 ac_status=$?
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 glibcxx_cv_func___builtin_sqrt_use=yes
35509 else
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.$ac_ext >&5
35513 glibcxx_cv_func___builtin_sqrt_use=no
35515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35516 ac_ext=c
35517 ac_cpp='$CPP $CPPFLAGS'
35518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
35527 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
35528 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
35529 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
35530 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
35531 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
35532 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
35533 echo $ECHO_N "(cached) $ECHO_C" >&6
35534 else
35536 if test x$gcc_no_link = xyes; then
35537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35539 { (exit 1); exit 1; }; }
35541 cat >conftest.$ac_ext <<_ACEOF
35542 /* confdefs.h. */
35543 _ACEOF
35544 cat confdefs.h >>conftest.$ac_ext
35545 cat >>conftest.$ac_ext <<_ACEOF
35546 /* end confdefs.h. */
35547 #include <math.h>
35549 main ()
35551 __builtin_sqrt(0);
35553 return 0;
35555 _ACEOF
35556 rm -f conftest.$ac_objext conftest$ac_exeext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35558 (eval $ac_link) 2>conftest.er1
35559 ac_status=$?
35560 grep -v '^ *+' conftest.er1 >conftest.err
35561 rm -f conftest.er1
35562 cat conftest.err >&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); } &&
35565 { ac_try='test -z "$ac_c_werror_flag"
35566 || test ! -s conftest.err'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35569 ac_status=$?
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; } &&
35572 { ac_try='test -s conftest$ac_exeext'
35573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574 (eval $ac_try) 2>&5
35575 ac_status=$?
35576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577 (exit $ac_status); }; }; then
35578 glibcxx_cv_func___builtin_sqrt_link=yes
35579 else
35580 echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.$ac_ext >&5
35583 glibcxx_cv_func___builtin_sqrt_link=no
35585 rm -f conftest.err conftest.$ac_objext \
35586 conftest$ac_exeext conftest.$ac_ext
35591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
35592 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
35594 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
35596 cat >>confdefs.h <<\_ACEOF
35597 #define HAVE___BUILTIN_SQRT 1
35598 _ACEOF
35605 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
35606 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
35607 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
35608 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
35609 echo $ECHO_N "(cached) $ECHO_C" >&6
35610 else
35614 ac_ext=cc
35615 ac_cpp='$CXXCPP $CPPFLAGS'
35616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620 cat >conftest.$ac_ext <<_ACEOF
35621 /* confdefs.h. */
35622 _ACEOF
35623 cat confdefs.h >>conftest.$ac_ext
35624 cat >>conftest.$ac_ext <<_ACEOF
35625 /* end confdefs.h. */
35626 #include <math.h>
35628 main ()
35630 __builtin_sqrtl(0);
35632 return 0;
35634 _ACEOF
35635 rm -f conftest.$ac_objext
35636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35637 (eval $ac_compile) 2>conftest.er1
35638 ac_status=$?
35639 grep -v '^ *+' conftest.er1 >conftest.err
35640 rm -f conftest.er1
35641 cat conftest.err >&5
35642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35643 (exit $ac_status); } &&
35644 { ac_try='test -z "$ac_cxx_werror_flag"
35645 || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try='test -s conftest.$ac_objext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 glibcxx_cv_func___builtin_sqrtl_use=yes
35658 else
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35662 glibcxx_cv_func___builtin_sqrtl_use=no
35664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35665 ac_ext=c
35666 ac_cpp='$CPP $CPPFLAGS'
35667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
35676 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
35677 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
35678 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
35679 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
35680 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
35681 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35685 if test x$gcc_no_link = xyes; then
35686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35688 { (exit 1); exit 1; }; }
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 #include <math.h>
35698 main ()
35700 __builtin_sqrtl(0);
35702 return 0;
35704 _ACEOF
35705 rm -f conftest.$ac_objext conftest$ac_exeext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35707 (eval $ac_link) 2>conftest.er1
35708 ac_status=$?
35709 grep -v '^ *+' conftest.er1 >conftest.err
35710 rm -f conftest.er1
35711 cat conftest.err >&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try='test -z "$ac_c_werror_flag"
35715 || test ! -s conftest.err'
35716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717 (eval $ac_try) 2>&5
35718 ac_status=$?
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); }; } &&
35721 { ac_try='test -s conftest$ac_exeext'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35724 ac_status=$?
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; }; then
35727 glibcxx_cv_func___builtin_sqrtl_link=yes
35728 else
35729 echo "$as_me: failed program was:" >&5
35730 sed 's/^/| /' conftest.$ac_ext >&5
35732 glibcxx_cv_func___builtin_sqrtl_link=no
35734 rm -f conftest.err conftest.$ac_objext \
35735 conftest$ac_exeext conftest.$ac_ext
35740 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
35741 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
35743 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
35745 cat >>confdefs.h <<\_ACEOF
35746 #define HAVE___BUILTIN_SQRTL 1
35747 _ACEOF
35755 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
35756 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
35757 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
35758 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
35759 echo $ECHO_N "(cached) $ECHO_C" >&6
35760 else
35764 ac_ext=cc
35765 ac_cpp='$CXXCPP $CPPFLAGS'
35766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35770 cat >conftest.$ac_ext <<_ACEOF
35771 /* confdefs.h. */
35772 _ACEOF
35773 cat confdefs.h >>conftest.$ac_ext
35774 cat >>conftest.$ac_ext <<_ACEOF
35775 /* end confdefs.h. */
35776 #include <math.h>
35778 main ()
35780 __builtin_sinf(0);
35782 return 0;
35784 _ACEOF
35785 rm -f conftest.$ac_objext
35786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35787 (eval $ac_compile) 2>conftest.er1
35788 ac_status=$?
35789 grep -v '^ *+' conftest.er1 >conftest.err
35790 rm -f conftest.er1
35791 cat conftest.err >&5
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); } &&
35794 { ac_try='test -z "$ac_cxx_werror_flag"
35795 || test ! -s conftest.err'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35798 ac_status=$?
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; } &&
35801 { ac_try='test -s conftest.$ac_objext'
35802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35803 (eval $ac_try) 2>&5
35804 ac_status=$?
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); }; }; then
35807 glibcxx_cv_func___builtin_sinf_use=yes
35808 else
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.$ac_ext >&5
35812 glibcxx_cv_func___builtin_sinf_use=no
35814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35815 ac_ext=c
35816 ac_cpp='$CPP $CPPFLAGS'
35817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
35826 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
35827 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
35828 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
35829 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
35830 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
35831 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35833 else
35835 if test x$gcc_no_link = xyes; then
35836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35838 { (exit 1); exit 1; }; }
35840 cat >conftest.$ac_ext <<_ACEOF
35841 /* confdefs.h. */
35842 _ACEOF
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 #include <math.h>
35848 main ()
35850 __builtin_sinf(0);
35852 return 0;
35854 _ACEOF
35855 rm -f conftest.$ac_objext conftest$ac_exeext
35856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35857 (eval $ac_link) 2>conftest.er1
35858 ac_status=$?
35859 grep -v '^ *+' conftest.er1 >conftest.err
35860 rm -f conftest.er1
35861 cat conftest.err >&5
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); } &&
35864 { ac_try='test -z "$ac_c_werror_flag"
35865 || test ! -s conftest.err'
35866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35867 (eval $ac_try) 2>&5
35868 ac_status=$?
35869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35870 (exit $ac_status); }; } &&
35871 { ac_try='test -s conftest$ac_exeext'
35872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35873 (eval $ac_try) 2>&5
35874 ac_status=$?
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); }; }; then
35877 glibcxx_cv_func___builtin_sinf_link=yes
35878 else
35879 echo "$as_me: failed program was:" >&5
35880 sed 's/^/| /' conftest.$ac_ext >&5
35882 glibcxx_cv_func___builtin_sinf_link=no
35884 rm -f conftest.err conftest.$ac_objext \
35885 conftest$ac_exeext conftest.$ac_ext
35890 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
35891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
35893 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
35895 cat >>confdefs.h <<\_ACEOF
35896 #define HAVE___BUILTIN_SINF 1
35897 _ACEOF
35904 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
35905 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
35906 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
35907 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 else
35913 ac_ext=cc
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35919 cat >conftest.$ac_ext <<_ACEOF
35920 /* confdefs.h. */
35921 _ACEOF
35922 cat confdefs.h >>conftest.$ac_ext
35923 cat >>conftest.$ac_ext <<_ACEOF
35924 /* end confdefs.h. */
35925 #include <math.h>
35927 main ()
35929 __builtin_sin(0);
35931 return 0;
35933 _ACEOF
35934 rm -f conftest.$ac_objext
35935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35936 (eval $ac_compile) 2>conftest.er1
35937 ac_status=$?
35938 grep -v '^ *+' conftest.er1 >conftest.err
35939 rm -f conftest.er1
35940 cat conftest.err >&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); } &&
35943 { ac_try='test -z "$ac_cxx_werror_flag"
35944 || test ! -s conftest.err'
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); }; } &&
35950 { ac_try='test -s conftest.$ac_objext'
35951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35952 (eval $ac_try) 2>&5
35953 ac_status=$?
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); }; }; then
35956 glibcxx_cv_func___builtin_sin_use=yes
35957 else
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35961 glibcxx_cv_func___builtin_sin_use=no
35963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35964 ac_ext=c
35965 ac_cpp='$CPP $CPPFLAGS'
35966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35974 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
35975 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
35976 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
35977 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
35978 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
35979 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
35980 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
35981 echo $ECHO_N "(cached) $ECHO_C" >&6
35982 else
35984 if test x$gcc_no_link = xyes; then
35985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35987 { (exit 1); exit 1; }; }
35989 cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h. */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h. */
35995 #include <math.h>
35997 main ()
35999 __builtin_sin(0);
36001 return 0;
36003 _ACEOF
36004 rm -f conftest.$ac_objext conftest$ac_exeext
36005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36006 (eval $ac_link) 2>conftest.er1
36007 ac_status=$?
36008 grep -v '^ *+' conftest.er1 >conftest.err
36009 rm -f conftest.er1
36010 cat conftest.err >&5
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); } &&
36013 { ac_try='test -z "$ac_c_werror_flag"
36014 || test ! -s conftest.err'
36015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36016 (eval $ac_try) 2>&5
36017 ac_status=$?
36018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36019 (exit $ac_status); }; } &&
36020 { ac_try='test -s conftest$ac_exeext'
36021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022 (eval $ac_try) 2>&5
36023 ac_status=$?
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); }; }; then
36026 glibcxx_cv_func___builtin_sin_link=yes
36027 else
36028 echo "$as_me: failed program was:" >&5
36029 sed 's/^/| /' conftest.$ac_ext >&5
36031 glibcxx_cv_func___builtin_sin_link=no
36033 rm -f conftest.err conftest.$ac_objext \
36034 conftest$ac_exeext conftest.$ac_ext
36039 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36040 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36042 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36044 cat >>confdefs.h <<\_ACEOF
36045 #define HAVE___BUILTIN_SIN 1
36046 _ACEOF
36053 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36054 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36055 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36056 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36057 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 else
36062 ac_ext=cc
36063 ac_cpp='$CXXCPP $CPPFLAGS'
36064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36068 cat >conftest.$ac_ext <<_ACEOF
36069 /* confdefs.h. */
36070 _ACEOF
36071 cat confdefs.h >>conftest.$ac_ext
36072 cat >>conftest.$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36074 #include <math.h>
36076 main ()
36078 __builtin_sinl(0);
36080 return 0;
36082 _ACEOF
36083 rm -f conftest.$ac_objext
36084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36085 (eval $ac_compile) 2>conftest.er1
36086 ac_status=$?
36087 grep -v '^ *+' conftest.er1 >conftest.err
36088 rm -f conftest.er1
36089 cat conftest.err >&5
36090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36091 (exit $ac_status); } &&
36092 { ac_try='test -z "$ac_cxx_werror_flag"
36093 || test ! -s conftest.err'
36094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36095 (eval $ac_try) 2>&5
36096 ac_status=$?
36097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36098 (exit $ac_status); }; } &&
36099 { ac_try='test -s conftest.$ac_objext'
36100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36101 (eval $ac_try) 2>&5
36102 ac_status=$?
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); }; }; then
36105 glibcxx_cv_func___builtin_sinl_use=yes
36106 else
36107 echo "$as_me: failed program was:" >&5
36108 sed 's/^/| /' conftest.$ac_ext >&5
36110 glibcxx_cv_func___builtin_sinl_use=no
36112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36113 ac_ext=c
36114 ac_cpp='$CPP $CPPFLAGS'
36115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36123 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36124 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36125 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36126 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36127 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36128 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36129 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 else
36133 if test x$gcc_no_link = xyes; then
36134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36136 { (exit 1); exit 1; }; }
36138 cat >conftest.$ac_ext <<_ACEOF
36139 /* confdefs.h. */
36140 _ACEOF
36141 cat confdefs.h >>conftest.$ac_ext
36142 cat >>conftest.$ac_ext <<_ACEOF
36143 /* end confdefs.h. */
36144 #include <math.h>
36146 main ()
36148 __builtin_sinl(0);
36150 return 0;
36152 _ACEOF
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36155 (eval $ac_link) 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_c_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest$ac_exeext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 glibcxx_cv_func___builtin_sinl_link=yes
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36180 glibcxx_cv_func___builtin_sinl_link=no
36182 rm -f conftest.err conftest.$ac_objext \
36183 conftest$ac_exeext conftest.$ac_ext
36188 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36189 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36191 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36193 cat >>confdefs.h <<\_ACEOF
36194 #define HAVE___BUILTIN_SINL 1
36195 _ACEOF
36203 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36204 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36205 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36206 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 else
36212 ac_ext=cc
36213 ac_cpp='$CXXCPP $CPPFLAGS'
36214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36218 cat >conftest.$ac_ext <<_ACEOF
36219 /* confdefs.h. */
36220 _ACEOF
36221 cat confdefs.h >>conftest.$ac_ext
36222 cat >>conftest.$ac_ext <<_ACEOF
36223 /* end confdefs.h. */
36224 #include <math.h>
36226 main ()
36228 __builtin_cosf(0);
36230 return 0;
36232 _ACEOF
36233 rm -f conftest.$ac_objext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36235 (eval $ac_compile) 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try='test -z "$ac_cxx_werror_flag"
36243 || test ! -s conftest.err'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try='test -s conftest.$ac_objext'
36250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251 (eval $ac_try) 2>&5
36252 ac_status=$?
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 glibcxx_cv_func___builtin_cosf_use=yes
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36260 glibcxx_cv_func___builtin_cosf_use=no
36262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36263 ac_ext=c
36264 ac_cpp='$CPP $CPPFLAGS'
36265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36274 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36275 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36276 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36277 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36278 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36279 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36280 echo $ECHO_N "(cached) $ECHO_C" >&6
36281 else
36283 if test x$gcc_no_link = xyes; then
36284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36286 { (exit 1); exit 1; }; }
36288 cat >conftest.$ac_ext <<_ACEOF
36289 /* confdefs.h. */
36290 _ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 #include <math.h>
36296 main ()
36298 __builtin_cosf(0);
36300 return 0;
36302 _ACEOF
36303 rm -f conftest.$ac_objext conftest$ac_exeext
36304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36305 (eval $ac_link) 2>conftest.er1
36306 ac_status=$?
36307 grep -v '^ *+' conftest.er1 >conftest.err
36308 rm -f conftest.er1
36309 cat conftest.err >&5
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); } &&
36312 { ac_try='test -z "$ac_c_werror_flag"
36313 || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36322 ac_status=$?
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 glibcxx_cv_func___builtin_cosf_link=yes
36326 else
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.$ac_ext >&5
36330 glibcxx_cv_func___builtin_cosf_link=no
36332 rm -f conftest.err conftest.$ac_objext \
36333 conftest$ac_exeext conftest.$ac_ext
36338 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36339 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36341 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36343 cat >>confdefs.h <<\_ACEOF
36344 #define HAVE___BUILTIN_COSF 1
36345 _ACEOF
36352 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36353 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36354 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36355 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36356 echo $ECHO_N "(cached) $ECHO_C" >&6
36357 else
36361 ac_ext=cc
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367 cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h. */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 #include <math.h>
36375 main ()
36377 __builtin_cos(0);
36379 return 0;
36381 _ACEOF
36382 rm -f conftest.$ac_objext
36383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36384 (eval $ac_compile) 2>conftest.er1
36385 ac_status=$?
36386 grep -v '^ *+' conftest.er1 >conftest.err
36387 rm -f conftest.er1
36388 cat conftest.err >&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); } &&
36391 { ac_try='test -z "$ac_cxx_werror_flag"
36392 || test ! -s conftest.err'
36393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36394 (eval $ac_try) 2>&5
36395 ac_status=$?
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); }; } &&
36398 { ac_try='test -s conftest.$ac_objext'
36399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36400 (eval $ac_try) 2>&5
36401 ac_status=$?
36402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36403 (exit $ac_status); }; }; then
36404 glibcxx_cv_func___builtin_cos_use=yes
36405 else
36406 echo "$as_me: failed program was:" >&5
36407 sed 's/^/| /' conftest.$ac_ext >&5
36409 glibcxx_cv_func___builtin_cos_use=no
36411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36412 ac_ext=c
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36422 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
36423 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
36424 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
36425 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
36426 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
36427 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
36428 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
36429 echo $ECHO_N "(cached) $ECHO_C" >&6
36430 else
36432 if test x$gcc_no_link = xyes; then
36433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36435 { (exit 1); exit 1; }; }
36437 cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h. */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 #include <math.h>
36445 main ()
36447 __builtin_cos(0);
36449 return 0;
36451 _ACEOF
36452 rm -f conftest.$ac_objext conftest$ac_exeext
36453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36454 (eval $ac_link) 2>conftest.er1
36455 ac_status=$?
36456 grep -v '^ *+' conftest.er1 >conftest.err
36457 rm -f conftest.er1
36458 cat conftest.err >&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } &&
36461 { ac_try='test -z "$ac_c_werror_flag"
36462 || test ! -s conftest.err'
36463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36464 (eval $ac_try) 2>&5
36465 ac_status=$?
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); }; } &&
36468 { ac_try='test -s conftest$ac_exeext'
36469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36470 (eval $ac_try) 2>&5
36471 ac_status=$?
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); }; }; then
36474 glibcxx_cv_func___builtin_cos_link=yes
36475 else
36476 echo "$as_me: failed program was:" >&5
36477 sed 's/^/| /' conftest.$ac_ext >&5
36479 glibcxx_cv_func___builtin_cos_link=no
36481 rm -f conftest.err conftest.$ac_objext \
36482 conftest$ac_exeext conftest.$ac_ext
36487 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
36488 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
36490 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
36492 cat >>confdefs.h <<\_ACEOF
36493 #define HAVE___BUILTIN_COS 1
36494 _ACEOF
36501 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
36502 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
36503 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
36504 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36506 else
36510 ac_ext=cc
36511 ac_cpp='$CXXCPP $CPPFLAGS'
36512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36516 cat >conftest.$ac_ext <<_ACEOF
36517 /* confdefs.h. */
36518 _ACEOF
36519 cat confdefs.h >>conftest.$ac_ext
36520 cat >>conftest.$ac_ext <<_ACEOF
36521 /* end confdefs.h. */
36522 #include <math.h>
36524 main ()
36526 __builtin_cosl(0);
36528 return 0;
36530 _ACEOF
36531 rm -f conftest.$ac_objext
36532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36533 (eval $ac_compile) 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } &&
36540 { ac_try='test -z "$ac_cxx_werror_flag"
36541 || test ! -s conftest.err'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36544 ac_status=$?
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; } &&
36547 { ac_try='test -s conftest.$ac_objext'
36548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36549 (eval $ac_try) 2>&5
36550 ac_status=$?
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); }; }; then
36553 glibcxx_cv_func___builtin_cosl_use=yes
36554 else
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36558 glibcxx_cv_func___builtin_cosl_use=no
36560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36561 ac_ext=c
36562 ac_cpp='$CPP $CPPFLAGS'
36563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36571 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
36572 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
36573 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
36574 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
36575 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
36576 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
36577 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36581 if test x$gcc_no_link = xyes; then
36582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36584 { (exit 1); exit 1; }; }
36586 cat >conftest.$ac_ext <<_ACEOF
36587 /* confdefs.h. */
36588 _ACEOF
36589 cat confdefs.h >>conftest.$ac_ext
36590 cat >>conftest.$ac_ext <<_ACEOF
36591 /* end confdefs.h. */
36592 #include <math.h>
36594 main ()
36596 __builtin_cosl(0);
36598 return 0;
36600 _ACEOF
36601 rm -f conftest.$ac_objext conftest$ac_exeext
36602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36603 (eval $ac_link) 2>conftest.er1
36604 ac_status=$?
36605 grep -v '^ *+' conftest.er1 >conftest.err
36606 rm -f conftest.er1
36607 cat conftest.err >&5
36608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); } &&
36610 { ac_try='test -z "$ac_c_werror_flag"
36611 || test ! -s conftest.err'
36612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36613 (eval $ac_try) 2>&5
36614 ac_status=$?
36615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36616 (exit $ac_status); }; } &&
36617 { ac_try='test -s conftest$ac_exeext'
36618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36619 (eval $ac_try) 2>&5
36620 ac_status=$?
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); }; }; then
36623 glibcxx_cv_func___builtin_cosl_link=yes
36624 else
36625 echo "$as_me: failed program was:" >&5
36626 sed 's/^/| /' conftest.$ac_ext >&5
36628 glibcxx_cv_func___builtin_cosl_link=no
36630 rm -f conftest.err conftest.$ac_objext \
36631 conftest$ac_exeext conftest.$ac_ext
36636 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
36637 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
36639 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
36641 cat >>confdefs.h <<\_ACEOF
36642 #define HAVE___BUILTIN_COSL 1
36643 _ACEOF
36652 echo "$as_me:$LINENO: checking for main in -lm" >&5
36653 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
36654 if test "${ac_cv_lib_m_main+set}" = set; then
36655 echo $ECHO_N "(cached) $ECHO_C" >&6
36656 else
36657 ac_check_lib_save_LIBS=$LIBS
36658 LIBS="-lm $LIBS"
36659 if test x$gcc_no_link = xyes; then
36660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36662 { (exit 1); exit 1; }; }
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36673 main ()
36675 main ();
36677 return 0;
36679 _ACEOF
36680 rm -f conftest.$ac_objext conftest$ac_exeext
36681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36682 (eval $ac_link) 2>conftest.er1
36683 ac_status=$?
36684 grep -v '^ *+' conftest.er1 >conftest.err
36685 rm -f conftest.er1
36686 cat conftest.err >&5
36687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36688 (exit $ac_status); } &&
36689 { ac_try='test -z "$ac_c_werror_flag"
36690 || test ! -s conftest.err'
36691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36692 (eval $ac_try) 2>&5
36693 ac_status=$?
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); }; } &&
36696 { ac_try='test -s conftest$ac_exeext'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36699 ac_status=$?
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; }; then
36702 ac_cv_lib_m_main=yes
36703 else
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36707 ac_cv_lib_m_main=no
36709 rm -f conftest.err conftest.$ac_objext \
36710 conftest$ac_exeext conftest.$ac_ext
36711 LIBS=$ac_check_lib_save_LIBS
36713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
36714 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
36715 if test $ac_cv_lib_m_main = yes; then
36716 cat >>confdefs.h <<_ACEOF
36717 #define HAVE_LIBM 1
36718 _ACEOF
36720 LIBS="-lm $LIBS"
36725 for ac_func in copysignf
36727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36728 echo "$as_me:$LINENO: checking for $ac_func" >&5
36729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36730 if eval "test \"\${$as_ac_var+set}\" = set"; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 else
36733 if test x$gcc_no_link = xyes; then
36734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36736 { (exit 1); exit 1; }; }
36738 cat >conftest.$ac_ext <<_ACEOF
36739 /* confdefs.h. */
36740 _ACEOF
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36746 #define $ac_func innocuous_$ac_func
36748 /* System header to define __stub macros and hopefully few prototypes,
36749 which can conflict with char $ac_func (); below.
36750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36751 <limits.h> exists even on freestanding compilers. */
36753 #ifdef __STDC__
36754 # include <limits.h>
36755 #else
36756 # include <assert.h>
36757 #endif
36759 #undef $ac_func
36761 /* Override any gcc2 internal prototype to avoid an error. */
36762 #ifdef __cplusplus
36763 extern "C"
36765 #endif
36766 /* We use char because int might match the return type of a gcc2
36767 builtin and then its argument prototype would still apply. */
36768 char $ac_func ();
36769 /* The GNU C library defines this for functions which it implements
36770 to always fail with ENOSYS. Some functions are actually named
36771 something starting with __ and the normal name is an alias. */
36772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36773 choke me
36774 #else
36775 char (*f) () = $ac_func;
36776 #endif
36777 #ifdef __cplusplus
36779 #endif
36782 main ()
36784 return f != $ac_func;
36786 return 0;
36788 _ACEOF
36789 rm -f conftest.$ac_objext conftest$ac_exeext
36790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36791 (eval $ac_link) 2>conftest.er1
36792 ac_status=$?
36793 grep -v '^ *+' conftest.er1 >conftest.err
36794 rm -f conftest.er1
36795 cat conftest.err >&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); } &&
36798 { ac_try='test -z "$ac_c_werror_flag"
36799 || test ! -s conftest.err'
36800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36801 (eval $ac_try) 2>&5
36802 ac_status=$?
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); }; } &&
36805 { ac_try='test -s conftest$ac_exeext'
36806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 (eval $ac_try) 2>&5
36808 ac_status=$?
36809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 (exit $ac_status); }; }; then
36811 eval "$as_ac_var=yes"
36812 else
36813 echo "$as_me: failed program was:" >&5
36814 sed 's/^/| /' conftest.$ac_ext >&5
36816 eval "$as_ac_var=no"
36818 rm -f conftest.err conftest.$ac_objext \
36819 conftest$ac_exeext conftest.$ac_ext
36821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36823 if test `eval echo '${'$as_ac_var'}'` = yes; then
36824 cat >>confdefs.h <<_ACEOF
36825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36826 _ACEOF
36828 else
36829 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
36831 done
36835 for ac_func in __signbit
36837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36838 echo "$as_me:$LINENO: checking for $ac_func" >&5
36839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36840 if eval "test \"\${$as_ac_var+set}\" = set"; then
36841 echo $ECHO_N "(cached) $ECHO_C" >&6
36842 else
36843 if test x$gcc_no_link = xyes; then
36844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36846 { (exit 1); exit 1; }; }
36848 cat >conftest.$ac_ext <<_ACEOF
36849 /* confdefs.h. */
36850 _ACEOF
36851 cat confdefs.h >>conftest.$ac_ext
36852 cat >>conftest.$ac_ext <<_ACEOF
36853 /* end confdefs.h. */
36854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36856 #define $ac_func innocuous_$ac_func
36858 /* System header to define __stub macros and hopefully few prototypes,
36859 which can conflict with char $ac_func (); below.
36860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36861 <limits.h> exists even on freestanding compilers. */
36863 #ifdef __STDC__
36864 # include <limits.h>
36865 #else
36866 # include <assert.h>
36867 #endif
36869 #undef $ac_func
36871 /* Override any gcc2 internal prototype to avoid an error. */
36872 #ifdef __cplusplus
36873 extern "C"
36875 #endif
36876 /* We use char because int might match the return type of a gcc2
36877 builtin and then its argument prototype would still apply. */
36878 char $ac_func ();
36879 /* The GNU C library defines this for functions which it implements
36880 to always fail with ENOSYS. Some functions are actually named
36881 something starting with __ and the normal name is an alias. */
36882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36883 choke me
36884 #else
36885 char (*f) () = $ac_func;
36886 #endif
36887 #ifdef __cplusplus
36889 #endif
36892 main ()
36894 return f != $ac_func;
36896 return 0;
36898 _ACEOF
36899 rm -f conftest.$ac_objext conftest$ac_exeext
36900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36901 (eval $ac_link) 2>conftest.er1
36902 ac_status=$?
36903 grep -v '^ *+' conftest.er1 >conftest.err
36904 rm -f conftest.er1
36905 cat conftest.err >&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); } &&
36908 { ac_try='test -z "$ac_c_werror_flag"
36909 || test ! -s conftest.err'
36910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36911 (eval $ac_try) 2>&5
36912 ac_status=$?
36913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36914 (exit $ac_status); }; } &&
36915 { ac_try='test -s conftest$ac_exeext'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36918 ac_status=$?
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; }; then
36921 eval "$as_ac_var=yes"
36922 else
36923 echo "$as_me: failed program was:" >&5
36924 sed 's/^/| /' conftest.$ac_ext >&5
36926 eval "$as_ac_var=no"
36928 rm -f conftest.err conftest.$ac_objext \
36929 conftest$ac_exeext conftest.$ac_ext
36931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36933 if test `eval echo '${'$as_ac_var'}'` = yes; then
36934 cat >>confdefs.h <<_ACEOF
36935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36936 _ACEOF
36938 else
36939 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
36941 done
36945 for ac_func in __signbitf
36947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36948 echo "$as_me:$LINENO: checking for $ac_func" >&5
36949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36950 if eval "test \"\${$as_ac_var+set}\" = set"; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36952 else
36953 if test x$gcc_no_link = xyes; then
36954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36956 { (exit 1); exit 1; }; }
36958 cat >conftest.$ac_ext <<_ACEOF
36959 /* confdefs.h. */
36960 _ACEOF
36961 cat confdefs.h >>conftest.$ac_ext
36962 cat >>conftest.$ac_ext <<_ACEOF
36963 /* end confdefs.h. */
36964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36966 #define $ac_func innocuous_$ac_func
36968 /* System header to define __stub macros and hopefully few prototypes,
36969 which can conflict with char $ac_func (); below.
36970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36971 <limits.h> exists even on freestanding compilers. */
36973 #ifdef __STDC__
36974 # include <limits.h>
36975 #else
36976 # include <assert.h>
36977 #endif
36979 #undef $ac_func
36981 /* Override any gcc2 internal prototype to avoid an error. */
36982 #ifdef __cplusplus
36983 extern "C"
36985 #endif
36986 /* We use char because int might match the return type of a gcc2
36987 builtin and then its argument prototype would still apply. */
36988 char $ac_func ();
36989 /* The GNU C library defines this for functions which it implements
36990 to always fail with ENOSYS. Some functions are actually named
36991 something starting with __ and the normal name is an alias. */
36992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36993 choke me
36994 #else
36995 char (*f) () = $ac_func;
36996 #endif
36997 #ifdef __cplusplus
36999 #endif
37002 main ()
37004 return f != $ac_func;
37006 return 0;
37008 _ACEOF
37009 rm -f conftest.$ac_objext conftest$ac_exeext
37010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37011 (eval $ac_link) 2>conftest.er1
37012 ac_status=$?
37013 grep -v '^ *+' conftest.er1 >conftest.err
37014 rm -f conftest.er1
37015 cat conftest.err >&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); } &&
37018 { ac_try='test -z "$ac_c_werror_flag"
37019 || test ! -s conftest.err'
37020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37021 (eval $ac_try) 2>&5
37022 ac_status=$?
37023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024 (exit $ac_status); }; } &&
37025 { ac_try='test -s conftest$ac_exeext'
37026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37027 (eval $ac_try) 2>&5
37028 ac_status=$?
37029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37030 (exit $ac_status); }; }; then
37031 eval "$as_ac_var=yes"
37032 else
37033 echo "$as_me: failed program was:" >&5
37034 sed 's/^/| /' conftest.$ac_ext >&5
37036 eval "$as_ac_var=no"
37038 rm -f conftest.err conftest.$ac_objext \
37039 conftest$ac_exeext conftest.$ac_ext
37041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37043 if test `eval echo '${'$as_ac_var'}'` = yes; then
37044 cat >>confdefs.h <<_ACEOF
37045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37046 _ACEOF
37048 else
37049 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37051 done
37054 if test x$ac_cv_func_copysignl = x"yes"; then
37056 for ac_func in __signbitl
37058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37059 echo "$as_me:$LINENO: checking for $ac_func" >&5
37060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37061 if eval "test \"\${$as_ac_var+set}\" = set"; then
37062 echo $ECHO_N "(cached) $ECHO_C" >&6
37063 else
37064 if test x$gcc_no_link = xyes; then
37065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37067 { (exit 1); exit 1; }; }
37069 cat >conftest.$ac_ext <<_ACEOF
37070 /* confdefs.h. */
37071 _ACEOF
37072 cat confdefs.h >>conftest.$ac_ext
37073 cat >>conftest.$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37077 #define $ac_func innocuous_$ac_func
37079 /* System header to define __stub macros and hopefully few prototypes,
37080 which can conflict with char $ac_func (); below.
37081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37082 <limits.h> exists even on freestanding compilers. */
37084 #ifdef __STDC__
37085 # include <limits.h>
37086 #else
37087 # include <assert.h>
37088 #endif
37090 #undef $ac_func
37092 /* Override any gcc2 internal prototype to avoid an error. */
37093 #ifdef __cplusplus
37094 extern "C"
37096 #endif
37097 /* We use char because int might match the return type of a gcc2
37098 builtin and then its argument prototype would still apply. */
37099 char $ac_func ();
37100 /* The GNU C library defines this for functions which it implements
37101 to always fail with ENOSYS. Some functions are actually named
37102 something starting with __ and the normal name is an alias. */
37103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37104 choke me
37105 #else
37106 char (*f) () = $ac_func;
37107 #endif
37108 #ifdef __cplusplus
37110 #endif
37113 main ()
37115 return f != $ac_func;
37117 return 0;
37119 _ACEOF
37120 rm -f conftest.$ac_objext conftest$ac_exeext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37122 (eval $ac_link) 2>conftest.er1
37123 ac_status=$?
37124 grep -v '^ *+' conftest.er1 >conftest.err
37125 rm -f conftest.er1
37126 cat conftest.err >&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try='test -z "$ac_c_werror_flag"
37130 || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37133 ac_status=$?
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try='test -s conftest$ac_exeext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37142 eval "$as_ac_var=yes"
37143 else
37144 echo "$as_me: failed program was:" >&5
37145 sed 's/^/| /' conftest.$ac_ext >&5
37147 eval "$as_ac_var=no"
37149 rm -f conftest.err conftest.$ac_objext \
37150 conftest$ac_exeext conftest.$ac_ext
37152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37154 if test `eval echo '${'$as_ac_var'}'` = yes; then
37155 cat >>confdefs.h <<_ACEOF
37156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37159 else
37160 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37162 done
37166 # Used in libmath/Makefile.am.
37167 if test -n "$LIBMATHOBJS"; then
37168 need_libmath=yes
37173 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37174 ac_save_CXXFLAGS="$CXXFLAGS"
37175 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37178 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37179 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37180 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37181 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 else
37187 ac_ext=cc
37188 ac_cpp='$CXXCPP $CPPFLAGS'
37189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37193 cat >conftest.$ac_ext <<_ACEOF
37194 /* confdefs.h. */
37195 _ACEOF
37196 cat confdefs.h >>conftest.$ac_ext
37197 cat >>conftest.$ac_ext <<_ACEOF
37198 /* end confdefs.h. */
37199 #include <stdlib.h>
37201 main ()
37203 strtold(0, 0);
37205 return 0;
37207 _ACEOF
37208 rm -f conftest.$ac_objext
37209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37210 (eval $ac_compile) 2>conftest.er1
37211 ac_status=$?
37212 grep -v '^ *+' conftest.er1 >conftest.err
37213 rm -f conftest.er1
37214 cat conftest.err >&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); } &&
37217 { ac_try='test -z "$ac_cxx_werror_flag"
37218 || test ! -s conftest.err'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37221 ac_status=$?
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; } &&
37224 { ac_try='test -s conftest.$ac_objext'
37225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37226 (eval $ac_try) 2>&5
37227 ac_status=$?
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); }; }; then
37230 glibcxx_cv_func_strtold_use=yes
37231 else
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.$ac_ext >&5
37235 glibcxx_cv_func_strtold_use=no
37237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37238 ac_ext=c
37239 ac_cpp='$CPP $CPPFLAGS'
37240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37249 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37250 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37252 for ac_func in strtold
37254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37255 echo "$as_me:$LINENO: checking for $ac_func" >&5
37256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37257 if eval "test \"\${$as_ac_var+set}\" = set"; then
37258 echo $ECHO_N "(cached) $ECHO_C" >&6
37259 else
37260 if test x$gcc_no_link = xyes; then
37261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37263 { (exit 1); exit 1; }; }
37265 cat >conftest.$ac_ext <<_ACEOF
37266 /* confdefs.h. */
37267 _ACEOF
37268 cat confdefs.h >>conftest.$ac_ext
37269 cat >>conftest.$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37273 #define $ac_func innocuous_$ac_func
37275 /* System header to define __stub macros and hopefully few prototypes,
37276 which can conflict with char $ac_func (); below.
37277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37278 <limits.h> exists even on freestanding compilers. */
37280 #ifdef __STDC__
37281 # include <limits.h>
37282 #else
37283 # include <assert.h>
37284 #endif
37286 #undef $ac_func
37288 /* Override any gcc2 internal prototype to avoid an error. */
37289 #ifdef __cplusplus
37290 extern "C"
37292 #endif
37293 /* We use char because int might match the return type of a gcc2
37294 builtin and then its argument prototype would still apply. */
37295 char $ac_func ();
37296 /* The GNU C library defines this for functions which it implements
37297 to always fail with ENOSYS. Some functions are actually named
37298 something starting with __ and the normal name is an alias. */
37299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37300 choke me
37301 #else
37302 char (*f) () = $ac_func;
37303 #endif
37304 #ifdef __cplusplus
37306 #endif
37309 main ()
37311 return f != $ac_func;
37313 return 0;
37315 _ACEOF
37316 rm -f conftest.$ac_objext conftest$ac_exeext
37317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37318 (eval $ac_link) 2>conftest.er1
37319 ac_status=$?
37320 grep -v '^ *+' conftest.er1 >conftest.err
37321 rm -f conftest.er1
37322 cat conftest.err >&5
37323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324 (exit $ac_status); } &&
37325 { ac_try='test -z "$ac_c_werror_flag"
37326 || test ! -s conftest.err'
37327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37328 (eval $ac_try) 2>&5
37329 ac_status=$?
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); }; } &&
37332 { ac_try='test -s conftest$ac_exeext'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37335 ac_status=$?
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; }; then
37338 eval "$as_ac_var=yes"
37339 else
37340 echo "$as_me: failed program was:" >&5
37341 sed 's/^/| /' conftest.$ac_ext >&5
37343 eval "$as_ac_var=no"
37345 rm -f conftest.err conftest.$ac_objext \
37346 conftest$ac_exeext conftest.$ac_ext
37348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37350 if test `eval echo '${'$as_ac_var'}'` = yes; then
37351 cat >>confdefs.h <<_ACEOF
37352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37353 _ACEOF
37356 done
37364 echo "$as_me:$LINENO: checking for strtof declaration" >&5
37365 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
37366 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37367 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37368 echo $ECHO_N "(cached) $ECHO_C" >&6
37369 else
37373 ac_ext=cc
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37379 cat >conftest.$ac_ext <<_ACEOF
37380 /* confdefs.h. */
37381 _ACEOF
37382 cat confdefs.h >>conftest.$ac_ext
37383 cat >>conftest.$ac_ext <<_ACEOF
37384 /* end confdefs.h. */
37385 #include <stdlib.h>
37387 main ()
37389 strtof(0, 0);
37391 return 0;
37393 _ACEOF
37394 rm -f conftest.$ac_objext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37396 (eval $ac_compile) 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -z "$ac_cxx_werror_flag"
37404 || test ! -s conftest.err'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; } &&
37410 { ac_try='test -s conftest.$ac_objext'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; }; then
37416 glibcxx_cv_func_strtof_use=yes
37417 else
37418 echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37421 glibcxx_cv_func_strtof_use=no
37423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37424 ac_ext=c
37425 ac_cpp='$CPP $CPPFLAGS'
37426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37435 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37436 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37438 for ac_func in strtof
37440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37441 echo "$as_me:$LINENO: checking for $ac_func" >&5
37442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37443 if eval "test \"\${$as_ac_var+set}\" = set"; then
37444 echo $ECHO_N "(cached) $ECHO_C" >&6
37445 else
37446 if test x$gcc_no_link = xyes; then
37447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37449 { (exit 1); exit 1; }; }
37451 cat >conftest.$ac_ext <<_ACEOF
37452 /* confdefs.h. */
37453 _ACEOF
37454 cat confdefs.h >>conftest.$ac_ext
37455 cat >>conftest.$ac_ext <<_ACEOF
37456 /* end confdefs.h. */
37457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37459 #define $ac_func innocuous_$ac_func
37461 /* System header to define __stub macros and hopefully few prototypes,
37462 which can conflict with char $ac_func (); below.
37463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37464 <limits.h> exists even on freestanding compilers. */
37466 #ifdef __STDC__
37467 # include <limits.h>
37468 #else
37469 # include <assert.h>
37470 #endif
37472 #undef $ac_func
37474 /* Override any gcc2 internal prototype to avoid an error. */
37475 #ifdef __cplusplus
37476 extern "C"
37478 #endif
37479 /* We use char because int might match the return type of a gcc2
37480 builtin and then its argument prototype would still apply. */
37481 char $ac_func ();
37482 /* The GNU C library defines this for functions which it implements
37483 to always fail with ENOSYS. Some functions are actually named
37484 something starting with __ and the normal name is an alias. */
37485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37486 choke me
37487 #else
37488 char (*f) () = $ac_func;
37489 #endif
37490 #ifdef __cplusplus
37492 #endif
37495 main ()
37497 return f != $ac_func;
37499 return 0;
37501 _ACEOF
37502 rm -f conftest.$ac_objext conftest$ac_exeext
37503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37504 (eval $ac_link) 2>conftest.er1
37505 ac_status=$?
37506 grep -v '^ *+' conftest.er1 >conftest.err
37507 rm -f conftest.er1
37508 cat conftest.err >&5
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); } &&
37511 { ac_try='test -z "$ac_c_werror_flag"
37512 || test ! -s conftest.err'
37513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37514 (eval $ac_try) 2>&5
37515 ac_status=$?
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); }; } &&
37518 { ac_try='test -s conftest$ac_exeext'
37519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37520 (eval $ac_try) 2>&5
37521 ac_status=$?
37522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37523 (exit $ac_status); }; }; then
37524 eval "$as_ac_var=yes"
37525 else
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.$ac_ext >&5
37529 eval "$as_ac_var=no"
37531 rm -f conftest.err conftest.$ac_objext \
37532 conftest$ac_exeext conftest.$ac_ext
37534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37536 if test `eval echo '${'$as_ac_var'}'` = yes; then
37537 cat >>confdefs.h <<_ACEOF
37538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37539 _ACEOF
37542 done
37550 CXXFLAGS="$ac_save_CXXFLAGS"
37553 # For showmanyc_helper().
37556 for ac_header in sys/ioctl.h sys/filio.h
37558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37560 echo "$as_me:$LINENO: checking for $ac_header" >&5
37561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37563 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37567 else
37568 # Is the header compilable?
37569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37571 cat >conftest.$ac_ext <<_ACEOF
37572 /* confdefs.h. */
37573 _ACEOF
37574 cat confdefs.h >>conftest.$ac_ext
37575 cat >>conftest.$ac_ext <<_ACEOF
37576 /* end confdefs.h. */
37577 $ac_includes_default
37578 #include <$ac_header>
37579 _ACEOF
37580 rm -f conftest.$ac_objext
37581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37582 (eval $ac_compile) 2>conftest.er1
37583 ac_status=$?
37584 grep -v '^ *+' conftest.er1 >conftest.err
37585 rm -f conftest.er1
37586 cat conftest.err >&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); } &&
37589 { ac_try='test -z "$ac_c_werror_flag"
37590 || test ! -s conftest.err'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37593 ac_status=$?
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; } &&
37596 { ac_try='test -s conftest.$ac_objext'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37599 ac_status=$?
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; }; then
37602 ac_header_compiler=yes
37603 else
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37607 ac_header_compiler=no
37609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37611 echo "${ECHO_T}$ac_header_compiler" >&6
37613 # Is the header present?
37614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 #include <$ac_header>
37623 _ACEOF
37624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37626 ac_status=$?
37627 grep -v '^ *+' conftest.er1 >conftest.err
37628 rm -f conftest.er1
37629 cat conftest.err >&5
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); } >/dev/null; then
37632 if test -s conftest.err; then
37633 ac_cpp_err=$ac_c_preproc_warn_flag
37634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37635 else
37636 ac_cpp_err=
37638 else
37639 ac_cpp_err=yes
37641 if test -z "$ac_cpp_err"; then
37642 ac_header_preproc=yes
37643 else
37644 echo "$as_me: failed program was:" >&5
37645 sed 's/^/| /' conftest.$ac_ext >&5
37647 ac_header_preproc=no
37649 rm -f conftest.err conftest.$ac_ext
37650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37651 echo "${ECHO_T}$ac_header_preproc" >&6
37653 # So? What about this header?
37654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37655 yes:no: )
37656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37660 ac_header_preproc=yes
37662 no:yes:* )
37663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37676 cat <<\_ASBOX
37677 ## ----------------------------------------- ##
37678 ## Report this to the package-unused lists. ##
37679 ## ----------------------------------------- ##
37680 _ASBOX
37682 sed "s/^/$as_me: WARNING: /" >&2
37684 esac
37685 echo "$as_me:$LINENO: checking for $ac_header" >&5
37686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37689 else
37690 eval "$as_ac_Header=\$ac_header_preproc"
37692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37697 cat >>confdefs.h <<_ACEOF
37698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37699 _ACEOF
37703 done
37706 echo "$as_me:$LINENO: checking for poll" >&5
37707 echo $ECHO_N "checking for poll... $ECHO_C" >&6
37708 if test "${glibcxx_cv_POLL+set}" = set; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37712 if test x$gcc_no_link = xyes; then
37713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37715 { (exit 1); exit 1; }; }
37717 cat >conftest.$ac_ext <<_ACEOF
37718 /* confdefs.h. */
37719 _ACEOF
37720 cat confdefs.h >>conftest.$ac_ext
37721 cat >>conftest.$ac_ext <<_ACEOF
37722 /* end confdefs.h. */
37723 #include <poll.h>
37725 main ()
37727 struct pollfd pfd[1];
37728 pfd[0].events = POLLIN;
37729 poll(pfd, 1, 0);
37731 return 0;
37733 _ACEOF
37734 rm -f conftest.$ac_objext conftest$ac_exeext
37735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37736 (eval $ac_link) 2>conftest.er1
37737 ac_status=$?
37738 grep -v '^ *+' conftest.er1 >conftest.err
37739 rm -f conftest.er1
37740 cat conftest.err >&5
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); } &&
37743 { ac_try='test -z "$ac_c_werror_flag"
37744 || test ! -s conftest.err'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37747 ac_status=$?
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; } &&
37750 { ac_try='test -s conftest$ac_exeext'
37751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37752 (eval $ac_try) 2>&5
37753 ac_status=$?
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); }; }; then
37756 glibcxx_cv_POLL=yes
37757 else
37758 echo "$as_me: failed program was:" >&5
37759 sed 's/^/| /' conftest.$ac_ext >&5
37761 glibcxx_cv_POLL=no
37763 rm -f conftest.err conftest.$ac_objext \
37764 conftest$ac_exeext conftest.$ac_ext
37768 if test $glibcxx_cv_POLL = yes; then
37770 cat >>confdefs.h <<\_ACEOF
37771 #define HAVE_POLL 1
37772 _ACEOF
37775 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
37776 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
37779 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
37780 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
37781 if test "${glibcxx_cv_S_ISREG+set}" = set; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 else
37785 if test x$gcc_no_link = xyes; then
37786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37788 { (exit 1); exit 1; }; }
37790 cat >conftest.$ac_ext <<_ACEOF
37791 /* confdefs.h. */
37792 _ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37796 #include <sys/stat.h>
37798 main ()
37800 struct stat buffer;
37801 fstat(0, &buffer);
37802 S_ISREG(buffer.st_mode);
37804 return 0;
37806 _ACEOF
37807 rm -f conftest.$ac_objext conftest$ac_exeext
37808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37809 (eval $ac_link) 2>conftest.er1
37810 ac_status=$?
37811 grep -v '^ *+' conftest.er1 >conftest.err
37812 rm -f conftest.er1
37813 cat conftest.err >&5
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); } &&
37816 { ac_try='test -z "$ac_c_werror_flag"
37817 || test ! -s conftest.err'
37818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37819 (eval $ac_try) 2>&5
37820 ac_status=$?
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); }; } &&
37823 { ac_try='test -s conftest$ac_exeext'
37824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37825 (eval $ac_try) 2>&5
37826 ac_status=$?
37827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37828 (exit $ac_status); }; }; then
37829 glibcxx_cv_S_ISREG=yes
37830 else
37831 echo "$as_me: failed program was:" >&5
37832 sed 's/^/| /' conftest.$ac_ext >&5
37834 glibcxx_cv_S_ISREG=no
37836 rm -f conftest.err conftest.$ac_objext \
37837 conftest$ac_exeext conftest.$ac_ext
37841 if test "${glibcxx_cv_S_IFREG+set}" = set; then
37842 echo $ECHO_N "(cached) $ECHO_C" >&6
37843 else
37845 if test x$gcc_no_link = xyes; then
37846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37848 { (exit 1); exit 1; }; }
37850 cat >conftest.$ac_ext <<_ACEOF
37851 /* confdefs.h. */
37852 _ACEOF
37853 cat confdefs.h >>conftest.$ac_ext
37854 cat >>conftest.$ac_ext <<_ACEOF
37855 /* end confdefs.h. */
37856 #include <sys/stat.h>
37858 main ()
37860 struct stat buffer;
37861 fstat(0, &buffer);
37862 S_IFREG & buffer.st_mode;
37864 return 0;
37866 _ACEOF
37867 rm -f conftest.$ac_objext conftest$ac_exeext
37868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37869 (eval $ac_link) 2>conftest.er1
37870 ac_status=$?
37871 grep -v '^ *+' conftest.er1 >conftest.err
37872 rm -f conftest.er1
37873 cat conftest.err >&5
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); } &&
37876 { ac_try='test -z "$ac_c_werror_flag"
37877 || test ! -s conftest.err'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37880 ac_status=$?
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; } &&
37883 { ac_try='test -s conftest$ac_exeext'
37884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37885 (eval $ac_try) 2>&5
37886 ac_status=$?
37887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37888 (exit $ac_status); }; }; then
37889 glibcxx_cv_S_IFREG=yes
37890 else
37891 echo "$as_me: failed program was:" >&5
37892 sed 's/^/| /' conftest.$ac_ext >&5
37894 glibcxx_cv_S_IFREG=no
37896 rm -f conftest.err conftest.$ac_objext \
37897 conftest$ac_exeext conftest.$ac_ext
37901 res=no
37902 if test $glibcxx_cv_S_ISREG = yes; then
37904 cat >>confdefs.h <<\_ACEOF
37905 #define HAVE_S_ISREG 1
37906 _ACEOF
37908 res=S_ISREG
37909 elif test $glibcxx_cv_S_IFREG = yes; then
37911 cat >>confdefs.h <<\_ACEOF
37912 #define HAVE_S_IFREG 1
37913 _ACEOF
37915 res=S_IFREG
37917 echo "$as_me:$LINENO: result: $res" >&5
37918 echo "${ECHO_T}$res" >&6
37921 # For xsputn_2().
37923 for ac_header in sys/uio.h
37925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37927 echo "$as_me:$LINENO: checking for $ac_header" >&5
37928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37930 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37934 else
37935 # Is the header compilable?
37936 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37937 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37938 cat >conftest.$ac_ext <<_ACEOF
37939 /* confdefs.h. */
37940 _ACEOF
37941 cat confdefs.h >>conftest.$ac_ext
37942 cat >>conftest.$ac_ext <<_ACEOF
37943 /* end confdefs.h. */
37944 $ac_includes_default
37945 #include <$ac_header>
37946 _ACEOF
37947 rm -f conftest.$ac_objext
37948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37949 (eval $ac_compile) 2>conftest.er1
37950 ac_status=$?
37951 grep -v '^ *+' conftest.er1 >conftest.err
37952 rm -f conftest.er1
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } &&
37956 { ac_try='test -z "$ac_c_werror_flag"
37957 || test ! -s conftest.err'
37958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37959 (eval $ac_try) 2>&5
37960 ac_status=$?
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); }; } &&
37963 { ac_try='test -s conftest.$ac_objext'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; }; then
37969 ac_header_compiler=yes
37970 else
37971 echo "$as_me: failed program was:" >&5
37972 sed 's/^/| /' conftest.$ac_ext >&5
37974 ac_header_compiler=no
37976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37977 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37978 echo "${ECHO_T}$ac_header_compiler" >&6
37980 # Is the header present?
37981 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37983 cat >conftest.$ac_ext <<_ACEOF
37984 /* confdefs.h. */
37985 _ACEOF
37986 cat confdefs.h >>conftest.$ac_ext
37987 cat >>conftest.$ac_ext <<_ACEOF
37988 /* end confdefs.h. */
37989 #include <$ac_header>
37990 _ACEOF
37991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37993 ac_status=$?
37994 grep -v '^ *+' conftest.er1 >conftest.err
37995 rm -f conftest.er1
37996 cat conftest.err >&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } >/dev/null; then
37999 if test -s conftest.err; then
38000 ac_cpp_err=$ac_c_preproc_warn_flag
38001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38002 else
38003 ac_cpp_err=
38005 else
38006 ac_cpp_err=yes
38008 if test -z "$ac_cpp_err"; then
38009 ac_header_preproc=yes
38010 else
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38014 ac_header_preproc=no
38016 rm -f conftest.err conftest.$ac_ext
38017 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38018 echo "${ECHO_T}$ac_header_preproc" >&6
38020 # So? What about this header?
38021 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38022 yes:no: )
38023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38027 ac_header_preproc=yes
38029 no:yes:* )
38030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38043 cat <<\_ASBOX
38044 ## ----------------------------------------- ##
38045 ## Report this to the package-unused lists. ##
38046 ## ----------------------------------------- ##
38047 _ASBOX
38049 sed "s/^/$as_me: WARNING: /" >&2
38051 esac
38052 echo "$as_me:$LINENO: checking for $ac_header" >&5
38053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38055 echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057 eval "$as_ac_Header=\$ac_header_preproc"
38059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38064 cat >>confdefs.h <<_ACEOF
38065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38066 _ACEOF
38070 done
38073 echo "$as_me:$LINENO: checking for writev" >&5
38074 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38075 if test "${glibcxx_cv_WRITEV+set}" = set; then
38076 echo $ECHO_N "(cached) $ECHO_C" >&6
38077 else
38079 if test x$gcc_no_link = xyes; then
38080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38082 { (exit 1); exit 1; }; }
38084 cat >conftest.$ac_ext <<_ACEOF
38085 /* confdefs.h. */
38086 _ACEOF
38087 cat confdefs.h >>conftest.$ac_ext
38088 cat >>conftest.$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38090 #include <sys/uio.h>
38092 main ()
38094 struct iovec iov[2];
38095 writev(0, iov, 0);
38097 return 0;
38099 _ACEOF
38100 rm -f conftest.$ac_objext conftest$ac_exeext
38101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38102 (eval $ac_link) 2>conftest.er1
38103 ac_status=$?
38104 grep -v '^ *+' conftest.er1 >conftest.err
38105 rm -f conftest.er1
38106 cat conftest.err >&5
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); } &&
38109 { ac_try='test -z "$ac_c_werror_flag"
38110 || test ! -s conftest.err'
38111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38112 (eval $ac_try) 2>&5
38113 ac_status=$?
38114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38115 (exit $ac_status); }; } &&
38116 { ac_try='test -s conftest$ac_exeext'
38117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38118 (eval $ac_try) 2>&5
38119 ac_status=$?
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); }; }; then
38122 glibcxx_cv_WRITEV=yes
38123 else
38124 echo "$as_me: failed program was:" >&5
38125 sed 's/^/| /' conftest.$ac_ext >&5
38127 glibcxx_cv_WRITEV=no
38129 rm -f conftest.err conftest.$ac_objext \
38130 conftest$ac_exeext conftest.$ac_ext
38134 if test $glibcxx_cv_WRITEV = yes; then
38136 cat >>confdefs.h <<\_ACEOF
38137 #define HAVE_WRITEV 1
38138 _ACEOF
38141 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38142 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38145 # For the __streamoff_base_type typedef.
38147 echo "$as_me:$LINENO: checking for int64_t" >&5
38148 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38149 if test "${glibcxx_cv_INT64_T+set}" = set; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38153 cat >conftest.$ac_ext <<_ACEOF
38154 /* confdefs.h. */
38155 _ACEOF
38156 cat confdefs.h >>conftest.$ac_ext
38157 cat >>conftest.$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 #include <stdint.h>
38161 main ()
38163 int64_t var;
38165 return 0;
38167 _ACEOF
38168 rm -f conftest.$ac_objext
38169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38170 (eval $ac_compile) 2>conftest.er1
38171 ac_status=$?
38172 grep -v '^ *+' conftest.er1 >conftest.err
38173 rm -f conftest.er1
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176 (exit $ac_status); } &&
38177 { ac_try='test -z "$ac_c_werror_flag"
38178 || test ! -s conftest.err'
38179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38180 (eval $ac_try) 2>&5
38181 ac_status=$?
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); }; } &&
38184 { ac_try='test -s conftest.$ac_objext'
38185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38186 (eval $ac_try) 2>&5
38187 ac_status=$?
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); }; }; then
38190 glibcxx_cv_INT64_T=yes
38191 else
38192 echo "$as_me: failed program was:" >&5
38193 sed 's/^/| /' conftest.$ac_ext >&5
38195 glibcxx_cv_INT64_T=no
38197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38201 if test $glibcxx_cv_INT64_T = yes; then
38203 cat >>confdefs.h <<\_ACEOF
38204 #define HAVE_INT64_T 1
38205 _ACEOF
38208 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38209 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38212 # For LFS support.
38216 ac_ext=cc
38217 ac_cpp='$CXXCPP $CPPFLAGS'
38218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38222 ac_save_CXXFLAGS="$CXXFLAGS"
38223 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38224 echo "$as_me:$LINENO: checking for LFS support" >&5
38225 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38226 if test "${glibcxx_cv_LFS+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38230 if test x$gcc_no_link = xyes; then
38231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38233 { (exit 1); exit 1; }; }
38235 cat >conftest.$ac_ext <<_ACEOF
38236 /* confdefs.h. */
38237 _ACEOF
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h. */
38241 #include <unistd.h>
38242 #include <stdio.h>
38243 #include <sys/stat.h>
38246 main ()
38248 FILE* fp;
38249 fopen64("t", "w");
38250 fseeko64(fp, 0, SEEK_CUR);
38251 ftello64(fp);
38252 lseek64(1, 0, SEEK_CUR);
38253 struct stat64 buf;
38254 fstat64(1, &buf);
38256 return 0;
38258 _ACEOF
38259 rm -f conftest.$ac_objext conftest$ac_exeext
38260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38261 (eval $ac_link) 2>conftest.er1
38262 ac_status=$?
38263 grep -v '^ *+' conftest.er1 >conftest.err
38264 rm -f conftest.er1
38265 cat conftest.err >&5
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); } &&
38268 { ac_try='test -z "$ac_cxx_werror_flag"
38269 || test ! -s conftest.err'
38270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38271 (eval $ac_try) 2>&5
38272 ac_status=$?
38273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38274 (exit $ac_status); }; } &&
38275 { ac_try='test -s conftest$ac_exeext'
38276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38277 (eval $ac_try) 2>&5
38278 ac_status=$?
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); }; }; then
38281 glibcxx_cv_LFS=yes
38282 else
38283 echo "$as_me: failed program was:" >&5
38284 sed 's/^/| /' conftest.$ac_ext >&5
38286 glibcxx_cv_LFS=no
38288 rm -f conftest.err conftest.$ac_objext \
38289 conftest$ac_exeext conftest.$ac_ext
38293 if test $glibcxx_cv_LFS = yes; then
38295 cat >>confdefs.h <<\_ACEOF
38296 #define _GLIBCXX_USE_LFS 1
38297 _ACEOF
38300 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38301 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38302 CXXFLAGS="$ac_save_CXXFLAGS"
38303 ac_ext=c
38304 ac_cpp='$CPP $CPPFLAGS'
38305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38311 # For C99 support to TR1.
38316 ac_ext=cc
38317 ac_cpp='$CXXCPP $CPPFLAGS'
38318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38323 # Check for the existence of <complex.h> complex math functions used
38324 # by tr1/complex.
38326 for ac_header in complex.h
38328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38330 echo "$as_me:$LINENO: checking for $ac_header" >&5
38331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38333 echo $ECHO_N "(cached) $ECHO_C" >&6
38335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38337 else
38338 # Is the header compilable?
38339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38341 cat >conftest.$ac_ext <<_ACEOF
38342 /* confdefs.h. */
38343 _ACEOF
38344 cat confdefs.h >>conftest.$ac_ext
38345 cat >>conftest.$ac_ext <<_ACEOF
38346 /* end confdefs.h. */
38347 $ac_includes_default
38348 #include <$ac_header>
38349 _ACEOF
38350 rm -f conftest.$ac_objext
38351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38352 (eval $ac_compile) 2>conftest.er1
38353 ac_status=$?
38354 grep -v '^ *+' conftest.er1 >conftest.err
38355 rm -f conftest.er1
38356 cat conftest.err >&5
38357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358 (exit $ac_status); } &&
38359 { ac_try='test -z "$ac_cxx_werror_flag"
38360 || test ! -s conftest.err'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38363 ac_status=$?
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; } &&
38366 { ac_try='test -s conftest.$ac_objext'
38367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38368 (eval $ac_try) 2>&5
38369 ac_status=$?
38370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38371 (exit $ac_status); }; }; then
38372 ac_header_compiler=yes
38373 else
38374 echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.$ac_ext >&5
38377 ac_header_compiler=no
38379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38381 echo "${ECHO_T}$ac_header_compiler" >&6
38383 # Is the header present?
38384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38386 cat >conftest.$ac_ext <<_ACEOF
38387 /* confdefs.h. */
38388 _ACEOF
38389 cat confdefs.h >>conftest.$ac_ext
38390 cat >>conftest.$ac_ext <<_ACEOF
38391 /* end confdefs.h. */
38392 #include <$ac_header>
38393 _ACEOF
38394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38396 ac_status=$?
38397 grep -v '^ *+' conftest.er1 >conftest.err
38398 rm -f conftest.er1
38399 cat conftest.err >&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } >/dev/null; then
38402 if test -s conftest.err; then
38403 ac_cpp_err=$ac_cxx_preproc_warn_flag
38404 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38405 else
38406 ac_cpp_err=
38408 else
38409 ac_cpp_err=yes
38411 if test -z "$ac_cpp_err"; then
38412 ac_header_preproc=yes
38413 else
38414 echo "$as_me: failed program was:" >&5
38415 sed 's/^/| /' conftest.$ac_ext >&5
38417 ac_header_preproc=no
38419 rm -f conftest.err conftest.$ac_ext
38420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38421 echo "${ECHO_T}$ac_header_preproc" >&6
38423 # So? What about this header?
38424 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38425 yes:no: )
38426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38430 ac_header_preproc=yes
38432 no:yes:* )
38433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38446 cat <<\_ASBOX
38447 ## ----------------------------------------- ##
38448 ## Report this to the package-unused lists. ##
38449 ## ----------------------------------------- ##
38450 _ASBOX
38452 sed "s/^/$as_me: WARNING: /" >&2
38454 esac
38455 echo "$as_me:$LINENO: checking for $ac_header" >&5
38456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460 eval "$as_ac_Header=\$ac_header_preproc"
38462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38467 cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38469 _ACEOF
38470 ac_has_complex_h=yes
38471 else
38472 ac_has_complex_h=no
38475 done
38477 ac_c99_complex_tr1=no;
38478 if test x"$ac_has_complex_h" = x"yes"; then
38479 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38480 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
38481 cat >conftest.$ac_ext <<_ACEOF
38482 /* confdefs.h. */
38483 _ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h. */
38487 #include <complex.h>
38489 main ()
38491 typedef __complex__ float float_type; float_type tmpf;
38492 cacosf(tmpf);
38493 casinf(tmpf);
38494 catanf(tmpf);
38495 cacoshf(tmpf);
38496 casinhf(tmpf);
38497 catanhf(tmpf);
38498 typedef __complex__ double double_type; double_type tmpd;
38499 cacos(tmpd);
38500 casin(tmpd);
38501 catan(tmpd);
38502 cacosh(tmpd);
38503 casinh(tmpd);
38504 catanh(tmpd);
38505 typedef __complex__ long double ld_type; ld_type tmpld;
38506 cacosl(tmpld);
38507 casinl(tmpld);
38508 catanl(tmpld);
38509 cacoshl(tmpld);
38510 casinhl(tmpld);
38511 catanhl(tmpld);
38514 return 0;
38516 _ACEOF
38517 rm -f conftest.$ac_objext
38518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38519 (eval $ac_compile) 2>conftest.er1
38520 ac_status=$?
38521 grep -v '^ *+' conftest.er1 >conftest.err
38522 rm -f conftest.er1
38523 cat conftest.err >&5
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); } &&
38526 { ac_try='test -z "$ac_cxx_werror_flag"
38527 || test ! -s conftest.err'
38528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38529 (eval $ac_try) 2>&5
38530 ac_status=$?
38531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38532 (exit $ac_status); }; } &&
38533 { ac_try='test -s conftest.$ac_objext'
38534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535 (eval $ac_try) 2>&5
38536 ac_status=$?
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); }; }; then
38539 ac_c99_complex_tr1=yes
38540 else
38541 echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.$ac_ext >&5
38544 ac_c99_complex_tr1=no
38546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38548 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
38549 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
38550 if test x"$ac_c99_complex_tr1" = x"yes"; then
38552 cat >>confdefs.h <<\_ACEOF
38553 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
38554 _ACEOF
38558 # Check for the existence of <ctype.h> functions.
38559 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
38560 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
38561 if test "${ac_c99_ctype_tr1+set}" = set; then
38562 echo $ECHO_N "(cached) $ECHO_C" >&6
38563 else
38565 cat >conftest.$ac_ext <<_ACEOF
38566 /* confdefs.h. */
38567 _ACEOF
38568 cat confdefs.h >>conftest.$ac_ext
38569 cat >>conftest.$ac_ext <<_ACEOF
38570 /* end confdefs.h. */
38571 #include <ctype.h>
38573 main ()
38575 int ch;
38576 int ret;
38577 ret = isblank(ch);
38580 return 0;
38582 _ACEOF
38583 rm -f conftest.$ac_objext
38584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38585 (eval $ac_compile) 2>conftest.er1
38586 ac_status=$?
38587 grep -v '^ *+' conftest.er1 >conftest.err
38588 rm -f conftest.er1
38589 cat conftest.err >&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); } &&
38592 { ac_try='test -z "$ac_cxx_werror_flag"
38593 || test ! -s conftest.err'
38594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38595 (eval $ac_try) 2>&5
38596 ac_status=$?
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); }; } &&
38599 { ac_try='test -s conftest.$ac_objext'
38600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38601 (eval $ac_try) 2>&5
38602 ac_status=$?
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); }; }; then
38605 ac_c99_ctype_tr1=yes
38606 else
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38610 ac_c99_ctype_tr1=no
38612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38616 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
38617 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
38618 if test x"$ac_c99_ctype_tr1" = x"yes"; then
38620 cat >>confdefs.h <<\_ACEOF
38621 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
38622 _ACEOF
38626 # Check for the existence of <fenv.h> functions.
38628 for ac_header in fenv.h
38630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38632 echo "$as_me:$LINENO: checking for $ac_header" >&5
38633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38635 echo $ECHO_N "(cached) $ECHO_C" >&6
38637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38639 else
38640 # Is the header compilable?
38641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38643 cat >conftest.$ac_ext <<_ACEOF
38644 /* confdefs.h. */
38645 _ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 $ac_includes_default
38650 #include <$ac_header>
38651 _ACEOF
38652 rm -f conftest.$ac_objext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38654 (eval $ac_compile) 2>conftest.er1
38655 ac_status=$?
38656 grep -v '^ *+' conftest.er1 >conftest.err
38657 rm -f conftest.er1
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } &&
38661 { ac_try='test -z "$ac_cxx_werror_flag"
38662 || test ! -s conftest.err'
38663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664 (eval $ac_try) 2>&5
38665 ac_status=$?
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); }; } &&
38668 { ac_try='test -s conftest.$ac_objext'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; }; then
38674 ac_header_compiler=yes
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38679 ac_header_compiler=no
38681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38683 echo "${ECHO_T}$ac_header_compiler" >&6
38685 # Is the header present?
38686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38688 cat >conftest.$ac_ext <<_ACEOF
38689 /* confdefs.h. */
38690 _ACEOF
38691 cat confdefs.h >>conftest.$ac_ext
38692 cat >>conftest.$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694 #include <$ac_header>
38695 _ACEOF
38696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38698 ac_status=$?
38699 grep -v '^ *+' conftest.er1 >conftest.err
38700 rm -f conftest.er1
38701 cat conftest.err >&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); } >/dev/null; then
38704 if test -s conftest.err; then
38705 ac_cpp_err=$ac_cxx_preproc_warn_flag
38706 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38707 else
38708 ac_cpp_err=
38710 else
38711 ac_cpp_err=yes
38713 if test -z "$ac_cpp_err"; then
38714 ac_header_preproc=yes
38715 else
38716 echo "$as_me: failed program was:" >&5
38717 sed 's/^/| /' conftest.$ac_ext >&5
38719 ac_header_preproc=no
38721 rm -f conftest.err conftest.$ac_ext
38722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38723 echo "${ECHO_T}$ac_header_preproc" >&6
38725 # So? What about this header?
38726 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38727 yes:no: )
38728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38732 ac_header_preproc=yes
38734 no:yes:* )
38735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38748 cat <<\_ASBOX
38749 ## ----------------------------------------- ##
38750 ## Report this to the package-unused lists. ##
38751 ## ----------------------------------------- ##
38752 _ASBOX
38754 sed "s/^/$as_me: WARNING: /" >&2
38756 esac
38757 echo "$as_me:$LINENO: checking for $ac_header" >&5
38758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38760 echo $ECHO_N "(cached) $ECHO_C" >&6
38761 else
38762 eval "$as_ac_Header=\$ac_header_preproc"
38764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38769 cat >>confdefs.h <<_ACEOF
38770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38771 _ACEOF
38772 ac_has_fenv_h=yes
38773 else
38774 ac_has_fenv_h=no
38777 done
38779 ac_c99_fenv_tr1=no;
38780 if test x"$ac_has_fenv_h" = x"yes"; then
38781 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
38782 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
38783 cat >conftest.$ac_ext <<_ACEOF
38784 /* confdefs.h. */
38785 _ACEOF
38786 cat confdefs.h >>conftest.$ac_ext
38787 cat >>conftest.$ac_ext <<_ACEOF
38788 /* end confdefs.h. */
38789 #include <fenv.h>
38791 main ()
38793 int except, mode;
38794 fexcept_t* pflag;
38795 fenv_t* penv;
38796 int ret;
38797 ret = feclearexcept(except);
38798 ret = fegetexceptflag(pflag, except);
38799 ret = feraiseexcept(except);
38800 ret = fesetexceptflag(pflag, except);
38801 ret = fetestexcept(except);
38802 ret = fegetround();
38803 ret = fesetround(mode);
38804 ret = fegetenv(penv);
38805 ret = feholdexcept(penv);
38806 ret = fesetenv(penv);
38807 ret = feupdateenv(penv);
38810 return 0;
38812 _ACEOF
38813 rm -f conftest.$ac_objext
38814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38815 (eval $ac_compile) 2>conftest.er1
38816 ac_status=$?
38817 grep -v '^ *+' conftest.er1 >conftest.err
38818 rm -f conftest.er1
38819 cat conftest.err >&5
38820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821 (exit $ac_status); } &&
38822 { ac_try='test -z "$ac_cxx_werror_flag"
38823 || test ! -s conftest.err'
38824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38825 (eval $ac_try) 2>&5
38826 ac_status=$?
38827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38828 (exit $ac_status); }; } &&
38829 { ac_try='test -s conftest.$ac_objext'
38830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38831 (eval $ac_try) 2>&5
38832 ac_status=$?
38833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38834 (exit $ac_status); }; }; then
38835 ac_c99_fenv_tr1=yes
38836 else
38837 echo "$as_me: failed program was:" >&5
38838 sed 's/^/| /' conftest.$ac_ext >&5
38840 ac_c99_fenv_tr1=no
38842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38844 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
38845 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
38846 if test x"$ac_c99_fenv_tr1" = x"yes"; then
38848 cat >>confdefs.h <<\_ACEOF
38849 #define _GLIBCXX_USE_C99_FENV_TR1 1
38850 _ACEOF
38854 # Check for the existence of <stdint.h> types.
38855 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
38856 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
38857 if test "${ac_c99_stdint_tr1+set}" = set; then
38858 echo $ECHO_N "(cached) $ECHO_C" >&6
38859 else
38861 cat >conftest.$ac_ext <<_ACEOF
38862 /* confdefs.h. */
38863 _ACEOF
38864 cat confdefs.h >>conftest.$ac_ext
38865 cat >>conftest.$ac_ext <<_ACEOF
38866 /* end confdefs.h. */
38867 #include <stdint.h>
38869 main ()
38871 typedef int8_t my_int8_t;
38872 typedef int16_t my_int16_t;
38873 typedef int32_t my_int32_t;
38874 typedef int64_t my_int64_t;
38875 typedef int_fast8_t my_int_fast8_t;
38876 typedef int_fast16_t my_int_fast16_t;
38877 typedef int_fast32_t my_int_fast32_t;
38878 typedef int_fast64_t my_int_fast64_t;
38879 typedef int_least8_t my_int_least8_t;
38880 typedef int_least16_t my_int_least16_t;
38881 typedef int_least32_t my_int_least32_t;
38882 typedef int_least64_t my_int_least64_t;
38883 typedef intmax_t my_intmax_t;
38884 typedef intptr_t my_intptr_t;
38885 typedef uint8_t my_uint8_t;
38886 typedef uint16_t my_uint16_t;
38887 typedef uint32_t my_uint32_t;
38888 typedef uint64_t my_uint64_t;
38889 typedef uint_fast8_t my_uint_fast8_t;
38890 typedef uint_fast16_t my_uint_fast16_t;
38891 typedef uint_fast32_t my_uint_fast32_t;
38892 typedef uint_fast64_t my_uint_fast64_t;
38893 typedef uint_least8_t my_uint_least8_t;
38894 typedef uint_least16_t my_uint_least16_t;
38895 typedef uint_least32_t my_uint_least32_t;
38896 typedef uint_least64_t my_uint_least64_t;
38897 typedef uintmax_t my_uintmax_t;
38898 typedef uintptr_t my_uintptr_t;
38901 return 0;
38903 _ACEOF
38904 rm -f conftest.$ac_objext
38905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38906 (eval $ac_compile) 2>conftest.er1
38907 ac_status=$?
38908 grep -v '^ *+' conftest.er1 >conftest.err
38909 rm -f conftest.er1
38910 cat conftest.err >&5
38911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38912 (exit $ac_status); } &&
38913 { ac_try='test -z "$ac_cxx_werror_flag"
38914 || test ! -s conftest.err'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38917 ac_status=$?
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; } &&
38920 { ac_try='test -s conftest.$ac_objext'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38923 ac_status=$?
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; }; then
38926 ac_c99_stdint_tr1=yes
38927 else
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.$ac_ext >&5
38931 ac_c99_stdint_tr1=no
38933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38937 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
38938 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
38939 if test x"$ac_c99_stdint_tr1" = x"yes"; then
38941 cat >>confdefs.h <<\_ACEOF
38942 #define _GLIBCXX_USE_C99_STDINT_TR1 1
38943 _ACEOF
38947 # Check for the existence of <math.h> functions.
38948 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
38949 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
38950 if test "${ac_c99_math_tr1+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38952 else
38954 cat >conftest.$ac_ext <<_ACEOF
38955 /* confdefs.h. */
38956 _ACEOF
38957 cat confdefs.h >>conftest.$ac_ext
38958 cat >>conftest.$ac_ext <<_ACEOF
38959 /* end confdefs.h. */
38960 #include <math.h>
38962 main ()
38964 typedef double_t my_double_t;
38965 typedef float_t my_float_t;
38966 acosh(0.0);
38967 acoshf(0.0f);
38968 acoshl(0.0l);
38969 asinh(0.0);
38970 asinhf(0.0f);
38971 asinhl(0.0l);
38972 atanh(0.0);
38973 atanhf(0.0f);
38974 atanhl(0.0l);
38975 cbrt(0.0);
38976 cbrtf(0.0f);
38977 cbrtl(0.0l);
38978 copysign(0.0, 0.0);
38979 copysignf(0.0f, 0.0f);
38980 copysignl(0.0l, 0.0l);
38981 erf(0.0);
38982 erff(0.0f);
38983 erfl(0.0l);
38984 erfc(0.0);
38985 erfcf(0.0f);
38986 erfcl(0.0l);
38987 exp2(0.0);
38988 exp2f(0.0f);
38989 exp2l(0.0l);
38990 expm1(0.0);
38991 expm1f(0.0f);
38992 expm1l(0.0l);
38993 fdim(0.0, 0.0);
38994 fdimf(0.0f, 0.0f);
38995 fdiml(0.0l, 0.0l);
38996 fma(0.0, 0.0, 0.0);
38997 fmaf(0.0f, 0.0f, 0.0f);
38998 fmal(0.0l, 0.0l, 0.0l);
38999 fmax(0.0, 0.0);
39000 fmaxf(0.0f, 0.0f);
39001 fmaxl(0.0l, 0.0l);
39002 fmin(0.0, 0.0);
39003 fminf(0.0f, 0.0f);
39004 fminl(0.0l, 0.0l);
39005 hypot(0.0, 0.0);
39006 hypotf(0.0f, 0.0f);
39007 hypotl(0.0l, 0.0l);
39008 ilogb(0.0);
39009 ilogbf(0.0f);
39010 ilogbl(0.0l);
39011 lgamma(0.0);
39012 lgammaf(0.0f);
39013 lgammal(0.0l);
39014 llrint(0.0);
39015 llrintf(0.0f);
39016 llrintl(0.0l);
39017 llround(0.0);
39018 llroundf(0.0f);
39019 llroundl(0.0l);
39020 log1p(0.0);
39021 log1pf(0.0f);
39022 log1pl(0.0l);
39023 log2(0.0);
39024 log2f(0.0f);
39025 log2l(0.0l);
39026 logb(0.0);
39027 logbf(0.0f);
39028 logbl(0.0l);
39029 lrint(0.0);
39030 lrintf(0.0f);
39031 lrintl(0.0l);
39032 lround(0.0);
39033 lroundf(0.0f);
39034 lroundl(0.0l);
39035 nan(0);
39036 nanf(0);
39037 nanl(0);
39038 nearbyint(0.0);
39039 nearbyintf(0.0f);
39040 nearbyintl(0.0l);
39041 nextafter(0.0, 0.0);
39042 nextafterf(0.0f, 0.0f);
39043 nextafterl(0.0l, 0.0l);
39044 nexttoward(0.0, 0.0);
39045 nexttowardf(0.0f, 0.0f);
39046 nexttowardl(0.0l, 0.0l);
39047 remainder(0.0, 0.0);
39048 remainderf(0.0f, 0.0f);
39049 remainderl(0.0l, 0.0l);
39050 remquo(0.0, 0.0, 0);
39051 remquo(0.0f, 0.0f, 0);
39052 remquo(0.0l, 0.0l, 0);
39053 rint(0.0);
39054 rintf(0.0f);
39055 rintl(0.0l);
39056 round(0.0);
39057 roundf(0.0f);
39058 roundl(0.0l);
39059 scalbln(0.0, 0l);
39060 scalblnf(0.0f, 0l);
39061 scalblnl(0.0l, 0l);
39062 scalbn(0.0, 0);
39063 scalbnf(0.0f, 0);
39064 scalbnl(0.0l, 0);
39065 tgamma(0.0);
39066 tgammaf(0.0f);
39067 tgammal(0.0l);
39068 trunc(0.0);
39069 truncf(0.0f);
39070 truncl(0.0l);
39073 return 0;
39075 _ACEOF
39076 rm -f conftest.$ac_objext
39077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39078 (eval $ac_compile) 2>conftest.er1
39079 ac_status=$?
39080 grep -v '^ *+' conftest.er1 >conftest.err
39081 rm -f conftest.er1
39082 cat conftest.err >&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); } &&
39085 { ac_try='test -z "$ac_cxx_werror_flag"
39086 || test ! -s conftest.err'
39087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088 (eval $ac_try) 2>&5
39089 ac_status=$?
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); }; } &&
39092 { ac_try='test -s conftest.$ac_objext'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39095 ac_status=$?
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; }; then
39098 ac_c99_math_tr1=yes
39099 else
39100 echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.$ac_ext >&5
39103 ac_c99_math_tr1=no
39105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39109 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39110 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39111 if test x"$ac_c99_math_tr1" = x"yes"; then
39113 cat >>confdefs.h <<\_ACEOF
39114 #define _GLIBCXX_USE_C99_MATH_TR1 1
39115 _ACEOF
39119 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39120 # sense if the previous check fails, per C99, 7.8/1).
39121 ac_c99_inttypes_tr1=no;
39122 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39123 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39124 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h. */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 #include <inttypes.h>
39133 main ()
39135 intmax_t i, numer, denom, base;
39136 const char* s;
39137 char** endptr;
39138 intmax_t ret = imaxabs(i);
39139 imaxdiv_t dret = imaxdiv(numer, denom);
39140 ret = strtoimax(s, endptr, base);
39141 uintmax_t uret = strtoumax(s, endptr, base);
39144 return 0;
39146 _ACEOF
39147 rm -f conftest.$ac_objext
39148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39149 (eval $ac_compile) 2>conftest.er1
39150 ac_status=$?
39151 grep -v '^ *+' conftest.er1 >conftest.err
39152 rm -f conftest.er1
39153 cat conftest.err >&5
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); } &&
39156 { ac_try='test -z "$ac_cxx_werror_flag"
39157 || test ! -s conftest.err'
39158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39159 (eval $ac_try) 2>&5
39160 ac_status=$?
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; } &&
39163 { ac_try='test -s conftest.$ac_objext'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39166 ac_status=$?
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; }; then
39169 ac_c99_inttypes_tr1=yes
39170 else
39171 echo "$as_me: failed program was:" >&5
39172 sed 's/^/| /' conftest.$ac_ext >&5
39174 ac_c99_inttypes_tr1=no
39176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39178 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39179 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39180 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39182 cat >>confdefs.h <<\_ACEOF
39183 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39184 _ACEOF
39188 # Check for the existence of the <stdbool.h> header.
39190 for ac_header in stdbool.h
39192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39194 echo "$as_me:$LINENO: checking for $ac_header" >&5
39195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39197 echo $ECHO_N "(cached) $ECHO_C" >&6
39199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39201 else
39202 # Is the header compilable?
39203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39205 cat >conftest.$ac_ext <<_ACEOF
39206 /* confdefs.h. */
39207 _ACEOF
39208 cat confdefs.h >>conftest.$ac_ext
39209 cat >>conftest.$ac_ext <<_ACEOF
39210 /* end confdefs.h. */
39211 $ac_includes_default
39212 #include <$ac_header>
39213 _ACEOF
39214 rm -f conftest.$ac_objext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39216 (eval $ac_compile) 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_cxx_werror_flag"
39224 || test ! -s conftest.err'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; } &&
39230 { ac_try='test -s conftest.$ac_objext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39233 ac_status=$?
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39236 ac_header_compiler=yes
39237 else
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.$ac_ext >&5
39241 ac_header_compiler=no
39243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39245 echo "${ECHO_T}$ac_header_compiler" >&6
39247 # Is the header present?
39248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39250 cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h. */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39256 #include <$ac_header>
39257 _ACEOF
39258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } >/dev/null; then
39266 if test -s conftest.err; then
39267 ac_cpp_err=$ac_cxx_preproc_warn_flag
39268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39269 else
39270 ac_cpp_err=
39272 else
39273 ac_cpp_err=yes
39275 if test -z "$ac_cpp_err"; then
39276 ac_header_preproc=yes
39277 else
39278 echo "$as_me: failed program was:" >&5
39279 sed 's/^/| /' conftest.$ac_ext >&5
39281 ac_header_preproc=no
39283 rm -f conftest.err conftest.$ac_ext
39284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39285 echo "${ECHO_T}$ac_header_preproc" >&6
39287 # So? What about this header?
39288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39289 yes:no: )
39290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39294 ac_header_preproc=yes
39296 no:yes:* )
39297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39310 cat <<\_ASBOX
39311 ## ----------------------------------------- ##
39312 ## Report this to the package-unused lists. ##
39313 ## ----------------------------------------- ##
39314 _ASBOX
39316 sed "s/^/$as_me: WARNING: /" >&2
39318 esac
39319 echo "$as_me:$LINENO: checking for $ac_header" >&5
39320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39322 echo $ECHO_N "(cached) $ECHO_C" >&6
39323 else
39324 eval "$as_ac_Header=\$ac_header_preproc"
39326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39331 cat >>confdefs.h <<_ACEOF
39332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39333 _ACEOF
39337 done
39340 ac_ext=c
39341 ac_cpp='$CPP $CPPFLAGS'
39342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 # For dev/random and dev/urandom for TR1.
39351 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39352 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39353 if test "${ac_random_tr1+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39355 else
39357 if test "$cross_compiling" = yes; then
39358 ac_random_tr1=no
39359 else
39360 cat >conftest.$ac_ext <<_ACEOF
39361 /* confdefs.h. */
39362 _ACEOF
39363 cat confdefs.h >>conftest.$ac_ext
39364 cat >>conftest.$ac_ext <<_ACEOF
39365 /* end confdefs.h. */
39366 #include <stdio.h>
39367 int main()
39369 return !(fopen("/dev/random", "r")
39370 && fopen("/dev/urandom", "r"));
39373 _ACEOF
39374 rm -f conftest$ac_exeext
39375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39376 (eval $ac_link) 2>&5
39377 ac_status=$?
39378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39381 (eval $ac_try) 2>&5
39382 ac_status=$?
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); }; }; then
39385 ac_random_tr1=yes
39386 else
39387 echo "$as_me: program exited with status $ac_status" >&5
39388 echo "$as_me: failed program was:" >&5
39389 sed 's/^/| /' conftest.$ac_ext >&5
39391 ( exit $ac_status )
39392 ac_random_tr1=no
39394 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39399 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39400 echo "${ECHO_T}$ac_random_tr1" >&6
39401 if test x"$ac_random_tr1" = x"yes"; then
39403 cat >>confdefs.h <<\_ACEOF
39404 #define _GLIBCXX_USE_RANDOM_TR1 1
39405 _ACEOF
39411 # For TLS support.
39413 # Check whether --enable-tls or --disable-tls was given.
39414 if test "${enable_tls+set}" = set; then
39415 enableval="$enable_tls"
39417 case "$enableval" in
39418 yes|no) ;;
39419 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39420 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39421 { (exit 1); exit 1; }; } ;;
39422 esac
39424 else
39425 enable_tls=yes
39428 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39429 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
39430 if test "${have_tls+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39434 if test "$cross_compiling" = yes; then
39435 if test x$gcc_no_link = xyes; then
39436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39438 { (exit 1); exit 1; }; }
39440 cat >conftest.$ac_ext <<_ACEOF
39441 __thread int a; int b; int main() { return a = b; }
39442 _ACEOF
39443 rm -f conftest.$ac_objext conftest$ac_exeext
39444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39445 (eval $ac_link) 2>conftest.er1
39446 ac_status=$?
39447 grep -v '^ *+' conftest.er1 >conftest.err
39448 rm -f conftest.er1
39449 cat conftest.err >&5
39450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39451 (exit $ac_status); } &&
39452 { ac_try='test -z "$ac_c_werror_flag"
39453 || test ! -s conftest.err'
39454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39455 (eval $ac_try) 2>&5
39456 ac_status=$?
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); }; } &&
39459 { ac_try='test -s conftest$ac_exeext'
39460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39461 (eval $ac_try) 2>&5
39462 ac_status=$?
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); }; }; then
39465 have_tls=yes
39466 else
39467 echo "$as_me: failed program was:" >&5
39468 sed 's/^/| /' conftest.$ac_ext >&5
39470 have_tls=no
39472 rm -f conftest.err conftest.$ac_objext \
39473 conftest$ac_exeext conftest.$ac_ext
39476 else
39477 cat >conftest.$ac_ext <<_ACEOF
39478 __thread int a; int b; int main() { return a = b; }
39479 _ACEOF
39480 rm -f conftest$ac_exeext
39481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39482 (eval $ac_link) 2>&5
39483 ac_status=$?
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39487 (eval $ac_try) 2>&5
39488 ac_status=$?
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); }; }; then
39491 chktls_save_LDFLAGS="$LDFLAGS"
39492 LDFLAGS="-static $LDFLAGS"
39493 if test x$gcc_no_link = xyes; then
39494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39496 { (exit 1); exit 1; }; }
39498 cat >conftest.$ac_ext <<_ACEOF
39499 int main() { return 0; }
39500 _ACEOF
39501 rm -f conftest.$ac_objext conftest$ac_exeext
39502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39503 (eval $ac_link) 2>conftest.er1
39504 ac_status=$?
39505 grep -v '^ *+' conftest.er1 >conftest.err
39506 rm -f conftest.er1
39507 cat conftest.err >&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } &&
39510 { ac_try='test -z "$ac_c_werror_flag"
39511 || test ! -s conftest.err'
39512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39513 (eval $ac_try) 2>&5
39514 ac_status=$?
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); }; } &&
39517 { ac_try='test -s conftest$ac_exeext'
39518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39519 (eval $ac_try) 2>&5
39520 ac_status=$?
39521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39522 (exit $ac_status); }; }; then
39523 if test "$cross_compiling" = yes; then
39524 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39525 See \`config.log' for more details." >&5
39526 echo "$as_me: error: cannot run test program while cross compiling
39527 See \`config.log' for more details." >&2;}
39528 { (exit 1); exit 1; }; }
39529 else
39530 cat >conftest.$ac_ext <<_ACEOF
39531 __thread int a; int b; int main() { return a = b; }
39532 _ACEOF
39533 rm -f conftest$ac_exeext
39534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39535 (eval $ac_link) 2>&5
39536 ac_status=$?
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39540 (eval $ac_try) 2>&5
39541 ac_status=$?
39542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39543 (exit $ac_status); }; }; then
39544 have_tls=yes
39545 else
39546 echo "$as_me: program exited with status $ac_status" >&5
39547 echo "$as_me: failed program was:" >&5
39548 sed 's/^/| /' conftest.$ac_ext >&5
39550 ( exit $ac_status )
39551 have_tls=no
39553 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39555 else
39556 echo "$as_me: failed program was:" >&5
39557 sed 's/^/| /' conftest.$ac_ext >&5
39559 have_tls=yes
39561 rm -f conftest.err conftest.$ac_objext \
39562 conftest$ac_exeext conftest.$ac_ext
39563 LDFLAGS="$chktls_save_LDFLAGS"
39564 if test $have_tls = yes; then
39565 chktls_save_CFLAGS="$CFLAGS"
39566 thread_CFLAGS=failed
39567 for flag in '' '-pthread' '-lpthread'; do
39568 CFLAGS="$flag $chktls_save_CFLAGS"
39569 if test x$gcc_no_link = xyes; then
39570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39572 { (exit 1); exit 1; }; }
39574 cat >conftest.$ac_ext <<_ACEOF
39575 /* confdefs.h. */
39576 _ACEOF
39577 cat confdefs.h >>conftest.$ac_ext
39578 cat >>conftest.$ac_ext <<_ACEOF
39579 /* end confdefs.h. */
39580 #include <pthread.h>
39581 void *g(void *d) { return NULL; }
39583 main ()
39585 pthread_t t; pthread_create(&t,NULL,g,NULL);
39587 return 0;
39589 _ACEOF
39590 rm -f conftest.$ac_objext conftest$ac_exeext
39591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39592 (eval $ac_link) 2>conftest.er1
39593 ac_status=$?
39594 grep -v '^ *+' conftest.er1 >conftest.err
39595 rm -f conftest.er1
39596 cat conftest.err >&5
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); } &&
39599 { ac_try='test -z "$ac_c_werror_flag"
39600 || test ! -s conftest.err'
39601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39602 (eval $ac_try) 2>&5
39603 ac_status=$?
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); }; } &&
39606 { ac_try='test -s conftest$ac_exeext'
39607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39608 (eval $ac_try) 2>&5
39609 ac_status=$?
39610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39611 (exit $ac_status); }; }; then
39612 thread_CFLAGS="$flag"
39613 else
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.$ac_ext >&5
39618 rm -f conftest.err conftest.$ac_objext \
39619 conftest$ac_exeext conftest.$ac_ext
39620 if test "X$thread_CFLAGS" != Xfailed; then
39621 break
39623 done
39624 CFLAGS="$chktls_save_CFLAGS"
39625 if test "X$thread_CFLAGS" != Xfailed; then
39626 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
39627 if test "$cross_compiling" = yes; then
39628 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39629 See \`config.log' for more details." >&5
39630 echo "$as_me: error: cannot run test program while cross compiling
39631 See \`config.log' for more details." >&2;}
39632 { (exit 1); exit 1; }; }
39633 else
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 #include <pthread.h>
39641 __thread int a;
39642 static int *a_in_other_thread;
39643 static void *
39644 thread_func (void *arg)
39646 a_in_other_thread = &a;
39647 return (void *)0;
39650 main ()
39652 pthread_t thread;
39653 void *thread_retval;
39654 int *a_in_main_thread;
39655 if (pthread_create (&thread, (pthread_attr_t *)0,
39656 thread_func, (void *)0))
39657 return 0;
39658 a_in_main_thread = &a;
39659 if (pthread_join (thread, &thread_retval))
39660 return 0;
39661 return (a_in_other_thread == a_in_main_thread);
39663 return 0;
39665 _ACEOF
39666 rm -f conftest$ac_exeext
39667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39668 (eval $ac_link) 2>&5
39669 ac_status=$?
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39674 ac_status=$?
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; }; then
39677 have_tls=yes
39678 else
39679 echo "$as_me: program exited with status $ac_status" >&5
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.$ac_ext >&5
39683 ( exit $ac_status )
39684 have_tls=no
39686 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39688 CFLAGS="$chktls_save_CFLAGS"
39691 else
39692 echo "$as_me: program exited with status $ac_status" >&5
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39696 ( exit $ac_status )
39697 have_tls=no
39699 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39702 echo "$as_me:$LINENO: result: $have_tls" >&5
39703 echo "${ECHO_T}$have_tls" >&6
39704 if test "$enable_tls $have_tls" = "yes yes"; then
39706 cat >>confdefs.h <<\_ACEOF
39707 #define HAVE_TLS 1
39708 _ACEOF
39712 # For _Unwind_GetIPInfo.
39716 ac_ext=cc
39717 ac_cpp='$CXXCPP $CPPFLAGS'
39718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39722 ac_save_CXXFLAGS="$CXXFLAGS"
39723 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39724 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
39725 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
39726 if test "${gcc_cv_getipinfo+set}" = set; then
39727 echo $ECHO_N "(cached) $ECHO_C" >&6
39728 else
39730 if test x$gcc_no_link = xyes; then
39731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39733 { (exit 1); exit 1; }; }
39735 cat >conftest.$ac_ext <<_ACEOF
39736 /* confdefs.h. */
39737 _ACEOF
39738 cat confdefs.h >>conftest.$ac_ext
39739 cat >>conftest.$ac_ext <<_ACEOF
39740 /* end confdefs.h. */
39741 extern "C" { extern void _Unwind_GetIPInfo(); }
39743 main ()
39745 _Unwind_GetIPInfo();
39747 return 0;
39749 _ACEOF
39750 rm -f conftest.$ac_objext conftest$ac_exeext
39751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39752 (eval $ac_link) 2>conftest.er1
39753 ac_status=$?
39754 grep -v '^ *+' conftest.er1 >conftest.err
39755 rm -f conftest.er1
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } &&
39759 { ac_try='test -z "$ac_cxx_werror_flag"
39760 || test ! -s conftest.err'
39761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39762 (eval $ac_try) 2>&5
39763 ac_status=$?
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); }; } &&
39766 { ac_try='test -s conftest$ac_exeext'
39767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768 (eval $ac_try) 2>&5
39769 ac_status=$?
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); }; }; then
39772 gcc_cv_getipinfo=yes
39773 else
39774 echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.$ac_ext >&5
39777 gcc_cv_getipinfo=no
39779 rm -f conftest.err conftest.$ac_objext \
39780 conftest$ac_exeext conftest.$ac_ext
39784 if test $gcc_cv_getipinfo = yes; then
39786 cat >>confdefs.h <<\_ACEOF
39787 #define HAVE_GETIPINFO 1
39788 _ACEOF
39791 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
39792 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
39793 CXXFLAGS="$ac_save_CXXFLAGS"
39794 ac_ext=c
39795 ac_cpp='$CPP $CPPFLAGS'
39796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803 if test "${ac_cv_header_locale_h+set}" = set; then
39804 echo "$as_me:$LINENO: checking for locale.h" >&5
39805 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39806 if test "${ac_cv_header_locale_h+set}" = set; then
39807 echo $ECHO_N "(cached) $ECHO_C" >&6
39809 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39810 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39811 else
39812 # Is the header compilable?
39813 echo "$as_me:$LINENO: checking locale.h usability" >&5
39814 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 $ac_includes_default
39822 #include <locale.h>
39823 _ACEOF
39824 rm -f conftest.$ac_objext
39825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39826 (eval $ac_compile) 2>conftest.er1
39827 ac_status=$?
39828 grep -v '^ *+' conftest.er1 >conftest.err
39829 rm -f conftest.er1
39830 cat conftest.err >&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); } &&
39833 { ac_try='test -z "$ac_c_werror_flag"
39834 || test ! -s conftest.err'
39835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39836 (eval $ac_try) 2>&5
39837 ac_status=$?
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); }; } &&
39840 { ac_try='test -s conftest.$ac_objext'
39841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39842 (eval $ac_try) 2>&5
39843 ac_status=$?
39844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845 (exit $ac_status); }; }; then
39846 ac_header_compiler=yes
39847 else
39848 echo "$as_me: failed program was:" >&5
39849 sed 's/^/| /' conftest.$ac_ext >&5
39851 ac_header_compiler=no
39853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39855 echo "${ECHO_T}$ac_header_compiler" >&6
39857 # Is the header present?
39858 echo "$as_me:$LINENO: checking locale.h presence" >&5
39859 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
39860 cat >conftest.$ac_ext <<_ACEOF
39861 /* confdefs.h. */
39862 _ACEOF
39863 cat confdefs.h >>conftest.$ac_ext
39864 cat >>conftest.$ac_ext <<_ACEOF
39865 /* end confdefs.h. */
39866 #include <locale.h>
39867 _ACEOF
39868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39870 ac_status=$?
39871 grep -v '^ *+' conftest.er1 >conftest.err
39872 rm -f conftest.er1
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } >/dev/null; then
39876 if test -s conftest.err; then
39877 ac_cpp_err=$ac_c_preproc_warn_flag
39878 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39879 else
39880 ac_cpp_err=
39882 else
39883 ac_cpp_err=yes
39885 if test -z "$ac_cpp_err"; then
39886 ac_header_preproc=yes
39887 else
39888 echo "$as_me: failed program was:" >&5
39889 sed 's/^/| /' conftest.$ac_ext >&5
39891 ac_header_preproc=no
39893 rm -f conftest.err conftest.$ac_ext
39894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39895 echo "${ECHO_T}$ac_header_preproc" >&6
39897 # So? What about this header?
39898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39899 yes:no: )
39900 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
39901 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
39902 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
39903 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
39904 ac_header_preproc=yes
39906 no:yes:* )
39907 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
39908 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
39909 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
39910 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
39911 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
39912 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
39913 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
39914 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
39915 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
39916 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
39917 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
39918 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
39920 cat <<\_ASBOX
39921 ## ----------------------------------------- ##
39922 ## Report this to the package-unused lists. ##
39923 ## ----------------------------------------- ##
39924 _ASBOX
39926 sed "s/^/$as_me: WARNING: /" >&2
39928 esac
39929 echo "$as_me:$LINENO: checking for locale.h" >&5
39930 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
39931 if test "${ac_cv_header_locale_h+set}" = set; then
39932 echo $ECHO_N "(cached) $ECHO_C" >&6
39933 else
39934 ac_cv_header_locale_h=$ac_header_preproc
39936 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
39937 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
39940 if test $ac_cv_header_locale_h = yes; then
39942 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
39943 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
39944 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
39945 echo $ECHO_N "(cached) $ECHO_C" >&6
39946 else
39947 if test x$gcc_no_link = xyes; then
39948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39950 { (exit 1); exit 1; }; }
39952 cat >conftest.$ac_ext <<_ACEOF
39953 /* confdefs.h. */
39954 _ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 #include <locale.h>
39960 main ()
39962 return LC_MESSAGES
39964 return 0;
39966 _ACEOF
39967 rm -f conftest.$ac_objext conftest$ac_exeext
39968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39969 (eval $ac_link) 2>conftest.er1
39970 ac_status=$?
39971 grep -v '^ *+' conftest.er1 >conftest.err
39972 rm -f conftest.er1
39973 cat conftest.err >&5
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); } &&
39976 { ac_try='test -z "$ac_c_werror_flag"
39977 || test ! -s conftest.err'
39978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39979 (eval $ac_try) 2>&5
39980 ac_status=$?
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); }; } &&
39983 { ac_try='test -s conftest$ac_exeext'
39984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39985 (eval $ac_try) 2>&5
39986 ac_status=$?
39987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39988 (exit $ac_status); }; }; then
39989 ac_cv_val_LC_MESSAGES=yes
39990 else
39991 echo "$as_me: failed program was:" >&5
39992 sed 's/^/| /' conftest.$ac_ext >&5
39994 ac_cv_val_LC_MESSAGES=no
39996 rm -f conftest.err conftest.$ac_objext \
39997 conftest$ac_exeext conftest.$ac_ext
39999 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40000 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
40001 if test $ac_cv_val_LC_MESSAGES = yes; then
40003 cat >>confdefs.h <<\_ACEOF
40004 #define HAVE_LC_MESSAGES 1
40005 _ACEOF
40014 cat >conftest.$ac_ext <<_ACEOF
40015 /* confdefs.h. */
40016 _ACEOF
40017 cat confdefs.h >>conftest.$ac_ext
40018 cat >>conftest.$ac_ext <<_ACEOF
40019 /* end confdefs.h. */
40020 #include <setjmp.h>
40022 main ()
40024 sigjmp_buf env;
40025 while (! sigsetjmp (env, 1))
40026 siglongjmp (env, 1);
40029 return 0;
40031 _ACEOF
40032 rm -f conftest.$ac_objext
40033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40034 (eval $ac_compile) 2>conftest.er1
40035 ac_status=$?
40036 grep -v '^ *+' conftest.er1 >conftest.err
40037 rm -f conftest.er1
40038 cat conftest.err >&5
40039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40040 (exit $ac_status); } &&
40041 { ac_try='test -z "$ac_c_werror_flag"
40042 || test ! -s conftest.err'
40043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40044 (eval $ac_try) 2>&5
40045 ac_status=$?
40046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); }; } &&
40048 { ac_try='test -s conftest.$ac_objext'
40049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40050 (eval $ac_try) 2>&5
40051 ac_status=$?
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); }; }; then
40055 cat >>confdefs.h <<\_ACEOF
40056 #define HAVE_SIGSETJMP 1
40057 _ACEOF
40059 else
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.$ac_ext >&5
40064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40066 if test x$gcc_no_link = xyes; then
40067 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40068 ac_cv_func_mmap_fixed_mapped=no
40071 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40074 for ac_header in stdlib.h unistd.h
40076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40078 echo "$as_me:$LINENO: checking for $ac_header" >&5
40079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40081 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40085 else
40086 # Is the header compilable?
40087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40089 cat >conftest.$ac_ext <<_ACEOF
40090 /* confdefs.h. */
40091 _ACEOF
40092 cat confdefs.h >>conftest.$ac_ext
40093 cat >>conftest.$ac_ext <<_ACEOF
40094 /* end confdefs.h. */
40095 $ac_includes_default
40096 #include <$ac_header>
40097 _ACEOF
40098 rm -f conftest.$ac_objext
40099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40100 (eval $ac_compile) 2>conftest.er1
40101 ac_status=$?
40102 grep -v '^ *+' conftest.er1 >conftest.err
40103 rm -f conftest.er1
40104 cat conftest.err >&5
40105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40106 (exit $ac_status); } &&
40107 { ac_try='test -z "$ac_c_werror_flag"
40108 || test ! -s conftest.err'
40109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40110 (eval $ac_try) 2>&5
40111 ac_status=$?
40112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113 (exit $ac_status); }; } &&
40114 { ac_try='test -s conftest.$ac_objext'
40115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40116 (eval $ac_try) 2>&5
40117 ac_status=$?
40118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119 (exit $ac_status); }; }; then
40120 ac_header_compiler=yes
40121 else
40122 echo "$as_me: failed program was:" >&5
40123 sed 's/^/| /' conftest.$ac_ext >&5
40125 ac_header_compiler=no
40127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40129 echo "${ECHO_T}$ac_header_compiler" >&6
40131 # Is the header present?
40132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40134 cat >conftest.$ac_ext <<_ACEOF
40135 /* confdefs.h. */
40136 _ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 #include <$ac_header>
40141 _ACEOF
40142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40144 ac_status=$?
40145 grep -v '^ *+' conftest.er1 >conftest.err
40146 rm -f conftest.er1
40147 cat conftest.err >&5
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); } >/dev/null; then
40150 if test -s conftest.err; then
40151 ac_cpp_err=$ac_c_preproc_warn_flag
40152 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40153 else
40154 ac_cpp_err=
40156 else
40157 ac_cpp_err=yes
40159 if test -z "$ac_cpp_err"; then
40160 ac_header_preproc=yes
40161 else
40162 echo "$as_me: failed program was:" >&5
40163 sed 's/^/| /' conftest.$ac_ext >&5
40165 ac_header_preproc=no
40167 rm -f conftest.err conftest.$ac_ext
40168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40169 echo "${ECHO_T}$ac_header_preproc" >&6
40171 # So? What about this header?
40172 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40173 yes:no: )
40174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40177 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40178 ac_header_preproc=yes
40180 no:yes:* )
40181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40185 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40186 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40187 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40188 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40189 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40190 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40191 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40192 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40194 cat <<\_ASBOX
40195 ## ----------------------------------------- ##
40196 ## Report this to the package-unused lists. ##
40197 ## ----------------------------------------- ##
40198 _ASBOX
40200 sed "s/^/$as_me: WARNING: /" >&2
40202 esac
40203 echo "$as_me:$LINENO: checking for $ac_header" >&5
40204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40206 echo $ECHO_N "(cached) $ECHO_C" >&6
40207 else
40208 eval "$as_ac_Header=\$ac_header_preproc"
40210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40211 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40215 cat >>confdefs.h <<_ACEOF
40216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40217 _ACEOF
40221 done
40224 for ac_func in getpagesize
40226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40227 echo "$as_me:$LINENO: checking for $ac_func" >&5
40228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40229 if eval "test \"\${$as_ac_var+set}\" = set"; then
40230 echo $ECHO_N "(cached) $ECHO_C" >&6
40231 else
40232 if test x$gcc_no_link = xyes; then
40233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40235 { (exit 1); exit 1; }; }
40237 cat >conftest.$ac_ext <<_ACEOF
40238 /* confdefs.h. */
40239 _ACEOF
40240 cat confdefs.h >>conftest.$ac_ext
40241 cat >>conftest.$ac_ext <<_ACEOF
40242 /* end confdefs.h. */
40243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40245 #define $ac_func innocuous_$ac_func
40247 /* System header to define __stub macros and hopefully few prototypes,
40248 which can conflict with char $ac_func (); below.
40249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40250 <limits.h> exists even on freestanding compilers. */
40252 #ifdef __STDC__
40253 # include <limits.h>
40254 #else
40255 # include <assert.h>
40256 #endif
40258 #undef $ac_func
40260 /* Override any gcc2 internal prototype to avoid an error. */
40261 #ifdef __cplusplus
40262 extern "C"
40264 #endif
40265 /* We use char because int might match the return type of a gcc2
40266 builtin and then its argument prototype would still apply. */
40267 char $ac_func ();
40268 /* The GNU C library defines this for functions which it implements
40269 to always fail with ENOSYS. Some functions are actually named
40270 something starting with __ and the normal name is an alias. */
40271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40272 choke me
40273 #else
40274 char (*f) () = $ac_func;
40275 #endif
40276 #ifdef __cplusplus
40278 #endif
40281 main ()
40283 return f != $ac_func;
40285 return 0;
40287 _ACEOF
40288 rm -f conftest.$ac_objext conftest$ac_exeext
40289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40290 (eval $ac_link) 2>conftest.er1
40291 ac_status=$?
40292 grep -v '^ *+' conftest.er1 >conftest.err
40293 rm -f conftest.er1
40294 cat conftest.err >&5
40295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296 (exit $ac_status); } &&
40297 { ac_try='test -z "$ac_c_werror_flag"
40298 || test ! -s conftest.err'
40299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40300 (eval $ac_try) 2>&5
40301 ac_status=$?
40302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40303 (exit $ac_status); }; } &&
40304 { ac_try='test -s conftest$ac_exeext'
40305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40306 (eval $ac_try) 2>&5
40307 ac_status=$?
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); }; }; then
40310 eval "$as_ac_var=yes"
40311 else
40312 echo "$as_me: failed program was:" >&5
40313 sed 's/^/| /' conftest.$ac_ext >&5
40315 eval "$as_ac_var=no"
40317 rm -f conftest.err conftest.$ac_objext \
40318 conftest$ac_exeext conftest.$ac_ext
40320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40322 if test `eval echo '${'$as_ac_var'}'` = yes; then
40323 cat >>confdefs.h <<_ACEOF
40324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40325 _ACEOF
40328 done
40330 echo "$as_me:$LINENO: checking for working mmap" >&5
40331 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40332 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40333 echo $ECHO_N "(cached) $ECHO_C" >&6
40334 else
40335 if test "$cross_compiling" = yes; then
40336 ac_cv_func_mmap_fixed_mapped=no
40337 else
40338 cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h. */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 $ac_includes_default
40345 /* malloc might have been renamed as rpl_malloc. */
40346 #undef malloc
40348 /* Thanks to Mike Haertel and Jim Avera for this test.
40349 Here is a matrix of mmap possibilities:
40350 mmap private not fixed
40351 mmap private fixed at somewhere currently unmapped
40352 mmap private fixed at somewhere already mapped
40353 mmap shared not fixed
40354 mmap shared fixed at somewhere currently unmapped
40355 mmap shared fixed at somewhere already mapped
40356 For private mappings, we should verify that changes cannot be read()
40357 back from the file, nor mmap's back from the file at a different
40358 address. (There have been systems where private was not correctly
40359 implemented like the infamous i386 svr4.0, and systems where the
40360 VM page cache was not coherent with the file system buffer cache
40361 like early versions of FreeBSD and possibly contemporary NetBSD.)
40362 For shared mappings, we should conversely verify that changes get
40363 propagated back to all the places they're supposed to be.
40365 Grep wants private fixed already mapped.
40366 The main things grep needs to know about mmap are:
40367 * does it exist and is it safe to write into the mmap'd area
40368 * how to use it (BSD variants) */
40370 #include <fcntl.h>
40371 #include <sys/mman.h>
40373 #if !STDC_HEADERS && !HAVE_STDLIB_H
40374 char *malloc ();
40375 #endif
40377 /* This mess was copied from the GNU getpagesize.h. */
40378 #if !HAVE_GETPAGESIZE
40379 /* Assume that all systems that can run configure have sys/param.h. */
40380 # if !HAVE_SYS_PARAM_H
40381 # define HAVE_SYS_PARAM_H 1
40382 # endif
40384 # ifdef _SC_PAGESIZE
40385 # define getpagesize() sysconf(_SC_PAGESIZE)
40386 # else /* no _SC_PAGESIZE */
40387 # if HAVE_SYS_PARAM_H
40388 # include <sys/param.h>
40389 # ifdef EXEC_PAGESIZE
40390 # define getpagesize() EXEC_PAGESIZE
40391 # else /* no EXEC_PAGESIZE */
40392 # ifdef NBPG
40393 # define getpagesize() NBPG * CLSIZE
40394 # ifndef CLSIZE
40395 # define CLSIZE 1
40396 # endif /* no CLSIZE */
40397 # else /* no NBPG */
40398 # ifdef NBPC
40399 # define getpagesize() NBPC
40400 # else /* no NBPC */
40401 # ifdef PAGESIZE
40402 # define getpagesize() PAGESIZE
40403 # endif /* PAGESIZE */
40404 # endif /* no NBPC */
40405 # endif /* no NBPG */
40406 # endif /* no EXEC_PAGESIZE */
40407 # else /* no HAVE_SYS_PARAM_H */
40408 # define getpagesize() 8192 /* punt totally */
40409 # endif /* no HAVE_SYS_PARAM_H */
40410 # endif /* no _SC_PAGESIZE */
40412 #endif /* no HAVE_GETPAGESIZE */
40415 main ()
40417 char *data, *data2, *data3;
40418 int i, pagesize;
40419 int fd;
40421 pagesize = getpagesize ();
40423 /* First, make a file with some known garbage in it. */
40424 data = (char *) malloc (pagesize);
40425 if (!data)
40426 exit (1);
40427 for (i = 0; i < pagesize; ++i)
40428 *(data + i) = rand ();
40429 umask (0);
40430 fd = creat ("conftest.mmap", 0600);
40431 if (fd < 0)
40432 exit (1);
40433 if (write (fd, data, pagesize) != pagesize)
40434 exit (1);
40435 close (fd);
40437 /* Next, try to mmap the file at a fixed address which already has
40438 something else allocated at it. If we can, also make sure that
40439 we see the same garbage. */
40440 fd = open ("conftest.mmap", O_RDWR);
40441 if (fd < 0)
40442 exit (1);
40443 data2 = (char *) malloc (2 * pagesize);
40444 if (!data2)
40445 exit (1);
40446 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
40447 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40448 MAP_PRIVATE | MAP_FIXED, fd, 0L))
40449 exit (1);
40450 for (i = 0; i < pagesize; ++i)
40451 if (*(data + i) != *(data2 + i))
40452 exit (1);
40454 /* Finally, make sure that changes to the mapped area do not
40455 percolate back to the file as seen by read(). (This is a bug on
40456 some variants of i386 svr4.0.) */
40457 for (i = 0; i < pagesize; ++i)
40458 *(data2 + i) = *(data2 + i) + 1;
40459 data3 = (char *) malloc (pagesize);
40460 if (!data3)
40461 exit (1);
40462 if (read (fd, data3, pagesize) != pagesize)
40463 exit (1);
40464 for (i = 0; i < pagesize; ++i)
40465 if (*(data + i) != *(data3 + i))
40466 exit (1);
40467 close (fd);
40468 exit (0);
40470 _ACEOF
40471 rm -f conftest$ac_exeext
40472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40473 (eval $ac_link) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40478 (eval $ac_try) 2>&5
40479 ac_status=$?
40480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481 (exit $ac_status); }; }; then
40482 ac_cv_func_mmap_fixed_mapped=yes
40483 else
40484 echo "$as_me: program exited with status $ac_status" >&5
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40488 ( exit $ac_status )
40489 ac_cv_func_mmap_fixed_mapped=no
40491 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40494 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40495 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
40496 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40498 cat >>confdefs.h <<\_ACEOF
40499 #define HAVE_MMAP 1
40500 _ACEOF
40503 rm -f conftest.mmap
40507 # For iconv support.
40509 if test "X$prefix" = "XNONE"; then
40510 acl_final_prefix="$ac_default_prefix"
40511 else
40512 acl_final_prefix="$prefix"
40514 if test "X$exec_prefix" = "XNONE"; then
40515 acl_final_exec_prefix='${prefix}'
40516 else
40517 acl_final_exec_prefix="$exec_prefix"
40519 acl_save_prefix="$prefix"
40520 prefix="$acl_final_prefix"
40521 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40522 prefix="$acl_save_prefix"
40525 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40526 if test "${with_gnu_ld+set}" = set; then
40527 withval="$with_gnu_ld"
40528 test "$withval" = no || with_gnu_ld=yes
40529 else
40530 with_gnu_ld=no
40532 # Prepare PATH_SEPARATOR.
40533 # The user is always right.
40534 if test "${PATH_SEPARATOR+set}" != set; then
40535 echo "#! /bin/sh" >conf$$.sh
40536 echo "exit 0" >>conf$$.sh
40537 chmod +x conf$$.sh
40538 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40539 PATH_SEPARATOR=';'
40540 else
40541 PATH_SEPARATOR=:
40543 rm -f conf$$.sh
40545 ac_prog=ld
40546 if test "$GCC" = yes; then
40547 # Check if gcc -print-prog-name=ld gives a path.
40548 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
40549 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
40550 case $host in
40551 *-*-mingw*)
40552 # gcc leaves a trailing carriage return which upsets mingw
40553 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
40555 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
40556 esac
40557 case $ac_prog in
40558 # Accept absolute paths.
40559 [\\/]* | [A-Za-z]:[\\/]*)
40560 re_direlt='/[^/][^/]*/\.\./'
40561 # Canonicalize the path of ld
40562 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
40563 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
40564 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
40565 done
40566 test -z "$LD" && LD="$ac_prog"
40569 # If it fails, then pretend we aren't using GCC.
40570 ac_prog=ld
40573 # If it is relative, then search for the first ld in PATH.
40574 with_gnu_ld=unknown
40576 esac
40577 elif test "$with_gnu_ld" = yes; then
40578 echo "$as_me:$LINENO: checking for GNU ld" >&5
40579 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
40580 else
40581 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
40582 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
40584 if test "${acl_cv_path_LD+set}" = set; then
40585 echo $ECHO_N "(cached) $ECHO_C" >&6
40586 else
40587 if test -z "$LD"; then
40588 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
40589 for ac_dir in $PATH; do
40590 test -z "$ac_dir" && ac_dir=.
40591 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
40592 acl_cv_path_LD="$ac_dir/$ac_prog"
40593 # Check to see if the program is GNU ld. I'd rather use --version,
40594 # but apparently some GNU ld's only accept -v.
40595 # Break only if it was the GNU/non-GNU ld that we prefer.
40596 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
40597 test "$with_gnu_ld" != no && break
40598 else
40599 test "$with_gnu_ld" != yes && break
40602 done
40603 IFS="$ac_save_ifs"
40604 else
40605 acl_cv_path_LD="$LD" # Let the user override the test with a path.
40609 LD="$acl_cv_path_LD"
40610 if test -n "$LD"; then
40611 echo "$as_me:$LINENO: result: $LD" >&5
40612 echo "${ECHO_T}$LD" >&6
40613 else
40614 echo "$as_me:$LINENO: result: no" >&5
40615 echo "${ECHO_T}no" >&6
40617 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
40618 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
40619 { (exit 1); exit 1; }; }
40620 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
40621 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
40622 if test "${acl_cv_prog_gnu_ld+set}" = set; then
40623 echo $ECHO_N "(cached) $ECHO_C" >&6
40624 else
40625 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
40626 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
40627 acl_cv_prog_gnu_ld=yes
40628 else
40629 acl_cv_prog_gnu_ld=no
40632 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
40633 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
40634 with_gnu_ld=$acl_cv_prog_gnu_ld
40638 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
40639 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
40640 if test "${acl_cv_rpath+set}" = set; then
40641 echo $ECHO_N "(cached) $ECHO_C" >&6
40642 else
40644 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
40645 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
40646 . ./conftest.sh
40647 rm -f ./conftest.sh
40648 acl_cv_rpath=done
40651 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
40652 echo "${ECHO_T}$acl_cv_rpath" >&6
40653 wl="$acl_cv_wl"
40654 libext="$acl_cv_libext"
40655 shlibext="$acl_cv_shlibext"
40656 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
40657 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
40658 hardcode_direct="$acl_cv_hardcode_direct"
40659 hardcode_minus_L="$acl_cv_hardcode_minus_L"
40660 # Check whether --enable-rpath or --disable-rpath was given.
40661 if test "${enable_rpath+set}" = set; then
40662 enableval="$enable_rpath"
40664 else
40665 enable_rpath=yes
40674 use_additional=yes
40676 acl_save_prefix="$prefix"
40677 prefix="$acl_final_prefix"
40678 acl_save_exec_prefix="$exec_prefix"
40679 exec_prefix="$acl_final_exec_prefix"
40681 eval additional_includedir=\"$includedir\"
40682 eval additional_libdir=\"$libdir\"
40684 exec_prefix="$acl_save_exec_prefix"
40685 prefix="$acl_save_prefix"
40688 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
40689 if test "${with_libiconv_prefix+set}" = set; then
40690 withval="$with_libiconv_prefix"
40692 if test "X$withval" = "Xno"; then
40693 use_additional=no
40694 else
40695 if test "X$withval" = "X"; then
40697 acl_save_prefix="$prefix"
40698 prefix="$acl_final_prefix"
40699 acl_save_exec_prefix="$exec_prefix"
40700 exec_prefix="$acl_final_exec_prefix"
40702 eval additional_includedir=\"$includedir\"
40703 eval additional_libdir=\"$libdir\"
40705 exec_prefix="$acl_save_exec_prefix"
40706 prefix="$acl_save_prefix"
40708 else
40709 additional_includedir="$withval/include"
40710 additional_libdir="$withval/lib"
40715 LIBICONV=
40716 LTLIBICONV=
40717 INCICONV=
40718 rpathdirs=
40719 ltrpathdirs=
40720 names_already_handled=
40721 names_next_round='iconv '
40722 while test -n "$names_next_round"; do
40723 names_this_round="$names_next_round"
40724 names_next_round=
40725 for name in $names_this_round; do
40726 already_handled=
40727 for n in $names_already_handled; do
40728 if test "$n" = "$name"; then
40729 already_handled=yes
40730 break
40732 done
40733 if test -z "$already_handled"; then
40734 names_already_handled="$names_already_handled $name"
40735 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
40736 eval value=\"\$HAVE_LIB$uppername\"
40737 if test -n "$value"; then
40738 if test "$value" = yes; then
40739 eval value=\"\$LIB$uppername\"
40740 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
40741 eval value=\"\$LTLIB$uppername\"
40742 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
40743 else
40746 else
40747 found_dir=
40748 found_la=
40749 found_so=
40750 found_a=
40751 if test $use_additional = yes; then
40752 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
40753 found_dir="$additional_libdir"
40754 found_so="$additional_libdir/lib$name.$shlibext"
40755 if test -f "$additional_libdir/lib$name.la"; then
40756 found_la="$additional_libdir/lib$name.la"
40758 else
40759 if test -f "$additional_libdir/lib$name.$libext"; then
40760 found_dir="$additional_libdir"
40761 found_a="$additional_libdir/lib$name.$libext"
40762 if test -f "$additional_libdir/lib$name.la"; then
40763 found_la="$additional_libdir/lib$name.la"
40768 if test "X$found_dir" = "X"; then
40769 for x in $LDFLAGS $LTLIBICONV; do
40771 acl_save_prefix="$prefix"
40772 prefix="$acl_final_prefix"
40773 acl_save_exec_prefix="$exec_prefix"
40774 exec_prefix="$acl_final_exec_prefix"
40775 eval x=\"$x\"
40776 exec_prefix="$acl_save_exec_prefix"
40777 prefix="$acl_save_prefix"
40779 case "$x" in
40780 -L*)
40781 dir=`echo "X$x" | sed -e 's/^X-L//'`
40782 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
40783 found_dir="$dir"
40784 found_so="$dir/lib$name.$shlibext"
40785 if test -f "$dir/lib$name.la"; then
40786 found_la="$dir/lib$name.la"
40788 else
40789 if test -f "$dir/lib$name.$libext"; then
40790 found_dir="$dir"
40791 found_a="$dir/lib$name.$libext"
40792 if test -f "$dir/lib$name.la"; then
40793 found_la="$dir/lib$name.la"
40798 esac
40799 if test "X$found_dir" != "X"; then
40800 break
40802 done
40804 if test "X$found_dir" != "X"; then
40805 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
40806 if test "X$found_so" != "X"; then
40807 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
40808 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40809 else
40810 haveit=
40811 for x in $ltrpathdirs; do
40812 if test "X$x" = "X$found_dir"; then
40813 haveit=yes
40814 break
40816 done
40817 if test -z "$haveit"; then
40818 ltrpathdirs="$ltrpathdirs $found_dir"
40820 if test "$hardcode_direct" = yes; then
40821 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40822 else
40823 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
40824 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40825 haveit=
40826 for x in $rpathdirs; do
40827 if test "X$x" = "X$found_dir"; then
40828 haveit=yes
40829 break
40831 done
40832 if test -z "$haveit"; then
40833 rpathdirs="$rpathdirs $found_dir"
40835 else
40836 haveit=
40837 for x in $LDFLAGS $LIBICONV; do
40839 acl_save_prefix="$prefix"
40840 prefix="$acl_final_prefix"
40841 acl_save_exec_prefix="$exec_prefix"
40842 exec_prefix="$acl_final_exec_prefix"
40843 eval x=\"$x\"
40844 exec_prefix="$acl_save_exec_prefix"
40845 prefix="$acl_save_prefix"
40847 if test "X$x" = "X-L$found_dir"; then
40848 haveit=yes
40849 break
40851 done
40852 if test -z "$haveit"; then
40853 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
40855 if test "$hardcode_minus_L" != no; then
40856 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
40857 else
40858 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
40863 else
40864 if test "X$found_a" != "X"; then
40865 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
40866 else
40867 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
40870 additional_includedir=
40871 case "$found_dir" in
40872 */lib | */lib/)
40873 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
40874 additional_includedir="$basedir/include"
40876 esac
40877 if test "X$additional_includedir" != "X"; then
40878 if test "X$additional_includedir" != "X/usr/include"; then
40879 haveit=
40880 if test "X$additional_includedir" = "X/usr/local/include"; then
40881 if test -n "$GCC"; then
40882 case $host_os in
40883 linux*) haveit=yes;;
40884 esac
40887 if test -z "$haveit"; then
40888 for x in $CPPFLAGS $INCICONV; do
40890 acl_save_prefix="$prefix"
40891 prefix="$acl_final_prefix"
40892 acl_save_exec_prefix="$exec_prefix"
40893 exec_prefix="$acl_final_exec_prefix"
40894 eval x=\"$x\"
40895 exec_prefix="$acl_save_exec_prefix"
40896 prefix="$acl_save_prefix"
40898 if test "X$x" = "X-I$additional_includedir"; then
40899 haveit=yes
40900 break
40902 done
40903 if test -z "$haveit"; then
40904 if test -d "$additional_includedir"; then
40905 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
40911 if test -n "$found_la"; then
40912 save_libdir="$libdir"
40913 case "$found_la" in
40914 */* | *\\*) . "$found_la" ;;
40915 *) . "./$found_la" ;;
40916 esac
40917 libdir="$save_libdir"
40918 for dep in $dependency_libs; do
40919 case "$dep" in
40920 -L*)
40921 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
40922 if test "X$additional_libdir" != "X/usr/lib"; then
40923 haveit=
40924 if test "X$additional_libdir" = "X/usr/local/lib"; then
40925 if test -n "$GCC"; then
40926 case $host_os in
40927 linux*) haveit=yes;;
40928 esac
40931 if test -z "$haveit"; then
40932 haveit=
40933 for x in $LDFLAGS $LIBICONV; do
40935 acl_save_prefix="$prefix"
40936 prefix="$acl_final_prefix"
40937 acl_save_exec_prefix="$exec_prefix"
40938 exec_prefix="$acl_final_exec_prefix"
40939 eval x=\"$x\"
40940 exec_prefix="$acl_save_exec_prefix"
40941 prefix="$acl_save_prefix"
40943 if test "X$x" = "X-L$additional_libdir"; then
40944 haveit=yes
40945 break
40947 done
40948 if test -z "$haveit"; then
40949 if test -d "$additional_libdir"; then
40950 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
40953 haveit=
40954 for x in $LDFLAGS $LTLIBICONV; do
40956 acl_save_prefix="$prefix"
40957 prefix="$acl_final_prefix"
40958 acl_save_exec_prefix="$exec_prefix"
40959 exec_prefix="$acl_final_exec_prefix"
40960 eval x=\"$x\"
40961 exec_prefix="$acl_save_exec_prefix"
40962 prefix="$acl_save_prefix"
40964 if test "X$x" = "X-L$additional_libdir"; then
40965 haveit=yes
40966 break
40968 done
40969 if test -z "$haveit"; then
40970 if test -d "$additional_libdir"; then
40971 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
40977 -R*)
40978 dir=`echo "X$dep" | sed -e 's/^X-R//'`
40979 if test "$enable_rpath" != no; then
40980 haveit=
40981 for x in $rpathdirs; do
40982 if test "X$x" = "X$dir"; then
40983 haveit=yes
40984 break
40986 done
40987 if test -z "$haveit"; then
40988 rpathdirs="$rpathdirs $dir"
40990 haveit=
40991 for x in $ltrpathdirs; do
40992 if test "X$x" = "X$dir"; then
40993 haveit=yes
40994 break
40996 done
40997 if test -z "$haveit"; then
40998 ltrpathdirs="$ltrpathdirs $dir"
41002 -l*)
41003 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41005 *.la)
41006 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41009 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41010 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41012 esac
41013 done
41015 else
41016 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41017 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41021 done
41022 done
41023 if test "X$rpathdirs" != "X"; then
41024 if test -n "$hardcode_libdir_separator"; then
41025 alldirs=
41026 for found_dir in $rpathdirs; do
41027 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41028 done
41029 acl_save_libdir="$libdir"
41030 libdir="$alldirs"
41031 eval flag=\"$hardcode_libdir_flag_spec\"
41032 libdir="$acl_save_libdir"
41033 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41034 else
41035 for found_dir in $rpathdirs; do
41036 acl_save_libdir="$libdir"
41037 libdir="$found_dir"
41038 eval flag=\"$hardcode_libdir_flag_spec\"
41039 libdir="$acl_save_libdir"
41040 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41041 done
41044 if test "X$ltrpathdirs" != "X"; then
41045 for found_dir in $ltrpathdirs; do
41046 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41047 done
41056 am_save_CPPFLAGS="$CPPFLAGS"
41058 for element in $INCICONV; do
41059 haveit=
41060 for x in $CPPFLAGS; do
41062 acl_save_prefix="$prefix"
41063 prefix="$acl_final_prefix"
41064 acl_save_exec_prefix="$exec_prefix"
41065 exec_prefix="$acl_final_exec_prefix"
41066 eval x=\"$x\"
41067 exec_prefix="$acl_save_exec_prefix"
41068 prefix="$acl_save_prefix"
41070 if test "X$x" = "X$element"; then
41071 haveit=yes
41072 break
41074 done
41075 if test -z "$haveit"; then
41076 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41078 done
41081 echo "$as_me:$LINENO: checking for iconv" >&5
41082 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41083 if test "${am_cv_func_iconv+set}" = set; then
41084 echo $ECHO_N "(cached) $ECHO_C" >&6
41085 else
41087 am_cv_func_iconv="no, consider installing GNU libiconv"
41088 am_cv_lib_iconv=no
41089 if test x$gcc_no_link = xyes; then
41090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41092 { (exit 1); exit 1; }; }
41094 cat >conftest.$ac_ext <<_ACEOF
41095 /* confdefs.h. */
41096 _ACEOF
41097 cat confdefs.h >>conftest.$ac_ext
41098 cat >>conftest.$ac_ext <<_ACEOF
41099 /* end confdefs.h. */
41100 #include <stdlib.h>
41101 #include <iconv.h>
41103 main ()
41105 iconv_t cd = iconv_open("","");
41106 iconv(cd,NULL,NULL,NULL,NULL);
41107 iconv_close(cd);
41109 return 0;
41111 _ACEOF
41112 rm -f conftest.$ac_objext conftest$ac_exeext
41113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41114 (eval $ac_link) 2>conftest.er1
41115 ac_status=$?
41116 grep -v '^ *+' conftest.er1 >conftest.err
41117 rm -f conftest.er1
41118 cat conftest.err >&5
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); } &&
41121 { ac_try='test -z "$ac_c_werror_flag"
41122 || test ! -s conftest.err'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41125 ac_status=$?
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; } &&
41128 { ac_try='test -s conftest$ac_exeext'
41129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41130 (eval $ac_try) 2>&5
41131 ac_status=$?
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); }; }; then
41134 am_cv_func_iconv=yes
41135 else
41136 echo "$as_me: failed program was:" >&5
41137 sed 's/^/| /' conftest.$ac_ext >&5
41140 rm -f conftest.err conftest.$ac_objext \
41141 conftest$ac_exeext conftest.$ac_ext
41142 if test "$am_cv_func_iconv" != yes; then
41143 am_save_LIBS="$LIBS"
41144 LIBS="$LIBS $LIBICONV"
41145 if test x$gcc_no_link = xyes; then
41146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41148 { (exit 1); exit 1; }; }
41150 cat >conftest.$ac_ext <<_ACEOF
41151 /* confdefs.h. */
41152 _ACEOF
41153 cat confdefs.h >>conftest.$ac_ext
41154 cat >>conftest.$ac_ext <<_ACEOF
41155 /* end confdefs.h. */
41156 #include <stdlib.h>
41157 #include <iconv.h>
41159 main ()
41161 iconv_t cd = iconv_open("","");
41162 iconv(cd,NULL,NULL,NULL,NULL);
41163 iconv_close(cd);
41165 return 0;
41167 _ACEOF
41168 rm -f conftest.$ac_objext conftest$ac_exeext
41169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41170 (eval $ac_link) 2>conftest.er1
41171 ac_status=$?
41172 grep -v '^ *+' conftest.er1 >conftest.err
41173 rm -f conftest.er1
41174 cat conftest.err >&5
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); } &&
41177 { ac_try='test -z "$ac_c_werror_flag"
41178 || test ! -s conftest.err'
41179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41180 (eval $ac_try) 2>&5
41181 ac_status=$?
41182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41183 (exit $ac_status); }; } &&
41184 { ac_try='test -s conftest$ac_exeext'
41185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41186 (eval $ac_try) 2>&5
41187 ac_status=$?
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); }; }; then
41190 am_cv_lib_iconv=yes
41191 am_cv_func_iconv=yes
41192 else
41193 echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.$ac_ext >&5
41197 rm -f conftest.err conftest.$ac_objext \
41198 conftest$ac_exeext conftest.$ac_ext
41199 LIBS="$am_save_LIBS"
41203 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41204 echo "${ECHO_T}$am_cv_func_iconv" >&6
41205 if test "$am_cv_func_iconv" = yes; then
41207 cat >>confdefs.h <<\_ACEOF
41208 #define HAVE_ICONV 1
41209 _ACEOF
41212 if test "$am_cv_lib_iconv" = yes; then
41213 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41214 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41215 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41216 echo "${ECHO_T}$LIBICONV" >&6
41217 else
41218 CPPFLAGS="$am_save_CPPFLAGS"
41219 LIBICONV=
41220 LTLIBICONV=
41225 if test "$am_cv_func_iconv" = yes; then
41226 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41227 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41228 if test "${am_cv_proto_iconv+set}" = set; then
41229 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 else
41232 cat >conftest.$ac_ext <<_ACEOF
41233 /* confdefs.h. */
41234 _ACEOF
41235 cat confdefs.h >>conftest.$ac_ext
41236 cat >>conftest.$ac_ext <<_ACEOF
41237 /* end confdefs.h. */
41239 #include <stdlib.h>
41240 #include <iconv.h>
41241 extern
41242 #ifdef __cplusplus
41244 #endif
41245 #if defined(__STDC__) || defined(__cplusplus)
41246 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41247 #else
41248 size_t iconv();
41249 #endif
41252 main ()
41256 return 0;
41258 _ACEOF
41259 rm -f conftest.$ac_objext
41260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41261 (eval $ac_compile) 2>conftest.er1
41262 ac_status=$?
41263 grep -v '^ *+' conftest.er1 >conftest.err
41264 rm -f conftest.er1
41265 cat conftest.err >&5
41266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41267 (exit $ac_status); } &&
41268 { ac_try='test -z "$ac_c_werror_flag"
41269 || test ! -s conftest.err'
41270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41271 (eval $ac_try) 2>&5
41272 ac_status=$?
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); }; } &&
41275 { ac_try='test -s conftest.$ac_objext'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41278 ac_status=$?
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; }; then
41281 am_cv_proto_iconv_arg1=""
41282 else
41283 echo "$as_me: failed program was:" >&5
41284 sed 's/^/| /' conftest.$ac_ext >&5
41286 am_cv_proto_iconv_arg1="const"
41288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41289 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);"
41292 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41293 echo "$as_me:$LINENO: result: ${ac_t:-
41294 }$am_cv_proto_iconv" >&5
41295 echo "${ECHO_T}${ac_t:-
41296 }$am_cv_proto_iconv" >&6
41298 cat >>confdefs.h <<_ACEOF
41299 #define ICONV_CONST $am_cv_proto_iconv_arg1
41300 _ACEOF
41305 else
41307 # This lets us hard-code the functionality we know we'll have in the cross
41308 # target environment. "Let" is a sugar-coated word placed on an especially
41309 # dull and tedious hack, actually.
41311 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41312 # that involve linking, can't be used:
41313 # "cannot open sim-crt0.o"
41314 # "cannot open crt0.o"
41315 # etc. All this is because there currently exists no unified, consistent
41316 # way for top level CC information to be passed down to target directories:
41317 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41318 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41319 # crosses can be removed.
41321 # If Canadian cross, then don't pick up tools from the build directory.
41322 # Used only in GLIBCXX_EXPORT_INCLUDES.
41323 if test -n "$with_cross_host" &&
41324 test x"$build_alias" != x"$with_cross_host" &&
41325 test x"$build" != x"$target";
41326 then
41327 CANADIAN=yes
41328 else
41329 CANADIAN=no
41332 # Construct crosses by hand, eliminating bits that need ld...
41333 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41334 # GLIBCXX_CHECK_MATH_SUPPORT
41336 # First, test for "known" system libraries. We may be using newlib even
41337 # on a hosted environment.
41338 if test "x${with_newlib}" = "xyes"; then
41339 os_include_dir="os/newlib"
41340 cat >>confdefs.h <<\_ACEOF
41341 #define HAVE_HYPOT 1
41342 _ACEOF
41345 # GLIBCXX_CHECK_STDLIB_SUPPORT
41346 cat >>confdefs.h <<\_ACEOF
41347 #define HAVE_STRTOF 1
41348 _ACEOF
41350 # AC_FUNC_MMAP
41351 cat >>confdefs.h <<\_ACEOF
41352 #define HAVE_MMAP 1
41353 _ACEOF
41356 cat >>confdefs.h <<\_ACEOF
41357 #define HAVE_ACOSF 1
41358 _ACEOF
41360 cat >>confdefs.h <<\_ACEOF
41361 #define HAVE_ASINF 1
41362 _ACEOF
41364 cat >>confdefs.h <<\_ACEOF
41365 #define HAVE_ATAN2F 1
41366 _ACEOF
41368 cat >>confdefs.h <<\_ACEOF
41369 #define HAVE_ATANF 1
41370 _ACEOF
41372 cat >>confdefs.h <<\_ACEOF
41373 #define HAVE_CEILF 1
41374 _ACEOF
41376 cat >>confdefs.h <<\_ACEOF
41377 #define HAVE_COPYSIGN 1
41378 _ACEOF
41380 cat >>confdefs.h <<\_ACEOF
41381 #define HAVE_COPYSIGNF 1
41382 _ACEOF
41384 cat >>confdefs.h <<\_ACEOF
41385 #define HAVE_COSF 1
41386 _ACEOF
41388 cat >>confdefs.h <<\_ACEOF
41389 #define HAVE_COSHF 1
41390 _ACEOF
41392 cat >>confdefs.h <<\_ACEOF
41393 #define HAVE_EXPF 1
41394 _ACEOF
41396 cat >>confdefs.h <<\_ACEOF
41397 #define HAVE_FABSF 1
41398 _ACEOF
41400 cat >>confdefs.h <<\_ACEOF
41401 #define HAVE_FLOORF 1
41402 _ACEOF
41404 cat >>confdefs.h <<\_ACEOF
41405 #define HAVE_FMODF 1
41406 _ACEOF
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_FREXPF 1
41410 _ACEOF
41412 cat >>confdefs.h <<\_ACEOF
41413 #define HAVE_LDEXPF 1
41414 _ACEOF
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_LOG10F 1
41418 _ACEOF
41420 cat >>confdefs.h <<\_ACEOF
41421 #define HAVE_LOGF 1
41422 _ACEOF
41424 cat >>confdefs.h <<\_ACEOF
41425 #define HAVE_MODFF 1
41426 _ACEOF
41428 cat >>confdefs.h <<\_ACEOF
41429 #define HAVE_POWF 1
41430 _ACEOF
41432 cat >>confdefs.h <<\_ACEOF
41433 #define HAVE_SINF 1
41434 _ACEOF
41436 cat >>confdefs.h <<\_ACEOF
41437 #define HAVE_SINHF 1
41438 _ACEOF
41440 cat >>confdefs.h <<\_ACEOF
41441 #define HAVE_SQRTF 1
41442 _ACEOF
41444 cat >>confdefs.h <<\_ACEOF
41445 #define HAVE_TANF 1
41446 _ACEOF
41448 cat >>confdefs.h <<\_ACEOF
41449 #define HAVE_TANHF 1
41450 _ACEOF
41453 cat >>confdefs.h <<\_ACEOF
41454 #define HAVE_S_ISREG 1
41455 _ACEOF
41457 cat >>confdefs.h <<\_ACEOF
41458 #define HAVE_S_IFREG 1
41459 _ACEOF
41462 cat >>confdefs.h <<\_ACEOF
41463 #define HAVE_ICONV 1
41464 _ACEOF
41466 else
41468 # Base decisions on target environment.
41469 case "${host}" in
41470 arm*-*-symbianelf*)
41471 # This is a freestanding configuration; there is nothing to do here.
41474 *-darwin*)
41475 # Darwin versions vary, but the linker should work in a cross environment,
41476 # so we just check for all the features here.
41477 # Check for available headers.
41491 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
41492 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
41493 sys/types.h
41495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41497 echo "$as_me:$LINENO: checking for $ac_header" >&5
41498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41504 else
41505 # Is the header compilable?
41506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41508 cat >conftest.$ac_ext <<_ACEOF
41509 /* confdefs.h. */
41510 _ACEOF
41511 cat confdefs.h >>conftest.$ac_ext
41512 cat >>conftest.$ac_ext <<_ACEOF
41513 /* end confdefs.h. */
41514 $ac_includes_default
41515 #include <$ac_header>
41516 _ACEOF
41517 rm -f conftest.$ac_objext
41518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41519 (eval $ac_compile) 2>conftest.er1
41520 ac_status=$?
41521 grep -v '^ *+' conftest.er1 >conftest.err
41522 rm -f conftest.er1
41523 cat conftest.err >&5
41524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41525 (exit $ac_status); } &&
41526 { ac_try='test -z "$ac_c_werror_flag"
41527 || test ! -s conftest.err'
41528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41529 (eval $ac_try) 2>&5
41530 ac_status=$?
41531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532 (exit $ac_status); }; } &&
41533 { ac_try='test -s conftest.$ac_objext'
41534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41535 (eval $ac_try) 2>&5
41536 ac_status=$?
41537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41538 (exit $ac_status); }; }; then
41539 ac_header_compiler=yes
41540 else
41541 echo "$as_me: failed program was:" >&5
41542 sed 's/^/| /' conftest.$ac_ext >&5
41544 ac_header_compiler=no
41546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41548 echo "${ECHO_T}$ac_header_compiler" >&6
41550 # Is the header present?
41551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41553 cat >conftest.$ac_ext <<_ACEOF
41554 /* confdefs.h. */
41555 _ACEOF
41556 cat confdefs.h >>conftest.$ac_ext
41557 cat >>conftest.$ac_ext <<_ACEOF
41558 /* end confdefs.h. */
41559 #include <$ac_header>
41560 _ACEOF
41561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41563 ac_status=$?
41564 grep -v '^ *+' conftest.er1 >conftest.err
41565 rm -f conftest.er1
41566 cat conftest.err >&5
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); } >/dev/null; then
41569 if test -s conftest.err; then
41570 ac_cpp_err=$ac_c_preproc_warn_flag
41571 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41572 else
41573 ac_cpp_err=
41575 else
41576 ac_cpp_err=yes
41578 if test -z "$ac_cpp_err"; then
41579 ac_header_preproc=yes
41580 else
41581 echo "$as_me: failed program was:" >&5
41582 sed 's/^/| /' conftest.$ac_ext >&5
41584 ac_header_preproc=no
41586 rm -f conftest.err conftest.$ac_ext
41587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41588 echo "${ECHO_T}$ac_header_preproc" >&6
41590 # So? What about this header?
41591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41592 yes:no: )
41593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41597 ac_header_preproc=yes
41599 no:yes:* )
41600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41613 cat <<\_ASBOX
41614 ## ----------------------------------------- ##
41615 ## Report this to the package-unused lists. ##
41616 ## ----------------------------------------- ##
41617 _ASBOX
41619 sed "s/^/$as_me: WARNING: /" >&2
41621 esac
41622 echo "$as_me:$LINENO: checking for $ac_header" >&5
41623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41627 eval "$as_ac_Header=\$ac_header_preproc"
41629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41634 cat >>confdefs.h <<_ACEOF
41635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41636 _ACEOF
41640 done
41643 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41645 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41646 ac_save_CXXFLAGS="$CXXFLAGS"
41647 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41649 echo "$as_me:$LINENO: checking for sin in -lm" >&5
41650 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
41651 if test "${ac_cv_lib_m_sin+set}" = set; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41653 else
41654 ac_check_lib_save_LIBS=$LIBS
41655 LIBS="-lm $LIBS"
41656 if test x$gcc_no_link = xyes; then
41657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41659 { (exit 1); exit 1; }; }
41661 cat >conftest.$ac_ext <<_ACEOF
41662 /* confdefs.h. */
41663 _ACEOF
41664 cat confdefs.h >>conftest.$ac_ext
41665 cat >>conftest.$ac_ext <<_ACEOF
41666 /* end confdefs.h. */
41668 /* Override any gcc2 internal prototype to avoid an error. */
41669 #ifdef __cplusplus
41670 extern "C"
41671 #endif
41672 /* We use char because int might match the return type of a gcc2
41673 builtin and then its argument prototype would still apply. */
41674 char sin ();
41676 main ()
41678 sin ();
41680 return 0;
41682 _ACEOF
41683 rm -f conftest.$ac_objext conftest$ac_exeext
41684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41685 (eval $ac_link) 2>conftest.er1
41686 ac_status=$?
41687 grep -v '^ *+' conftest.er1 >conftest.err
41688 rm -f conftest.er1
41689 cat conftest.err >&5
41690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691 (exit $ac_status); } &&
41692 { ac_try='test -z "$ac_c_werror_flag"
41693 || test ! -s conftest.err'
41694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41695 (eval $ac_try) 2>&5
41696 ac_status=$?
41697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41698 (exit $ac_status); }; } &&
41699 { ac_try='test -s conftest$ac_exeext'
41700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41701 (eval $ac_try) 2>&5
41702 ac_status=$?
41703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41704 (exit $ac_status); }; }; then
41705 ac_cv_lib_m_sin=yes
41706 else
41707 echo "$as_me: failed program was:" >&5
41708 sed 's/^/| /' conftest.$ac_ext >&5
41710 ac_cv_lib_m_sin=no
41712 rm -f conftest.err conftest.$ac_objext \
41713 conftest$ac_exeext conftest.$ac_ext
41714 LIBS=$ac_check_lib_save_LIBS
41716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
41717 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
41718 if test $ac_cv_lib_m_sin = yes; then
41719 libm="-lm"
41722 ac_save_LIBS="$LIBS"
41723 LIBS="$LIBS $libm"
41727 echo "$as_me:$LINENO: checking for isinf declaration" >&5
41728 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
41729 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41730 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 else
41736 ac_ext=cc
41737 ac_cpp='$CXXCPP $CPPFLAGS'
41738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41742 cat >conftest.$ac_ext <<_ACEOF
41743 /* confdefs.h. */
41744 _ACEOF
41745 cat confdefs.h >>conftest.$ac_ext
41746 cat >>conftest.$ac_ext <<_ACEOF
41747 /* end confdefs.h. */
41748 #include <math.h>
41749 #ifdef HAVE_IEEEFP_H
41750 #include <ieeefp.h>
41751 #endif
41754 main ()
41756 isinf(0);
41758 return 0;
41760 _ACEOF
41761 rm -f conftest.$ac_objext
41762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41763 (eval $ac_compile) 2>conftest.er1
41764 ac_status=$?
41765 grep -v '^ *+' conftest.er1 >conftest.err
41766 rm -f conftest.er1
41767 cat conftest.err >&5
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); } &&
41770 { ac_try='test -z "$ac_cxx_werror_flag"
41771 || test ! -s conftest.err'
41772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41773 (eval $ac_try) 2>&5
41774 ac_status=$?
41775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41776 (exit $ac_status); }; } &&
41777 { ac_try='test -s conftest.$ac_objext'
41778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41779 (eval $ac_try) 2>&5
41780 ac_status=$?
41781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41782 (exit $ac_status); }; }; then
41783 glibcxx_cv_func_isinf_use=yes
41784 else
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.$ac_ext >&5
41788 glibcxx_cv_func_isinf_use=no
41790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41791 ac_ext=c
41792 ac_cpp='$CPP $CPPFLAGS'
41793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
41802 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
41804 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41806 for ac_func in isinf
41808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41809 echo "$as_me:$LINENO: checking for $ac_func" >&5
41810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41811 if eval "test \"\${$as_ac_var+set}\" = set"; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41813 else
41814 if test x$gcc_no_link = xyes; then
41815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41817 { (exit 1); exit 1; }; }
41819 cat >conftest.$ac_ext <<_ACEOF
41820 /* confdefs.h. */
41821 _ACEOF
41822 cat confdefs.h >>conftest.$ac_ext
41823 cat >>conftest.$ac_ext <<_ACEOF
41824 /* end confdefs.h. */
41825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41827 #define $ac_func innocuous_$ac_func
41829 /* System header to define __stub macros and hopefully few prototypes,
41830 which can conflict with char $ac_func (); below.
41831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41832 <limits.h> exists even on freestanding compilers. */
41834 #ifdef __STDC__
41835 # include <limits.h>
41836 #else
41837 # include <assert.h>
41838 #endif
41840 #undef $ac_func
41842 /* Override any gcc2 internal prototype to avoid an error. */
41843 #ifdef __cplusplus
41844 extern "C"
41846 #endif
41847 /* We use char because int might match the return type of a gcc2
41848 builtin and then its argument prototype would still apply. */
41849 char $ac_func ();
41850 /* The GNU C library defines this for functions which it implements
41851 to always fail with ENOSYS. Some functions are actually named
41852 something starting with __ and the normal name is an alias. */
41853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41854 choke me
41855 #else
41856 char (*f) () = $ac_func;
41857 #endif
41858 #ifdef __cplusplus
41860 #endif
41863 main ()
41865 return f != $ac_func;
41867 return 0;
41869 _ACEOF
41870 rm -f conftest.$ac_objext conftest$ac_exeext
41871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41872 (eval $ac_link) 2>conftest.er1
41873 ac_status=$?
41874 grep -v '^ *+' conftest.er1 >conftest.err
41875 rm -f conftest.er1
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } &&
41879 { ac_try='test -z "$ac_c_werror_flag"
41880 || test ! -s conftest.err'
41881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41882 (eval $ac_try) 2>&5
41883 ac_status=$?
41884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41885 (exit $ac_status); }; } &&
41886 { ac_try='test -s conftest$ac_exeext'
41887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41888 (eval $ac_try) 2>&5
41889 ac_status=$?
41890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41891 (exit $ac_status); }; }; then
41892 eval "$as_ac_var=yes"
41893 else
41894 echo "$as_me: failed program was:" >&5
41895 sed 's/^/| /' conftest.$ac_ext >&5
41897 eval "$as_ac_var=no"
41899 rm -f conftest.err conftest.$ac_objext \
41900 conftest$ac_exeext conftest.$ac_ext
41902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41904 if test `eval echo '${'$as_ac_var'}'` = yes; then
41905 cat >>confdefs.h <<_ACEOF
41906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41907 _ACEOF
41910 done
41912 else
41914 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
41915 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
41916 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41917 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
41918 echo $ECHO_N "(cached) $ECHO_C" >&6
41919 else
41923 ac_ext=cc
41924 ac_cpp='$CXXCPP $CPPFLAGS'
41925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41929 cat >conftest.$ac_ext <<_ACEOF
41930 /* confdefs.h. */
41931 _ACEOF
41932 cat confdefs.h >>conftest.$ac_ext
41933 cat >>conftest.$ac_ext <<_ACEOF
41934 /* end confdefs.h. */
41935 #include <math.h>
41936 #ifdef HAVE_IEEEFP_H
41937 #include <ieeefp.h>
41938 #endif
41941 main ()
41943 _isinf(0);
41945 return 0;
41947 _ACEOF
41948 rm -f conftest.$ac_objext
41949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41950 (eval $ac_compile) 2>conftest.er1
41951 ac_status=$?
41952 grep -v '^ *+' conftest.er1 >conftest.err
41953 rm -f conftest.er1
41954 cat conftest.err >&5
41955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41956 (exit $ac_status); } &&
41957 { ac_try='test -z "$ac_cxx_werror_flag"
41958 || test ! -s conftest.err'
41959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41960 (eval $ac_try) 2>&5
41961 ac_status=$?
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); }; } &&
41964 { ac_try='test -s conftest.$ac_objext'
41965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41966 (eval $ac_try) 2>&5
41967 ac_status=$?
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); }; }; then
41970 glibcxx_cv_func__isinf_use=yes
41971 else
41972 echo "$as_me: failed program was:" >&5
41973 sed 's/^/| /' conftest.$ac_ext >&5
41975 glibcxx_cv_func__isinf_use=no
41977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41978 ac_ext=c
41979 ac_cpp='$CPP $CPPFLAGS'
41980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
41989 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
41991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41993 for ac_func in _isinf
41995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41996 echo "$as_me:$LINENO: checking for $ac_func" >&5
41997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41998 if eval "test \"\${$as_ac_var+set}\" = set"; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42000 else
42001 if test x$gcc_no_link = xyes; then
42002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42004 { (exit 1); exit 1; }; }
42006 cat >conftest.$ac_ext <<_ACEOF
42007 /* confdefs.h. */
42008 _ACEOF
42009 cat confdefs.h >>conftest.$ac_ext
42010 cat >>conftest.$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42014 #define $ac_func innocuous_$ac_func
42016 /* System header to define __stub macros and hopefully few prototypes,
42017 which can conflict with char $ac_func (); below.
42018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42019 <limits.h> exists even on freestanding compilers. */
42021 #ifdef __STDC__
42022 # include <limits.h>
42023 #else
42024 # include <assert.h>
42025 #endif
42027 #undef $ac_func
42029 /* Override any gcc2 internal prototype to avoid an error. */
42030 #ifdef __cplusplus
42031 extern "C"
42033 #endif
42034 /* We use char because int might match the return type of a gcc2
42035 builtin and then its argument prototype would still apply. */
42036 char $ac_func ();
42037 /* The GNU C library defines this for functions which it implements
42038 to always fail with ENOSYS. Some functions are actually named
42039 something starting with __ and the normal name is an alias. */
42040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42041 choke me
42042 #else
42043 char (*f) () = $ac_func;
42044 #endif
42045 #ifdef __cplusplus
42047 #endif
42050 main ()
42052 return f != $ac_func;
42054 return 0;
42056 _ACEOF
42057 rm -f conftest.$ac_objext conftest$ac_exeext
42058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42059 (eval $ac_link) 2>conftest.er1
42060 ac_status=$?
42061 grep -v '^ *+' conftest.er1 >conftest.err
42062 rm -f conftest.er1
42063 cat conftest.err >&5
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); } &&
42066 { ac_try='test -z "$ac_c_werror_flag"
42067 || test ! -s conftest.err'
42068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42069 (eval $ac_try) 2>&5
42070 ac_status=$?
42071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072 (exit $ac_status); }; } &&
42073 { ac_try='test -s conftest$ac_exeext'
42074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42075 (eval $ac_try) 2>&5
42076 ac_status=$?
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); }; }; then
42079 eval "$as_ac_var=yes"
42080 else
42081 echo "$as_me: failed program was:" >&5
42082 sed 's/^/| /' conftest.$ac_ext >&5
42084 eval "$as_ac_var=no"
42086 rm -f conftest.err conftest.$ac_objext \
42087 conftest$ac_exeext conftest.$ac_ext
42089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42091 if test `eval echo '${'$as_ac_var'}'` = yes; then
42092 cat >>confdefs.h <<_ACEOF
42093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42094 _ACEOF
42097 done
42107 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42108 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42109 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42110 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42111 echo $ECHO_N "(cached) $ECHO_C" >&6
42112 else
42116 ac_ext=cc
42117 ac_cpp='$CXXCPP $CPPFLAGS'
42118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42122 cat >conftest.$ac_ext <<_ACEOF
42123 /* confdefs.h. */
42124 _ACEOF
42125 cat confdefs.h >>conftest.$ac_ext
42126 cat >>conftest.$ac_ext <<_ACEOF
42127 /* end confdefs.h. */
42128 #include <math.h>
42129 #ifdef HAVE_IEEEFP_H
42130 #include <ieeefp.h>
42131 #endif
42134 main ()
42136 isnan(0);
42138 return 0;
42140 _ACEOF
42141 rm -f conftest.$ac_objext
42142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42143 (eval $ac_compile) 2>conftest.er1
42144 ac_status=$?
42145 grep -v '^ *+' conftest.er1 >conftest.err
42146 rm -f conftest.er1
42147 cat conftest.err >&5
42148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42149 (exit $ac_status); } &&
42150 { ac_try='test -z "$ac_cxx_werror_flag"
42151 || test ! -s conftest.err'
42152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42153 (eval $ac_try) 2>&5
42154 ac_status=$?
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); }; } &&
42157 { ac_try='test -s conftest.$ac_objext'
42158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42159 (eval $ac_try) 2>&5
42160 ac_status=$?
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); }; }; then
42163 glibcxx_cv_func_isnan_use=yes
42164 else
42165 echo "$as_me: failed program was:" >&5
42166 sed 's/^/| /' conftest.$ac_ext >&5
42168 glibcxx_cv_func_isnan_use=no
42170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42171 ac_ext=c
42172 ac_cpp='$CPP $CPPFLAGS'
42173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42182 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42184 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42186 for ac_func in isnan
42188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42189 echo "$as_me:$LINENO: checking for $ac_func" >&5
42190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42191 if eval "test \"\${$as_ac_var+set}\" = set"; then
42192 echo $ECHO_N "(cached) $ECHO_C" >&6
42193 else
42194 if test x$gcc_no_link = xyes; then
42195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42197 { (exit 1); exit 1; }; }
42199 cat >conftest.$ac_ext <<_ACEOF
42200 /* confdefs.h. */
42201 _ACEOF
42202 cat confdefs.h >>conftest.$ac_ext
42203 cat >>conftest.$ac_ext <<_ACEOF
42204 /* end confdefs.h. */
42205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42207 #define $ac_func innocuous_$ac_func
42209 /* System header to define __stub macros and hopefully few prototypes,
42210 which can conflict with char $ac_func (); below.
42211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42212 <limits.h> exists even on freestanding compilers. */
42214 #ifdef __STDC__
42215 # include <limits.h>
42216 #else
42217 # include <assert.h>
42218 #endif
42220 #undef $ac_func
42222 /* Override any gcc2 internal prototype to avoid an error. */
42223 #ifdef __cplusplus
42224 extern "C"
42226 #endif
42227 /* We use char because int might match the return type of a gcc2
42228 builtin and then its argument prototype would still apply. */
42229 char $ac_func ();
42230 /* The GNU C library defines this for functions which it implements
42231 to always fail with ENOSYS. Some functions are actually named
42232 something starting with __ and the normal name is an alias. */
42233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42234 choke me
42235 #else
42236 char (*f) () = $ac_func;
42237 #endif
42238 #ifdef __cplusplus
42240 #endif
42243 main ()
42245 return f != $ac_func;
42247 return 0;
42249 _ACEOF
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42252 (eval $ac_link) 2>conftest.er1
42253 ac_status=$?
42254 grep -v '^ *+' conftest.er1 >conftest.err
42255 rm -f conftest.er1
42256 cat conftest.err >&5
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); } &&
42259 { ac_try='test -z "$ac_c_werror_flag"
42260 || test ! -s conftest.err'
42261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42262 (eval $ac_try) 2>&5
42263 ac_status=$?
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; } &&
42266 { ac_try='test -s conftest$ac_exeext'
42267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42268 (eval $ac_try) 2>&5
42269 ac_status=$?
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); }; }; then
42272 eval "$as_ac_var=yes"
42273 else
42274 echo "$as_me: failed program was:" >&5
42275 sed 's/^/| /' conftest.$ac_ext >&5
42277 eval "$as_ac_var=no"
42279 rm -f conftest.err conftest.$ac_objext \
42280 conftest$ac_exeext conftest.$ac_ext
42282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42284 if test `eval echo '${'$as_ac_var'}'` = yes; then
42285 cat >>confdefs.h <<_ACEOF
42286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42287 _ACEOF
42290 done
42292 else
42294 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42295 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42296 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42297 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42298 echo $ECHO_N "(cached) $ECHO_C" >&6
42299 else
42303 ac_ext=cc
42304 ac_cpp='$CXXCPP $CPPFLAGS'
42305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42309 cat >conftest.$ac_ext <<_ACEOF
42310 /* confdefs.h. */
42311 _ACEOF
42312 cat confdefs.h >>conftest.$ac_ext
42313 cat >>conftest.$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42315 #include <math.h>
42316 #ifdef HAVE_IEEEFP_H
42317 #include <ieeefp.h>
42318 #endif
42321 main ()
42323 _isnan(0);
42325 return 0;
42327 _ACEOF
42328 rm -f conftest.$ac_objext
42329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42330 (eval $ac_compile) 2>conftest.er1
42331 ac_status=$?
42332 grep -v '^ *+' conftest.er1 >conftest.err
42333 rm -f conftest.er1
42334 cat conftest.err >&5
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); } &&
42337 { ac_try='test -z "$ac_cxx_werror_flag"
42338 || test ! -s conftest.err'
42339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42340 (eval $ac_try) 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; } &&
42344 { ac_try='test -s conftest.$ac_objext'
42345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42346 (eval $ac_try) 2>&5
42347 ac_status=$?
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); }; }; then
42350 glibcxx_cv_func__isnan_use=yes
42351 else
42352 echo "$as_me: failed program was:" >&5
42353 sed 's/^/| /' conftest.$ac_ext >&5
42355 glibcxx_cv_func__isnan_use=no
42357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42358 ac_ext=c
42359 ac_cpp='$CPP $CPPFLAGS'
42360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
42369 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
42371 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42373 for ac_func in _isnan
42375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42376 echo "$as_me:$LINENO: checking for $ac_func" >&5
42377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42378 if eval "test \"\${$as_ac_var+set}\" = set"; then
42379 echo $ECHO_N "(cached) $ECHO_C" >&6
42380 else
42381 if test x$gcc_no_link = xyes; then
42382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42384 { (exit 1); exit 1; }; }
42386 cat >conftest.$ac_ext <<_ACEOF
42387 /* confdefs.h. */
42388 _ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42394 #define $ac_func innocuous_$ac_func
42396 /* System header to define __stub macros and hopefully few prototypes,
42397 which can conflict with char $ac_func (); below.
42398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42399 <limits.h> exists even on freestanding compilers. */
42401 #ifdef __STDC__
42402 # include <limits.h>
42403 #else
42404 # include <assert.h>
42405 #endif
42407 #undef $ac_func
42409 /* Override any gcc2 internal prototype to avoid an error. */
42410 #ifdef __cplusplus
42411 extern "C"
42413 #endif
42414 /* We use char because int might match the return type of a gcc2
42415 builtin and then its argument prototype would still apply. */
42416 char $ac_func ();
42417 /* The GNU C library defines this for functions which it implements
42418 to always fail with ENOSYS. Some functions are actually named
42419 something starting with __ and the normal name is an alias. */
42420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42421 choke me
42422 #else
42423 char (*f) () = $ac_func;
42424 #endif
42425 #ifdef __cplusplus
42427 #endif
42430 main ()
42432 return f != $ac_func;
42434 return 0;
42436 _ACEOF
42437 rm -f conftest.$ac_objext conftest$ac_exeext
42438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42439 (eval $ac_link) 2>conftest.er1
42440 ac_status=$?
42441 grep -v '^ *+' conftest.er1 >conftest.err
42442 rm -f conftest.er1
42443 cat conftest.err >&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); } &&
42446 { ac_try='test -z "$ac_c_werror_flag"
42447 || test ! -s conftest.err'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; } &&
42453 { ac_try='test -s conftest$ac_exeext'
42454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42455 (eval $ac_try) 2>&5
42456 ac_status=$?
42457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42458 (exit $ac_status); }; }; then
42459 eval "$as_ac_var=yes"
42460 else
42461 echo "$as_me: failed program was:" >&5
42462 sed 's/^/| /' conftest.$ac_ext >&5
42464 eval "$as_ac_var=no"
42466 rm -f conftest.err conftest.$ac_objext \
42467 conftest$ac_exeext conftest.$ac_ext
42469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42471 if test `eval echo '${'$as_ac_var'}'` = yes; then
42472 cat >>confdefs.h <<_ACEOF
42473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42474 _ACEOF
42477 done
42487 echo "$as_me:$LINENO: checking for finite declaration" >&5
42488 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
42489 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42490 if test "${glibcxx_cv_func_finite_use+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42496 ac_ext=cc
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42502 cat >conftest.$ac_ext <<_ACEOF
42503 /* confdefs.h. */
42504 _ACEOF
42505 cat confdefs.h >>conftest.$ac_ext
42506 cat >>conftest.$ac_ext <<_ACEOF
42507 /* end confdefs.h. */
42508 #include <math.h>
42509 #ifdef HAVE_IEEEFP_H
42510 #include <ieeefp.h>
42511 #endif
42514 main ()
42516 finite(0);
42518 return 0;
42520 _ACEOF
42521 rm -f conftest.$ac_objext
42522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42523 (eval $ac_compile) 2>conftest.er1
42524 ac_status=$?
42525 grep -v '^ *+' conftest.er1 >conftest.err
42526 rm -f conftest.er1
42527 cat conftest.err >&5
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); } &&
42530 { ac_try='test -z "$ac_cxx_werror_flag"
42531 || test ! -s conftest.err'
42532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42533 (eval $ac_try) 2>&5
42534 ac_status=$?
42535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42536 (exit $ac_status); }; } &&
42537 { ac_try='test -s conftest.$ac_objext'
42538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539 (eval $ac_try) 2>&5
42540 ac_status=$?
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; }; then
42543 glibcxx_cv_func_finite_use=yes
42544 else
42545 echo "$as_me: failed program was:" >&5
42546 sed 's/^/| /' conftest.$ac_ext >&5
42548 glibcxx_cv_func_finite_use=no
42550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42551 ac_ext=c
42552 ac_cpp='$CPP $CPPFLAGS'
42553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
42562 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
42564 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42566 for ac_func in finite
42568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42569 echo "$as_me:$LINENO: checking for $ac_func" >&5
42570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42571 if eval "test \"\${$as_ac_var+set}\" = set"; then
42572 echo $ECHO_N "(cached) $ECHO_C" >&6
42573 else
42574 if test x$gcc_no_link = xyes; then
42575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42577 { (exit 1); exit 1; }; }
42579 cat >conftest.$ac_ext <<_ACEOF
42580 /* confdefs.h. */
42581 _ACEOF
42582 cat confdefs.h >>conftest.$ac_ext
42583 cat >>conftest.$ac_ext <<_ACEOF
42584 /* end confdefs.h. */
42585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42587 #define $ac_func innocuous_$ac_func
42589 /* System header to define __stub macros and hopefully few prototypes,
42590 which can conflict with char $ac_func (); below.
42591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42592 <limits.h> exists even on freestanding compilers. */
42594 #ifdef __STDC__
42595 # include <limits.h>
42596 #else
42597 # include <assert.h>
42598 #endif
42600 #undef $ac_func
42602 /* Override any gcc2 internal prototype to avoid an error. */
42603 #ifdef __cplusplus
42604 extern "C"
42606 #endif
42607 /* We use char because int might match the return type of a gcc2
42608 builtin and then its argument prototype would still apply. */
42609 char $ac_func ();
42610 /* The GNU C library defines this for functions which it implements
42611 to always fail with ENOSYS. Some functions are actually named
42612 something starting with __ and the normal name is an alias. */
42613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42614 choke me
42615 #else
42616 char (*f) () = $ac_func;
42617 #endif
42618 #ifdef __cplusplus
42620 #endif
42623 main ()
42625 return f != $ac_func;
42627 return 0;
42629 _ACEOF
42630 rm -f conftest.$ac_objext conftest$ac_exeext
42631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42632 (eval $ac_link) 2>conftest.er1
42633 ac_status=$?
42634 grep -v '^ *+' conftest.er1 >conftest.err
42635 rm -f conftest.er1
42636 cat conftest.err >&5
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); } &&
42639 { ac_try='test -z "$ac_c_werror_flag"
42640 || test ! -s conftest.err'
42641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42642 (eval $ac_try) 2>&5
42643 ac_status=$?
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; } &&
42646 { ac_try='test -s conftest$ac_exeext'
42647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42648 (eval $ac_try) 2>&5
42649 ac_status=$?
42650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651 (exit $ac_status); }; }; then
42652 eval "$as_ac_var=yes"
42653 else
42654 echo "$as_me: failed program was:" >&5
42655 sed 's/^/| /' conftest.$ac_ext >&5
42657 eval "$as_ac_var=no"
42659 rm -f conftest.err conftest.$ac_objext \
42660 conftest$ac_exeext conftest.$ac_ext
42662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42664 if test `eval echo '${'$as_ac_var'}'` = yes; then
42665 cat >>confdefs.h <<_ACEOF
42666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42667 _ACEOF
42670 done
42672 else
42674 echo "$as_me:$LINENO: checking for _finite declaration" >&5
42675 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
42676 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42677 if test "${glibcxx_cv_func__finite_use+set}" = set; then
42678 echo $ECHO_N "(cached) $ECHO_C" >&6
42679 else
42683 ac_ext=cc
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689 cat >conftest.$ac_ext <<_ACEOF
42690 /* confdefs.h. */
42691 _ACEOF
42692 cat confdefs.h >>conftest.$ac_ext
42693 cat >>conftest.$ac_ext <<_ACEOF
42694 /* end confdefs.h. */
42695 #include <math.h>
42696 #ifdef HAVE_IEEEFP_H
42697 #include <ieeefp.h>
42698 #endif
42701 main ()
42703 _finite(0);
42705 return 0;
42707 _ACEOF
42708 rm -f conftest.$ac_objext
42709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42710 (eval $ac_compile) 2>conftest.er1
42711 ac_status=$?
42712 grep -v '^ *+' conftest.er1 >conftest.err
42713 rm -f conftest.er1
42714 cat conftest.err >&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } &&
42717 { ac_try='test -z "$ac_cxx_werror_flag"
42718 || test ! -s conftest.err'
42719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42720 (eval $ac_try) 2>&5
42721 ac_status=$?
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); }; } &&
42724 { ac_try='test -s conftest.$ac_objext'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42727 ac_status=$?
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; }; then
42730 glibcxx_cv_func__finite_use=yes
42731 else
42732 echo "$as_me: failed program was:" >&5
42733 sed 's/^/| /' conftest.$ac_ext >&5
42735 glibcxx_cv_func__finite_use=no
42737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42738 ac_ext=c
42739 ac_cpp='$CPP $CPPFLAGS'
42740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
42749 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
42751 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42753 for ac_func in _finite
42755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42756 echo "$as_me:$LINENO: checking for $ac_func" >&5
42757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42758 if eval "test \"\${$as_ac_var+set}\" = set"; then
42759 echo $ECHO_N "(cached) $ECHO_C" >&6
42760 else
42761 if test x$gcc_no_link = xyes; then
42762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42764 { (exit 1); exit 1; }; }
42766 cat >conftest.$ac_ext <<_ACEOF
42767 /* confdefs.h. */
42768 _ACEOF
42769 cat confdefs.h >>conftest.$ac_ext
42770 cat >>conftest.$ac_ext <<_ACEOF
42771 /* end confdefs.h. */
42772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42774 #define $ac_func innocuous_$ac_func
42776 /* System header to define __stub macros and hopefully few prototypes,
42777 which can conflict with char $ac_func (); below.
42778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42779 <limits.h> exists even on freestanding compilers. */
42781 #ifdef __STDC__
42782 # include <limits.h>
42783 #else
42784 # include <assert.h>
42785 #endif
42787 #undef $ac_func
42789 /* Override any gcc2 internal prototype to avoid an error. */
42790 #ifdef __cplusplus
42791 extern "C"
42793 #endif
42794 /* We use char because int might match the return type of a gcc2
42795 builtin and then its argument prototype would still apply. */
42796 char $ac_func ();
42797 /* The GNU C library defines this for functions which it implements
42798 to always fail with ENOSYS. Some functions are actually named
42799 something starting with __ and the normal name is an alias. */
42800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42801 choke me
42802 #else
42803 char (*f) () = $ac_func;
42804 #endif
42805 #ifdef __cplusplus
42807 #endif
42810 main ()
42812 return f != $ac_func;
42814 return 0;
42816 _ACEOF
42817 rm -f conftest.$ac_objext conftest$ac_exeext
42818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42819 (eval $ac_link) 2>conftest.er1
42820 ac_status=$?
42821 grep -v '^ *+' conftest.er1 >conftest.err
42822 rm -f conftest.er1
42823 cat conftest.err >&5
42824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42825 (exit $ac_status); } &&
42826 { ac_try='test -z "$ac_c_werror_flag"
42827 || test ! -s conftest.err'
42828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42829 (eval $ac_try) 2>&5
42830 ac_status=$?
42831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42832 (exit $ac_status); }; } &&
42833 { ac_try='test -s conftest$ac_exeext'
42834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42835 (eval $ac_try) 2>&5
42836 ac_status=$?
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; }; then
42839 eval "$as_ac_var=yes"
42840 else
42841 echo "$as_me: failed program was:" >&5
42842 sed 's/^/| /' conftest.$ac_ext >&5
42844 eval "$as_ac_var=no"
42846 rm -f conftest.err conftest.$ac_objext \
42847 conftest$ac_exeext conftest.$ac_ext
42849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42851 if test `eval echo '${'$as_ac_var'}'` = yes; then
42852 cat >>confdefs.h <<_ACEOF
42853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42854 _ACEOF
42857 done
42867 echo "$as_me:$LINENO: checking for copysign declaration" >&5
42868 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
42869 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
42870 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
42871 echo $ECHO_N "(cached) $ECHO_C" >&6
42872 else
42876 ac_ext=cc
42877 ac_cpp='$CXXCPP $CPPFLAGS'
42878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42882 cat >conftest.$ac_ext <<_ACEOF
42883 /* confdefs.h. */
42884 _ACEOF
42885 cat confdefs.h >>conftest.$ac_ext
42886 cat >>conftest.$ac_ext <<_ACEOF
42887 /* end confdefs.h. */
42888 #include <math.h>
42890 main ()
42892 copysign(0, 0);
42894 return 0;
42896 _ACEOF
42897 rm -f conftest.$ac_objext
42898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42899 (eval $ac_compile) 2>conftest.er1
42900 ac_status=$?
42901 grep -v '^ *+' conftest.er1 >conftest.err
42902 rm -f conftest.er1
42903 cat conftest.err >&5
42904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42905 (exit $ac_status); } &&
42906 { ac_try='test -z "$ac_cxx_werror_flag"
42907 || test ! -s conftest.err'
42908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42909 (eval $ac_try) 2>&5
42910 ac_status=$?
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); }; } &&
42913 { ac_try='test -s conftest.$ac_objext'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; }; then
42919 glibcxx_cv_func_copysign_use=yes
42920 else
42921 echo "$as_me: failed program was:" >&5
42922 sed 's/^/| /' conftest.$ac_ext >&5
42924 glibcxx_cv_func_copysign_use=no
42926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42927 ac_ext=c
42928 ac_cpp='$CPP $CPPFLAGS'
42929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
42938 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
42940 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
42942 for ac_func in copysign
42944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42945 echo "$as_me:$LINENO: checking for $ac_func" >&5
42946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42947 if eval "test \"\${$as_ac_var+set}\" = set"; then
42948 echo $ECHO_N "(cached) $ECHO_C" >&6
42949 else
42950 if test x$gcc_no_link = xyes; then
42951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42953 { (exit 1); exit 1; }; }
42955 cat >conftest.$ac_ext <<_ACEOF
42956 /* confdefs.h. */
42957 _ACEOF
42958 cat confdefs.h >>conftest.$ac_ext
42959 cat >>conftest.$ac_ext <<_ACEOF
42960 /* end confdefs.h. */
42961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42963 #define $ac_func innocuous_$ac_func
42965 /* System header to define __stub macros and hopefully few prototypes,
42966 which can conflict with char $ac_func (); below.
42967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42968 <limits.h> exists even on freestanding compilers. */
42970 #ifdef __STDC__
42971 # include <limits.h>
42972 #else
42973 # include <assert.h>
42974 #endif
42976 #undef $ac_func
42978 /* Override any gcc2 internal prototype to avoid an error. */
42979 #ifdef __cplusplus
42980 extern "C"
42982 #endif
42983 /* We use char because int might match the return type of a gcc2
42984 builtin and then its argument prototype would still apply. */
42985 char $ac_func ();
42986 /* The GNU C library defines this for functions which it implements
42987 to always fail with ENOSYS. Some functions are actually named
42988 something starting with __ and the normal name is an alias. */
42989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42990 choke me
42991 #else
42992 char (*f) () = $ac_func;
42993 #endif
42994 #ifdef __cplusplus
42996 #endif
42999 main ()
43001 return f != $ac_func;
43003 return 0;
43005 _ACEOF
43006 rm -f conftest.$ac_objext conftest$ac_exeext
43007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43008 (eval $ac_link) 2>conftest.er1
43009 ac_status=$?
43010 grep -v '^ *+' conftest.er1 >conftest.err
43011 rm -f conftest.er1
43012 cat conftest.err >&5
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); } &&
43015 { ac_try='test -z "$ac_c_werror_flag"
43016 || test ! -s conftest.err'
43017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43018 (eval $ac_try) 2>&5
43019 ac_status=$?
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); }; } &&
43022 { ac_try='test -s conftest$ac_exeext'
43023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43024 (eval $ac_try) 2>&5
43025 ac_status=$?
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; }; then
43028 eval "$as_ac_var=yes"
43029 else
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43033 eval "$as_ac_var=no"
43035 rm -f conftest.err conftest.$ac_objext \
43036 conftest$ac_exeext conftest.$ac_ext
43038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43040 if test `eval echo '${'$as_ac_var'}'` = yes; then
43041 cat >>confdefs.h <<_ACEOF
43042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43043 _ACEOF
43046 done
43048 else
43050 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43051 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43052 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43053 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43054 echo $ECHO_N "(cached) $ECHO_C" >&6
43055 else
43059 ac_ext=cc
43060 ac_cpp='$CXXCPP $CPPFLAGS'
43061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43065 cat >conftest.$ac_ext <<_ACEOF
43066 /* confdefs.h. */
43067 _ACEOF
43068 cat confdefs.h >>conftest.$ac_ext
43069 cat >>conftest.$ac_ext <<_ACEOF
43070 /* end confdefs.h. */
43071 #include <math.h>
43073 main ()
43075 _copysign(0, 0);
43077 return 0;
43079 _ACEOF
43080 rm -f conftest.$ac_objext
43081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43082 (eval $ac_compile) 2>conftest.er1
43083 ac_status=$?
43084 grep -v '^ *+' conftest.er1 >conftest.err
43085 rm -f conftest.er1
43086 cat conftest.err >&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); } &&
43089 { ac_try='test -z "$ac_cxx_werror_flag"
43090 || test ! -s conftest.err'
43091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43092 (eval $ac_try) 2>&5
43093 ac_status=$?
43094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43095 (exit $ac_status); }; } &&
43096 { ac_try='test -s conftest.$ac_objext'
43097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43098 (eval $ac_try) 2>&5
43099 ac_status=$?
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); }; }; then
43102 glibcxx_cv_func__copysign_use=yes
43103 else
43104 echo "$as_me: failed program was:" >&5
43105 sed 's/^/| /' conftest.$ac_ext >&5
43107 glibcxx_cv_func__copysign_use=no
43109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43110 ac_ext=c
43111 ac_cpp='$CPP $CPPFLAGS'
43112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43121 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43123 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43125 for ac_func in _copysign
43127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43128 echo "$as_me:$LINENO: checking for $ac_func" >&5
43129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43130 if eval "test \"\${$as_ac_var+set}\" = set"; then
43131 echo $ECHO_N "(cached) $ECHO_C" >&6
43132 else
43133 if test x$gcc_no_link = xyes; then
43134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43136 { (exit 1); exit 1; }; }
43138 cat >conftest.$ac_ext <<_ACEOF
43139 /* confdefs.h. */
43140 _ACEOF
43141 cat confdefs.h >>conftest.$ac_ext
43142 cat >>conftest.$ac_ext <<_ACEOF
43143 /* end confdefs.h. */
43144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43146 #define $ac_func innocuous_$ac_func
43148 /* System header to define __stub macros and hopefully few prototypes,
43149 which can conflict with char $ac_func (); below.
43150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43151 <limits.h> exists even on freestanding compilers. */
43153 #ifdef __STDC__
43154 # include <limits.h>
43155 #else
43156 # include <assert.h>
43157 #endif
43159 #undef $ac_func
43161 /* Override any gcc2 internal prototype to avoid an error. */
43162 #ifdef __cplusplus
43163 extern "C"
43165 #endif
43166 /* We use char because int might match the return type of a gcc2
43167 builtin and then its argument prototype would still apply. */
43168 char $ac_func ();
43169 /* The GNU C library defines this for functions which it implements
43170 to always fail with ENOSYS. Some functions are actually named
43171 something starting with __ and the normal name is an alias. */
43172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43173 choke me
43174 #else
43175 char (*f) () = $ac_func;
43176 #endif
43177 #ifdef __cplusplus
43179 #endif
43182 main ()
43184 return f != $ac_func;
43186 return 0;
43188 _ACEOF
43189 rm -f conftest.$ac_objext conftest$ac_exeext
43190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43191 (eval $ac_link) 2>conftest.er1
43192 ac_status=$?
43193 grep -v '^ *+' conftest.er1 >conftest.err
43194 rm -f conftest.er1
43195 cat conftest.err >&5
43196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43197 (exit $ac_status); } &&
43198 { ac_try='test -z "$ac_c_werror_flag"
43199 || test ! -s conftest.err'
43200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43201 (eval $ac_try) 2>&5
43202 ac_status=$?
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); }; } &&
43205 { ac_try='test -s conftest$ac_exeext'
43206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43207 (eval $ac_try) 2>&5
43208 ac_status=$?
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); }; }; then
43211 eval "$as_ac_var=yes"
43212 else
43213 echo "$as_me: failed program was:" >&5
43214 sed 's/^/| /' conftest.$ac_ext >&5
43216 eval "$as_ac_var=no"
43218 rm -f conftest.err conftest.$ac_objext \
43219 conftest$ac_exeext conftest.$ac_ext
43221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43223 if test `eval echo '${'$as_ac_var'}'` = yes; then
43224 cat >>confdefs.h <<_ACEOF
43225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43226 _ACEOF
43229 done
43239 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43240 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43241 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43242 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43243 echo $ECHO_N "(cached) $ECHO_C" >&6
43244 else
43248 ac_ext=cc
43249 ac_cpp='$CXXCPP $CPPFLAGS'
43250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43254 cat >conftest.$ac_ext <<_ACEOF
43255 /* confdefs.h. */
43256 _ACEOF
43257 cat confdefs.h >>conftest.$ac_ext
43258 cat >>conftest.$ac_ext <<_ACEOF
43259 /* end confdefs.h. */
43260 #include <math.h>
43262 main ()
43264 sincos(0, 0, 0);
43266 return 0;
43268 _ACEOF
43269 rm -f conftest.$ac_objext
43270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43271 (eval $ac_compile) 2>conftest.er1
43272 ac_status=$?
43273 grep -v '^ *+' conftest.er1 >conftest.err
43274 rm -f conftest.er1
43275 cat conftest.err >&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } &&
43278 { ac_try='test -z "$ac_cxx_werror_flag"
43279 || test ! -s conftest.err'
43280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281 (eval $ac_try) 2>&5
43282 ac_status=$?
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; } &&
43285 { ac_try='test -s conftest.$ac_objext'
43286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43287 (eval $ac_try) 2>&5
43288 ac_status=$?
43289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43290 (exit $ac_status); }; }; then
43291 glibcxx_cv_func_sincos_use=yes
43292 else
43293 echo "$as_me: failed program was:" >&5
43294 sed 's/^/| /' conftest.$ac_ext >&5
43296 glibcxx_cv_func_sincos_use=no
43298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43299 ac_ext=c
43300 ac_cpp='$CPP $CPPFLAGS'
43301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43310 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43312 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43314 for ac_func in sincos
43316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43317 echo "$as_me:$LINENO: checking for $ac_func" >&5
43318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43319 if eval "test \"\${$as_ac_var+set}\" = set"; then
43320 echo $ECHO_N "(cached) $ECHO_C" >&6
43321 else
43322 if test x$gcc_no_link = xyes; then
43323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43325 { (exit 1); exit 1; }; }
43327 cat >conftest.$ac_ext <<_ACEOF
43328 /* confdefs.h. */
43329 _ACEOF
43330 cat confdefs.h >>conftest.$ac_ext
43331 cat >>conftest.$ac_ext <<_ACEOF
43332 /* end confdefs.h. */
43333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43335 #define $ac_func innocuous_$ac_func
43337 /* System header to define __stub macros and hopefully few prototypes,
43338 which can conflict with char $ac_func (); below.
43339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43340 <limits.h> exists even on freestanding compilers. */
43342 #ifdef __STDC__
43343 # include <limits.h>
43344 #else
43345 # include <assert.h>
43346 #endif
43348 #undef $ac_func
43350 /* Override any gcc2 internal prototype to avoid an error. */
43351 #ifdef __cplusplus
43352 extern "C"
43354 #endif
43355 /* We use char because int might match the return type of a gcc2
43356 builtin and then its argument prototype would still apply. */
43357 char $ac_func ();
43358 /* The GNU C library defines this for functions which it implements
43359 to always fail with ENOSYS. Some functions are actually named
43360 something starting with __ and the normal name is an alias. */
43361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43362 choke me
43363 #else
43364 char (*f) () = $ac_func;
43365 #endif
43366 #ifdef __cplusplus
43368 #endif
43371 main ()
43373 return f != $ac_func;
43375 return 0;
43377 _ACEOF
43378 rm -f conftest.$ac_objext conftest$ac_exeext
43379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43380 (eval $ac_link) 2>conftest.er1
43381 ac_status=$?
43382 grep -v '^ *+' conftest.er1 >conftest.err
43383 rm -f conftest.er1
43384 cat conftest.err >&5
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); } &&
43387 { ac_try='test -z "$ac_c_werror_flag"
43388 || test ! -s conftest.err'
43389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43390 (eval $ac_try) 2>&5
43391 ac_status=$?
43392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43393 (exit $ac_status); }; } &&
43394 { ac_try='test -s conftest$ac_exeext'
43395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43396 (eval $ac_try) 2>&5
43397 ac_status=$?
43398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43399 (exit $ac_status); }; }; then
43400 eval "$as_ac_var=yes"
43401 else
43402 echo "$as_me: failed program was:" >&5
43403 sed 's/^/| /' conftest.$ac_ext >&5
43405 eval "$as_ac_var=no"
43407 rm -f conftest.err conftest.$ac_objext \
43408 conftest$ac_exeext conftest.$ac_ext
43410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43412 if test `eval echo '${'$as_ac_var'}'` = yes; then
43413 cat >>confdefs.h <<_ACEOF
43414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43415 _ACEOF
43418 done
43420 else
43422 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43423 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43424 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43425 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43426 echo $ECHO_N "(cached) $ECHO_C" >&6
43427 else
43431 ac_ext=cc
43432 ac_cpp='$CXXCPP $CPPFLAGS'
43433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437 cat >conftest.$ac_ext <<_ACEOF
43438 /* confdefs.h. */
43439 _ACEOF
43440 cat confdefs.h >>conftest.$ac_ext
43441 cat >>conftest.$ac_ext <<_ACEOF
43442 /* end confdefs.h. */
43443 #include <math.h>
43445 main ()
43447 _sincos(0, 0, 0);
43449 return 0;
43451 _ACEOF
43452 rm -f conftest.$ac_objext
43453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43454 (eval $ac_compile) 2>conftest.er1
43455 ac_status=$?
43456 grep -v '^ *+' conftest.er1 >conftest.err
43457 rm -f conftest.er1
43458 cat conftest.err >&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } &&
43461 { ac_try='test -z "$ac_cxx_werror_flag"
43462 || test ! -s conftest.err'
43463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43464 (eval $ac_try) 2>&5
43465 ac_status=$?
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); }; } &&
43468 { ac_try='test -s conftest.$ac_objext'
43469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43470 (eval $ac_try) 2>&5
43471 ac_status=$?
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; }; then
43474 glibcxx_cv_func__sincos_use=yes
43475 else
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.$ac_ext >&5
43479 glibcxx_cv_func__sincos_use=no
43481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43482 ac_ext=c
43483 ac_cpp='$CPP $CPPFLAGS'
43484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43493 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43495 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43497 for ac_func in _sincos
43499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43500 echo "$as_me:$LINENO: checking for $ac_func" >&5
43501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43502 if eval "test \"\${$as_ac_var+set}\" = set"; then
43503 echo $ECHO_N "(cached) $ECHO_C" >&6
43504 else
43505 if test x$gcc_no_link = xyes; then
43506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43508 { (exit 1); exit 1; }; }
43510 cat >conftest.$ac_ext <<_ACEOF
43511 /* confdefs.h. */
43512 _ACEOF
43513 cat confdefs.h >>conftest.$ac_ext
43514 cat >>conftest.$ac_ext <<_ACEOF
43515 /* end confdefs.h. */
43516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43518 #define $ac_func innocuous_$ac_func
43520 /* System header to define __stub macros and hopefully few prototypes,
43521 which can conflict with char $ac_func (); below.
43522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43523 <limits.h> exists even on freestanding compilers. */
43525 #ifdef __STDC__
43526 # include <limits.h>
43527 #else
43528 # include <assert.h>
43529 #endif
43531 #undef $ac_func
43533 /* Override any gcc2 internal prototype to avoid an error. */
43534 #ifdef __cplusplus
43535 extern "C"
43537 #endif
43538 /* We use char because int might match the return type of a gcc2
43539 builtin and then its argument prototype would still apply. */
43540 char $ac_func ();
43541 /* The GNU C library defines this for functions which it implements
43542 to always fail with ENOSYS. Some functions are actually named
43543 something starting with __ and the normal name is an alias. */
43544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43545 choke me
43546 #else
43547 char (*f) () = $ac_func;
43548 #endif
43549 #ifdef __cplusplus
43551 #endif
43554 main ()
43556 return f != $ac_func;
43558 return 0;
43560 _ACEOF
43561 rm -f conftest.$ac_objext conftest$ac_exeext
43562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43563 (eval $ac_link) 2>conftest.er1
43564 ac_status=$?
43565 grep -v '^ *+' conftest.er1 >conftest.err
43566 rm -f conftest.er1
43567 cat conftest.err >&5
43568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43569 (exit $ac_status); } &&
43570 { ac_try='test -z "$ac_c_werror_flag"
43571 || test ! -s conftest.err'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; } &&
43577 { ac_try='test -s conftest$ac_exeext'
43578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43579 (eval $ac_try) 2>&5
43580 ac_status=$?
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); }; }; then
43583 eval "$as_ac_var=yes"
43584 else
43585 echo "$as_me: failed program was:" >&5
43586 sed 's/^/| /' conftest.$ac_ext >&5
43588 eval "$as_ac_var=no"
43590 rm -f conftest.err conftest.$ac_objext \
43591 conftest$ac_exeext conftest.$ac_ext
43593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43595 if test `eval echo '${'$as_ac_var'}'` = yes; then
43596 cat >>confdefs.h <<_ACEOF
43597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43598 _ACEOF
43601 done
43611 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43612 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43613 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43614 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43615 echo $ECHO_N "(cached) $ECHO_C" >&6
43616 else
43620 ac_ext=cc
43621 ac_cpp='$CXXCPP $CPPFLAGS'
43622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43626 cat >conftest.$ac_ext <<_ACEOF
43627 /* confdefs.h. */
43628 _ACEOF
43629 cat confdefs.h >>conftest.$ac_ext
43630 cat >>conftest.$ac_ext <<_ACEOF
43631 /* end confdefs.h. */
43632 #include <math.h>
43633 #ifdef HAVE_IEEEFP_H
43634 #include <ieeefp.h>
43635 #endif
43638 main ()
43640 fpclass(0);
43642 return 0;
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43647 (eval $ac_compile) 2>conftest.er1
43648 ac_status=$?
43649 grep -v '^ *+' conftest.er1 >conftest.err
43650 rm -f conftest.er1
43651 cat conftest.err >&5
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); } &&
43654 { ac_try='test -z "$ac_cxx_werror_flag"
43655 || test ! -s conftest.err'
43656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43657 (eval $ac_try) 2>&5
43658 ac_status=$?
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); }; } &&
43661 { ac_try='test -s conftest.$ac_objext'
43662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43663 (eval $ac_try) 2>&5
43664 ac_status=$?
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); }; }; then
43667 glibcxx_cv_func_fpclass_use=yes
43668 else
43669 echo "$as_me: failed program was:" >&5
43670 sed 's/^/| /' conftest.$ac_ext >&5
43672 glibcxx_cv_func_fpclass_use=no
43674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43675 ac_ext=c
43676 ac_cpp='$CPP $CPPFLAGS'
43677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43686 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43688 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43690 for ac_func in fpclass
43692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43693 echo "$as_me:$LINENO: checking for $ac_func" >&5
43694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43695 if eval "test \"\${$as_ac_var+set}\" = set"; then
43696 echo $ECHO_N "(cached) $ECHO_C" >&6
43697 else
43698 if test x$gcc_no_link = xyes; then
43699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43701 { (exit 1); exit 1; }; }
43703 cat >conftest.$ac_ext <<_ACEOF
43704 /* confdefs.h. */
43705 _ACEOF
43706 cat confdefs.h >>conftest.$ac_ext
43707 cat >>conftest.$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43711 #define $ac_func innocuous_$ac_func
43713 /* System header to define __stub macros and hopefully few prototypes,
43714 which can conflict with char $ac_func (); below.
43715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43716 <limits.h> exists even on freestanding compilers. */
43718 #ifdef __STDC__
43719 # include <limits.h>
43720 #else
43721 # include <assert.h>
43722 #endif
43724 #undef $ac_func
43726 /* Override any gcc2 internal prototype to avoid an error. */
43727 #ifdef __cplusplus
43728 extern "C"
43730 #endif
43731 /* We use char because int might match the return type of a gcc2
43732 builtin and then its argument prototype would still apply. */
43733 char $ac_func ();
43734 /* The GNU C library defines this for functions which it implements
43735 to always fail with ENOSYS. Some functions are actually named
43736 something starting with __ and the normal name is an alias. */
43737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43738 choke me
43739 #else
43740 char (*f) () = $ac_func;
43741 #endif
43742 #ifdef __cplusplus
43744 #endif
43747 main ()
43749 return f != $ac_func;
43751 return 0;
43753 _ACEOF
43754 rm -f conftest.$ac_objext conftest$ac_exeext
43755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43756 (eval $ac_link) 2>conftest.er1
43757 ac_status=$?
43758 grep -v '^ *+' conftest.er1 >conftest.err
43759 rm -f conftest.er1
43760 cat conftest.err >&5
43761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43762 (exit $ac_status); } &&
43763 { ac_try='test -z "$ac_c_werror_flag"
43764 || test ! -s conftest.err'
43765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43766 (eval $ac_try) 2>&5
43767 ac_status=$?
43768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43769 (exit $ac_status); }; } &&
43770 { ac_try='test -s conftest$ac_exeext'
43771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43772 (eval $ac_try) 2>&5
43773 ac_status=$?
43774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43775 (exit $ac_status); }; }; then
43776 eval "$as_ac_var=yes"
43777 else
43778 echo "$as_me: failed program was:" >&5
43779 sed 's/^/| /' conftest.$ac_ext >&5
43781 eval "$as_ac_var=no"
43783 rm -f conftest.err conftest.$ac_objext \
43784 conftest$ac_exeext conftest.$ac_ext
43786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43788 if test `eval echo '${'$as_ac_var'}'` = yes; then
43789 cat >>confdefs.h <<_ACEOF
43790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43791 _ACEOF
43794 done
43796 else
43798 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
43799 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
43800 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
43801 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
43802 echo $ECHO_N "(cached) $ECHO_C" >&6
43803 else
43807 ac_ext=cc
43808 ac_cpp='$CXXCPP $CPPFLAGS'
43809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43813 cat >conftest.$ac_ext <<_ACEOF
43814 /* confdefs.h. */
43815 _ACEOF
43816 cat confdefs.h >>conftest.$ac_ext
43817 cat >>conftest.$ac_ext <<_ACEOF
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43825 main ()
43827 _fpclass(0);
43829 return 0;
43831 _ACEOF
43832 rm -f conftest.$ac_objext
43833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43834 (eval $ac_compile) 2>conftest.er1
43835 ac_status=$?
43836 grep -v '^ *+' conftest.er1 >conftest.err
43837 rm -f conftest.er1
43838 cat conftest.err >&5
43839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43840 (exit $ac_status); } &&
43841 { ac_try='test -z "$ac_cxx_werror_flag"
43842 || test ! -s conftest.err'
43843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43844 (eval $ac_try) 2>&5
43845 ac_status=$?
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); }; } &&
43848 { ac_try='test -s conftest.$ac_objext'
43849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850 (eval $ac_try) 2>&5
43851 ac_status=$?
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; }; then
43854 glibcxx_cv_func__fpclass_use=yes
43855 else
43856 echo "$as_me: failed program was:" >&5
43857 sed 's/^/| /' conftest.$ac_ext >&5
43859 glibcxx_cv_func__fpclass_use=no
43861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43862 ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
43873 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
43875 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
43877 for ac_func in _fpclass
43879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43880 echo "$as_me:$LINENO: checking for $ac_func" >&5
43881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43882 if eval "test \"\${$as_ac_var+set}\" = set"; then
43883 echo $ECHO_N "(cached) $ECHO_C" >&6
43884 else
43885 if test x$gcc_no_link = xyes; then
43886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43888 { (exit 1); exit 1; }; }
43890 cat >conftest.$ac_ext <<_ACEOF
43891 /* confdefs.h. */
43892 _ACEOF
43893 cat confdefs.h >>conftest.$ac_ext
43894 cat >>conftest.$ac_ext <<_ACEOF
43895 /* end confdefs.h. */
43896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43898 #define $ac_func innocuous_$ac_func
43900 /* System header to define __stub macros and hopefully few prototypes,
43901 which can conflict with char $ac_func (); below.
43902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43903 <limits.h> exists even on freestanding compilers. */
43905 #ifdef __STDC__
43906 # include <limits.h>
43907 #else
43908 # include <assert.h>
43909 #endif
43911 #undef $ac_func
43913 /* Override any gcc2 internal prototype to avoid an error. */
43914 #ifdef __cplusplus
43915 extern "C"
43917 #endif
43918 /* We use char because int might match the return type of a gcc2
43919 builtin and then its argument prototype would still apply. */
43920 char $ac_func ();
43921 /* The GNU C library defines this for functions which it implements
43922 to always fail with ENOSYS. Some functions are actually named
43923 something starting with __ and the normal name is an alias. */
43924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43925 choke me
43926 #else
43927 char (*f) () = $ac_func;
43928 #endif
43929 #ifdef __cplusplus
43931 #endif
43934 main ()
43936 return f != $ac_func;
43938 return 0;
43940 _ACEOF
43941 rm -f conftest.$ac_objext conftest$ac_exeext
43942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43943 (eval $ac_link) 2>conftest.er1
43944 ac_status=$?
43945 grep -v '^ *+' conftest.er1 >conftest.err
43946 rm -f conftest.er1
43947 cat conftest.err >&5
43948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43949 (exit $ac_status); } &&
43950 { ac_try='test -z "$ac_c_werror_flag"
43951 || test ! -s conftest.err'
43952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43953 (eval $ac_try) 2>&5
43954 ac_status=$?
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); }; } &&
43957 { ac_try='test -s conftest$ac_exeext'
43958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43959 (eval $ac_try) 2>&5
43960 ac_status=$?
43961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43962 (exit $ac_status); }; }; then
43963 eval "$as_ac_var=yes"
43964 else
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43968 eval "$as_ac_var=no"
43970 rm -f conftest.err conftest.$ac_objext \
43971 conftest$ac_exeext conftest.$ac_ext
43973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43975 if test `eval echo '${'$as_ac_var'}'` = yes; then
43976 cat >>confdefs.h <<_ACEOF
43977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43978 _ACEOF
43981 done
43991 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
43992 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
43993 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
43994 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
43995 echo $ECHO_N "(cached) $ECHO_C" >&6
43996 else
44000 ac_ext=cc
44001 ac_cpp='$CXXCPP $CPPFLAGS'
44002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44006 cat >conftest.$ac_ext <<_ACEOF
44007 /* confdefs.h. */
44008 _ACEOF
44009 cat confdefs.h >>conftest.$ac_ext
44010 cat >>conftest.$ac_ext <<_ACEOF
44011 /* end confdefs.h. */
44012 #include <math.h>
44013 #ifdef HAVE_IEEEFP_H
44014 #include <ieeefp.h>
44015 #endif
44018 main ()
44020 qfpclass(0);
44022 return 0;
44024 _ACEOF
44025 rm -f conftest.$ac_objext
44026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44027 (eval $ac_compile) 2>conftest.er1
44028 ac_status=$?
44029 grep -v '^ *+' conftest.er1 >conftest.err
44030 rm -f conftest.er1
44031 cat conftest.err >&5
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); } &&
44034 { ac_try='test -z "$ac_cxx_werror_flag"
44035 || test ! -s conftest.err'
44036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037 (eval $ac_try) 2>&5
44038 ac_status=$?
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); }; } &&
44041 { ac_try='test -s conftest.$ac_objext'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44044 ac_status=$?
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; }; then
44047 glibcxx_cv_func_qfpclass_use=yes
44048 else
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44052 glibcxx_cv_func_qfpclass_use=no
44054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44055 ac_ext=c
44056 ac_cpp='$CPP $CPPFLAGS'
44057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44066 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44068 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44070 for ac_func in qfpclass
44072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44073 echo "$as_me:$LINENO: checking for $ac_func" >&5
44074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44075 if eval "test \"\${$as_ac_var+set}\" = set"; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44077 else
44078 if test x$gcc_no_link = xyes; then
44079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44081 { (exit 1); exit 1; }; }
44083 cat >conftest.$ac_ext <<_ACEOF
44084 /* confdefs.h. */
44085 _ACEOF
44086 cat confdefs.h >>conftest.$ac_ext
44087 cat >>conftest.$ac_ext <<_ACEOF
44088 /* end confdefs.h. */
44089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44091 #define $ac_func innocuous_$ac_func
44093 /* System header to define __stub macros and hopefully few prototypes,
44094 which can conflict with char $ac_func (); below.
44095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44096 <limits.h> exists even on freestanding compilers. */
44098 #ifdef __STDC__
44099 # include <limits.h>
44100 #else
44101 # include <assert.h>
44102 #endif
44104 #undef $ac_func
44106 /* Override any gcc2 internal prototype to avoid an error. */
44107 #ifdef __cplusplus
44108 extern "C"
44110 #endif
44111 /* We use char because int might match the return type of a gcc2
44112 builtin and then its argument prototype would still apply. */
44113 char $ac_func ();
44114 /* The GNU C library defines this for functions which it implements
44115 to always fail with ENOSYS. Some functions are actually named
44116 something starting with __ and the normal name is an alias. */
44117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44118 choke me
44119 #else
44120 char (*f) () = $ac_func;
44121 #endif
44122 #ifdef __cplusplus
44124 #endif
44127 main ()
44129 return f != $ac_func;
44131 return 0;
44133 _ACEOF
44134 rm -f conftest.$ac_objext conftest$ac_exeext
44135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44136 (eval $ac_link) 2>conftest.er1
44137 ac_status=$?
44138 grep -v '^ *+' conftest.er1 >conftest.err
44139 rm -f conftest.er1
44140 cat conftest.err >&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); } &&
44143 { ac_try='test -z "$ac_c_werror_flag"
44144 || test ! -s conftest.err'
44145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146 (eval $ac_try) 2>&5
44147 ac_status=$?
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); }; } &&
44150 { ac_try='test -s conftest$ac_exeext'
44151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44152 (eval $ac_try) 2>&5
44153 ac_status=$?
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); }; }; then
44156 eval "$as_ac_var=yes"
44157 else
44158 echo "$as_me: failed program was:" >&5
44159 sed 's/^/| /' conftest.$ac_ext >&5
44161 eval "$as_ac_var=no"
44163 rm -f conftest.err conftest.$ac_objext \
44164 conftest$ac_exeext conftest.$ac_ext
44166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44168 if test `eval echo '${'$as_ac_var'}'` = yes; then
44169 cat >>confdefs.h <<_ACEOF
44170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44171 _ACEOF
44174 done
44176 else
44178 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44179 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44180 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44181 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44182 echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44187 ac_ext=cc
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193 cat >conftest.$ac_ext <<_ACEOF
44194 /* confdefs.h. */
44195 _ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44199 #include <math.h>
44200 #ifdef HAVE_IEEEFP_H
44201 #include <ieeefp.h>
44202 #endif
44205 main ()
44207 _qfpclass(0);
44209 return 0;
44211 _ACEOF
44212 rm -f conftest.$ac_objext
44213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44214 (eval $ac_compile) 2>conftest.er1
44215 ac_status=$?
44216 grep -v '^ *+' conftest.er1 >conftest.err
44217 rm -f conftest.er1
44218 cat conftest.err >&5
44219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220 (exit $ac_status); } &&
44221 { ac_try='test -z "$ac_cxx_werror_flag"
44222 || test ! -s conftest.err'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; } &&
44228 { ac_try='test -s conftest.$ac_objext'
44229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230 (eval $ac_try) 2>&5
44231 ac_status=$?
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; }; then
44234 glibcxx_cv_func__qfpclass_use=yes
44235 else
44236 echo "$as_me: failed program was:" >&5
44237 sed 's/^/| /' conftest.$ac_ext >&5
44239 glibcxx_cv_func__qfpclass_use=no
44241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44242 ac_ext=c
44243 ac_cpp='$CPP $CPPFLAGS'
44244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44253 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44255 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44257 for ac_func in _qfpclass
44259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44260 echo "$as_me:$LINENO: checking for $ac_func" >&5
44261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44262 if eval "test \"\${$as_ac_var+set}\" = set"; then
44263 echo $ECHO_N "(cached) $ECHO_C" >&6
44264 else
44265 if test x$gcc_no_link = xyes; then
44266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44268 { (exit 1); exit 1; }; }
44270 cat >conftest.$ac_ext <<_ACEOF
44271 /* confdefs.h. */
44272 _ACEOF
44273 cat confdefs.h >>conftest.$ac_ext
44274 cat >>conftest.$ac_ext <<_ACEOF
44275 /* end confdefs.h. */
44276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44278 #define $ac_func innocuous_$ac_func
44280 /* System header to define __stub macros and hopefully few prototypes,
44281 which can conflict with char $ac_func (); below.
44282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44283 <limits.h> exists even on freestanding compilers. */
44285 #ifdef __STDC__
44286 # include <limits.h>
44287 #else
44288 # include <assert.h>
44289 #endif
44291 #undef $ac_func
44293 /* Override any gcc2 internal prototype to avoid an error. */
44294 #ifdef __cplusplus
44295 extern "C"
44297 #endif
44298 /* We use char because int might match the return type of a gcc2
44299 builtin and then its argument prototype would still apply. */
44300 char $ac_func ();
44301 /* The GNU C library defines this for functions which it implements
44302 to always fail with ENOSYS. Some functions are actually named
44303 something starting with __ and the normal name is an alias. */
44304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44305 choke me
44306 #else
44307 char (*f) () = $ac_func;
44308 #endif
44309 #ifdef __cplusplus
44311 #endif
44314 main ()
44316 return f != $ac_func;
44318 return 0;
44320 _ACEOF
44321 rm -f conftest.$ac_objext conftest$ac_exeext
44322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44323 (eval $ac_link) 2>conftest.er1
44324 ac_status=$?
44325 grep -v '^ *+' conftest.er1 >conftest.err
44326 rm -f conftest.er1
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } &&
44330 { ac_try='test -z "$ac_c_werror_flag"
44331 || test ! -s conftest.err'
44332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44333 (eval $ac_try) 2>&5
44334 ac_status=$?
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }; } &&
44337 { ac_try='test -s conftest$ac_exeext'
44338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44339 (eval $ac_try) 2>&5
44340 ac_status=$?
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); }; }; then
44343 eval "$as_ac_var=yes"
44344 else
44345 echo "$as_me: failed program was:" >&5
44346 sed 's/^/| /' conftest.$ac_ext >&5
44348 eval "$as_ac_var=no"
44350 rm -f conftest.err conftest.$ac_objext \
44351 conftest$ac_exeext conftest.$ac_ext
44353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44355 if test `eval echo '${'$as_ac_var'}'` = yes; then
44356 cat >>confdefs.h <<_ACEOF
44357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44358 _ACEOF
44361 done
44371 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44372 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44373 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44374 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44375 echo $ECHO_N "(cached) $ECHO_C" >&6
44376 else
44380 ac_ext=cc
44381 ac_cpp='$CXXCPP $CPPFLAGS'
44382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44386 cat >conftest.$ac_ext <<_ACEOF
44387 /* confdefs.h. */
44388 _ACEOF
44389 cat confdefs.h >>conftest.$ac_ext
44390 cat >>conftest.$ac_ext <<_ACEOF
44391 /* end confdefs.h. */
44392 #include <math.h>
44394 main ()
44396 hypot(0, 0);
44398 return 0;
44400 _ACEOF
44401 rm -f conftest.$ac_objext
44402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44403 (eval $ac_compile) 2>conftest.er1
44404 ac_status=$?
44405 grep -v '^ *+' conftest.er1 >conftest.err
44406 rm -f conftest.er1
44407 cat conftest.err >&5
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); } &&
44410 { ac_try='test -z "$ac_cxx_werror_flag"
44411 || test ! -s conftest.err'
44412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44413 (eval $ac_try) 2>&5
44414 ac_status=$?
44415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44416 (exit $ac_status); }; } &&
44417 { ac_try='test -s conftest.$ac_objext'
44418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44419 (eval $ac_try) 2>&5
44420 ac_status=$?
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); }; }; then
44423 glibcxx_cv_func_hypot_use=yes
44424 else
44425 echo "$as_me: failed program was:" >&5
44426 sed 's/^/| /' conftest.$ac_ext >&5
44428 glibcxx_cv_func_hypot_use=no
44430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44431 ac_ext=c
44432 ac_cpp='$CPP $CPPFLAGS'
44433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44442 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44444 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44446 for ac_func in hypot
44448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44449 echo "$as_me:$LINENO: checking for $ac_func" >&5
44450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44451 if eval "test \"\${$as_ac_var+set}\" = set"; then
44452 echo $ECHO_N "(cached) $ECHO_C" >&6
44453 else
44454 if test x$gcc_no_link = xyes; then
44455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44457 { (exit 1); exit 1; }; }
44459 cat >conftest.$ac_ext <<_ACEOF
44460 /* confdefs.h. */
44461 _ACEOF
44462 cat confdefs.h >>conftest.$ac_ext
44463 cat >>conftest.$ac_ext <<_ACEOF
44464 /* end confdefs.h. */
44465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44467 #define $ac_func innocuous_$ac_func
44469 /* System header to define __stub macros and hopefully few prototypes,
44470 which can conflict with char $ac_func (); below.
44471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44472 <limits.h> exists even on freestanding compilers. */
44474 #ifdef __STDC__
44475 # include <limits.h>
44476 #else
44477 # include <assert.h>
44478 #endif
44480 #undef $ac_func
44482 /* Override any gcc2 internal prototype to avoid an error. */
44483 #ifdef __cplusplus
44484 extern "C"
44486 #endif
44487 /* We use char because int might match the return type of a gcc2
44488 builtin and then its argument prototype would still apply. */
44489 char $ac_func ();
44490 /* The GNU C library defines this for functions which it implements
44491 to always fail with ENOSYS. Some functions are actually named
44492 something starting with __ and the normal name is an alias. */
44493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44494 choke me
44495 #else
44496 char (*f) () = $ac_func;
44497 #endif
44498 #ifdef __cplusplus
44500 #endif
44503 main ()
44505 return f != $ac_func;
44507 return 0;
44509 _ACEOF
44510 rm -f conftest.$ac_objext conftest$ac_exeext
44511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44512 (eval $ac_link) 2>conftest.er1
44513 ac_status=$?
44514 grep -v '^ *+' conftest.er1 >conftest.err
44515 rm -f conftest.er1
44516 cat conftest.err >&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -z "$ac_c_werror_flag"
44520 || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try='test -s conftest$ac_exeext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 eval "$as_ac_var=yes"
44533 else
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.$ac_ext >&5
44537 eval "$as_ac_var=no"
44539 rm -f conftest.err conftest.$ac_objext \
44540 conftest$ac_exeext conftest.$ac_ext
44542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44544 if test `eval echo '${'$as_ac_var'}'` = yes; then
44545 cat >>confdefs.h <<_ACEOF
44546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44547 _ACEOF
44550 done
44552 else
44554 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44555 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44556 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44557 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44558 echo $ECHO_N "(cached) $ECHO_C" >&6
44559 else
44563 ac_ext=cc
44564 ac_cpp='$CXXCPP $CPPFLAGS'
44565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569 cat >conftest.$ac_ext <<_ACEOF
44570 /* confdefs.h. */
44571 _ACEOF
44572 cat confdefs.h >>conftest.$ac_ext
44573 cat >>conftest.$ac_ext <<_ACEOF
44574 /* end confdefs.h. */
44575 #include <math.h>
44577 main ()
44579 _hypot(0, 0);
44581 return 0;
44583 _ACEOF
44584 rm -f conftest.$ac_objext
44585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44586 (eval $ac_compile) 2>conftest.er1
44587 ac_status=$?
44588 grep -v '^ *+' conftest.er1 >conftest.err
44589 rm -f conftest.er1
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } &&
44593 { ac_try='test -z "$ac_cxx_werror_flag"
44594 || test ! -s conftest.err'
44595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44596 (eval $ac_try) 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; } &&
44600 { ac_try='test -s conftest.$ac_objext'
44601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44602 (eval $ac_try) 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; }; then
44606 glibcxx_cv_func__hypot_use=yes
44607 else
44608 echo "$as_me: failed program was:" >&5
44609 sed 's/^/| /' conftest.$ac_ext >&5
44611 glibcxx_cv_func__hypot_use=no
44613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44614 ac_ext=c
44615 ac_cpp='$CPP $CPPFLAGS'
44616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44625 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44627 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44629 for ac_func in _hypot
44631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44632 echo "$as_me:$LINENO: checking for $ac_func" >&5
44633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44634 if eval "test \"\${$as_ac_var+set}\" = set"; then
44635 echo $ECHO_N "(cached) $ECHO_C" >&6
44636 else
44637 if test x$gcc_no_link = xyes; then
44638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44640 { (exit 1); exit 1; }; }
44642 cat >conftest.$ac_ext <<_ACEOF
44643 /* confdefs.h. */
44644 _ACEOF
44645 cat confdefs.h >>conftest.$ac_ext
44646 cat >>conftest.$ac_ext <<_ACEOF
44647 /* end confdefs.h. */
44648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44650 #define $ac_func innocuous_$ac_func
44652 /* System header to define __stub macros and hopefully few prototypes,
44653 which can conflict with char $ac_func (); below.
44654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44655 <limits.h> exists even on freestanding compilers. */
44657 #ifdef __STDC__
44658 # include <limits.h>
44659 #else
44660 # include <assert.h>
44661 #endif
44663 #undef $ac_func
44665 /* Override any gcc2 internal prototype to avoid an error. */
44666 #ifdef __cplusplus
44667 extern "C"
44669 #endif
44670 /* We use char because int might match the return type of a gcc2
44671 builtin and then its argument prototype would still apply. */
44672 char $ac_func ();
44673 /* The GNU C library defines this for functions which it implements
44674 to always fail with ENOSYS. Some functions are actually named
44675 something starting with __ and the normal name is an alias. */
44676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44677 choke me
44678 #else
44679 char (*f) () = $ac_func;
44680 #endif
44681 #ifdef __cplusplus
44683 #endif
44686 main ()
44688 return f != $ac_func;
44690 return 0;
44692 _ACEOF
44693 rm -f conftest.$ac_objext conftest$ac_exeext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44695 (eval $ac_link) 2>conftest.er1
44696 ac_status=$?
44697 grep -v '^ *+' conftest.er1 >conftest.err
44698 rm -f conftest.er1
44699 cat conftest.err >&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try='test -z "$ac_c_werror_flag"
44703 || test ! -s conftest.err'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44706 ac_status=$?
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; } &&
44709 { ac_try='test -s conftest$ac_exeext'
44710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44711 (eval $ac_try) 2>&5
44712 ac_status=$?
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 eval "$as_ac_var=yes"
44716 else
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.$ac_ext >&5
44720 eval "$as_ac_var=no"
44722 rm -f conftest.err conftest.$ac_objext \
44723 conftest$ac_exeext conftest.$ac_ext
44725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44727 if test `eval echo '${'$as_ac_var'}'` = yes; then
44728 cat >>confdefs.h <<_ACEOF
44729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44730 _ACEOF
44733 done
44743 echo "$as_me:$LINENO: checking for float trig functions" >&5
44744 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
44745 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
44746 echo $ECHO_N "(cached) $ECHO_C" >&6
44747 else
44751 ac_ext=cc
44752 ac_cpp='$CXXCPP $CPPFLAGS'
44753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44757 cat >conftest.$ac_ext <<_ACEOF
44758 /* confdefs.h. */
44759 _ACEOF
44760 cat confdefs.h >>conftest.$ac_ext
44761 cat >>conftest.$ac_ext <<_ACEOF
44762 /* end confdefs.h. */
44763 #include <math.h>
44765 main ()
44767 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
44769 return 0;
44771 _ACEOF
44772 rm -f conftest.$ac_objext
44773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44774 (eval $ac_compile) 2>conftest.er1
44775 ac_status=$?
44776 grep -v '^ *+' conftest.er1 >conftest.err
44777 rm -f conftest.er1
44778 cat conftest.err >&5
44779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780 (exit $ac_status); } &&
44781 { ac_try='test -z "$ac_cxx_werror_flag"
44782 || test ! -s conftest.err'
44783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44784 (eval $ac_try) 2>&5
44785 ac_status=$?
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); }; } &&
44788 { ac_try='test -s conftest.$ac_objext'
44789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44790 (eval $ac_try) 2>&5
44791 ac_status=$?
44792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793 (exit $ac_status); }; }; then
44794 glibcxx_cv_func_float_trig_use=yes
44795 else
44796 echo "$as_me: failed program was:" >&5
44797 sed 's/^/| /' conftest.$ac_ext >&5
44799 glibcxx_cv_func_float_trig_use=no
44801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44802 ac_ext=c
44803 ac_cpp='$CPP $CPPFLAGS'
44804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
44811 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
44812 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
44822 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
44824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44825 echo "$as_me:$LINENO: checking for $ac_func" >&5
44826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44827 if eval "test \"\${$as_ac_var+set}\" = set"; then
44828 echo $ECHO_N "(cached) $ECHO_C" >&6
44829 else
44830 if test x$gcc_no_link = xyes; then
44831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44833 { (exit 1); exit 1; }; }
44835 cat >conftest.$ac_ext <<_ACEOF
44836 /* confdefs.h. */
44837 _ACEOF
44838 cat confdefs.h >>conftest.$ac_ext
44839 cat >>conftest.$ac_ext <<_ACEOF
44840 /* end confdefs.h. */
44841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44843 #define $ac_func innocuous_$ac_func
44845 /* System header to define __stub macros and hopefully few prototypes,
44846 which can conflict with char $ac_func (); below.
44847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44848 <limits.h> exists even on freestanding compilers. */
44850 #ifdef __STDC__
44851 # include <limits.h>
44852 #else
44853 # include <assert.h>
44854 #endif
44856 #undef $ac_func
44858 /* Override any gcc2 internal prototype to avoid an error. */
44859 #ifdef __cplusplus
44860 extern "C"
44862 #endif
44863 /* We use char because int might match the return type of a gcc2
44864 builtin and then its argument prototype would still apply. */
44865 char $ac_func ();
44866 /* The GNU C library defines this for functions which it implements
44867 to always fail with ENOSYS. Some functions are actually named
44868 something starting with __ and the normal name is an alias. */
44869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44870 choke me
44871 #else
44872 char (*f) () = $ac_func;
44873 #endif
44874 #ifdef __cplusplus
44876 #endif
44879 main ()
44881 return f != $ac_func;
44883 return 0;
44885 _ACEOF
44886 rm -f conftest.$ac_objext conftest$ac_exeext
44887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44888 (eval $ac_link) 2>conftest.er1
44889 ac_status=$?
44890 grep -v '^ *+' conftest.er1 >conftest.err
44891 rm -f conftest.er1
44892 cat conftest.err >&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); } &&
44895 { ac_try='test -z "$ac_c_werror_flag"
44896 || test ! -s conftest.err'
44897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44898 (eval $ac_try) 2>&5
44899 ac_status=$?
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); }; } &&
44902 { ac_try='test -s conftest$ac_exeext'
44903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44904 (eval $ac_try) 2>&5
44905 ac_status=$?
44906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44907 (exit $ac_status); }; }; then
44908 eval "$as_ac_var=yes"
44909 else
44910 echo "$as_me: failed program was:" >&5
44911 sed 's/^/| /' conftest.$ac_ext >&5
44913 eval "$as_ac_var=no"
44915 rm -f conftest.err conftest.$ac_objext \
44916 conftest$ac_exeext conftest.$ac_ext
44918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44920 if test `eval echo '${'$as_ac_var'}'` = yes; then
44921 cat >>confdefs.h <<_ACEOF
44922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44923 _ACEOF
44926 done
44928 else
44929 echo "$as_me:$LINENO: checking for _float trig functions" >&5
44930 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
44931 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
44932 echo $ECHO_N "(cached) $ECHO_C" >&6
44933 else
44937 ac_ext=cc
44938 ac_cpp='$CXXCPP $CPPFLAGS'
44939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44943 cat >conftest.$ac_ext <<_ACEOF
44944 /* confdefs.h. */
44945 _ACEOF
44946 cat confdefs.h >>conftest.$ac_ext
44947 cat >>conftest.$ac_ext <<_ACEOF
44948 /* end confdefs.h. */
44949 #include <math.h>
44951 main ()
44953 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
44955 return 0;
44957 _ACEOF
44958 rm -f conftest.$ac_objext
44959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44960 (eval $ac_compile) 2>conftest.er1
44961 ac_status=$?
44962 grep -v '^ *+' conftest.er1 >conftest.err
44963 rm -f conftest.er1
44964 cat conftest.err >&5
44965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966 (exit $ac_status); } &&
44967 { ac_try='test -z "$ac_cxx_werror_flag"
44968 || test ! -s conftest.err'
44969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44970 (eval $ac_try) 2>&5
44971 ac_status=$?
44972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973 (exit $ac_status); }; } &&
44974 { ac_try='test -s conftest.$ac_objext'
44975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44976 (eval $ac_try) 2>&5
44977 ac_status=$?
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); }; }; then
44980 glibcxx_cv_func__float_trig_use=yes
44981 else
44982 echo "$as_me: failed program was:" >&5
44983 sed 's/^/| /' conftest.$ac_ext >&5
44985 glibcxx_cv_func__float_trig_use=no
44987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44988 ac_ext=c
44989 ac_cpp='$CPP $CPPFLAGS'
44990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
44997 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
44998 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45008 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45011 echo "$as_me:$LINENO: checking for $ac_func" >&5
45012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45013 if eval "test \"\${$as_ac_var+set}\" = set"; then
45014 echo $ECHO_N "(cached) $ECHO_C" >&6
45015 else
45016 if test x$gcc_no_link = xyes; then
45017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45019 { (exit 1); exit 1; }; }
45021 cat >conftest.$ac_ext <<_ACEOF
45022 /* confdefs.h. */
45023 _ACEOF
45024 cat confdefs.h >>conftest.$ac_ext
45025 cat >>conftest.$ac_ext <<_ACEOF
45026 /* end confdefs.h. */
45027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45029 #define $ac_func innocuous_$ac_func
45031 /* System header to define __stub macros and hopefully few prototypes,
45032 which can conflict with char $ac_func (); below.
45033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45034 <limits.h> exists even on freestanding compilers. */
45036 #ifdef __STDC__
45037 # include <limits.h>
45038 #else
45039 # include <assert.h>
45040 #endif
45042 #undef $ac_func
45044 /* Override any gcc2 internal prototype to avoid an error. */
45045 #ifdef __cplusplus
45046 extern "C"
45048 #endif
45049 /* We use char because int might match the return type of a gcc2
45050 builtin and then its argument prototype would still apply. */
45051 char $ac_func ();
45052 /* The GNU C library defines this for functions which it implements
45053 to always fail with ENOSYS. Some functions are actually named
45054 something starting with __ and the normal name is an alias. */
45055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45056 choke me
45057 #else
45058 char (*f) () = $ac_func;
45059 #endif
45060 #ifdef __cplusplus
45062 #endif
45065 main ()
45067 return f != $ac_func;
45069 return 0;
45071 _ACEOF
45072 rm -f conftest.$ac_objext conftest$ac_exeext
45073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45074 (eval $ac_link) 2>conftest.er1
45075 ac_status=$?
45076 grep -v '^ *+' conftest.er1 >conftest.err
45077 rm -f conftest.er1
45078 cat conftest.err >&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } &&
45081 { ac_try='test -z "$ac_c_werror_flag"
45082 || test ! -s conftest.err'
45083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45084 (eval $ac_try) 2>&5
45085 ac_status=$?
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); }; } &&
45088 { ac_try='test -s conftest$ac_exeext'
45089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090 (eval $ac_try) 2>&5
45091 ac_status=$?
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; }; then
45094 eval "$as_ac_var=yes"
45095 else
45096 echo "$as_me: failed program was:" >&5
45097 sed 's/^/| /' conftest.$ac_ext >&5
45099 eval "$as_ac_var=no"
45101 rm -f conftest.err conftest.$ac_objext \
45102 conftest$ac_exeext conftest.$ac_ext
45104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45106 if test `eval echo '${'$as_ac_var'}'` = yes; then
45107 cat >>confdefs.h <<_ACEOF
45108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45109 _ACEOF
45112 done
45130 echo "$as_me:$LINENO: checking for float round functions" >&5
45131 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45132 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45133 echo $ECHO_N "(cached) $ECHO_C" >&6
45134 else
45138 ac_ext=cc
45139 ac_cpp='$CXXCPP $CPPFLAGS'
45140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45144 cat >conftest.$ac_ext <<_ACEOF
45145 /* confdefs.h. */
45146 _ACEOF
45147 cat confdefs.h >>conftest.$ac_ext
45148 cat >>conftest.$ac_ext <<_ACEOF
45149 /* end confdefs.h. */
45150 #include <math.h>
45152 main ()
45154 ceilf (0); floorf (0);
45156 return 0;
45158 _ACEOF
45159 rm -f conftest.$ac_objext
45160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45161 (eval $ac_compile) 2>conftest.er1
45162 ac_status=$?
45163 grep -v '^ *+' conftest.er1 >conftest.err
45164 rm -f conftest.er1
45165 cat conftest.err >&5
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); } &&
45168 { ac_try='test -z "$ac_cxx_werror_flag"
45169 || test ! -s conftest.err'
45170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45171 (eval $ac_try) 2>&5
45172 ac_status=$?
45173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45174 (exit $ac_status); }; } &&
45175 { ac_try='test -s conftest.$ac_objext'
45176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45177 (eval $ac_try) 2>&5
45178 ac_status=$?
45179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45180 (exit $ac_status); }; }; then
45181 glibcxx_cv_func_float_round_use=yes
45182 else
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45186 glibcxx_cv_func_float_round_use=no
45188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45189 ac_ext=c
45190 ac_cpp='$CPP $CPPFLAGS'
45191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45198 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45199 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45202 for ac_func in ceilf floorf
45204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45205 echo "$as_me:$LINENO: checking for $ac_func" >&5
45206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45207 if eval "test \"\${$as_ac_var+set}\" = set"; then
45208 echo $ECHO_N "(cached) $ECHO_C" >&6
45209 else
45210 if test x$gcc_no_link = xyes; then
45211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45213 { (exit 1); exit 1; }; }
45215 cat >conftest.$ac_ext <<_ACEOF
45216 /* confdefs.h. */
45217 _ACEOF
45218 cat confdefs.h >>conftest.$ac_ext
45219 cat >>conftest.$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45223 #define $ac_func innocuous_$ac_func
45225 /* System header to define __stub macros and hopefully few prototypes,
45226 which can conflict with char $ac_func (); below.
45227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45228 <limits.h> exists even on freestanding compilers. */
45230 #ifdef __STDC__
45231 # include <limits.h>
45232 #else
45233 # include <assert.h>
45234 #endif
45236 #undef $ac_func
45238 /* Override any gcc2 internal prototype to avoid an error. */
45239 #ifdef __cplusplus
45240 extern "C"
45242 #endif
45243 /* We use char because int might match the return type of a gcc2
45244 builtin and then its argument prototype would still apply. */
45245 char $ac_func ();
45246 /* The GNU C library defines this for functions which it implements
45247 to always fail with ENOSYS. Some functions are actually named
45248 something starting with __ and the normal name is an alias. */
45249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45250 choke me
45251 #else
45252 char (*f) () = $ac_func;
45253 #endif
45254 #ifdef __cplusplus
45256 #endif
45259 main ()
45261 return f != $ac_func;
45263 return 0;
45265 _ACEOF
45266 rm -f conftest.$ac_objext conftest$ac_exeext
45267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45268 (eval $ac_link) 2>conftest.er1
45269 ac_status=$?
45270 grep -v '^ *+' conftest.er1 >conftest.err
45271 rm -f conftest.er1
45272 cat conftest.err >&5
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); } &&
45275 { ac_try='test -z "$ac_c_werror_flag"
45276 || test ! -s conftest.err'
45277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45278 (eval $ac_try) 2>&5
45279 ac_status=$?
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); }; } &&
45282 { ac_try='test -s conftest$ac_exeext'
45283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45284 (eval $ac_try) 2>&5
45285 ac_status=$?
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); }; }; then
45288 eval "$as_ac_var=yes"
45289 else
45290 echo "$as_me: failed program was:" >&5
45291 sed 's/^/| /' conftest.$ac_ext >&5
45293 eval "$as_ac_var=no"
45295 rm -f conftest.err conftest.$ac_objext \
45296 conftest$ac_exeext conftest.$ac_ext
45298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45300 if test `eval echo '${'$as_ac_var'}'` = yes; then
45301 cat >>confdefs.h <<_ACEOF
45302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45303 _ACEOF
45306 done
45308 else
45309 echo "$as_me:$LINENO: checking for _float round functions" >&5
45310 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45311 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45312 echo $ECHO_N "(cached) $ECHO_C" >&6
45313 else
45317 ac_ext=cc
45318 ac_cpp='$CXXCPP $CPPFLAGS'
45319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45323 cat >conftest.$ac_ext <<_ACEOF
45324 /* confdefs.h. */
45325 _ACEOF
45326 cat confdefs.h >>conftest.$ac_ext
45327 cat >>conftest.$ac_ext <<_ACEOF
45328 /* end confdefs.h. */
45329 #include <math.h>
45331 main ()
45333 _ceilf (0); _floorf (0);
45335 return 0;
45337 _ACEOF
45338 rm -f conftest.$ac_objext
45339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45340 (eval $ac_compile) 2>conftest.er1
45341 ac_status=$?
45342 grep -v '^ *+' conftest.er1 >conftest.err
45343 rm -f conftest.er1
45344 cat conftest.err >&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); } &&
45347 { ac_try='test -z "$ac_cxx_werror_flag"
45348 || test ! -s conftest.err'
45349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45350 (eval $ac_try) 2>&5
45351 ac_status=$?
45352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45353 (exit $ac_status); }; } &&
45354 { ac_try='test -s conftest.$ac_objext'
45355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45356 (eval $ac_try) 2>&5
45357 ac_status=$?
45358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45359 (exit $ac_status); }; }; then
45360 glibcxx_cv_func__float_round_use=yes
45361 else
45362 echo "$as_me: failed program was:" >&5
45363 sed 's/^/| /' conftest.$ac_ext >&5
45365 glibcxx_cv_func__float_round_use=no
45367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45368 ac_ext=c
45369 ac_cpp='$CPP $CPPFLAGS'
45370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45377 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45378 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45381 for ac_func in _ceilf _floorf
45383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45384 echo "$as_me:$LINENO: checking for $ac_func" >&5
45385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45386 if eval "test \"\${$as_ac_var+set}\" = set"; then
45387 echo $ECHO_N "(cached) $ECHO_C" >&6
45388 else
45389 if test x$gcc_no_link = xyes; then
45390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45392 { (exit 1); exit 1; }; }
45394 cat >conftest.$ac_ext <<_ACEOF
45395 /* confdefs.h. */
45396 _ACEOF
45397 cat confdefs.h >>conftest.$ac_ext
45398 cat >>conftest.$ac_ext <<_ACEOF
45399 /* end confdefs.h. */
45400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45402 #define $ac_func innocuous_$ac_func
45404 /* System header to define __stub macros and hopefully few prototypes,
45405 which can conflict with char $ac_func (); below.
45406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45407 <limits.h> exists even on freestanding compilers. */
45409 #ifdef __STDC__
45410 # include <limits.h>
45411 #else
45412 # include <assert.h>
45413 #endif
45415 #undef $ac_func
45417 /* Override any gcc2 internal prototype to avoid an error. */
45418 #ifdef __cplusplus
45419 extern "C"
45421 #endif
45422 /* We use char because int might match the return type of a gcc2
45423 builtin and then its argument prototype would still apply. */
45424 char $ac_func ();
45425 /* The GNU C library defines this for functions which it implements
45426 to always fail with ENOSYS. Some functions are actually named
45427 something starting with __ and the normal name is an alias. */
45428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45429 choke me
45430 #else
45431 char (*f) () = $ac_func;
45432 #endif
45433 #ifdef __cplusplus
45435 #endif
45438 main ()
45440 return f != $ac_func;
45442 return 0;
45444 _ACEOF
45445 rm -f conftest.$ac_objext conftest$ac_exeext
45446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45447 (eval $ac_link) 2>conftest.er1
45448 ac_status=$?
45449 grep -v '^ *+' conftest.er1 >conftest.err
45450 rm -f conftest.er1
45451 cat conftest.err >&5
45452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453 (exit $ac_status); } &&
45454 { ac_try='test -z "$ac_c_werror_flag"
45455 || test ! -s conftest.err'
45456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45457 (eval $ac_try) 2>&5
45458 ac_status=$?
45459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45460 (exit $ac_status); }; } &&
45461 { ac_try='test -s conftest$ac_exeext'
45462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45463 (eval $ac_try) 2>&5
45464 ac_status=$?
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); }; }; then
45467 eval "$as_ac_var=yes"
45468 else
45469 echo "$as_me: failed program was:" >&5
45470 sed 's/^/| /' conftest.$ac_ext >&5
45472 eval "$as_ac_var=no"
45474 rm -f conftest.err conftest.$ac_objext \
45475 conftest$ac_exeext conftest.$ac_ext
45477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45479 if test `eval echo '${'$as_ac_var'}'` = yes; then
45480 cat >>confdefs.h <<_ACEOF
45481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45482 _ACEOF
45485 done
45497 echo "$as_me:$LINENO: checking for expf declaration" >&5
45498 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45499 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45500 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45501 echo $ECHO_N "(cached) $ECHO_C" >&6
45502 else
45506 ac_ext=cc
45507 ac_cpp='$CXXCPP $CPPFLAGS'
45508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45512 cat >conftest.$ac_ext <<_ACEOF
45513 /* confdefs.h. */
45514 _ACEOF
45515 cat confdefs.h >>conftest.$ac_ext
45516 cat >>conftest.$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 #include <math.h>
45519 #ifdef HAVE_IEEEFP_H
45520 #include <ieeefp.h>
45521 #endif
45524 main ()
45526 expf(0);
45528 return 0;
45530 _ACEOF
45531 rm -f conftest.$ac_objext
45532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45533 (eval $ac_compile) 2>conftest.er1
45534 ac_status=$?
45535 grep -v '^ *+' conftest.er1 >conftest.err
45536 rm -f conftest.er1
45537 cat conftest.err >&5
45538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45539 (exit $ac_status); } &&
45540 { ac_try='test -z "$ac_cxx_werror_flag"
45541 || test ! -s conftest.err'
45542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45543 (eval $ac_try) 2>&5
45544 ac_status=$?
45545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546 (exit $ac_status); }; } &&
45547 { ac_try='test -s conftest.$ac_objext'
45548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45549 (eval $ac_try) 2>&5
45550 ac_status=$?
45551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552 (exit $ac_status); }; }; then
45553 glibcxx_cv_func_expf_use=yes
45554 else
45555 echo "$as_me: failed program was:" >&5
45556 sed 's/^/| /' conftest.$ac_ext >&5
45558 glibcxx_cv_func_expf_use=no
45560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45561 ac_ext=c
45562 ac_cpp='$CPP $CPPFLAGS'
45563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45572 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45574 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45576 for ac_func in expf
45578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45579 echo "$as_me:$LINENO: checking for $ac_func" >&5
45580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45581 if eval "test \"\${$as_ac_var+set}\" = set"; then
45582 echo $ECHO_N "(cached) $ECHO_C" >&6
45583 else
45584 if test x$gcc_no_link = xyes; then
45585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45587 { (exit 1); exit 1; }; }
45589 cat >conftest.$ac_ext <<_ACEOF
45590 /* confdefs.h. */
45591 _ACEOF
45592 cat confdefs.h >>conftest.$ac_ext
45593 cat >>conftest.$ac_ext <<_ACEOF
45594 /* end confdefs.h. */
45595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45597 #define $ac_func innocuous_$ac_func
45599 /* System header to define __stub macros and hopefully few prototypes,
45600 which can conflict with char $ac_func (); below.
45601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45602 <limits.h> exists even on freestanding compilers. */
45604 #ifdef __STDC__
45605 # include <limits.h>
45606 #else
45607 # include <assert.h>
45608 #endif
45610 #undef $ac_func
45612 /* Override any gcc2 internal prototype to avoid an error. */
45613 #ifdef __cplusplus
45614 extern "C"
45616 #endif
45617 /* We use char because int might match the return type of a gcc2
45618 builtin and then its argument prototype would still apply. */
45619 char $ac_func ();
45620 /* The GNU C library defines this for functions which it implements
45621 to always fail with ENOSYS. Some functions are actually named
45622 something starting with __ and the normal name is an alias. */
45623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45624 choke me
45625 #else
45626 char (*f) () = $ac_func;
45627 #endif
45628 #ifdef __cplusplus
45630 #endif
45633 main ()
45635 return f != $ac_func;
45637 return 0;
45639 _ACEOF
45640 rm -f conftest.$ac_objext conftest$ac_exeext
45641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45642 (eval $ac_link) 2>conftest.er1
45643 ac_status=$?
45644 grep -v '^ *+' conftest.er1 >conftest.err
45645 rm -f conftest.er1
45646 cat conftest.err >&5
45647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45648 (exit $ac_status); } &&
45649 { ac_try='test -z "$ac_c_werror_flag"
45650 || test ! -s conftest.err'
45651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45652 (eval $ac_try) 2>&5
45653 ac_status=$?
45654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45655 (exit $ac_status); }; } &&
45656 { ac_try='test -s conftest$ac_exeext'
45657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45658 (eval $ac_try) 2>&5
45659 ac_status=$?
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); }; }; then
45662 eval "$as_ac_var=yes"
45663 else
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45667 eval "$as_ac_var=no"
45669 rm -f conftest.err conftest.$ac_objext \
45670 conftest$ac_exeext conftest.$ac_ext
45672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45674 if test `eval echo '${'$as_ac_var'}'` = yes; then
45675 cat >>confdefs.h <<_ACEOF
45676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45677 _ACEOF
45680 done
45682 else
45684 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45685 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45686 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45687 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45688 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 else
45693 ac_ext=cc
45694 ac_cpp='$CXXCPP $CPPFLAGS'
45695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45699 cat >conftest.$ac_ext <<_ACEOF
45700 /* confdefs.h. */
45701 _ACEOF
45702 cat confdefs.h >>conftest.$ac_ext
45703 cat >>conftest.$ac_ext <<_ACEOF
45704 /* end confdefs.h. */
45705 #include <math.h>
45706 #ifdef HAVE_IEEEFP_H
45707 #include <ieeefp.h>
45708 #endif
45711 main ()
45713 _expf(0);
45715 return 0;
45717 _ACEOF
45718 rm -f conftest.$ac_objext
45719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45720 (eval $ac_compile) 2>conftest.er1
45721 ac_status=$?
45722 grep -v '^ *+' conftest.er1 >conftest.err
45723 rm -f conftest.er1
45724 cat conftest.err >&5
45725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45726 (exit $ac_status); } &&
45727 { ac_try='test -z "$ac_cxx_werror_flag"
45728 || test ! -s conftest.err'
45729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45730 (eval $ac_try) 2>&5
45731 ac_status=$?
45732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45733 (exit $ac_status); }; } &&
45734 { ac_try='test -s conftest.$ac_objext'
45735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45736 (eval $ac_try) 2>&5
45737 ac_status=$?
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); }; }; then
45740 glibcxx_cv_func__expf_use=yes
45741 else
45742 echo "$as_me: failed program was:" >&5
45743 sed 's/^/| /' conftest.$ac_ext >&5
45745 glibcxx_cv_func__expf_use=no
45747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45748 ac_ext=c
45749 ac_cpp='$CPP $CPPFLAGS'
45750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
45759 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
45761 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45763 for ac_func in _expf
45765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45766 echo "$as_me:$LINENO: checking for $ac_func" >&5
45767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45768 if eval "test \"\${$as_ac_var+set}\" = set"; then
45769 echo $ECHO_N "(cached) $ECHO_C" >&6
45770 else
45771 if test x$gcc_no_link = xyes; then
45772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45774 { (exit 1); exit 1; }; }
45776 cat >conftest.$ac_ext <<_ACEOF
45777 /* confdefs.h. */
45778 _ACEOF
45779 cat confdefs.h >>conftest.$ac_ext
45780 cat >>conftest.$ac_ext <<_ACEOF
45781 /* end confdefs.h. */
45782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45784 #define $ac_func innocuous_$ac_func
45786 /* System header to define __stub macros and hopefully few prototypes,
45787 which can conflict with char $ac_func (); below.
45788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45789 <limits.h> exists even on freestanding compilers. */
45791 #ifdef __STDC__
45792 # include <limits.h>
45793 #else
45794 # include <assert.h>
45795 #endif
45797 #undef $ac_func
45799 /* Override any gcc2 internal prototype to avoid an error. */
45800 #ifdef __cplusplus
45801 extern "C"
45803 #endif
45804 /* We use char because int might match the return type of a gcc2
45805 builtin and then its argument prototype would still apply. */
45806 char $ac_func ();
45807 /* The GNU C library defines this for functions which it implements
45808 to always fail with ENOSYS. Some functions are actually named
45809 something starting with __ and the normal name is an alias. */
45810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45811 choke me
45812 #else
45813 char (*f) () = $ac_func;
45814 #endif
45815 #ifdef __cplusplus
45817 #endif
45820 main ()
45822 return f != $ac_func;
45824 return 0;
45826 _ACEOF
45827 rm -f conftest.$ac_objext conftest$ac_exeext
45828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45829 (eval $ac_link) 2>conftest.er1
45830 ac_status=$?
45831 grep -v '^ *+' conftest.er1 >conftest.err
45832 rm -f conftest.er1
45833 cat conftest.err >&5
45834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45835 (exit $ac_status); } &&
45836 { ac_try='test -z "$ac_c_werror_flag"
45837 || test ! -s conftest.err'
45838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45839 (eval $ac_try) 2>&5
45840 ac_status=$?
45841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45842 (exit $ac_status); }; } &&
45843 { ac_try='test -s conftest$ac_exeext'
45844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45845 (eval $ac_try) 2>&5
45846 ac_status=$?
45847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45848 (exit $ac_status); }; }; then
45849 eval "$as_ac_var=yes"
45850 else
45851 echo "$as_me: failed program was:" >&5
45852 sed 's/^/| /' conftest.$ac_ext >&5
45854 eval "$as_ac_var=no"
45856 rm -f conftest.err conftest.$ac_objext \
45857 conftest$ac_exeext conftest.$ac_ext
45859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45861 if test `eval echo '${'$as_ac_var'}'` = yes; then
45862 cat >>confdefs.h <<_ACEOF
45863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45864 _ACEOF
45867 done
45877 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
45878 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
45879 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45880 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
45881 echo $ECHO_N "(cached) $ECHO_C" >&6
45882 else
45886 ac_ext=cc
45887 ac_cpp='$CXXCPP $CPPFLAGS'
45888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45892 cat >conftest.$ac_ext <<_ACEOF
45893 /* confdefs.h. */
45894 _ACEOF
45895 cat confdefs.h >>conftest.$ac_ext
45896 cat >>conftest.$ac_ext <<_ACEOF
45897 /* end confdefs.h. */
45898 #include <math.h>
45899 #ifdef HAVE_IEEEFP_H
45900 #include <ieeefp.h>
45901 #endif
45904 main ()
45906 isnanf(0);
45908 return 0;
45910 _ACEOF
45911 rm -f conftest.$ac_objext
45912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45913 (eval $ac_compile) 2>conftest.er1
45914 ac_status=$?
45915 grep -v '^ *+' conftest.er1 >conftest.err
45916 rm -f conftest.er1
45917 cat conftest.err >&5
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); } &&
45920 { ac_try='test -z "$ac_cxx_werror_flag"
45921 || test ! -s conftest.err'
45922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45923 (eval $ac_try) 2>&5
45924 ac_status=$?
45925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45926 (exit $ac_status); }; } &&
45927 { ac_try='test -s conftest.$ac_objext'
45928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45929 (eval $ac_try) 2>&5
45930 ac_status=$?
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); }; }; then
45933 glibcxx_cv_func_isnanf_use=yes
45934 else
45935 echo "$as_me: failed program was:" >&5
45936 sed 's/^/| /' conftest.$ac_ext >&5
45938 glibcxx_cv_func_isnanf_use=no
45940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45941 ac_ext=c
45942 ac_cpp='$CPP $CPPFLAGS'
45943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
45952 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
45954 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
45956 for ac_func in isnanf
45958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45959 echo "$as_me:$LINENO: checking for $ac_func" >&5
45960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45961 if eval "test \"\${$as_ac_var+set}\" = set"; then
45962 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 else
45964 if test x$gcc_no_link = xyes; then
45965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45967 { (exit 1); exit 1; }; }
45969 cat >conftest.$ac_ext <<_ACEOF
45970 /* confdefs.h. */
45971 _ACEOF
45972 cat confdefs.h >>conftest.$ac_ext
45973 cat >>conftest.$ac_ext <<_ACEOF
45974 /* end confdefs.h. */
45975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45977 #define $ac_func innocuous_$ac_func
45979 /* System header to define __stub macros and hopefully few prototypes,
45980 which can conflict with char $ac_func (); below.
45981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45982 <limits.h> exists even on freestanding compilers. */
45984 #ifdef __STDC__
45985 # include <limits.h>
45986 #else
45987 # include <assert.h>
45988 #endif
45990 #undef $ac_func
45992 /* Override any gcc2 internal prototype to avoid an error. */
45993 #ifdef __cplusplus
45994 extern "C"
45996 #endif
45997 /* We use char because int might match the return type of a gcc2
45998 builtin and then its argument prototype would still apply. */
45999 char $ac_func ();
46000 /* The GNU C library defines this for functions which it implements
46001 to always fail with ENOSYS. Some functions are actually named
46002 something starting with __ and the normal name is an alias. */
46003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46004 choke me
46005 #else
46006 char (*f) () = $ac_func;
46007 #endif
46008 #ifdef __cplusplus
46010 #endif
46013 main ()
46015 return f != $ac_func;
46017 return 0;
46019 _ACEOF
46020 rm -f conftest.$ac_objext conftest$ac_exeext
46021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46022 (eval $ac_link) 2>conftest.er1
46023 ac_status=$?
46024 grep -v '^ *+' conftest.er1 >conftest.err
46025 rm -f conftest.er1
46026 cat conftest.err >&5
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); } &&
46029 { ac_try='test -z "$ac_c_werror_flag"
46030 || test ! -s conftest.err'
46031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46032 (eval $ac_try) 2>&5
46033 ac_status=$?
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); }; } &&
46036 { ac_try='test -s conftest$ac_exeext'
46037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46038 (eval $ac_try) 2>&5
46039 ac_status=$?
46040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46041 (exit $ac_status); }; }; then
46042 eval "$as_ac_var=yes"
46043 else
46044 echo "$as_me: failed program was:" >&5
46045 sed 's/^/| /' conftest.$ac_ext >&5
46047 eval "$as_ac_var=no"
46049 rm -f conftest.err conftest.$ac_objext \
46050 conftest$ac_exeext conftest.$ac_ext
46052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46054 if test `eval echo '${'$as_ac_var'}'` = yes; then
46055 cat >>confdefs.h <<_ACEOF
46056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46057 _ACEOF
46060 done
46062 else
46064 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46065 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46066 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46067 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46068 echo $ECHO_N "(cached) $ECHO_C" >&6
46069 else
46073 ac_ext=cc
46074 ac_cpp='$CXXCPP $CPPFLAGS'
46075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46079 cat >conftest.$ac_ext <<_ACEOF
46080 /* confdefs.h. */
46081 _ACEOF
46082 cat confdefs.h >>conftest.$ac_ext
46083 cat >>conftest.$ac_ext <<_ACEOF
46084 /* end confdefs.h. */
46085 #include <math.h>
46086 #ifdef HAVE_IEEEFP_H
46087 #include <ieeefp.h>
46088 #endif
46091 main ()
46093 _isnanf(0);
46095 return 0;
46097 _ACEOF
46098 rm -f conftest.$ac_objext
46099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46100 (eval $ac_compile) 2>conftest.er1
46101 ac_status=$?
46102 grep -v '^ *+' conftest.er1 >conftest.err
46103 rm -f conftest.er1
46104 cat conftest.err >&5
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); } &&
46107 { ac_try='test -z "$ac_cxx_werror_flag"
46108 || test ! -s conftest.err'
46109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46110 (eval $ac_try) 2>&5
46111 ac_status=$?
46112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46113 (exit $ac_status); }; } &&
46114 { ac_try='test -s conftest.$ac_objext'
46115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46116 (eval $ac_try) 2>&5
46117 ac_status=$?
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); }; }; then
46120 glibcxx_cv_func__isnanf_use=yes
46121 else
46122 echo "$as_me: failed program was:" >&5
46123 sed 's/^/| /' conftest.$ac_ext >&5
46125 glibcxx_cv_func__isnanf_use=no
46127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46128 ac_ext=c
46129 ac_cpp='$CPP $CPPFLAGS'
46130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46139 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46141 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46143 for ac_func in _isnanf
46145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46146 echo "$as_me:$LINENO: checking for $ac_func" >&5
46147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46148 if eval "test \"\${$as_ac_var+set}\" = set"; then
46149 echo $ECHO_N "(cached) $ECHO_C" >&6
46150 else
46151 if test x$gcc_no_link = xyes; then
46152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46154 { (exit 1); exit 1; }; }
46156 cat >conftest.$ac_ext <<_ACEOF
46157 /* confdefs.h. */
46158 _ACEOF
46159 cat confdefs.h >>conftest.$ac_ext
46160 cat >>conftest.$ac_ext <<_ACEOF
46161 /* end confdefs.h. */
46162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46164 #define $ac_func innocuous_$ac_func
46166 /* System header to define __stub macros and hopefully few prototypes,
46167 which can conflict with char $ac_func (); below.
46168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46169 <limits.h> exists even on freestanding compilers. */
46171 #ifdef __STDC__
46172 # include <limits.h>
46173 #else
46174 # include <assert.h>
46175 #endif
46177 #undef $ac_func
46179 /* Override any gcc2 internal prototype to avoid an error. */
46180 #ifdef __cplusplus
46181 extern "C"
46183 #endif
46184 /* We use char because int might match the return type of a gcc2
46185 builtin and then its argument prototype would still apply. */
46186 char $ac_func ();
46187 /* The GNU C library defines this for functions which it implements
46188 to always fail with ENOSYS. Some functions are actually named
46189 something starting with __ and the normal name is an alias. */
46190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46191 choke me
46192 #else
46193 char (*f) () = $ac_func;
46194 #endif
46195 #ifdef __cplusplus
46197 #endif
46200 main ()
46202 return f != $ac_func;
46204 return 0;
46206 _ACEOF
46207 rm -f conftest.$ac_objext conftest$ac_exeext
46208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46209 (eval $ac_link) 2>conftest.er1
46210 ac_status=$?
46211 grep -v '^ *+' conftest.er1 >conftest.err
46212 rm -f conftest.er1
46213 cat conftest.err >&5
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); } &&
46216 { ac_try='test -z "$ac_c_werror_flag"
46217 || test ! -s conftest.err'
46218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46219 (eval $ac_try) 2>&5
46220 ac_status=$?
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); }; } &&
46223 { ac_try='test -s conftest$ac_exeext'
46224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46225 (eval $ac_try) 2>&5
46226 ac_status=$?
46227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46228 (exit $ac_status); }; }; then
46229 eval "$as_ac_var=yes"
46230 else
46231 echo "$as_me: failed program was:" >&5
46232 sed 's/^/| /' conftest.$ac_ext >&5
46234 eval "$as_ac_var=no"
46236 rm -f conftest.err conftest.$ac_objext \
46237 conftest$ac_exeext conftest.$ac_ext
46239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46241 if test `eval echo '${'$as_ac_var'}'` = yes; then
46242 cat >>confdefs.h <<_ACEOF
46243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46244 _ACEOF
46247 done
46257 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46258 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46259 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46260 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46262 else
46266 ac_ext=cc
46267 ac_cpp='$CXXCPP $CPPFLAGS'
46268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46272 cat >conftest.$ac_ext <<_ACEOF
46273 /* confdefs.h. */
46274 _ACEOF
46275 cat confdefs.h >>conftest.$ac_ext
46276 cat >>conftest.$ac_ext <<_ACEOF
46277 /* end confdefs.h. */
46278 #include <math.h>
46279 #ifdef HAVE_IEEEFP_H
46280 #include <ieeefp.h>
46281 #endif
46284 main ()
46286 isinff(0);
46288 return 0;
46290 _ACEOF
46291 rm -f conftest.$ac_objext
46292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46293 (eval $ac_compile) 2>conftest.er1
46294 ac_status=$?
46295 grep -v '^ *+' conftest.er1 >conftest.err
46296 rm -f conftest.er1
46297 cat conftest.err >&5
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); } &&
46300 { ac_try='test -z "$ac_cxx_werror_flag"
46301 || test ! -s conftest.err'
46302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46303 (eval $ac_try) 2>&5
46304 ac_status=$?
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); }; } &&
46307 { ac_try='test -s conftest.$ac_objext'
46308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309 (eval $ac_try) 2>&5
46310 ac_status=$?
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); }; }; then
46313 glibcxx_cv_func_isinff_use=yes
46314 else
46315 echo "$as_me: failed program was:" >&5
46316 sed 's/^/| /' conftest.$ac_ext >&5
46318 glibcxx_cv_func_isinff_use=no
46320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46321 ac_ext=c
46322 ac_cpp='$CPP $CPPFLAGS'
46323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46332 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46334 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46336 for ac_func in isinff
46338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46339 echo "$as_me:$LINENO: checking for $ac_func" >&5
46340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46341 if eval "test \"\${$as_ac_var+set}\" = set"; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46344 if test x$gcc_no_link = xyes; then
46345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46347 { (exit 1); exit 1; }; }
46349 cat >conftest.$ac_ext <<_ACEOF
46350 /* confdefs.h. */
46351 _ACEOF
46352 cat confdefs.h >>conftest.$ac_ext
46353 cat >>conftest.$ac_ext <<_ACEOF
46354 /* end confdefs.h. */
46355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46357 #define $ac_func innocuous_$ac_func
46359 /* System header to define __stub macros and hopefully few prototypes,
46360 which can conflict with char $ac_func (); below.
46361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46362 <limits.h> exists even on freestanding compilers. */
46364 #ifdef __STDC__
46365 # include <limits.h>
46366 #else
46367 # include <assert.h>
46368 #endif
46370 #undef $ac_func
46372 /* Override any gcc2 internal prototype to avoid an error. */
46373 #ifdef __cplusplus
46374 extern "C"
46376 #endif
46377 /* We use char because int might match the return type of a gcc2
46378 builtin and then its argument prototype would still apply. */
46379 char $ac_func ();
46380 /* The GNU C library defines this for functions which it implements
46381 to always fail with ENOSYS. Some functions are actually named
46382 something starting with __ and the normal name is an alias. */
46383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46384 choke me
46385 #else
46386 char (*f) () = $ac_func;
46387 #endif
46388 #ifdef __cplusplus
46390 #endif
46393 main ()
46395 return f != $ac_func;
46397 return 0;
46399 _ACEOF
46400 rm -f conftest.$ac_objext conftest$ac_exeext
46401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46402 (eval $ac_link) 2>conftest.er1
46403 ac_status=$?
46404 grep -v '^ *+' conftest.er1 >conftest.err
46405 rm -f conftest.er1
46406 cat conftest.err >&5
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); } &&
46409 { ac_try='test -z "$ac_c_werror_flag"
46410 || test ! -s conftest.err'
46411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46412 (eval $ac_try) 2>&5
46413 ac_status=$?
46414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46415 (exit $ac_status); }; } &&
46416 { ac_try='test -s conftest$ac_exeext'
46417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46418 (eval $ac_try) 2>&5
46419 ac_status=$?
46420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46421 (exit $ac_status); }; }; then
46422 eval "$as_ac_var=yes"
46423 else
46424 echo "$as_me: failed program was:" >&5
46425 sed 's/^/| /' conftest.$ac_ext >&5
46427 eval "$as_ac_var=no"
46429 rm -f conftest.err conftest.$ac_objext \
46430 conftest$ac_exeext conftest.$ac_ext
46432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46434 if test `eval echo '${'$as_ac_var'}'` = yes; then
46435 cat >>confdefs.h <<_ACEOF
46436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46437 _ACEOF
46440 done
46442 else
46444 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46445 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46446 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46447 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46448 echo $ECHO_N "(cached) $ECHO_C" >&6
46449 else
46453 ac_ext=cc
46454 ac_cpp='$CXXCPP $CPPFLAGS'
46455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46459 cat >conftest.$ac_ext <<_ACEOF
46460 /* confdefs.h. */
46461 _ACEOF
46462 cat confdefs.h >>conftest.$ac_ext
46463 cat >>conftest.$ac_ext <<_ACEOF
46464 /* end confdefs.h. */
46465 #include <math.h>
46466 #ifdef HAVE_IEEEFP_H
46467 #include <ieeefp.h>
46468 #endif
46471 main ()
46473 _isinff(0);
46475 return 0;
46477 _ACEOF
46478 rm -f conftest.$ac_objext
46479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46480 (eval $ac_compile) 2>conftest.er1
46481 ac_status=$?
46482 grep -v '^ *+' conftest.er1 >conftest.err
46483 rm -f conftest.er1
46484 cat conftest.err >&5
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); } &&
46487 { ac_try='test -z "$ac_cxx_werror_flag"
46488 || test ! -s conftest.err'
46489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46490 (eval $ac_try) 2>&5
46491 ac_status=$?
46492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46493 (exit $ac_status); }; } &&
46494 { ac_try='test -s conftest.$ac_objext'
46495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46496 (eval $ac_try) 2>&5
46497 ac_status=$?
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); }; }; then
46500 glibcxx_cv_func__isinff_use=yes
46501 else
46502 echo "$as_me: failed program was:" >&5
46503 sed 's/^/| /' conftest.$ac_ext >&5
46505 glibcxx_cv_func__isinff_use=no
46507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46508 ac_ext=c
46509 ac_cpp='$CPP $CPPFLAGS'
46510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46519 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46521 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46523 for ac_func in _isinff
46525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46526 echo "$as_me:$LINENO: checking for $ac_func" >&5
46527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46528 if eval "test \"\${$as_ac_var+set}\" = set"; then
46529 echo $ECHO_N "(cached) $ECHO_C" >&6
46530 else
46531 if test x$gcc_no_link = xyes; then
46532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46534 { (exit 1); exit 1; }; }
46536 cat >conftest.$ac_ext <<_ACEOF
46537 /* confdefs.h. */
46538 _ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46544 #define $ac_func innocuous_$ac_func
46546 /* System header to define __stub macros and hopefully few prototypes,
46547 which can conflict with char $ac_func (); below.
46548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46549 <limits.h> exists even on freestanding compilers. */
46551 #ifdef __STDC__
46552 # include <limits.h>
46553 #else
46554 # include <assert.h>
46555 #endif
46557 #undef $ac_func
46559 /* Override any gcc2 internal prototype to avoid an error. */
46560 #ifdef __cplusplus
46561 extern "C"
46563 #endif
46564 /* We use char because int might match the return type of a gcc2
46565 builtin and then its argument prototype would still apply. */
46566 char $ac_func ();
46567 /* The GNU C library defines this for functions which it implements
46568 to always fail with ENOSYS. Some functions are actually named
46569 something starting with __ and the normal name is an alias. */
46570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46571 choke me
46572 #else
46573 char (*f) () = $ac_func;
46574 #endif
46575 #ifdef __cplusplus
46577 #endif
46580 main ()
46582 return f != $ac_func;
46584 return 0;
46586 _ACEOF
46587 rm -f conftest.$ac_objext conftest$ac_exeext
46588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46589 (eval $ac_link) 2>conftest.er1
46590 ac_status=$?
46591 grep -v '^ *+' conftest.er1 >conftest.err
46592 rm -f conftest.er1
46593 cat conftest.err >&5
46594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46595 (exit $ac_status); } &&
46596 { ac_try='test -z "$ac_c_werror_flag"
46597 || test ! -s conftest.err'
46598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46599 (eval $ac_try) 2>&5
46600 ac_status=$?
46601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46602 (exit $ac_status); }; } &&
46603 { ac_try='test -s conftest$ac_exeext'
46604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46605 (eval $ac_try) 2>&5
46606 ac_status=$?
46607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46608 (exit $ac_status); }; }; then
46609 eval "$as_ac_var=yes"
46610 else
46611 echo "$as_me: failed program was:" >&5
46612 sed 's/^/| /' conftest.$ac_ext >&5
46614 eval "$as_ac_var=no"
46616 rm -f conftest.err conftest.$ac_objext \
46617 conftest$ac_exeext conftest.$ac_ext
46619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46621 if test `eval echo '${'$as_ac_var'}'` = yes; then
46622 cat >>confdefs.h <<_ACEOF
46623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46624 _ACEOF
46627 done
46637 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46638 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46639 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46640 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46641 echo $ECHO_N "(cached) $ECHO_C" >&6
46642 else
46646 ac_ext=cc
46647 ac_cpp='$CXXCPP $CPPFLAGS'
46648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46652 cat >conftest.$ac_ext <<_ACEOF
46653 /* confdefs.h. */
46654 _ACEOF
46655 cat confdefs.h >>conftest.$ac_ext
46656 cat >>conftest.$ac_ext <<_ACEOF
46657 /* end confdefs.h. */
46658 #include <math.h>
46660 main ()
46662 atan2f(0, 0);
46664 return 0;
46666 _ACEOF
46667 rm -f conftest.$ac_objext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46669 (eval $ac_compile) 2>conftest.er1
46670 ac_status=$?
46671 grep -v '^ *+' conftest.er1 >conftest.err
46672 rm -f conftest.er1
46673 cat conftest.err >&5
46674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675 (exit $ac_status); } &&
46676 { ac_try='test -z "$ac_cxx_werror_flag"
46677 || test ! -s conftest.err'
46678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46679 (eval $ac_try) 2>&5
46680 ac_status=$?
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; } &&
46683 { ac_try='test -s conftest.$ac_objext'
46684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46685 (eval $ac_try) 2>&5
46686 ac_status=$?
46687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688 (exit $ac_status); }; }; then
46689 glibcxx_cv_func_atan2f_use=yes
46690 else
46691 echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46694 glibcxx_cv_func_atan2f_use=no
46696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46697 ac_ext=c
46698 ac_cpp='$CPP $CPPFLAGS'
46699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46708 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46710 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46712 for ac_func in atan2f
46714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46715 echo "$as_me:$LINENO: checking for $ac_func" >&5
46716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46717 if eval "test \"\${$as_ac_var+set}\" = set"; then
46718 echo $ECHO_N "(cached) $ECHO_C" >&6
46719 else
46720 if test x$gcc_no_link = xyes; then
46721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46723 { (exit 1); exit 1; }; }
46725 cat >conftest.$ac_ext <<_ACEOF
46726 /* confdefs.h. */
46727 _ACEOF
46728 cat confdefs.h >>conftest.$ac_ext
46729 cat >>conftest.$ac_ext <<_ACEOF
46730 /* end confdefs.h. */
46731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46733 #define $ac_func innocuous_$ac_func
46735 /* System header to define __stub macros and hopefully few prototypes,
46736 which can conflict with char $ac_func (); below.
46737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46738 <limits.h> exists even on freestanding compilers. */
46740 #ifdef __STDC__
46741 # include <limits.h>
46742 #else
46743 # include <assert.h>
46744 #endif
46746 #undef $ac_func
46748 /* Override any gcc2 internal prototype to avoid an error. */
46749 #ifdef __cplusplus
46750 extern "C"
46752 #endif
46753 /* We use char because int might match the return type of a gcc2
46754 builtin and then its argument prototype would still apply. */
46755 char $ac_func ();
46756 /* The GNU C library defines this for functions which it implements
46757 to always fail with ENOSYS. Some functions are actually named
46758 something starting with __ and the normal name is an alias. */
46759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46760 choke me
46761 #else
46762 char (*f) () = $ac_func;
46763 #endif
46764 #ifdef __cplusplus
46766 #endif
46769 main ()
46771 return f != $ac_func;
46773 return 0;
46775 _ACEOF
46776 rm -f conftest.$ac_objext conftest$ac_exeext
46777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46778 (eval $ac_link) 2>conftest.er1
46779 ac_status=$?
46780 grep -v '^ *+' conftest.er1 >conftest.err
46781 rm -f conftest.er1
46782 cat conftest.err >&5
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); } &&
46785 { ac_try='test -z "$ac_c_werror_flag"
46786 || test ! -s conftest.err'
46787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46788 (eval $ac_try) 2>&5
46789 ac_status=$?
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); }; } &&
46792 { ac_try='test -s conftest$ac_exeext'
46793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46794 (eval $ac_try) 2>&5
46795 ac_status=$?
46796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46797 (exit $ac_status); }; }; then
46798 eval "$as_ac_var=yes"
46799 else
46800 echo "$as_me: failed program was:" >&5
46801 sed 's/^/| /' conftest.$ac_ext >&5
46803 eval "$as_ac_var=no"
46805 rm -f conftest.err conftest.$ac_objext \
46806 conftest$ac_exeext conftest.$ac_ext
46808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46810 if test `eval echo '${'$as_ac_var'}'` = yes; then
46811 cat >>confdefs.h <<_ACEOF
46812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46813 _ACEOF
46816 done
46818 else
46820 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
46821 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
46822 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46823 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
46824 echo $ECHO_N "(cached) $ECHO_C" >&6
46825 else
46829 ac_ext=cc
46830 ac_cpp='$CXXCPP $CPPFLAGS'
46831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46835 cat >conftest.$ac_ext <<_ACEOF
46836 /* confdefs.h. */
46837 _ACEOF
46838 cat confdefs.h >>conftest.$ac_ext
46839 cat >>conftest.$ac_ext <<_ACEOF
46840 /* end confdefs.h. */
46841 #include <math.h>
46843 main ()
46845 _atan2f(0, 0);
46847 return 0;
46849 _ACEOF
46850 rm -f conftest.$ac_objext
46851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46852 (eval $ac_compile) 2>conftest.er1
46853 ac_status=$?
46854 grep -v '^ *+' conftest.er1 >conftest.err
46855 rm -f conftest.er1
46856 cat conftest.err >&5
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); } &&
46859 { ac_try='test -z "$ac_cxx_werror_flag"
46860 || test ! -s conftest.err'
46861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46862 (eval $ac_try) 2>&5
46863 ac_status=$?
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); }; } &&
46866 { ac_try='test -s conftest.$ac_objext'
46867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46868 (eval $ac_try) 2>&5
46869 ac_status=$?
46870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871 (exit $ac_status); }; }; then
46872 glibcxx_cv_func__atan2f_use=yes
46873 else
46874 echo "$as_me: failed program was:" >&5
46875 sed 's/^/| /' conftest.$ac_ext >&5
46877 glibcxx_cv_func__atan2f_use=no
46879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46880 ac_ext=c
46881 ac_cpp='$CPP $CPPFLAGS'
46882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
46891 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
46893 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46895 for ac_func in _atan2f
46897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46898 echo "$as_me:$LINENO: checking for $ac_func" >&5
46899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46900 if eval "test \"\${$as_ac_var+set}\" = set"; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46902 else
46903 if test x$gcc_no_link = xyes; then
46904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46906 { (exit 1); exit 1; }; }
46908 cat >conftest.$ac_ext <<_ACEOF
46909 /* confdefs.h. */
46910 _ACEOF
46911 cat confdefs.h >>conftest.$ac_ext
46912 cat >>conftest.$ac_ext <<_ACEOF
46913 /* end confdefs.h. */
46914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46916 #define $ac_func innocuous_$ac_func
46918 /* System header to define __stub macros and hopefully few prototypes,
46919 which can conflict with char $ac_func (); below.
46920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46921 <limits.h> exists even on freestanding compilers. */
46923 #ifdef __STDC__
46924 # include <limits.h>
46925 #else
46926 # include <assert.h>
46927 #endif
46929 #undef $ac_func
46931 /* Override any gcc2 internal prototype to avoid an error. */
46932 #ifdef __cplusplus
46933 extern "C"
46935 #endif
46936 /* We use char because int might match the return type of a gcc2
46937 builtin and then its argument prototype would still apply. */
46938 char $ac_func ();
46939 /* The GNU C library defines this for functions which it implements
46940 to always fail with ENOSYS. Some functions are actually named
46941 something starting with __ and the normal name is an alias. */
46942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46943 choke me
46944 #else
46945 char (*f) () = $ac_func;
46946 #endif
46947 #ifdef __cplusplus
46949 #endif
46952 main ()
46954 return f != $ac_func;
46956 return 0;
46958 _ACEOF
46959 rm -f conftest.$ac_objext conftest$ac_exeext
46960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46961 (eval $ac_link) 2>conftest.er1
46962 ac_status=$?
46963 grep -v '^ *+' conftest.er1 >conftest.err
46964 rm -f conftest.er1
46965 cat conftest.err >&5
46966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46967 (exit $ac_status); } &&
46968 { ac_try='test -z "$ac_c_werror_flag"
46969 || test ! -s conftest.err'
46970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46971 (eval $ac_try) 2>&5
46972 ac_status=$?
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); }; } &&
46975 { ac_try='test -s conftest$ac_exeext'
46976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46977 (eval $ac_try) 2>&5
46978 ac_status=$?
46979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46980 (exit $ac_status); }; }; then
46981 eval "$as_ac_var=yes"
46982 else
46983 echo "$as_me: failed program was:" >&5
46984 sed 's/^/| /' conftest.$ac_ext >&5
46986 eval "$as_ac_var=no"
46988 rm -f conftest.err conftest.$ac_objext \
46989 conftest$ac_exeext conftest.$ac_ext
46991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46993 if test `eval echo '${'$as_ac_var'}'` = yes; then
46994 cat >>confdefs.h <<_ACEOF
46995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46996 _ACEOF
46999 done
47009 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47010 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47011 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47012 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47013 echo $ECHO_N "(cached) $ECHO_C" >&6
47014 else
47018 ac_ext=cc
47019 ac_cpp='$CXXCPP $CPPFLAGS'
47020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47024 cat >conftest.$ac_ext <<_ACEOF
47025 /* confdefs.h. */
47026 _ACEOF
47027 cat confdefs.h >>conftest.$ac_ext
47028 cat >>conftest.$ac_ext <<_ACEOF
47029 /* end confdefs.h. */
47030 #include <math.h>
47031 #ifdef HAVE_IEEEFP_H
47032 #include <ieeefp.h>
47033 #endif
47036 main ()
47038 fabsf(0);
47040 return 0;
47042 _ACEOF
47043 rm -f conftest.$ac_objext
47044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47045 (eval $ac_compile) 2>conftest.er1
47046 ac_status=$?
47047 grep -v '^ *+' conftest.er1 >conftest.err
47048 rm -f conftest.er1
47049 cat conftest.err >&5
47050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47051 (exit $ac_status); } &&
47052 { ac_try='test -z "$ac_cxx_werror_flag"
47053 || test ! -s conftest.err'
47054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47055 (eval $ac_try) 2>&5
47056 ac_status=$?
47057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47058 (exit $ac_status); }; } &&
47059 { ac_try='test -s conftest.$ac_objext'
47060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47061 (eval $ac_try) 2>&5
47062 ac_status=$?
47063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47064 (exit $ac_status); }; }; then
47065 glibcxx_cv_func_fabsf_use=yes
47066 else
47067 echo "$as_me: failed program was:" >&5
47068 sed 's/^/| /' conftest.$ac_ext >&5
47070 glibcxx_cv_func_fabsf_use=no
47072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47073 ac_ext=c
47074 ac_cpp='$CPP $CPPFLAGS'
47075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47084 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47086 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47088 for ac_func in fabsf
47090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47091 echo "$as_me:$LINENO: checking for $ac_func" >&5
47092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47093 if eval "test \"\${$as_ac_var+set}\" = set"; then
47094 echo $ECHO_N "(cached) $ECHO_C" >&6
47095 else
47096 if test x$gcc_no_link = xyes; then
47097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47099 { (exit 1); exit 1; }; }
47101 cat >conftest.$ac_ext <<_ACEOF
47102 /* confdefs.h. */
47103 _ACEOF
47104 cat confdefs.h >>conftest.$ac_ext
47105 cat >>conftest.$ac_ext <<_ACEOF
47106 /* end confdefs.h. */
47107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47109 #define $ac_func innocuous_$ac_func
47111 /* System header to define __stub macros and hopefully few prototypes,
47112 which can conflict with char $ac_func (); below.
47113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47114 <limits.h> exists even on freestanding compilers. */
47116 #ifdef __STDC__
47117 # include <limits.h>
47118 #else
47119 # include <assert.h>
47120 #endif
47122 #undef $ac_func
47124 /* Override any gcc2 internal prototype to avoid an error. */
47125 #ifdef __cplusplus
47126 extern "C"
47128 #endif
47129 /* We use char because int might match the return type of a gcc2
47130 builtin and then its argument prototype would still apply. */
47131 char $ac_func ();
47132 /* The GNU C library defines this for functions which it implements
47133 to always fail with ENOSYS. Some functions are actually named
47134 something starting with __ and the normal name is an alias. */
47135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47136 choke me
47137 #else
47138 char (*f) () = $ac_func;
47139 #endif
47140 #ifdef __cplusplus
47142 #endif
47145 main ()
47147 return f != $ac_func;
47149 return 0;
47151 _ACEOF
47152 rm -f conftest.$ac_objext conftest$ac_exeext
47153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47154 (eval $ac_link) 2>conftest.er1
47155 ac_status=$?
47156 grep -v '^ *+' conftest.er1 >conftest.err
47157 rm -f conftest.er1
47158 cat conftest.err >&5
47159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47160 (exit $ac_status); } &&
47161 { ac_try='test -z "$ac_c_werror_flag"
47162 || test ! -s conftest.err'
47163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47164 (eval $ac_try) 2>&5
47165 ac_status=$?
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); }; } &&
47168 { ac_try='test -s conftest$ac_exeext'
47169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47170 (eval $ac_try) 2>&5
47171 ac_status=$?
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); }; }; then
47174 eval "$as_ac_var=yes"
47175 else
47176 echo "$as_me: failed program was:" >&5
47177 sed 's/^/| /' conftest.$ac_ext >&5
47179 eval "$as_ac_var=no"
47181 rm -f conftest.err conftest.$ac_objext \
47182 conftest$ac_exeext conftest.$ac_ext
47184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47186 if test `eval echo '${'$as_ac_var'}'` = yes; then
47187 cat >>confdefs.h <<_ACEOF
47188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47189 _ACEOF
47192 done
47194 else
47196 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47197 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47198 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47199 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47200 echo $ECHO_N "(cached) $ECHO_C" >&6
47201 else
47205 ac_ext=cc
47206 ac_cpp='$CXXCPP $CPPFLAGS'
47207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47211 cat >conftest.$ac_ext <<_ACEOF
47212 /* confdefs.h. */
47213 _ACEOF
47214 cat confdefs.h >>conftest.$ac_ext
47215 cat >>conftest.$ac_ext <<_ACEOF
47216 /* end confdefs.h. */
47217 #include <math.h>
47218 #ifdef HAVE_IEEEFP_H
47219 #include <ieeefp.h>
47220 #endif
47223 main ()
47225 _fabsf(0);
47227 return 0;
47229 _ACEOF
47230 rm -f conftest.$ac_objext
47231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47232 (eval $ac_compile) 2>conftest.er1
47233 ac_status=$?
47234 grep -v '^ *+' conftest.er1 >conftest.err
47235 rm -f conftest.er1
47236 cat conftest.err >&5
47237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238 (exit $ac_status); } &&
47239 { ac_try='test -z "$ac_cxx_werror_flag"
47240 || test ! -s conftest.err'
47241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242 (eval $ac_try) 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; } &&
47246 { ac_try='test -s conftest.$ac_objext'
47247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47248 (eval $ac_try) 2>&5
47249 ac_status=$?
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); }; }; then
47252 glibcxx_cv_func__fabsf_use=yes
47253 else
47254 echo "$as_me: failed program was:" >&5
47255 sed 's/^/| /' conftest.$ac_ext >&5
47257 glibcxx_cv_func__fabsf_use=no
47259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47260 ac_ext=c
47261 ac_cpp='$CPP $CPPFLAGS'
47262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47271 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47273 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47275 for ac_func in _fabsf
47277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47278 echo "$as_me:$LINENO: checking for $ac_func" >&5
47279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47280 if eval "test \"\${$as_ac_var+set}\" = set"; then
47281 echo $ECHO_N "(cached) $ECHO_C" >&6
47282 else
47283 if test x$gcc_no_link = xyes; then
47284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47286 { (exit 1); exit 1; }; }
47288 cat >conftest.$ac_ext <<_ACEOF
47289 /* confdefs.h. */
47290 _ACEOF
47291 cat confdefs.h >>conftest.$ac_ext
47292 cat >>conftest.$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47296 #define $ac_func innocuous_$ac_func
47298 /* System header to define __stub macros and hopefully few prototypes,
47299 which can conflict with char $ac_func (); below.
47300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47301 <limits.h> exists even on freestanding compilers. */
47303 #ifdef __STDC__
47304 # include <limits.h>
47305 #else
47306 # include <assert.h>
47307 #endif
47309 #undef $ac_func
47311 /* Override any gcc2 internal prototype to avoid an error. */
47312 #ifdef __cplusplus
47313 extern "C"
47315 #endif
47316 /* We use char because int might match the return type of a gcc2
47317 builtin and then its argument prototype would still apply. */
47318 char $ac_func ();
47319 /* The GNU C library defines this for functions which it implements
47320 to always fail with ENOSYS. Some functions are actually named
47321 something starting with __ and the normal name is an alias. */
47322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47323 choke me
47324 #else
47325 char (*f) () = $ac_func;
47326 #endif
47327 #ifdef __cplusplus
47329 #endif
47332 main ()
47334 return f != $ac_func;
47336 return 0;
47338 _ACEOF
47339 rm -f conftest.$ac_objext conftest$ac_exeext
47340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47341 (eval $ac_link) 2>conftest.er1
47342 ac_status=$?
47343 grep -v '^ *+' conftest.er1 >conftest.err
47344 rm -f conftest.er1
47345 cat conftest.err >&5
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); } &&
47348 { ac_try='test -z "$ac_c_werror_flag"
47349 || test ! -s conftest.err'
47350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47351 (eval $ac_try) 2>&5
47352 ac_status=$?
47353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47354 (exit $ac_status); }; } &&
47355 { ac_try='test -s conftest$ac_exeext'
47356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47357 (eval $ac_try) 2>&5
47358 ac_status=$?
47359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47360 (exit $ac_status); }; }; then
47361 eval "$as_ac_var=yes"
47362 else
47363 echo "$as_me: failed program was:" >&5
47364 sed 's/^/| /' conftest.$ac_ext >&5
47366 eval "$as_ac_var=no"
47368 rm -f conftest.err conftest.$ac_objext \
47369 conftest$ac_exeext conftest.$ac_ext
47371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47373 if test `eval echo '${'$as_ac_var'}'` = yes; then
47374 cat >>confdefs.h <<_ACEOF
47375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47376 _ACEOF
47379 done
47389 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47390 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47391 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47392 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47393 echo $ECHO_N "(cached) $ECHO_C" >&6
47394 else
47398 ac_ext=cc
47399 ac_cpp='$CXXCPP $CPPFLAGS'
47400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47404 cat >conftest.$ac_ext <<_ACEOF
47405 /* confdefs.h. */
47406 _ACEOF
47407 cat confdefs.h >>conftest.$ac_ext
47408 cat >>conftest.$ac_ext <<_ACEOF
47409 /* end confdefs.h. */
47410 #include <math.h>
47412 main ()
47414 fmodf(0, 0);
47416 return 0;
47418 _ACEOF
47419 rm -f conftest.$ac_objext
47420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47421 (eval $ac_compile) 2>conftest.er1
47422 ac_status=$?
47423 grep -v '^ *+' conftest.er1 >conftest.err
47424 rm -f conftest.er1
47425 cat conftest.err >&5
47426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47427 (exit $ac_status); } &&
47428 { ac_try='test -z "$ac_cxx_werror_flag"
47429 || test ! -s conftest.err'
47430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47431 (eval $ac_try) 2>&5
47432 ac_status=$?
47433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47434 (exit $ac_status); }; } &&
47435 { ac_try='test -s conftest.$ac_objext'
47436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47437 (eval $ac_try) 2>&5
47438 ac_status=$?
47439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47440 (exit $ac_status); }; }; then
47441 glibcxx_cv_func_fmodf_use=yes
47442 else
47443 echo "$as_me: failed program was:" >&5
47444 sed 's/^/| /' conftest.$ac_ext >&5
47446 glibcxx_cv_func_fmodf_use=no
47448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47449 ac_ext=c
47450 ac_cpp='$CPP $CPPFLAGS'
47451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47460 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47462 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47464 for ac_func in fmodf
47466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47467 echo "$as_me:$LINENO: checking for $ac_func" >&5
47468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47469 if eval "test \"\${$as_ac_var+set}\" = set"; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 else
47472 if test x$gcc_no_link = xyes; then
47473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47475 { (exit 1); exit 1; }; }
47477 cat >conftest.$ac_ext <<_ACEOF
47478 /* confdefs.h. */
47479 _ACEOF
47480 cat confdefs.h >>conftest.$ac_ext
47481 cat >>conftest.$ac_ext <<_ACEOF
47482 /* end confdefs.h. */
47483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47485 #define $ac_func innocuous_$ac_func
47487 /* System header to define __stub macros and hopefully few prototypes,
47488 which can conflict with char $ac_func (); below.
47489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47490 <limits.h> exists even on freestanding compilers. */
47492 #ifdef __STDC__
47493 # include <limits.h>
47494 #else
47495 # include <assert.h>
47496 #endif
47498 #undef $ac_func
47500 /* Override any gcc2 internal prototype to avoid an error. */
47501 #ifdef __cplusplus
47502 extern "C"
47504 #endif
47505 /* We use char because int might match the return type of a gcc2
47506 builtin and then its argument prototype would still apply. */
47507 char $ac_func ();
47508 /* The GNU C library defines this for functions which it implements
47509 to always fail with ENOSYS. Some functions are actually named
47510 something starting with __ and the normal name is an alias. */
47511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47512 choke me
47513 #else
47514 char (*f) () = $ac_func;
47515 #endif
47516 #ifdef __cplusplus
47518 #endif
47521 main ()
47523 return f != $ac_func;
47525 return 0;
47527 _ACEOF
47528 rm -f conftest.$ac_objext conftest$ac_exeext
47529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47530 (eval $ac_link) 2>conftest.er1
47531 ac_status=$?
47532 grep -v '^ *+' conftest.er1 >conftest.err
47533 rm -f conftest.er1
47534 cat conftest.err >&5
47535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47536 (exit $ac_status); } &&
47537 { ac_try='test -z "$ac_c_werror_flag"
47538 || test ! -s conftest.err'
47539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47540 (eval $ac_try) 2>&5
47541 ac_status=$?
47542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543 (exit $ac_status); }; } &&
47544 { ac_try='test -s conftest$ac_exeext'
47545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47546 (eval $ac_try) 2>&5
47547 ac_status=$?
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); }; }; then
47550 eval "$as_ac_var=yes"
47551 else
47552 echo "$as_me: failed program was:" >&5
47553 sed 's/^/| /' conftest.$ac_ext >&5
47555 eval "$as_ac_var=no"
47557 rm -f conftest.err conftest.$ac_objext \
47558 conftest$ac_exeext conftest.$ac_ext
47560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47562 if test `eval echo '${'$as_ac_var'}'` = yes; then
47563 cat >>confdefs.h <<_ACEOF
47564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47565 _ACEOF
47568 done
47570 else
47572 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47573 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47574 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47575 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47576 echo $ECHO_N "(cached) $ECHO_C" >&6
47577 else
47581 ac_ext=cc
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587 cat >conftest.$ac_ext <<_ACEOF
47588 /* confdefs.h. */
47589 _ACEOF
47590 cat confdefs.h >>conftest.$ac_ext
47591 cat >>conftest.$ac_ext <<_ACEOF
47592 /* end confdefs.h. */
47593 #include <math.h>
47595 main ()
47597 _fmodf(0, 0);
47599 return 0;
47601 _ACEOF
47602 rm -f conftest.$ac_objext
47603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47604 (eval $ac_compile) 2>conftest.er1
47605 ac_status=$?
47606 grep -v '^ *+' conftest.er1 >conftest.err
47607 rm -f conftest.er1
47608 cat conftest.err >&5
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); } &&
47611 { ac_try='test -z "$ac_cxx_werror_flag"
47612 || test ! -s conftest.err'
47613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47614 (eval $ac_try) 2>&5
47615 ac_status=$?
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); }; } &&
47618 { ac_try='test -s conftest.$ac_objext'
47619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47620 (eval $ac_try) 2>&5
47621 ac_status=$?
47622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47623 (exit $ac_status); }; }; then
47624 glibcxx_cv_func__fmodf_use=yes
47625 else
47626 echo "$as_me: failed program was:" >&5
47627 sed 's/^/| /' conftest.$ac_ext >&5
47629 glibcxx_cv_func__fmodf_use=no
47631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47632 ac_ext=c
47633 ac_cpp='$CPP $CPPFLAGS'
47634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47642 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47643 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47645 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47647 for ac_func in _fmodf
47649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47650 echo "$as_me:$LINENO: checking for $ac_func" >&5
47651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47652 if eval "test \"\${$as_ac_var+set}\" = set"; then
47653 echo $ECHO_N "(cached) $ECHO_C" >&6
47654 else
47655 if test x$gcc_no_link = xyes; then
47656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47658 { (exit 1); exit 1; }; }
47660 cat >conftest.$ac_ext <<_ACEOF
47661 /* confdefs.h. */
47662 _ACEOF
47663 cat confdefs.h >>conftest.$ac_ext
47664 cat >>conftest.$ac_ext <<_ACEOF
47665 /* end confdefs.h. */
47666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47668 #define $ac_func innocuous_$ac_func
47670 /* System header to define __stub macros and hopefully few prototypes,
47671 which can conflict with char $ac_func (); below.
47672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47673 <limits.h> exists even on freestanding compilers. */
47675 #ifdef __STDC__
47676 # include <limits.h>
47677 #else
47678 # include <assert.h>
47679 #endif
47681 #undef $ac_func
47683 /* Override any gcc2 internal prototype to avoid an error. */
47684 #ifdef __cplusplus
47685 extern "C"
47687 #endif
47688 /* We use char because int might match the return type of a gcc2
47689 builtin and then its argument prototype would still apply. */
47690 char $ac_func ();
47691 /* The GNU C library defines this for functions which it implements
47692 to always fail with ENOSYS. Some functions are actually named
47693 something starting with __ and the normal name is an alias. */
47694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47695 choke me
47696 #else
47697 char (*f) () = $ac_func;
47698 #endif
47699 #ifdef __cplusplus
47701 #endif
47704 main ()
47706 return f != $ac_func;
47708 return 0;
47710 _ACEOF
47711 rm -f conftest.$ac_objext conftest$ac_exeext
47712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47713 (eval $ac_link) 2>conftest.er1
47714 ac_status=$?
47715 grep -v '^ *+' conftest.er1 >conftest.err
47716 rm -f conftest.er1
47717 cat conftest.err >&5
47718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47719 (exit $ac_status); } &&
47720 { ac_try='test -z "$ac_c_werror_flag"
47721 || test ! -s conftest.err'
47722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47723 (eval $ac_try) 2>&5
47724 ac_status=$?
47725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47726 (exit $ac_status); }; } &&
47727 { ac_try='test -s conftest$ac_exeext'
47728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47729 (eval $ac_try) 2>&5
47730 ac_status=$?
47731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47732 (exit $ac_status); }; }; then
47733 eval "$as_ac_var=yes"
47734 else
47735 echo "$as_me: failed program was:" >&5
47736 sed 's/^/| /' conftest.$ac_ext >&5
47738 eval "$as_ac_var=no"
47740 rm -f conftest.err conftest.$ac_objext \
47741 conftest$ac_exeext conftest.$ac_ext
47743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47745 if test `eval echo '${'$as_ac_var'}'` = yes; then
47746 cat >>confdefs.h <<_ACEOF
47747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47748 _ACEOF
47751 done
47761 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
47762 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
47763 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47764 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
47765 echo $ECHO_N "(cached) $ECHO_C" >&6
47766 else
47770 ac_ext=cc
47771 ac_cpp='$CXXCPP $CPPFLAGS'
47772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47776 cat >conftest.$ac_ext <<_ACEOF
47777 /* confdefs.h. */
47778 _ACEOF
47779 cat confdefs.h >>conftest.$ac_ext
47780 cat >>conftest.$ac_ext <<_ACEOF
47781 /* end confdefs.h. */
47782 #include <math.h>
47784 main ()
47786 frexpf(0, 0);
47788 return 0;
47790 _ACEOF
47791 rm -f conftest.$ac_objext
47792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47793 (eval $ac_compile) 2>conftest.er1
47794 ac_status=$?
47795 grep -v '^ *+' conftest.er1 >conftest.err
47796 rm -f conftest.er1
47797 cat conftest.err >&5
47798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47799 (exit $ac_status); } &&
47800 { ac_try='test -z "$ac_cxx_werror_flag"
47801 || test ! -s conftest.err'
47802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47803 (eval $ac_try) 2>&5
47804 ac_status=$?
47805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47806 (exit $ac_status); }; } &&
47807 { ac_try='test -s conftest.$ac_objext'
47808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47809 (eval $ac_try) 2>&5
47810 ac_status=$?
47811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47812 (exit $ac_status); }; }; then
47813 glibcxx_cv_func_frexpf_use=yes
47814 else
47815 echo "$as_me: failed program was:" >&5
47816 sed 's/^/| /' conftest.$ac_ext >&5
47818 glibcxx_cv_func_frexpf_use=no
47820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47821 ac_ext=c
47822 ac_cpp='$CPP $CPPFLAGS'
47823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
47832 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
47834 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47836 for ac_func in frexpf
47838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47839 echo "$as_me:$LINENO: checking for $ac_func" >&5
47840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47841 if eval "test \"\${$as_ac_var+set}\" = set"; then
47842 echo $ECHO_N "(cached) $ECHO_C" >&6
47843 else
47844 if test x$gcc_no_link = xyes; then
47845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47847 { (exit 1); exit 1; }; }
47849 cat >conftest.$ac_ext <<_ACEOF
47850 /* confdefs.h. */
47851 _ACEOF
47852 cat confdefs.h >>conftest.$ac_ext
47853 cat >>conftest.$ac_ext <<_ACEOF
47854 /* end confdefs.h. */
47855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47857 #define $ac_func innocuous_$ac_func
47859 /* System header to define __stub macros and hopefully few prototypes,
47860 which can conflict with char $ac_func (); below.
47861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47862 <limits.h> exists even on freestanding compilers. */
47864 #ifdef __STDC__
47865 # include <limits.h>
47866 #else
47867 # include <assert.h>
47868 #endif
47870 #undef $ac_func
47872 /* Override any gcc2 internal prototype to avoid an error. */
47873 #ifdef __cplusplus
47874 extern "C"
47876 #endif
47877 /* We use char because int might match the return type of a gcc2
47878 builtin and then its argument prototype would still apply. */
47879 char $ac_func ();
47880 /* The GNU C library defines this for functions which it implements
47881 to always fail with ENOSYS. Some functions are actually named
47882 something starting with __ and the normal name is an alias. */
47883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47884 choke me
47885 #else
47886 char (*f) () = $ac_func;
47887 #endif
47888 #ifdef __cplusplus
47890 #endif
47893 main ()
47895 return f != $ac_func;
47897 return 0;
47899 _ACEOF
47900 rm -f conftest.$ac_objext conftest$ac_exeext
47901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47902 (eval $ac_link) 2>conftest.er1
47903 ac_status=$?
47904 grep -v '^ *+' conftest.er1 >conftest.err
47905 rm -f conftest.er1
47906 cat conftest.err >&5
47907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47908 (exit $ac_status); } &&
47909 { ac_try='test -z "$ac_c_werror_flag"
47910 || test ! -s conftest.err'
47911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47912 (eval $ac_try) 2>&5
47913 ac_status=$?
47914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47915 (exit $ac_status); }; } &&
47916 { ac_try='test -s conftest$ac_exeext'
47917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47918 (eval $ac_try) 2>&5
47919 ac_status=$?
47920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47921 (exit $ac_status); }; }; then
47922 eval "$as_ac_var=yes"
47923 else
47924 echo "$as_me: failed program was:" >&5
47925 sed 's/^/| /' conftest.$ac_ext >&5
47927 eval "$as_ac_var=no"
47929 rm -f conftest.err conftest.$ac_objext \
47930 conftest$ac_exeext conftest.$ac_ext
47932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47934 if test `eval echo '${'$as_ac_var'}'` = yes; then
47935 cat >>confdefs.h <<_ACEOF
47936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47937 _ACEOF
47940 done
47942 else
47944 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
47945 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
47946 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47947 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
47948 echo $ECHO_N "(cached) $ECHO_C" >&6
47949 else
47953 ac_ext=cc
47954 ac_cpp='$CXXCPP $CPPFLAGS'
47955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47959 cat >conftest.$ac_ext <<_ACEOF
47960 /* confdefs.h. */
47961 _ACEOF
47962 cat confdefs.h >>conftest.$ac_ext
47963 cat >>conftest.$ac_ext <<_ACEOF
47964 /* end confdefs.h. */
47965 #include <math.h>
47967 main ()
47969 _frexpf(0, 0);
47971 return 0;
47973 _ACEOF
47974 rm -f conftest.$ac_objext
47975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47976 (eval $ac_compile) 2>conftest.er1
47977 ac_status=$?
47978 grep -v '^ *+' conftest.er1 >conftest.err
47979 rm -f conftest.er1
47980 cat conftest.err >&5
47981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47982 (exit $ac_status); } &&
47983 { ac_try='test -z "$ac_cxx_werror_flag"
47984 || test ! -s conftest.err'
47985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47986 (eval $ac_try) 2>&5
47987 ac_status=$?
47988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989 (exit $ac_status); }; } &&
47990 { ac_try='test -s conftest.$ac_objext'
47991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992 (eval $ac_try) 2>&5
47993 ac_status=$?
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); }; }; then
47996 glibcxx_cv_func__frexpf_use=yes
47997 else
47998 echo "$as_me: failed program was:" >&5
47999 sed 's/^/| /' conftest.$ac_ext >&5
48001 glibcxx_cv_func__frexpf_use=no
48003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48004 ac_ext=c
48005 ac_cpp='$CPP $CPPFLAGS'
48006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48015 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48017 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48019 for ac_func in _frexpf
48021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48022 echo "$as_me:$LINENO: checking for $ac_func" >&5
48023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48024 if eval "test \"\${$as_ac_var+set}\" = set"; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48026 else
48027 if test x$gcc_no_link = xyes; then
48028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48030 { (exit 1); exit 1; }; }
48032 cat >conftest.$ac_ext <<_ACEOF
48033 /* confdefs.h. */
48034 _ACEOF
48035 cat confdefs.h >>conftest.$ac_ext
48036 cat >>conftest.$ac_ext <<_ACEOF
48037 /* end confdefs.h. */
48038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48040 #define $ac_func innocuous_$ac_func
48042 /* System header to define __stub macros and hopefully few prototypes,
48043 which can conflict with char $ac_func (); below.
48044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48045 <limits.h> exists even on freestanding compilers. */
48047 #ifdef __STDC__
48048 # include <limits.h>
48049 #else
48050 # include <assert.h>
48051 #endif
48053 #undef $ac_func
48055 /* Override any gcc2 internal prototype to avoid an error. */
48056 #ifdef __cplusplus
48057 extern "C"
48059 #endif
48060 /* We use char because int might match the return type of a gcc2
48061 builtin and then its argument prototype would still apply. */
48062 char $ac_func ();
48063 /* The GNU C library defines this for functions which it implements
48064 to always fail with ENOSYS. Some functions are actually named
48065 something starting with __ and the normal name is an alias. */
48066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48067 choke me
48068 #else
48069 char (*f) () = $ac_func;
48070 #endif
48071 #ifdef __cplusplus
48073 #endif
48076 main ()
48078 return f != $ac_func;
48080 return 0;
48082 _ACEOF
48083 rm -f conftest.$ac_objext conftest$ac_exeext
48084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48085 (eval $ac_link) 2>conftest.er1
48086 ac_status=$?
48087 grep -v '^ *+' conftest.er1 >conftest.err
48088 rm -f conftest.er1
48089 cat conftest.err >&5
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); } &&
48092 { ac_try='test -z "$ac_c_werror_flag"
48093 || test ! -s conftest.err'
48094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48095 (eval $ac_try) 2>&5
48096 ac_status=$?
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); }; } &&
48099 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48105 eval "$as_ac_var=yes"
48106 else
48107 echo "$as_me: failed program was:" >&5
48108 sed 's/^/| /' conftest.$ac_ext >&5
48110 eval "$as_ac_var=no"
48112 rm -f conftest.err conftest.$ac_objext \
48113 conftest$ac_exeext conftest.$ac_ext
48115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48117 if test `eval echo '${'$as_ac_var'}'` = yes; then
48118 cat >>confdefs.h <<_ACEOF
48119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48120 _ACEOF
48123 done
48133 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48134 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48135 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48136 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48137 echo $ECHO_N "(cached) $ECHO_C" >&6
48138 else
48142 ac_ext=cc
48143 ac_cpp='$CXXCPP $CPPFLAGS'
48144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48148 cat >conftest.$ac_ext <<_ACEOF
48149 /* confdefs.h. */
48150 _ACEOF
48151 cat confdefs.h >>conftest.$ac_ext
48152 cat >>conftest.$ac_ext <<_ACEOF
48153 /* end confdefs.h. */
48154 #include <math.h>
48156 main ()
48158 hypotf(0, 0);
48160 return 0;
48162 _ACEOF
48163 rm -f conftest.$ac_objext
48164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48165 (eval $ac_compile) 2>conftest.er1
48166 ac_status=$?
48167 grep -v '^ *+' conftest.er1 >conftest.err
48168 rm -f conftest.er1
48169 cat conftest.err >&5
48170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48171 (exit $ac_status); } &&
48172 { ac_try='test -z "$ac_cxx_werror_flag"
48173 || test ! -s conftest.err'
48174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48175 (eval $ac_try) 2>&5
48176 ac_status=$?
48177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178 (exit $ac_status); }; } &&
48179 { ac_try='test -s conftest.$ac_objext'
48180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48181 (eval $ac_try) 2>&5
48182 ac_status=$?
48183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184 (exit $ac_status); }; }; then
48185 glibcxx_cv_func_hypotf_use=yes
48186 else
48187 echo "$as_me: failed program was:" >&5
48188 sed 's/^/| /' conftest.$ac_ext >&5
48190 glibcxx_cv_func_hypotf_use=no
48192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48193 ac_ext=c
48194 ac_cpp='$CPP $CPPFLAGS'
48195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48204 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48206 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48208 for ac_func in hypotf
48210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48211 echo "$as_me:$LINENO: checking for $ac_func" >&5
48212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48213 if eval "test \"\${$as_ac_var+set}\" = set"; then
48214 echo $ECHO_N "(cached) $ECHO_C" >&6
48215 else
48216 if test x$gcc_no_link = xyes; then
48217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48219 { (exit 1); exit 1; }; }
48221 cat >conftest.$ac_ext <<_ACEOF
48222 /* confdefs.h. */
48223 _ACEOF
48224 cat confdefs.h >>conftest.$ac_ext
48225 cat >>conftest.$ac_ext <<_ACEOF
48226 /* end confdefs.h. */
48227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48229 #define $ac_func innocuous_$ac_func
48231 /* System header to define __stub macros and hopefully few prototypes,
48232 which can conflict with char $ac_func (); below.
48233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48234 <limits.h> exists even on freestanding compilers. */
48236 #ifdef __STDC__
48237 # include <limits.h>
48238 #else
48239 # include <assert.h>
48240 #endif
48242 #undef $ac_func
48244 /* Override any gcc2 internal prototype to avoid an error. */
48245 #ifdef __cplusplus
48246 extern "C"
48248 #endif
48249 /* We use char because int might match the return type of a gcc2
48250 builtin and then its argument prototype would still apply. */
48251 char $ac_func ();
48252 /* The GNU C library defines this for functions which it implements
48253 to always fail with ENOSYS. Some functions are actually named
48254 something starting with __ and the normal name is an alias. */
48255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48256 choke me
48257 #else
48258 char (*f) () = $ac_func;
48259 #endif
48260 #ifdef __cplusplus
48262 #endif
48265 main ()
48267 return f != $ac_func;
48269 return 0;
48271 _ACEOF
48272 rm -f conftest.$ac_objext conftest$ac_exeext
48273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48274 (eval $ac_link) 2>conftest.er1
48275 ac_status=$?
48276 grep -v '^ *+' conftest.er1 >conftest.err
48277 rm -f conftest.er1
48278 cat conftest.err >&5
48279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48280 (exit $ac_status); } &&
48281 { ac_try='test -z "$ac_c_werror_flag"
48282 || test ! -s conftest.err'
48283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48284 (eval $ac_try) 2>&5
48285 ac_status=$?
48286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48287 (exit $ac_status); }; } &&
48288 { ac_try='test -s conftest$ac_exeext'
48289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48290 (eval $ac_try) 2>&5
48291 ac_status=$?
48292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48293 (exit $ac_status); }; }; then
48294 eval "$as_ac_var=yes"
48295 else
48296 echo "$as_me: failed program was:" >&5
48297 sed 's/^/| /' conftest.$ac_ext >&5
48299 eval "$as_ac_var=no"
48301 rm -f conftest.err conftest.$ac_objext \
48302 conftest$ac_exeext conftest.$ac_ext
48304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48306 if test `eval echo '${'$as_ac_var'}'` = yes; then
48307 cat >>confdefs.h <<_ACEOF
48308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48309 _ACEOF
48312 done
48314 else
48316 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48317 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48318 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48319 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48320 echo $ECHO_N "(cached) $ECHO_C" >&6
48321 else
48325 ac_ext=cc
48326 ac_cpp='$CXXCPP $CPPFLAGS'
48327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48331 cat >conftest.$ac_ext <<_ACEOF
48332 /* confdefs.h. */
48333 _ACEOF
48334 cat confdefs.h >>conftest.$ac_ext
48335 cat >>conftest.$ac_ext <<_ACEOF
48336 /* end confdefs.h. */
48337 #include <math.h>
48339 main ()
48341 _hypotf(0, 0);
48343 return 0;
48345 _ACEOF
48346 rm -f conftest.$ac_objext
48347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48348 (eval $ac_compile) 2>conftest.er1
48349 ac_status=$?
48350 grep -v '^ *+' conftest.er1 >conftest.err
48351 rm -f conftest.er1
48352 cat conftest.err >&5
48353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48354 (exit $ac_status); } &&
48355 { ac_try='test -z "$ac_cxx_werror_flag"
48356 || test ! -s conftest.err'
48357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48358 (eval $ac_try) 2>&5
48359 ac_status=$?
48360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48361 (exit $ac_status); }; } &&
48362 { ac_try='test -s conftest.$ac_objext'
48363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48364 (eval $ac_try) 2>&5
48365 ac_status=$?
48366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48367 (exit $ac_status); }; }; then
48368 glibcxx_cv_func__hypotf_use=yes
48369 else
48370 echo "$as_me: failed program was:" >&5
48371 sed 's/^/| /' conftest.$ac_ext >&5
48373 glibcxx_cv_func__hypotf_use=no
48375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48376 ac_ext=c
48377 ac_cpp='$CPP $CPPFLAGS'
48378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48387 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48389 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48391 for ac_func in _hypotf
48393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48394 echo "$as_me:$LINENO: checking for $ac_func" >&5
48395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48396 if eval "test \"\${$as_ac_var+set}\" = set"; then
48397 echo $ECHO_N "(cached) $ECHO_C" >&6
48398 else
48399 if test x$gcc_no_link = xyes; then
48400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48402 { (exit 1); exit 1; }; }
48404 cat >conftest.$ac_ext <<_ACEOF
48405 /* confdefs.h. */
48406 _ACEOF
48407 cat confdefs.h >>conftest.$ac_ext
48408 cat >>conftest.$ac_ext <<_ACEOF
48409 /* end confdefs.h. */
48410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48412 #define $ac_func innocuous_$ac_func
48414 /* System header to define __stub macros and hopefully few prototypes,
48415 which can conflict with char $ac_func (); below.
48416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48417 <limits.h> exists even on freestanding compilers. */
48419 #ifdef __STDC__
48420 # include <limits.h>
48421 #else
48422 # include <assert.h>
48423 #endif
48425 #undef $ac_func
48427 /* Override any gcc2 internal prototype to avoid an error. */
48428 #ifdef __cplusplus
48429 extern "C"
48431 #endif
48432 /* We use char because int might match the return type of a gcc2
48433 builtin and then its argument prototype would still apply. */
48434 char $ac_func ();
48435 /* The GNU C library defines this for functions which it implements
48436 to always fail with ENOSYS. Some functions are actually named
48437 something starting with __ and the normal name is an alias. */
48438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48439 choke me
48440 #else
48441 char (*f) () = $ac_func;
48442 #endif
48443 #ifdef __cplusplus
48445 #endif
48448 main ()
48450 return f != $ac_func;
48452 return 0;
48454 _ACEOF
48455 rm -f conftest.$ac_objext conftest$ac_exeext
48456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48457 (eval $ac_link) 2>conftest.er1
48458 ac_status=$?
48459 grep -v '^ *+' conftest.er1 >conftest.err
48460 rm -f conftest.er1
48461 cat conftest.err >&5
48462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48463 (exit $ac_status); } &&
48464 { ac_try='test -z "$ac_c_werror_flag"
48465 || test ! -s conftest.err'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; } &&
48471 { ac_try='test -s conftest$ac_exeext'
48472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48473 (eval $ac_try) 2>&5
48474 ac_status=$?
48475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48476 (exit $ac_status); }; }; then
48477 eval "$as_ac_var=yes"
48478 else
48479 echo "$as_me: failed program was:" >&5
48480 sed 's/^/| /' conftest.$ac_ext >&5
48482 eval "$as_ac_var=no"
48484 rm -f conftest.err conftest.$ac_objext \
48485 conftest$ac_exeext conftest.$ac_ext
48487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48489 if test `eval echo '${'$as_ac_var'}'` = yes; then
48490 cat >>confdefs.h <<_ACEOF
48491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48492 _ACEOF
48495 done
48505 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48506 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48507 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48508 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48509 echo $ECHO_N "(cached) $ECHO_C" >&6
48510 else
48514 ac_ext=cc
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48520 cat >conftest.$ac_ext <<_ACEOF
48521 /* confdefs.h. */
48522 _ACEOF
48523 cat confdefs.h >>conftest.$ac_ext
48524 cat >>conftest.$ac_ext <<_ACEOF
48525 /* end confdefs.h. */
48526 #include <math.h>
48528 main ()
48530 ldexpf(0, 0);
48532 return 0;
48534 _ACEOF
48535 rm -f conftest.$ac_objext
48536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48537 (eval $ac_compile) 2>conftest.er1
48538 ac_status=$?
48539 grep -v '^ *+' conftest.er1 >conftest.err
48540 rm -f conftest.er1
48541 cat conftest.err >&5
48542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48543 (exit $ac_status); } &&
48544 { ac_try='test -z "$ac_cxx_werror_flag"
48545 || test ! -s conftest.err'
48546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48547 (eval $ac_try) 2>&5
48548 ac_status=$?
48549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48550 (exit $ac_status); }; } &&
48551 { ac_try='test -s conftest.$ac_objext'
48552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48553 (eval $ac_try) 2>&5
48554 ac_status=$?
48555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48556 (exit $ac_status); }; }; then
48557 glibcxx_cv_func_ldexpf_use=yes
48558 else
48559 echo "$as_me: failed program was:" >&5
48560 sed 's/^/| /' conftest.$ac_ext >&5
48562 glibcxx_cv_func_ldexpf_use=no
48564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48565 ac_ext=c
48566 ac_cpp='$CPP $CPPFLAGS'
48567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48576 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48578 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48580 for ac_func in ldexpf
48582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48583 echo "$as_me:$LINENO: checking for $ac_func" >&5
48584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48585 if eval "test \"\${$as_ac_var+set}\" = set"; then
48586 echo $ECHO_N "(cached) $ECHO_C" >&6
48587 else
48588 if test x$gcc_no_link = xyes; then
48589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48591 { (exit 1); exit 1; }; }
48593 cat >conftest.$ac_ext <<_ACEOF
48594 /* confdefs.h. */
48595 _ACEOF
48596 cat confdefs.h >>conftest.$ac_ext
48597 cat >>conftest.$ac_ext <<_ACEOF
48598 /* end confdefs.h. */
48599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48601 #define $ac_func innocuous_$ac_func
48603 /* System header to define __stub macros and hopefully few prototypes,
48604 which can conflict with char $ac_func (); below.
48605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48606 <limits.h> exists even on freestanding compilers. */
48608 #ifdef __STDC__
48609 # include <limits.h>
48610 #else
48611 # include <assert.h>
48612 #endif
48614 #undef $ac_func
48616 /* Override any gcc2 internal prototype to avoid an error. */
48617 #ifdef __cplusplus
48618 extern "C"
48620 #endif
48621 /* We use char because int might match the return type of a gcc2
48622 builtin and then its argument prototype would still apply. */
48623 char $ac_func ();
48624 /* The GNU C library defines this for functions which it implements
48625 to always fail with ENOSYS. Some functions are actually named
48626 something starting with __ and the normal name is an alias. */
48627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48628 choke me
48629 #else
48630 char (*f) () = $ac_func;
48631 #endif
48632 #ifdef __cplusplus
48634 #endif
48637 main ()
48639 return f != $ac_func;
48641 return 0;
48643 _ACEOF
48644 rm -f conftest.$ac_objext conftest$ac_exeext
48645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48646 (eval $ac_link) 2>conftest.er1
48647 ac_status=$?
48648 grep -v '^ *+' conftest.er1 >conftest.err
48649 rm -f conftest.er1
48650 cat conftest.err >&5
48651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48652 (exit $ac_status); } &&
48653 { ac_try='test -z "$ac_c_werror_flag"
48654 || test ! -s conftest.err'
48655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48656 (eval $ac_try) 2>&5
48657 ac_status=$?
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); }; } &&
48660 { ac_try='test -s conftest$ac_exeext'
48661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48662 (eval $ac_try) 2>&5
48663 ac_status=$?
48664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48665 (exit $ac_status); }; }; then
48666 eval "$as_ac_var=yes"
48667 else
48668 echo "$as_me: failed program was:" >&5
48669 sed 's/^/| /' conftest.$ac_ext >&5
48671 eval "$as_ac_var=no"
48673 rm -f conftest.err conftest.$ac_objext \
48674 conftest$ac_exeext conftest.$ac_ext
48676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48678 if test `eval echo '${'$as_ac_var'}'` = yes; then
48679 cat >>confdefs.h <<_ACEOF
48680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48681 _ACEOF
48684 done
48686 else
48688 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48689 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48690 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48691 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48692 echo $ECHO_N "(cached) $ECHO_C" >&6
48693 else
48697 ac_ext=cc
48698 ac_cpp='$CXXCPP $CPPFLAGS'
48699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48703 cat >conftest.$ac_ext <<_ACEOF
48704 /* confdefs.h. */
48705 _ACEOF
48706 cat confdefs.h >>conftest.$ac_ext
48707 cat >>conftest.$ac_ext <<_ACEOF
48708 /* end confdefs.h. */
48709 #include <math.h>
48711 main ()
48713 _ldexpf(0, 0);
48715 return 0;
48717 _ACEOF
48718 rm -f conftest.$ac_objext
48719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48720 (eval $ac_compile) 2>conftest.er1
48721 ac_status=$?
48722 grep -v '^ *+' conftest.er1 >conftest.err
48723 rm -f conftest.er1
48724 cat conftest.err >&5
48725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726 (exit $ac_status); } &&
48727 { ac_try='test -z "$ac_cxx_werror_flag"
48728 || test ! -s conftest.err'
48729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48730 (eval $ac_try) 2>&5
48731 ac_status=$?
48732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48733 (exit $ac_status); }; } &&
48734 { ac_try='test -s conftest.$ac_objext'
48735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48736 (eval $ac_try) 2>&5
48737 ac_status=$?
48738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48739 (exit $ac_status); }; }; then
48740 glibcxx_cv_func__ldexpf_use=yes
48741 else
48742 echo "$as_me: failed program was:" >&5
48743 sed 's/^/| /' conftest.$ac_ext >&5
48745 glibcxx_cv_func__ldexpf_use=no
48747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48748 ac_ext=c
48749 ac_cpp='$CPP $CPPFLAGS'
48750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
48759 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
48761 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48763 for ac_func in _ldexpf
48765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48766 echo "$as_me:$LINENO: checking for $ac_func" >&5
48767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48768 if eval "test \"\${$as_ac_var+set}\" = set"; then
48769 echo $ECHO_N "(cached) $ECHO_C" >&6
48770 else
48771 if test x$gcc_no_link = xyes; then
48772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48774 { (exit 1); exit 1; }; }
48776 cat >conftest.$ac_ext <<_ACEOF
48777 /* confdefs.h. */
48778 _ACEOF
48779 cat confdefs.h >>conftest.$ac_ext
48780 cat >>conftest.$ac_ext <<_ACEOF
48781 /* end confdefs.h. */
48782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48784 #define $ac_func innocuous_$ac_func
48786 /* System header to define __stub macros and hopefully few prototypes,
48787 which can conflict with char $ac_func (); below.
48788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48789 <limits.h> exists even on freestanding compilers. */
48791 #ifdef __STDC__
48792 # include <limits.h>
48793 #else
48794 # include <assert.h>
48795 #endif
48797 #undef $ac_func
48799 /* Override any gcc2 internal prototype to avoid an error. */
48800 #ifdef __cplusplus
48801 extern "C"
48803 #endif
48804 /* We use char because int might match the return type of a gcc2
48805 builtin and then its argument prototype would still apply. */
48806 char $ac_func ();
48807 /* The GNU C library defines this for functions which it implements
48808 to always fail with ENOSYS. Some functions are actually named
48809 something starting with __ and the normal name is an alias. */
48810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48811 choke me
48812 #else
48813 char (*f) () = $ac_func;
48814 #endif
48815 #ifdef __cplusplus
48817 #endif
48820 main ()
48822 return f != $ac_func;
48824 return 0;
48826 _ACEOF
48827 rm -f conftest.$ac_objext conftest$ac_exeext
48828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48829 (eval $ac_link) 2>conftest.er1
48830 ac_status=$?
48831 grep -v '^ *+' conftest.er1 >conftest.err
48832 rm -f conftest.er1
48833 cat conftest.err >&5
48834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48835 (exit $ac_status); } &&
48836 { ac_try='test -z "$ac_c_werror_flag"
48837 || test ! -s conftest.err'
48838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48839 (eval $ac_try) 2>&5
48840 ac_status=$?
48841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48842 (exit $ac_status); }; } &&
48843 { ac_try='test -s conftest$ac_exeext'
48844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48845 (eval $ac_try) 2>&5
48846 ac_status=$?
48847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48848 (exit $ac_status); }; }; then
48849 eval "$as_ac_var=yes"
48850 else
48851 echo "$as_me: failed program was:" >&5
48852 sed 's/^/| /' conftest.$ac_ext >&5
48854 eval "$as_ac_var=no"
48856 rm -f conftest.err conftest.$ac_objext \
48857 conftest$ac_exeext conftest.$ac_ext
48859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48861 if test `eval echo '${'$as_ac_var'}'` = yes; then
48862 cat >>confdefs.h <<_ACEOF
48863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48864 _ACEOF
48867 done
48877 echo "$as_me:$LINENO: checking for logf declaration" >&5
48878 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
48879 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48880 if test "${glibcxx_cv_func_logf_use+set}" = set; then
48881 echo $ECHO_N "(cached) $ECHO_C" >&6
48882 else
48886 ac_ext=cc
48887 ac_cpp='$CXXCPP $CPPFLAGS'
48888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48892 cat >conftest.$ac_ext <<_ACEOF
48893 /* confdefs.h. */
48894 _ACEOF
48895 cat confdefs.h >>conftest.$ac_ext
48896 cat >>conftest.$ac_ext <<_ACEOF
48897 /* end confdefs.h. */
48898 #include <math.h>
48899 #ifdef HAVE_IEEEFP_H
48900 #include <ieeefp.h>
48901 #endif
48904 main ()
48906 logf(0);
48908 return 0;
48910 _ACEOF
48911 rm -f conftest.$ac_objext
48912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48913 (eval $ac_compile) 2>conftest.er1
48914 ac_status=$?
48915 grep -v '^ *+' conftest.er1 >conftest.err
48916 rm -f conftest.er1
48917 cat conftest.err >&5
48918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48919 (exit $ac_status); } &&
48920 { ac_try='test -z "$ac_cxx_werror_flag"
48921 || test ! -s conftest.err'
48922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48923 (eval $ac_try) 2>&5
48924 ac_status=$?
48925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48926 (exit $ac_status); }; } &&
48927 { ac_try='test -s conftest.$ac_objext'
48928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48929 (eval $ac_try) 2>&5
48930 ac_status=$?
48931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932 (exit $ac_status); }; }; then
48933 glibcxx_cv_func_logf_use=yes
48934 else
48935 echo "$as_me: failed program was:" >&5
48936 sed 's/^/| /' conftest.$ac_ext >&5
48938 glibcxx_cv_func_logf_use=no
48940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48941 ac_ext=c
48942 ac_cpp='$CPP $CPPFLAGS'
48943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
48952 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
48954 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48956 for ac_func in logf
48958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48959 echo "$as_me:$LINENO: checking for $ac_func" >&5
48960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48961 if eval "test \"\${$as_ac_var+set}\" = set"; then
48962 echo $ECHO_N "(cached) $ECHO_C" >&6
48963 else
48964 if test x$gcc_no_link = xyes; then
48965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48967 { (exit 1); exit 1; }; }
48969 cat >conftest.$ac_ext <<_ACEOF
48970 /* confdefs.h. */
48971 _ACEOF
48972 cat confdefs.h >>conftest.$ac_ext
48973 cat >>conftest.$ac_ext <<_ACEOF
48974 /* end confdefs.h. */
48975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48977 #define $ac_func innocuous_$ac_func
48979 /* System header to define __stub macros and hopefully few prototypes,
48980 which can conflict with char $ac_func (); below.
48981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48982 <limits.h> exists even on freestanding compilers. */
48984 #ifdef __STDC__
48985 # include <limits.h>
48986 #else
48987 # include <assert.h>
48988 #endif
48990 #undef $ac_func
48992 /* Override any gcc2 internal prototype to avoid an error. */
48993 #ifdef __cplusplus
48994 extern "C"
48996 #endif
48997 /* We use char because int might match the return type of a gcc2
48998 builtin and then its argument prototype would still apply. */
48999 char $ac_func ();
49000 /* The GNU C library defines this for functions which it implements
49001 to always fail with ENOSYS. Some functions are actually named
49002 something starting with __ and the normal name is an alias. */
49003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49004 choke me
49005 #else
49006 char (*f) () = $ac_func;
49007 #endif
49008 #ifdef __cplusplus
49010 #endif
49013 main ()
49015 return f != $ac_func;
49017 return 0;
49019 _ACEOF
49020 rm -f conftest.$ac_objext conftest$ac_exeext
49021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49022 (eval $ac_link) 2>conftest.er1
49023 ac_status=$?
49024 grep -v '^ *+' conftest.er1 >conftest.err
49025 rm -f conftest.er1
49026 cat conftest.err >&5
49027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49028 (exit $ac_status); } &&
49029 { ac_try='test -z "$ac_c_werror_flag"
49030 || test ! -s conftest.err'
49031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49032 (eval $ac_try) 2>&5
49033 ac_status=$?
49034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49035 (exit $ac_status); }; } &&
49036 { ac_try='test -s conftest$ac_exeext'
49037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49038 (eval $ac_try) 2>&5
49039 ac_status=$?
49040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041 (exit $ac_status); }; }; then
49042 eval "$as_ac_var=yes"
49043 else
49044 echo "$as_me: failed program was:" >&5
49045 sed 's/^/| /' conftest.$ac_ext >&5
49047 eval "$as_ac_var=no"
49049 rm -f conftest.err conftest.$ac_objext \
49050 conftest$ac_exeext conftest.$ac_ext
49052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49054 if test `eval echo '${'$as_ac_var'}'` = yes; then
49055 cat >>confdefs.h <<_ACEOF
49056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49057 _ACEOF
49060 done
49062 else
49064 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49065 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49066 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49068 echo $ECHO_N "(cached) $ECHO_C" >&6
49069 else
49073 ac_ext=cc
49074 ac_cpp='$CXXCPP $CPPFLAGS'
49075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49079 cat >conftest.$ac_ext <<_ACEOF
49080 /* confdefs.h. */
49081 _ACEOF
49082 cat confdefs.h >>conftest.$ac_ext
49083 cat >>conftest.$ac_ext <<_ACEOF
49084 /* end confdefs.h. */
49085 #include <math.h>
49086 #ifdef HAVE_IEEEFP_H
49087 #include <ieeefp.h>
49088 #endif
49091 main ()
49093 _logf(0);
49095 return 0;
49097 _ACEOF
49098 rm -f conftest.$ac_objext
49099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49100 (eval $ac_compile) 2>conftest.er1
49101 ac_status=$?
49102 grep -v '^ *+' conftest.er1 >conftest.err
49103 rm -f conftest.er1
49104 cat conftest.err >&5
49105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49106 (exit $ac_status); } &&
49107 { ac_try='test -z "$ac_cxx_werror_flag"
49108 || test ! -s conftest.err'
49109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49110 (eval $ac_try) 2>&5
49111 ac_status=$?
49112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49113 (exit $ac_status); }; } &&
49114 { ac_try='test -s conftest.$ac_objext'
49115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49116 (eval $ac_try) 2>&5
49117 ac_status=$?
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; }; then
49120 glibcxx_cv_func__logf_use=yes
49121 else
49122 echo "$as_me: failed program was:" >&5
49123 sed 's/^/| /' conftest.$ac_ext >&5
49125 glibcxx_cv_func__logf_use=no
49127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49128 ac_ext=c
49129 ac_cpp='$CPP $CPPFLAGS'
49130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49139 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49141 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49143 for ac_func in _logf
49145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49146 echo "$as_me:$LINENO: checking for $ac_func" >&5
49147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49148 if eval "test \"\${$as_ac_var+set}\" = set"; then
49149 echo $ECHO_N "(cached) $ECHO_C" >&6
49150 else
49151 if test x$gcc_no_link = xyes; then
49152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49154 { (exit 1); exit 1; }; }
49156 cat >conftest.$ac_ext <<_ACEOF
49157 /* confdefs.h. */
49158 _ACEOF
49159 cat confdefs.h >>conftest.$ac_ext
49160 cat >>conftest.$ac_ext <<_ACEOF
49161 /* end confdefs.h. */
49162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49164 #define $ac_func innocuous_$ac_func
49166 /* System header to define __stub macros and hopefully few prototypes,
49167 which can conflict with char $ac_func (); below.
49168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49169 <limits.h> exists even on freestanding compilers. */
49171 #ifdef __STDC__
49172 # include <limits.h>
49173 #else
49174 # include <assert.h>
49175 #endif
49177 #undef $ac_func
49179 /* Override any gcc2 internal prototype to avoid an error. */
49180 #ifdef __cplusplus
49181 extern "C"
49183 #endif
49184 /* We use char because int might match the return type of a gcc2
49185 builtin and then its argument prototype would still apply. */
49186 char $ac_func ();
49187 /* The GNU C library defines this for functions which it implements
49188 to always fail with ENOSYS. Some functions are actually named
49189 something starting with __ and the normal name is an alias. */
49190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49191 choke me
49192 #else
49193 char (*f) () = $ac_func;
49194 #endif
49195 #ifdef __cplusplus
49197 #endif
49200 main ()
49202 return f != $ac_func;
49204 return 0;
49206 _ACEOF
49207 rm -f conftest.$ac_objext conftest$ac_exeext
49208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49209 (eval $ac_link) 2>conftest.er1
49210 ac_status=$?
49211 grep -v '^ *+' conftest.er1 >conftest.err
49212 rm -f conftest.er1
49213 cat conftest.err >&5
49214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49215 (exit $ac_status); } &&
49216 { ac_try='test -z "$ac_c_werror_flag"
49217 || test ! -s conftest.err'
49218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49219 (eval $ac_try) 2>&5
49220 ac_status=$?
49221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49222 (exit $ac_status); }; } &&
49223 { ac_try='test -s conftest$ac_exeext'
49224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49225 (eval $ac_try) 2>&5
49226 ac_status=$?
49227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49228 (exit $ac_status); }; }; then
49229 eval "$as_ac_var=yes"
49230 else
49231 echo "$as_me: failed program was:" >&5
49232 sed 's/^/| /' conftest.$ac_ext >&5
49234 eval "$as_ac_var=no"
49236 rm -f conftest.err conftest.$ac_objext \
49237 conftest$ac_exeext conftest.$ac_ext
49239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49241 if test `eval echo '${'$as_ac_var'}'` = yes; then
49242 cat >>confdefs.h <<_ACEOF
49243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49244 _ACEOF
49247 done
49257 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49258 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49259 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49260 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49261 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 else
49266 ac_ext=cc
49267 ac_cpp='$CXXCPP $CPPFLAGS'
49268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49272 cat >conftest.$ac_ext <<_ACEOF
49273 /* confdefs.h. */
49274 _ACEOF
49275 cat confdefs.h >>conftest.$ac_ext
49276 cat >>conftest.$ac_ext <<_ACEOF
49277 /* end confdefs.h. */
49278 #include <math.h>
49279 #ifdef HAVE_IEEEFP_H
49280 #include <ieeefp.h>
49281 #endif
49284 main ()
49286 log10f(0);
49288 return 0;
49290 _ACEOF
49291 rm -f conftest.$ac_objext
49292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49293 (eval $ac_compile) 2>conftest.er1
49294 ac_status=$?
49295 grep -v '^ *+' conftest.er1 >conftest.err
49296 rm -f conftest.er1
49297 cat conftest.err >&5
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); } &&
49300 { ac_try='test -z "$ac_cxx_werror_flag"
49301 || test ! -s conftest.err'
49302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303 (eval $ac_try) 2>&5
49304 ac_status=$?
49305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306 (exit $ac_status); }; } &&
49307 { ac_try='test -s conftest.$ac_objext'
49308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49309 (eval $ac_try) 2>&5
49310 ac_status=$?
49311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49312 (exit $ac_status); }; }; then
49313 glibcxx_cv_func_log10f_use=yes
49314 else
49315 echo "$as_me: failed program was:" >&5
49316 sed 's/^/| /' conftest.$ac_ext >&5
49318 glibcxx_cv_func_log10f_use=no
49320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49321 ac_ext=c
49322 ac_cpp='$CPP $CPPFLAGS'
49323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49332 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49334 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49336 for ac_func in log10f
49338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49339 echo "$as_me:$LINENO: checking for $ac_func" >&5
49340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49341 if eval "test \"\${$as_ac_var+set}\" = set"; then
49342 echo $ECHO_N "(cached) $ECHO_C" >&6
49343 else
49344 if test x$gcc_no_link = xyes; then
49345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49347 { (exit 1); exit 1; }; }
49349 cat >conftest.$ac_ext <<_ACEOF
49350 /* confdefs.h. */
49351 _ACEOF
49352 cat confdefs.h >>conftest.$ac_ext
49353 cat >>conftest.$ac_ext <<_ACEOF
49354 /* end confdefs.h. */
49355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49357 #define $ac_func innocuous_$ac_func
49359 /* System header to define __stub macros and hopefully few prototypes,
49360 which can conflict with char $ac_func (); below.
49361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49362 <limits.h> exists even on freestanding compilers. */
49364 #ifdef __STDC__
49365 # include <limits.h>
49366 #else
49367 # include <assert.h>
49368 #endif
49370 #undef $ac_func
49372 /* Override any gcc2 internal prototype to avoid an error. */
49373 #ifdef __cplusplus
49374 extern "C"
49376 #endif
49377 /* We use char because int might match the return type of a gcc2
49378 builtin and then its argument prototype would still apply. */
49379 char $ac_func ();
49380 /* The GNU C library defines this for functions which it implements
49381 to always fail with ENOSYS. Some functions are actually named
49382 something starting with __ and the normal name is an alias. */
49383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49384 choke me
49385 #else
49386 char (*f) () = $ac_func;
49387 #endif
49388 #ifdef __cplusplus
49390 #endif
49393 main ()
49395 return f != $ac_func;
49397 return 0;
49399 _ACEOF
49400 rm -f conftest.$ac_objext conftest$ac_exeext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49402 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
49423 else
49424 echo "$as_me: failed program was:" >&5
49425 sed 's/^/| /' conftest.$ac_ext >&5
49427 eval "$as_ac_var=no"
49429 rm -f conftest.err conftest.$ac_objext \
49430 conftest$ac_exeext conftest.$ac_ext
49432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49434 if test `eval echo '${'$as_ac_var'}'` = yes; then
49435 cat >>confdefs.h <<_ACEOF
49436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49437 _ACEOF
49440 done
49442 else
49444 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49445 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49446 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49447 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49448 echo $ECHO_N "(cached) $ECHO_C" >&6
49449 else
49453 ac_ext=cc
49454 ac_cpp='$CXXCPP $CPPFLAGS'
49455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49459 cat >conftest.$ac_ext <<_ACEOF
49460 /* confdefs.h. */
49461 _ACEOF
49462 cat confdefs.h >>conftest.$ac_ext
49463 cat >>conftest.$ac_ext <<_ACEOF
49464 /* end confdefs.h. */
49465 #include <math.h>
49466 #ifdef HAVE_IEEEFP_H
49467 #include <ieeefp.h>
49468 #endif
49471 main ()
49473 _log10f(0);
49475 return 0;
49477 _ACEOF
49478 rm -f conftest.$ac_objext
49479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49480 (eval $ac_compile) 2>conftest.er1
49481 ac_status=$?
49482 grep -v '^ *+' conftest.er1 >conftest.err
49483 rm -f conftest.er1
49484 cat conftest.err >&5
49485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49486 (exit $ac_status); } &&
49487 { ac_try='test -z "$ac_cxx_werror_flag"
49488 || test ! -s conftest.err'
49489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49490 (eval $ac_try) 2>&5
49491 ac_status=$?
49492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49493 (exit $ac_status); }; } &&
49494 { ac_try='test -s conftest.$ac_objext'
49495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49496 (eval $ac_try) 2>&5
49497 ac_status=$?
49498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49499 (exit $ac_status); }; }; then
49500 glibcxx_cv_func__log10f_use=yes
49501 else
49502 echo "$as_me: failed program was:" >&5
49503 sed 's/^/| /' conftest.$ac_ext >&5
49505 glibcxx_cv_func__log10f_use=no
49507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49508 ac_ext=c
49509 ac_cpp='$CPP $CPPFLAGS'
49510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49519 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49521 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49523 for ac_func in _log10f
49525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49526 echo "$as_me:$LINENO: checking for $ac_func" >&5
49527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49528 if eval "test \"\${$as_ac_var+set}\" = set"; then
49529 echo $ECHO_N "(cached) $ECHO_C" >&6
49530 else
49531 if test x$gcc_no_link = xyes; then
49532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49534 { (exit 1); exit 1; }; }
49536 cat >conftest.$ac_ext <<_ACEOF
49537 /* confdefs.h. */
49538 _ACEOF
49539 cat confdefs.h >>conftest.$ac_ext
49540 cat >>conftest.$ac_ext <<_ACEOF
49541 /* end confdefs.h. */
49542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49544 #define $ac_func innocuous_$ac_func
49546 /* System header to define __stub macros and hopefully few prototypes,
49547 which can conflict with char $ac_func (); below.
49548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49549 <limits.h> exists even on freestanding compilers. */
49551 #ifdef __STDC__
49552 # include <limits.h>
49553 #else
49554 # include <assert.h>
49555 #endif
49557 #undef $ac_func
49559 /* Override any gcc2 internal prototype to avoid an error. */
49560 #ifdef __cplusplus
49561 extern "C"
49563 #endif
49564 /* We use char because int might match the return type of a gcc2
49565 builtin and then its argument prototype would still apply. */
49566 char $ac_func ();
49567 /* The GNU C library defines this for functions which it implements
49568 to always fail with ENOSYS. Some functions are actually named
49569 something starting with __ and the normal name is an alias. */
49570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49571 choke me
49572 #else
49573 char (*f) () = $ac_func;
49574 #endif
49575 #ifdef __cplusplus
49577 #endif
49580 main ()
49582 return f != $ac_func;
49584 return 0;
49586 _ACEOF
49587 rm -f conftest.$ac_objext conftest$ac_exeext
49588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49589 (eval $ac_link) 2>conftest.er1
49590 ac_status=$?
49591 grep -v '^ *+' conftest.er1 >conftest.err
49592 rm -f conftest.er1
49593 cat conftest.err >&5
49594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49595 (exit $ac_status); } &&
49596 { ac_try='test -z "$ac_c_werror_flag"
49597 || test ! -s conftest.err'
49598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49599 (eval $ac_try) 2>&5
49600 ac_status=$?
49601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49602 (exit $ac_status); }; } &&
49603 { ac_try='test -s conftest$ac_exeext'
49604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49605 (eval $ac_try) 2>&5
49606 ac_status=$?
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); }; }; then
49609 eval "$as_ac_var=yes"
49610 else
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.$ac_ext >&5
49614 eval "$as_ac_var=no"
49616 rm -f conftest.err conftest.$ac_objext \
49617 conftest$ac_exeext conftest.$ac_ext
49619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49621 if test `eval echo '${'$as_ac_var'}'` = yes; then
49622 cat >>confdefs.h <<_ACEOF
49623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49624 _ACEOF
49627 done
49637 echo "$as_me:$LINENO: checking for modff declaration" >&5
49638 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49639 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49640 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49641 echo $ECHO_N "(cached) $ECHO_C" >&6
49642 else
49646 ac_ext=cc
49647 ac_cpp='$CXXCPP $CPPFLAGS'
49648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49652 cat >conftest.$ac_ext <<_ACEOF
49653 /* confdefs.h. */
49654 _ACEOF
49655 cat confdefs.h >>conftest.$ac_ext
49656 cat >>conftest.$ac_ext <<_ACEOF
49657 /* end confdefs.h. */
49658 #include <math.h>
49660 main ()
49662 modff(0, 0);
49664 return 0;
49666 _ACEOF
49667 rm -f conftest.$ac_objext
49668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49669 (eval $ac_compile) 2>conftest.er1
49670 ac_status=$?
49671 grep -v '^ *+' conftest.er1 >conftest.err
49672 rm -f conftest.er1
49673 cat conftest.err >&5
49674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49675 (exit $ac_status); } &&
49676 { ac_try='test -z "$ac_cxx_werror_flag"
49677 || test ! -s conftest.err'
49678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49679 (eval $ac_try) 2>&5
49680 ac_status=$?
49681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49682 (exit $ac_status); }; } &&
49683 { ac_try='test -s conftest.$ac_objext'
49684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49685 (eval $ac_try) 2>&5
49686 ac_status=$?
49687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49688 (exit $ac_status); }; }; then
49689 glibcxx_cv_func_modff_use=yes
49690 else
49691 echo "$as_me: failed program was:" >&5
49692 sed 's/^/| /' conftest.$ac_ext >&5
49694 glibcxx_cv_func_modff_use=no
49696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49697 ac_ext=c
49698 ac_cpp='$CPP $CPPFLAGS'
49699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49708 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49710 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49712 for ac_func in modff
49714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49715 echo "$as_me:$LINENO: checking for $ac_func" >&5
49716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49717 if eval "test \"\${$as_ac_var+set}\" = set"; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720 if test x$gcc_no_link = xyes; then
49721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49723 { (exit 1); exit 1; }; }
49725 cat >conftest.$ac_ext <<_ACEOF
49726 /* confdefs.h. */
49727 _ACEOF
49728 cat confdefs.h >>conftest.$ac_ext
49729 cat >>conftest.$ac_ext <<_ACEOF
49730 /* end confdefs.h. */
49731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49733 #define $ac_func innocuous_$ac_func
49735 /* System header to define __stub macros and hopefully few prototypes,
49736 which can conflict with char $ac_func (); below.
49737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49738 <limits.h> exists even on freestanding compilers. */
49740 #ifdef __STDC__
49741 # include <limits.h>
49742 #else
49743 # include <assert.h>
49744 #endif
49746 #undef $ac_func
49748 /* Override any gcc2 internal prototype to avoid an error. */
49749 #ifdef __cplusplus
49750 extern "C"
49752 #endif
49753 /* We use char because int might match the return type of a gcc2
49754 builtin and then its argument prototype would still apply. */
49755 char $ac_func ();
49756 /* The GNU C library defines this for functions which it implements
49757 to always fail with ENOSYS. Some functions are actually named
49758 something starting with __ and the normal name is an alias. */
49759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49760 choke me
49761 #else
49762 char (*f) () = $ac_func;
49763 #endif
49764 #ifdef __cplusplus
49766 #endif
49769 main ()
49771 return f != $ac_func;
49773 return 0;
49775 _ACEOF
49776 rm -f conftest.$ac_objext conftest$ac_exeext
49777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49778 (eval $ac_link) 2>conftest.er1
49779 ac_status=$?
49780 grep -v '^ *+' conftest.er1 >conftest.err
49781 rm -f conftest.er1
49782 cat conftest.err >&5
49783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49784 (exit $ac_status); } &&
49785 { ac_try='test -z "$ac_c_werror_flag"
49786 || test ! -s conftest.err'
49787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49788 (eval $ac_try) 2>&5
49789 ac_status=$?
49790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49791 (exit $ac_status); }; } &&
49792 { ac_try='test -s conftest$ac_exeext'
49793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49794 (eval $ac_try) 2>&5
49795 ac_status=$?
49796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49797 (exit $ac_status); }; }; then
49798 eval "$as_ac_var=yes"
49799 else
49800 echo "$as_me: failed program was:" >&5
49801 sed 's/^/| /' conftest.$ac_ext >&5
49803 eval "$as_ac_var=no"
49805 rm -f conftest.err conftest.$ac_objext \
49806 conftest$ac_exeext conftest.$ac_ext
49808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49810 if test `eval echo '${'$as_ac_var'}'` = yes; then
49811 cat >>confdefs.h <<_ACEOF
49812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49813 _ACEOF
49816 done
49818 else
49820 echo "$as_me:$LINENO: checking for _modff declaration" >&5
49821 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
49822 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49823 if test "${glibcxx_cv_func__modff_use+set}" = set; then
49824 echo $ECHO_N "(cached) $ECHO_C" >&6
49825 else
49829 ac_ext=cc
49830 ac_cpp='$CXXCPP $CPPFLAGS'
49831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49835 cat >conftest.$ac_ext <<_ACEOF
49836 /* confdefs.h. */
49837 _ACEOF
49838 cat confdefs.h >>conftest.$ac_ext
49839 cat >>conftest.$ac_ext <<_ACEOF
49840 /* end confdefs.h. */
49841 #include <math.h>
49843 main ()
49845 _modff(0, 0);
49847 return 0;
49849 _ACEOF
49850 rm -f conftest.$ac_objext
49851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49852 (eval $ac_compile) 2>conftest.er1
49853 ac_status=$?
49854 grep -v '^ *+' conftest.er1 >conftest.err
49855 rm -f conftest.er1
49856 cat conftest.err >&5
49857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49858 (exit $ac_status); } &&
49859 { ac_try='test -z "$ac_cxx_werror_flag"
49860 || test ! -s conftest.err'
49861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49862 (eval $ac_try) 2>&5
49863 ac_status=$?
49864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865 (exit $ac_status); }; } &&
49866 { ac_try='test -s conftest.$ac_objext'
49867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49868 (eval $ac_try) 2>&5
49869 ac_status=$?
49870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871 (exit $ac_status); }; }; then
49872 glibcxx_cv_func__modff_use=yes
49873 else
49874 echo "$as_me: failed program was:" >&5
49875 sed 's/^/| /' conftest.$ac_ext >&5
49877 glibcxx_cv_func__modff_use=no
49879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49880 ac_ext=c
49881 ac_cpp='$CPP $CPPFLAGS'
49882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
49891 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
49893 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49895 for ac_func in _modff
49897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49898 echo "$as_me:$LINENO: checking for $ac_func" >&5
49899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49900 if eval "test \"\${$as_ac_var+set}\" = set"; then
49901 echo $ECHO_N "(cached) $ECHO_C" >&6
49902 else
49903 if test x$gcc_no_link = xyes; then
49904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49906 { (exit 1); exit 1; }; }
49908 cat >conftest.$ac_ext <<_ACEOF
49909 /* confdefs.h. */
49910 _ACEOF
49911 cat confdefs.h >>conftest.$ac_ext
49912 cat >>conftest.$ac_ext <<_ACEOF
49913 /* end confdefs.h. */
49914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49916 #define $ac_func innocuous_$ac_func
49918 /* System header to define __stub macros and hopefully few prototypes,
49919 which can conflict with char $ac_func (); below.
49920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49921 <limits.h> exists even on freestanding compilers. */
49923 #ifdef __STDC__
49924 # include <limits.h>
49925 #else
49926 # include <assert.h>
49927 #endif
49929 #undef $ac_func
49931 /* Override any gcc2 internal prototype to avoid an error. */
49932 #ifdef __cplusplus
49933 extern "C"
49935 #endif
49936 /* We use char because int might match the return type of a gcc2
49937 builtin and then its argument prototype would still apply. */
49938 char $ac_func ();
49939 /* The GNU C library defines this for functions which it implements
49940 to always fail with ENOSYS. Some functions are actually named
49941 something starting with __ and the normal name is an alias. */
49942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49943 choke me
49944 #else
49945 char (*f) () = $ac_func;
49946 #endif
49947 #ifdef __cplusplus
49949 #endif
49952 main ()
49954 return f != $ac_func;
49956 return 0;
49958 _ACEOF
49959 rm -f conftest.$ac_objext conftest$ac_exeext
49960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49961 (eval $ac_link) 2>conftest.er1
49962 ac_status=$?
49963 grep -v '^ *+' conftest.er1 >conftest.err
49964 rm -f conftest.er1
49965 cat conftest.err >&5
49966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49967 (exit $ac_status); } &&
49968 { ac_try='test -z "$ac_c_werror_flag"
49969 || test ! -s conftest.err'
49970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49971 (eval $ac_try) 2>&5
49972 ac_status=$?
49973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49974 (exit $ac_status); }; } &&
49975 { ac_try='test -s conftest$ac_exeext'
49976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49977 (eval $ac_try) 2>&5
49978 ac_status=$?
49979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49980 (exit $ac_status); }; }; then
49981 eval "$as_ac_var=yes"
49982 else
49983 echo "$as_me: failed program was:" >&5
49984 sed 's/^/| /' conftest.$ac_ext >&5
49986 eval "$as_ac_var=no"
49988 rm -f conftest.err conftest.$ac_objext \
49989 conftest$ac_exeext conftest.$ac_ext
49991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49993 if test `eval echo '${'$as_ac_var'}'` = yes; then
49994 cat >>confdefs.h <<_ACEOF
49995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49996 _ACEOF
49999 done
50009 echo "$as_me:$LINENO: checking for modf declaration" >&5
50010 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50011 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50012 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50013 echo $ECHO_N "(cached) $ECHO_C" >&6
50014 else
50018 ac_ext=cc
50019 ac_cpp='$CXXCPP $CPPFLAGS'
50020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50024 cat >conftest.$ac_ext <<_ACEOF
50025 /* confdefs.h. */
50026 _ACEOF
50027 cat confdefs.h >>conftest.$ac_ext
50028 cat >>conftest.$ac_ext <<_ACEOF
50029 /* end confdefs.h. */
50030 #include <math.h>
50032 main ()
50034 modf(0, 0);
50036 return 0;
50038 _ACEOF
50039 rm -f conftest.$ac_objext
50040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50041 (eval $ac_compile) 2>conftest.er1
50042 ac_status=$?
50043 grep -v '^ *+' conftest.er1 >conftest.err
50044 rm -f conftest.er1
50045 cat conftest.err >&5
50046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50047 (exit $ac_status); } &&
50048 { ac_try='test -z "$ac_cxx_werror_flag"
50049 || test ! -s conftest.err'
50050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50051 (eval $ac_try) 2>&5
50052 ac_status=$?
50053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50054 (exit $ac_status); }; } &&
50055 { ac_try='test -s conftest.$ac_objext'
50056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50057 (eval $ac_try) 2>&5
50058 ac_status=$?
50059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50060 (exit $ac_status); }; }; then
50061 glibcxx_cv_func_modf_use=yes
50062 else
50063 echo "$as_me: failed program was:" >&5
50064 sed 's/^/| /' conftest.$ac_ext >&5
50066 glibcxx_cv_func_modf_use=no
50068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50069 ac_ext=c
50070 ac_cpp='$CPP $CPPFLAGS'
50071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50080 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50082 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50084 for ac_func in modf
50086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50087 echo "$as_me:$LINENO: checking for $ac_func" >&5
50088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50089 if eval "test \"\${$as_ac_var+set}\" = set"; then
50090 echo $ECHO_N "(cached) $ECHO_C" >&6
50091 else
50092 if test x$gcc_no_link = xyes; then
50093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50095 { (exit 1); exit 1; }; }
50097 cat >conftest.$ac_ext <<_ACEOF
50098 /* confdefs.h. */
50099 _ACEOF
50100 cat confdefs.h >>conftest.$ac_ext
50101 cat >>conftest.$ac_ext <<_ACEOF
50102 /* end confdefs.h. */
50103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50105 #define $ac_func innocuous_$ac_func
50107 /* System header to define __stub macros and hopefully few prototypes,
50108 which can conflict with char $ac_func (); below.
50109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50110 <limits.h> exists even on freestanding compilers. */
50112 #ifdef __STDC__
50113 # include <limits.h>
50114 #else
50115 # include <assert.h>
50116 #endif
50118 #undef $ac_func
50120 /* Override any gcc2 internal prototype to avoid an error. */
50121 #ifdef __cplusplus
50122 extern "C"
50124 #endif
50125 /* We use char because int might match the return type of a gcc2
50126 builtin and then its argument prototype would still apply. */
50127 char $ac_func ();
50128 /* The GNU C library defines this for functions which it implements
50129 to always fail with ENOSYS. Some functions are actually named
50130 something starting with __ and the normal name is an alias. */
50131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50132 choke me
50133 #else
50134 char (*f) () = $ac_func;
50135 #endif
50136 #ifdef __cplusplus
50138 #endif
50141 main ()
50143 return f != $ac_func;
50145 return 0;
50147 _ACEOF
50148 rm -f conftest.$ac_objext conftest$ac_exeext
50149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50150 (eval $ac_link) 2>conftest.er1
50151 ac_status=$?
50152 grep -v '^ *+' conftest.er1 >conftest.err
50153 rm -f conftest.er1
50154 cat conftest.err >&5
50155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50156 (exit $ac_status); } &&
50157 { ac_try='test -z "$ac_c_werror_flag"
50158 || test ! -s conftest.err'
50159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50160 (eval $ac_try) 2>&5
50161 ac_status=$?
50162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50163 (exit $ac_status); }; } &&
50164 { ac_try='test -s conftest$ac_exeext'
50165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50166 (eval $ac_try) 2>&5
50167 ac_status=$?
50168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50169 (exit $ac_status); }; }; then
50170 eval "$as_ac_var=yes"
50171 else
50172 echo "$as_me: failed program was:" >&5
50173 sed 's/^/| /' conftest.$ac_ext >&5
50175 eval "$as_ac_var=no"
50177 rm -f conftest.err conftest.$ac_objext \
50178 conftest$ac_exeext conftest.$ac_ext
50180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50182 if test `eval echo '${'$as_ac_var'}'` = yes; then
50183 cat >>confdefs.h <<_ACEOF
50184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50185 _ACEOF
50188 done
50190 else
50192 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50193 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50194 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50195 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50196 echo $ECHO_N "(cached) $ECHO_C" >&6
50197 else
50201 ac_ext=cc
50202 ac_cpp='$CXXCPP $CPPFLAGS'
50203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50207 cat >conftest.$ac_ext <<_ACEOF
50208 /* confdefs.h. */
50209 _ACEOF
50210 cat confdefs.h >>conftest.$ac_ext
50211 cat >>conftest.$ac_ext <<_ACEOF
50212 /* end confdefs.h. */
50213 #include <math.h>
50215 main ()
50217 _modf(0, 0);
50219 return 0;
50221 _ACEOF
50222 rm -f conftest.$ac_objext
50223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50224 (eval $ac_compile) 2>conftest.er1
50225 ac_status=$?
50226 grep -v '^ *+' conftest.er1 >conftest.err
50227 rm -f conftest.er1
50228 cat conftest.err >&5
50229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50230 (exit $ac_status); } &&
50231 { ac_try='test -z "$ac_cxx_werror_flag"
50232 || test ! -s conftest.err'
50233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50234 (eval $ac_try) 2>&5
50235 ac_status=$?
50236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50237 (exit $ac_status); }; } &&
50238 { ac_try='test -s conftest.$ac_objext'
50239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50240 (eval $ac_try) 2>&5
50241 ac_status=$?
50242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50243 (exit $ac_status); }; }; then
50244 glibcxx_cv_func__modf_use=yes
50245 else
50246 echo "$as_me: failed program was:" >&5
50247 sed 's/^/| /' conftest.$ac_ext >&5
50249 glibcxx_cv_func__modf_use=no
50251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50252 ac_ext=c
50253 ac_cpp='$CPP $CPPFLAGS'
50254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50262 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50263 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50265 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50267 for ac_func in _modf
50269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50270 echo "$as_me:$LINENO: checking for $ac_func" >&5
50271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50272 if eval "test \"\${$as_ac_var+set}\" = set"; then
50273 echo $ECHO_N "(cached) $ECHO_C" >&6
50274 else
50275 if test x$gcc_no_link = xyes; then
50276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50278 { (exit 1); exit 1; }; }
50280 cat >conftest.$ac_ext <<_ACEOF
50281 /* confdefs.h. */
50282 _ACEOF
50283 cat confdefs.h >>conftest.$ac_ext
50284 cat >>conftest.$ac_ext <<_ACEOF
50285 /* end confdefs.h. */
50286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50288 #define $ac_func innocuous_$ac_func
50290 /* System header to define __stub macros and hopefully few prototypes,
50291 which can conflict with char $ac_func (); below.
50292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50293 <limits.h> exists even on freestanding compilers. */
50295 #ifdef __STDC__
50296 # include <limits.h>
50297 #else
50298 # include <assert.h>
50299 #endif
50301 #undef $ac_func
50303 /* Override any gcc2 internal prototype to avoid an error. */
50304 #ifdef __cplusplus
50305 extern "C"
50307 #endif
50308 /* We use char because int might match the return type of a gcc2
50309 builtin and then its argument prototype would still apply. */
50310 char $ac_func ();
50311 /* The GNU C library defines this for functions which it implements
50312 to always fail with ENOSYS. Some functions are actually named
50313 something starting with __ and the normal name is an alias. */
50314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50315 choke me
50316 #else
50317 char (*f) () = $ac_func;
50318 #endif
50319 #ifdef __cplusplus
50321 #endif
50324 main ()
50326 return f != $ac_func;
50328 return 0;
50330 _ACEOF
50331 rm -f conftest.$ac_objext conftest$ac_exeext
50332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50333 (eval $ac_link) 2>conftest.er1
50334 ac_status=$?
50335 grep -v '^ *+' conftest.er1 >conftest.err
50336 rm -f conftest.er1
50337 cat conftest.err >&5
50338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50339 (exit $ac_status); } &&
50340 { ac_try='test -z "$ac_c_werror_flag"
50341 || test ! -s conftest.err'
50342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50343 (eval $ac_try) 2>&5
50344 ac_status=$?
50345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50346 (exit $ac_status); }; } &&
50347 { ac_try='test -s conftest$ac_exeext'
50348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50349 (eval $ac_try) 2>&5
50350 ac_status=$?
50351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50352 (exit $ac_status); }; }; then
50353 eval "$as_ac_var=yes"
50354 else
50355 echo "$as_me: failed program was:" >&5
50356 sed 's/^/| /' conftest.$ac_ext >&5
50358 eval "$as_ac_var=no"
50360 rm -f conftest.err conftest.$ac_objext \
50361 conftest$ac_exeext conftest.$ac_ext
50363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50365 if test `eval echo '${'$as_ac_var'}'` = yes; then
50366 cat >>confdefs.h <<_ACEOF
50367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50368 _ACEOF
50371 done
50381 echo "$as_me:$LINENO: checking for powf declaration" >&5
50382 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50383 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50384 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50385 echo $ECHO_N "(cached) $ECHO_C" >&6
50386 else
50390 ac_ext=cc
50391 ac_cpp='$CXXCPP $CPPFLAGS'
50392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50396 cat >conftest.$ac_ext <<_ACEOF
50397 /* confdefs.h. */
50398 _ACEOF
50399 cat confdefs.h >>conftest.$ac_ext
50400 cat >>conftest.$ac_ext <<_ACEOF
50401 /* end confdefs.h. */
50402 #include <math.h>
50404 main ()
50406 powf(0, 0);
50408 return 0;
50410 _ACEOF
50411 rm -f conftest.$ac_objext
50412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50413 (eval $ac_compile) 2>conftest.er1
50414 ac_status=$?
50415 grep -v '^ *+' conftest.er1 >conftest.err
50416 rm -f conftest.er1
50417 cat conftest.err >&5
50418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50419 (exit $ac_status); } &&
50420 { ac_try='test -z "$ac_cxx_werror_flag"
50421 || test ! -s conftest.err'
50422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50423 (eval $ac_try) 2>&5
50424 ac_status=$?
50425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50426 (exit $ac_status); }; } &&
50427 { ac_try='test -s conftest.$ac_objext'
50428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50429 (eval $ac_try) 2>&5
50430 ac_status=$?
50431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50432 (exit $ac_status); }; }; then
50433 glibcxx_cv_func_powf_use=yes
50434 else
50435 echo "$as_me: failed program was:" >&5
50436 sed 's/^/| /' conftest.$ac_ext >&5
50438 glibcxx_cv_func_powf_use=no
50440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50441 ac_ext=c
50442 ac_cpp='$CPP $CPPFLAGS'
50443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50452 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50454 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50456 for ac_func in powf
50458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50459 echo "$as_me:$LINENO: checking for $ac_func" >&5
50460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50461 if eval "test \"\${$as_ac_var+set}\" = set"; then
50462 echo $ECHO_N "(cached) $ECHO_C" >&6
50463 else
50464 if test x$gcc_no_link = xyes; then
50465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50467 { (exit 1); exit 1; }; }
50469 cat >conftest.$ac_ext <<_ACEOF
50470 /* confdefs.h. */
50471 _ACEOF
50472 cat confdefs.h >>conftest.$ac_ext
50473 cat >>conftest.$ac_ext <<_ACEOF
50474 /* end confdefs.h. */
50475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50477 #define $ac_func innocuous_$ac_func
50479 /* System header to define __stub macros and hopefully few prototypes,
50480 which can conflict with char $ac_func (); below.
50481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50482 <limits.h> exists even on freestanding compilers. */
50484 #ifdef __STDC__
50485 # include <limits.h>
50486 #else
50487 # include <assert.h>
50488 #endif
50490 #undef $ac_func
50492 /* Override any gcc2 internal prototype to avoid an error. */
50493 #ifdef __cplusplus
50494 extern "C"
50496 #endif
50497 /* We use char because int might match the return type of a gcc2
50498 builtin and then its argument prototype would still apply. */
50499 char $ac_func ();
50500 /* The GNU C library defines this for functions which it implements
50501 to always fail with ENOSYS. Some functions are actually named
50502 something starting with __ and the normal name is an alias. */
50503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50504 choke me
50505 #else
50506 char (*f) () = $ac_func;
50507 #endif
50508 #ifdef __cplusplus
50510 #endif
50513 main ()
50515 return f != $ac_func;
50517 return 0;
50519 _ACEOF
50520 rm -f conftest.$ac_objext conftest$ac_exeext
50521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50522 (eval $ac_link) 2>conftest.er1
50523 ac_status=$?
50524 grep -v '^ *+' conftest.er1 >conftest.err
50525 rm -f conftest.er1
50526 cat conftest.err >&5
50527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50528 (exit $ac_status); } &&
50529 { ac_try='test -z "$ac_c_werror_flag"
50530 || test ! -s conftest.err'
50531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50532 (eval $ac_try) 2>&5
50533 ac_status=$?
50534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50535 (exit $ac_status); }; } &&
50536 { ac_try='test -s conftest$ac_exeext'
50537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50538 (eval $ac_try) 2>&5
50539 ac_status=$?
50540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50541 (exit $ac_status); }; }; then
50542 eval "$as_ac_var=yes"
50543 else
50544 echo "$as_me: failed program was:" >&5
50545 sed 's/^/| /' conftest.$ac_ext >&5
50547 eval "$as_ac_var=no"
50549 rm -f conftest.err conftest.$ac_objext \
50550 conftest$ac_exeext conftest.$ac_ext
50552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50554 if test `eval echo '${'$as_ac_var'}'` = yes; then
50555 cat >>confdefs.h <<_ACEOF
50556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50557 _ACEOF
50560 done
50562 else
50564 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50565 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50566 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50567 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50568 echo $ECHO_N "(cached) $ECHO_C" >&6
50569 else
50573 ac_ext=cc
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579 cat >conftest.$ac_ext <<_ACEOF
50580 /* confdefs.h. */
50581 _ACEOF
50582 cat confdefs.h >>conftest.$ac_ext
50583 cat >>conftest.$ac_ext <<_ACEOF
50584 /* end confdefs.h. */
50585 #include <math.h>
50587 main ()
50589 _powf(0, 0);
50591 return 0;
50593 _ACEOF
50594 rm -f conftest.$ac_objext
50595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50596 (eval $ac_compile) 2>conftest.er1
50597 ac_status=$?
50598 grep -v '^ *+' conftest.er1 >conftest.err
50599 rm -f conftest.er1
50600 cat conftest.err >&5
50601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50602 (exit $ac_status); } &&
50603 { ac_try='test -z "$ac_cxx_werror_flag"
50604 || test ! -s conftest.err'
50605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50606 (eval $ac_try) 2>&5
50607 ac_status=$?
50608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50609 (exit $ac_status); }; } &&
50610 { ac_try='test -s conftest.$ac_objext'
50611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50612 (eval $ac_try) 2>&5
50613 ac_status=$?
50614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50615 (exit $ac_status); }; }; then
50616 glibcxx_cv_func__powf_use=yes
50617 else
50618 echo "$as_me: failed program was:" >&5
50619 sed 's/^/| /' conftest.$ac_ext >&5
50621 glibcxx_cv_func__powf_use=no
50623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50624 ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50635 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50637 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50639 for ac_func in _powf
50641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50642 echo "$as_me:$LINENO: checking for $ac_func" >&5
50643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50644 if eval "test \"\${$as_ac_var+set}\" = set"; then
50645 echo $ECHO_N "(cached) $ECHO_C" >&6
50646 else
50647 if test x$gcc_no_link = xyes; then
50648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50650 { (exit 1); exit 1; }; }
50652 cat >conftest.$ac_ext <<_ACEOF
50653 /* confdefs.h. */
50654 _ACEOF
50655 cat confdefs.h >>conftest.$ac_ext
50656 cat >>conftest.$ac_ext <<_ACEOF
50657 /* end confdefs.h. */
50658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50660 #define $ac_func innocuous_$ac_func
50662 /* System header to define __stub macros and hopefully few prototypes,
50663 which can conflict with char $ac_func (); below.
50664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50665 <limits.h> exists even on freestanding compilers. */
50667 #ifdef __STDC__
50668 # include <limits.h>
50669 #else
50670 # include <assert.h>
50671 #endif
50673 #undef $ac_func
50675 /* Override any gcc2 internal prototype to avoid an error. */
50676 #ifdef __cplusplus
50677 extern "C"
50679 #endif
50680 /* We use char because int might match the return type of a gcc2
50681 builtin and then its argument prototype would still apply. */
50682 char $ac_func ();
50683 /* The GNU C library defines this for functions which it implements
50684 to always fail with ENOSYS. Some functions are actually named
50685 something starting with __ and the normal name is an alias. */
50686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50687 choke me
50688 #else
50689 char (*f) () = $ac_func;
50690 #endif
50691 #ifdef __cplusplus
50693 #endif
50696 main ()
50698 return f != $ac_func;
50700 return 0;
50702 _ACEOF
50703 rm -f conftest.$ac_objext conftest$ac_exeext
50704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50705 (eval $ac_link) 2>conftest.er1
50706 ac_status=$?
50707 grep -v '^ *+' conftest.er1 >conftest.err
50708 rm -f conftest.er1
50709 cat conftest.err >&5
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); } &&
50712 { ac_try='test -z "$ac_c_werror_flag"
50713 || test ! -s conftest.err'
50714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50715 (eval $ac_try) 2>&5
50716 ac_status=$?
50717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50718 (exit $ac_status); }; } &&
50719 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
50725 eval "$as_ac_var=yes"
50726 else
50727 echo "$as_me: failed program was:" >&5
50728 sed 's/^/| /' conftest.$ac_ext >&5
50730 eval "$as_ac_var=no"
50732 rm -f conftest.err conftest.$ac_objext \
50733 conftest$ac_exeext conftest.$ac_ext
50735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50737 if test `eval echo '${'$as_ac_var'}'` = yes; then
50738 cat >>confdefs.h <<_ACEOF
50739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50740 _ACEOF
50743 done
50753 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
50754 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
50755 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50756 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
50757 echo $ECHO_N "(cached) $ECHO_C" >&6
50758 else
50762 ac_ext=cc
50763 ac_cpp='$CXXCPP $CPPFLAGS'
50764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50768 cat >conftest.$ac_ext <<_ACEOF
50769 /* confdefs.h. */
50770 _ACEOF
50771 cat confdefs.h >>conftest.$ac_ext
50772 cat >>conftest.$ac_ext <<_ACEOF
50773 /* end confdefs.h. */
50774 #include <math.h>
50775 #ifdef HAVE_IEEEFP_H
50776 #include <ieeefp.h>
50777 #endif
50780 main ()
50782 sqrtf(0);
50784 return 0;
50786 _ACEOF
50787 rm -f conftest.$ac_objext
50788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50789 (eval $ac_compile) 2>conftest.er1
50790 ac_status=$?
50791 grep -v '^ *+' conftest.er1 >conftest.err
50792 rm -f conftest.er1
50793 cat conftest.err >&5
50794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50795 (exit $ac_status); } &&
50796 { ac_try='test -z "$ac_cxx_werror_flag"
50797 || test ! -s conftest.err'
50798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50799 (eval $ac_try) 2>&5
50800 ac_status=$?
50801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50802 (exit $ac_status); }; } &&
50803 { ac_try='test -s conftest.$ac_objext'
50804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50805 (eval $ac_try) 2>&5
50806 ac_status=$?
50807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808 (exit $ac_status); }; }; then
50809 glibcxx_cv_func_sqrtf_use=yes
50810 else
50811 echo "$as_me: failed program was:" >&5
50812 sed 's/^/| /' conftest.$ac_ext >&5
50814 glibcxx_cv_func_sqrtf_use=no
50816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50817 ac_ext=c
50818 ac_cpp='$CPP $CPPFLAGS'
50819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50827 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
50828 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
50830 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50832 for ac_func in sqrtf
50834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50835 echo "$as_me:$LINENO: checking for $ac_func" >&5
50836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50837 if eval "test \"\${$as_ac_var+set}\" = set"; then
50838 echo $ECHO_N "(cached) $ECHO_C" >&6
50839 else
50840 if test x$gcc_no_link = xyes; then
50841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50843 { (exit 1); exit 1; }; }
50845 cat >conftest.$ac_ext <<_ACEOF
50846 /* confdefs.h. */
50847 _ACEOF
50848 cat confdefs.h >>conftest.$ac_ext
50849 cat >>conftest.$ac_ext <<_ACEOF
50850 /* end confdefs.h. */
50851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50853 #define $ac_func innocuous_$ac_func
50855 /* System header to define __stub macros and hopefully few prototypes,
50856 which can conflict with char $ac_func (); below.
50857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50858 <limits.h> exists even on freestanding compilers. */
50860 #ifdef __STDC__
50861 # include <limits.h>
50862 #else
50863 # include <assert.h>
50864 #endif
50866 #undef $ac_func
50868 /* Override any gcc2 internal prototype to avoid an error. */
50869 #ifdef __cplusplus
50870 extern "C"
50872 #endif
50873 /* We use char because int might match the return type of a gcc2
50874 builtin and then its argument prototype would still apply. */
50875 char $ac_func ();
50876 /* The GNU C library defines this for functions which it implements
50877 to always fail with ENOSYS. Some functions are actually named
50878 something starting with __ and the normal name is an alias. */
50879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50880 choke me
50881 #else
50882 char (*f) () = $ac_func;
50883 #endif
50884 #ifdef __cplusplus
50886 #endif
50889 main ()
50891 return f != $ac_func;
50893 return 0;
50895 _ACEOF
50896 rm -f conftest.$ac_objext conftest$ac_exeext
50897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50898 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
50919 else
50920 echo "$as_me: failed program was:" >&5
50921 sed 's/^/| /' conftest.$ac_ext >&5
50923 eval "$as_ac_var=no"
50925 rm -f conftest.err conftest.$ac_objext \
50926 conftest$ac_exeext conftest.$ac_ext
50928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50930 if test `eval echo '${'$as_ac_var'}'` = yes; then
50931 cat >>confdefs.h <<_ACEOF
50932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50933 _ACEOF
50936 done
50938 else
50940 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
50941 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
50942 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50943 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
50944 echo $ECHO_N "(cached) $ECHO_C" >&6
50945 else
50949 ac_ext=cc
50950 ac_cpp='$CXXCPP $CPPFLAGS'
50951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50955 cat >conftest.$ac_ext <<_ACEOF
50956 /* confdefs.h. */
50957 _ACEOF
50958 cat confdefs.h >>conftest.$ac_ext
50959 cat >>conftest.$ac_ext <<_ACEOF
50960 /* end confdefs.h. */
50961 #include <math.h>
50962 #ifdef HAVE_IEEEFP_H
50963 #include <ieeefp.h>
50964 #endif
50967 main ()
50969 _sqrtf(0);
50971 return 0;
50973 _ACEOF
50974 rm -f conftest.$ac_objext
50975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50976 (eval $ac_compile) 2>conftest.er1
50977 ac_status=$?
50978 grep -v '^ *+' conftest.er1 >conftest.err
50979 rm -f conftest.er1
50980 cat conftest.err >&5
50981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50982 (exit $ac_status); } &&
50983 { ac_try='test -z "$ac_cxx_werror_flag"
50984 || test ! -s conftest.err'
50985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50986 (eval $ac_try) 2>&5
50987 ac_status=$?
50988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50989 (exit $ac_status); }; } &&
50990 { ac_try='test -s conftest.$ac_objext'
50991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50992 (eval $ac_try) 2>&5
50993 ac_status=$?
50994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50995 (exit $ac_status); }; }; then
50996 glibcxx_cv_func__sqrtf_use=yes
50997 else
50998 echo "$as_me: failed program was:" >&5
50999 sed 's/^/| /' conftest.$ac_ext >&5
51001 glibcxx_cv_func__sqrtf_use=no
51003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51004 ac_ext=c
51005 ac_cpp='$CPP $CPPFLAGS'
51006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51014 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51015 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51017 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51019 for ac_func in _sqrtf
51021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51022 echo "$as_me:$LINENO: checking for $ac_func" >&5
51023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51024 if eval "test \"\${$as_ac_var+set}\" = set"; then
51025 echo $ECHO_N "(cached) $ECHO_C" >&6
51026 else
51027 if test x$gcc_no_link = xyes; then
51028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51030 { (exit 1); exit 1; }; }
51032 cat >conftest.$ac_ext <<_ACEOF
51033 /* confdefs.h. */
51034 _ACEOF
51035 cat confdefs.h >>conftest.$ac_ext
51036 cat >>conftest.$ac_ext <<_ACEOF
51037 /* end confdefs.h. */
51038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51040 #define $ac_func innocuous_$ac_func
51042 /* System header to define __stub macros and hopefully few prototypes,
51043 which can conflict with char $ac_func (); below.
51044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51045 <limits.h> exists even on freestanding compilers. */
51047 #ifdef __STDC__
51048 # include <limits.h>
51049 #else
51050 # include <assert.h>
51051 #endif
51053 #undef $ac_func
51055 /* Override any gcc2 internal prototype to avoid an error. */
51056 #ifdef __cplusplus
51057 extern "C"
51059 #endif
51060 /* We use char because int might match the return type of a gcc2
51061 builtin and then its argument prototype would still apply. */
51062 char $ac_func ();
51063 /* The GNU C library defines this for functions which it implements
51064 to always fail with ENOSYS. Some functions are actually named
51065 something starting with __ and the normal name is an alias. */
51066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51067 choke me
51068 #else
51069 char (*f) () = $ac_func;
51070 #endif
51071 #ifdef __cplusplus
51073 #endif
51076 main ()
51078 return f != $ac_func;
51080 return 0;
51082 _ACEOF
51083 rm -f conftest.$ac_objext conftest$ac_exeext
51084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51085 (eval $ac_link) 2>conftest.er1
51086 ac_status=$?
51087 grep -v '^ *+' conftest.er1 >conftest.err
51088 rm -f conftest.er1
51089 cat conftest.err >&5
51090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51091 (exit $ac_status); } &&
51092 { ac_try='test -z "$ac_c_werror_flag"
51093 || test ! -s conftest.err'
51094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51095 (eval $ac_try) 2>&5
51096 ac_status=$?
51097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51098 (exit $ac_status); }; } &&
51099 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51105 eval "$as_ac_var=yes"
51106 else
51107 echo "$as_me: failed program was:" >&5
51108 sed 's/^/| /' conftest.$ac_ext >&5
51110 eval "$as_ac_var=no"
51112 rm -f conftest.err conftest.$ac_objext \
51113 conftest$ac_exeext conftest.$ac_ext
51115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51117 if test `eval echo '${'$as_ac_var'}'` = yes; then
51118 cat >>confdefs.h <<_ACEOF
51119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51120 _ACEOF
51123 done
51133 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51134 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51135 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51136 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51137 echo $ECHO_N "(cached) $ECHO_C" >&6
51138 else
51142 ac_ext=cc
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51148 cat >conftest.$ac_ext <<_ACEOF
51149 /* confdefs.h. */
51150 _ACEOF
51151 cat confdefs.h >>conftest.$ac_ext
51152 cat >>conftest.$ac_ext <<_ACEOF
51153 /* end confdefs.h. */
51154 #include <math.h>
51156 main ()
51158 sincosf(0, 0, 0);
51160 return 0;
51162 _ACEOF
51163 rm -f conftest.$ac_objext
51164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51165 (eval $ac_compile) 2>conftest.er1
51166 ac_status=$?
51167 grep -v '^ *+' conftest.er1 >conftest.err
51168 rm -f conftest.er1
51169 cat conftest.err >&5
51170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51171 (exit $ac_status); } &&
51172 { ac_try='test -z "$ac_cxx_werror_flag"
51173 || test ! -s conftest.err'
51174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51175 (eval $ac_try) 2>&5
51176 ac_status=$?
51177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51178 (exit $ac_status); }; } &&
51179 { ac_try='test -s conftest.$ac_objext'
51180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51181 (eval $ac_try) 2>&5
51182 ac_status=$?
51183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51184 (exit $ac_status); }; }; then
51185 glibcxx_cv_func_sincosf_use=yes
51186 else
51187 echo "$as_me: failed program was:" >&5
51188 sed 's/^/| /' conftest.$ac_ext >&5
51190 glibcxx_cv_func_sincosf_use=no
51192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51193 ac_ext=c
51194 ac_cpp='$CPP $CPPFLAGS'
51195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51204 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51206 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51208 for ac_func in sincosf
51210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51211 echo "$as_me:$LINENO: checking for $ac_func" >&5
51212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51213 if eval "test \"\${$as_ac_var+set}\" = set"; then
51214 echo $ECHO_N "(cached) $ECHO_C" >&6
51215 else
51216 if test x$gcc_no_link = xyes; then
51217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51219 { (exit 1); exit 1; }; }
51221 cat >conftest.$ac_ext <<_ACEOF
51222 /* confdefs.h. */
51223 _ACEOF
51224 cat confdefs.h >>conftest.$ac_ext
51225 cat >>conftest.$ac_ext <<_ACEOF
51226 /* end confdefs.h. */
51227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51229 #define $ac_func innocuous_$ac_func
51231 /* System header to define __stub macros and hopefully few prototypes,
51232 which can conflict with char $ac_func (); below.
51233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51234 <limits.h> exists even on freestanding compilers. */
51236 #ifdef __STDC__
51237 # include <limits.h>
51238 #else
51239 # include <assert.h>
51240 #endif
51242 #undef $ac_func
51244 /* Override any gcc2 internal prototype to avoid an error. */
51245 #ifdef __cplusplus
51246 extern "C"
51248 #endif
51249 /* We use char because int might match the return type of a gcc2
51250 builtin and then its argument prototype would still apply. */
51251 char $ac_func ();
51252 /* The GNU C library defines this for functions which it implements
51253 to always fail with ENOSYS. Some functions are actually named
51254 something starting with __ and the normal name is an alias. */
51255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51256 choke me
51257 #else
51258 char (*f) () = $ac_func;
51259 #endif
51260 #ifdef __cplusplus
51262 #endif
51265 main ()
51267 return f != $ac_func;
51269 return 0;
51271 _ACEOF
51272 rm -f conftest.$ac_objext conftest$ac_exeext
51273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51274 (eval $ac_link) 2>conftest.er1
51275 ac_status=$?
51276 grep -v '^ *+' conftest.er1 >conftest.err
51277 rm -f conftest.er1
51278 cat conftest.err >&5
51279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280 (exit $ac_status); } &&
51281 { ac_try='test -z "$ac_c_werror_flag"
51282 || test ! -s conftest.err'
51283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51284 (eval $ac_try) 2>&5
51285 ac_status=$?
51286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51287 (exit $ac_status); }; } &&
51288 { ac_try='test -s conftest$ac_exeext'
51289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51290 (eval $ac_try) 2>&5
51291 ac_status=$?
51292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51293 (exit $ac_status); }; }; then
51294 eval "$as_ac_var=yes"
51295 else
51296 echo "$as_me: failed program was:" >&5
51297 sed 's/^/| /' conftest.$ac_ext >&5
51299 eval "$as_ac_var=no"
51301 rm -f conftest.err conftest.$ac_objext \
51302 conftest$ac_exeext conftest.$ac_ext
51304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51306 if test `eval echo '${'$as_ac_var'}'` = yes; then
51307 cat >>confdefs.h <<_ACEOF
51308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51309 _ACEOF
51312 done
51314 else
51316 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51317 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51318 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51319 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51320 echo $ECHO_N "(cached) $ECHO_C" >&6
51321 else
51325 ac_ext=cc
51326 ac_cpp='$CXXCPP $CPPFLAGS'
51327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51331 cat >conftest.$ac_ext <<_ACEOF
51332 /* confdefs.h. */
51333 _ACEOF
51334 cat confdefs.h >>conftest.$ac_ext
51335 cat >>conftest.$ac_ext <<_ACEOF
51336 /* end confdefs.h. */
51337 #include <math.h>
51339 main ()
51341 _sincosf(0, 0, 0);
51343 return 0;
51345 _ACEOF
51346 rm -f conftest.$ac_objext
51347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51348 (eval $ac_compile) 2>conftest.er1
51349 ac_status=$?
51350 grep -v '^ *+' conftest.er1 >conftest.err
51351 rm -f conftest.er1
51352 cat conftest.err >&5
51353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51354 (exit $ac_status); } &&
51355 { ac_try='test -z "$ac_cxx_werror_flag"
51356 || test ! -s conftest.err'
51357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51358 (eval $ac_try) 2>&5
51359 ac_status=$?
51360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51361 (exit $ac_status); }; } &&
51362 { ac_try='test -s conftest.$ac_objext'
51363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51364 (eval $ac_try) 2>&5
51365 ac_status=$?
51366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51367 (exit $ac_status); }; }; then
51368 glibcxx_cv_func__sincosf_use=yes
51369 else
51370 echo "$as_me: failed program was:" >&5
51371 sed 's/^/| /' conftest.$ac_ext >&5
51373 glibcxx_cv_func__sincosf_use=no
51375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51376 ac_ext=c
51377 ac_cpp='$CPP $CPPFLAGS'
51378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51386 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51387 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51389 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51391 for ac_func in _sincosf
51393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51394 echo "$as_me:$LINENO: checking for $ac_func" >&5
51395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51396 if eval "test \"\${$as_ac_var+set}\" = set"; then
51397 echo $ECHO_N "(cached) $ECHO_C" >&6
51398 else
51399 if test x$gcc_no_link = xyes; then
51400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51402 { (exit 1); exit 1; }; }
51404 cat >conftest.$ac_ext <<_ACEOF
51405 /* confdefs.h. */
51406 _ACEOF
51407 cat confdefs.h >>conftest.$ac_ext
51408 cat >>conftest.$ac_ext <<_ACEOF
51409 /* end confdefs.h. */
51410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51412 #define $ac_func innocuous_$ac_func
51414 /* System header to define __stub macros and hopefully few prototypes,
51415 which can conflict with char $ac_func (); below.
51416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51417 <limits.h> exists even on freestanding compilers. */
51419 #ifdef __STDC__
51420 # include <limits.h>
51421 #else
51422 # include <assert.h>
51423 #endif
51425 #undef $ac_func
51427 /* Override any gcc2 internal prototype to avoid an error. */
51428 #ifdef __cplusplus
51429 extern "C"
51431 #endif
51432 /* We use char because int might match the return type of a gcc2
51433 builtin and then its argument prototype would still apply. */
51434 char $ac_func ();
51435 /* The GNU C library defines this for functions which it implements
51436 to always fail with ENOSYS. Some functions are actually named
51437 something starting with __ and the normal name is an alias. */
51438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51439 choke me
51440 #else
51441 char (*f) () = $ac_func;
51442 #endif
51443 #ifdef __cplusplus
51445 #endif
51448 main ()
51450 return f != $ac_func;
51452 return 0;
51454 _ACEOF
51455 rm -f conftest.$ac_objext conftest$ac_exeext
51456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51457 (eval $ac_link) 2>conftest.er1
51458 ac_status=$?
51459 grep -v '^ *+' conftest.er1 >conftest.err
51460 rm -f conftest.er1
51461 cat conftest.err >&5
51462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463 (exit $ac_status); } &&
51464 { ac_try='test -z "$ac_c_werror_flag"
51465 || test ! -s conftest.err'
51466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51467 (eval $ac_try) 2>&5
51468 ac_status=$?
51469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51470 (exit $ac_status); }; } &&
51471 { ac_try='test -s conftest$ac_exeext'
51472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51473 (eval $ac_try) 2>&5
51474 ac_status=$?
51475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51476 (exit $ac_status); }; }; then
51477 eval "$as_ac_var=yes"
51478 else
51479 echo "$as_me: failed program was:" >&5
51480 sed 's/^/| /' conftest.$ac_ext >&5
51482 eval "$as_ac_var=no"
51484 rm -f conftest.err conftest.$ac_objext \
51485 conftest$ac_exeext conftest.$ac_ext
51487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51489 if test `eval echo '${'$as_ac_var'}'` = yes; then
51490 cat >>confdefs.h <<_ACEOF
51491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51492 _ACEOF
51495 done
51505 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51506 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51507 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51508 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51509 echo $ECHO_N "(cached) $ECHO_C" >&6
51510 else
51514 ac_ext=cc
51515 ac_cpp='$CXXCPP $CPPFLAGS'
51516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51520 cat >conftest.$ac_ext <<_ACEOF
51521 /* confdefs.h. */
51522 _ACEOF
51523 cat confdefs.h >>conftest.$ac_ext
51524 cat >>conftest.$ac_ext <<_ACEOF
51525 /* end confdefs.h. */
51526 #include <math.h>
51527 #ifdef HAVE_IEEEFP_H
51528 #include <ieeefp.h>
51529 #endif
51532 main ()
51534 finitef(0);
51536 return 0;
51538 _ACEOF
51539 rm -f conftest.$ac_objext
51540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51541 (eval $ac_compile) 2>conftest.er1
51542 ac_status=$?
51543 grep -v '^ *+' conftest.er1 >conftest.err
51544 rm -f conftest.er1
51545 cat conftest.err >&5
51546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51547 (exit $ac_status); } &&
51548 { ac_try='test -z "$ac_cxx_werror_flag"
51549 || test ! -s conftest.err'
51550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51551 (eval $ac_try) 2>&5
51552 ac_status=$?
51553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51554 (exit $ac_status); }; } &&
51555 { ac_try='test -s conftest.$ac_objext'
51556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51557 (eval $ac_try) 2>&5
51558 ac_status=$?
51559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51560 (exit $ac_status); }; }; then
51561 glibcxx_cv_func_finitef_use=yes
51562 else
51563 echo "$as_me: failed program was:" >&5
51564 sed 's/^/| /' conftest.$ac_ext >&5
51566 glibcxx_cv_func_finitef_use=no
51568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51569 ac_ext=c
51570 ac_cpp='$CPP $CPPFLAGS'
51571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51580 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51582 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51584 for ac_func in finitef
51586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51587 echo "$as_me:$LINENO: checking for $ac_func" >&5
51588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51589 if eval "test \"\${$as_ac_var+set}\" = set"; then
51590 echo $ECHO_N "(cached) $ECHO_C" >&6
51591 else
51592 if test x$gcc_no_link = xyes; then
51593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51595 { (exit 1); exit 1; }; }
51597 cat >conftest.$ac_ext <<_ACEOF
51598 /* confdefs.h. */
51599 _ACEOF
51600 cat confdefs.h >>conftest.$ac_ext
51601 cat >>conftest.$ac_ext <<_ACEOF
51602 /* end confdefs.h. */
51603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51605 #define $ac_func innocuous_$ac_func
51607 /* System header to define __stub macros and hopefully few prototypes,
51608 which can conflict with char $ac_func (); below.
51609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51610 <limits.h> exists even on freestanding compilers. */
51612 #ifdef __STDC__
51613 # include <limits.h>
51614 #else
51615 # include <assert.h>
51616 #endif
51618 #undef $ac_func
51620 /* Override any gcc2 internal prototype to avoid an error. */
51621 #ifdef __cplusplus
51622 extern "C"
51624 #endif
51625 /* We use char because int might match the return type of a gcc2
51626 builtin and then its argument prototype would still apply. */
51627 char $ac_func ();
51628 /* The GNU C library defines this for functions which it implements
51629 to always fail with ENOSYS. Some functions are actually named
51630 something starting with __ and the normal name is an alias. */
51631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51632 choke me
51633 #else
51634 char (*f) () = $ac_func;
51635 #endif
51636 #ifdef __cplusplus
51638 #endif
51641 main ()
51643 return f != $ac_func;
51645 return 0;
51647 _ACEOF
51648 rm -f conftest.$ac_objext conftest$ac_exeext
51649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51650 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
51671 else
51672 echo "$as_me: failed program was:" >&5
51673 sed 's/^/| /' conftest.$ac_ext >&5
51675 eval "$as_ac_var=no"
51677 rm -f conftest.err conftest.$ac_objext \
51678 conftest$ac_exeext conftest.$ac_ext
51680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51682 if test `eval echo '${'$as_ac_var'}'` = yes; then
51683 cat >>confdefs.h <<_ACEOF
51684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51685 _ACEOF
51688 done
51690 else
51692 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51693 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51694 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51695 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51696 echo $ECHO_N "(cached) $ECHO_C" >&6
51697 else
51701 ac_ext=cc
51702 ac_cpp='$CXXCPP $CPPFLAGS'
51703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51707 cat >conftest.$ac_ext <<_ACEOF
51708 /* confdefs.h. */
51709 _ACEOF
51710 cat confdefs.h >>conftest.$ac_ext
51711 cat >>conftest.$ac_ext <<_ACEOF
51712 /* end confdefs.h. */
51713 #include <math.h>
51714 #ifdef HAVE_IEEEFP_H
51715 #include <ieeefp.h>
51716 #endif
51719 main ()
51721 _finitef(0);
51723 return 0;
51725 _ACEOF
51726 rm -f conftest.$ac_objext
51727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51728 (eval $ac_compile) 2>conftest.er1
51729 ac_status=$?
51730 grep -v '^ *+' conftest.er1 >conftest.err
51731 rm -f conftest.er1
51732 cat conftest.err >&5
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); } &&
51735 { ac_try='test -z "$ac_cxx_werror_flag"
51736 || test ! -s conftest.err'
51737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51738 (eval $ac_try) 2>&5
51739 ac_status=$?
51740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51741 (exit $ac_status); }; } &&
51742 { ac_try='test -s conftest.$ac_objext'
51743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51744 (eval $ac_try) 2>&5
51745 ac_status=$?
51746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51747 (exit $ac_status); }; }; then
51748 glibcxx_cv_func__finitef_use=yes
51749 else
51750 echo "$as_me: failed program was:" >&5
51751 sed 's/^/| /' conftest.$ac_ext >&5
51753 glibcxx_cv_func__finitef_use=no
51755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51756 ac_ext=c
51757 ac_cpp='$CPP $CPPFLAGS'
51758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
51767 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
51769 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51771 for ac_func in _finitef
51773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51774 echo "$as_me:$LINENO: checking for $ac_func" >&5
51775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51776 if eval "test \"\${$as_ac_var+set}\" = set"; then
51777 echo $ECHO_N "(cached) $ECHO_C" >&6
51778 else
51779 if test x$gcc_no_link = xyes; then
51780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51782 { (exit 1); exit 1; }; }
51784 cat >conftest.$ac_ext <<_ACEOF
51785 /* confdefs.h. */
51786 _ACEOF
51787 cat confdefs.h >>conftest.$ac_ext
51788 cat >>conftest.$ac_ext <<_ACEOF
51789 /* end confdefs.h. */
51790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51792 #define $ac_func innocuous_$ac_func
51794 /* System header to define __stub macros and hopefully few prototypes,
51795 which can conflict with char $ac_func (); below.
51796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51797 <limits.h> exists even on freestanding compilers. */
51799 #ifdef __STDC__
51800 # include <limits.h>
51801 #else
51802 # include <assert.h>
51803 #endif
51805 #undef $ac_func
51807 /* Override any gcc2 internal prototype to avoid an error. */
51808 #ifdef __cplusplus
51809 extern "C"
51811 #endif
51812 /* We use char because int might match the return type of a gcc2
51813 builtin and then its argument prototype would still apply. */
51814 char $ac_func ();
51815 /* The GNU C library defines this for functions which it implements
51816 to always fail with ENOSYS. Some functions are actually named
51817 something starting with __ and the normal name is an alias. */
51818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51819 choke me
51820 #else
51821 char (*f) () = $ac_func;
51822 #endif
51823 #ifdef __cplusplus
51825 #endif
51828 main ()
51830 return f != $ac_func;
51832 return 0;
51834 _ACEOF
51835 rm -f conftest.$ac_objext conftest$ac_exeext
51836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51837 (eval $ac_link) 2>conftest.er1
51838 ac_status=$?
51839 grep -v '^ *+' conftest.er1 >conftest.err
51840 rm -f conftest.er1
51841 cat conftest.err >&5
51842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51843 (exit $ac_status); } &&
51844 { ac_try='test -z "$ac_c_werror_flag"
51845 || test ! -s conftest.err'
51846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51847 (eval $ac_try) 2>&5
51848 ac_status=$?
51849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51850 (exit $ac_status); }; } &&
51851 { ac_try='test -s conftest$ac_exeext'
51852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51853 (eval $ac_try) 2>&5
51854 ac_status=$?
51855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51856 (exit $ac_status); }; }; then
51857 eval "$as_ac_var=yes"
51858 else
51859 echo "$as_me: failed program was:" >&5
51860 sed 's/^/| /' conftest.$ac_ext >&5
51862 eval "$as_ac_var=no"
51864 rm -f conftest.err conftest.$ac_objext \
51865 conftest$ac_exeext conftest.$ac_ext
51867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51869 if test `eval echo '${'$as_ac_var'}'` = yes; then
51870 cat >>confdefs.h <<_ACEOF
51871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51872 _ACEOF
51875 done
51885 echo "$as_me:$LINENO: checking for long double trig functions" >&5
51886 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
51887 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
51888 echo $ECHO_N "(cached) $ECHO_C" >&6
51889 else
51893 ac_ext=cc
51894 ac_cpp='$CXXCPP $CPPFLAGS'
51895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51899 cat >conftest.$ac_ext <<_ACEOF
51900 /* confdefs.h. */
51901 _ACEOF
51902 cat confdefs.h >>conftest.$ac_ext
51903 cat >>conftest.$ac_ext <<_ACEOF
51904 /* end confdefs.h. */
51905 #include <math.h>
51907 main ()
51909 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51911 return 0;
51913 _ACEOF
51914 rm -f conftest.$ac_objext
51915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51916 (eval $ac_compile) 2>conftest.er1
51917 ac_status=$?
51918 grep -v '^ *+' conftest.er1 >conftest.err
51919 rm -f conftest.er1
51920 cat conftest.err >&5
51921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51922 (exit $ac_status); } &&
51923 { ac_try='test -z "$ac_cxx_werror_flag"
51924 || test ! -s conftest.err'
51925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51926 (eval $ac_try) 2>&5
51927 ac_status=$?
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }; } &&
51930 { ac_try='test -s conftest.$ac_objext'
51931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51932 (eval $ac_try) 2>&5
51933 ac_status=$?
51934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51935 (exit $ac_status); }; }; then
51936 glibcxx_cv_func_long_double_trig_use=yes
51937 else
51938 echo "$as_me: failed program was:" >&5
51939 sed 's/^/| /' conftest.$ac_ext >&5
51941 glibcxx_cv_func_long_double_trig_use=no
51943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51944 ac_ext=c
51945 ac_cpp='$CPP $CPPFLAGS'
51946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
51953 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
51954 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51964 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51967 echo "$as_me:$LINENO: checking for $ac_func" >&5
51968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51969 if eval "test \"\${$as_ac_var+set}\" = set"; then
51970 echo $ECHO_N "(cached) $ECHO_C" >&6
51971 else
51972 if test x$gcc_no_link = xyes; then
51973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51975 { (exit 1); exit 1; }; }
51977 cat >conftest.$ac_ext <<_ACEOF
51978 /* confdefs.h. */
51979 _ACEOF
51980 cat confdefs.h >>conftest.$ac_ext
51981 cat >>conftest.$ac_ext <<_ACEOF
51982 /* end confdefs.h. */
51983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51985 #define $ac_func innocuous_$ac_func
51987 /* System header to define __stub macros and hopefully few prototypes,
51988 which can conflict with char $ac_func (); below.
51989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51990 <limits.h> exists even on freestanding compilers. */
51992 #ifdef __STDC__
51993 # include <limits.h>
51994 #else
51995 # include <assert.h>
51996 #endif
51998 #undef $ac_func
52000 /* Override any gcc2 internal prototype to avoid an error. */
52001 #ifdef __cplusplus
52002 extern "C"
52004 #endif
52005 /* We use char because int might match the return type of a gcc2
52006 builtin and then its argument prototype would still apply. */
52007 char $ac_func ();
52008 /* The GNU C library defines this for functions which it implements
52009 to always fail with ENOSYS. Some functions are actually named
52010 something starting with __ and the normal name is an alias. */
52011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52012 choke me
52013 #else
52014 char (*f) () = $ac_func;
52015 #endif
52016 #ifdef __cplusplus
52018 #endif
52021 main ()
52023 return f != $ac_func;
52025 return 0;
52027 _ACEOF
52028 rm -f conftest.$ac_objext conftest$ac_exeext
52029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52030 (eval $ac_link) 2>conftest.er1
52031 ac_status=$?
52032 grep -v '^ *+' conftest.er1 >conftest.err
52033 rm -f conftest.er1
52034 cat conftest.err >&5
52035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52036 (exit $ac_status); } &&
52037 { ac_try='test -z "$ac_c_werror_flag"
52038 || test ! -s conftest.err'
52039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52040 (eval $ac_try) 2>&5
52041 ac_status=$?
52042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52043 (exit $ac_status); }; } &&
52044 { ac_try='test -s conftest$ac_exeext'
52045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52046 (eval $ac_try) 2>&5
52047 ac_status=$?
52048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52049 (exit $ac_status); }; }; then
52050 eval "$as_ac_var=yes"
52051 else
52052 echo "$as_me: failed program was:" >&5
52053 sed 's/^/| /' conftest.$ac_ext >&5
52055 eval "$as_ac_var=no"
52057 rm -f conftest.err conftest.$ac_objext \
52058 conftest$ac_exeext conftest.$ac_ext
52060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52062 if test `eval echo '${'$as_ac_var'}'` = yes; then
52063 cat >>confdefs.h <<_ACEOF
52064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52065 _ACEOF
52068 done
52070 else
52071 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52072 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52073 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52074 echo $ECHO_N "(cached) $ECHO_C" >&6
52075 else
52079 ac_ext=cc
52080 ac_cpp='$CXXCPP $CPPFLAGS'
52081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52085 cat >conftest.$ac_ext <<_ACEOF
52086 /* confdefs.h. */
52087 _ACEOF
52088 cat confdefs.h >>conftest.$ac_ext
52089 cat >>conftest.$ac_ext <<_ACEOF
52090 /* end confdefs.h. */
52091 #include <math.h>
52093 main ()
52095 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52097 return 0;
52099 _ACEOF
52100 rm -f conftest.$ac_objext
52101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52102 (eval $ac_compile) 2>conftest.er1
52103 ac_status=$?
52104 grep -v '^ *+' conftest.er1 >conftest.err
52105 rm -f conftest.er1
52106 cat conftest.err >&5
52107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52108 (exit $ac_status); } &&
52109 { ac_try='test -z "$ac_cxx_werror_flag"
52110 || test ! -s conftest.err'
52111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52112 (eval $ac_try) 2>&5
52113 ac_status=$?
52114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52115 (exit $ac_status); }; } &&
52116 { ac_try='test -s conftest.$ac_objext'
52117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52118 (eval $ac_try) 2>&5
52119 ac_status=$?
52120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52121 (exit $ac_status); }; }; then
52122 glibcxx_cv_func__long_double_trig_use=yes
52123 else
52124 echo "$as_me: failed program was:" >&5
52125 sed 's/^/| /' conftest.$ac_ext >&5
52127 glibcxx_cv_func__long_double_trig_use=no
52129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52130 ac_ext=c
52131 ac_cpp='$CPP $CPPFLAGS'
52132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52138 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52139 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52140 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52150 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52153 echo "$as_me:$LINENO: checking for $ac_func" >&5
52154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52155 if eval "test \"\${$as_ac_var+set}\" = set"; then
52156 echo $ECHO_N "(cached) $ECHO_C" >&6
52157 else
52158 if test x$gcc_no_link = xyes; then
52159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52161 { (exit 1); exit 1; }; }
52163 cat >conftest.$ac_ext <<_ACEOF
52164 /* confdefs.h. */
52165 _ACEOF
52166 cat confdefs.h >>conftest.$ac_ext
52167 cat >>conftest.$ac_ext <<_ACEOF
52168 /* end confdefs.h. */
52169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52171 #define $ac_func innocuous_$ac_func
52173 /* System header to define __stub macros and hopefully few prototypes,
52174 which can conflict with char $ac_func (); below.
52175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52176 <limits.h> exists even on freestanding compilers. */
52178 #ifdef __STDC__
52179 # include <limits.h>
52180 #else
52181 # include <assert.h>
52182 #endif
52184 #undef $ac_func
52186 /* Override any gcc2 internal prototype to avoid an error. */
52187 #ifdef __cplusplus
52188 extern "C"
52190 #endif
52191 /* We use char because int might match the return type of a gcc2
52192 builtin and then its argument prototype would still apply. */
52193 char $ac_func ();
52194 /* The GNU C library defines this for functions which it implements
52195 to always fail with ENOSYS. Some functions are actually named
52196 something starting with __ and the normal name is an alias. */
52197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52198 choke me
52199 #else
52200 char (*f) () = $ac_func;
52201 #endif
52202 #ifdef __cplusplus
52204 #endif
52207 main ()
52209 return f != $ac_func;
52211 return 0;
52213 _ACEOF
52214 rm -f conftest.$ac_objext conftest$ac_exeext
52215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52216 (eval $ac_link) 2>conftest.er1
52217 ac_status=$?
52218 grep -v '^ *+' conftest.er1 >conftest.err
52219 rm -f conftest.er1
52220 cat conftest.err >&5
52221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52222 (exit $ac_status); } &&
52223 { ac_try='test -z "$ac_c_werror_flag"
52224 || test ! -s conftest.err'
52225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52226 (eval $ac_try) 2>&5
52227 ac_status=$?
52228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52229 (exit $ac_status); }; } &&
52230 { ac_try='test -s conftest$ac_exeext'
52231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52232 (eval $ac_try) 2>&5
52233 ac_status=$?
52234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52235 (exit $ac_status); }; }; then
52236 eval "$as_ac_var=yes"
52237 else
52238 echo "$as_me: failed program was:" >&5
52239 sed 's/^/| /' conftest.$ac_ext >&5
52241 eval "$as_ac_var=no"
52243 rm -f conftest.err conftest.$ac_objext \
52244 conftest$ac_exeext conftest.$ac_ext
52246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52248 if test `eval echo '${'$as_ac_var'}'` = yes; then
52249 cat >>confdefs.h <<_ACEOF
52250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52251 _ACEOF
52254 done
52272 echo "$as_me:$LINENO: checking for long double round functions" >&5
52273 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52274 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52275 echo $ECHO_N "(cached) $ECHO_C" >&6
52276 else
52280 ac_ext=cc
52281 ac_cpp='$CXXCPP $CPPFLAGS'
52282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52286 cat >conftest.$ac_ext <<_ACEOF
52287 /* confdefs.h. */
52288 _ACEOF
52289 cat confdefs.h >>conftest.$ac_ext
52290 cat >>conftest.$ac_ext <<_ACEOF
52291 /* end confdefs.h. */
52292 #include <math.h>
52294 main ()
52296 ceill (0); floorl (0);
52298 return 0;
52300 _ACEOF
52301 rm -f conftest.$ac_objext
52302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52303 (eval $ac_compile) 2>conftest.er1
52304 ac_status=$?
52305 grep -v '^ *+' conftest.er1 >conftest.err
52306 rm -f conftest.er1
52307 cat conftest.err >&5
52308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52309 (exit $ac_status); } &&
52310 { ac_try='test -z "$ac_cxx_werror_flag"
52311 || test ! -s conftest.err'
52312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52313 (eval $ac_try) 2>&5
52314 ac_status=$?
52315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52316 (exit $ac_status); }; } &&
52317 { ac_try='test -s conftest.$ac_objext'
52318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52319 (eval $ac_try) 2>&5
52320 ac_status=$?
52321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52322 (exit $ac_status); }; }; then
52323 glibcxx_cv_func_long_double_round_use=yes
52324 else
52325 echo "$as_me: failed program was:" >&5
52326 sed 's/^/| /' conftest.$ac_ext >&5
52328 glibcxx_cv_func_long_double_round_use=no
52330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52331 ac_ext=c
52332 ac_cpp='$CPP $CPPFLAGS'
52333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52340 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52341 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52344 for ac_func in ceill floorl
52346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52347 echo "$as_me:$LINENO: checking for $ac_func" >&5
52348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52349 if eval "test \"\${$as_ac_var+set}\" = set"; then
52350 echo $ECHO_N "(cached) $ECHO_C" >&6
52351 else
52352 if test x$gcc_no_link = xyes; then
52353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52355 { (exit 1); exit 1; }; }
52357 cat >conftest.$ac_ext <<_ACEOF
52358 /* confdefs.h. */
52359 _ACEOF
52360 cat confdefs.h >>conftest.$ac_ext
52361 cat >>conftest.$ac_ext <<_ACEOF
52362 /* end confdefs.h. */
52363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52365 #define $ac_func innocuous_$ac_func
52367 /* System header to define __stub macros and hopefully few prototypes,
52368 which can conflict with char $ac_func (); below.
52369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52370 <limits.h> exists even on freestanding compilers. */
52372 #ifdef __STDC__
52373 # include <limits.h>
52374 #else
52375 # include <assert.h>
52376 #endif
52378 #undef $ac_func
52380 /* Override any gcc2 internal prototype to avoid an error. */
52381 #ifdef __cplusplus
52382 extern "C"
52384 #endif
52385 /* We use char because int might match the return type of a gcc2
52386 builtin and then its argument prototype would still apply. */
52387 char $ac_func ();
52388 /* The GNU C library defines this for functions which it implements
52389 to always fail with ENOSYS. Some functions are actually named
52390 something starting with __ and the normal name is an alias. */
52391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52392 choke me
52393 #else
52394 char (*f) () = $ac_func;
52395 #endif
52396 #ifdef __cplusplus
52398 #endif
52401 main ()
52403 return f != $ac_func;
52405 return 0;
52407 _ACEOF
52408 rm -f conftest.$ac_objext conftest$ac_exeext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52410 (eval $ac_link) 2>conftest.er1
52411 ac_status=$?
52412 grep -v '^ *+' conftest.er1 >conftest.err
52413 rm -f conftest.er1
52414 cat conftest.err >&5
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); } &&
52417 { ac_try='test -z "$ac_c_werror_flag"
52418 || test ! -s conftest.err'
52419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52420 (eval $ac_try) 2>&5
52421 ac_status=$?
52422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52423 (exit $ac_status); }; } &&
52424 { ac_try='test -s conftest$ac_exeext'
52425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426 (eval $ac_try) 2>&5
52427 ac_status=$?
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); }; }; then
52430 eval "$as_ac_var=yes"
52431 else
52432 echo "$as_me: failed program was:" >&5
52433 sed 's/^/| /' conftest.$ac_ext >&5
52435 eval "$as_ac_var=no"
52437 rm -f conftest.err conftest.$ac_objext \
52438 conftest$ac_exeext conftest.$ac_ext
52440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52442 if test `eval echo '${'$as_ac_var'}'` = yes; then
52443 cat >>confdefs.h <<_ACEOF
52444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52445 _ACEOF
52448 done
52450 else
52451 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52452 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52453 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52454 echo $ECHO_N "(cached) $ECHO_C" >&6
52455 else
52459 ac_ext=cc
52460 ac_cpp='$CXXCPP $CPPFLAGS'
52461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52465 cat >conftest.$ac_ext <<_ACEOF
52466 /* confdefs.h. */
52467 _ACEOF
52468 cat confdefs.h >>conftest.$ac_ext
52469 cat >>conftest.$ac_ext <<_ACEOF
52470 /* end confdefs.h. */
52471 #include <math.h>
52473 main ()
52475 _ceill (0); _floorl (0);
52477 return 0;
52479 _ACEOF
52480 rm -f conftest.$ac_objext
52481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52482 (eval $ac_compile) 2>conftest.er1
52483 ac_status=$?
52484 grep -v '^ *+' conftest.er1 >conftest.err
52485 rm -f conftest.er1
52486 cat conftest.err >&5
52487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52488 (exit $ac_status); } &&
52489 { ac_try='test -z "$ac_cxx_werror_flag"
52490 || test ! -s conftest.err'
52491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52492 (eval $ac_try) 2>&5
52493 ac_status=$?
52494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52495 (exit $ac_status); }; } &&
52496 { ac_try='test -s conftest.$ac_objext'
52497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52498 (eval $ac_try) 2>&5
52499 ac_status=$?
52500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52501 (exit $ac_status); }; }; then
52502 glibcxx_cv_func__long_double_round_use=yes
52503 else
52504 echo "$as_me: failed program was:" >&5
52505 sed 's/^/| /' conftest.$ac_ext >&5
52507 glibcxx_cv_func__long_double_round_use=no
52509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52510 ac_ext=c
52511 ac_cpp='$CPP $CPPFLAGS'
52512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52519 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52520 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52523 for ac_func in _ceill _floorl
52525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52526 echo "$as_me:$LINENO: checking for $ac_func" >&5
52527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52528 if eval "test \"\${$as_ac_var+set}\" = set"; then
52529 echo $ECHO_N "(cached) $ECHO_C" >&6
52530 else
52531 if test x$gcc_no_link = xyes; then
52532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52534 { (exit 1); exit 1; }; }
52536 cat >conftest.$ac_ext <<_ACEOF
52537 /* confdefs.h. */
52538 _ACEOF
52539 cat confdefs.h >>conftest.$ac_ext
52540 cat >>conftest.$ac_ext <<_ACEOF
52541 /* end confdefs.h. */
52542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52544 #define $ac_func innocuous_$ac_func
52546 /* System header to define __stub macros and hopefully few prototypes,
52547 which can conflict with char $ac_func (); below.
52548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52549 <limits.h> exists even on freestanding compilers. */
52551 #ifdef __STDC__
52552 # include <limits.h>
52553 #else
52554 # include <assert.h>
52555 #endif
52557 #undef $ac_func
52559 /* Override any gcc2 internal prototype to avoid an error. */
52560 #ifdef __cplusplus
52561 extern "C"
52563 #endif
52564 /* We use char because int might match the return type of a gcc2
52565 builtin and then its argument prototype would still apply. */
52566 char $ac_func ();
52567 /* The GNU C library defines this for functions which it implements
52568 to always fail with ENOSYS. Some functions are actually named
52569 something starting with __ and the normal name is an alias. */
52570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52571 choke me
52572 #else
52573 char (*f) () = $ac_func;
52574 #endif
52575 #ifdef __cplusplus
52577 #endif
52580 main ()
52582 return f != $ac_func;
52584 return 0;
52586 _ACEOF
52587 rm -f conftest.$ac_objext conftest$ac_exeext
52588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52589 (eval $ac_link) 2>conftest.er1
52590 ac_status=$?
52591 grep -v '^ *+' conftest.er1 >conftest.err
52592 rm -f conftest.er1
52593 cat conftest.err >&5
52594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52595 (exit $ac_status); } &&
52596 { ac_try='test -z "$ac_c_werror_flag"
52597 || test ! -s conftest.err'
52598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52599 (eval $ac_try) 2>&5
52600 ac_status=$?
52601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52602 (exit $ac_status); }; } &&
52603 { ac_try='test -s conftest$ac_exeext'
52604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52605 (eval $ac_try) 2>&5
52606 ac_status=$?
52607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52608 (exit $ac_status); }; }; then
52609 eval "$as_ac_var=yes"
52610 else
52611 echo "$as_me: failed program was:" >&5
52612 sed 's/^/| /' conftest.$ac_ext >&5
52614 eval "$as_ac_var=no"
52616 rm -f conftest.err conftest.$ac_objext \
52617 conftest$ac_exeext conftest.$ac_ext
52619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52621 if test `eval echo '${'$as_ac_var'}'` = yes; then
52622 cat >>confdefs.h <<_ACEOF
52623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52624 _ACEOF
52627 done
52639 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52640 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52641 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52642 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52643 echo $ECHO_N "(cached) $ECHO_C" >&6
52644 else
52648 ac_ext=cc
52649 ac_cpp='$CXXCPP $CPPFLAGS'
52650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52654 cat >conftest.$ac_ext <<_ACEOF
52655 /* confdefs.h. */
52656 _ACEOF
52657 cat confdefs.h >>conftest.$ac_ext
52658 cat >>conftest.$ac_ext <<_ACEOF
52659 /* end confdefs.h. */
52660 #include <math.h>
52661 #ifdef HAVE_IEEEFP_H
52662 #include <ieeefp.h>
52663 #endif
52666 main ()
52668 isnanl(0);
52670 return 0;
52672 _ACEOF
52673 rm -f conftest.$ac_objext
52674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52675 (eval $ac_compile) 2>conftest.er1
52676 ac_status=$?
52677 grep -v '^ *+' conftest.er1 >conftest.err
52678 rm -f conftest.er1
52679 cat conftest.err >&5
52680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52681 (exit $ac_status); } &&
52682 { ac_try='test -z "$ac_cxx_werror_flag"
52683 || test ! -s conftest.err'
52684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52685 (eval $ac_try) 2>&5
52686 ac_status=$?
52687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52688 (exit $ac_status); }; } &&
52689 { ac_try='test -s conftest.$ac_objext'
52690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52691 (eval $ac_try) 2>&5
52692 ac_status=$?
52693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52694 (exit $ac_status); }; }; then
52695 glibcxx_cv_func_isnanl_use=yes
52696 else
52697 echo "$as_me: failed program was:" >&5
52698 sed 's/^/| /' conftest.$ac_ext >&5
52700 glibcxx_cv_func_isnanl_use=no
52702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52703 ac_ext=c
52704 ac_cpp='$CPP $CPPFLAGS'
52705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52714 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52716 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52718 for ac_func in isnanl
52720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52721 echo "$as_me:$LINENO: checking for $ac_func" >&5
52722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52723 if eval "test \"\${$as_ac_var+set}\" = set"; then
52724 echo $ECHO_N "(cached) $ECHO_C" >&6
52725 else
52726 if test x$gcc_no_link = xyes; then
52727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52729 { (exit 1); exit 1; }; }
52731 cat >conftest.$ac_ext <<_ACEOF
52732 /* confdefs.h. */
52733 _ACEOF
52734 cat confdefs.h >>conftest.$ac_ext
52735 cat >>conftest.$ac_ext <<_ACEOF
52736 /* end confdefs.h. */
52737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52739 #define $ac_func innocuous_$ac_func
52741 /* System header to define __stub macros and hopefully few prototypes,
52742 which can conflict with char $ac_func (); below.
52743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52744 <limits.h> exists even on freestanding compilers. */
52746 #ifdef __STDC__
52747 # include <limits.h>
52748 #else
52749 # include <assert.h>
52750 #endif
52752 #undef $ac_func
52754 /* Override any gcc2 internal prototype to avoid an error. */
52755 #ifdef __cplusplus
52756 extern "C"
52758 #endif
52759 /* We use char because int might match the return type of a gcc2
52760 builtin and then its argument prototype would still apply. */
52761 char $ac_func ();
52762 /* The GNU C library defines this for functions which it implements
52763 to always fail with ENOSYS. Some functions are actually named
52764 something starting with __ and the normal name is an alias. */
52765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52766 choke me
52767 #else
52768 char (*f) () = $ac_func;
52769 #endif
52770 #ifdef __cplusplus
52772 #endif
52775 main ()
52777 return f != $ac_func;
52779 return 0;
52781 _ACEOF
52782 rm -f conftest.$ac_objext conftest$ac_exeext
52783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52784 (eval $ac_link) 2>conftest.er1
52785 ac_status=$?
52786 grep -v '^ *+' conftest.er1 >conftest.err
52787 rm -f conftest.er1
52788 cat conftest.err >&5
52789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52790 (exit $ac_status); } &&
52791 { ac_try='test -z "$ac_c_werror_flag"
52792 || test ! -s conftest.err'
52793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52794 (eval $ac_try) 2>&5
52795 ac_status=$?
52796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52797 (exit $ac_status); }; } &&
52798 { ac_try='test -s conftest$ac_exeext'
52799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52800 (eval $ac_try) 2>&5
52801 ac_status=$?
52802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52803 (exit $ac_status); }; }; then
52804 eval "$as_ac_var=yes"
52805 else
52806 echo "$as_me: failed program was:" >&5
52807 sed 's/^/| /' conftest.$ac_ext >&5
52809 eval "$as_ac_var=no"
52811 rm -f conftest.err conftest.$ac_objext \
52812 conftest$ac_exeext conftest.$ac_ext
52814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52816 if test `eval echo '${'$as_ac_var'}'` = yes; then
52817 cat >>confdefs.h <<_ACEOF
52818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52819 _ACEOF
52822 done
52824 else
52826 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
52827 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
52828 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52829 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
52830 echo $ECHO_N "(cached) $ECHO_C" >&6
52831 else
52835 ac_ext=cc
52836 ac_cpp='$CXXCPP $CPPFLAGS'
52837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52841 cat >conftest.$ac_ext <<_ACEOF
52842 /* confdefs.h. */
52843 _ACEOF
52844 cat confdefs.h >>conftest.$ac_ext
52845 cat >>conftest.$ac_ext <<_ACEOF
52846 /* end confdefs.h. */
52847 #include <math.h>
52848 #ifdef HAVE_IEEEFP_H
52849 #include <ieeefp.h>
52850 #endif
52853 main ()
52855 _isnanl(0);
52857 return 0;
52859 _ACEOF
52860 rm -f conftest.$ac_objext
52861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52862 (eval $ac_compile) 2>conftest.er1
52863 ac_status=$?
52864 grep -v '^ *+' conftest.er1 >conftest.err
52865 rm -f conftest.er1
52866 cat conftest.err >&5
52867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52868 (exit $ac_status); } &&
52869 { ac_try='test -z "$ac_cxx_werror_flag"
52870 || test ! -s conftest.err'
52871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52872 (eval $ac_try) 2>&5
52873 ac_status=$?
52874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52875 (exit $ac_status); }; } &&
52876 { ac_try='test -s conftest.$ac_objext'
52877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52878 (eval $ac_try) 2>&5
52879 ac_status=$?
52880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52881 (exit $ac_status); }; }; then
52882 glibcxx_cv_func__isnanl_use=yes
52883 else
52884 echo "$as_me: failed program was:" >&5
52885 sed 's/^/| /' conftest.$ac_ext >&5
52887 glibcxx_cv_func__isnanl_use=no
52889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52890 ac_ext=c
52891 ac_cpp='$CPP $CPPFLAGS'
52892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
52901 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
52903 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52905 for ac_func in _isnanl
52907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52908 echo "$as_me:$LINENO: checking for $ac_func" >&5
52909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52910 if eval "test \"\${$as_ac_var+set}\" = set"; then
52911 echo $ECHO_N "(cached) $ECHO_C" >&6
52912 else
52913 if test x$gcc_no_link = xyes; then
52914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52916 { (exit 1); exit 1; }; }
52918 cat >conftest.$ac_ext <<_ACEOF
52919 /* confdefs.h. */
52920 _ACEOF
52921 cat confdefs.h >>conftest.$ac_ext
52922 cat >>conftest.$ac_ext <<_ACEOF
52923 /* end confdefs.h. */
52924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52926 #define $ac_func innocuous_$ac_func
52928 /* System header to define __stub macros and hopefully few prototypes,
52929 which can conflict with char $ac_func (); below.
52930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52931 <limits.h> exists even on freestanding compilers. */
52933 #ifdef __STDC__
52934 # include <limits.h>
52935 #else
52936 # include <assert.h>
52937 #endif
52939 #undef $ac_func
52941 /* Override any gcc2 internal prototype to avoid an error. */
52942 #ifdef __cplusplus
52943 extern "C"
52945 #endif
52946 /* We use char because int might match the return type of a gcc2
52947 builtin and then its argument prototype would still apply. */
52948 char $ac_func ();
52949 /* The GNU C library defines this for functions which it implements
52950 to always fail with ENOSYS. Some functions are actually named
52951 something starting with __ and the normal name is an alias. */
52952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52953 choke me
52954 #else
52955 char (*f) () = $ac_func;
52956 #endif
52957 #ifdef __cplusplus
52959 #endif
52962 main ()
52964 return f != $ac_func;
52966 return 0;
52968 _ACEOF
52969 rm -f conftest.$ac_objext conftest$ac_exeext
52970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52971 (eval $ac_link) 2>conftest.er1
52972 ac_status=$?
52973 grep -v '^ *+' conftest.er1 >conftest.err
52974 rm -f conftest.er1
52975 cat conftest.err >&5
52976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52977 (exit $ac_status); } &&
52978 { ac_try='test -z "$ac_c_werror_flag"
52979 || test ! -s conftest.err'
52980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52981 (eval $ac_try) 2>&5
52982 ac_status=$?
52983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52984 (exit $ac_status); }; } &&
52985 { ac_try='test -s conftest$ac_exeext'
52986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52987 (eval $ac_try) 2>&5
52988 ac_status=$?
52989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52990 (exit $ac_status); }; }; then
52991 eval "$as_ac_var=yes"
52992 else
52993 echo "$as_me: failed program was:" >&5
52994 sed 's/^/| /' conftest.$ac_ext >&5
52996 eval "$as_ac_var=no"
52998 rm -f conftest.err conftest.$ac_objext \
52999 conftest$ac_exeext conftest.$ac_ext
53001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53003 if test `eval echo '${'$as_ac_var'}'` = yes; then
53004 cat >>confdefs.h <<_ACEOF
53005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53006 _ACEOF
53009 done
53019 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53020 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53021 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53022 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53023 echo $ECHO_N "(cached) $ECHO_C" >&6
53024 else
53028 ac_ext=cc
53029 ac_cpp='$CXXCPP $CPPFLAGS'
53030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53034 cat >conftest.$ac_ext <<_ACEOF
53035 /* confdefs.h. */
53036 _ACEOF
53037 cat confdefs.h >>conftest.$ac_ext
53038 cat >>conftest.$ac_ext <<_ACEOF
53039 /* end confdefs.h. */
53040 #include <math.h>
53041 #ifdef HAVE_IEEEFP_H
53042 #include <ieeefp.h>
53043 #endif
53046 main ()
53048 isinfl(0);
53050 return 0;
53052 _ACEOF
53053 rm -f conftest.$ac_objext
53054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53055 (eval $ac_compile) 2>conftest.er1
53056 ac_status=$?
53057 grep -v '^ *+' conftest.er1 >conftest.err
53058 rm -f conftest.er1
53059 cat conftest.err >&5
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); } &&
53062 { ac_try='test -z "$ac_cxx_werror_flag"
53063 || test ! -s conftest.err'
53064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53065 (eval $ac_try) 2>&5
53066 ac_status=$?
53067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53068 (exit $ac_status); }; } &&
53069 { ac_try='test -s conftest.$ac_objext'
53070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53071 (eval $ac_try) 2>&5
53072 ac_status=$?
53073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53074 (exit $ac_status); }; }; then
53075 glibcxx_cv_func_isinfl_use=yes
53076 else
53077 echo "$as_me: failed program was:" >&5
53078 sed 's/^/| /' conftest.$ac_ext >&5
53080 glibcxx_cv_func_isinfl_use=no
53082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53083 ac_ext=c
53084 ac_cpp='$CPP $CPPFLAGS'
53085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53094 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53096 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53098 for ac_func in isinfl
53100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53101 echo "$as_me:$LINENO: checking for $ac_func" >&5
53102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53103 if eval "test \"\${$as_ac_var+set}\" = set"; then
53104 echo $ECHO_N "(cached) $ECHO_C" >&6
53105 else
53106 if test x$gcc_no_link = xyes; then
53107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53109 { (exit 1); exit 1; }; }
53111 cat >conftest.$ac_ext <<_ACEOF
53112 /* confdefs.h. */
53113 _ACEOF
53114 cat confdefs.h >>conftest.$ac_ext
53115 cat >>conftest.$ac_ext <<_ACEOF
53116 /* end confdefs.h. */
53117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53119 #define $ac_func innocuous_$ac_func
53121 /* System header to define __stub macros and hopefully few prototypes,
53122 which can conflict with char $ac_func (); below.
53123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53124 <limits.h> exists even on freestanding compilers. */
53126 #ifdef __STDC__
53127 # include <limits.h>
53128 #else
53129 # include <assert.h>
53130 #endif
53132 #undef $ac_func
53134 /* Override any gcc2 internal prototype to avoid an error. */
53135 #ifdef __cplusplus
53136 extern "C"
53138 #endif
53139 /* We use char because int might match the return type of a gcc2
53140 builtin and then its argument prototype would still apply. */
53141 char $ac_func ();
53142 /* The GNU C library defines this for functions which it implements
53143 to always fail with ENOSYS. Some functions are actually named
53144 something starting with __ and the normal name is an alias. */
53145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53146 choke me
53147 #else
53148 char (*f) () = $ac_func;
53149 #endif
53150 #ifdef __cplusplus
53152 #endif
53155 main ()
53157 return f != $ac_func;
53159 return 0;
53161 _ACEOF
53162 rm -f conftest.$ac_objext conftest$ac_exeext
53163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53164 (eval $ac_link) 2>conftest.er1
53165 ac_status=$?
53166 grep -v '^ *+' conftest.er1 >conftest.err
53167 rm -f conftest.er1
53168 cat conftest.err >&5
53169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53170 (exit $ac_status); } &&
53171 { ac_try='test -z "$ac_c_werror_flag"
53172 || test ! -s conftest.err'
53173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53174 (eval $ac_try) 2>&5
53175 ac_status=$?
53176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53177 (exit $ac_status); }; } &&
53178 { ac_try='test -s conftest$ac_exeext'
53179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53180 (eval $ac_try) 2>&5
53181 ac_status=$?
53182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53183 (exit $ac_status); }; }; then
53184 eval "$as_ac_var=yes"
53185 else
53186 echo "$as_me: failed program was:" >&5
53187 sed 's/^/| /' conftest.$ac_ext >&5
53189 eval "$as_ac_var=no"
53191 rm -f conftest.err conftest.$ac_objext \
53192 conftest$ac_exeext conftest.$ac_ext
53194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53196 if test `eval echo '${'$as_ac_var'}'` = yes; then
53197 cat >>confdefs.h <<_ACEOF
53198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53199 _ACEOF
53202 done
53204 else
53206 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53207 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53208 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53209 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53210 echo $ECHO_N "(cached) $ECHO_C" >&6
53211 else
53215 ac_ext=cc
53216 ac_cpp='$CXXCPP $CPPFLAGS'
53217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53221 cat >conftest.$ac_ext <<_ACEOF
53222 /* confdefs.h. */
53223 _ACEOF
53224 cat confdefs.h >>conftest.$ac_ext
53225 cat >>conftest.$ac_ext <<_ACEOF
53226 /* end confdefs.h. */
53227 #include <math.h>
53228 #ifdef HAVE_IEEEFP_H
53229 #include <ieeefp.h>
53230 #endif
53233 main ()
53235 _isinfl(0);
53237 return 0;
53239 _ACEOF
53240 rm -f conftest.$ac_objext
53241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53242 (eval $ac_compile) 2>conftest.er1
53243 ac_status=$?
53244 grep -v '^ *+' conftest.er1 >conftest.err
53245 rm -f conftest.er1
53246 cat conftest.err >&5
53247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53248 (exit $ac_status); } &&
53249 { ac_try='test -z "$ac_cxx_werror_flag"
53250 || test ! -s conftest.err'
53251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53252 (eval $ac_try) 2>&5
53253 ac_status=$?
53254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53255 (exit $ac_status); }; } &&
53256 { ac_try='test -s conftest.$ac_objext'
53257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53258 (eval $ac_try) 2>&5
53259 ac_status=$?
53260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53261 (exit $ac_status); }; }; then
53262 glibcxx_cv_func__isinfl_use=yes
53263 else
53264 echo "$as_me: failed program was:" >&5
53265 sed 's/^/| /' conftest.$ac_ext >&5
53267 glibcxx_cv_func__isinfl_use=no
53269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53270 ac_ext=c
53271 ac_cpp='$CPP $CPPFLAGS'
53272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53281 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53283 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53285 for ac_func in _isinfl
53287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53288 echo "$as_me:$LINENO: checking for $ac_func" >&5
53289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53290 if eval "test \"\${$as_ac_var+set}\" = set"; then
53291 echo $ECHO_N "(cached) $ECHO_C" >&6
53292 else
53293 if test x$gcc_no_link = xyes; then
53294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53296 { (exit 1); exit 1; }; }
53298 cat >conftest.$ac_ext <<_ACEOF
53299 /* confdefs.h. */
53300 _ACEOF
53301 cat confdefs.h >>conftest.$ac_ext
53302 cat >>conftest.$ac_ext <<_ACEOF
53303 /* end confdefs.h. */
53304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53306 #define $ac_func innocuous_$ac_func
53308 /* System header to define __stub macros and hopefully few prototypes,
53309 which can conflict with char $ac_func (); below.
53310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53311 <limits.h> exists even on freestanding compilers. */
53313 #ifdef __STDC__
53314 # include <limits.h>
53315 #else
53316 # include <assert.h>
53317 #endif
53319 #undef $ac_func
53321 /* Override any gcc2 internal prototype to avoid an error. */
53322 #ifdef __cplusplus
53323 extern "C"
53325 #endif
53326 /* We use char because int might match the return type of a gcc2
53327 builtin and then its argument prototype would still apply. */
53328 char $ac_func ();
53329 /* The GNU C library defines this for functions which it implements
53330 to always fail with ENOSYS. Some functions are actually named
53331 something starting with __ and the normal name is an alias. */
53332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53333 choke me
53334 #else
53335 char (*f) () = $ac_func;
53336 #endif
53337 #ifdef __cplusplus
53339 #endif
53342 main ()
53344 return f != $ac_func;
53346 return 0;
53348 _ACEOF
53349 rm -f conftest.$ac_objext conftest$ac_exeext
53350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53351 (eval $ac_link) 2>conftest.er1
53352 ac_status=$?
53353 grep -v '^ *+' conftest.er1 >conftest.err
53354 rm -f conftest.er1
53355 cat conftest.err >&5
53356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53357 (exit $ac_status); } &&
53358 { ac_try='test -z "$ac_c_werror_flag"
53359 || test ! -s conftest.err'
53360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53361 (eval $ac_try) 2>&5
53362 ac_status=$?
53363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53364 (exit $ac_status); }; } &&
53365 { ac_try='test -s conftest$ac_exeext'
53366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53367 (eval $ac_try) 2>&5
53368 ac_status=$?
53369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53370 (exit $ac_status); }; }; then
53371 eval "$as_ac_var=yes"
53372 else
53373 echo "$as_me: failed program was:" >&5
53374 sed 's/^/| /' conftest.$ac_ext >&5
53376 eval "$as_ac_var=no"
53378 rm -f conftest.err conftest.$ac_objext \
53379 conftest$ac_exeext conftest.$ac_ext
53381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53383 if test `eval echo '${'$as_ac_var'}'` = yes; then
53384 cat >>confdefs.h <<_ACEOF
53385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53386 _ACEOF
53389 done
53399 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
53400 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
53401 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
53402 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
53403 echo $ECHO_N "(cached) $ECHO_C" >&6
53404 else
53408 ac_ext=cc
53409 ac_cpp='$CXXCPP $CPPFLAGS'
53410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53414 cat >conftest.$ac_ext <<_ACEOF
53415 /* confdefs.h. */
53416 _ACEOF
53417 cat confdefs.h >>conftest.$ac_ext
53418 cat >>conftest.$ac_ext <<_ACEOF
53419 /* end confdefs.h. */
53420 #include <math.h>
53422 main ()
53424 copysignl(0, 0);
53426 return 0;
53428 _ACEOF
53429 rm -f conftest.$ac_objext
53430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53431 (eval $ac_compile) 2>conftest.er1
53432 ac_status=$?
53433 grep -v '^ *+' conftest.er1 >conftest.err
53434 rm -f conftest.er1
53435 cat conftest.err >&5
53436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53437 (exit $ac_status); } &&
53438 { ac_try='test -z "$ac_cxx_werror_flag"
53439 || test ! -s conftest.err'
53440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53441 (eval $ac_try) 2>&5
53442 ac_status=$?
53443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53444 (exit $ac_status); }; } &&
53445 { ac_try='test -s conftest.$ac_objext'
53446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53447 (eval $ac_try) 2>&5
53448 ac_status=$?
53449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53450 (exit $ac_status); }; }; then
53451 glibcxx_cv_func_copysignl_use=yes
53452 else
53453 echo "$as_me: failed program was:" >&5
53454 sed 's/^/| /' conftest.$ac_ext >&5
53456 glibcxx_cv_func_copysignl_use=no
53458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53459 ac_ext=c
53460 ac_cpp='$CPP $CPPFLAGS'
53461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
53470 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
53472 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
53474 for ac_func in copysignl
53476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53477 echo "$as_me:$LINENO: checking for $ac_func" >&5
53478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53479 if eval "test \"\${$as_ac_var+set}\" = set"; then
53480 echo $ECHO_N "(cached) $ECHO_C" >&6
53481 else
53482 if test x$gcc_no_link = xyes; then
53483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53485 { (exit 1); exit 1; }; }
53487 cat >conftest.$ac_ext <<_ACEOF
53488 /* confdefs.h. */
53489 _ACEOF
53490 cat confdefs.h >>conftest.$ac_ext
53491 cat >>conftest.$ac_ext <<_ACEOF
53492 /* end confdefs.h. */
53493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53495 #define $ac_func innocuous_$ac_func
53497 /* System header to define __stub macros and hopefully few prototypes,
53498 which can conflict with char $ac_func (); below.
53499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53500 <limits.h> exists even on freestanding compilers. */
53502 #ifdef __STDC__
53503 # include <limits.h>
53504 #else
53505 # include <assert.h>
53506 #endif
53508 #undef $ac_func
53510 /* Override any gcc2 internal prototype to avoid an error. */
53511 #ifdef __cplusplus
53512 extern "C"
53514 #endif
53515 /* We use char because int might match the return type of a gcc2
53516 builtin and then its argument prototype would still apply. */
53517 char $ac_func ();
53518 /* The GNU C library defines this for functions which it implements
53519 to always fail with ENOSYS. Some functions are actually named
53520 something starting with __ and the normal name is an alias. */
53521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53522 choke me
53523 #else
53524 char (*f) () = $ac_func;
53525 #endif
53526 #ifdef __cplusplus
53528 #endif
53531 main ()
53533 return f != $ac_func;
53535 return 0;
53537 _ACEOF
53538 rm -f conftest.$ac_objext conftest$ac_exeext
53539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53540 (eval $ac_link) 2>conftest.er1
53541 ac_status=$?
53542 grep -v '^ *+' conftest.er1 >conftest.err
53543 rm -f conftest.er1
53544 cat conftest.err >&5
53545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53546 (exit $ac_status); } &&
53547 { ac_try='test -z "$ac_c_werror_flag"
53548 || test ! -s conftest.err'
53549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53550 (eval $ac_try) 2>&5
53551 ac_status=$?
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); }; } &&
53554 { ac_try='test -s conftest$ac_exeext'
53555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53556 (eval $ac_try) 2>&5
53557 ac_status=$?
53558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53559 (exit $ac_status); }; }; then
53560 eval "$as_ac_var=yes"
53561 else
53562 echo "$as_me: failed program was:" >&5
53563 sed 's/^/| /' conftest.$ac_ext >&5
53565 eval "$as_ac_var=no"
53567 rm -f conftest.err conftest.$ac_objext \
53568 conftest$ac_exeext conftest.$ac_ext
53570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53572 if test `eval echo '${'$as_ac_var'}'` = yes; then
53573 cat >>confdefs.h <<_ACEOF
53574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53575 _ACEOF
53578 done
53580 else
53582 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
53583 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
53584 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
53585 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
53586 echo $ECHO_N "(cached) $ECHO_C" >&6
53587 else
53591 ac_ext=cc
53592 ac_cpp='$CXXCPP $CPPFLAGS'
53593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53597 cat >conftest.$ac_ext <<_ACEOF
53598 /* confdefs.h. */
53599 _ACEOF
53600 cat confdefs.h >>conftest.$ac_ext
53601 cat >>conftest.$ac_ext <<_ACEOF
53602 /* end confdefs.h. */
53603 #include <math.h>
53605 main ()
53607 _copysignl(0, 0);
53609 return 0;
53611 _ACEOF
53612 rm -f conftest.$ac_objext
53613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53614 (eval $ac_compile) 2>conftest.er1
53615 ac_status=$?
53616 grep -v '^ *+' conftest.er1 >conftest.err
53617 rm -f conftest.er1
53618 cat conftest.err >&5
53619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53620 (exit $ac_status); } &&
53621 { ac_try='test -z "$ac_cxx_werror_flag"
53622 || test ! -s conftest.err'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; } &&
53628 { ac_try='test -s conftest.$ac_objext'
53629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53630 (eval $ac_try) 2>&5
53631 ac_status=$?
53632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633 (exit $ac_status); }; }; then
53634 glibcxx_cv_func__copysignl_use=yes
53635 else
53636 echo "$as_me: failed program was:" >&5
53637 sed 's/^/| /' conftest.$ac_ext >&5
53639 glibcxx_cv_func__copysignl_use=no
53641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53642 ac_ext=c
53643 ac_cpp='$CPP $CPPFLAGS'
53644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
53653 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
53655 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
53657 for ac_func in _copysignl
53659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53660 echo "$as_me:$LINENO: checking for $ac_func" >&5
53661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53662 if eval "test \"\${$as_ac_var+set}\" = set"; then
53663 echo $ECHO_N "(cached) $ECHO_C" >&6
53664 else
53665 if test x$gcc_no_link = xyes; then
53666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53668 { (exit 1); exit 1; }; }
53670 cat >conftest.$ac_ext <<_ACEOF
53671 /* confdefs.h. */
53672 _ACEOF
53673 cat confdefs.h >>conftest.$ac_ext
53674 cat >>conftest.$ac_ext <<_ACEOF
53675 /* end confdefs.h. */
53676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53678 #define $ac_func innocuous_$ac_func
53680 /* System header to define __stub macros and hopefully few prototypes,
53681 which can conflict with char $ac_func (); below.
53682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53683 <limits.h> exists even on freestanding compilers. */
53685 #ifdef __STDC__
53686 # include <limits.h>
53687 #else
53688 # include <assert.h>
53689 #endif
53691 #undef $ac_func
53693 /* Override any gcc2 internal prototype to avoid an error. */
53694 #ifdef __cplusplus
53695 extern "C"
53697 #endif
53698 /* We use char because int might match the return type of a gcc2
53699 builtin and then its argument prototype would still apply. */
53700 char $ac_func ();
53701 /* The GNU C library defines this for functions which it implements
53702 to always fail with ENOSYS. Some functions are actually named
53703 something starting with __ and the normal name is an alias. */
53704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53705 choke me
53706 #else
53707 char (*f) () = $ac_func;
53708 #endif
53709 #ifdef __cplusplus
53711 #endif
53714 main ()
53716 return f != $ac_func;
53718 return 0;
53720 _ACEOF
53721 rm -f conftest.$ac_objext conftest$ac_exeext
53722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53723 (eval $ac_link) 2>conftest.er1
53724 ac_status=$?
53725 grep -v '^ *+' conftest.er1 >conftest.err
53726 rm -f conftest.er1
53727 cat conftest.err >&5
53728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53729 (exit $ac_status); } &&
53730 { ac_try='test -z "$ac_c_werror_flag"
53731 || test ! -s conftest.err'
53732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733 (eval $ac_try) 2>&5
53734 ac_status=$?
53735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736 (exit $ac_status); }; } &&
53737 { ac_try='test -s conftest$ac_exeext'
53738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53739 (eval $ac_try) 2>&5
53740 ac_status=$?
53741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53742 (exit $ac_status); }; }; then
53743 eval "$as_ac_var=yes"
53744 else
53745 echo "$as_me: failed program was:" >&5
53746 sed 's/^/| /' conftest.$ac_ext >&5
53748 eval "$as_ac_var=no"
53750 rm -f conftest.err conftest.$ac_objext \
53751 conftest$ac_exeext conftest.$ac_ext
53753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53755 if test `eval echo '${'$as_ac_var'}'` = yes; then
53756 cat >>confdefs.h <<_ACEOF
53757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53758 _ACEOF
53761 done
53771 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53772 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53773 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53774 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53775 echo $ECHO_N "(cached) $ECHO_C" >&6
53776 else
53780 ac_ext=cc
53781 ac_cpp='$CXXCPP $CPPFLAGS'
53782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53786 cat >conftest.$ac_ext <<_ACEOF
53787 /* confdefs.h. */
53788 _ACEOF
53789 cat confdefs.h >>conftest.$ac_ext
53790 cat >>conftest.$ac_ext <<_ACEOF
53791 /* end confdefs.h. */
53792 #include <math.h>
53794 main ()
53796 atan2l(0, 0);
53798 return 0;
53800 _ACEOF
53801 rm -f conftest.$ac_objext
53802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53803 (eval $ac_compile) 2>conftest.er1
53804 ac_status=$?
53805 grep -v '^ *+' conftest.er1 >conftest.err
53806 rm -f conftest.er1
53807 cat conftest.err >&5
53808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53809 (exit $ac_status); } &&
53810 { ac_try='test -z "$ac_cxx_werror_flag"
53811 || test ! -s conftest.err'
53812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53813 (eval $ac_try) 2>&5
53814 ac_status=$?
53815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816 (exit $ac_status); }; } &&
53817 { ac_try='test -s conftest.$ac_objext'
53818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53819 (eval $ac_try) 2>&5
53820 ac_status=$?
53821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53822 (exit $ac_status); }; }; then
53823 glibcxx_cv_func_atan2l_use=yes
53824 else
53825 echo "$as_me: failed program was:" >&5
53826 sed 's/^/| /' conftest.$ac_ext >&5
53828 glibcxx_cv_func_atan2l_use=no
53830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53831 ac_ext=c
53832 ac_cpp='$CPP $CPPFLAGS'
53833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53842 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53844 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53846 for ac_func in atan2l
53848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53849 echo "$as_me:$LINENO: checking for $ac_func" >&5
53850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53851 if eval "test \"\${$as_ac_var+set}\" = set"; then
53852 echo $ECHO_N "(cached) $ECHO_C" >&6
53853 else
53854 if test x$gcc_no_link = xyes; then
53855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53857 { (exit 1); exit 1; }; }
53859 cat >conftest.$ac_ext <<_ACEOF
53860 /* confdefs.h. */
53861 _ACEOF
53862 cat confdefs.h >>conftest.$ac_ext
53863 cat >>conftest.$ac_ext <<_ACEOF
53864 /* end confdefs.h. */
53865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53867 #define $ac_func innocuous_$ac_func
53869 /* System header to define __stub macros and hopefully few prototypes,
53870 which can conflict with char $ac_func (); below.
53871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53872 <limits.h> exists even on freestanding compilers. */
53874 #ifdef __STDC__
53875 # include <limits.h>
53876 #else
53877 # include <assert.h>
53878 #endif
53880 #undef $ac_func
53882 /* Override any gcc2 internal prototype to avoid an error. */
53883 #ifdef __cplusplus
53884 extern "C"
53886 #endif
53887 /* We use char because int might match the return type of a gcc2
53888 builtin and then its argument prototype would still apply. */
53889 char $ac_func ();
53890 /* The GNU C library defines this for functions which it implements
53891 to always fail with ENOSYS. Some functions are actually named
53892 something starting with __ and the normal name is an alias. */
53893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53894 choke me
53895 #else
53896 char (*f) () = $ac_func;
53897 #endif
53898 #ifdef __cplusplus
53900 #endif
53903 main ()
53905 return f != $ac_func;
53907 return 0;
53909 _ACEOF
53910 rm -f conftest.$ac_objext conftest$ac_exeext
53911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53912 (eval $ac_link) 2>conftest.er1
53913 ac_status=$?
53914 grep -v '^ *+' conftest.er1 >conftest.err
53915 rm -f conftest.er1
53916 cat conftest.err >&5
53917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53918 (exit $ac_status); } &&
53919 { ac_try='test -z "$ac_c_werror_flag"
53920 || test ! -s conftest.err'
53921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53922 (eval $ac_try) 2>&5
53923 ac_status=$?
53924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925 (exit $ac_status); }; } &&
53926 { ac_try='test -s conftest$ac_exeext'
53927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53928 (eval $ac_try) 2>&5
53929 ac_status=$?
53930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53931 (exit $ac_status); }; }; then
53932 eval "$as_ac_var=yes"
53933 else
53934 echo "$as_me: failed program was:" >&5
53935 sed 's/^/| /' conftest.$ac_ext >&5
53937 eval "$as_ac_var=no"
53939 rm -f conftest.err conftest.$ac_objext \
53940 conftest$ac_exeext conftest.$ac_ext
53942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53944 if test `eval echo '${'$as_ac_var'}'` = yes; then
53945 cat >>confdefs.h <<_ACEOF
53946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53947 _ACEOF
53950 done
53952 else
53954 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53955 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53956 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53957 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53958 echo $ECHO_N "(cached) $ECHO_C" >&6
53959 else
53963 ac_ext=cc
53964 ac_cpp='$CXXCPP $CPPFLAGS'
53965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53969 cat >conftest.$ac_ext <<_ACEOF
53970 /* confdefs.h. */
53971 _ACEOF
53972 cat confdefs.h >>conftest.$ac_ext
53973 cat >>conftest.$ac_ext <<_ACEOF
53974 /* end confdefs.h. */
53975 #include <math.h>
53977 main ()
53979 _atan2l(0, 0);
53981 return 0;
53983 _ACEOF
53984 rm -f conftest.$ac_objext
53985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53986 (eval $ac_compile) 2>conftest.er1
53987 ac_status=$?
53988 grep -v '^ *+' conftest.er1 >conftest.err
53989 rm -f conftest.er1
53990 cat conftest.err >&5
53991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53992 (exit $ac_status); } &&
53993 { ac_try='test -z "$ac_cxx_werror_flag"
53994 || test ! -s conftest.err'
53995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53996 (eval $ac_try) 2>&5
53997 ac_status=$?
53998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53999 (exit $ac_status); }; } &&
54000 { ac_try='test -s conftest.$ac_objext'
54001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54002 (eval $ac_try) 2>&5
54003 ac_status=$?
54004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54005 (exit $ac_status); }; }; then
54006 glibcxx_cv_func__atan2l_use=yes
54007 else
54008 echo "$as_me: failed program was:" >&5
54009 sed 's/^/| /' conftest.$ac_ext >&5
54011 glibcxx_cv_func__atan2l_use=no
54013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54014 ac_ext=c
54015 ac_cpp='$CPP $CPPFLAGS'
54016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54025 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54027 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54029 for ac_func in _atan2l
54031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54032 echo "$as_me:$LINENO: checking for $ac_func" >&5
54033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54034 if eval "test \"\${$as_ac_var+set}\" = set"; then
54035 echo $ECHO_N "(cached) $ECHO_C" >&6
54036 else
54037 if test x$gcc_no_link = xyes; then
54038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54040 { (exit 1); exit 1; }; }
54042 cat >conftest.$ac_ext <<_ACEOF
54043 /* confdefs.h. */
54044 _ACEOF
54045 cat confdefs.h >>conftest.$ac_ext
54046 cat >>conftest.$ac_ext <<_ACEOF
54047 /* end confdefs.h. */
54048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54050 #define $ac_func innocuous_$ac_func
54052 /* System header to define __stub macros and hopefully few prototypes,
54053 which can conflict with char $ac_func (); below.
54054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54055 <limits.h> exists even on freestanding compilers. */
54057 #ifdef __STDC__
54058 # include <limits.h>
54059 #else
54060 # include <assert.h>
54061 #endif
54063 #undef $ac_func
54065 /* Override any gcc2 internal prototype to avoid an error. */
54066 #ifdef __cplusplus
54067 extern "C"
54069 #endif
54070 /* We use char because int might match the return type of a gcc2
54071 builtin and then its argument prototype would still apply. */
54072 char $ac_func ();
54073 /* The GNU C library defines this for functions which it implements
54074 to always fail with ENOSYS. Some functions are actually named
54075 something starting with __ and the normal name is an alias. */
54076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54077 choke me
54078 #else
54079 char (*f) () = $ac_func;
54080 #endif
54081 #ifdef __cplusplus
54083 #endif
54086 main ()
54088 return f != $ac_func;
54090 return 0;
54092 _ACEOF
54093 rm -f conftest.$ac_objext conftest$ac_exeext
54094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54095 (eval $ac_link) 2>conftest.er1
54096 ac_status=$?
54097 grep -v '^ *+' conftest.er1 >conftest.err
54098 rm -f conftest.er1
54099 cat conftest.err >&5
54100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54101 (exit $ac_status); } &&
54102 { ac_try='test -z "$ac_c_werror_flag"
54103 || test ! -s conftest.err'
54104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54105 (eval $ac_try) 2>&5
54106 ac_status=$?
54107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108 (exit $ac_status); }; } &&
54109 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54115 eval "$as_ac_var=yes"
54116 else
54117 echo "$as_me: failed program was:" >&5
54118 sed 's/^/| /' conftest.$ac_ext >&5
54120 eval "$as_ac_var=no"
54122 rm -f conftest.err conftest.$ac_objext \
54123 conftest$ac_exeext conftest.$ac_ext
54125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54127 if test `eval echo '${'$as_ac_var'}'` = yes; then
54128 cat >>confdefs.h <<_ACEOF
54129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54130 _ACEOF
54133 done
54143 echo "$as_me:$LINENO: checking for expl declaration" >&5
54144 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54145 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54146 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54147 echo $ECHO_N "(cached) $ECHO_C" >&6
54148 else
54152 ac_ext=cc
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54158 cat >conftest.$ac_ext <<_ACEOF
54159 /* confdefs.h. */
54160 _ACEOF
54161 cat confdefs.h >>conftest.$ac_ext
54162 cat >>conftest.$ac_ext <<_ACEOF
54163 /* end confdefs.h. */
54164 #include <math.h>
54165 #ifdef HAVE_IEEEFP_H
54166 #include <ieeefp.h>
54167 #endif
54170 main ()
54172 expl(0);
54174 return 0;
54176 _ACEOF
54177 rm -f conftest.$ac_objext
54178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54179 (eval $ac_compile) 2>conftest.er1
54180 ac_status=$?
54181 grep -v '^ *+' conftest.er1 >conftest.err
54182 rm -f conftest.er1
54183 cat conftest.err >&5
54184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54185 (exit $ac_status); } &&
54186 { ac_try='test -z "$ac_cxx_werror_flag"
54187 || test ! -s conftest.err'
54188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54189 (eval $ac_try) 2>&5
54190 ac_status=$?
54191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54192 (exit $ac_status); }; } &&
54193 { ac_try='test -s conftest.$ac_objext'
54194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54195 (eval $ac_try) 2>&5
54196 ac_status=$?
54197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54198 (exit $ac_status); }; }; then
54199 glibcxx_cv_func_expl_use=yes
54200 else
54201 echo "$as_me: failed program was:" >&5
54202 sed 's/^/| /' conftest.$ac_ext >&5
54204 glibcxx_cv_func_expl_use=no
54206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54207 ac_ext=c
54208 ac_cpp='$CPP $CPPFLAGS'
54209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54218 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54220 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54222 for ac_func in expl
54224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54225 echo "$as_me:$LINENO: checking for $ac_func" >&5
54226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54227 if eval "test \"\${$as_ac_var+set}\" = set"; then
54228 echo $ECHO_N "(cached) $ECHO_C" >&6
54229 else
54230 if test x$gcc_no_link = xyes; then
54231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54233 { (exit 1); exit 1; }; }
54235 cat >conftest.$ac_ext <<_ACEOF
54236 /* confdefs.h. */
54237 _ACEOF
54238 cat confdefs.h >>conftest.$ac_ext
54239 cat >>conftest.$ac_ext <<_ACEOF
54240 /* end confdefs.h. */
54241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54243 #define $ac_func innocuous_$ac_func
54245 /* System header to define __stub macros and hopefully few prototypes,
54246 which can conflict with char $ac_func (); below.
54247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54248 <limits.h> exists even on freestanding compilers. */
54250 #ifdef __STDC__
54251 # include <limits.h>
54252 #else
54253 # include <assert.h>
54254 #endif
54256 #undef $ac_func
54258 /* Override any gcc2 internal prototype to avoid an error. */
54259 #ifdef __cplusplus
54260 extern "C"
54262 #endif
54263 /* We use char because int might match the return type of a gcc2
54264 builtin and then its argument prototype would still apply. */
54265 char $ac_func ();
54266 /* The GNU C library defines this for functions which it implements
54267 to always fail with ENOSYS. Some functions are actually named
54268 something starting with __ and the normal name is an alias. */
54269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54270 choke me
54271 #else
54272 char (*f) () = $ac_func;
54273 #endif
54274 #ifdef __cplusplus
54276 #endif
54279 main ()
54281 return f != $ac_func;
54283 return 0;
54285 _ACEOF
54286 rm -f conftest.$ac_objext conftest$ac_exeext
54287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54288 (eval $ac_link) 2>conftest.er1
54289 ac_status=$?
54290 grep -v '^ *+' conftest.er1 >conftest.err
54291 rm -f conftest.er1
54292 cat conftest.err >&5
54293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54294 (exit $ac_status); } &&
54295 { ac_try='test -z "$ac_c_werror_flag"
54296 || test ! -s conftest.err'
54297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54298 (eval $ac_try) 2>&5
54299 ac_status=$?
54300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54301 (exit $ac_status); }; } &&
54302 { ac_try='test -s conftest$ac_exeext'
54303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54304 (eval $ac_try) 2>&5
54305 ac_status=$?
54306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54307 (exit $ac_status); }; }; then
54308 eval "$as_ac_var=yes"
54309 else
54310 echo "$as_me: failed program was:" >&5
54311 sed 's/^/| /' conftest.$ac_ext >&5
54313 eval "$as_ac_var=no"
54315 rm -f conftest.err conftest.$ac_objext \
54316 conftest$ac_exeext conftest.$ac_ext
54318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54320 if test `eval echo '${'$as_ac_var'}'` = yes; then
54321 cat >>confdefs.h <<_ACEOF
54322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54323 _ACEOF
54326 done
54328 else
54330 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54331 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54332 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54333 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54334 echo $ECHO_N "(cached) $ECHO_C" >&6
54335 else
54339 ac_ext=cc
54340 ac_cpp='$CXXCPP $CPPFLAGS'
54341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54345 cat >conftest.$ac_ext <<_ACEOF
54346 /* confdefs.h. */
54347 _ACEOF
54348 cat confdefs.h >>conftest.$ac_ext
54349 cat >>conftest.$ac_ext <<_ACEOF
54350 /* end confdefs.h. */
54351 #include <math.h>
54352 #ifdef HAVE_IEEEFP_H
54353 #include <ieeefp.h>
54354 #endif
54357 main ()
54359 _expl(0);
54361 return 0;
54363 _ACEOF
54364 rm -f conftest.$ac_objext
54365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54366 (eval $ac_compile) 2>conftest.er1
54367 ac_status=$?
54368 grep -v '^ *+' conftest.er1 >conftest.err
54369 rm -f conftest.er1
54370 cat conftest.err >&5
54371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54372 (exit $ac_status); } &&
54373 { ac_try='test -z "$ac_cxx_werror_flag"
54374 || test ! -s conftest.err'
54375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54376 (eval $ac_try) 2>&5
54377 ac_status=$?
54378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54379 (exit $ac_status); }; } &&
54380 { ac_try='test -s conftest.$ac_objext'
54381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54382 (eval $ac_try) 2>&5
54383 ac_status=$?
54384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54385 (exit $ac_status); }; }; then
54386 glibcxx_cv_func__expl_use=yes
54387 else
54388 echo "$as_me: failed program was:" >&5
54389 sed 's/^/| /' conftest.$ac_ext >&5
54391 glibcxx_cv_func__expl_use=no
54393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54394 ac_ext=c
54395 ac_cpp='$CPP $CPPFLAGS'
54396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54405 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54407 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54409 for ac_func in _expl
54411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54412 echo "$as_me:$LINENO: checking for $ac_func" >&5
54413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54414 if eval "test \"\${$as_ac_var+set}\" = set"; then
54415 echo $ECHO_N "(cached) $ECHO_C" >&6
54416 else
54417 if test x$gcc_no_link = xyes; then
54418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54420 { (exit 1); exit 1; }; }
54422 cat >conftest.$ac_ext <<_ACEOF
54423 /* confdefs.h. */
54424 _ACEOF
54425 cat confdefs.h >>conftest.$ac_ext
54426 cat >>conftest.$ac_ext <<_ACEOF
54427 /* end confdefs.h. */
54428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54430 #define $ac_func innocuous_$ac_func
54432 /* System header to define __stub macros and hopefully few prototypes,
54433 which can conflict with char $ac_func (); below.
54434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54435 <limits.h> exists even on freestanding compilers. */
54437 #ifdef __STDC__
54438 # include <limits.h>
54439 #else
54440 # include <assert.h>
54441 #endif
54443 #undef $ac_func
54445 /* Override any gcc2 internal prototype to avoid an error. */
54446 #ifdef __cplusplus
54447 extern "C"
54449 #endif
54450 /* We use char because int might match the return type of a gcc2
54451 builtin and then its argument prototype would still apply. */
54452 char $ac_func ();
54453 /* The GNU C library defines this for functions which it implements
54454 to always fail with ENOSYS. Some functions are actually named
54455 something starting with __ and the normal name is an alias. */
54456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54457 choke me
54458 #else
54459 char (*f) () = $ac_func;
54460 #endif
54461 #ifdef __cplusplus
54463 #endif
54466 main ()
54468 return f != $ac_func;
54470 return 0;
54472 _ACEOF
54473 rm -f conftest.$ac_objext conftest$ac_exeext
54474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54475 (eval $ac_link) 2>conftest.er1
54476 ac_status=$?
54477 grep -v '^ *+' conftest.er1 >conftest.err
54478 rm -f conftest.er1
54479 cat conftest.err >&5
54480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54481 (exit $ac_status); } &&
54482 { ac_try='test -z "$ac_c_werror_flag"
54483 || test ! -s conftest.err'
54484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54485 (eval $ac_try) 2>&5
54486 ac_status=$?
54487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54488 (exit $ac_status); }; } &&
54489 { ac_try='test -s conftest$ac_exeext'
54490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54491 (eval $ac_try) 2>&5
54492 ac_status=$?
54493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54494 (exit $ac_status); }; }; then
54495 eval "$as_ac_var=yes"
54496 else
54497 echo "$as_me: failed program was:" >&5
54498 sed 's/^/| /' conftest.$ac_ext >&5
54500 eval "$as_ac_var=no"
54502 rm -f conftest.err conftest.$ac_objext \
54503 conftest$ac_exeext conftest.$ac_ext
54505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54507 if test `eval echo '${'$as_ac_var'}'` = yes; then
54508 cat >>confdefs.h <<_ACEOF
54509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54510 _ACEOF
54513 done
54523 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54524 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54525 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54526 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54527 echo $ECHO_N "(cached) $ECHO_C" >&6
54528 else
54532 ac_ext=cc
54533 ac_cpp='$CXXCPP $CPPFLAGS'
54534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538 cat >conftest.$ac_ext <<_ACEOF
54539 /* confdefs.h. */
54540 _ACEOF
54541 cat confdefs.h >>conftest.$ac_ext
54542 cat >>conftest.$ac_ext <<_ACEOF
54543 /* end confdefs.h. */
54544 #include <math.h>
54545 #ifdef HAVE_IEEEFP_H
54546 #include <ieeefp.h>
54547 #endif
54550 main ()
54552 fabsl(0);
54554 return 0;
54556 _ACEOF
54557 rm -f conftest.$ac_objext
54558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54559 (eval $ac_compile) 2>conftest.er1
54560 ac_status=$?
54561 grep -v '^ *+' conftest.er1 >conftest.err
54562 rm -f conftest.er1
54563 cat conftest.err >&5
54564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54565 (exit $ac_status); } &&
54566 { ac_try='test -z "$ac_cxx_werror_flag"
54567 || test ! -s conftest.err'
54568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54569 (eval $ac_try) 2>&5
54570 ac_status=$?
54571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54572 (exit $ac_status); }; } &&
54573 { ac_try='test -s conftest.$ac_objext'
54574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54575 (eval $ac_try) 2>&5
54576 ac_status=$?
54577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54578 (exit $ac_status); }; }; then
54579 glibcxx_cv_func_fabsl_use=yes
54580 else
54581 echo "$as_me: failed program was:" >&5
54582 sed 's/^/| /' conftest.$ac_ext >&5
54584 glibcxx_cv_func_fabsl_use=no
54586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54587 ac_ext=c
54588 ac_cpp='$CPP $CPPFLAGS'
54589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54598 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54600 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54602 for ac_func in fabsl
54604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54605 echo "$as_me:$LINENO: checking for $ac_func" >&5
54606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54607 if eval "test \"\${$as_ac_var+set}\" = set"; then
54608 echo $ECHO_N "(cached) $ECHO_C" >&6
54609 else
54610 if test x$gcc_no_link = xyes; then
54611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54613 { (exit 1); exit 1; }; }
54615 cat >conftest.$ac_ext <<_ACEOF
54616 /* confdefs.h. */
54617 _ACEOF
54618 cat confdefs.h >>conftest.$ac_ext
54619 cat >>conftest.$ac_ext <<_ACEOF
54620 /* end confdefs.h. */
54621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54623 #define $ac_func innocuous_$ac_func
54625 /* System header to define __stub macros and hopefully few prototypes,
54626 which can conflict with char $ac_func (); below.
54627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54628 <limits.h> exists even on freestanding compilers. */
54630 #ifdef __STDC__
54631 # include <limits.h>
54632 #else
54633 # include <assert.h>
54634 #endif
54636 #undef $ac_func
54638 /* Override any gcc2 internal prototype to avoid an error. */
54639 #ifdef __cplusplus
54640 extern "C"
54642 #endif
54643 /* We use char because int might match the return type of a gcc2
54644 builtin and then its argument prototype would still apply. */
54645 char $ac_func ();
54646 /* The GNU C library defines this for functions which it implements
54647 to always fail with ENOSYS. Some functions are actually named
54648 something starting with __ and the normal name is an alias. */
54649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54650 choke me
54651 #else
54652 char (*f) () = $ac_func;
54653 #endif
54654 #ifdef __cplusplus
54656 #endif
54659 main ()
54661 return f != $ac_func;
54663 return 0;
54665 _ACEOF
54666 rm -f conftest.$ac_objext conftest$ac_exeext
54667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54668 (eval $ac_link) 2>conftest.er1
54669 ac_status=$?
54670 grep -v '^ *+' conftest.er1 >conftest.err
54671 rm -f conftest.er1
54672 cat conftest.err >&5
54673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54674 (exit $ac_status); } &&
54675 { ac_try='test -z "$ac_c_werror_flag"
54676 || test ! -s conftest.err'
54677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54678 (eval $ac_try) 2>&5
54679 ac_status=$?
54680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54681 (exit $ac_status); }; } &&
54682 { ac_try='test -s conftest$ac_exeext'
54683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54684 (eval $ac_try) 2>&5
54685 ac_status=$?
54686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54687 (exit $ac_status); }; }; then
54688 eval "$as_ac_var=yes"
54689 else
54690 echo "$as_me: failed program was:" >&5
54691 sed 's/^/| /' conftest.$ac_ext >&5
54693 eval "$as_ac_var=no"
54695 rm -f conftest.err conftest.$ac_objext \
54696 conftest$ac_exeext conftest.$ac_ext
54698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54700 if test `eval echo '${'$as_ac_var'}'` = yes; then
54701 cat >>confdefs.h <<_ACEOF
54702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54703 _ACEOF
54706 done
54708 else
54710 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54711 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54712 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54713 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54714 echo $ECHO_N "(cached) $ECHO_C" >&6
54715 else
54719 ac_ext=cc
54720 ac_cpp='$CXXCPP $CPPFLAGS'
54721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725 cat >conftest.$ac_ext <<_ACEOF
54726 /* confdefs.h. */
54727 _ACEOF
54728 cat confdefs.h >>conftest.$ac_ext
54729 cat >>conftest.$ac_ext <<_ACEOF
54730 /* end confdefs.h. */
54731 #include <math.h>
54732 #ifdef HAVE_IEEEFP_H
54733 #include <ieeefp.h>
54734 #endif
54737 main ()
54739 _fabsl(0);
54741 return 0;
54743 _ACEOF
54744 rm -f conftest.$ac_objext
54745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54746 (eval $ac_compile) 2>conftest.er1
54747 ac_status=$?
54748 grep -v '^ *+' conftest.er1 >conftest.err
54749 rm -f conftest.er1
54750 cat conftest.err >&5
54751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54752 (exit $ac_status); } &&
54753 { ac_try='test -z "$ac_cxx_werror_flag"
54754 || test ! -s conftest.err'
54755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54756 (eval $ac_try) 2>&5
54757 ac_status=$?
54758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54759 (exit $ac_status); }; } &&
54760 { ac_try='test -s conftest.$ac_objext'
54761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54762 (eval $ac_try) 2>&5
54763 ac_status=$?
54764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54765 (exit $ac_status); }; }; then
54766 glibcxx_cv_func__fabsl_use=yes
54767 else
54768 echo "$as_me: failed program was:" >&5
54769 sed 's/^/| /' conftest.$ac_ext >&5
54771 glibcxx_cv_func__fabsl_use=no
54773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54774 ac_ext=c
54775 ac_cpp='$CPP $CPPFLAGS'
54776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54785 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54787 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54789 for ac_func in _fabsl
54791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54792 echo "$as_me:$LINENO: checking for $ac_func" >&5
54793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54794 if eval "test \"\${$as_ac_var+set}\" = set"; then
54795 echo $ECHO_N "(cached) $ECHO_C" >&6
54796 else
54797 if test x$gcc_no_link = xyes; then
54798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54800 { (exit 1); exit 1; }; }
54802 cat >conftest.$ac_ext <<_ACEOF
54803 /* confdefs.h. */
54804 _ACEOF
54805 cat confdefs.h >>conftest.$ac_ext
54806 cat >>conftest.$ac_ext <<_ACEOF
54807 /* end confdefs.h. */
54808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54810 #define $ac_func innocuous_$ac_func
54812 /* System header to define __stub macros and hopefully few prototypes,
54813 which can conflict with char $ac_func (); below.
54814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54815 <limits.h> exists even on freestanding compilers. */
54817 #ifdef __STDC__
54818 # include <limits.h>
54819 #else
54820 # include <assert.h>
54821 #endif
54823 #undef $ac_func
54825 /* Override any gcc2 internal prototype to avoid an error. */
54826 #ifdef __cplusplus
54827 extern "C"
54829 #endif
54830 /* We use char because int might match the return type of a gcc2
54831 builtin and then its argument prototype would still apply. */
54832 char $ac_func ();
54833 /* The GNU C library defines this for functions which it implements
54834 to always fail with ENOSYS. Some functions are actually named
54835 something starting with __ and the normal name is an alias. */
54836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54837 choke me
54838 #else
54839 char (*f) () = $ac_func;
54840 #endif
54841 #ifdef __cplusplus
54843 #endif
54846 main ()
54848 return f != $ac_func;
54850 return 0;
54852 _ACEOF
54853 rm -f conftest.$ac_objext conftest$ac_exeext
54854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54855 (eval $ac_link) 2>conftest.er1
54856 ac_status=$?
54857 grep -v '^ *+' conftest.er1 >conftest.err
54858 rm -f conftest.er1
54859 cat conftest.err >&5
54860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54861 (exit $ac_status); } &&
54862 { ac_try='test -z "$ac_c_werror_flag"
54863 || test ! -s conftest.err'
54864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54865 (eval $ac_try) 2>&5
54866 ac_status=$?
54867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54868 (exit $ac_status); }; } &&
54869 { ac_try='test -s conftest$ac_exeext'
54870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54871 (eval $ac_try) 2>&5
54872 ac_status=$?
54873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54874 (exit $ac_status); }; }; then
54875 eval "$as_ac_var=yes"
54876 else
54877 echo "$as_me: failed program was:" >&5
54878 sed 's/^/| /' conftest.$ac_ext >&5
54880 eval "$as_ac_var=no"
54882 rm -f conftest.err conftest.$ac_objext \
54883 conftest$ac_exeext conftest.$ac_ext
54885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54887 if test `eval echo '${'$as_ac_var'}'` = yes; then
54888 cat >>confdefs.h <<_ACEOF
54889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54890 _ACEOF
54893 done
54903 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54904 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54905 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54906 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54907 echo $ECHO_N "(cached) $ECHO_C" >&6
54908 else
54912 ac_ext=cc
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54918 cat >conftest.$ac_ext <<_ACEOF
54919 /* confdefs.h. */
54920 _ACEOF
54921 cat confdefs.h >>conftest.$ac_ext
54922 cat >>conftest.$ac_ext <<_ACEOF
54923 /* end confdefs.h. */
54924 #include <math.h>
54926 main ()
54928 fmodl(0, 0);
54930 return 0;
54932 _ACEOF
54933 rm -f conftest.$ac_objext
54934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54935 (eval $ac_compile) 2>conftest.er1
54936 ac_status=$?
54937 grep -v '^ *+' conftest.er1 >conftest.err
54938 rm -f conftest.er1
54939 cat conftest.err >&5
54940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54941 (exit $ac_status); } &&
54942 { ac_try='test -z "$ac_cxx_werror_flag"
54943 || test ! -s conftest.err'
54944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54945 (eval $ac_try) 2>&5
54946 ac_status=$?
54947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54948 (exit $ac_status); }; } &&
54949 { ac_try='test -s conftest.$ac_objext'
54950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54951 (eval $ac_try) 2>&5
54952 ac_status=$?
54953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54954 (exit $ac_status); }; }; then
54955 glibcxx_cv_func_fmodl_use=yes
54956 else
54957 echo "$as_me: failed program was:" >&5
54958 sed 's/^/| /' conftest.$ac_ext >&5
54960 glibcxx_cv_func_fmodl_use=no
54962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54963 ac_ext=c
54964 ac_cpp='$CPP $CPPFLAGS'
54965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54974 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54976 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54978 for ac_func in fmodl
54980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54981 echo "$as_me:$LINENO: checking for $ac_func" >&5
54982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54983 if eval "test \"\${$as_ac_var+set}\" = set"; then
54984 echo $ECHO_N "(cached) $ECHO_C" >&6
54985 else
54986 if test x$gcc_no_link = xyes; then
54987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54989 { (exit 1); exit 1; }; }
54991 cat >conftest.$ac_ext <<_ACEOF
54992 /* confdefs.h. */
54993 _ACEOF
54994 cat confdefs.h >>conftest.$ac_ext
54995 cat >>conftest.$ac_ext <<_ACEOF
54996 /* end confdefs.h. */
54997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54999 #define $ac_func innocuous_$ac_func
55001 /* System header to define __stub macros and hopefully few prototypes,
55002 which can conflict with char $ac_func (); below.
55003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55004 <limits.h> exists even on freestanding compilers. */
55006 #ifdef __STDC__
55007 # include <limits.h>
55008 #else
55009 # include <assert.h>
55010 #endif
55012 #undef $ac_func
55014 /* Override any gcc2 internal prototype to avoid an error. */
55015 #ifdef __cplusplus
55016 extern "C"
55018 #endif
55019 /* We use char because int might match the return type of a gcc2
55020 builtin and then its argument prototype would still apply. */
55021 char $ac_func ();
55022 /* The GNU C library defines this for functions which it implements
55023 to always fail with ENOSYS. Some functions are actually named
55024 something starting with __ and the normal name is an alias. */
55025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55026 choke me
55027 #else
55028 char (*f) () = $ac_func;
55029 #endif
55030 #ifdef __cplusplus
55032 #endif
55035 main ()
55037 return f != $ac_func;
55039 return 0;
55041 _ACEOF
55042 rm -f conftest.$ac_objext conftest$ac_exeext
55043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55044 (eval $ac_link) 2>conftest.er1
55045 ac_status=$?
55046 grep -v '^ *+' conftest.er1 >conftest.err
55047 rm -f conftest.er1
55048 cat conftest.err >&5
55049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55050 (exit $ac_status); } &&
55051 { ac_try='test -z "$ac_c_werror_flag"
55052 || test ! -s conftest.err'
55053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55054 (eval $ac_try) 2>&5
55055 ac_status=$?
55056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55057 (exit $ac_status); }; } &&
55058 { ac_try='test -s conftest$ac_exeext'
55059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55060 (eval $ac_try) 2>&5
55061 ac_status=$?
55062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55063 (exit $ac_status); }; }; then
55064 eval "$as_ac_var=yes"
55065 else
55066 echo "$as_me: failed program was:" >&5
55067 sed 's/^/| /' conftest.$ac_ext >&5
55069 eval "$as_ac_var=no"
55071 rm -f conftest.err conftest.$ac_objext \
55072 conftest$ac_exeext conftest.$ac_ext
55074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55076 if test `eval echo '${'$as_ac_var'}'` = yes; then
55077 cat >>confdefs.h <<_ACEOF
55078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55079 _ACEOF
55082 done
55084 else
55086 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55087 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55088 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55089 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55090 echo $ECHO_N "(cached) $ECHO_C" >&6
55091 else
55095 ac_ext=cc
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55101 cat >conftest.$ac_ext <<_ACEOF
55102 /* confdefs.h. */
55103 _ACEOF
55104 cat confdefs.h >>conftest.$ac_ext
55105 cat >>conftest.$ac_ext <<_ACEOF
55106 /* end confdefs.h. */
55107 #include <math.h>
55109 main ()
55111 _fmodl(0, 0);
55113 return 0;
55115 _ACEOF
55116 rm -f conftest.$ac_objext
55117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55118 (eval $ac_compile) 2>conftest.er1
55119 ac_status=$?
55120 grep -v '^ *+' conftest.er1 >conftest.err
55121 rm -f conftest.er1
55122 cat conftest.err >&5
55123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55124 (exit $ac_status); } &&
55125 { ac_try='test -z "$ac_cxx_werror_flag"
55126 || test ! -s conftest.err'
55127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55128 (eval $ac_try) 2>&5
55129 ac_status=$?
55130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55131 (exit $ac_status); }; } &&
55132 { ac_try='test -s conftest.$ac_objext'
55133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55134 (eval $ac_try) 2>&5
55135 ac_status=$?
55136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55137 (exit $ac_status); }; }; then
55138 glibcxx_cv_func__fmodl_use=yes
55139 else
55140 echo "$as_me: failed program was:" >&5
55141 sed 's/^/| /' conftest.$ac_ext >&5
55143 glibcxx_cv_func__fmodl_use=no
55145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55146 ac_ext=c
55147 ac_cpp='$CPP $CPPFLAGS'
55148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55157 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55159 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55161 for ac_func in _fmodl
55163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55164 echo "$as_me:$LINENO: checking for $ac_func" >&5
55165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55166 if eval "test \"\${$as_ac_var+set}\" = set"; then
55167 echo $ECHO_N "(cached) $ECHO_C" >&6
55168 else
55169 if test x$gcc_no_link = xyes; then
55170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55172 { (exit 1); exit 1; }; }
55174 cat >conftest.$ac_ext <<_ACEOF
55175 /* confdefs.h. */
55176 _ACEOF
55177 cat confdefs.h >>conftest.$ac_ext
55178 cat >>conftest.$ac_ext <<_ACEOF
55179 /* end confdefs.h. */
55180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55182 #define $ac_func innocuous_$ac_func
55184 /* System header to define __stub macros and hopefully few prototypes,
55185 which can conflict with char $ac_func (); below.
55186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55187 <limits.h> exists even on freestanding compilers. */
55189 #ifdef __STDC__
55190 # include <limits.h>
55191 #else
55192 # include <assert.h>
55193 #endif
55195 #undef $ac_func
55197 /* Override any gcc2 internal prototype to avoid an error. */
55198 #ifdef __cplusplus
55199 extern "C"
55201 #endif
55202 /* We use char because int might match the return type of a gcc2
55203 builtin and then its argument prototype would still apply. */
55204 char $ac_func ();
55205 /* The GNU C library defines this for functions which it implements
55206 to always fail with ENOSYS. Some functions are actually named
55207 something starting with __ and the normal name is an alias. */
55208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55209 choke me
55210 #else
55211 char (*f) () = $ac_func;
55212 #endif
55213 #ifdef __cplusplus
55215 #endif
55218 main ()
55220 return f != $ac_func;
55222 return 0;
55224 _ACEOF
55225 rm -f conftest.$ac_objext conftest$ac_exeext
55226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55227 (eval $ac_link) 2>conftest.er1
55228 ac_status=$?
55229 grep -v '^ *+' conftest.er1 >conftest.err
55230 rm -f conftest.er1
55231 cat conftest.err >&5
55232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55233 (exit $ac_status); } &&
55234 { ac_try='test -z "$ac_c_werror_flag"
55235 || test ! -s conftest.err'
55236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55237 (eval $ac_try) 2>&5
55238 ac_status=$?
55239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240 (exit $ac_status); }; } &&
55241 { ac_try='test -s conftest$ac_exeext'
55242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55243 (eval $ac_try) 2>&5
55244 ac_status=$?
55245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55246 (exit $ac_status); }; }; then
55247 eval "$as_ac_var=yes"
55248 else
55249 echo "$as_me: failed program was:" >&5
55250 sed 's/^/| /' conftest.$ac_ext >&5
55252 eval "$as_ac_var=no"
55254 rm -f conftest.err conftest.$ac_objext \
55255 conftest$ac_exeext conftest.$ac_ext
55257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55259 if test `eval echo '${'$as_ac_var'}'` = yes; then
55260 cat >>confdefs.h <<_ACEOF
55261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55262 _ACEOF
55265 done
55275 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55276 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55277 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55278 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55279 echo $ECHO_N "(cached) $ECHO_C" >&6
55280 else
55284 ac_ext=cc
55285 ac_cpp='$CXXCPP $CPPFLAGS'
55286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290 cat >conftest.$ac_ext <<_ACEOF
55291 /* confdefs.h. */
55292 _ACEOF
55293 cat confdefs.h >>conftest.$ac_ext
55294 cat >>conftest.$ac_ext <<_ACEOF
55295 /* end confdefs.h. */
55296 #include <math.h>
55298 main ()
55300 frexpl(0, 0);
55302 return 0;
55304 _ACEOF
55305 rm -f conftest.$ac_objext
55306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55307 (eval $ac_compile) 2>conftest.er1
55308 ac_status=$?
55309 grep -v '^ *+' conftest.er1 >conftest.err
55310 rm -f conftest.er1
55311 cat conftest.err >&5
55312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55313 (exit $ac_status); } &&
55314 { ac_try='test -z "$ac_cxx_werror_flag"
55315 || test ! -s conftest.err'
55316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55317 (eval $ac_try) 2>&5
55318 ac_status=$?
55319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55320 (exit $ac_status); }; } &&
55321 { ac_try='test -s conftest.$ac_objext'
55322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55323 (eval $ac_try) 2>&5
55324 ac_status=$?
55325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55326 (exit $ac_status); }; }; then
55327 glibcxx_cv_func_frexpl_use=yes
55328 else
55329 echo "$as_me: failed program was:" >&5
55330 sed 's/^/| /' conftest.$ac_ext >&5
55332 glibcxx_cv_func_frexpl_use=no
55334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55335 ac_ext=c
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55346 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55348 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55350 for ac_func in frexpl
55352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55353 echo "$as_me:$LINENO: checking for $ac_func" >&5
55354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55355 if eval "test \"\${$as_ac_var+set}\" = set"; then
55356 echo $ECHO_N "(cached) $ECHO_C" >&6
55357 else
55358 if test x$gcc_no_link = xyes; then
55359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55361 { (exit 1); exit 1; }; }
55363 cat >conftest.$ac_ext <<_ACEOF
55364 /* confdefs.h. */
55365 _ACEOF
55366 cat confdefs.h >>conftest.$ac_ext
55367 cat >>conftest.$ac_ext <<_ACEOF
55368 /* end confdefs.h. */
55369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55371 #define $ac_func innocuous_$ac_func
55373 /* System header to define __stub macros and hopefully few prototypes,
55374 which can conflict with char $ac_func (); below.
55375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55376 <limits.h> exists even on freestanding compilers. */
55378 #ifdef __STDC__
55379 # include <limits.h>
55380 #else
55381 # include <assert.h>
55382 #endif
55384 #undef $ac_func
55386 /* Override any gcc2 internal prototype to avoid an error. */
55387 #ifdef __cplusplus
55388 extern "C"
55390 #endif
55391 /* We use char because int might match the return type of a gcc2
55392 builtin and then its argument prototype would still apply. */
55393 char $ac_func ();
55394 /* The GNU C library defines this for functions which it implements
55395 to always fail with ENOSYS. Some functions are actually named
55396 something starting with __ and the normal name is an alias. */
55397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55398 choke me
55399 #else
55400 char (*f) () = $ac_func;
55401 #endif
55402 #ifdef __cplusplus
55404 #endif
55407 main ()
55409 return f != $ac_func;
55411 return 0;
55413 _ACEOF
55414 rm -f conftest.$ac_objext conftest$ac_exeext
55415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55416 (eval $ac_link) 2>conftest.er1
55417 ac_status=$?
55418 grep -v '^ *+' conftest.er1 >conftest.err
55419 rm -f conftest.er1
55420 cat conftest.err >&5
55421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55422 (exit $ac_status); } &&
55423 { ac_try='test -z "$ac_c_werror_flag"
55424 || test ! -s conftest.err'
55425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55426 (eval $ac_try) 2>&5
55427 ac_status=$?
55428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55429 (exit $ac_status); }; } &&
55430 { ac_try='test -s conftest$ac_exeext'
55431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55432 (eval $ac_try) 2>&5
55433 ac_status=$?
55434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55435 (exit $ac_status); }; }; then
55436 eval "$as_ac_var=yes"
55437 else
55438 echo "$as_me: failed program was:" >&5
55439 sed 's/^/| /' conftest.$ac_ext >&5
55441 eval "$as_ac_var=no"
55443 rm -f conftest.err conftest.$ac_objext \
55444 conftest$ac_exeext conftest.$ac_ext
55446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55448 if test `eval echo '${'$as_ac_var'}'` = yes; then
55449 cat >>confdefs.h <<_ACEOF
55450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55451 _ACEOF
55454 done
55456 else
55458 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55459 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55460 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55461 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55462 echo $ECHO_N "(cached) $ECHO_C" >&6
55463 else
55467 ac_ext=cc
55468 ac_cpp='$CXXCPP $CPPFLAGS'
55469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55473 cat >conftest.$ac_ext <<_ACEOF
55474 /* confdefs.h. */
55475 _ACEOF
55476 cat confdefs.h >>conftest.$ac_ext
55477 cat >>conftest.$ac_ext <<_ACEOF
55478 /* end confdefs.h. */
55479 #include <math.h>
55481 main ()
55483 _frexpl(0, 0);
55485 return 0;
55487 _ACEOF
55488 rm -f conftest.$ac_objext
55489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55490 (eval $ac_compile) 2>conftest.er1
55491 ac_status=$?
55492 grep -v '^ *+' conftest.er1 >conftest.err
55493 rm -f conftest.er1
55494 cat conftest.err >&5
55495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55496 (exit $ac_status); } &&
55497 { ac_try='test -z "$ac_cxx_werror_flag"
55498 || test ! -s conftest.err'
55499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55500 (eval $ac_try) 2>&5
55501 ac_status=$?
55502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55503 (exit $ac_status); }; } &&
55504 { ac_try='test -s conftest.$ac_objext'
55505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55506 (eval $ac_try) 2>&5
55507 ac_status=$?
55508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55509 (exit $ac_status); }; }; then
55510 glibcxx_cv_func__frexpl_use=yes
55511 else
55512 echo "$as_me: failed program was:" >&5
55513 sed 's/^/| /' conftest.$ac_ext >&5
55515 glibcxx_cv_func__frexpl_use=no
55517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55529 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55531 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55533 for ac_func in _frexpl
55535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55536 echo "$as_me:$LINENO: checking for $ac_func" >&5
55537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55538 if eval "test \"\${$as_ac_var+set}\" = set"; then
55539 echo $ECHO_N "(cached) $ECHO_C" >&6
55540 else
55541 if test x$gcc_no_link = xyes; then
55542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55544 { (exit 1); exit 1; }; }
55546 cat >conftest.$ac_ext <<_ACEOF
55547 /* confdefs.h. */
55548 _ACEOF
55549 cat confdefs.h >>conftest.$ac_ext
55550 cat >>conftest.$ac_ext <<_ACEOF
55551 /* end confdefs.h. */
55552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55554 #define $ac_func innocuous_$ac_func
55556 /* System header to define __stub macros and hopefully few prototypes,
55557 which can conflict with char $ac_func (); below.
55558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55559 <limits.h> exists even on freestanding compilers. */
55561 #ifdef __STDC__
55562 # include <limits.h>
55563 #else
55564 # include <assert.h>
55565 #endif
55567 #undef $ac_func
55569 /* Override any gcc2 internal prototype to avoid an error. */
55570 #ifdef __cplusplus
55571 extern "C"
55573 #endif
55574 /* We use char because int might match the return type of a gcc2
55575 builtin and then its argument prototype would still apply. */
55576 char $ac_func ();
55577 /* The GNU C library defines this for functions which it implements
55578 to always fail with ENOSYS. Some functions are actually named
55579 something starting with __ and the normal name is an alias. */
55580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55581 choke me
55582 #else
55583 char (*f) () = $ac_func;
55584 #endif
55585 #ifdef __cplusplus
55587 #endif
55590 main ()
55592 return f != $ac_func;
55594 return 0;
55596 _ACEOF
55597 rm -f conftest.$ac_objext conftest$ac_exeext
55598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55599 (eval $ac_link) 2>conftest.er1
55600 ac_status=$?
55601 grep -v '^ *+' conftest.er1 >conftest.err
55602 rm -f conftest.er1
55603 cat conftest.err >&5
55604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55605 (exit $ac_status); } &&
55606 { ac_try='test -z "$ac_c_werror_flag"
55607 || test ! -s conftest.err'
55608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55609 (eval $ac_try) 2>&5
55610 ac_status=$?
55611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55612 (exit $ac_status); }; } &&
55613 { ac_try='test -s conftest$ac_exeext'
55614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55615 (eval $ac_try) 2>&5
55616 ac_status=$?
55617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55618 (exit $ac_status); }; }; then
55619 eval "$as_ac_var=yes"
55620 else
55621 echo "$as_me: failed program was:" >&5
55622 sed 's/^/| /' conftest.$ac_ext >&5
55624 eval "$as_ac_var=no"
55626 rm -f conftest.err conftest.$ac_objext \
55627 conftest$ac_exeext conftest.$ac_ext
55629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55631 if test `eval echo '${'$as_ac_var'}'` = yes; then
55632 cat >>confdefs.h <<_ACEOF
55633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55634 _ACEOF
55637 done
55647 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55648 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55649 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55650 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55651 echo $ECHO_N "(cached) $ECHO_C" >&6
55652 else
55656 ac_ext=cc
55657 ac_cpp='$CXXCPP $CPPFLAGS'
55658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55662 cat >conftest.$ac_ext <<_ACEOF
55663 /* confdefs.h. */
55664 _ACEOF
55665 cat confdefs.h >>conftest.$ac_ext
55666 cat >>conftest.$ac_ext <<_ACEOF
55667 /* end confdefs.h. */
55668 #include <math.h>
55670 main ()
55672 hypotl(0, 0);
55674 return 0;
55676 _ACEOF
55677 rm -f conftest.$ac_objext
55678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55679 (eval $ac_compile) 2>conftest.er1
55680 ac_status=$?
55681 grep -v '^ *+' conftest.er1 >conftest.err
55682 rm -f conftest.er1
55683 cat conftest.err >&5
55684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55685 (exit $ac_status); } &&
55686 { ac_try='test -z "$ac_cxx_werror_flag"
55687 || test ! -s conftest.err'
55688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55689 (eval $ac_try) 2>&5
55690 ac_status=$?
55691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55692 (exit $ac_status); }; } &&
55693 { ac_try='test -s conftest.$ac_objext'
55694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55695 (eval $ac_try) 2>&5
55696 ac_status=$?
55697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55698 (exit $ac_status); }; }; then
55699 glibcxx_cv_func_hypotl_use=yes
55700 else
55701 echo "$as_me: failed program was:" >&5
55702 sed 's/^/| /' conftest.$ac_ext >&5
55704 glibcxx_cv_func_hypotl_use=no
55706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55707 ac_ext=c
55708 ac_cpp='$CPP $CPPFLAGS'
55709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55718 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55720 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55722 for ac_func in hypotl
55724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55725 echo "$as_me:$LINENO: checking for $ac_func" >&5
55726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55727 if eval "test \"\${$as_ac_var+set}\" = set"; then
55728 echo $ECHO_N "(cached) $ECHO_C" >&6
55729 else
55730 if test x$gcc_no_link = xyes; then
55731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55733 { (exit 1); exit 1; }; }
55735 cat >conftest.$ac_ext <<_ACEOF
55736 /* confdefs.h. */
55737 _ACEOF
55738 cat confdefs.h >>conftest.$ac_ext
55739 cat >>conftest.$ac_ext <<_ACEOF
55740 /* end confdefs.h. */
55741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55743 #define $ac_func innocuous_$ac_func
55745 /* System header to define __stub macros and hopefully few prototypes,
55746 which can conflict with char $ac_func (); below.
55747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55748 <limits.h> exists even on freestanding compilers. */
55750 #ifdef __STDC__
55751 # include <limits.h>
55752 #else
55753 # include <assert.h>
55754 #endif
55756 #undef $ac_func
55758 /* Override any gcc2 internal prototype to avoid an error. */
55759 #ifdef __cplusplus
55760 extern "C"
55762 #endif
55763 /* We use char because int might match the return type of a gcc2
55764 builtin and then its argument prototype would still apply. */
55765 char $ac_func ();
55766 /* The GNU C library defines this for functions which it implements
55767 to always fail with ENOSYS. Some functions are actually named
55768 something starting with __ and the normal name is an alias. */
55769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55770 choke me
55771 #else
55772 char (*f) () = $ac_func;
55773 #endif
55774 #ifdef __cplusplus
55776 #endif
55779 main ()
55781 return f != $ac_func;
55783 return 0;
55785 _ACEOF
55786 rm -f conftest.$ac_objext conftest$ac_exeext
55787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55788 (eval $ac_link) 2>conftest.er1
55789 ac_status=$?
55790 grep -v '^ *+' conftest.er1 >conftest.err
55791 rm -f conftest.er1
55792 cat conftest.err >&5
55793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55794 (exit $ac_status); } &&
55795 { ac_try='test -z "$ac_c_werror_flag"
55796 || test ! -s conftest.err'
55797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55798 (eval $ac_try) 2>&5
55799 ac_status=$?
55800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55801 (exit $ac_status); }; } &&
55802 { ac_try='test -s conftest$ac_exeext'
55803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55804 (eval $ac_try) 2>&5
55805 ac_status=$?
55806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55807 (exit $ac_status); }; }; then
55808 eval "$as_ac_var=yes"
55809 else
55810 echo "$as_me: failed program was:" >&5
55811 sed 's/^/| /' conftest.$ac_ext >&5
55813 eval "$as_ac_var=no"
55815 rm -f conftest.err conftest.$ac_objext \
55816 conftest$ac_exeext conftest.$ac_ext
55818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55820 if test `eval echo '${'$as_ac_var'}'` = yes; then
55821 cat >>confdefs.h <<_ACEOF
55822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55823 _ACEOF
55826 done
55828 else
55830 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55831 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55832 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55833 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55834 echo $ECHO_N "(cached) $ECHO_C" >&6
55835 else
55839 ac_ext=cc
55840 ac_cpp='$CXXCPP $CPPFLAGS'
55841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55845 cat >conftest.$ac_ext <<_ACEOF
55846 /* confdefs.h. */
55847 _ACEOF
55848 cat confdefs.h >>conftest.$ac_ext
55849 cat >>conftest.$ac_ext <<_ACEOF
55850 /* end confdefs.h. */
55851 #include <math.h>
55853 main ()
55855 _hypotl(0, 0);
55857 return 0;
55859 _ACEOF
55860 rm -f conftest.$ac_objext
55861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55862 (eval $ac_compile) 2>conftest.er1
55863 ac_status=$?
55864 grep -v '^ *+' conftest.er1 >conftest.err
55865 rm -f conftest.er1
55866 cat conftest.err >&5
55867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55868 (exit $ac_status); } &&
55869 { ac_try='test -z "$ac_cxx_werror_flag"
55870 || test ! -s conftest.err'
55871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55872 (eval $ac_try) 2>&5
55873 ac_status=$?
55874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55875 (exit $ac_status); }; } &&
55876 { ac_try='test -s conftest.$ac_objext'
55877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55878 (eval $ac_try) 2>&5
55879 ac_status=$?
55880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55881 (exit $ac_status); }; }; then
55882 glibcxx_cv_func__hypotl_use=yes
55883 else
55884 echo "$as_me: failed program was:" >&5
55885 sed 's/^/| /' conftest.$ac_ext >&5
55887 glibcxx_cv_func__hypotl_use=no
55889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55890 ac_ext=c
55891 ac_cpp='$CPP $CPPFLAGS'
55892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55901 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55903 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55905 for ac_func in _hypotl
55907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55908 echo "$as_me:$LINENO: checking for $ac_func" >&5
55909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55910 if eval "test \"\${$as_ac_var+set}\" = set"; then
55911 echo $ECHO_N "(cached) $ECHO_C" >&6
55912 else
55913 if test x$gcc_no_link = xyes; then
55914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55916 { (exit 1); exit 1; }; }
55918 cat >conftest.$ac_ext <<_ACEOF
55919 /* confdefs.h. */
55920 _ACEOF
55921 cat confdefs.h >>conftest.$ac_ext
55922 cat >>conftest.$ac_ext <<_ACEOF
55923 /* end confdefs.h. */
55924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55926 #define $ac_func innocuous_$ac_func
55928 /* System header to define __stub macros and hopefully few prototypes,
55929 which can conflict with char $ac_func (); below.
55930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55931 <limits.h> exists even on freestanding compilers. */
55933 #ifdef __STDC__
55934 # include <limits.h>
55935 #else
55936 # include <assert.h>
55937 #endif
55939 #undef $ac_func
55941 /* Override any gcc2 internal prototype to avoid an error. */
55942 #ifdef __cplusplus
55943 extern "C"
55945 #endif
55946 /* We use char because int might match the return type of a gcc2
55947 builtin and then its argument prototype would still apply. */
55948 char $ac_func ();
55949 /* The GNU C library defines this for functions which it implements
55950 to always fail with ENOSYS. Some functions are actually named
55951 something starting with __ and the normal name is an alias. */
55952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55953 choke me
55954 #else
55955 char (*f) () = $ac_func;
55956 #endif
55957 #ifdef __cplusplus
55959 #endif
55962 main ()
55964 return f != $ac_func;
55966 return 0;
55968 _ACEOF
55969 rm -f conftest.$ac_objext conftest$ac_exeext
55970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55971 (eval $ac_link) 2>conftest.er1
55972 ac_status=$?
55973 grep -v '^ *+' conftest.er1 >conftest.err
55974 rm -f conftest.er1
55975 cat conftest.err >&5
55976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55977 (exit $ac_status); } &&
55978 { ac_try='test -z "$ac_c_werror_flag"
55979 || test ! -s conftest.err'
55980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55981 (eval $ac_try) 2>&5
55982 ac_status=$?
55983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55984 (exit $ac_status); }; } &&
55985 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
55991 eval "$as_ac_var=yes"
55992 else
55993 echo "$as_me: failed program was:" >&5
55994 sed 's/^/| /' conftest.$ac_ext >&5
55996 eval "$as_ac_var=no"
55998 rm -f conftest.err conftest.$ac_objext \
55999 conftest$ac_exeext conftest.$ac_ext
56001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56003 if test `eval echo '${'$as_ac_var'}'` = yes; then
56004 cat >>confdefs.h <<_ACEOF
56005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56006 _ACEOF
56009 done
56019 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56020 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56021 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56022 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56023 echo $ECHO_N "(cached) $ECHO_C" >&6
56024 else
56028 ac_ext=cc
56029 ac_cpp='$CXXCPP $CPPFLAGS'
56030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56034 cat >conftest.$ac_ext <<_ACEOF
56035 /* confdefs.h. */
56036 _ACEOF
56037 cat confdefs.h >>conftest.$ac_ext
56038 cat >>conftest.$ac_ext <<_ACEOF
56039 /* end confdefs.h. */
56040 #include <math.h>
56042 main ()
56044 ldexpl(0, 0);
56046 return 0;
56048 _ACEOF
56049 rm -f conftest.$ac_objext
56050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56051 (eval $ac_compile) 2>conftest.er1
56052 ac_status=$?
56053 grep -v '^ *+' conftest.er1 >conftest.err
56054 rm -f conftest.er1
56055 cat conftest.err >&5
56056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56057 (exit $ac_status); } &&
56058 { ac_try='test -z "$ac_cxx_werror_flag"
56059 || test ! -s conftest.err'
56060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56061 (eval $ac_try) 2>&5
56062 ac_status=$?
56063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56064 (exit $ac_status); }; } &&
56065 { ac_try='test -s conftest.$ac_objext'
56066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56067 (eval $ac_try) 2>&5
56068 ac_status=$?
56069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56070 (exit $ac_status); }; }; then
56071 glibcxx_cv_func_ldexpl_use=yes
56072 else
56073 echo "$as_me: failed program was:" >&5
56074 sed 's/^/| /' conftest.$ac_ext >&5
56076 glibcxx_cv_func_ldexpl_use=no
56078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56079 ac_ext=c
56080 ac_cpp='$CPP $CPPFLAGS'
56081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56090 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56092 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56094 for ac_func in ldexpl
56096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56097 echo "$as_me:$LINENO: checking for $ac_func" >&5
56098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56099 if eval "test \"\${$as_ac_var+set}\" = set"; then
56100 echo $ECHO_N "(cached) $ECHO_C" >&6
56101 else
56102 if test x$gcc_no_link = xyes; then
56103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56105 { (exit 1); exit 1; }; }
56107 cat >conftest.$ac_ext <<_ACEOF
56108 /* confdefs.h. */
56109 _ACEOF
56110 cat confdefs.h >>conftest.$ac_ext
56111 cat >>conftest.$ac_ext <<_ACEOF
56112 /* end confdefs.h. */
56113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56115 #define $ac_func innocuous_$ac_func
56117 /* System header to define __stub macros and hopefully few prototypes,
56118 which can conflict with char $ac_func (); below.
56119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56120 <limits.h> exists even on freestanding compilers. */
56122 #ifdef __STDC__
56123 # include <limits.h>
56124 #else
56125 # include <assert.h>
56126 #endif
56128 #undef $ac_func
56130 /* Override any gcc2 internal prototype to avoid an error. */
56131 #ifdef __cplusplus
56132 extern "C"
56134 #endif
56135 /* We use char because int might match the return type of a gcc2
56136 builtin and then its argument prototype would still apply. */
56137 char $ac_func ();
56138 /* The GNU C library defines this for functions which it implements
56139 to always fail with ENOSYS. Some functions are actually named
56140 something starting with __ and the normal name is an alias. */
56141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56142 choke me
56143 #else
56144 char (*f) () = $ac_func;
56145 #endif
56146 #ifdef __cplusplus
56148 #endif
56151 main ()
56153 return f != $ac_func;
56155 return 0;
56157 _ACEOF
56158 rm -f conftest.$ac_objext conftest$ac_exeext
56159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56160 (eval $ac_link) 2>conftest.er1
56161 ac_status=$?
56162 grep -v '^ *+' conftest.er1 >conftest.err
56163 rm -f conftest.er1
56164 cat conftest.err >&5
56165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56166 (exit $ac_status); } &&
56167 { ac_try='test -z "$ac_c_werror_flag"
56168 || test ! -s conftest.err'
56169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56170 (eval $ac_try) 2>&5
56171 ac_status=$?
56172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56173 (exit $ac_status); }; } &&
56174 { ac_try='test -s conftest$ac_exeext'
56175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56176 (eval $ac_try) 2>&5
56177 ac_status=$?
56178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56179 (exit $ac_status); }; }; then
56180 eval "$as_ac_var=yes"
56181 else
56182 echo "$as_me: failed program was:" >&5
56183 sed 's/^/| /' conftest.$ac_ext >&5
56185 eval "$as_ac_var=no"
56187 rm -f conftest.err conftest.$ac_objext \
56188 conftest$ac_exeext conftest.$ac_ext
56190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56192 if test `eval echo '${'$as_ac_var'}'` = yes; then
56193 cat >>confdefs.h <<_ACEOF
56194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56195 _ACEOF
56198 done
56200 else
56202 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56203 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56204 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56205 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56206 echo $ECHO_N "(cached) $ECHO_C" >&6
56207 else
56211 ac_ext=cc
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56217 cat >conftest.$ac_ext <<_ACEOF
56218 /* confdefs.h. */
56219 _ACEOF
56220 cat confdefs.h >>conftest.$ac_ext
56221 cat >>conftest.$ac_ext <<_ACEOF
56222 /* end confdefs.h. */
56223 #include <math.h>
56225 main ()
56227 _ldexpl(0, 0);
56229 return 0;
56231 _ACEOF
56232 rm -f conftest.$ac_objext
56233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56234 (eval $ac_compile) 2>conftest.er1
56235 ac_status=$?
56236 grep -v '^ *+' conftest.er1 >conftest.err
56237 rm -f conftest.er1
56238 cat conftest.err >&5
56239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56240 (exit $ac_status); } &&
56241 { ac_try='test -z "$ac_cxx_werror_flag"
56242 || test ! -s conftest.err'
56243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56244 (eval $ac_try) 2>&5
56245 ac_status=$?
56246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56247 (exit $ac_status); }; } &&
56248 { ac_try='test -s conftest.$ac_objext'
56249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56250 (eval $ac_try) 2>&5
56251 ac_status=$?
56252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56253 (exit $ac_status); }; }; then
56254 glibcxx_cv_func__ldexpl_use=yes
56255 else
56256 echo "$as_me: failed program was:" >&5
56257 sed 's/^/| /' conftest.$ac_ext >&5
56259 glibcxx_cv_func__ldexpl_use=no
56261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56262 ac_ext=c
56263 ac_cpp='$CPP $CPPFLAGS'
56264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56272 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56273 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56275 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56277 for ac_func in _ldexpl
56279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56280 echo "$as_me:$LINENO: checking for $ac_func" >&5
56281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56282 if eval "test \"\${$as_ac_var+set}\" = set"; then
56283 echo $ECHO_N "(cached) $ECHO_C" >&6
56284 else
56285 if test x$gcc_no_link = xyes; then
56286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56288 { (exit 1); exit 1; }; }
56290 cat >conftest.$ac_ext <<_ACEOF
56291 /* confdefs.h. */
56292 _ACEOF
56293 cat confdefs.h >>conftest.$ac_ext
56294 cat >>conftest.$ac_ext <<_ACEOF
56295 /* end confdefs.h. */
56296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56298 #define $ac_func innocuous_$ac_func
56300 /* System header to define __stub macros and hopefully few prototypes,
56301 which can conflict with char $ac_func (); below.
56302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56303 <limits.h> exists even on freestanding compilers. */
56305 #ifdef __STDC__
56306 # include <limits.h>
56307 #else
56308 # include <assert.h>
56309 #endif
56311 #undef $ac_func
56313 /* Override any gcc2 internal prototype to avoid an error. */
56314 #ifdef __cplusplus
56315 extern "C"
56317 #endif
56318 /* We use char because int might match the return type of a gcc2
56319 builtin and then its argument prototype would still apply. */
56320 char $ac_func ();
56321 /* The GNU C library defines this for functions which it implements
56322 to always fail with ENOSYS. Some functions are actually named
56323 something starting with __ and the normal name is an alias. */
56324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56325 choke me
56326 #else
56327 char (*f) () = $ac_func;
56328 #endif
56329 #ifdef __cplusplus
56331 #endif
56334 main ()
56336 return f != $ac_func;
56338 return 0;
56340 _ACEOF
56341 rm -f conftest.$ac_objext conftest$ac_exeext
56342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56343 (eval $ac_link) 2>conftest.er1
56344 ac_status=$?
56345 grep -v '^ *+' conftest.er1 >conftest.err
56346 rm -f conftest.er1
56347 cat conftest.err >&5
56348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56349 (exit $ac_status); } &&
56350 { ac_try='test -z "$ac_c_werror_flag"
56351 || test ! -s conftest.err'
56352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56353 (eval $ac_try) 2>&5
56354 ac_status=$?
56355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56356 (exit $ac_status); }; } &&
56357 { ac_try='test -s conftest$ac_exeext'
56358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56359 (eval $ac_try) 2>&5
56360 ac_status=$?
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); }; }; then
56363 eval "$as_ac_var=yes"
56364 else
56365 echo "$as_me: failed program was:" >&5
56366 sed 's/^/| /' conftest.$ac_ext >&5
56368 eval "$as_ac_var=no"
56370 rm -f conftest.err conftest.$ac_objext \
56371 conftest$ac_exeext conftest.$ac_ext
56373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56375 if test `eval echo '${'$as_ac_var'}'` = yes; then
56376 cat >>confdefs.h <<_ACEOF
56377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56378 _ACEOF
56381 done
56391 echo "$as_me:$LINENO: checking for logl declaration" >&5
56392 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56393 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56394 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56395 echo $ECHO_N "(cached) $ECHO_C" >&6
56396 else
56400 ac_ext=cc
56401 ac_cpp='$CXXCPP $CPPFLAGS'
56402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56406 cat >conftest.$ac_ext <<_ACEOF
56407 /* confdefs.h. */
56408 _ACEOF
56409 cat confdefs.h >>conftest.$ac_ext
56410 cat >>conftest.$ac_ext <<_ACEOF
56411 /* end confdefs.h. */
56412 #include <math.h>
56413 #ifdef HAVE_IEEEFP_H
56414 #include <ieeefp.h>
56415 #endif
56418 main ()
56420 logl(0);
56422 return 0;
56424 _ACEOF
56425 rm -f conftest.$ac_objext
56426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56427 (eval $ac_compile) 2>conftest.er1
56428 ac_status=$?
56429 grep -v '^ *+' conftest.er1 >conftest.err
56430 rm -f conftest.er1
56431 cat conftest.err >&5
56432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56433 (exit $ac_status); } &&
56434 { ac_try='test -z "$ac_cxx_werror_flag"
56435 || test ! -s conftest.err'
56436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56437 (eval $ac_try) 2>&5
56438 ac_status=$?
56439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56440 (exit $ac_status); }; } &&
56441 { ac_try='test -s conftest.$ac_objext'
56442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56443 (eval $ac_try) 2>&5
56444 ac_status=$?
56445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56446 (exit $ac_status); }; }; then
56447 glibcxx_cv_func_logl_use=yes
56448 else
56449 echo "$as_me: failed program was:" >&5
56450 sed 's/^/| /' conftest.$ac_ext >&5
56452 glibcxx_cv_func_logl_use=no
56454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56455 ac_ext=c
56456 ac_cpp='$CPP $CPPFLAGS'
56457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56466 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56468 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56470 for ac_func in logl
56472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56473 echo "$as_me:$LINENO: checking for $ac_func" >&5
56474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56475 if eval "test \"\${$as_ac_var+set}\" = set"; then
56476 echo $ECHO_N "(cached) $ECHO_C" >&6
56477 else
56478 if test x$gcc_no_link = xyes; then
56479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56481 { (exit 1); exit 1; }; }
56483 cat >conftest.$ac_ext <<_ACEOF
56484 /* confdefs.h. */
56485 _ACEOF
56486 cat confdefs.h >>conftest.$ac_ext
56487 cat >>conftest.$ac_ext <<_ACEOF
56488 /* end confdefs.h. */
56489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56491 #define $ac_func innocuous_$ac_func
56493 /* System header to define __stub macros and hopefully few prototypes,
56494 which can conflict with char $ac_func (); below.
56495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56496 <limits.h> exists even on freestanding compilers. */
56498 #ifdef __STDC__
56499 # include <limits.h>
56500 #else
56501 # include <assert.h>
56502 #endif
56504 #undef $ac_func
56506 /* Override any gcc2 internal prototype to avoid an error. */
56507 #ifdef __cplusplus
56508 extern "C"
56510 #endif
56511 /* We use char because int might match the return type of a gcc2
56512 builtin and then its argument prototype would still apply. */
56513 char $ac_func ();
56514 /* The GNU C library defines this for functions which it implements
56515 to always fail with ENOSYS. Some functions are actually named
56516 something starting with __ and the normal name is an alias. */
56517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56518 choke me
56519 #else
56520 char (*f) () = $ac_func;
56521 #endif
56522 #ifdef __cplusplus
56524 #endif
56527 main ()
56529 return f != $ac_func;
56531 return 0;
56533 _ACEOF
56534 rm -f conftest.$ac_objext conftest$ac_exeext
56535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56536 (eval $ac_link) 2>conftest.er1
56537 ac_status=$?
56538 grep -v '^ *+' conftest.er1 >conftest.err
56539 rm -f conftest.er1
56540 cat conftest.err >&5
56541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56542 (exit $ac_status); } &&
56543 { ac_try='test -z "$ac_c_werror_flag"
56544 || test ! -s conftest.err'
56545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56546 (eval $ac_try) 2>&5
56547 ac_status=$?
56548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56549 (exit $ac_status); }; } &&
56550 { ac_try='test -s conftest$ac_exeext'
56551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56552 (eval $ac_try) 2>&5
56553 ac_status=$?
56554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56555 (exit $ac_status); }; }; then
56556 eval "$as_ac_var=yes"
56557 else
56558 echo "$as_me: failed program was:" >&5
56559 sed 's/^/| /' conftest.$ac_ext >&5
56561 eval "$as_ac_var=no"
56563 rm -f conftest.err conftest.$ac_objext \
56564 conftest$ac_exeext conftest.$ac_ext
56566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56568 if test `eval echo '${'$as_ac_var'}'` = yes; then
56569 cat >>confdefs.h <<_ACEOF
56570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56571 _ACEOF
56574 done
56576 else
56578 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56579 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56580 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56581 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56582 echo $ECHO_N "(cached) $ECHO_C" >&6
56583 else
56587 ac_ext=cc
56588 ac_cpp='$CXXCPP $CPPFLAGS'
56589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56593 cat >conftest.$ac_ext <<_ACEOF
56594 /* confdefs.h. */
56595 _ACEOF
56596 cat confdefs.h >>conftest.$ac_ext
56597 cat >>conftest.$ac_ext <<_ACEOF
56598 /* end confdefs.h. */
56599 #include <math.h>
56600 #ifdef HAVE_IEEEFP_H
56601 #include <ieeefp.h>
56602 #endif
56605 main ()
56607 _logl(0);
56609 return 0;
56611 _ACEOF
56612 rm -f conftest.$ac_objext
56613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56614 (eval $ac_compile) 2>conftest.er1
56615 ac_status=$?
56616 grep -v '^ *+' conftest.er1 >conftest.err
56617 rm -f conftest.er1
56618 cat conftest.err >&5
56619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56620 (exit $ac_status); } &&
56621 { ac_try='test -z "$ac_cxx_werror_flag"
56622 || test ! -s conftest.err'
56623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56624 (eval $ac_try) 2>&5
56625 ac_status=$?
56626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56627 (exit $ac_status); }; } &&
56628 { ac_try='test -s conftest.$ac_objext'
56629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56630 (eval $ac_try) 2>&5
56631 ac_status=$?
56632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56633 (exit $ac_status); }; }; then
56634 glibcxx_cv_func__logl_use=yes
56635 else
56636 echo "$as_me: failed program was:" >&5
56637 sed 's/^/| /' conftest.$ac_ext >&5
56639 glibcxx_cv_func__logl_use=no
56641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56642 ac_ext=c
56643 ac_cpp='$CPP $CPPFLAGS'
56644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56652 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56653 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56655 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56657 for ac_func in _logl
56659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56660 echo "$as_me:$LINENO: checking for $ac_func" >&5
56661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56662 if eval "test \"\${$as_ac_var+set}\" = set"; then
56663 echo $ECHO_N "(cached) $ECHO_C" >&6
56664 else
56665 if test x$gcc_no_link = xyes; then
56666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56668 { (exit 1); exit 1; }; }
56670 cat >conftest.$ac_ext <<_ACEOF
56671 /* confdefs.h. */
56672 _ACEOF
56673 cat confdefs.h >>conftest.$ac_ext
56674 cat >>conftest.$ac_ext <<_ACEOF
56675 /* end confdefs.h. */
56676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56678 #define $ac_func innocuous_$ac_func
56680 /* System header to define __stub macros and hopefully few prototypes,
56681 which can conflict with char $ac_func (); below.
56682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56683 <limits.h> exists even on freestanding compilers. */
56685 #ifdef __STDC__
56686 # include <limits.h>
56687 #else
56688 # include <assert.h>
56689 #endif
56691 #undef $ac_func
56693 /* Override any gcc2 internal prototype to avoid an error. */
56694 #ifdef __cplusplus
56695 extern "C"
56697 #endif
56698 /* We use char because int might match the return type of a gcc2
56699 builtin and then its argument prototype would still apply. */
56700 char $ac_func ();
56701 /* The GNU C library defines this for functions which it implements
56702 to always fail with ENOSYS. Some functions are actually named
56703 something starting with __ and the normal name is an alias. */
56704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56705 choke me
56706 #else
56707 char (*f) () = $ac_func;
56708 #endif
56709 #ifdef __cplusplus
56711 #endif
56714 main ()
56716 return f != $ac_func;
56718 return 0;
56720 _ACEOF
56721 rm -f conftest.$ac_objext conftest$ac_exeext
56722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56723 (eval $ac_link) 2>conftest.er1
56724 ac_status=$?
56725 grep -v '^ *+' conftest.er1 >conftest.err
56726 rm -f conftest.er1
56727 cat conftest.err >&5
56728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56729 (exit $ac_status); } &&
56730 { ac_try='test -z "$ac_c_werror_flag"
56731 || test ! -s conftest.err'
56732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56733 (eval $ac_try) 2>&5
56734 ac_status=$?
56735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56736 (exit $ac_status); }; } &&
56737 { ac_try='test -s conftest$ac_exeext'
56738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56739 (eval $ac_try) 2>&5
56740 ac_status=$?
56741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56742 (exit $ac_status); }; }; then
56743 eval "$as_ac_var=yes"
56744 else
56745 echo "$as_me: failed program was:" >&5
56746 sed 's/^/| /' conftest.$ac_ext >&5
56748 eval "$as_ac_var=no"
56750 rm -f conftest.err conftest.$ac_objext \
56751 conftest$ac_exeext conftest.$ac_ext
56753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56755 if test `eval echo '${'$as_ac_var'}'` = yes; then
56756 cat >>confdefs.h <<_ACEOF
56757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56758 _ACEOF
56761 done
56771 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56772 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56773 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56774 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56775 echo $ECHO_N "(cached) $ECHO_C" >&6
56776 else
56780 ac_ext=cc
56781 ac_cpp='$CXXCPP $CPPFLAGS'
56782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56786 cat >conftest.$ac_ext <<_ACEOF
56787 /* confdefs.h. */
56788 _ACEOF
56789 cat confdefs.h >>conftest.$ac_ext
56790 cat >>conftest.$ac_ext <<_ACEOF
56791 /* end confdefs.h. */
56792 #include <math.h>
56793 #ifdef HAVE_IEEEFP_H
56794 #include <ieeefp.h>
56795 #endif
56798 main ()
56800 log10l(0);
56802 return 0;
56804 _ACEOF
56805 rm -f conftest.$ac_objext
56806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56807 (eval $ac_compile) 2>conftest.er1
56808 ac_status=$?
56809 grep -v '^ *+' conftest.er1 >conftest.err
56810 rm -f conftest.er1
56811 cat conftest.err >&5
56812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56813 (exit $ac_status); } &&
56814 { ac_try='test -z "$ac_cxx_werror_flag"
56815 || test ! -s conftest.err'
56816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56817 (eval $ac_try) 2>&5
56818 ac_status=$?
56819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56820 (exit $ac_status); }; } &&
56821 { ac_try='test -s conftest.$ac_objext'
56822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56823 (eval $ac_try) 2>&5
56824 ac_status=$?
56825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56826 (exit $ac_status); }; }; then
56827 glibcxx_cv_func_log10l_use=yes
56828 else
56829 echo "$as_me: failed program was:" >&5
56830 sed 's/^/| /' conftest.$ac_ext >&5
56832 glibcxx_cv_func_log10l_use=no
56834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56835 ac_ext=c
56836 ac_cpp='$CPP $CPPFLAGS'
56837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56846 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56848 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56850 for ac_func in log10l
56852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56853 echo "$as_me:$LINENO: checking for $ac_func" >&5
56854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56855 if eval "test \"\${$as_ac_var+set}\" = set"; then
56856 echo $ECHO_N "(cached) $ECHO_C" >&6
56857 else
56858 if test x$gcc_no_link = xyes; then
56859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56861 { (exit 1); exit 1; }; }
56863 cat >conftest.$ac_ext <<_ACEOF
56864 /* confdefs.h. */
56865 _ACEOF
56866 cat confdefs.h >>conftest.$ac_ext
56867 cat >>conftest.$ac_ext <<_ACEOF
56868 /* end confdefs.h. */
56869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56871 #define $ac_func innocuous_$ac_func
56873 /* System header to define __stub macros and hopefully few prototypes,
56874 which can conflict with char $ac_func (); below.
56875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56876 <limits.h> exists even on freestanding compilers. */
56878 #ifdef __STDC__
56879 # include <limits.h>
56880 #else
56881 # include <assert.h>
56882 #endif
56884 #undef $ac_func
56886 /* Override any gcc2 internal prototype to avoid an error. */
56887 #ifdef __cplusplus
56888 extern "C"
56890 #endif
56891 /* We use char because int might match the return type of a gcc2
56892 builtin and then its argument prototype would still apply. */
56893 char $ac_func ();
56894 /* The GNU C library defines this for functions which it implements
56895 to always fail with ENOSYS. Some functions are actually named
56896 something starting with __ and the normal name is an alias. */
56897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56898 choke me
56899 #else
56900 char (*f) () = $ac_func;
56901 #endif
56902 #ifdef __cplusplus
56904 #endif
56907 main ()
56909 return f != $ac_func;
56911 return 0;
56913 _ACEOF
56914 rm -f conftest.$ac_objext conftest$ac_exeext
56915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56916 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
56937 else
56938 echo "$as_me: failed program was:" >&5
56939 sed 's/^/| /' conftest.$ac_ext >&5
56941 eval "$as_ac_var=no"
56943 rm -f conftest.err conftest.$ac_objext \
56944 conftest$ac_exeext conftest.$ac_ext
56946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56948 if test `eval echo '${'$as_ac_var'}'` = yes; then
56949 cat >>confdefs.h <<_ACEOF
56950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56951 _ACEOF
56954 done
56956 else
56958 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56959 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56960 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56961 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56962 echo $ECHO_N "(cached) $ECHO_C" >&6
56963 else
56967 ac_ext=cc
56968 ac_cpp='$CXXCPP $CPPFLAGS'
56969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56973 cat >conftest.$ac_ext <<_ACEOF
56974 /* confdefs.h. */
56975 _ACEOF
56976 cat confdefs.h >>conftest.$ac_ext
56977 cat >>conftest.$ac_ext <<_ACEOF
56978 /* end confdefs.h. */
56979 #include <math.h>
56980 #ifdef HAVE_IEEEFP_H
56981 #include <ieeefp.h>
56982 #endif
56985 main ()
56987 _log10l(0);
56989 return 0;
56991 _ACEOF
56992 rm -f conftest.$ac_objext
56993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56994 (eval $ac_compile) 2>conftest.er1
56995 ac_status=$?
56996 grep -v '^ *+' conftest.er1 >conftest.err
56997 rm -f conftest.er1
56998 cat conftest.err >&5
56999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57000 (exit $ac_status); } &&
57001 { ac_try='test -z "$ac_cxx_werror_flag"
57002 || test ! -s conftest.err'
57003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57004 (eval $ac_try) 2>&5
57005 ac_status=$?
57006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57007 (exit $ac_status); }; } &&
57008 { ac_try='test -s conftest.$ac_objext'
57009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57010 (eval $ac_try) 2>&5
57011 ac_status=$?
57012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57013 (exit $ac_status); }; }; then
57014 glibcxx_cv_func__log10l_use=yes
57015 else
57016 echo "$as_me: failed program was:" >&5
57017 sed 's/^/| /' conftest.$ac_ext >&5
57019 glibcxx_cv_func__log10l_use=no
57021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57022 ac_ext=c
57023 ac_cpp='$CPP $CPPFLAGS'
57024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57033 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57035 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57037 for ac_func in _log10l
57039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57040 echo "$as_me:$LINENO: checking for $ac_func" >&5
57041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57042 if eval "test \"\${$as_ac_var+set}\" = set"; then
57043 echo $ECHO_N "(cached) $ECHO_C" >&6
57044 else
57045 if test x$gcc_no_link = xyes; then
57046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57048 { (exit 1); exit 1; }; }
57050 cat >conftest.$ac_ext <<_ACEOF
57051 /* confdefs.h. */
57052 _ACEOF
57053 cat confdefs.h >>conftest.$ac_ext
57054 cat >>conftest.$ac_ext <<_ACEOF
57055 /* end confdefs.h. */
57056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57058 #define $ac_func innocuous_$ac_func
57060 /* System header to define __stub macros and hopefully few prototypes,
57061 which can conflict with char $ac_func (); below.
57062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57063 <limits.h> exists even on freestanding compilers. */
57065 #ifdef __STDC__
57066 # include <limits.h>
57067 #else
57068 # include <assert.h>
57069 #endif
57071 #undef $ac_func
57073 /* Override any gcc2 internal prototype to avoid an error. */
57074 #ifdef __cplusplus
57075 extern "C"
57077 #endif
57078 /* We use char because int might match the return type of a gcc2
57079 builtin and then its argument prototype would still apply. */
57080 char $ac_func ();
57081 /* The GNU C library defines this for functions which it implements
57082 to always fail with ENOSYS. Some functions are actually named
57083 something starting with __ and the normal name is an alias. */
57084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57085 choke me
57086 #else
57087 char (*f) () = $ac_func;
57088 #endif
57089 #ifdef __cplusplus
57091 #endif
57094 main ()
57096 return f != $ac_func;
57098 return 0;
57100 _ACEOF
57101 rm -f conftest.$ac_objext conftest$ac_exeext
57102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57103 (eval $ac_link) 2>conftest.er1
57104 ac_status=$?
57105 grep -v '^ *+' conftest.er1 >conftest.err
57106 rm -f conftest.er1
57107 cat conftest.err >&5
57108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57109 (exit $ac_status); } &&
57110 { ac_try='test -z "$ac_c_werror_flag"
57111 || test ! -s conftest.err'
57112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57113 (eval $ac_try) 2>&5
57114 ac_status=$?
57115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57116 (exit $ac_status); }; } &&
57117 { ac_try='test -s conftest$ac_exeext'
57118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57119 (eval $ac_try) 2>&5
57120 ac_status=$?
57121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57122 (exit $ac_status); }; }; then
57123 eval "$as_ac_var=yes"
57124 else
57125 echo "$as_me: failed program was:" >&5
57126 sed 's/^/| /' conftest.$ac_ext >&5
57128 eval "$as_ac_var=no"
57130 rm -f conftest.err conftest.$ac_objext \
57131 conftest$ac_exeext conftest.$ac_ext
57133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57135 if test `eval echo '${'$as_ac_var'}'` = yes; then
57136 cat >>confdefs.h <<_ACEOF
57137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57138 _ACEOF
57141 done
57151 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57152 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57153 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57154 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57155 echo $ECHO_N "(cached) $ECHO_C" >&6
57156 else
57160 ac_ext=cc
57161 ac_cpp='$CXXCPP $CPPFLAGS'
57162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57166 cat >conftest.$ac_ext <<_ACEOF
57167 /* confdefs.h. */
57168 _ACEOF
57169 cat confdefs.h >>conftest.$ac_ext
57170 cat >>conftest.$ac_ext <<_ACEOF
57171 /* end confdefs.h. */
57172 #include <math.h>
57174 main ()
57176 modfl(0, 0);
57178 return 0;
57180 _ACEOF
57181 rm -f conftest.$ac_objext
57182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57183 (eval $ac_compile) 2>conftest.er1
57184 ac_status=$?
57185 grep -v '^ *+' conftest.er1 >conftest.err
57186 rm -f conftest.er1
57187 cat conftest.err >&5
57188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57189 (exit $ac_status); } &&
57190 { ac_try='test -z "$ac_cxx_werror_flag"
57191 || test ! -s conftest.err'
57192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57193 (eval $ac_try) 2>&5
57194 ac_status=$?
57195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57196 (exit $ac_status); }; } &&
57197 { ac_try='test -s conftest.$ac_objext'
57198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57199 (eval $ac_try) 2>&5
57200 ac_status=$?
57201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57202 (exit $ac_status); }; }; then
57203 glibcxx_cv_func_modfl_use=yes
57204 else
57205 echo "$as_me: failed program was:" >&5
57206 sed 's/^/| /' conftest.$ac_ext >&5
57208 glibcxx_cv_func_modfl_use=no
57210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57211 ac_ext=c
57212 ac_cpp='$CPP $CPPFLAGS'
57213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57222 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57224 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57226 for ac_func in modfl
57228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57229 echo "$as_me:$LINENO: checking for $ac_func" >&5
57230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57231 if eval "test \"\${$as_ac_var+set}\" = set"; then
57232 echo $ECHO_N "(cached) $ECHO_C" >&6
57233 else
57234 if test x$gcc_no_link = xyes; then
57235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57237 { (exit 1); exit 1; }; }
57239 cat >conftest.$ac_ext <<_ACEOF
57240 /* confdefs.h. */
57241 _ACEOF
57242 cat confdefs.h >>conftest.$ac_ext
57243 cat >>conftest.$ac_ext <<_ACEOF
57244 /* end confdefs.h. */
57245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57247 #define $ac_func innocuous_$ac_func
57249 /* System header to define __stub macros and hopefully few prototypes,
57250 which can conflict with char $ac_func (); below.
57251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57252 <limits.h> exists even on freestanding compilers. */
57254 #ifdef __STDC__
57255 # include <limits.h>
57256 #else
57257 # include <assert.h>
57258 #endif
57260 #undef $ac_func
57262 /* Override any gcc2 internal prototype to avoid an error. */
57263 #ifdef __cplusplus
57264 extern "C"
57266 #endif
57267 /* We use char because int might match the return type of a gcc2
57268 builtin and then its argument prototype would still apply. */
57269 char $ac_func ();
57270 /* The GNU C library defines this for functions which it implements
57271 to always fail with ENOSYS. Some functions are actually named
57272 something starting with __ and the normal name is an alias. */
57273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57274 choke me
57275 #else
57276 char (*f) () = $ac_func;
57277 #endif
57278 #ifdef __cplusplus
57280 #endif
57283 main ()
57285 return f != $ac_func;
57287 return 0;
57289 _ACEOF
57290 rm -f conftest.$ac_objext conftest$ac_exeext
57291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57292 (eval $ac_link) 2>conftest.er1
57293 ac_status=$?
57294 grep -v '^ *+' conftest.er1 >conftest.err
57295 rm -f conftest.er1
57296 cat conftest.err >&5
57297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57298 (exit $ac_status); } &&
57299 { ac_try='test -z "$ac_c_werror_flag"
57300 || test ! -s conftest.err'
57301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57302 (eval $ac_try) 2>&5
57303 ac_status=$?
57304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57305 (exit $ac_status); }; } &&
57306 { ac_try='test -s conftest$ac_exeext'
57307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57308 (eval $ac_try) 2>&5
57309 ac_status=$?
57310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57311 (exit $ac_status); }; }; then
57312 eval "$as_ac_var=yes"
57313 else
57314 echo "$as_me: failed program was:" >&5
57315 sed 's/^/| /' conftest.$ac_ext >&5
57317 eval "$as_ac_var=no"
57319 rm -f conftest.err conftest.$ac_objext \
57320 conftest$ac_exeext conftest.$ac_ext
57322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57324 if test `eval echo '${'$as_ac_var'}'` = yes; then
57325 cat >>confdefs.h <<_ACEOF
57326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57327 _ACEOF
57330 done
57332 else
57334 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57335 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57336 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57337 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57338 echo $ECHO_N "(cached) $ECHO_C" >&6
57339 else
57343 ac_ext=cc
57344 ac_cpp='$CXXCPP $CPPFLAGS'
57345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57349 cat >conftest.$ac_ext <<_ACEOF
57350 /* confdefs.h. */
57351 _ACEOF
57352 cat confdefs.h >>conftest.$ac_ext
57353 cat >>conftest.$ac_ext <<_ACEOF
57354 /* end confdefs.h. */
57355 #include <math.h>
57357 main ()
57359 _modfl(0, 0);
57361 return 0;
57363 _ACEOF
57364 rm -f conftest.$ac_objext
57365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57366 (eval $ac_compile) 2>conftest.er1
57367 ac_status=$?
57368 grep -v '^ *+' conftest.er1 >conftest.err
57369 rm -f conftest.er1
57370 cat conftest.err >&5
57371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57372 (exit $ac_status); } &&
57373 { ac_try='test -z "$ac_cxx_werror_flag"
57374 || test ! -s conftest.err'
57375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57376 (eval $ac_try) 2>&5
57377 ac_status=$?
57378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57379 (exit $ac_status); }; } &&
57380 { ac_try='test -s conftest.$ac_objext'
57381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57382 (eval $ac_try) 2>&5
57383 ac_status=$?
57384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57385 (exit $ac_status); }; }; then
57386 glibcxx_cv_func__modfl_use=yes
57387 else
57388 echo "$as_me: failed program was:" >&5
57389 sed 's/^/| /' conftest.$ac_ext >&5
57391 glibcxx_cv_func__modfl_use=no
57393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57394 ac_ext=c
57395 ac_cpp='$CPP $CPPFLAGS'
57396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57405 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57407 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57409 for ac_func in _modfl
57411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57412 echo "$as_me:$LINENO: checking for $ac_func" >&5
57413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57414 if eval "test \"\${$as_ac_var+set}\" = set"; then
57415 echo $ECHO_N "(cached) $ECHO_C" >&6
57416 else
57417 if test x$gcc_no_link = xyes; then
57418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57420 { (exit 1); exit 1; }; }
57422 cat >conftest.$ac_ext <<_ACEOF
57423 /* confdefs.h. */
57424 _ACEOF
57425 cat confdefs.h >>conftest.$ac_ext
57426 cat >>conftest.$ac_ext <<_ACEOF
57427 /* end confdefs.h. */
57428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57430 #define $ac_func innocuous_$ac_func
57432 /* System header to define __stub macros and hopefully few prototypes,
57433 which can conflict with char $ac_func (); below.
57434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57435 <limits.h> exists even on freestanding compilers. */
57437 #ifdef __STDC__
57438 # include <limits.h>
57439 #else
57440 # include <assert.h>
57441 #endif
57443 #undef $ac_func
57445 /* Override any gcc2 internal prototype to avoid an error. */
57446 #ifdef __cplusplus
57447 extern "C"
57449 #endif
57450 /* We use char because int might match the return type of a gcc2
57451 builtin and then its argument prototype would still apply. */
57452 char $ac_func ();
57453 /* The GNU C library defines this for functions which it implements
57454 to always fail with ENOSYS. Some functions are actually named
57455 something starting with __ and the normal name is an alias. */
57456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57457 choke me
57458 #else
57459 char (*f) () = $ac_func;
57460 #endif
57461 #ifdef __cplusplus
57463 #endif
57466 main ()
57468 return f != $ac_func;
57470 return 0;
57472 _ACEOF
57473 rm -f conftest.$ac_objext conftest$ac_exeext
57474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57475 (eval $ac_link) 2>conftest.er1
57476 ac_status=$?
57477 grep -v '^ *+' conftest.er1 >conftest.err
57478 rm -f conftest.er1
57479 cat conftest.err >&5
57480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57481 (exit $ac_status); } &&
57482 { ac_try='test -z "$ac_c_werror_flag"
57483 || test ! -s conftest.err'
57484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57485 (eval $ac_try) 2>&5
57486 ac_status=$?
57487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488 (exit $ac_status); }; } &&
57489 { ac_try='test -s conftest$ac_exeext'
57490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57491 (eval $ac_try) 2>&5
57492 ac_status=$?
57493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57494 (exit $ac_status); }; }; then
57495 eval "$as_ac_var=yes"
57496 else
57497 echo "$as_me: failed program was:" >&5
57498 sed 's/^/| /' conftest.$ac_ext >&5
57500 eval "$as_ac_var=no"
57502 rm -f conftest.err conftest.$ac_objext \
57503 conftest$ac_exeext conftest.$ac_ext
57505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57507 if test `eval echo '${'$as_ac_var'}'` = yes; then
57508 cat >>confdefs.h <<_ACEOF
57509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57510 _ACEOF
57513 done
57523 echo "$as_me:$LINENO: checking for powl declaration" >&5
57524 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57525 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57526 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57527 echo $ECHO_N "(cached) $ECHO_C" >&6
57528 else
57532 ac_ext=cc
57533 ac_cpp='$CXXCPP $CPPFLAGS'
57534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57538 cat >conftest.$ac_ext <<_ACEOF
57539 /* confdefs.h. */
57540 _ACEOF
57541 cat confdefs.h >>conftest.$ac_ext
57542 cat >>conftest.$ac_ext <<_ACEOF
57543 /* end confdefs.h. */
57544 #include <math.h>
57546 main ()
57548 powl(0, 0);
57550 return 0;
57552 _ACEOF
57553 rm -f conftest.$ac_objext
57554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57555 (eval $ac_compile) 2>conftest.er1
57556 ac_status=$?
57557 grep -v '^ *+' conftest.er1 >conftest.err
57558 rm -f conftest.er1
57559 cat conftest.err >&5
57560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57561 (exit $ac_status); } &&
57562 { ac_try='test -z "$ac_cxx_werror_flag"
57563 || test ! -s conftest.err'
57564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57565 (eval $ac_try) 2>&5
57566 ac_status=$?
57567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57568 (exit $ac_status); }; } &&
57569 { ac_try='test -s conftest.$ac_objext'
57570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57571 (eval $ac_try) 2>&5
57572 ac_status=$?
57573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57574 (exit $ac_status); }; }; then
57575 glibcxx_cv_func_powl_use=yes
57576 else
57577 echo "$as_me: failed program was:" >&5
57578 sed 's/^/| /' conftest.$ac_ext >&5
57580 glibcxx_cv_func_powl_use=no
57582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57583 ac_ext=c
57584 ac_cpp='$CPP $CPPFLAGS'
57585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57594 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57596 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57598 for ac_func in powl
57600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57601 echo "$as_me:$LINENO: checking for $ac_func" >&5
57602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57603 if eval "test \"\${$as_ac_var+set}\" = set"; then
57604 echo $ECHO_N "(cached) $ECHO_C" >&6
57605 else
57606 if test x$gcc_no_link = xyes; then
57607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57609 { (exit 1); exit 1; }; }
57611 cat >conftest.$ac_ext <<_ACEOF
57612 /* confdefs.h. */
57613 _ACEOF
57614 cat confdefs.h >>conftest.$ac_ext
57615 cat >>conftest.$ac_ext <<_ACEOF
57616 /* end confdefs.h. */
57617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57619 #define $ac_func innocuous_$ac_func
57621 /* System header to define __stub macros and hopefully few prototypes,
57622 which can conflict with char $ac_func (); below.
57623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57624 <limits.h> exists even on freestanding compilers. */
57626 #ifdef __STDC__
57627 # include <limits.h>
57628 #else
57629 # include <assert.h>
57630 #endif
57632 #undef $ac_func
57634 /* Override any gcc2 internal prototype to avoid an error. */
57635 #ifdef __cplusplus
57636 extern "C"
57638 #endif
57639 /* We use char because int might match the return type of a gcc2
57640 builtin and then its argument prototype would still apply. */
57641 char $ac_func ();
57642 /* The GNU C library defines this for functions which it implements
57643 to always fail with ENOSYS. Some functions are actually named
57644 something starting with __ and the normal name is an alias. */
57645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57646 choke me
57647 #else
57648 char (*f) () = $ac_func;
57649 #endif
57650 #ifdef __cplusplus
57652 #endif
57655 main ()
57657 return f != $ac_func;
57659 return 0;
57661 _ACEOF
57662 rm -f conftest.$ac_objext conftest$ac_exeext
57663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57664 (eval $ac_link) 2>conftest.er1
57665 ac_status=$?
57666 grep -v '^ *+' conftest.er1 >conftest.err
57667 rm -f conftest.er1
57668 cat conftest.err >&5
57669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57670 (exit $ac_status); } &&
57671 { ac_try='test -z "$ac_c_werror_flag"
57672 || test ! -s conftest.err'
57673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57674 (eval $ac_try) 2>&5
57675 ac_status=$?
57676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57677 (exit $ac_status); }; } &&
57678 { ac_try='test -s conftest$ac_exeext'
57679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57680 (eval $ac_try) 2>&5
57681 ac_status=$?
57682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57683 (exit $ac_status); }; }; then
57684 eval "$as_ac_var=yes"
57685 else
57686 echo "$as_me: failed program was:" >&5
57687 sed 's/^/| /' conftest.$ac_ext >&5
57689 eval "$as_ac_var=no"
57691 rm -f conftest.err conftest.$ac_objext \
57692 conftest$ac_exeext conftest.$ac_ext
57694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57696 if test `eval echo '${'$as_ac_var'}'` = yes; then
57697 cat >>confdefs.h <<_ACEOF
57698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57699 _ACEOF
57702 done
57704 else
57706 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57707 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57708 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57709 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57710 echo $ECHO_N "(cached) $ECHO_C" >&6
57711 else
57715 ac_ext=cc
57716 ac_cpp='$CXXCPP $CPPFLAGS'
57717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57721 cat >conftest.$ac_ext <<_ACEOF
57722 /* confdefs.h. */
57723 _ACEOF
57724 cat confdefs.h >>conftest.$ac_ext
57725 cat >>conftest.$ac_ext <<_ACEOF
57726 /* end confdefs.h. */
57727 #include <math.h>
57729 main ()
57731 _powl(0, 0);
57733 return 0;
57735 _ACEOF
57736 rm -f conftest.$ac_objext
57737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57738 (eval $ac_compile) 2>conftest.er1
57739 ac_status=$?
57740 grep -v '^ *+' conftest.er1 >conftest.err
57741 rm -f conftest.er1
57742 cat conftest.err >&5
57743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57744 (exit $ac_status); } &&
57745 { ac_try='test -z "$ac_cxx_werror_flag"
57746 || test ! -s conftest.err'
57747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57748 (eval $ac_try) 2>&5
57749 ac_status=$?
57750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57751 (exit $ac_status); }; } &&
57752 { ac_try='test -s conftest.$ac_objext'
57753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57754 (eval $ac_try) 2>&5
57755 ac_status=$?
57756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57757 (exit $ac_status); }; }; then
57758 glibcxx_cv_func__powl_use=yes
57759 else
57760 echo "$as_me: failed program was:" >&5
57761 sed 's/^/| /' conftest.$ac_ext >&5
57763 glibcxx_cv_func__powl_use=no
57765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57766 ac_ext=c
57767 ac_cpp='$CPP $CPPFLAGS'
57768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57777 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57779 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57781 for ac_func in _powl
57783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57784 echo "$as_me:$LINENO: checking for $ac_func" >&5
57785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57786 if eval "test \"\${$as_ac_var+set}\" = set"; then
57787 echo $ECHO_N "(cached) $ECHO_C" >&6
57788 else
57789 if test x$gcc_no_link = xyes; then
57790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57792 { (exit 1); exit 1; }; }
57794 cat >conftest.$ac_ext <<_ACEOF
57795 /* confdefs.h. */
57796 _ACEOF
57797 cat confdefs.h >>conftest.$ac_ext
57798 cat >>conftest.$ac_ext <<_ACEOF
57799 /* end confdefs.h. */
57800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57802 #define $ac_func innocuous_$ac_func
57804 /* System header to define __stub macros and hopefully few prototypes,
57805 which can conflict with char $ac_func (); below.
57806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57807 <limits.h> exists even on freestanding compilers. */
57809 #ifdef __STDC__
57810 # include <limits.h>
57811 #else
57812 # include <assert.h>
57813 #endif
57815 #undef $ac_func
57817 /* Override any gcc2 internal prototype to avoid an error. */
57818 #ifdef __cplusplus
57819 extern "C"
57821 #endif
57822 /* We use char because int might match the return type of a gcc2
57823 builtin and then its argument prototype would still apply. */
57824 char $ac_func ();
57825 /* The GNU C library defines this for functions which it implements
57826 to always fail with ENOSYS. Some functions are actually named
57827 something starting with __ and the normal name is an alias. */
57828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57829 choke me
57830 #else
57831 char (*f) () = $ac_func;
57832 #endif
57833 #ifdef __cplusplus
57835 #endif
57838 main ()
57840 return f != $ac_func;
57842 return 0;
57844 _ACEOF
57845 rm -f conftest.$ac_objext conftest$ac_exeext
57846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57847 (eval $ac_link) 2>conftest.er1
57848 ac_status=$?
57849 grep -v '^ *+' conftest.er1 >conftest.err
57850 rm -f conftest.er1
57851 cat conftest.err >&5
57852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57853 (exit $ac_status); } &&
57854 { ac_try='test -z "$ac_c_werror_flag"
57855 || test ! -s conftest.err'
57856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57857 (eval $ac_try) 2>&5
57858 ac_status=$?
57859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57860 (exit $ac_status); }; } &&
57861 { ac_try='test -s conftest$ac_exeext'
57862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57863 (eval $ac_try) 2>&5
57864 ac_status=$?
57865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57866 (exit $ac_status); }; }; then
57867 eval "$as_ac_var=yes"
57868 else
57869 echo "$as_me: failed program was:" >&5
57870 sed 's/^/| /' conftest.$ac_ext >&5
57872 eval "$as_ac_var=no"
57874 rm -f conftest.err conftest.$ac_objext \
57875 conftest$ac_exeext conftest.$ac_ext
57877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57879 if test `eval echo '${'$as_ac_var'}'` = yes; then
57880 cat >>confdefs.h <<_ACEOF
57881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57882 _ACEOF
57885 done
57895 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57896 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57897 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57898 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57899 echo $ECHO_N "(cached) $ECHO_C" >&6
57900 else
57904 ac_ext=cc
57905 ac_cpp='$CXXCPP $CPPFLAGS'
57906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57910 cat >conftest.$ac_ext <<_ACEOF
57911 /* confdefs.h. */
57912 _ACEOF
57913 cat confdefs.h >>conftest.$ac_ext
57914 cat >>conftest.$ac_ext <<_ACEOF
57915 /* end confdefs.h. */
57916 #include <math.h>
57917 #ifdef HAVE_IEEEFP_H
57918 #include <ieeefp.h>
57919 #endif
57922 main ()
57924 sqrtl(0);
57926 return 0;
57928 _ACEOF
57929 rm -f conftest.$ac_objext
57930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57931 (eval $ac_compile) 2>conftest.er1
57932 ac_status=$?
57933 grep -v '^ *+' conftest.er1 >conftest.err
57934 rm -f conftest.er1
57935 cat conftest.err >&5
57936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57937 (exit $ac_status); } &&
57938 { ac_try='test -z "$ac_cxx_werror_flag"
57939 || test ! -s conftest.err'
57940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57941 (eval $ac_try) 2>&5
57942 ac_status=$?
57943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57944 (exit $ac_status); }; } &&
57945 { ac_try='test -s conftest.$ac_objext'
57946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57947 (eval $ac_try) 2>&5
57948 ac_status=$?
57949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57950 (exit $ac_status); }; }; then
57951 glibcxx_cv_func_sqrtl_use=yes
57952 else
57953 echo "$as_me: failed program was:" >&5
57954 sed 's/^/| /' conftest.$ac_ext >&5
57956 glibcxx_cv_func_sqrtl_use=no
57958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57959 ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57970 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57972 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57974 for ac_func in sqrtl
57976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57977 echo "$as_me:$LINENO: checking for $ac_func" >&5
57978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57979 if eval "test \"\${$as_ac_var+set}\" = set"; then
57980 echo $ECHO_N "(cached) $ECHO_C" >&6
57981 else
57982 if test x$gcc_no_link = xyes; then
57983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57985 { (exit 1); exit 1; }; }
57987 cat >conftest.$ac_ext <<_ACEOF
57988 /* confdefs.h. */
57989 _ACEOF
57990 cat confdefs.h >>conftest.$ac_ext
57991 cat >>conftest.$ac_ext <<_ACEOF
57992 /* end confdefs.h. */
57993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57995 #define $ac_func innocuous_$ac_func
57997 /* System header to define __stub macros and hopefully few prototypes,
57998 which can conflict with char $ac_func (); below.
57999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58000 <limits.h> exists even on freestanding compilers. */
58002 #ifdef __STDC__
58003 # include <limits.h>
58004 #else
58005 # include <assert.h>
58006 #endif
58008 #undef $ac_func
58010 /* Override any gcc2 internal prototype to avoid an error. */
58011 #ifdef __cplusplus
58012 extern "C"
58014 #endif
58015 /* We use char because int might match the return type of a gcc2
58016 builtin and then its argument prototype would still apply. */
58017 char $ac_func ();
58018 /* The GNU C library defines this for functions which it implements
58019 to always fail with ENOSYS. Some functions are actually named
58020 something starting with __ and the normal name is an alias. */
58021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58022 choke me
58023 #else
58024 char (*f) () = $ac_func;
58025 #endif
58026 #ifdef __cplusplus
58028 #endif
58031 main ()
58033 return f != $ac_func;
58035 return 0;
58037 _ACEOF
58038 rm -f conftest.$ac_objext conftest$ac_exeext
58039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58040 (eval $ac_link) 2>conftest.er1
58041 ac_status=$?
58042 grep -v '^ *+' conftest.er1 >conftest.err
58043 rm -f conftest.er1
58044 cat conftest.err >&5
58045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58046 (exit $ac_status); } &&
58047 { ac_try='test -z "$ac_c_werror_flag"
58048 || test ! -s conftest.err'
58049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58050 (eval $ac_try) 2>&5
58051 ac_status=$?
58052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58053 (exit $ac_status); }; } &&
58054 { ac_try='test -s conftest$ac_exeext'
58055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58056 (eval $ac_try) 2>&5
58057 ac_status=$?
58058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58059 (exit $ac_status); }; }; then
58060 eval "$as_ac_var=yes"
58061 else
58062 echo "$as_me: failed program was:" >&5
58063 sed 's/^/| /' conftest.$ac_ext >&5
58065 eval "$as_ac_var=no"
58067 rm -f conftest.err conftest.$ac_objext \
58068 conftest$ac_exeext conftest.$ac_ext
58070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58072 if test `eval echo '${'$as_ac_var'}'` = yes; then
58073 cat >>confdefs.h <<_ACEOF
58074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58075 _ACEOF
58078 done
58080 else
58082 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58083 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58084 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58085 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58086 echo $ECHO_N "(cached) $ECHO_C" >&6
58087 else
58091 ac_ext=cc
58092 ac_cpp='$CXXCPP $CPPFLAGS'
58093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58097 cat >conftest.$ac_ext <<_ACEOF
58098 /* confdefs.h. */
58099 _ACEOF
58100 cat confdefs.h >>conftest.$ac_ext
58101 cat >>conftest.$ac_ext <<_ACEOF
58102 /* end confdefs.h. */
58103 #include <math.h>
58104 #ifdef HAVE_IEEEFP_H
58105 #include <ieeefp.h>
58106 #endif
58109 main ()
58111 _sqrtl(0);
58113 return 0;
58115 _ACEOF
58116 rm -f conftest.$ac_objext
58117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58118 (eval $ac_compile) 2>conftest.er1
58119 ac_status=$?
58120 grep -v '^ *+' conftest.er1 >conftest.err
58121 rm -f conftest.er1
58122 cat conftest.err >&5
58123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58124 (exit $ac_status); } &&
58125 { ac_try='test -z "$ac_cxx_werror_flag"
58126 || test ! -s conftest.err'
58127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58128 (eval $ac_try) 2>&5
58129 ac_status=$?
58130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131 (exit $ac_status); }; } &&
58132 { ac_try='test -s conftest.$ac_objext'
58133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58134 (eval $ac_try) 2>&5
58135 ac_status=$?
58136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58137 (exit $ac_status); }; }; then
58138 glibcxx_cv_func__sqrtl_use=yes
58139 else
58140 echo "$as_me: failed program was:" >&5
58141 sed 's/^/| /' conftest.$ac_ext >&5
58143 glibcxx_cv_func__sqrtl_use=no
58145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58146 ac_ext=c
58147 ac_cpp='$CPP $CPPFLAGS'
58148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58157 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58159 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58161 for ac_func in _sqrtl
58163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58164 echo "$as_me:$LINENO: checking for $ac_func" >&5
58165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58166 if eval "test \"\${$as_ac_var+set}\" = set"; then
58167 echo $ECHO_N "(cached) $ECHO_C" >&6
58168 else
58169 if test x$gcc_no_link = xyes; then
58170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58172 { (exit 1); exit 1; }; }
58174 cat >conftest.$ac_ext <<_ACEOF
58175 /* confdefs.h. */
58176 _ACEOF
58177 cat confdefs.h >>conftest.$ac_ext
58178 cat >>conftest.$ac_ext <<_ACEOF
58179 /* end confdefs.h. */
58180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58182 #define $ac_func innocuous_$ac_func
58184 /* System header to define __stub macros and hopefully few prototypes,
58185 which can conflict with char $ac_func (); below.
58186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58187 <limits.h> exists even on freestanding compilers. */
58189 #ifdef __STDC__
58190 # include <limits.h>
58191 #else
58192 # include <assert.h>
58193 #endif
58195 #undef $ac_func
58197 /* Override any gcc2 internal prototype to avoid an error. */
58198 #ifdef __cplusplus
58199 extern "C"
58201 #endif
58202 /* We use char because int might match the return type of a gcc2
58203 builtin and then its argument prototype would still apply. */
58204 char $ac_func ();
58205 /* The GNU C library defines this for functions which it implements
58206 to always fail with ENOSYS. Some functions are actually named
58207 something starting with __ and the normal name is an alias. */
58208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58209 choke me
58210 #else
58211 char (*f) () = $ac_func;
58212 #endif
58213 #ifdef __cplusplus
58215 #endif
58218 main ()
58220 return f != $ac_func;
58222 return 0;
58224 _ACEOF
58225 rm -f conftest.$ac_objext conftest$ac_exeext
58226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58227 (eval $ac_link) 2>conftest.er1
58228 ac_status=$?
58229 grep -v '^ *+' conftest.er1 >conftest.err
58230 rm -f conftest.er1
58231 cat conftest.err >&5
58232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58233 (exit $ac_status); } &&
58234 { ac_try='test -z "$ac_c_werror_flag"
58235 || test ! -s conftest.err'
58236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58237 (eval $ac_try) 2>&5
58238 ac_status=$?
58239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58240 (exit $ac_status); }; } &&
58241 { ac_try='test -s conftest$ac_exeext'
58242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58243 (eval $ac_try) 2>&5
58244 ac_status=$?
58245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58246 (exit $ac_status); }; }; then
58247 eval "$as_ac_var=yes"
58248 else
58249 echo "$as_me: failed program was:" >&5
58250 sed 's/^/| /' conftest.$ac_ext >&5
58252 eval "$as_ac_var=no"
58254 rm -f conftest.err conftest.$ac_objext \
58255 conftest$ac_exeext conftest.$ac_ext
58257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58259 if test `eval echo '${'$as_ac_var'}'` = yes; then
58260 cat >>confdefs.h <<_ACEOF
58261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58262 _ACEOF
58265 done
58275 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58276 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58277 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58278 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58279 echo $ECHO_N "(cached) $ECHO_C" >&6
58280 else
58284 ac_ext=cc
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat >conftest.$ac_ext <<_ACEOF
58291 /* confdefs.h. */
58292 _ACEOF
58293 cat confdefs.h >>conftest.$ac_ext
58294 cat >>conftest.$ac_ext <<_ACEOF
58295 /* end confdefs.h. */
58296 #include <math.h>
58298 main ()
58300 sincosl(0, 0, 0);
58302 return 0;
58304 _ACEOF
58305 rm -f conftest.$ac_objext
58306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58307 (eval $ac_compile) 2>conftest.er1
58308 ac_status=$?
58309 grep -v '^ *+' conftest.er1 >conftest.err
58310 rm -f conftest.er1
58311 cat conftest.err >&5
58312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58313 (exit $ac_status); } &&
58314 { ac_try='test -z "$ac_cxx_werror_flag"
58315 || test ! -s conftest.err'
58316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58317 (eval $ac_try) 2>&5
58318 ac_status=$?
58319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58320 (exit $ac_status); }; } &&
58321 { ac_try='test -s conftest.$ac_objext'
58322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58323 (eval $ac_try) 2>&5
58324 ac_status=$?
58325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58326 (exit $ac_status); }; }; then
58327 glibcxx_cv_func_sincosl_use=yes
58328 else
58329 echo "$as_me: failed program was:" >&5
58330 sed 's/^/| /' conftest.$ac_ext >&5
58332 glibcxx_cv_func_sincosl_use=no
58334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58335 ac_ext=c
58336 ac_cpp='$CPP $CPPFLAGS'
58337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58346 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58348 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58350 for ac_func in sincosl
58352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58353 echo "$as_me:$LINENO: checking for $ac_func" >&5
58354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58355 if eval "test \"\${$as_ac_var+set}\" = set"; then
58356 echo $ECHO_N "(cached) $ECHO_C" >&6
58357 else
58358 if test x$gcc_no_link = xyes; then
58359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58361 { (exit 1); exit 1; }; }
58363 cat >conftest.$ac_ext <<_ACEOF
58364 /* confdefs.h. */
58365 _ACEOF
58366 cat confdefs.h >>conftest.$ac_ext
58367 cat >>conftest.$ac_ext <<_ACEOF
58368 /* end confdefs.h. */
58369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58371 #define $ac_func innocuous_$ac_func
58373 /* System header to define __stub macros and hopefully few prototypes,
58374 which can conflict with char $ac_func (); below.
58375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58376 <limits.h> exists even on freestanding compilers. */
58378 #ifdef __STDC__
58379 # include <limits.h>
58380 #else
58381 # include <assert.h>
58382 #endif
58384 #undef $ac_func
58386 /* Override any gcc2 internal prototype to avoid an error. */
58387 #ifdef __cplusplus
58388 extern "C"
58390 #endif
58391 /* We use char because int might match the return type of a gcc2
58392 builtin and then its argument prototype would still apply. */
58393 char $ac_func ();
58394 /* The GNU C library defines this for functions which it implements
58395 to always fail with ENOSYS. Some functions are actually named
58396 something starting with __ and the normal name is an alias. */
58397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58398 choke me
58399 #else
58400 char (*f) () = $ac_func;
58401 #endif
58402 #ifdef __cplusplus
58404 #endif
58407 main ()
58409 return f != $ac_func;
58411 return 0;
58413 _ACEOF
58414 rm -f conftest.$ac_objext conftest$ac_exeext
58415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58416 (eval $ac_link) 2>conftest.er1
58417 ac_status=$?
58418 grep -v '^ *+' conftest.er1 >conftest.err
58419 rm -f conftest.er1
58420 cat conftest.err >&5
58421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58422 (exit $ac_status); } &&
58423 { ac_try='test -z "$ac_c_werror_flag"
58424 || test ! -s conftest.err'
58425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58426 (eval $ac_try) 2>&5
58427 ac_status=$?
58428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58429 (exit $ac_status); }; } &&
58430 { ac_try='test -s conftest$ac_exeext'
58431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58432 (eval $ac_try) 2>&5
58433 ac_status=$?
58434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58435 (exit $ac_status); }; }; then
58436 eval "$as_ac_var=yes"
58437 else
58438 echo "$as_me: failed program was:" >&5
58439 sed 's/^/| /' conftest.$ac_ext >&5
58441 eval "$as_ac_var=no"
58443 rm -f conftest.err conftest.$ac_objext \
58444 conftest$ac_exeext conftest.$ac_ext
58446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58448 if test `eval echo '${'$as_ac_var'}'` = yes; then
58449 cat >>confdefs.h <<_ACEOF
58450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58451 _ACEOF
58454 done
58456 else
58458 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58459 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58460 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58461 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58462 echo $ECHO_N "(cached) $ECHO_C" >&6
58463 else
58467 ac_ext=cc
58468 ac_cpp='$CXXCPP $CPPFLAGS'
58469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58473 cat >conftest.$ac_ext <<_ACEOF
58474 /* confdefs.h. */
58475 _ACEOF
58476 cat confdefs.h >>conftest.$ac_ext
58477 cat >>conftest.$ac_ext <<_ACEOF
58478 /* end confdefs.h. */
58479 #include <math.h>
58481 main ()
58483 _sincosl(0, 0, 0);
58485 return 0;
58487 _ACEOF
58488 rm -f conftest.$ac_objext
58489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58490 (eval $ac_compile) 2>conftest.er1
58491 ac_status=$?
58492 grep -v '^ *+' conftest.er1 >conftest.err
58493 rm -f conftest.er1
58494 cat conftest.err >&5
58495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58496 (exit $ac_status); } &&
58497 { ac_try='test -z "$ac_cxx_werror_flag"
58498 || test ! -s conftest.err'
58499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58500 (eval $ac_try) 2>&5
58501 ac_status=$?
58502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58503 (exit $ac_status); }; } &&
58504 { ac_try='test -s conftest.$ac_objext'
58505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58506 (eval $ac_try) 2>&5
58507 ac_status=$?
58508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58509 (exit $ac_status); }; }; then
58510 glibcxx_cv_func__sincosl_use=yes
58511 else
58512 echo "$as_me: failed program was:" >&5
58513 sed 's/^/| /' conftest.$ac_ext >&5
58515 glibcxx_cv_func__sincosl_use=no
58517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58528 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58529 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58531 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58533 for ac_func in _sincosl
58535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58536 echo "$as_me:$LINENO: checking for $ac_func" >&5
58537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58538 if eval "test \"\${$as_ac_var+set}\" = set"; then
58539 echo $ECHO_N "(cached) $ECHO_C" >&6
58540 else
58541 if test x$gcc_no_link = xyes; then
58542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58544 { (exit 1); exit 1; }; }
58546 cat >conftest.$ac_ext <<_ACEOF
58547 /* confdefs.h. */
58548 _ACEOF
58549 cat confdefs.h >>conftest.$ac_ext
58550 cat >>conftest.$ac_ext <<_ACEOF
58551 /* end confdefs.h. */
58552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58554 #define $ac_func innocuous_$ac_func
58556 /* System header to define __stub macros and hopefully few prototypes,
58557 which can conflict with char $ac_func (); below.
58558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58559 <limits.h> exists even on freestanding compilers. */
58561 #ifdef __STDC__
58562 # include <limits.h>
58563 #else
58564 # include <assert.h>
58565 #endif
58567 #undef $ac_func
58569 /* Override any gcc2 internal prototype to avoid an error. */
58570 #ifdef __cplusplus
58571 extern "C"
58573 #endif
58574 /* We use char because int might match the return type of a gcc2
58575 builtin and then its argument prototype would still apply. */
58576 char $ac_func ();
58577 /* The GNU C library defines this for functions which it implements
58578 to always fail with ENOSYS. Some functions are actually named
58579 something starting with __ and the normal name is an alias. */
58580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58581 choke me
58582 #else
58583 char (*f) () = $ac_func;
58584 #endif
58585 #ifdef __cplusplus
58587 #endif
58590 main ()
58592 return f != $ac_func;
58594 return 0;
58596 _ACEOF
58597 rm -f conftest.$ac_objext conftest$ac_exeext
58598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58599 (eval $ac_link) 2>conftest.er1
58600 ac_status=$?
58601 grep -v '^ *+' conftest.er1 >conftest.err
58602 rm -f conftest.er1
58603 cat conftest.err >&5
58604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58605 (exit $ac_status); } &&
58606 { ac_try='test -z "$ac_c_werror_flag"
58607 || test ! -s conftest.err'
58608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58609 (eval $ac_try) 2>&5
58610 ac_status=$?
58611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58612 (exit $ac_status); }; } &&
58613 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
58619 eval "$as_ac_var=yes"
58620 else
58621 echo "$as_me: failed program was:" >&5
58622 sed 's/^/| /' conftest.$ac_ext >&5
58624 eval "$as_ac_var=no"
58626 rm -f conftest.err conftest.$ac_objext \
58627 conftest$ac_exeext conftest.$ac_ext
58629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58631 if test `eval echo '${'$as_ac_var'}'` = yes; then
58632 cat >>confdefs.h <<_ACEOF
58633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58634 _ACEOF
58637 done
58647 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58648 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58649 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58650 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58651 echo $ECHO_N "(cached) $ECHO_C" >&6
58652 else
58656 ac_ext=cc
58657 ac_cpp='$CXXCPP $CPPFLAGS'
58658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58662 cat >conftest.$ac_ext <<_ACEOF
58663 /* confdefs.h. */
58664 _ACEOF
58665 cat confdefs.h >>conftest.$ac_ext
58666 cat >>conftest.$ac_ext <<_ACEOF
58667 /* end confdefs.h. */
58668 #include <math.h>
58669 #ifdef HAVE_IEEEFP_H
58670 #include <ieeefp.h>
58671 #endif
58674 main ()
58676 finitel(0);
58678 return 0;
58680 _ACEOF
58681 rm -f conftest.$ac_objext
58682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58683 (eval $ac_compile) 2>conftest.er1
58684 ac_status=$?
58685 grep -v '^ *+' conftest.er1 >conftest.err
58686 rm -f conftest.er1
58687 cat conftest.err >&5
58688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58689 (exit $ac_status); } &&
58690 { ac_try='test -z "$ac_cxx_werror_flag"
58691 || test ! -s conftest.err'
58692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58693 (eval $ac_try) 2>&5
58694 ac_status=$?
58695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58696 (exit $ac_status); }; } &&
58697 { ac_try='test -s conftest.$ac_objext'
58698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58699 (eval $ac_try) 2>&5
58700 ac_status=$?
58701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58702 (exit $ac_status); }; }; then
58703 glibcxx_cv_func_finitel_use=yes
58704 else
58705 echo "$as_me: failed program was:" >&5
58706 sed 's/^/| /' conftest.$ac_ext >&5
58708 glibcxx_cv_func_finitel_use=no
58710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58711 ac_ext=c
58712 ac_cpp='$CPP $CPPFLAGS'
58713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58722 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58724 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58726 for ac_func in finitel
58728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58729 echo "$as_me:$LINENO: checking for $ac_func" >&5
58730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58731 if eval "test \"\${$as_ac_var+set}\" = set"; then
58732 echo $ECHO_N "(cached) $ECHO_C" >&6
58733 else
58734 if test x$gcc_no_link = xyes; then
58735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58737 { (exit 1); exit 1; }; }
58739 cat >conftest.$ac_ext <<_ACEOF
58740 /* confdefs.h. */
58741 _ACEOF
58742 cat confdefs.h >>conftest.$ac_ext
58743 cat >>conftest.$ac_ext <<_ACEOF
58744 /* end confdefs.h. */
58745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58747 #define $ac_func innocuous_$ac_func
58749 /* System header to define __stub macros and hopefully few prototypes,
58750 which can conflict with char $ac_func (); below.
58751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58752 <limits.h> exists even on freestanding compilers. */
58754 #ifdef __STDC__
58755 # include <limits.h>
58756 #else
58757 # include <assert.h>
58758 #endif
58760 #undef $ac_func
58762 /* Override any gcc2 internal prototype to avoid an error. */
58763 #ifdef __cplusplus
58764 extern "C"
58766 #endif
58767 /* We use char because int might match the return type of a gcc2
58768 builtin and then its argument prototype would still apply. */
58769 char $ac_func ();
58770 /* The GNU C library defines this for functions which it implements
58771 to always fail with ENOSYS. Some functions are actually named
58772 something starting with __ and the normal name is an alias. */
58773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58774 choke me
58775 #else
58776 char (*f) () = $ac_func;
58777 #endif
58778 #ifdef __cplusplus
58780 #endif
58783 main ()
58785 return f != $ac_func;
58787 return 0;
58789 _ACEOF
58790 rm -f conftest.$ac_objext conftest$ac_exeext
58791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58792 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
58813 else
58814 echo "$as_me: failed program was:" >&5
58815 sed 's/^/| /' conftest.$ac_ext >&5
58817 eval "$as_ac_var=no"
58819 rm -f conftest.err conftest.$ac_objext \
58820 conftest$ac_exeext conftest.$ac_ext
58822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58824 if test `eval echo '${'$as_ac_var'}'` = yes; then
58825 cat >>confdefs.h <<_ACEOF
58826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58827 _ACEOF
58830 done
58832 else
58834 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58835 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58836 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58837 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58838 echo $ECHO_N "(cached) $ECHO_C" >&6
58839 else
58843 ac_ext=cc
58844 ac_cpp='$CXXCPP $CPPFLAGS'
58845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58849 cat >conftest.$ac_ext <<_ACEOF
58850 /* confdefs.h. */
58851 _ACEOF
58852 cat confdefs.h >>conftest.$ac_ext
58853 cat >>conftest.$ac_ext <<_ACEOF
58854 /* end confdefs.h. */
58855 #include <math.h>
58856 #ifdef HAVE_IEEEFP_H
58857 #include <ieeefp.h>
58858 #endif
58861 main ()
58863 _finitel(0);
58865 return 0;
58867 _ACEOF
58868 rm -f conftest.$ac_objext
58869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58870 (eval $ac_compile) 2>conftest.er1
58871 ac_status=$?
58872 grep -v '^ *+' conftest.er1 >conftest.err
58873 rm -f conftest.er1
58874 cat conftest.err >&5
58875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58876 (exit $ac_status); } &&
58877 { ac_try='test -z "$ac_cxx_werror_flag"
58878 || test ! -s conftest.err'
58879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58880 (eval $ac_try) 2>&5
58881 ac_status=$?
58882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58883 (exit $ac_status); }; } &&
58884 { ac_try='test -s conftest.$ac_objext'
58885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58886 (eval $ac_try) 2>&5
58887 ac_status=$?
58888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58889 (exit $ac_status); }; }; then
58890 glibcxx_cv_func__finitel_use=yes
58891 else
58892 echo "$as_me: failed program was:" >&5
58893 sed 's/^/| /' conftest.$ac_ext >&5
58895 glibcxx_cv_func__finitel_use=no
58897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58898 ac_ext=c
58899 ac_cpp='$CPP $CPPFLAGS'
58900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58909 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58911 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58913 for ac_func in _finitel
58915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58916 echo "$as_me:$LINENO: checking for $ac_func" >&5
58917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58918 if eval "test \"\${$as_ac_var+set}\" = set"; then
58919 echo $ECHO_N "(cached) $ECHO_C" >&6
58920 else
58921 if test x$gcc_no_link = xyes; then
58922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58924 { (exit 1); exit 1; }; }
58926 cat >conftest.$ac_ext <<_ACEOF
58927 /* confdefs.h. */
58928 _ACEOF
58929 cat confdefs.h >>conftest.$ac_ext
58930 cat >>conftest.$ac_ext <<_ACEOF
58931 /* end confdefs.h. */
58932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58934 #define $ac_func innocuous_$ac_func
58936 /* System header to define __stub macros and hopefully few prototypes,
58937 which can conflict with char $ac_func (); below.
58938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58939 <limits.h> exists even on freestanding compilers. */
58941 #ifdef __STDC__
58942 # include <limits.h>
58943 #else
58944 # include <assert.h>
58945 #endif
58947 #undef $ac_func
58949 /* Override any gcc2 internal prototype to avoid an error. */
58950 #ifdef __cplusplus
58951 extern "C"
58953 #endif
58954 /* We use char because int might match the return type of a gcc2
58955 builtin and then its argument prototype would still apply. */
58956 char $ac_func ();
58957 /* The GNU C library defines this for functions which it implements
58958 to always fail with ENOSYS. Some functions are actually named
58959 something starting with __ and the normal name is an alias. */
58960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58961 choke me
58962 #else
58963 char (*f) () = $ac_func;
58964 #endif
58965 #ifdef __cplusplus
58967 #endif
58970 main ()
58972 return f != $ac_func;
58974 return 0;
58976 _ACEOF
58977 rm -f conftest.$ac_objext conftest$ac_exeext
58978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58979 (eval $ac_link) 2>conftest.er1
58980 ac_status=$?
58981 grep -v '^ *+' conftest.er1 >conftest.err
58982 rm -f conftest.er1
58983 cat conftest.err >&5
58984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58985 (exit $ac_status); } &&
58986 { ac_try='test -z "$ac_c_werror_flag"
58987 || test ! -s conftest.err'
58988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58989 (eval $ac_try) 2>&5
58990 ac_status=$?
58991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58992 (exit $ac_status); }; } &&
58993 { ac_try='test -s conftest$ac_exeext'
58994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58995 (eval $ac_try) 2>&5
58996 ac_status=$?
58997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58998 (exit $ac_status); }; }; then
58999 eval "$as_ac_var=yes"
59000 else
59001 echo "$as_me: failed program was:" >&5
59002 sed 's/^/| /' conftest.$ac_ext >&5
59004 eval "$as_ac_var=no"
59006 rm -f conftest.err conftest.$ac_objext \
59007 conftest$ac_exeext conftest.$ac_ext
59009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59011 if test `eval echo '${'$as_ac_var'}'` = yes; then
59012 cat >>confdefs.h <<_ACEOF
59013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59014 _ACEOF
59017 done
59026 LIBS="$ac_save_LIBS"
59027 CXXFLAGS="$ac_save_CXXFLAGS"
59031 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59032 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59033 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59034 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59035 echo $ECHO_N "(cached) $ECHO_C" >&6
59036 else
59040 ac_ext=cc
59041 ac_cpp='$CXXCPP $CPPFLAGS'
59042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59046 cat >conftest.$ac_ext <<_ACEOF
59047 /* confdefs.h. */
59048 _ACEOF
59049 cat confdefs.h >>conftest.$ac_ext
59050 cat >>conftest.$ac_ext <<_ACEOF
59051 /* end confdefs.h. */
59052 #include <math.h>
59054 main ()
59056 __builtin_abs(0);
59058 return 0;
59060 _ACEOF
59061 rm -f conftest.$ac_objext
59062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59063 (eval $ac_compile) 2>conftest.er1
59064 ac_status=$?
59065 grep -v '^ *+' conftest.er1 >conftest.err
59066 rm -f conftest.er1
59067 cat conftest.err >&5
59068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59069 (exit $ac_status); } &&
59070 { ac_try='test -z "$ac_cxx_werror_flag"
59071 || test ! -s conftest.err'
59072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59073 (eval $ac_try) 2>&5
59074 ac_status=$?
59075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59076 (exit $ac_status); }; } &&
59077 { ac_try='test -s conftest.$ac_objext'
59078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59079 (eval $ac_try) 2>&5
59080 ac_status=$?
59081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59082 (exit $ac_status); }; }; then
59083 glibcxx_cv_func___builtin_abs_use=yes
59084 else
59085 echo "$as_me: failed program was:" >&5
59086 sed 's/^/| /' conftest.$ac_ext >&5
59088 glibcxx_cv_func___builtin_abs_use=no
59090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59091 ac_ext=c
59092 ac_cpp='$CPP $CPPFLAGS'
59093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59102 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59103 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59104 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59105 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59106 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59107 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59108 echo $ECHO_N "(cached) $ECHO_C" >&6
59109 else
59111 if test x$gcc_no_link = xyes; then
59112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59114 { (exit 1); exit 1; }; }
59116 cat >conftest.$ac_ext <<_ACEOF
59117 /* confdefs.h. */
59118 _ACEOF
59119 cat confdefs.h >>conftest.$ac_ext
59120 cat >>conftest.$ac_ext <<_ACEOF
59121 /* end confdefs.h. */
59122 #include <math.h>
59124 main ()
59126 __builtin_abs(0);
59128 return 0;
59130 _ACEOF
59131 rm -f conftest.$ac_objext conftest$ac_exeext
59132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59133 (eval $ac_link) 2>conftest.er1
59134 ac_status=$?
59135 grep -v '^ *+' conftest.er1 >conftest.err
59136 rm -f conftest.er1
59137 cat conftest.err >&5
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); } &&
59140 { ac_try='test -z "$ac_c_werror_flag"
59141 || test ! -s conftest.err'
59142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59143 (eval $ac_try) 2>&5
59144 ac_status=$?
59145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146 (exit $ac_status); }; } &&
59147 { ac_try='test -s conftest$ac_exeext'
59148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59149 (eval $ac_try) 2>&5
59150 ac_status=$?
59151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59152 (exit $ac_status); }; }; then
59153 glibcxx_cv_func___builtin_abs_link=yes
59154 else
59155 echo "$as_me: failed program was:" >&5
59156 sed 's/^/| /' conftest.$ac_ext >&5
59158 glibcxx_cv_func___builtin_abs_link=no
59160 rm -f conftest.err conftest.$ac_objext \
59161 conftest$ac_exeext conftest.$ac_ext
59166 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59167 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59169 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59171 cat >>confdefs.h <<\_ACEOF
59172 #define HAVE___BUILTIN_ABS 1
59173 _ACEOF
59180 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59181 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59182 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59183 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59184 echo $ECHO_N "(cached) $ECHO_C" >&6
59185 else
59189 ac_ext=cc
59190 ac_cpp='$CXXCPP $CPPFLAGS'
59191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59195 cat >conftest.$ac_ext <<_ACEOF
59196 /* confdefs.h. */
59197 _ACEOF
59198 cat confdefs.h >>conftest.$ac_ext
59199 cat >>conftest.$ac_ext <<_ACEOF
59200 /* end confdefs.h. */
59201 #include <math.h>
59203 main ()
59205 __builtin_fabsf(0);
59207 return 0;
59209 _ACEOF
59210 rm -f conftest.$ac_objext
59211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59212 (eval $ac_compile) 2>conftest.er1
59213 ac_status=$?
59214 grep -v '^ *+' conftest.er1 >conftest.err
59215 rm -f conftest.er1
59216 cat conftest.err >&5
59217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59218 (exit $ac_status); } &&
59219 { ac_try='test -z "$ac_cxx_werror_flag"
59220 || test ! -s conftest.err'
59221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59222 (eval $ac_try) 2>&5
59223 ac_status=$?
59224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59225 (exit $ac_status); }; } &&
59226 { ac_try='test -s conftest.$ac_objext'
59227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59228 (eval $ac_try) 2>&5
59229 ac_status=$?
59230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59231 (exit $ac_status); }; }; then
59232 glibcxx_cv_func___builtin_fabsf_use=yes
59233 else
59234 echo "$as_me: failed program was:" >&5
59235 sed 's/^/| /' conftest.$ac_ext >&5
59237 glibcxx_cv_func___builtin_fabsf_use=no
59239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59240 ac_ext=c
59241 ac_cpp='$CPP $CPPFLAGS'
59242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59251 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59252 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59253 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59254 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59255 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59256 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59257 echo $ECHO_N "(cached) $ECHO_C" >&6
59258 else
59260 if test x$gcc_no_link = xyes; then
59261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59263 { (exit 1); exit 1; }; }
59265 cat >conftest.$ac_ext <<_ACEOF
59266 /* confdefs.h. */
59267 _ACEOF
59268 cat confdefs.h >>conftest.$ac_ext
59269 cat >>conftest.$ac_ext <<_ACEOF
59270 /* end confdefs.h. */
59271 #include <math.h>
59273 main ()
59275 __builtin_fabsf(0);
59277 return 0;
59279 _ACEOF
59280 rm -f conftest.$ac_objext conftest$ac_exeext
59281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59282 (eval $ac_link) 2>conftest.er1
59283 ac_status=$?
59284 grep -v '^ *+' conftest.er1 >conftest.err
59285 rm -f conftest.er1
59286 cat conftest.err >&5
59287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59288 (exit $ac_status); } &&
59289 { ac_try='test -z "$ac_c_werror_flag"
59290 || test ! -s conftest.err'
59291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59292 (eval $ac_try) 2>&5
59293 ac_status=$?
59294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59295 (exit $ac_status); }; } &&
59296 { ac_try='test -s conftest$ac_exeext'
59297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59298 (eval $ac_try) 2>&5
59299 ac_status=$?
59300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59301 (exit $ac_status); }; }; then
59302 glibcxx_cv_func___builtin_fabsf_link=yes
59303 else
59304 echo "$as_me: failed program was:" >&5
59305 sed 's/^/| /' conftest.$ac_ext >&5
59307 glibcxx_cv_func___builtin_fabsf_link=no
59309 rm -f conftest.err conftest.$ac_objext \
59310 conftest$ac_exeext conftest.$ac_ext
59315 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
59316 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
59318 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
59320 cat >>confdefs.h <<\_ACEOF
59321 #define HAVE___BUILTIN_FABSF 1
59322 _ACEOF
59329 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
59330 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
59331 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
59332 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
59333 echo $ECHO_N "(cached) $ECHO_C" >&6
59334 else
59338 ac_ext=cc
59339 ac_cpp='$CXXCPP $CPPFLAGS'
59340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59344 cat >conftest.$ac_ext <<_ACEOF
59345 /* confdefs.h. */
59346 _ACEOF
59347 cat confdefs.h >>conftest.$ac_ext
59348 cat >>conftest.$ac_ext <<_ACEOF
59349 /* end confdefs.h. */
59350 #include <math.h>
59352 main ()
59354 __builtin_fabs(0);
59356 return 0;
59358 _ACEOF
59359 rm -f conftest.$ac_objext
59360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59361 (eval $ac_compile) 2>conftest.er1
59362 ac_status=$?
59363 grep -v '^ *+' conftest.er1 >conftest.err
59364 rm -f conftest.er1
59365 cat conftest.err >&5
59366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59367 (exit $ac_status); } &&
59368 { ac_try='test -z "$ac_cxx_werror_flag"
59369 || test ! -s conftest.err'
59370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59371 (eval $ac_try) 2>&5
59372 ac_status=$?
59373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59374 (exit $ac_status); }; } &&
59375 { ac_try='test -s conftest.$ac_objext'
59376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59377 (eval $ac_try) 2>&5
59378 ac_status=$?
59379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59380 (exit $ac_status); }; }; then
59381 glibcxx_cv_func___builtin_fabs_use=yes
59382 else
59383 echo "$as_me: failed program was:" >&5
59384 sed 's/^/| /' conftest.$ac_ext >&5
59386 glibcxx_cv_func___builtin_fabs_use=no
59388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59389 ac_ext=c
59390 ac_cpp='$CPP $CPPFLAGS'
59391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
59400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
59401 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
59402 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
59403 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
59404 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
59405 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
59406 echo $ECHO_N "(cached) $ECHO_C" >&6
59407 else
59409 if test x$gcc_no_link = xyes; then
59410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59412 { (exit 1); exit 1; }; }
59414 cat >conftest.$ac_ext <<_ACEOF
59415 /* confdefs.h. */
59416 _ACEOF
59417 cat confdefs.h >>conftest.$ac_ext
59418 cat >>conftest.$ac_ext <<_ACEOF
59419 /* end confdefs.h. */
59420 #include <math.h>
59422 main ()
59424 __builtin_fabs(0);
59426 return 0;
59428 _ACEOF
59429 rm -f conftest.$ac_objext conftest$ac_exeext
59430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59431 (eval $ac_link) 2>conftest.er1
59432 ac_status=$?
59433 grep -v '^ *+' conftest.er1 >conftest.err
59434 rm -f conftest.er1
59435 cat conftest.err >&5
59436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59437 (exit $ac_status); } &&
59438 { ac_try='test -z "$ac_c_werror_flag"
59439 || test ! -s conftest.err'
59440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59441 (eval $ac_try) 2>&5
59442 ac_status=$?
59443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59444 (exit $ac_status); }; } &&
59445 { ac_try='test -s conftest$ac_exeext'
59446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59447 (eval $ac_try) 2>&5
59448 ac_status=$?
59449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59450 (exit $ac_status); }; }; then
59451 glibcxx_cv_func___builtin_fabs_link=yes
59452 else
59453 echo "$as_me: failed program was:" >&5
59454 sed 's/^/| /' conftest.$ac_ext >&5
59456 glibcxx_cv_func___builtin_fabs_link=no
59458 rm -f conftest.err conftest.$ac_objext \
59459 conftest$ac_exeext conftest.$ac_ext
59464 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
59465 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
59467 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
59469 cat >>confdefs.h <<\_ACEOF
59470 #define HAVE___BUILTIN_FABS 1
59471 _ACEOF
59478 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
59479 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
59480 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
59481 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
59482 echo $ECHO_N "(cached) $ECHO_C" >&6
59483 else
59487 ac_ext=cc
59488 ac_cpp='$CXXCPP $CPPFLAGS'
59489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59493 cat >conftest.$ac_ext <<_ACEOF
59494 /* confdefs.h. */
59495 _ACEOF
59496 cat confdefs.h >>conftest.$ac_ext
59497 cat >>conftest.$ac_ext <<_ACEOF
59498 /* end confdefs.h. */
59499 #include <math.h>
59501 main ()
59503 __builtin_fabsl(0);
59505 return 0;
59507 _ACEOF
59508 rm -f conftest.$ac_objext
59509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59510 (eval $ac_compile) 2>conftest.er1
59511 ac_status=$?
59512 grep -v '^ *+' conftest.er1 >conftest.err
59513 rm -f conftest.er1
59514 cat conftest.err >&5
59515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59516 (exit $ac_status); } &&
59517 { ac_try='test -z "$ac_cxx_werror_flag"
59518 || test ! -s conftest.err'
59519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59520 (eval $ac_try) 2>&5
59521 ac_status=$?
59522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59523 (exit $ac_status); }; } &&
59524 { ac_try='test -s conftest.$ac_objext'
59525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59526 (eval $ac_try) 2>&5
59527 ac_status=$?
59528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59529 (exit $ac_status); }; }; then
59530 glibcxx_cv_func___builtin_fabsl_use=yes
59531 else
59532 echo "$as_me: failed program was:" >&5
59533 sed 's/^/| /' conftest.$ac_ext >&5
59535 glibcxx_cv_func___builtin_fabsl_use=no
59537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59538 ac_ext=c
59539 ac_cpp='$CPP $CPPFLAGS'
59540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
59549 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
59550 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
59551 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
59552 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
59553 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
59554 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
59555 echo $ECHO_N "(cached) $ECHO_C" >&6
59556 else
59558 if test x$gcc_no_link = xyes; then
59559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59561 { (exit 1); exit 1; }; }
59563 cat >conftest.$ac_ext <<_ACEOF
59564 /* confdefs.h. */
59565 _ACEOF
59566 cat confdefs.h >>conftest.$ac_ext
59567 cat >>conftest.$ac_ext <<_ACEOF
59568 /* end confdefs.h. */
59569 #include <math.h>
59571 main ()
59573 __builtin_fabsl(0);
59575 return 0;
59577 _ACEOF
59578 rm -f conftest.$ac_objext conftest$ac_exeext
59579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59580 (eval $ac_link) 2>conftest.er1
59581 ac_status=$?
59582 grep -v '^ *+' conftest.er1 >conftest.err
59583 rm -f conftest.er1
59584 cat conftest.err >&5
59585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59586 (exit $ac_status); } &&
59587 { ac_try='test -z "$ac_c_werror_flag"
59588 || test ! -s conftest.err'
59589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59590 (eval $ac_try) 2>&5
59591 ac_status=$?
59592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59593 (exit $ac_status); }; } &&
59594 { ac_try='test -s conftest$ac_exeext'
59595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59596 (eval $ac_try) 2>&5
59597 ac_status=$?
59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599 (exit $ac_status); }; }; then
59600 glibcxx_cv_func___builtin_fabsl_link=yes
59601 else
59602 echo "$as_me: failed program was:" >&5
59603 sed 's/^/| /' conftest.$ac_ext >&5
59605 glibcxx_cv_func___builtin_fabsl_link=no
59607 rm -f conftest.err conftest.$ac_objext \
59608 conftest$ac_exeext conftest.$ac_ext
59613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
59614 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
59616 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
59618 cat >>confdefs.h <<\_ACEOF
59619 #define HAVE___BUILTIN_FABSL 1
59620 _ACEOF
59627 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
59628 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
59629 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
59630 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
59631 echo $ECHO_N "(cached) $ECHO_C" >&6
59632 else
59636 ac_ext=cc
59637 ac_cpp='$CXXCPP $CPPFLAGS'
59638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59642 cat >conftest.$ac_ext <<_ACEOF
59643 /* confdefs.h. */
59644 _ACEOF
59645 cat confdefs.h >>conftest.$ac_ext
59646 cat >>conftest.$ac_ext <<_ACEOF
59647 /* end confdefs.h. */
59648 #include <math.h>
59650 main ()
59652 __builtin_labs(0);
59654 return 0;
59656 _ACEOF
59657 rm -f conftest.$ac_objext
59658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59659 (eval $ac_compile) 2>conftest.er1
59660 ac_status=$?
59661 grep -v '^ *+' conftest.er1 >conftest.err
59662 rm -f conftest.er1
59663 cat conftest.err >&5
59664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59665 (exit $ac_status); } &&
59666 { ac_try='test -z "$ac_cxx_werror_flag"
59667 || test ! -s conftest.err'
59668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59669 (eval $ac_try) 2>&5
59670 ac_status=$?
59671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59672 (exit $ac_status); }; } &&
59673 { ac_try='test -s conftest.$ac_objext'
59674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59675 (eval $ac_try) 2>&5
59676 ac_status=$?
59677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59678 (exit $ac_status); }; }; then
59679 glibcxx_cv_func___builtin_labs_use=yes
59680 else
59681 echo "$as_me: failed program was:" >&5
59682 sed 's/^/| /' conftest.$ac_ext >&5
59684 glibcxx_cv_func___builtin_labs_use=no
59686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59687 ac_ext=c
59688 ac_cpp='$CPP $CPPFLAGS'
59689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
59698 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
59699 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
59700 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
59701 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
59702 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
59703 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
59704 echo $ECHO_N "(cached) $ECHO_C" >&6
59705 else
59707 if test x$gcc_no_link = xyes; then
59708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59710 { (exit 1); exit 1; }; }
59712 cat >conftest.$ac_ext <<_ACEOF
59713 /* confdefs.h. */
59714 _ACEOF
59715 cat confdefs.h >>conftest.$ac_ext
59716 cat >>conftest.$ac_ext <<_ACEOF
59717 /* end confdefs.h. */
59718 #include <math.h>
59720 main ()
59722 __builtin_labs(0);
59724 return 0;
59726 _ACEOF
59727 rm -f conftest.$ac_objext conftest$ac_exeext
59728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59729 (eval $ac_link) 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_c_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_exeext'
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___builtin_labs_link=yes
59750 else
59751 echo "$as_me: failed program was:" >&5
59752 sed 's/^/| /' conftest.$ac_ext >&5
59754 glibcxx_cv_func___builtin_labs_link=no
59756 rm -f conftest.err conftest.$ac_objext \
59757 conftest$ac_exeext conftest.$ac_ext
59762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
59763 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
59765 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
59767 cat >>confdefs.h <<\_ACEOF
59768 #define HAVE___BUILTIN_LABS 1
59769 _ACEOF
59777 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
59778 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
59779 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
59780 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
59781 echo $ECHO_N "(cached) $ECHO_C" >&6
59782 else
59786 ac_ext=cc
59787 ac_cpp='$CXXCPP $CPPFLAGS'
59788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59792 cat >conftest.$ac_ext <<_ACEOF
59793 /* confdefs.h. */
59794 _ACEOF
59795 cat confdefs.h >>conftest.$ac_ext
59796 cat >>conftest.$ac_ext <<_ACEOF
59797 /* end confdefs.h. */
59798 #include <math.h>
59800 main ()
59802 __builtin_sqrtf(0);
59804 return 0;
59806 _ACEOF
59807 rm -f conftest.$ac_objext
59808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59809 (eval $ac_compile) 2>conftest.er1
59810 ac_status=$?
59811 grep -v '^ *+' conftest.er1 >conftest.err
59812 rm -f conftest.er1
59813 cat conftest.err >&5
59814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59815 (exit $ac_status); } &&
59816 { ac_try='test -z "$ac_cxx_werror_flag"
59817 || test ! -s conftest.err'
59818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59819 (eval $ac_try) 2>&5
59820 ac_status=$?
59821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59822 (exit $ac_status); }; } &&
59823 { ac_try='test -s conftest.$ac_objext'
59824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59825 (eval $ac_try) 2>&5
59826 ac_status=$?
59827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59828 (exit $ac_status); }; }; then
59829 glibcxx_cv_func___builtin_sqrtf_use=yes
59830 else
59831 echo "$as_me: failed program was:" >&5
59832 sed 's/^/| /' conftest.$ac_ext >&5
59834 glibcxx_cv_func___builtin_sqrtf_use=no
59836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59837 ac_ext=c
59838 ac_cpp='$CPP $CPPFLAGS'
59839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
59848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
59849 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
59850 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
59851 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
59852 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
59853 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
59854 echo $ECHO_N "(cached) $ECHO_C" >&6
59855 else
59857 if test x$gcc_no_link = xyes; then
59858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59860 { (exit 1); exit 1; }; }
59862 cat >conftest.$ac_ext <<_ACEOF
59863 /* confdefs.h. */
59864 _ACEOF
59865 cat confdefs.h >>conftest.$ac_ext
59866 cat >>conftest.$ac_ext <<_ACEOF
59867 /* end confdefs.h. */
59868 #include <math.h>
59870 main ()
59872 __builtin_sqrtf(0);
59874 return 0;
59876 _ACEOF
59877 rm -f conftest.$ac_objext conftest$ac_exeext
59878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59879 (eval $ac_link) 2>conftest.er1
59880 ac_status=$?
59881 grep -v '^ *+' conftest.er1 >conftest.err
59882 rm -f conftest.er1
59883 cat conftest.err >&5
59884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59885 (exit $ac_status); } &&
59886 { ac_try='test -z "$ac_c_werror_flag"
59887 || test ! -s conftest.err'
59888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59889 (eval $ac_try) 2>&5
59890 ac_status=$?
59891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59892 (exit $ac_status); }; } &&
59893 { ac_try='test -s conftest$ac_exeext'
59894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59895 (eval $ac_try) 2>&5
59896 ac_status=$?
59897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59898 (exit $ac_status); }; }; then
59899 glibcxx_cv_func___builtin_sqrtf_link=yes
59900 else
59901 echo "$as_me: failed program was:" >&5
59902 sed 's/^/| /' conftest.$ac_ext >&5
59904 glibcxx_cv_func___builtin_sqrtf_link=no
59906 rm -f conftest.err conftest.$ac_objext \
59907 conftest$ac_exeext conftest.$ac_ext
59912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
59913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
59915 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
59917 cat >>confdefs.h <<\_ACEOF
59918 #define HAVE___BUILTIN_SQRTF 1
59919 _ACEOF
59926 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
59927 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
59928 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
59929 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
59930 echo $ECHO_N "(cached) $ECHO_C" >&6
59931 else
59935 ac_ext=cc
59936 ac_cpp='$CXXCPP $CPPFLAGS'
59937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941 cat >conftest.$ac_ext <<_ACEOF
59942 /* confdefs.h. */
59943 _ACEOF
59944 cat confdefs.h >>conftest.$ac_ext
59945 cat >>conftest.$ac_ext <<_ACEOF
59946 /* end confdefs.h. */
59947 #include <math.h>
59949 main ()
59951 __builtin_sqrt(0);
59953 return 0;
59955 _ACEOF
59956 rm -f conftest.$ac_objext
59957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59958 (eval $ac_compile) 2>conftest.er1
59959 ac_status=$?
59960 grep -v '^ *+' conftest.er1 >conftest.err
59961 rm -f conftest.er1
59962 cat conftest.err >&5
59963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59964 (exit $ac_status); } &&
59965 { ac_try='test -z "$ac_cxx_werror_flag"
59966 || test ! -s conftest.err'
59967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59968 (eval $ac_try) 2>&5
59969 ac_status=$?
59970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59971 (exit $ac_status); }; } &&
59972 { ac_try='test -s conftest.$ac_objext'
59973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59974 (eval $ac_try) 2>&5
59975 ac_status=$?
59976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59977 (exit $ac_status); }; }; then
59978 glibcxx_cv_func___builtin_sqrt_use=yes
59979 else
59980 echo "$as_me: failed program was:" >&5
59981 sed 's/^/| /' conftest.$ac_ext >&5
59983 glibcxx_cv_func___builtin_sqrt_use=no
59985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59986 ac_ext=c
59987 ac_cpp='$CPP $CPPFLAGS'
59988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
59997 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
59998 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
59999 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
60000 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
60001 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60002 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60003 echo $ECHO_N "(cached) $ECHO_C" >&6
60004 else
60006 if test x$gcc_no_link = xyes; then
60007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60009 { (exit 1); exit 1; }; }
60011 cat >conftest.$ac_ext <<_ACEOF
60012 /* confdefs.h. */
60013 _ACEOF
60014 cat confdefs.h >>conftest.$ac_ext
60015 cat >>conftest.$ac_ext <<_ACEOF
60016 /* end confdefs.h. */
60017 #include <math.h>
60019 main ()
60021 __builtin_sqrt(0);
60023 return 0;
60025 _ACEOF
60026 rm -f conftest.$ac_objext conftest$ac_exeext
60027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60028 (eval $ac_link) 2>conftest.er1
60029 ac_status=$?
60030 grep -v '^ *+' conftest.er1 >conftest.err
60031 rm -f conftest.er1
60032 cat conftest.err >&5
60033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60034 (exit $ac_status); } &&
60035 { ac_try='test -z "$ac_c_werror_flag"
60036 || test ! -s conftest.err'
60037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60038 (eval $ac_try) 2>&5
60039 ac_status=$?
60040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60041 (exit $ac_status); }; } &&
60042 { ac_try='test -s conftest$ac_exeext'
60043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60044 (eval $ac_try) 2>&5
60045 ac_status=$?
60046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60047 (exit $ac_status); }; }; then
60048 glibcxx_cv_func___builtin_sqrt_link=yes
60049 else
60050 echo "$as_me: failed program was:" >&5
60051 sed 's/^/| /' conftest.$ac_ext >&5
60053 glibcxx_cv_func___builtin_sqrt_link=no
60055 rm -f conftest.err conftest.$ac_objext \
60056 conftest$ac_exeext conftest.$ac_ext
60061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60064 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60066 cat >>confdefs.h <<\_ACEOF
60067 #define HAVE___BUILTIN_SQRT 1
60068 _ACEOF
60075 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60076 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60077 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60078 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60079 echo $ECHO_N "(cached) $ECHO_C" >&6
60080 else
60084 ac_ext=cc
60085 ac_cpp='$CXXCPP $CPPFLAGS'
60086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60090 cat >conftest.$ac_ext <<_ACEOF
60091 /* confdefs.h. */
60092 _ACEOF
60093 cat confdefs.h >>conftest.$ac_ext
60094 cat >>conftest.$ac_ext <<_ACEOF
60095 /* end confdefs.h. */
60096 #include <math.h>
60098 main ()
60100 __builtin_sqrtl(0);
60102 return 0;
60104 _ACEOF
60105 rm -f conftest.$ac_objext
60106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60107 (eval $ac_compile) 2>conftest.er1
60108 ac_status=$?
60109 grep -v '^ *+' conftest.er1 >conftest.err
60110 rm -f conftest.er1
60111 cat conftest.err >&5
60112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60113 (exit $ac_status); } &&
60114 { ac_try='test -z "$ac_cxx_werror_flag"
60115 || test ! -s conftest.err'
60116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60117 (eval $ac_try) 2>&5
60118 ac_status=$?
60119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60120 (exit $ac_status); }; } &&
60121 { ac_try='test -s conftest.$ac_objext'
60122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60123 (eval $ac_try) 2>&5
60124 ac_status=$?
60125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60126 (exit $ac_status); }; }; then
60127 glibcxx_cv_func___builtin_sqrtl_use=yes
60128 else
60129 echo "$as_me: failed program was:" >&5
60130 sed 's/^/| /' conftest.$ac_ext >&5
60132 glibcxx_cv_func___builtin_sqrtl_use=no
60134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60135 ac_ext=c
60136 ac_cpp='$CPP $CPPFLAGS'
60137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60147 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60148 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60149 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60150 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60151 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60152 echo $ECHO_N "(cached) $ECHO_C" >&6
60153 else
60155 if test x$gcc_no_link = xyes; then
60156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60158 { (exit 1); exit 1; }; }
60160 cat >conftest.$ac_ext <<_ACEOF
60161 /* confdefs.h. */
60162 _ACEOF
60163 cat confdefs.h >>conftest.$ac_ext
60164 cat >>conftest.$ac_ext <<_ACEOF
60165 /* end confdefs.h. */
60166 #include <math.h>
60168 main ()
60170 __builtin_sqrtl(0);
60172 return 0;
60174 _ACEOF
60175 rm -f conftest.$ac_objext conftest$ac_exeext
60176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60177 (eval $ac_link) 2>conftest.er1
60178 ac_status=$?
60179 grep -v '^ *+' conftest.er1 >conftest.err
60180 rm -f conftest.er1
60181 cat conftest.err >&5
60182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60183 (exit $ac_status); } &&
60184 { ac_try='test -z "$ac_c_werror_flag"
60185 || test ! -s conftest.err'
60186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60187 (eval $ac_try) 2>&5
60188 ac_status=$?
60189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60190 (exit $ac_status); }; } &&
60191 { ac_try='test -s conftest$ac_exeext'
60192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60193 (eval $ac_try) 2>&5
60194 ac_status=$?
60195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60196 (exit $ac_status); }; }; then
60197 glibcxx_cv_func___builtin_sqrtl_link=yes
60198 else
60199 echo "$as_me: failed program was:" >&5
60200 sed 's/^/| /' conftest.$ac_ext >&5
60202 glibcxx_cv_func___builtin_sqrtl_link=no
60204 rm -f conftest.err conftest.$ac_objext \
60205 conftest$ac_exeext conftest.$ac_ext
60210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60211 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60213 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60215 cat >>confdefs.h <<\_ACEOF
60216 #define HAVE___BUILTIN_SQRTL 1
60217 _ACEOF
60225 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60226 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60227 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60228 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60229 echo $ECHO_N "(cached) $ECHO_C" >&6
60230 else
60234 ac_ext=cc
60235 ac_cpp='$CXXCPP $CPPFLAGS'
60236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60240 cat >conftest.$ac_ext <<_ACEOF
60241 /* confdefs.h. */
60242 _ACEOF
60243 cat confdefs.h >>conftest.$ac_ext
60244 cat >>conftest.$ac_ext <<_ACEOF
60245 /* end confdefs.h. */
60246 #include <math.h>
60248 main ()
60250 __builtin_sinf(0);
60252 return 0;
60254 _ACEOF
60255 rm -f conftest.$ac_objext
60256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60257 (eval $ac_compile) 2>conftest.er1
60258 ac_status=$?
60259 grep -v '^ *+' conftest.er1 >conftest.err
60260 rm -f conftest.er1
60261 cat conftest.err >&5
60262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60263 (exit $ac_status); } &&
60264 { ac_try='test -z "$ac_cxx_werror_flag"
60265 || test ! -s conftest.err'
60266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60267 (eval $ac_try) 2>&5
60268 ac_status=$?
60269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60270 (exit $ac_status); }; } &&
60271 { ac_try='test -s conftest.$ac_objext'
60272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60273 (eval $ac_try) 2>&5
60274 ac_status=$?
60275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60276 (exit $ac_status); }; }; then
60277 glibcxx_cv_func___builtin_sinf_use=yes
60278 else
60279 echo "$as_me: failed program was:" >&5
60280 sed 's/^/| /' conftest.$ac_ext >&5
60282 glibcxx_cv_func___builtin_sinf_use=no
60284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60285 ac_ext=c
60286 ac_cpp='$CPP $CPPFLAGS'
60287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60295 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60297 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60298 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
60299 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
60300 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
60301 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
60302 echo $ECHO_N "(cached) $ECHO_C" >&6
60303 else
60305 if test x$gcc_no_link = xyes; then
60306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60308 { (exit 1); exit 1; }; }
60310 cat >conftest.$ac_ext <<_ACEOF
60311 /* confdefs.h. */
60312 _ACEOF
60313 cat confdefs.h >>conftest.$ac_ext
60314 cat >>conftest.$ac_ext <<_ACEOF
60315 /* end confdefs.h. */
60316 #include <math.h>
60318 main ()
60320 __builtin_sinf(0);
60322 return 0;
60324 _ACEOF
60325 rm -f conftest.$ac_objext conftest$ac_exeext
60326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60327 (eval $ac_link) 2>conftest.er1
60328 ac_status=$?
60329 grep -v '^ *+' conftest.er1 >conftest.err
60330 rm -f conftest.er1
60331 cat conftest.err >&5
60332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60333 (exit $ac_status); } &&
60334 { ac_try='test -z "$ac_c_werror_flag"
60335 || test ! -s conftest.err'
60336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60337 (eval $ac_try) 2>&5
60338 ac_status=$?
60339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60340 (exit $ac_status); }; } &&
60341 { ac_try='test -s conftest$ac_exeext'
60342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60343 (eval $ac_try) 2>&5
60344 ac_status=$?
60345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60346 (exit $ac_status); }; }; then
60347 glibcxx_cv_func___builtin_sinf_link=yes
60348 else
60349 echo "$as_me: failed program was:" >&5
60350 sed 's/^/| /' conftest.$ac_ext >&5
60352 glibcxx_cv_func___builtin_sinf_link=no
60354 rm -f conftest.err conftest.$ac_objext \
60355 conftest$ac_exeext conftest.$ac_ext
60360 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
60361 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
60363 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
60365 cat >>confdefs.h <<\_ACEOF
60366 #define HAVE___BUILTIN_SINF 1
60367 _ACEOF
60374 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
60375 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
60376 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
60377 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
60378 echo $ECHO_N "(cached) $ECHO_C" >&6
60379 else
60383 ac_ext=cc
60384 ac_cpp='$CXXCPP $CPPFLAGS'
60385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60389 cat >conftest.$ac_ext <<_ACEOF
60390 /* confdefs.h. */
60391 _ACEOF
60392 cat confdefs.h >>conftest.$ac_ext
60393 cat >>conftest.$ac_ext <<_ACEOF
60394 /* end confdefs.h. */
60395 #include <math.h>
60397 main ()
60399 __builtin_sin(0);
60401 return 0;
60403 _ACEOF
60404 rm -f conftest.$ac_objext
60405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60406 (eval $ac_compile) 2>conftest.er1
60407 ac_status=$?
60408 grep -v '^ *+' conftest.er1 >conftest.err
60409 rm -f conftest.er1
60410 cat conftest.err >&5
60411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60412 (exit $ac_status); } &&
60413 { ac_try='test -z "$ac_cxx_werror_flag"
60414 || test ! -s conftest.err'
60415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60416 (eval $ac_try) 2>&5
60417 ac_status=$?
60418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60419 (exit $ac_status); }; } &&
60420 { ac_try='test -s conftest.$ac_objext'
60421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60422 (eval $ac_try) 2>&5
60423 ac_status=$?
60424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60425 (exit $ac_status); }; }; then
60426 glibcxx_cv_func___builtin_sin_use=yes
60427 else
60428 echo "$as_me: failed program was:" >&5
60429 sed 's/^/| /' conftest.$ac_ext >&5
60431 glibcxx_cv_func___builtin_sin_use=no
60433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60434 ac_ext=c
60435 ac_cpp='$CPP $CPPFLAGS'
60436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60444 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
60445 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
60446 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
60447 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
60448 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
60449 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
60450 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
60451 echo $ECHO_N "(cached) $ECHO_C" >&6
60452 else
60454 if test x$gcc_no_link = xyes; then
60455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60457 { (exit 1); exit 1; }; }
60459 cat >conftest.$ac_ext <<_ACEOF
60460 /* confdefs.h. */
60461 _ACEOF
60462 cat confdefs.h >>conftest.$ac_ext
60463 cat >>conftest.$ac_ext <<_ACEOF
60464 /* end confdefs.h. */
60465 #include <math.h>
60467 main ()
60469 __builtin_sin(0);
60471 return 0;
60473 _ACEOF
60474 rm -f conftest.$ac_objext conftest$ac_exeext
60475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60476 (eval $ac_link) 2>conftest.er1
60477 ac_status=$?
60478 grep -v '^ *+' conftest.er1 >conftest.err
60479 rm -f conftest.er1
60480 cat conftest.err >&5
60481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60482 (exit $ac_status); } &&
60483 { ac_try='test -z "$ac_c_werror_flag"
60484 || test ! -s conftest.err'
60485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60486 (eval $ac_try) 2>&5
60487 ac_status=$?
60488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60489 (exit $ac_status); }; } &&
60490 { ac_try='test -s conftest$ac_exeext'
60491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60492 (eval $ac_try) 2>&5
60493 ac_status=$?
60494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60495 (exit $ac_status); }; }; then
60496 glibcxx_cv_func___builtin_sin_link=yes
60497 else
60498 echo "$as_me: failed program was:" >&5
60499 sed 's/^/| /' conftest.$ac_ext >&5
60501 glibcxx_cv_func___builtin_sin_link=no
60503 rm -f conftest.err conftest.$ac_objext \
60504 conftest$ac_exeext conftest.$ac_ext
60509 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
60510 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
60512 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
60514 cat >>confdefs.h <<\_ACEOF
60515 #define HAVE___BUILTIN_SIN 1
60516 _ACEOF
60523 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
60524 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
60525 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
60526 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
60527 echo $ECHO_N "(cached) $ECHO_C" >&6
60528 else
60532 ac_ext=cc
60533 ac_cpp='$CXXCPP $CPPFLAGS'
60534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60538 cat >conftest.$ac_ext <<_ACEOF
60539 /* confdefs.h. */
60540 _ACEOF
60541 cat confdefs.h >>conftest.$ac_ext
60542 cat >>conftest.$ac_ext <<_ACEOF
60543 /* end confdefs.h. */
60544 #include <math.h>
60546 main ()
60548 __builtin_sinl(0);
60550 return 0;
60552 _ACEOF
60553 rm -f conftest.$ac_objext
60554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60555 (eval $ac_compile) 2>conftest.er1
60556 ac_status=$?
60557 grep -v '^ *+' conftest.er1 >conftest.err
60558 rm -f conftest.er1
60559 cat conftest.err >&5
60560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60561 (exit $ac_status); } &&
60562 { ac_try='test -z "$ac_cxx_werror_flag"
60563 || test ! -s conftest.err'
60564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60565 (eval $ac_try) 2>&5
60566 ac_status=$?
60567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60568 (exit $ac_status); }; } &&
60569 { ac_try='test -s conftest.$ac_objext'
60570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60571 (eval $ac_try) 2>&5
60572 ac_status=$?
60573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60574 (exit $ac_status); }; }; then
60575 glibcxx_cv_func___builtin_sinl_use=yes
60576 else
60577 echo "$as_me: failed program was:" >&5
60578 sed 's/^/| /' conftest.$ac_ext >&5
60580 glibcxx_cv_func___builtin_sinl_use=no
60582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60583 ac_ext=c
60584 ac_cpp='$CPP $CPPFLAGS'
60585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
60594 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
60595 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
60596 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
60597 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
60598 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
60599 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
60600 echo $ECHO_N "(cached) $ECHO_C" >&6
60601 else
60603 if test x$gcc_no_link = xyes; then
60604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60606 { (exit 1); exit 1; }; }
60608 cat >conftest.$ac_ext <<_ACEOF
60609 /* confdefs.h. */
60610 _ACEOF
60611 cat confdefs.h >>conftest.$ac_ext
60612 cat >>conftest.$ac_ext <<_ACEOF
60613 /* end confdefs.h. */
60614 #include <math.h>
60616 main ()
60618 __builtin_sinl(0);
60620 return 0;
60622 _ACEOF
60623 rm -f conftest.$ac_objext conftest$ac_exeext
60624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60625 (eval $ac_link) 2>conftest.er1
60626 ac_status=$?
60627 grep -v '^ *+' conftest.er1 >conftest.err
60628 rm -f conftest.er1
60629 cat conftest.err >&5
60630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60631 (exit $ac_status); } &&
60632 { ac_try='test -z "$ac_c_werror_flag"
60633 || test ! -s conftest.err'
60634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60635 (eval $ac_try) 2>&5
60636 ac_status=$?
60637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60638 (exit $ac_status); }; } &&
60639 { ac_try='test -s conftest$ac_exeext'
60640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60641 (eval $ac_try) 2>&5
60642 ac_status=$?
60643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60644 (exit $ac_status); }; }; then
60645 glibcxx_cv_func___builtin_sinl_link=yes
60646 else
60647 echo "$as_me: failed program was:" >&5
60648 sed 's/^/| /' conftest.$ac_ext >&5
60650 glibcxx_cv_func___builtin_sinl_link=no
60652 rm -f conftest.err conftest.$ac_objext \
60653 conftest$ac_exeext conftest.$ac_ext
60658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
60659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
60661 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
60663 cat >>confdefs.h <<\_ACEOF
60664 #define HAVE___BUILTIN_SINL 1
60665 _ACEOF
60673 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
60674 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
60675 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
60676 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
60677 echo $ECHO_N "(cached) $ECHO_C" >&6
60678 else
60682 ac_ext=cc
60683 ac_cpp='$CXXCPP $CPPFLAGS'
60684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60688 cat >conftest.$ac_ext <<_ACEOF
60689 /* confdefs.h. */
60690 _ACEOF
60691 cat confdefs.h >>conftest.$ac_ext
60692 cat >>conftest.$ac_ext <<_ACEOF
60693 /* end confdefs.h. */
60694 #include <math.h>
60696 main ()
60698 __builtin_cosf(0);
60700 return 0;
60702 _ACEOF
60703 rm -f conftest.$ac_objext
60704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60705 (eval $ac_compile) 2>conftest.er1
60706 ac_status=$?
60707 grep -v '^ *+' conftest.er1 >conftest.err
60708 rm -f conftest.er1
60709 cat conftest.err >&5
60710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60711 (exit $ac_status); } &&
60712 { ac_try='test -z "$ac_cxx_werror_flag"
60713 || test ! -s conftest.err'
60714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60715 (eval $ac_try) 2>&5
60716 ac_status=$?
60717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60718 (exit $ac_status); }; } &&
60719 { ac_try='test -s conftest.$ac_objext'
60720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60721 (eval $ac_try) 2>&5
60722 ac_status=$?
60723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60724 (exit $ac_status); }; }; then
60725 glibcxx_cv_func___builtin_cosf_use=yes
60726 else
60727 echo "$as_me: failed program was:" >&5
60728 sed 's/^/| /' conftest.$ac_ext >&5
60730 glibcxx_cv_func___builtin_cosf_use=no
60732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60733 ac_ext=c
60734 ac_cpp='$CPP $CPPFLAGS'
60735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60743 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
60744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
60745 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
60746 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
60747 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
60748 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
60749 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
60750 echo $ECHO_N "(cached) $ECHO_C" >&6
60751 else
60753 if test x$gcc_no_link = xyes; then
60754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60756 { (exit 1); exit 1; }; }
60758 cat >conftest.$ac_ext <<_ACEOF
60759 /* confdefs.h. */
60760 _ACEOF
60761 cat confdefs.h >>conftest.$ac_ext
60762 cat >>conftest.$ac_ext <<_ACEOF
60763 /* end confdefs.h. */
60764 #include <math.h>
60766 main ()
60768 __builtin_cosf(0);
60770 return 0;
60772 _ACEOF
60773 rm -f conftest.$ac_objext conftest$ac_exeext
60774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60775 (eval $ac_link) 2>conftest.er1
60776 ac_status=$?
60777 grep -v '^ *+' conftest.er1 >conftest.err
60778 rm -f conftest.er1
60779 cat conftest.err >&5
60780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60781 (exit $ac_status); } &&
60782 { ac_try='test -z "$ac_c_werror_flag"
60783 || test ! -s conftest.err'
60784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60785 (eval $ac_try) 2>&5
60786 ac_status=$?
60787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60788 (exit $ac_status); }; } &&
60789 { ac_try='test -s conftest$ac_exeext'
60790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60791 (eval $ac_try) 2>&5
60792 ac_status=$?
60793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60794 (exit $ac_status); }; }; then
60795 glibcxx_cv_func___builtin_cosf_link=yes
60796 else
60797 echo "$as_me: failed program was:" >&5
60798 sed 's/^/| /' conftest.$ac_ext >&5
60800 glibcxx_cv_func___builtin_cosf_link=no
60802 rm -f conftest.err conftest.$ac_objext \
60803 conftest$ac_exeext conftest.$ac_ext
60808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
60809 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
60811 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
60813 cat >>confdefs.h <<\_ACEOF
60814 #define HAVE___BUILTIN_COSF 1
60815 _ACEOF
60822 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
60823 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
60824 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
60825 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
60826 echo $ECHO_N "(cached) $ECHO_C" >&6
60827 else
60831 ac_ext=cc
60832 ac_cpp='$CXXCPP $CPPFLAGS'
60833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60837 cat >conftest.$ac_ext <<_ACEOF
60838 /* confdefs.h. */
60839 _ACEOF
60840 cat confdefs.h >>conftest.$ac_ext
60841 cat >>conftest.$ac_ext <<_ACEOF
60842 /* end confdefs.h. */
60843 #include <math.h>
60845 main ()
60847 __builtin_cos(0);
60849 return 0;
60851 _ACEOF
60852 rm -f conftest.$ac_objext
60853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60854 (eval $ac_compile) 2>conftest.er1
60855 ac_status=$?
60856 grep -v '^ *+' conftest.er1 >conftest.err
60857 rm -f conftest.er1
60858 cat conftest.err >&5
60859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60860 (exit $ac_status); } &&
60861 { ac_try='test -z "$ac_cxx_werror_flag"
60862 || test ! -s conftest.err'
60863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60864 (eval $ac_try) 2>&5
60865 ac_status=$?
60866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60867 (exit $ac_status); }; } &&
60868 { ac_try='test -s conftest.$ac_objext'
60869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60870 (eval $ac_try) 2>&5
60871 ac_status=$?
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); }; }; then
60874 glibcxx_cv_func___builtin_cos_use=yes
60875 else
60876 echo "$as_me: failed program was:" >&5
60877 sed 's/^/| /' conftest.$ac_ext >&5
60879 glibcxx_cv_func___builtin_cos_use=no
60881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60892 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
60893 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
60894 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
60895 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
60896 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
60897 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
60898 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
60899 echo $ECHO_N "(cached) $ECHO_C" >&6
60900 else
60902 if test x$gcc_no_link = xyes; then
60903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60905 { (exit 1); exit 1; }; }
60907 cat >conftest.$ac_ext <<_ACEOF
60908 /* confdefs.h. */
60909 _ACEOF
60910 cat confdefs.h >>conftest.$ac_ext
60911 cat >>conftest.$ac_ext <<_ACEOF
60912 /* end confdefs.h. */
60913 #include <math.h>
60915 main ()
60917 __builtin_cos(0);
60919 return 0;
60921 _ACEOF
60922 rm -f conftest.$ac_objext conftest$ac_exeext
60923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60924 (eval $ac_link) 2>conftest.er1
60925 ac_status=$?
60926 grep -v '^ *+' conftest.er1 >conftest.err
60927 rm -f conftest.er1
60928 cat conftest.err >&5
60929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60930 (exit $ac_status); } &&
60931 { ac_try='test -z "$ac_c_werror_flag"
60932 || test ! -s conftest.err'
60933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60934 (eval $ac_try) 2>&5
60935 ac_status=$?
60936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60937 (exit $ac_status); }; } &&
60938 { ac_try='test -s conftest$ac_exeext'
60939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60940 (eval $ac_try) 2>&5
60941 ac_status=$?
60942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60943 (exit $ac_status); }; }; then
60944 glibcxx_cv_func___builtin_cos_link=yes
60945 else
60946 echo "$as_me: failed program was:" >&5
60947 sed 's/^/| /' conftest.$ac_ext >&5
60949 glibcxx_cv_func___builtin_cos_link=no
60951 rm -f conftest.err conftest.$ac_objext \
60952 conftest$ac_exeext conftest.$ac_ext
60957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
60958 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
60960 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
60962 cat >>confdefs.h <<\_ACEOF
60963 #define HAVE___BUILTIN_COS 1
60964 _ACEOF
60971 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
60972 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
60973 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
60974 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
60975 echo $ECHO_N "(cached) $ECHO_C" >&6
60976 else
60980 ac_ext=cc
60981 ac_cpp='$CXXCPP $CPPFLAGS'
60982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60986 cat >conftest.$ac_ext <<_ACEOF
60987 /* confdefs.h. */
60988 _ACEOF
60989 cat confdefs.h >>conftest.$ac_ext
60990 cat >>conftest.$ac_ext <<_ACEOF
60991 /* end confdefs.h. */
60992 #include <math.h>
60994 main ()
60996 __builtin_cosl(0);
60998 return 0;
61000 _ACEOF
61001 rm -f conftest.$ac_objext
61002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61003 (eval $ac_compile) 2>conftest.er1
61004 ac_status=$?
61005 grep -v '^ *+' conftest.er1 >conftest.err
61006 rm -f conftest.er1
61007 cat conftest.err >&5
61008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61009 (exit $ac_status); } &&
61010 { ac_try='test -z "$ac_cxx_werror_flag"
61011 || test ! -s conftest.err'
61012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61013 (eval $ac_try) 2>&5
61014 ac_status=$?
61015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61016 (exit $ac_status); }; } &&
61017 { ac_try='test -s conftest.$ac_objext'
61018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61019 (eval $ac_try) 2>&5
61020 ac_status=$?
61021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61022 (exit $ac_status); }; }; then
61023 glibcxx_cv_func___builtin_cosl_use=yes
61024 else
61025 echo "$as_me: failed program was:" >&5
61026 sed 's/^/| /' conftest.$ac_ext >&5
61028 glibcxx_cv_func___builtin_cosl_use=no
61030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61031 ac_ext=c
61032 ac_cpp='$CPP $CPPFLAGS'
61033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61041 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61042 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61043 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61044 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61045 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61046 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61047 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61048 echo $ECHO_N "(cached) $ECHO_C" >&6
61049 else
61051 if test x$gcc_no_link = xyes; then
61052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61054 { (exit 1); exit 1; }; }
61056 cat >conftest.$ac_ext <<_ACEOF
61057 /* confdefs.h. */
61058 _ACEOF
61059 cat confdefs.h >>conftest.$ac_ext
61060 cat >>conftest.$ac_ext <<_ACEOF
61061 /* end confdefs.h. */
61062 #include <math.h>
61064 main ()
61066 __builtin_cosl(0);
61068 return 0;
61070 _ACEOF
61071 rm -f conftest.$ac_objext conftest$ac_exeext
61072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61073 (eval $ac_link) 2>conftest.er1
61074 ac_status=$?
61075 grep -v '^ *+' conftest.er1 >conftest.err
61076 rm -f conftest.er1
61077 cat conftest.err >&5
61078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61079 (exit $ac_status); } &&
61080 { ac_try='test -z "$ac_c_werror_flag"
61081 || test ! -s conftest.err'
61082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61083 (eval $ac_try) 2>&5
61084 ac_status=$?
61085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61086 (exit $ac_status); }; } &&
61087 { ac_try='test -s conftest$ac_exeext'
61088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61089 (eval $ac_try) 2>&5
61090 ac_status=$?
61091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61092 (exit $ac_status); }; }; then
61093 glibcxx_cv_func___builtin_cosl_link=yes
61094 else
61095 echo "$as_me: failed program was:" >&5
61096 sed 's/^/| /' conftest.$ac_ext >&5
61098 glibcxx_cv_func___builtin_cosl_link=no
61100 rm -f conftest.err conftest.$ac_objext \
61101 conftest$ac_exeext conftest.$ac_ext
61106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61107 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61109 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61111 cat >>confdefs.h <<\_ACEOF
61112 #define HAVE___BUILTIN_COSL 1
61113 _ACEOF
61122 echo "$as_me:$LINENO: checking for main in -lm" >&5
61123 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61124 if test "${ac_cv_lib_m_main+set}" = set; then
61125 echo $ECHO_N "(cached) $ECHO_C" >&6
61126 else
61127 ac_check_lib_save_LIBS=$LIBS
61128 LIBS="-lm $LIBS"
61129 if test x$gcc_no_link = xyes; then
61130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61132 { (exit 1); exit 1; }; }
61134 cat >conftest.$ac_ext <<_ACEOF
61135 /* confdefs.h. */
61136 _ACEOF
61137 cat confdefs.h >>conftest.$ac_ext
61138 cat >>conftest.$ac_ext <<_ACEOF
61139 /* end confdefs.h. */
61143 main ()
61145 main ();
61147 return 0;
61149 _ACEOF
61150 rm -f conftest.$ac_objext conftest$ac_exeext
61151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61152 (eval $ac_link) 2>conftest.er1
61153 ac_status=$?
61154 grep -v '^ *+' conftest.er1 >conftest.err
61155 rm -f conftest.er1
61156 cat conftest.err >&5
61157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61158 (exit $ac_status); } &&
61159 { ac_try='test -z "$ac_c_werror_flag"
61160 || test ! -s conftest.err'
61161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61162 (eval $ac_try) 2>&5
61163 ac_status=$?
61164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165 (exit $ac_status); }; } &&
61166 { ac_try='test -s conftest$ac_exeext'
61167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61168 (eval $ac_try) 2>&5
61169 ac_status=$?
61170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61171 (exit $ac_status); }; }; then
61172 ac_cv_lib_m_main=yes
61173 else
61174 echo "$as_me: failed program was:" >&5
61175 sed 's/^/| /' conftest.$ac_ext >&5
61177 ac_cv_lib_m_main=no
61179 rm -f conftest.err conftest.$ac_objext \
61180 conftest$ac_exeext conftest.$ac_ext
61181 LIBS=$ac_check_lib_save_LIBS
61183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61184 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61185 if test $ac_cv_lib_m_main = yes; then
61186 cat >>confdefs.h <<_ACEOF
61187 #define HAVE_LIBM 1
61188 _ACEOF
61190 LIBS="-lm $LIBS"
61195 for ac_func in copysignf
61197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61198 echo "$as_me:$LINENO: checking for $ac_func" >&5
61199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61200 if eval "test \"\${$as_ac_var+set}\" = set"; then
61201 echo $ECHO_N "(cached) $ECHO_C" >&6
61202 else
61203 if test x$gcc_no_link = xyes; then
61204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61206 { (exit 1); exit 1; }; }
61208 cat >conftest.$ac_ext <<_ACEOF
61209 /* confdefs.h. */
61210 _ACEOF
61211 cat confdefs.h >>conftest.$ac_ext
61212 cat >>conftest.$ac_ext <<_ACEOF
61213 /* end confdefs.h. */
61214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61216 #define $ac_func innocuous_$ac_func
61218 /* System header to define __stub macros and hopefully few prototypes,
61219 which can conflict with char $ac_func (); below.
61220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61221 <limits.h> exists even on freestanding compilers. */
61223 #ifdef __STDC__
61224 # include <limits.h>
61225 #else
61226 # include <assert.h>
61227 #endif
61229 #undef $ac_func
61231 /* Override any gcc2 internal prototype to avoid an error. */
61232 #ifdef __cplusplus
61233 extern "C"
61235 #endif
61236 /* We use char because int might match the return type of a gcc2
61237 builtin and then its argument prototype would still apply. */
61238 char $ac_func ();
61239 /* The GNU C library defines this for functions which it implements
61240 to always fail with ENOSYS. Some functions are actually named
61241 something starting with __ and the normal name is an alias. */
61242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61243 choke me
61244 #else
61245 char (*f) () = $ac_func;
61246 #endif
61247 #ifdef __cplusplus
61249 #endif
61252 main ()
61254 return f != $ac_func;
61256 return 0;
61258 _ACEOF
61259 rm -f conftest.$ac_objext conftest$ac_exeext
61260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61261 (eval $ac_link) 2>conftest.er1
61262 ac_status=$?
61263 grep -v '^ *+' conftest.er1 >conftest.err
61264 rm -f conftest.er1
61265 cat conftest.err >&5
61266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267 (exit $ac_status); } &&
61268 { ac_try='test -z "$ac_c_werror_flag"
61269 || test ! -s conftest.err'
61270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61271 (eval $ac_try) 2>&5
61272 ac_status=$?
61273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61274 (exit $ac_status); }; } &&
61275 { ac_try='test -s conftest$ac_exeext'
61276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61277 (eval $ac_try) 2>&5
61278 ac_status=$?
61279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61280 (exit $ac_status); }; }; then
61281 eval "$as_ac_var=yes"
61282 else
61283 echo "$as_me: failed program was:" >&5
61284 sed 's/^/| /' conftest.$ac_ext >&5
61286 eval "$as_ac_var=no"
61288 rm -f conftest.err conftest.$ac_objext \
61289 conftest$ac_exeext conftest.$ac_ext
61291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61293 if test `eval echo '${'$as_ac_var'}'` = yes; then
61294 cat >>confdefs.h <<_ACEOF
61295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61296 _ACEOF
61298 else
61299 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61301 done
61305 for ac_func in __signbit
61307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61308 echo "$as_me:$LINENO: checking for $ac_func" >&5
61309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61310 if eval "test \"\${$as_ac_var+set}\" = set"; then
61311 echo $ECHO_N "(cached) $ECHO_C" >&6
61312 else
61313 if test x$gcc_no_link = xyes; then
61314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61316 { (exit 1); exit 1; }; }
61318 cat >conftest.$ac_ext <<_ACEOF
61319 /* confdefs.h. */
61320 _ACEOF
61321 cat confdefs.h >>conftest.$ac_ext
61322 cat >>conftest.$ac_ext <<_ACEOF
61323 /* end confdefs.h. */
61324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61326 #define $ac_func innocuous_$ac_func
61328 /* System header to define __stub macros and hopefully few prototypes,
61329 which can conflict with char $ac_func (); below.
61330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61331 <limits.h> exists even on freestanding compilers. */
61333 #ifdef __STDC__
61334 # include <limits.h>
61335 #else
61336 # include <assert.h>
61337 #endif
61339 #undef $ac_func
61341 /* Override any gcc2 internal prototype to avoid an error. */
61342 #ifdef __cplusplus
61343 extern "C"
61345 #endif
61346 /* We use char because int might match the return type of a gcc2
61347 builtin and then its argument prototype would still apply. */
61348 char $ac_func ();
61349 /* The GNU C library defines this for functions which it implements
61350 to always fail with ENOSYS. Some functions are actually named
61351 something starting with __ and the normal name is an alias. */
61352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61353 choke me
61354 #else
61355 char (*f) () = $ac_func;
61356 #endif
61357 #ifdef __cplusplus
61359 #endif
61362 main ()
61364 return f != $ac_func;
61366 return 0;
61368 _ACEOF
61369 rm -f conftest.$ac_objext conftest$ac_exeext
61370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61371 (eval $ac_link) 2>conftest.er1
61372 ac_status=$?
61373 grep -v '^ *+' conftest.er1 >conftest.err
61374 rm -f conftest.er1
61375 cat conftest.err >&5
61376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61377 (exit $ac_status); } &&
61378 { ac_try='test -z "$ac_c_werror_flag"
61379 || test ! -s conftest.err'
61380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61381 (eval $ac_try) 2>&5
61382 ac_status=$?
61383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61384 (exit $ac_status); }; } &&
61385 { ac_try='test -s conftest$ac_exeext'
61386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61387 (eval $ac_try) 2>&5
61388 ac_status=$?
61389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61390 (exit $ac_status); }; }; then
61391 eval "$as_ac_var=yes"
61392 else
61393 echo "$as_me: failed program was:" >&5
61394 sed 's/^/| /' conftest.$ac_ext >&5
61396 eval "$as_ac_var=no"
61398 rm -f conftest.err conftest.$ac_objext \
61399 conftest$ac_exeext conftest.$ac_ext
61401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61403 if test `eval echo '${'$as_ac_var'}'` = yes; then
61404 cat >>confdefs.h <<_ACEOF
61405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61406 _ACEOF
61408 else
61409 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61411 done
61415 for ac_func in __signbitf
61417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61418 echo "$as_me:$LINENO: checking for $ac_func" >&5
61419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61420 if eval "test \"\${$as_ac_var+set}\" = set"; then
61421 echo $ECHO_N "(cached) $ECHO_C" >&6
61422 else
61423 if test x$gcc_no_link = xyes; then
61424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61426 { (exit 1); exit 1; }; }
61428 cat >conftest.$ac_ext <<_ACEOF
61429 /* confdefs.h. */
61430 _ACEOF
61431 cat confdefs.h >>conftest.$ac_ext
61432 cat >>conftest.$ac_ext <<_ACEOF
61433 /* end confdefs.h. */
61434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61436 #define $ac_func innocuous_$ac_func
61438 /* System header to define __stub macros and hopefully few prototypes,
61439 which can conflict with char $ac_func (); below.
61440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61441 <limits.h> exists even on freestanding compilers. */
61443 #ifdef __STDC__
61444 # include <limits.h>
61445 #else
61446 # include <assert.h>
61447 #endif
61449 #undef $ac_func
61451 /* Override any gcc2 internal prototype to avoid an error. */
61452 #ifdef __cplusplus
61453 extern "C"
61455 #endif
61456 /* We use char because int might match the return type of a gcc2
61457 builtin and then its argument prototype would still apply. */
61458 char $ac_func ();
61459 /* The GNU C library defines this for functions which it implements
61460 to always fail with ENOSYS. Some functions are actually named
61461 something starting with __ and the normal name is an alias. */
61462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61463 choke me
61464 #else
61465 char (*f) () = $ac_func;
61466 #endif
61467 #ifdef __cplusplus
61469 #endif
61472 main ()
61474 return f != $ac_func;
61476 return 0;
61478 _ACEOF
61479 rm -f conftest.$ac_objext conftest$ac_exeext
61480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61481 (eval $ac_link) 2>conftest.er1
61482 ac_status=$?
61483 grep -v '^ *+' conftest.er1 >conftest.err
61484 rm -f conftest.er1
61485 cat conftest.err >&5
61486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61487 (exit $ac_status); } &&
61488 { ac_try='test -z "$ac_c_werror_flag"
61489 || test ! -s conftest.err'
61490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61491 (eval $ac_try) 2>&5
61492 ac_status=$?
61493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61494 (exit $ac_status); }; } &&
61495 { ac_try='test -s conftest$ac_exeext'
61496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61497 (eval $ac_try) 2>&5
61498 ac_status=$?
61499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61500 (exit $ac_status); }; }; then
61501 eval "$as_ac_var=yes"
61502 else
61503 echo "$as_me: failed program was:" >&5
61504 sed 's/^/| /' conftest.$ac_ext >&5
61506 eval "$as_ac_var=no"
61508 rm -f conftest.err conftest.$ac_objext \
61509 conftest$ac_exeext conftest.$ac_ext
61511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61513 if test `eval echo '${'$as_ac_var'}'` = yes; then
61514 cat >>confdefs.h <<_ACEOF
61515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61516 _ACEOF
61518 else
61519 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61521 done
61524 if test x$ac_cv_func_copysignl = x"yes"; then
61526 for ac_func in __signbitl
61528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61529 echo "$as_me:$LINENO: checking for $ac_func" >&5
61530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61531 if eval "test \"\${$as_ac_var+set}\" = set"; then
61532 echo $ECHO_N "(cached) $ECHO_C" >&6
61533 else
61534 if test x$gcc_no_link = xyes; then
61535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61537 { (exit 1); exit 1; }; }
61539 cat >conftest.$ac_ext <<_ACEOF
61540 /* confdefs.h. */
61541 _ACEOF
61542 cat confdefs.h >>conftest.$ac_ext
61543 cat >>conftest.$ac_ext <<_ACEOF
61544 /* end confdefs.h. */
61545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61547 #define $ac_func innocuous_$ac_func
61549 /* System header to define __stub macros and hopefully few prototypes,
61550 which can conflict with char $ac_func (); below.
61551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61552 <limits.h> exists even on freestanding compilers. */
61554 #ifdef __STDC__
61555 # include <limits.h>
61556 #else
61557 # include <assert.h>
61558 #endif
61560 #undef $ac_func
61562 /* Override any gcc2 internal prototype to avoid an error. */
61563 #ifdef __cplusplus
61564 extern "C"
61566 #endif
61567 /* We use char because int might match the return type of a gcc2
61568 builtin and then its argument prototype would still apply. */
61569 char $ac_func ();
61570 /* The GNU C library defines this for functions which it implements
61571 to always fail with ENOSYS. Some functions are actually named
61572 something starting with __ and the normal name is an alias. */
61573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61574 choke me
61575 #else
61576 char (*f) () = $ac_func;
61577 #endif
61578 #ifdef __cplusplus
61580 #endif
61583 main ()
61585 return f != $ac_func;
61587 return 0;
61589 _ACEOF
61590 rm -f conftest.$ac_objext conftest$ac_exeext
61591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61592 (eval $ac_link) 2>conftest.er1
61593 ac_status=$?
61594 grep -v '^ *+' conftest.er1 >conftest.err
61595 rm -f conftest.er1
61596 cat conftest.err >&5
61597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61598 (exit $ac_status); } &&
61599 { ac_try='test -z "$ac_c_werror_flag"
61600 || test ! -s conftest.err'
61601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61602 (eval $ac_try) 2>&5
61603 ac_status=$?
61604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61605 (exit $ac_status); }; } &&
61606 { ac_try='test -s conftest$ac_exeext'
61607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61608 (eval $ac_try) 2>&5
61609 ac_status=$?
61610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61611 (exit $ac_status); }; }; then
61612 eval "$as_ac_var=yes"
61613 else
61614 echo "$as_me: failed program was:" >&5
61615 sed 's/^/| /' conftest.$ac_ext >&5
61617 eval "$as_ac_var=no"
61619 rm -f conftest.err conftest.$ac_objext \
61620 conftest$ac_exeext conftest.$ac_ext
61622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61624 if test `eval echo '${'$as_ac_var'}'` = yes; then
61625 cat >>confdefs.h <<_ACEOF
61626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61627 _ACEOF
61629 else
61630 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61632 done
61636 # Used in libmath/Makefile.am.
61637 if test -n "$LIBMATHOBJS"; then
61638 need_libmath=yes
61643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61644 ac_save_CXXFLAGS="$CXXFLAGS"
61645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61648 echo "$as_me:$LINENO: checking for strtold declaration" >&5
61649 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
61650 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
61651 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
61652 echo $ECHO_N "(cached) $ECHO_C" >&6
61653 else
61657 ac_ext=cc
61658 ac_cpp='$CXXCPP $CPPFLAGS'
61659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61663 cat >conftest.$ac_ext <<_ACEOF
61664 /* confdefs.h. */
61665 _ACEOF
61666 cat confdefs.h >>conftest.$ac_ext
61667 cat >>conftest.$ac_ext <<_ACEOF
61668 /* end confdefs.h. */
61669 #include <stdlib.h>
61671 main ()
61673 strtold(0, 0);
61675 return 0;
61677 _ACEOF
61678 rm -f conftest.$ac_objext
61679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61680 (eval $ac_compile) 2>conftest.er1
61681 ac_status=$?
61682 grep -v '^ *+' conftest.er1 >conftest.err
61683 rm -f conftest.er1
61684 cat conftest.err >&5
61685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61686 (exit $ac_status); } &&
61687 { ac_try='test -z "$ac_cxx_werror_flag"
61688 || test ! -s conftest.err'
61689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61690 (eval $ac_try) 2>&5
61691 ac_status=$?
61692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61693 (exit $ac_status); }; } &&
61694 { ac_try='test -s conftest.$ac_objext'
61695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61696 (eval $ac_try) 2>&5
61697 ac_status=$?
61698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61699 (exit $ac_status); }; }; then
61700 glibcxx_cv_func_strtold_use=yes
61701 else
61702 echo "$as_me: failed program was:" >&5
61703 sed 's/^/| /' conftest.$ac_ext >&5
61705 glibcxx_cv_func_strtold_use=no
61707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61708 ac_ext=c
61709 ac_cpp='$CPP $CPPFLAGS'
61710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
61719 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
61720 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
61722 for ac_func in strtold
61724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61725 echo "$as_me:$LINENO: checking for $ac_func" >&5
61726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61727 if eval "test \"\${$as_ac_var+set}\" = set"; then
61728 echo $ECHO_N "(cached) $ECHO_C" >&6
61729 else
61730 if test x$gcc_no_link = xyes; then
61731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61733 { (exit 1); exit 1; }; }
61735 cat >conftest.$ac_ext <<_ACEOF
61736 /* confdefs.h. */
61737 _ACEOF
61738 cat confdefs.h >>conftest.$ac_ext
61739 cat >>conftest.$ac_ext <<_ACEOF
61740 /* end confdefs.h. */
61741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61743 #define $ac_func innocuous_$ac_func
61745 /* System header to define __stub macros and hopefully few prototypes,
61746 which can conflict with char $ac_func (); below.
61747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61748 <limits.h> exists even on freestanding compilers. */
61750 #ifdef __STDC__
61751 # include <limits.h>
61752 #else
61753 # include <assert.h>
61754 #endif
61756 #undef $ac_func
61758 /* Override any gcc2 internal prototype to avoid an error. */
61759 #ifdef __cplusplus
61760 extern "C"
61762 #endif
61763 /* We use char because int might match the return type of a gcc2
61764 builtin and then its argument prototype would still apply. */
61765 char $ac_func ();
61766 /* The GNU C library defines this for functions which it implements
61767 to always fail with ENOSYS. Some functions are actually named
61768 something starting with __ and the normal name is an alias. */
61769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61770 choke me
61771 #else
61772 char (*f) () = $ac_func;
61773 #endif
61774 #ifdef __cplusplus
61776 #endif
61779 main ()
61781 return f != $ac_func;
61783 return 0;
61785 _ACEOF
61786 rm -f conftest.$ac_objext conftest$ac_exeext
61787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61788 (eval $ac_link) 2>conftest.er1
61789 ac_status=$?
61790 grep -v '^ *+' conftest.er1 >conftest.err
61791 rm -f conftest.er1
61792 cat conftest.err >&5
61793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61794 (exit $ac_status); } &&
61795 { ac_try='test -z "$ac_c_werror_flag"
61796 || test ! -s conftest.err'
61797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61798 (eval $ac_try) 2>&5
61799 ac_status=$?
61800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61801 (exit $ac_status); }; } &&
61802 { ac_try='test -s conftest$ac_exeext'
61803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61804 (eval $ac_try) 2>&5
61805 ac_status=$?
61806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61807 (exit $ac_status); }; }; then
61808 eval "$as_ac_var=yes"
61809 else
61810 echo "$as_me: failed program was:" >&5
61811 sed 's/^/| /' conftest.$ac_ext >&5
61813 eval "$as_ac_var=no"
61815 rm -f conftest.err conftest.$ac_objext \
61816 conftest$ac_exeext conftest.$ac_ext
61818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61820 if test `eval echo '${'$as_ac_var'}'` = yes; then
61821 cat >>confdefs.h <<_ACEOF
61822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61823 _ACEOF
61826 done
61834 echo "$as_me:$LINENO: checking for strtof declaration" >&5
61835 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
61836 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
61837 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
61838 echo $ECHO_N "(cached) $ECHO_C" >&6
61839 else
61843 ac_ext=cc
61844 ac_cpp='$CXXCPP $CPPFLAGS'
61845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61849 cat >conftest.$ac_ext <<_ACEOF
61850 /* confdefs.h. */
61851 _ACEOF
61852 cat confdefs.h >>conftest.$ac_ext
61853 cat >>conftest.$ac_ext <<_ACEOF
61854 /* end confdefs.h. */
61855 #include <stdlib.h>
61857 main ()
61859 strtof(0, 0);
61861 return 0;
61863 _ACEOF
61864 rm -f conftest.$ac_objext
61865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61866 (eval $ac_compile) 2>conftest.er1
61867 ac_status=$?
61868 grep -v '^ *+' conftest.er1 >conftest.err
61869 rm -f conftest.er1
61870 cat conftest.err >&5
61871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61872 (exit $ac_status); } &&
61873 { ac_try='test -z "$ac_cxx_werror_flag"
61874 || test ! -s conftest.err'
61875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61876 (eval $ac_try) 2>&5
61877 ac_status=$?
61878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61879 (exit $ac_status); }; } &&
61880 { ac_try='test -s conftest.$ac_objext'
61881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61882 (eval $ac_try) 2>&5
61883 ac_status=$?
61884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61885 (exit $ac_status); }; }; then
61886 glibcxx_cv_func_strtof_use=yes
61887 else
61888 echo "$as_me: failed program was:" >&5
61889 sed 's/^/| /' conftest.$ac_ext >&5
61891 glibcxx_cv_func_strtof_use=no
61893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
61905 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
61906 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
61908 for ac_func in strtof
61910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61911 echo "$as_me:$LINENO: checking for $ac_func" >&5
61912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61913 if eval "test \"\${$as_ac_var+set}\" = set"; then
61914 echo $ECHO_N "(cached) $ECHO_C" >&6
61915 else
61916 if test x$gcc_no_link = xyes; then
61917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61919 { (exit 1); exit 1; }; }
61921 cat >conftest.$ac_ext <<_ACEOF
61922 /* confdefs.h. */
61923 _ACEOF
61924 cat confdefs.h >>conftest.$ac_ext
61925 cat >>conftest.$ac_ext <<_ACEOF
61926 /* end confdefs.h. */
61927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61929 #define $ac_func innocuous_$ac_func
61931 /* System header to define __stub macros and hopefully few prototypes,
61932 which can conflict with char $ac_func (); below.
61933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61934 <limits.h> exists even on freestanding compilers. */
61936 #ifdef __STDC__
61937 # include <limits.h>
61938 #else
61939 # include <assert.h>
61940 #endif
61942 #undef $ac_func
61944 /* Override any gcc2 internal prototype to avoid an error. */
61945 #ifdef __cplusplus
61946 extern "C"
61948 #endif
61949 /* We use char because int might match the return type of a gcc2
61950 builtin and then its argument prototype would still apply. */
61951 char $ac_func ();
61952 /* The GNU C library defines this for functions which it implements
61953 to always fail with ENOSYS. Some functions are actually named
61954 something starting with __ and the normal name is an alias. */
61955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61956 choke me
61957 #else
61958 char (*f) () = $ac_func;
61959 #endif
61960 #ifdef __cplusplus
61962 #endif
61965 main ()
61967 return f != $ac_func;
61969 return 0;
61971 _ACEOF
61972 rm -f conftest.$ac_objext conftest$ac_exeext
61973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61974 (eval $ac_link) 2>conftest.er1
61975 ac_status=$?
61976 grep -v '^ *+' conftest.er1 >conftest.err
61977 rm -f conftest.er1
61978 cat conftest.err >&5
61979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61980 (exit $ac_status); } &&
61981 { ac_try='test -z "$ac_c_werror_flag"
61982 || test ! -s conftest.err'
61983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61984 (eval $ac_try) 2>&5
61985 ac_status=$?
61986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61987 (exit $ac_status); }; } &&
61988 { ac_try='test -s conftest$ac_exeext'
61989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61990 (eval $ac_try) 2>&5
61991 ac_status=$?
61992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993 (exit $ac_status); }; }; then
61994 eval "$as_ac_var=yes"
61995 else
61996 echo "$as_me: failed program was:" >&5
61997 sed 's/^/| /' conftest.$ac_ext >&5
61999 eval "$as_ac_var=no"
62001 rm -f conftest.err conftest.$ac_objext \
62002 conftest$ac_exeext conftest.$ac_ext
62004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62006 if test `eval echo '${'$as_ac_var'}'` = yes; then
62007 cat >>confdefs.h <<_ACEOF
62008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62009 _ACEOF
62012 done
62020 CXXFLAGS="$ac_save_CXXFLAGS"
62023 # For showmanyc_helper().
62026 for ac_header in sys/ioctl.h sys/filio.h
62028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62030 echo "$as_me:$LINENO: checking for $ac_header" >&5
62031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62033 echo $ECHO_N "(cached) $ECHO_C" >&6
62035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62037 else
62038 # Is the header compilable?
62039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62041 cat >conftest.$ac_ext <<_ACEOF
62042 /* confdefs.h. */
62043 _ACEOF
62044 cat confdefs.h >>conftest.$ac_ext
62045 cat >>conftest.$ac_ext <<_ACEOF
62046 /* end confdefs.h. */
62047 $ac_includes_default
62048 #include <$ac_header>
62049 _ACEOF
62050 rm -f conftest.$ac_objext
62051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62052 (eval $ac_compile) 2>conftest.er1
62053 ac_status=$?
62054 grep -v '^ *+' conftest.er1 >conftest.err
62055 rm -f conftest.er1
62056 cat conftest.err >&5
62057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62058 (exit $ac_status); } &&
62059 { ac_try='test -z "$ac_c_werror_flag"
62060 || test ! -s conftest.err'
62061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62062 (eval $ac_try) 2>&5
62063 ac_status=$?
62064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62065 (exit $ac_status); }; } &&
62066 { ac_try='test -s conftest.$ac_objext'
62067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62068 (eval $ac_try) 2>&5
62069 ac_status=$?
62070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62071 (exit $ac_status); }; }; then
62072 ac_header_compiler=yes
62073 else
62074 echo "$as_me: failed program was:" >&5
62075 sed 's/^/| /' conftest.$ac_ext >&5
62077 ac_header_compiler=no
62079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62081 echo "${ECHO_T}$ac_header_compiler" >&6
62083 # Is the header present?
62084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62086 cat >conftest.$ac_ext <<_ACEOF
62087 /* confdefs.h. */
62088 _ACEOF
62089 cat confdefs.h >>conftest.$ac_ext
62090 cat >>conftest.$ac_ext <<_ACEOF
62091 /* end confdefs.h. */
62092 #include <$ac_header>
62093 _ACEOF
62094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62096 ac_status=$?
62097 grep -v '^ *+' conftest.er1 >conftest.err
62098 rm -f conftest.er1
62099 cat conftest.err >&5
62100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62101 (exit $ac_status); } >/dev/null; then
62102 if test -s conftest.err; then
62103 ac_cpp_err=$ac_c_preproc_warn_flag
62104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62105 else
62106 ac_cpp_err=
62108 else
62109 ac_cpp_err=yes
62111 if test -z "$ac_cpp_err"; then
62112 ac_header_preproc=yes
62113 else
62114 echo "$as_me: failed program was:" >&5
62115 sed 's/^/| /' conftest.$ac_ext >&5
62117 ac_header_preproc=no
62119 rm -f conftest.err conftest.$ac_ext
62120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62121 echo "${ECHO_T}$ac_header_preproc" >&6
62123 # So? What about this header?
62124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62125 yes:no: )
62126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62130 ac_header_preproc=yes
62132 no:yes:* )
62133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62146 cat <<\_ASBOX
62147 ## ----------------------------------------- ##
62148 ## Report this to the package-unused lists. ##
62149 ## ----------------------------------------- ##
62150 _ASBOX
62152 sed "s/^/$as_me: WARNING: /" >&2
62154 esac
62155 echo "$as_me:$LINENO: checking for $ac_header" >&5
62156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62158 echo $ECHO_N "(cached) $ECHO_C" >&6
62159 else
62160 eval "$as_ac_Header=\$ac_header_preproc"
62162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62167 cat >>confdefs.h <<_ACEOF
62168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62169 _ACEOF
62173 done
62176 echo "$as_me:$LINENO: checking for poll" >&5
62177 echo $ECHO_N "checking for poll... $ECHO_C" >&6
62178 if test "${glibcxx_cv_POLL+set}" = set; then
62179 echo $ECHO_N "(cached) $ECHO_C" >&6
62180 else
62182 if test x$gcc_no_link = xyes; then
62183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62185 { (exit 1); exit 1; }; }
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 <poll.h>
62195 main ()
62197 struct pollfd pfd[1];
62198 pfd[0].events = POLLIN;
62199 poll(pfd, 1, 0);
62201 return 0;
62203 _ACEOF
62204 rm -f conftest.$ac_objext conftest$ac_exeext
62205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62206 (eval $ac_link) 2>conftest.er1
62207 ac_status=$?
62208 grep -v '^ *+' conftest.er1 >conftest.err
62209 rm -f conftest.er1
62210 cat conftest.err >&5
62211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62212 (exit $ac_status); } &&
62213 { ac_try='test -z "$ac_c_werror_flag"
62214 || test ! -s conftest.err'
62215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62216 (eval $ac_try) 2>&5
62217 ac_status=$?
62218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62219 (exit $ac_status); }; } &&
62220 { ac_try='test -s conftest$ac_exeext'
62221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62222 (eval $ac_try) 2>&5
62223 ac_status=$?
62224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62225 (exit $ac_status); }; }; then
62226 glibcxx_cv_POLL=yes
62227 else
62228 echo "$as_me: failed program was:" >&5
62229 sed 's/^/| /' conftest.$ac_ext >&5
62231 glibcxx_cv_POLL=no
62233 rm -f conftest.err conftest.$ac_objext \
62234 conftest$ac_exeext conftest.$ac_ext
62238 if test $glibcxx_cv_POLL = yes; then
62240 cat >>confdefs.h <<\_ACEOF
62241 #define HAVE_POLL 1
62242 _ACEOF
62245 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
62246 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
62249 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62250 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62251 if test "${glibcxx_cv_S_ISREG+set}" = set; then
62252 echo $ECHO_N "(cached) $ECHO_C" >&6
62253 else
62255 if test x$gcc_no_link = xyes; then
62256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62258 { (exit 1); exit 1; }; }
62260 cat >conftest.$ac_ext <<_ACEOF
62261 /* confdefs.h. */
62262 _ACEOF
62263 cat confdefs.h >>conftest.$ac_ext
62264 cat >>conftest.$ac_ext <<_ACEOF
62265 /* end confdefs.h. */
62266 #include <sys/stat.h>
62268 main ()
62270 struct stat buffer;
62271 fstat(0, &buffer);
62272 S_ISREG(buffer.st_mode);
62274 return 0;
62276 _ACEOF
62277 rm -f conftest.$ac_objext conftest$ac_exeext
62278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62279 (eval $ac_link) 2>conftest.er1
62280 ac_status=$?
62281 grep -v '^ *+' conftest.er1 >conftest.err
62282 rm -f conftest.er1
62283 cat conftest.err >&5
62284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62285 (exit $ac_status); } &&
62286 { ac_try='test -z "$ac_c_werror_flag"
62287 || test ! -s conftest.err'
62288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62289 (eval $ac_try) 2>&5
62290 ac_status=$?
62291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62292 (exit $ac_status); }; } &&
62293 { ac_try='test -s conftest$ac_exeext'
62294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62295 (eval $ac_try) 2>&5
62296 ac_status=$?
62297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298 (exit $ac_status); }; }; then
62299 glibcxx_cv_S_ISREG=yes
62300 else
62301 echo "$as_me: failed program was:" >&5
62302 sed 's/^/| /' conftest.$ac_ext >&5
62304 glibcxx_cv_S_ISREG=no
62306 rm -f conftest.err conftest.$ac_objext \
62307 conftest$ac_exeext conftest.$ac_ext
62311 if test "${glibcxx_cv_S_IFREG+set}" = set; then
62312 echo $ECHO_N "(cached) $ECHO_C" >&6
62313 else
62315 if test x$gcc_no_link = xyes; then
62316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62318 { (exit 1); exit 1; }; }
62320 cat >conftest.$ac_ext <<_ACEOF
62321 /* confdefs.h. */
62322 _ACEOF
62323 cat confdefs.h >>conftest.$ac_ext
62324 cat >>conftest.$ac_ext <<_ACEOF
62325 /* end confdefs.h. */
62326 #include <sys/stat.h>
62328 main ()
62330 struct stat buffer;
62331 fstat(0, &buffer);
62332 S_IFREG & buffer.st_mode;
62334 return 0;
62336 _ACEOF
62337 rm -f conftest.$ac_objext conftest$ac_exeext
62338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62339 (eval $ac_link) 2>conftest.er1
62340 ac_status=$?
62341 grep -v '^ *+' conftest.er1 >conftest.err
62342 rm -f conftest.er1
62343 cat conftest.err >&5
62344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62345 (exit $ac_status); } &&
62346 { ac_try='test -z "$ac_c_werror_flag"
62347 || test ! -s conftest.err'
62348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62349 (eval $ac_try) 2>&5
62350 ac_status=$?
62351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62352 (exit $ac_status); }; } &&
62353 { ac_try='test -s conftest$ac_exeext'
62354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62355 (eval $ac_try) 2>&5
62356 ac_status=$?
62357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62358 (exit $ac_status); }; }; then
62359 glibcxx_cv_S_IFREG=yes
62360 else
62361 echo "$as_me: failed program was:" >&5
62362 sed 's/^/| /' conftest.$ac_ext >&5
62364 glibcxx_cv_S_IFREG=no
62366 rm -f conftest.err conftest.$ac_objext \
62367 conftest$ac_exeext conftest.$ac_ext
62371 res=no
62372 if test $glibcxx_cv_S_ISREG = yes; then
62374 cat >>confdefs.h <<\_ACEOF
62375 #define HAVE_S_ISREG 1
62376 _ACEOF
62378 res=S_ISREG
62379 elif test $glibcxx_cv_S_IFREG = yes; then
62381 cat >>confdefs.h <<\_ACEOF
62382 #define HAVE_S_IFREG 1
62383 _ACEOF
62385 res=S_IFREG
62387 echo "$as_me:$LINENO: result: $res" >&5
62388 echo "${ECHO_T}$res" >&6
62391 # For xsputn_2().
62393 for ac_header in sys/uio.h
62395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62397 echo "$as_me:$LINENO: checking for $ac_header" >&5
62398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62400 echo $ECHO_N "(cached) $ECHO_C" >&6
62402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62404 else
62405 # Is the header compilable?
62406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62408 cat >conftest.$ac_ext <<_ACEOF
62409 /* confdefs.h. */
62410 _ACEOF
62411 cat confdefs.h >>conftest.$ac_ext
62412 cat >>conftest.$ac_ext <<_ACEOF
62413 /* end confdefs.h. */
62414 $ac_includes_default
62415 #include <$ac_header>
62416 _ACEOF
62417 rm -f conftest.$ac_objext
62418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62419 (eval $ac_compile) 2>conftest.er1
62420 ac_status=$?
62421 grep -v '^ *+' conftest.er1 >conftest.err
62422 rm -f conftest.er1
62423 cat conftest.err >&5
62424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62425 (exit $ac_status); } &&
62426 { ac_try='test -z "$ac_c_werror_flag"
62427 || test ! -s conftest.err'
62428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62429 (eval $ac_try) 2>&5
62430 ac_status=$?
62431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62432 (exit $ac_status); }; } &&
62433 { ac_try='test -s conftest.$ac_objext'
62434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62435 (eval $ac_try) 2>&5
62436 ac_status=$?
62437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62438 (exit $ac_status); }; }; then
62439 ac_header_compiler=yes
62440 else
62441 echo "$as_me: failed program was:" >&5
62442 sed 's/^/| /' conftest.$ac_ext >&5
62444 ac_header_compiler=no
62446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62448 echo "${ECHO_T}$ac_header_compiler" >&6
62450 # Is the header present?
62451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62453 cat >conftest.$ac_ext <<_ACEOF
62454 /* confdefs.h. */
62455 _ACEOF
62456 cat confdefs.h >>conftest.$ac_ext
62457 cat >>conftest.$ac_ext <<_ACEOF
62458 /* end confdefs.h. */
62459 #include <$ac_header>
62460 _ACEOF
62461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62463 ac_status=$?
62464 grep -v '^ *+' conftest.er1 >conftest.err
62465 rm -f conftest.er1
62466 cat conftest.err >&5
62467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62468 (exit $ac_status); } >/dev/null; then
62469 if test -s conftest.err; then
62470 ac_cpp_err=$ac_c_preproc_warn_flag
62471 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62472 else
62473 ac_cpp_err=
62475 else
62476 ac_cpp_err=yes
62478 if test -z "$ac_cpp_err"; then
62479 ac_header_preproc=yes
62480 else
62481 echo "$as_me: failed program was:" >&5
62482 sed 's/^/| /' conftest.$ac_ext >&5
62484 ac_header_preproc=no
62486 rm -f conftest.err conftest.$ac_ext
62487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62488 echo "${ECHO_T}$ac_header_preproc" >&6
62490 # So? What about this header?
62491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62492 yes:no: )
62493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62497 ac_header_preproc=yes
62499 no:yes:* )
62500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62513 cat <<\_ASBOX
62514 ## ----------------------------------------- ##
62515 ## Report this to the package-unused lists. ##
62516 ## ----------------------------------------- ##
62517 _ASBOX
62519 sed "s/^/$as_me: WARNING: /" >&2
62521 esac
62522 echo "$as_me:$LINENO: checking for $ac_header" >&5
62523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62525 echo $ECHO_N "(cached) $ECHO_C" >&6
62526 else
62527 eval "$as_ac_Header=\$ac_header_preproc"
62529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62534 cat >>confdefs.h <<_ACEOF
62535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62536 _ACEOF
62540 done
62543 echo "$as_me:$LINENO: checking for writev" >&5
62544 echo $ECHO_N "checking for writev... $ECHO_C" >&6
62545 if test "${glibcxx_cv_WRITEV+set}" = set; then
62546 echo $ECHO_N "(cached) $ECHO_C" >&6
62547 else
62549 if test x$gcc_no_link = xyes; then
62550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62552 { (exit 1); exit 1; }; }
62554 cat >conftest.$ac_ext <<_ACEOF
62555 /* confdefs.h. */
62556 _ACEOF
62557 cat confdefs.h >>conftest.$ac_ext
62558 cat >>conftest.$ac_ext <<_ACEOF
62559 /* end confdefs.h. */
62560 #include <sys/uio.h>
62562 main ()
62564 struct iovec iov[2];
62565 writev(0, iov, 0);
62567 return 0;
62569 _ACEOF
62570 rm -f conftest.$ac_objext conftest$ac_exeext
62571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62572 (eval $ac_link) 2>conftest.er1
62573 ac_status=$?
62574 grep -v '^ *+' conftest.er1 >conftest.err
62575 rm -f conftest.er1
62576 cat conftest.err >&5
62577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62578 (exit $ac_status); } &&
62579 { ac_try='test -z "$ac_c_werror_flag"
62580 || test ! -s conftest.err'
62581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62582 (eval $ac_try) 2>&5
62583 ac_status=$?
62584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62585 (exit $ac_status); }; } &&
62586 { ac_try='test -s conftest$ac_exeext'
62587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62588 (eval $ac_try) 2>&5
62589 ac_status=$?
62590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62591 (exit $ac_status); }; }; then
62592 glibcxx_cv_WRITEV=yes
62593 else
62594 echo "$as_me: failed program was:" >&5
62595 sed 's/^/| /' conftest.$ac_ext >&5
62597 glibcxx_cv_WRITEV=no
62599 rm -f conftest.err conftest.$ac_objext \
62600 conftest$ac_exeext conftest.$ac_ext
62604 if test $glibcxx_cv_WRITEV = yes; then
62606 cat >>confdefs.h <<\_ACEOF
62607 #define HAVE_WRITEV 1
62608 _ACEOF
62611 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
62612 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
62615 cat >>confdefs.h <<\_ACEOF
62616 #define HAVE_LC_MESSAGES 1
62617 _ACEOF
62620 cat >conftest.$ac_ext <<_ACEOF
62621 /* confdefs.h. */
62622 _ACEOF
62623 cat confdefs.h >>conftest.$ac_ext
62624 cat >>conftest.$ac_ext <<_ACEOF
62625 /* end confdefs.h. */
62626 #include <setjmp.h>
62628 main ()
62630 sigjmp_buf env;
62631 while (! sigsetjmp (env, 1))
62632 siglongjmp (env, 1);
62635 return 0;
62637 _ACEOF
62638 rm -f conftest.$ac_objext
62639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62640 (eval $ac_compile) 2>conftest.er1
62641 ac_status=$?
62642 grep -v '^ *+' conftest.er1 >conftest.err
62643 rm -f conftest.er1
62644 cat conftest.err >&5
62645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62646 (exit $ac_status); } &&
62647 { ac_try='test -z "$ac_c_werror_flag"
62648 || test ! -s conftest.err'
62649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62650 (eval $ac_try) 2>&5
62651 ac_status=$?
62652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62653 (exit $ac_status); }; } &&
62654 { ac_try='test -s conftest.$ac_objext'
62655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62656 (eval $ac_try) 2>&5
62657 ac_status=$?
62658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62659 (exit $ac_status); }; }; then
62661 cat >>confdefs.h <<\_ACEOF
62662 #define HAVE_SIGSETJMP 1
62663 _ACEOF
62665 else
62666 echo "$as_me: failed program was:" >&5
62667 sed 's/^/| /' conftest.$ac_ext >&5
62670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62672 cat >>confdefs.h <<\_ACEOF
62673 #define HAVE_MMAP 1
62674 _ACEOF
62678 *djgpp)
62699 for ac_header in float.h ieeefp.h inttypes.h locale.h \
62700 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
62701 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
62702 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
62704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62706 echo "$as_me:$LINENO: checking for $ac_header" >&5
62707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62709 echo $ECHO_N "(cached) $ECHO_C" >&6
62711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62713 else
62714 # Is the header compilable?
62715 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62717 cat >conftest.$ac_ext <<_ACEOF
62718 /* confdefs.h. */
62719 _ACEOF
62720 cat confdefs.h >>conftest.$ac_ext
62721 cat >>conftest.$ac_ext <<_ACEOF
62722 /* end confdefs.h. */
62723 $ac_includes_default
62724 #include <$ac_header>
62725 _ACEOF
62726 rm -f conftest.$ac_objext
62727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62728 (eval $ac_compile) 2>conftest.er1
62729 ac_status=$?
62730 grep -v '^ *+' conftest.er1 >conftest.err
62731 rm -f conftest.er1
62732 cat conftest.err >&5
62733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62734 (exit $ac_status); } &&
62735 { ac_try='test -z "$ac_c_werror_flag"
62736 || test ! -s conftest.err'
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); }; } &&
62742 { ac_try='test -s conftest.$ac_objext'
62743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62744 (eval $ac_try) 2>&5
62745 ac_status=$?
62746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62747 (exit $ac_status); }; }; then
62748 ac_header_compiler=yes
62749 else
62750 echo "$as_me: failed program was:" >&5
62751 sed 's/^/| /' conftest.$ac_ext >&5
62753 ac_header_compiler=no
62755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62757 echo "${ECHO_T}$ac_header_compiler" >&6
62759 # Is the header present?
62760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62762 cat >conftest.$ac_ext <<_ACEOF
62763 /* confdefs.h. */
62764 _ACEOF
62765 cat confdefs.h >>conftest.$ac_ext
62766 cat >>conftest.$ac_ext <<_ACEOF
62767 /* end confdefs.h. */
62768 #include <$ac_header>
62769 _ACEOF
62770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62772 ac_status=$?
62773 grep -v '^ *+' conftest.er1 >conftest.err
62774 rm -f conftest.er1
62775 cat conftest.err >&5
62776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62777 (exit $ac_status); } >/dev/null; then
62778 if test -s conftest.err; then
62779 ac_cpp_err=$ac_c_preproc_warn_flag
62780 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62781 else
62782 ac_cpp_err=
62784 else
62785 ac_cpp_err=yes
62787 if test -z "$ac_cpp_err"; then
62788 ac_header_preproc=yes
62789 else
62790 echo "$as_me: failed program was:" >&5
62791 sed 's/^/| /' conftest.$ac_ext >&5
62793 ac_header_preproc=no
62795 rm -f conftest.err conftest.$ac_ext
62796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62797 echo "${ECHO_T}$ac_header_preproc" >&6
62799 # So? What about this header?
62800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62801 yes:no: )
62802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
62803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
62804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
62805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
62806 ac_header_preproc=yes
62808 no:yes:* )
62809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
62810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
62811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
62812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
62813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
62814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
62815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
62816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
62817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
62818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62822 cat <<\_ASBOX
62823 ## ----------------------------------------- ##
62824 ## Report this to the package-unused lists. ##
62825 ## ----------------------------------------- ##
62826 _ASBOX
62828 sed "s/^/$as_me: WARNING: /" >&2
62830 esac
62831 echo "$as_me:$LINENO: checking for $ac_header" >&5
62832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62834 echo $ECHO_N "(cached) $ECHO_C" >&6
62835 else
62836 eval "$as_ac_Header=\$ac_header_preproc"
62838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62843 cat >>confdefs.h <<_ACEOF
62844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
62845 _ACEOF
62849 done
62851 # GLIBCXX_CHECK_MATH_SUPPORT
62852 cat >>confdefs.h <<\_ACEOF
62853 #define HAVE_LIBM 1
62854 _ACEOF
62856 cat >>confdefs.h <<\_ACEOF
62857 #define HAVE_ISINF 1
62858 _ACEOF
62860 cat >>confdefs.h <<\_ACEOF
62861 #define HAVE_ISNAN 1
62862 _ACEOF
62864 cat >>confdefs.h <<\_ACEOF
62865 #define HAVE_FINITE 1
62866 _ACEOF
62868 cat >>confdefs.h <<\_ACEOF
62869 #define HAVE_COPYSIGN 1
62870 _ACEOF
62872 cat >>confdefs.h <<\_ACEOF
62873 #define HAVE_SINCOS 1
62874 _ACEOF
62876 cat >>confdefs.h <<\_ACEOF
62877 #define HAVE_HYPOT 1
62878 _ACEOF
62880 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
62881 cat >>confdefs.h <<\_ACEOF
62882 #define HAVE___BUILTIN_ABS 1
62883 _ACEOF
62885 cat >>confdefs.h <<\_ACEOF
62886 #define HAVE___BUILTIN_FABSF 1
62887 _ACEOF
62889 cat >>confdefs.h <<\_ACEOF
62890 #define HAVE___BUILTIN_FABS 1
62891 _ACEOF
62893 cat >>confdefs.h <<\_ACEOF
62894 #define HAVE___BUILTIN_FABSL 1
62895 _ACEOF
62897 cat >>confdefs.h <<\_ACEOF
62898 #define HAVE___BUILTIN_LABS 1
62899 _ACEOF
62901 cat >>confdefs.h <<\_ACEOF
62902 #define HAVE___BUILTIN_SQRTF 1
62903 _ACEOF
62905 cat >>confdefs.h <<\_ACEOF
62906 #define HAVE___BUILTIN_SQRT 1
62907 _ACEOF
62909 cat >>confdefs.h <<\_ACEOF
62910 #define HAVE___BUILTIN_SQRTL 1
62911 _ACEOF
62913 cat >>confdefs.h <<\_ACEOF
62914 #define HAVE___BUILTIN_SINF 1
62915 _ACEOF
62917 cat >>confdefs.h <<\_ACEOF
62918 #define HAVE___BUILTIN_SIN 1
62919 _ACEOF
62921 cat >>confdefs.h <<\_ACEOF
62922 #define HAVE___BUILTIN_SINL 1
62923 _ACEOF
62925 cat >>confdefs.h <<\_ACEOF
62926 #define HAVE___BUILTIN_COSF 1
62927 _ACEOF
62929 cat >>confdefs.h <<\_ACEOF
62930 #define HAVE___BUILTIN_COS 1
62931 _ACEOF
62933 cat >>confdefs.h <<\_ACEOF
62934 #define HAVE___BUILTIN_COSL 1
62935 _ACEOF
62937 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
62938 # GLIBCXX_CHECK_STDLIB_SUPPORT
62939 cat >>confdefs.h <<\_ACEOF
62940 #define HAVE_COPYSIGN 1
62941 _ACEOF
62943 cat >>confdefs.h <<\_ACEOF
62944 #define HAVE_COPYSIGNF 1
62945 _ACEOF
62947 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
62948 cat >>confdefs.h <<\_ACEOF
62949 #define HAVE_S_ISREG 1
62950 _ACEOF
62952 cat >>confdefs.h <<\_ACEOF
62953 #define HAVE_S_IFREG 1
62954 _ACEOF
62956 cat >>confdefs.h <<\_ACEOF
62957 #define HAVE_WRITEV 1
62958 _ACEOF
62962 *-freebsd*)
62979 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
62980 machine/endian.h machine/param.h sys/machine.h sys/types.h \
62981 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
62982 sys/time.h unistd.h
62984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62986 echo "$as_me:$LINENO: checking for $ac_header" >&5
62987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62989 echo $ECHO_N "(cached) $ECHO_C" >&6
62991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62993 else
62994 # Is the header compilable?
62995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62997 cat >conftest.$ac_ext <<_ACEOF
62998 /* confdefs.h. */
62999 _ACEOF
63000 cat confdefs.h >>conftest.$ac_ext
63001 cat >>conftest.$ac_ext <<_ACEOF
63002 /* end confdefs.h. */
63003 $ac_includes_default
63004 #include <$ac_header>
63005 _ACEOF
63006 rm -f conftest.$ac_objext
63007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63008 (eval $ac_compile) 2>conftest.er1
63009 ac_status=$?
63010 grep -v '^ *+' conftest.er1 >conftest.err
63011 rm -f conftest.er1
63012 cat conftest.err >&5
63013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63014 (exit $ac_status); } &&
63015 { ac_try='test -z "$ac_c_werror_flag"
63016 || test ! -s conftest.err'
63017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63018 (eval $ac_try) 2>&5
63019 ac_status=$?
63020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63021 (exit $ac_status); }; } &&
63022 { ac_try='test -s conftest.$ac_objext'
63023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63024 (eval $ac_try) 2>&5
63025 ac_status=$?
63026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63027 (exit $ac_status); }; }; then
63028 ac_header_compiler=yes
63029 else
63030 echo "$as_me: failed program was:" >&5
63031 sed 's/^/| /' conftest.$ac_ext >&5
63033 ac_header_compiler=no
63035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63037 echo "${ECHO_T}$ac_header_compiler" >&6
63039 # Is the header present?
63040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63042 cat >conftest.$ac_ext <<_ACEOF
63043 /* confdefs.h. */
63044 _ACEOF
63045 cat confdefs.h >>conftest.$ac_ext
63046 cat >>conftest.$ac_ext <<_ACEOF
63047 /* end confdefs.h. */
63048 #include <$ac_header>
63049 _ACEOF
63050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63052 ac_status=$?
63053 grep -v '^ *+' conftest.er1 >conftest.err
63054 rm -f conftest.er1
63055 cat conftest.err >&5
63056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63057 (exit $ac_status); } >/dev/null; then
63058 if test -s conftest.err; then
63059 ac_cpp_err=$ac_c_preproc_warn_flag
63060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63061 else
63062 ac_cpp_err=
63064 else
63065 ac_cpp_err=yes
63067 if test -z "$ac_cpp_err"; then
63068 ac_header_preproc=yes
63069 else
63070 echo "$as_me: failed program was:" >&5
63071 sed 's/^/| /' conftest.$ac_ext >&5
63073 ac_header_preproc=no
63075 rm -f conftest.err conftest.$ac_ext
63076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63077 echo "${ECHO_T}$ac_header_preproc" >&6
63079 # So? What about this header?
63080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63081 yes:no: )
63082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63086 ac_header_preproc=yes
63088 no:yes:* )
63089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63102 cat <<\_ASBOX
63103 ## ----------------------------------------- ##
63104 ## Report this to the package-unused lists. ##
63105 ## ----------------------------------------- ##
63106 _ASBOX
63108 sed "s/^/$as_me: WARNING: /" >&2
63110 esac
63111 echo "$as_me:$LINENO: checking for $ac_header" >&5
63112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63114 echo $ECHO_N "(cached) $ECHO_C" >&6
63115 else
63116 eval "$as_ac_Header=\$ac_header_preproc"
63118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63123 cat >>confdefs.h <<_ACEOF
63124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63125 _ACEOF
63129 done
63131 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63134 # If we're not using GNU ld, then there's no point in even trying these
63135 # tests. Check for that first. We should have already tested for gld
63136 # by now (in libtool), but require it now just to be safe...
63137 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63138 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63142 # The name set by libtool depends on the version of libtool. Shame on us
63143 # for depending on an impl detail, but c'est la vie. Older versions used
63144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63147 # set (hence we're using an older libtool), then set it.
63148 if test x${with_gnu_ld+set} != xset; then
63149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63151 with_gnu_ld=no
63152 else
63153 with_gnu_ld=$ac_cv_prog_gnu_ld
63157 # Start by getting the version number. I think the libtool test already
63158 # does some of this, but throws away the result.
63159 if test x"$with_gnu_ld" = x"yes"; then
63160 echo "$as_me:$LINENO: checking for ld version" >&5
63161 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
63163 ldver=`$LD --version 2>/dev/null | head -1 | \
63164 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
63166 glibcxx_gnu_ld_version=`echo $ldver | \
63167 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63168 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
63169 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
63172 # Set --gc-sections.
63173 glibcxx_gcsections_min_ld=21602
63174 if test x"$with_gnu_ld" = x"yes" &&
63175 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63177 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63178 # NB: This flag only works reliably after 2.16.1. Configure tests
63179 # for this are difficult, so hard wire a value that should work.
63181 ac_test_CFLAGS="${CFLAGS+set}"
63182 ac_save_CFLAGS="$CFLAGS"
63183 CFLAGS='-Wl,--gc-sections'
63185 # Check for -Wl,--gc-sections
63186 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
63187 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
63188 if test x$gcc_no_link = xyes; then
63189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63191 { (exit 1); exit 1; }; }
63193 cat >conftest.$ac_ext <<_ACEOF
63194 /* confdefs.h. */
63195 _ACEOF
63196 cat confdefs.h >>conftest.$ac_ext
63197 cat >>conftest.$ac_ext <<_ACEOF
63198 /* end confdefs.h. */
63199 int one(void) { return 1; }
63200 int two(void) { return 2; }
63203 main ()
63205 two();
63207 return 0;
63209 _ACEOF
63210 rm -f conftest.$ac_objext conftest$ac_exeext
63211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63212 (eval $ac_link) 2>conftest.er1
63213 ac_status=$?
63214 grep -v '^ *+' conftest.er1 >conftest.err
63215 rm -f conftest.er1
63216 cat conftest.err >&5
63217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63218 (exit $ac_status); } &&
63219 { ac_try='test -z "$ac_c_werror_flag"
63220 || test ! -s conftest.err'
63221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63222 (eval $ac_try) 2>&5
63223 ac_status=$?
63224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63225 (exit $ac_status); }; } &&
63226 { ac_try='test -s conftest$ac_exeext'
63227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63228 (eval $ac_try) 2>&5
63229 ac_status=$?
63230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63231 (exit $ac_status); }; }; then
63232 ac_gcsections=yes
63233 else
63234 echo "$as_me: failed program was:" >&5
63235 sed 's/^/| /' conftest.$ac_ext >&5
63237 ac_gcsections=no
63239 rm -f conftest.err conftest.$ac_objext \
63240 conftest$ac_exeext conftest.$ac_ext
63241 if test "$ac_gcsections" = "yes"; then
63242 rm -f conftest.c
63243 touch conftest.c
63244 if $CC -c conftest.c; then
63245 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63246 grep "Warning: gc-sections option ignored" > /dev/null; then
63247 ac_gcsections=no
63250 rm -f conftest.c conftest.o conftest
63252 if test "$ac_gcsections" = "yes"; then
63253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63255 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
63256 echo "${ECHO_T}$ac_gcsections" >&6
63258 if test "$ac_test_CFLAGS" = set; then
63259 CFLAGS="$ac_save_CFLAGS"
63260 else
63261 # this is the suspicious part
63262 CFLAGS=''
63266 # Set -z,relro.
63267 # Note this is only for shared objects.
63268 ac_ld_relro=no
63269 if test x"$with_gnu_ld" = x"yes"; then
63270 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
63271 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
63272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63273 if test -n "$cxx_z_relo"; then
63274 OPT_LDFLAGS="-Wl,-z,relro"
63275 ac_ld_relro=yes
63277 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
63278 echo "${ECHO_T}$ac_ld_relro" >&6
63281 # Set linker optimization flags.
63282 if test x"$with_gnu_ld" = x"yes"; then
63283 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63291 echo "$as_me:$LINENO: checking for main in -lm" >&5
63292 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63293 if test "${ac_cv_lib_m_main+set}" = set; then
63294 echo $ECHO_N "(cached) $ECHO_C" >&6
63295 else
63296 ac_check_lib_save_LIBS=$LIBS
63297 LIBS="-lm $LIBS"
63298 if test x$gcc_no_link = xyes; then
63299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63301 { (exit 1); exit 1; }; }
63303 cat >conftest.$ac_ext <<_ACEOF
63304 /* confdefs.h. */
63305 _ACEOF
63306 cat confdefs.h >>conftest.$ac_ext
63307 cat >>conftest.$ac_ext <<_ACEOF
63308 /* end confdefs.h. */
63312 main ()
63314 main ();
63316 return 0;
63318 _ACEOF
63319 rm -f conftest.$ac_objext conftest$ac_exeext
63320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63321 (eval $ac_link) 2>conftest.er1
63322 ac_status=$?
63323 grep -v '^ *+' conftest.er1 >conftest.err
63324 rm -f conftest.er1
63325 cat conftest.err >&5
63326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63327 (exit $ac_status); } &&
63328 { ac_try='test -z "$ac_c_werror_flag"
63329 || test ! -s conftest.err'
63330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63331 (eval $ac_try) 2>&5
63332 ac_status=$?
63333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63334 (exit $ac_status); }; } &&
63335 { ac_try='test -s conftest$ac_exeext'
63336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63337 (eval $ac_try) 2>&5
63338 ac_status=$?
63339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63340 (exit $ac_status); }; }; then
63341 ac_cv_lib_m_main=yes
63342 else
63343 echo "$as_me: failed program was:" >&5
63344 sed 's/^/| /' conftest.$ac_ext >&5
63346 ac_cv_lib_m_main=no
63348 rm -f conftest.err conftest.$ac_objext \
63349 conftest$ac_exeext conftest.$ac_ext
63350 LIBS=$ac_check_lib_save_LIBS
63352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63353 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63354 if test $ac_cv_lib_m_main = yes; then
63355 cat >>confdefs.h <<_ACEOF
63356 #define HAVE_LIBM 1
63357 _ACEOF
63359 LIBS="-lm $LIBS"
63364 for ac_func in copysignf
63366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63367 echo "$as_me:$LINENO: checking for $ac_func" >&5
63368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63369 if eval "test \"\${$as_ac_var+set}\" = set"; then
63370 echo $ECHO_N "(cached) $ECHO_C" >&6
63371 else
63372 if test x$gcc_no_link = xyes; then
63373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63375 { (exit 1); exit 1; }; }
63377 cat >conftest.$ac_ext <<_ACEOF
63378 /* confdefs.h. */
63379 _ACEOF
63380 cat confdefs.h >>conftest.$ac_ext
63381 cat >>conftest.$ac_ext <<_ACEOF
63382 /* end confdefs.h. */
63383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63385 #define $ac_func innocuous_$ac_func
63387 /* System header to define __stub macros and hopefully few prototypes,
63388 which can conflict with char $ac_func (); below.
63389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63390 <limits.h> exists even on freestanding compilers. */
63392 #ifdef __STDC__
63393 # include <limits.h>
63394 #else
63395 # include <assert.h>
63396 #endif
63398 #undef $ac_func
63400 /* Override any gcc2 internal prototype to avoid an error. */
63401 #ifdef __cplusplus
63402 extern "C"
63404 #endif
63405 /* We use char because int might match the return type of a gcc2
63406 builtin and then its argument prototype would still apply. */
63407 char $ac_func ();
63408 /* The GNU C library defines this for functions which it implements
63409 to always fail with ENOSYS. Some functions are actually named
63410 something starting with __ and the normal name is an alias. */
63411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63412 choke me
63413 #else
63414 char (*f) () = $ac_func;
63415 #endif
63416 #ifdef __cplusplus
63418 #endif
63421 main ()
63423 return f != $ac_func;
63425 return 0;
63427 _ACEOF
63428 rm -f conftest.$ac_objext conftest$ac_exeext
63429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63430 (eval $ac_link) 2>conftest.er1
63431 ac_status=$?
63432 grep -v '^ *+' conftest.er1 >conftest.err
63433 rm -f conftest.er1
63434 cat conftest.err >&5
63435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63436 (exit $ac_status); } &&
63437 { ac_try='test -z "$ac_c_werror_flag"
63438 || test ! -s conftest.err'
63439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63440 (eval $ac_try) 2>&5
63441 ac_status=$?
63442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63443 (exit $ac_status); }; } &&
63444 { ac_try='test -s conftest$ac_exeext'
63445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63446 (eval $ac_try) 2>&5
63447 ac_status=$?
63448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63449 (exit $ac_status); }; }; then
63450 eval "$as_ac_var=yes"
63451 else
63452 echo "$as_me: failed program was:" >&5
63453 sed 's/^/| /' conftest.$ac_ext >&5
63455 eval "$as_ac_var=no"
63457 rm -f conftest.err conftest.$ac_objext \
63458 conftest$ac_exeext conftest.$ac_ext
63460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63462 if test `eval echo '${'$as_ac_var'}'` = yes; then
63463 cat >>confdefs.h <<_ACEOF
63464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63465 _ACEOF
63467 else
63468 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63470 done
63474 for ac_func in __signbit
63476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63477 echo "$as_me:$LINENO: checking for $ac_func" >&5
63478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63479 if eval "test \"\${$as_ac_var+set}\" = set"; then
63480 echo $ECHO_N "(cached) $ECHO_C" >&6
63481 else
63482 if test x$gcc_no_link = xyes; then
63483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63485 { (exit 1); exit 1; }; }
63487 cat >conftest.$ac_ext <<_ACEOF
63488 /* confdefs.h. */
63489 _ACEOF
63490 cat confdefs.h >>conftest.$ac_ext
63491 cat >>conftest.$ac_ext <<_ACEOF
63492 /* end confdefs.h. */
63493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63495 #define $ac_func innocuous_$ac_func
63497 /* System header to define __stub macros and hopefully few prototypes,
63498 which can conflict with char $ac_func (); below.
63499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63500 <limits.h> exists even on freestanding compilers. */
63502 #ifdef __STDC__
63503 # include <limits.h>
63504 #else
63505 # include <assert.h>
63506 #endif
63508 #undef $ac_func
63510 /* Override any gcc2 internal prototype to avoid an error. */
63511 #ifdef __cplusplus
63512 extern "C"
63514 #endif
63515 /* We use char because int might match the return type of a gcc2
63516 builtin and then its argument prototype would still apply. */
63517 char $ac_func ();
63518 /* The GNU C library defines this for functions which it implements
63519 to always fail with ENOSYS. Some functions are actually named
63520 something starting with __ and the normal name is an alias. */
63521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63522 choke me
63523 #else
63524 char (*f) () = $ac_func;
63525 #endif
63526 #ifdef __cplusplus
63528 #endif
63531 main ()
63533 return f != $ac_func;
63535 return 0;
63537 _ACEOF
63538 rm -f conftest.$ac_objext conftest$ac_exeext
63539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63540 (eval $ac_link) 2>conftest.er1
63541 ac_status=$?
63542 grep -v '^ *+' conftest.er1 >conftest.err
63543 rm -f conftest.er1
63544 cat conftest.err >&5
63545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63546 (exit $ac_status); } &&
63547 { ac_try='test -z "$ac_c_werror_flag"
63548 || test ! -s conftest.err'
63549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63550 (eval $ac_try) 2>&5
63551 ac_status=$?
63552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63553 (exit $ac_status); }; } &&
63554 { ac_try='test -s conftest$ac_exeext'
63555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63556 (eval $ac_try) 2>&5
63557 ac_status=$?
63558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63559 (exit $ac_status); }; }; then
63560 eval "$as_ac_var=yes"
63561 else
63562 echo "$as_me: failed program was:" >&5
63563 sed 's/^/| /' conftest.$ac_ext >&5
63565 eval "$as_ac_var=no"
63567 rm -f conftest.err conftest.$ac_objext \
63568 conftest$ac_exeext conftest.$ac_ext
63570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63572 if test `eval echo '${'$as_ac_var'}'` = yes; then
63573 cat >>confdefs.h <<_ACEOF
63574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63575 _ACEOF
63577 else
63578 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63580 done
63584 for ac_func in __signbitf
63586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63587 echo "$as_me:$LINENO: checking for $ac_func" >&5
63588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63589 if eval "test \"\${$as_ac_var+set}\" = set"; then
63590 echo $ECHO_N "(cached) $ECHO_C" >&6
63591 else
63592 if test x$gcc_no_link = xyes; then
63593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63595 { (exit 1); exit 1; }; }
63597 cat >conftest.$ac_ext <<_ACEOF
63598 /* confdefs.h. */
63599 _ACEOF
63600 cat confdefs.h >>conftest.$ac_ext
63601 cat >>conftest.$ac_ext <<_ACEOF
63602 /* end confdefs.h. */
63603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63605 #define $ac_func innocuous_$ac_func
63607 /* System header to define __stub macros and hopefully few prototypes,
63608 which can conflict with char $ac_func (); below.
63609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63610 <limits.h> exists even on freestanding compilers. */
63612 #ifdef __STDC__
63613 # include <limits.h>
63614 #else
63615 # include <assert.h>
63616 #endif
63618 #undef $ac_func
63620 /* Override any gcc2 internal prototype to avoid an error. */
63621 #ifdef __cplusplus
63622 extern "C"
63624 #endif
63625 /* We use char because int might match the return type of a gcc2
63626 builtin and then its argument prototype would still apply. */
63627 char $ac_func ();
63628 /* The GNU C library defines this for functions which it implements
63629 to always fail with ENOSYS. Some functions are actually named
63630 something starting with __ and the normal name is an alias. */
63631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63632 choke me
63633 #else
63634 char (*f) () = $ac_func;
63635 #endif
63636 #ifdef __cplusplus
63638 #endif
63641 main ()
63643 return f != $ac_func;
63645 return 0;
63647 _ACEOF
63648 rm -f conftest.$ac_objext conftest$ac_exeext
63649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63650 (eval $ac_link) 2>conftest.er1
63651 ac_status=$?
63652 grep -v '^ *+' conftest.er1 >conftest.err
63653 rm -f conftest.er1
63654 cat conftest.err >&5
63655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63656 (exit $ac_status); } &&
63657 { ac_try='test -z "$ac_c_werror_flag"
63658 || test ! -s conftest.err'
63659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63660 (eval $ac_try) 2>&5
63661 ac_status=$?
63662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63663 (exit $ac_status); }; } &&
63664 { ac_try='test -s conftest$ac_exeext'
63665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63666 (eval $ac_try) 2>&5
63667 ac_status=$?
63668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63669 (exit $ac_status); }; }; then
63670 eval "$as_ac_var=yes"
63671 else
63672 echo "$as_me: failed program was:" >&5
63673 sed 's/^/| /' conftest.$ac_ext >&5
63675 eval "$as_ac_var=no"
63677 rm -f conftest.err conftest.$ac_objext \
63678 conftest$ac_exeext conftest.$ac_ext
63680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63682 if test `eval echo '${'$as_ac_var'}'` = yes; then
63683 cat >>confdefs.h <<_ACEOF
63684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63685 _ACEOF
63687 else
63688 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63690 done
63693 if test x$ac_cv_func_copysignl = x"yes"; then
63695 for ac_func in __signbitl
63697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63698 echo "$as_me:$LINENO: checking for $ac_func" >&5
63699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63700 if eval "test \"\${$as_ac_var+set}\" = set"; then
63701 echo $ECHO_N "(cached) $ECHO_C" >&6
63702 else
63703 if test x$gcc_no_link = xyes; then
63704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63706 { (exit 1); exit 1; }; }
63708 cat >conftest.$ac_ext <<_ACEOF
63709 /* confdefs.h. */
63710 _ACEOF
63711 cat confdefs.h >>conftest.$ac_ext
63712 cat >>conftest.$ac_ext <<_ACEOF
63713 /* end confdefs.h. */
63714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63716 #define $ac_func innocuous_$ac_func
63718 /* System header to define __stub macros and hopefully few prototypes,
63719 which can conflict with char $ac_func (); below.
63720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63721 <limits.h> exists even on freestanding compilers. */
63723 #ifdef __STDC__
63724 # include <limits.h>
63725 #else
63726 # include <assert.h>
63727 #endif
63729 #undef $ac_func
63731 /* Override any gcc2 internal prototype to avoid an error. */
63732 #ifdef __cplusplus
63733 extern "C"
63735 #endif
63736 /* We use char because int might match the return type of a gcc2
63737 builtin and then its argument prototype would still apply. */
63738 char $ac_func ();
63739 /* The GNU C library defines this for functions which it implements
63740 to always fail with ENOSYS. Some functions are actually named
63741 something starting with __ and the normal name is an alias. */
63742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63743 choke me
63744 #else
63745 char (*f) () = $ac_func;
63746 #endif
63747 #ifdef __cplusplus
63749 #endif
63752 main ()
63754 return f != $ac_func;
63756 return 0;
63758 _ACEOF
63759 rm -f conftest.$ac_objext conftest$ac_exeext
63760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63761 (eval $ac_link) 2>conftest.er1
63762 ac_status=$?
63763 grep -v '^ *+' conftest.er1 >conftest.err
63764 rm -f conftest.er1
63765 cat conftest.err >&5
63766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63767 (exit $ac_status); } &&
63768 { ac_try='test -z "$ac_c_werror_flag"
63769 || test ! -s conftest.err'
63770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63771 (eval $ac_try) 2>&5
63772 ac_status=$?
63773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63774 (exit $ac_status); }; } &&
63775 { ac_try='test -s conftest$ac_exeext'
63776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63777 (eval $ac_try) 2>&5
63778 ac_status=$?
63779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63780 (exit $ac_status); }; }; then
63781 eval "$as_ac_var=yes"
63782 else
63783 echo "$as_me: failed program was:" >&5
63784 sed 's/^/| /' conftest.$ac_ext >&5
63786 eval "$as_ac_var=no"
63788 rm -f conftest.err conftest.$ac_objext \
63789 conftest$ac_exeext conftest.$ac_ext
63791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63793 if test `eval echo '${'$as_ac_var'}'` = yes; then
63794 cat >>confdefs.h <<_ACEOF
63795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63796 _ACEOF
63798 else
63799 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63801 done
63805 # Used in libmath/Makefile.am.
63806 if test -n "$LIBMATHOBJS"; then
63807 need_libmath=yes
63811 cat >>confdefs.h <<\_ACEOF
63812 #define HAVE_LC_MESSAGES 1
63813 _ACEOF
63815 cat >>confdefs.h <<\_ACEOF
63816 #define HAVE_GETPAGESIZE 1
63817 _ACEOF
63819 cat >>confdefs.h <<\_ACEOF
63820 #define HAVE_SETENV 1
63821 _ACEOF
63823 cat >>confdefs.h <<\_ACEOF
63824 #define HAVE_SIGSETJMP 1
63825 _ACEOF
63827 cat >>confdefs.h <<\_ACEOF
63828 #define HAVE_COPYSIGN 1
63829 _ACEOF
63831 cat >>confdefs.h <<\_ACEOF
63832 #define HAVE_COPYSIGNF 1
63833 _ACEOF
63835 cat >>confdefs.h <<\_ACEOF
63836 #define HAVE_FINITEF 1
63837 _ACEOF
63839 cat >>confdefs.h <<\_ACEOF
63840 #define HAVE_FINITE 1
63841 _ACEOF
63843 cat >>confdefs.h <<\_ACEOF
63844 #define HAVE_FREXPF 1
63845 _ACEOF
63847 cat >>confdefs.h <<\_ACEOF
63848 #define HAVE_HYPOT 1
63849 _ACEOF
63851 cat >>confdefs.h <<\_ACEOF
63852 #define HAVE_HYPOTF 1
63853 _ACEOF
63855 cat >>confdefs.h <<\_ACEOF
63856 #define HAVE_ISINF 1
63857 _ACEOF
63859 cat >>confdefs.h <<\_ACEOF
63860 #define HAVE_ISNAN 1
63861 _ACEOF
63863 cat >>confdefs.h <<\_ACEOF
63864 #define HAVE_ISNANF 1
63865 _ACEOF
63868 cat >>confdefs.h <<\_ACEOF
63869 #define HAVE_MMAP 1
63870 _ACEOF
63872 cat >>confdefs.h <<\_ACEOF
63873 #define HAVE_ACOSF 1
63874 _ACEOF
63876 cat >>confdefs.h <<\_ACEOF
63877 #define HAVE_ASINF 1
63878 _ACEOF
63880 cat >>confdefs.h <<\_ACEOF
63881 #define HAVE_ATAN2F 1
63882 _ACEOF
63884 cat >>confdefs.h <<\_ACEOF
63885 #define HAVE_ATANF 1
63886 _ACEOF
63888 cat >>confdefs.h <<\_ACEOF
63889 #define HAVE_CEILF 1
63890 _ACEOF
63892 cat >>confdefs.h <<\_ACEOF
63893 #define HAVE_COPYSIGN 1
63894 _ACEOF
63896 cat >>confdefs.h <<\_ACEOF
63897 #define HAVE_COPYSIGNF 1
63898 _ACEOF
63900 cat >>confdefs.h <<\_ACEOF
63901 #define HAVE_COSF 1
63902 _ACEOF
63904 cat >>confdefs.h <<\_ACEOF
63905 #define HAVE_COSHF 1
63906 _ACEOF
63908 cat >>confdefs.h <<\_ACEOF
63909 #define HAVE_EXPF 1
63910 _ACEOF
63912 cat >>confdefs.h <<\_ACEOF
63913 #define HAVE_FABSF 1
63914 _ACEOF
63916 cat >>confdefs.h <<\_ACEOF
63917 #define HAVE_FLOORF 1
63918 _ACEOF
63920 cat >>confdefs.h <<\_ACEOF
63921 #define HAVE_FMODF 1
63922 _ACEOF
63924 cat >>confdefs.h <<\_ACEOF
63925 #define HAVE_FREXPF 1
63926 _ACEOF
63928 cat >>confdefs.h <<\_ACEOF
63929 #define HAVE_LDEXPF 1
63930 _ACEOF
63932 cat >>confdefs.h <<\_ACEOF
63933 #define HAVE_LOG10F 1
63934 _ACEOF
63936 cat >>confdefs.h <<\_ACEOF
63937 #define HAVE_LOGF 1
63938 _ACEOF
63940 cat >>confdefs.h <<\_ACEOF
63941 #define HAVE_MODFF 1
63942 _ACEOF
63944 cat >>confdefs.h <<\_ACEOF
63945 #define HAVE_POWF 1
63946 _ACEOF
63948 cat >>confdefs.h <<\_ACEOF
63949 #define HAVE_SINF 1
63950 _ACEOF
63952 cat >>confdefs.h <<\_ACEOF
63953 #define HAVE_SINHF 1
63954 _ACEOF
63956 cat >>confdefs.h <<\_ACEOF
63957 #define HAVE_SQRTF 1
63958 _ACEOF
63960 cat >>confdefs.h <<\_ACEOF
63961 #define HAVE_TANF 1
63962 _ACEOF
63964 cat >>confdefs.h <<\_ACEOF
63965 #define HAVE_TANHF 1
63966 _ACEOF
63968 if test x"long_double_math_on_this_cpu" = x"yes"; then
63969 cat >>confdefs.h <<\_ACEOF
63970 #define HAVE_FINITEL 1
63971 _ACEOF
63973 cat >>confdefs.h <<\_ACEOF
63974 #define HAVE_ISINFL 1
63975 _ACEOF
63977 cat >>confdefs.h <<\_ACEOF
63978 #define HAVE_ISNANL 1
63979 _ACEOF
63983 *-hpux*)
63996 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
63997 machine/endian.h machine/param.h sys/machine.h sys/types.h \
63998 fp.h locale.h float.h inttypes.h
64000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64002 echo "$as_me:$LINENO: checking for $ac_header" >&5
64003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64005 echo $ECHO_N "(cached) $ECHO_C" >&6
64007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64009 else
64010 # Is the header compilable?
64011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64013 cat >conftest.$ac_ext <<_ACEOF
64014 /* confdefs.h. */
64015 _ACEOF
64016 cat confdefs.h >>conftest.$ac_ext
64017 cat >>conftest.$ac_ext <<_ACEOF
64018 /* end confdefs.h. */
64019 $ac_includes_default
64020 #include <$ac_header>
64021 _ACEOF
64022 rm -f conftest.$ac_objext
64023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64024 (eval $ac_compile) 2>conftest.er1
64025 ac_status=$?
64026 grep -v '^ *+' conftest.er1 >conftest.err
64027 rm -f conftest.er1
64028 cat conftest.err >&5
64029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64030 (exit $ac_status); } &&
64031 { ac_try='test -z "$ac_c_werror_flag"
64032 || test ! -s conftest.err'
64033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64034 (eval $ac_try) 2>&5
64035 ac_status=$?
64036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64037 (exit $ac_status); }; } &&
64038 { ac_try='test -s conftest.$ac_objext'
64039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64040 (eval $ac_try) 2>&5
64041 ac_status=$?
64042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64043 (exit $ac_status); }; }; then
64044 ac_header_compiler=yes
64045 else
64046 echo "$as_me: failed program was:" >&5
64047 sed 's/^/| /' conftest.$ac_ext >&5
64049 ac_header_compiler=no
64051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64053 echo "${ECHO_T}$ac_header_compiler" >&6
64055 # Is the header present?
64056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64058 cat >conftest.$ac_ext <<_ACEOF
64059 /* confdefs.h. */
64060 _ACEOF
64061 cat confdefs.h >>conftest.$ac_ext
64062 cat >>conftest.$ac_ext <<_ACEOF
64063 /* end confdefs.h. */
64064 #include <$ac_header>
64065 _ACEOF
64066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64068 ac_status=$?
64069 grep -v '^ *+' conftest.er1 >conftest.err
64070 rm -f conftest.er1
64071 cat conftest.err >&5
64072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64073 (exit $ac_status); } >/dev/null; then
64074 if test -s conftest.err; then
64075 ac_cpp_err=$ac_c_preproc_warn_flag
64076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64077 else
64078 ac_cpp_err=
64080 else
64081 ac_cpp_err=yes
64083 if test -z "$ac_cpp_err"; then
64084 ac_header_preproc=yes
64085 else
64086 echo "$as_me: failed program was:" >&5
64087 sed 's/^/| /' conftest.$ac_ext >&5
64089 ac_header_preproc=no
64091 rm -f conftest.err conftest.$ac_ext
64092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64093 echo "${ECHO_T}$ac_header_preproc" >&6
64095 # So? What about this header?
64096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64097 yes:no: )
64098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64102 ac_header_preproc=yes
64104 no:yes:* )
64105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64118 cat <<\_ASBOX
64119 ## ----------------------------------------- ##
64120 ## Report this to the package-unused lists. ##
64121 ## ----------------------------------------- ##
64122 _ASBOX
64124 sed "s/^/$as_me: WARNING: /" >&2
64126 esac
64127 echo "$as_me:$LINENO: checking for $ac_header" >&5
64128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64130 echo $ECHO_N "(cached) $ECHO_C" >&6
64131 else
64132 eval "$as_ac_Header=\$ac_header_preproc"
64134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64139 cat >>confdefs.h <<_ACEOF
64140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64141 _ACEOF
64145 done
64147 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64150 # If we're not using GNU ld, then there's no point in even trying these
64151 # tests. Check for that first. We should have already tested for gld
64152 # by now (in libtool), but require it now just to be safe...
64153 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64154 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64158 # The name set by libtool depends on the version of libtool. Shame on us
64159 # for depending on an impl detail, but c'est la vie. Older versions used
64160 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64161 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64162 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64163 # set (hence we're using an older libtool), then set it.
64164 if test x${with_gnu_ld+set} != xset; then
64165 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64166 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64167 with_gnu_ld=no
64168 else
64169 with_gnu_ld=$ac_cv_prog_gnu_ld
64173 # Start by getting the version number. I think the libtool test already
64174 # does some of this, but throws away the result.
64175 if test x"$with_gnu_ld" = x"yes"; then
64176 echo "$as_me:$LINENO: checking for ld version" >&5
64177 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
64179 ldver=`$LD --version 2>/dev/null | head -1 | \
64180 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
64182 glibcxx_gnu_ld_version=`echo $ldver | \
64183 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64184 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
64185 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
64188 # Set --gc-sections.
64189 glibcxx_gcsections_min_ld=21602
64190 if test x"$with_gnu_ld" = x"yes" &&
64191 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64193 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64194 # NB: This flag only works reliably after 2.16.1. Configure tests
64195 # for this are difficult, so hard wire a value that should work.
64197 ac_test_CFLAGS="${CFLAGS+set}"
64198 ac_save_CFLAGS="$CFLAGS"
64199 CFLAGS='-Wl,--gc-sections'
64201 # Check for -Wl,--gc-sections
64202 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
64203 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
64204 if test x$gcc_no_link = xyes; then
64205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64207 { (exit 1); exit 1; }; }
64209 cat >conftest.$ac_ext <<_ACEOF
64210 /* confdefs.h. */
64211 _ACEOF
64212 cat confdefs.h >>conftest.$ac_ext
64213 cat >>conftest.$ac_ext <<_ACEOF
64214 /* end confdefs.h. */
64215 int one(void) { return 1; }
64216 int two(void) { return 2; }
64219 main ()
64221 two();
64223 return 0;
64225 _ACEOF
64226 rm -f conftest.$ac_objext conftest$ac_exeext
64227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64228 (eval $ac_link) 2>conftest.er1
64229 ac_status=$?
64230 grep -v '^ *+' conftest.er1 >conftest.err
64231 rm -f conftest.er1
64232 cat conftest.err >&5
64233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64234 (exit $ac_status); } &&
64235 { ac_try='test -z "$ac_c_werror_flag"
64236 || test ! -s conftest.err'
64237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64238 (eval $ac_try) 2>&5
64239 ac_status=$?
64240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64241 (exit $ac_status); }; } &&
64242 { ac_try='test -s conftest$ac_exeext'
64243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64244 (eval $ac_try) 2>&5
64245 ac_status=$?
64246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64247 (exit $ac_status); }; }; then
64248 ac_gcsections=yes
64249 else
64250 echo "$as_me: failed program was:" >&5
64251 sed 's/^/| /' conftest.$ac_ext >&5
64253 ac_gcsections=no
64255 rm -f conftest.err conftest.$ac_objext \
64256 conftest$ac_exeext conftest.$ac_ext
64257 if test "$ac_gcsections" = "yes"; then
64258 rm -f conftest.c
64259 touch conftest.c
64260 if $CC -c conftest.c; then
64261 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64262 grep "Warning: gc-sections option ignored" > /dev/null; then
64263 ac_gcsections=no
64266 rm -f conftest.c conftest.o conftest
64268 if test "$ac_gcsections" = "yes"; then
64269 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64271 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
64272 echo "${ECHO_T}$ac_gcsections" >&6
64274 if test "$ac_test_CFLAGS" = set; then
64275 CFLAGS="$ac_save_CFLAGS"
64276 else
64277 # this is the suspicious part
64278 CFLAGS=''
64282 # Set -z,relro.
64283 # Note this is only for shared objects.
64284 ac_ld_relro=no
64285 if test x"$with_gnu_ld" = x"yes"; then
64286 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
64287 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
64288 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64289 if test -n "$cxx_z_relo"; then
64290 OPT_LDFLAGS="-Wl,-z,relro"
64291 ac_ld_relro=yes
64293 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
64294 echo "${ECHO_T}$ac_ld_relro" >&6
64297 # Set linker optimization flags.
64298 if test x"$with_gnu_ld" = x"yes"; then
64299 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64307 echo "$as_me:$LINENO: checking for main in -lm" >&5
64308 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
64309 if test "${ac_cv_lib_m_main+set}" = set; then
64310 echo $ECHO_N "(cached) $ECHO_C" >&6
64311 else
64312 ac_check_lib_save_LIBS=$LIBS
64313 LIBS="-lm $LIBS"
64314 if test x$gcc_no_link = xyes; then
64315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64317 { (exit 1); exit 1; }; }
64319 cat >conftest.$ac_ext <<_ACEOF
64320 /* confdefs.h. */
64321 _ACEOF
64322 cat confdefs.h >>conftest.$ac_ext
64323 cat >>conftest.$ac_ext <<_ACEOF
64324 /* end confdefs.h. */
64328 main ()
64330 main ();
64332 return 0;
64334 _ACEOF
64335 rm -f conftest.$ac_objext conftest$ac_exeext
64336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64337 (eval $ac_link) 2>conftest.er1
64338 ac_status=$?
64339 grep -v '^ *+' conftest.er1 >conftest.err
64340 rm -f conftest.er1
64341 cat conftest.err >&5
64342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64343 (exit $ac_status); } &&
64344 { ac_try='test -z "$ac_c_werror_flag"
64345 || test ! -s conftest.err'
64346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64347 (eval $ac_try) 2>&5
64348 ac_status=$?
64349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350 (exit $ac_status); }; } &&
64351 { ac_try='test -s conftest$ac_exeext'
64352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64353 (eval $ac_try) 2>&5
64354 ac_status=$?
64355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64356 (exit $ac_status); }; }; then
64357 ac_cv_lib_m_main=yes
64358 else
64359 echo "$as_me: failed program was:" >&5
64360 sed 's/^/| /' conftest.$ac_ext >&5
64362 ac_cv_lib_m_main=no
64364 rm -f conftest.err conftest.$ac_objext \
64365 conftest$ac_exeext conftest.$ac_ext
64366 LIBS=$ac_check_lib_save_LIBS
64368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
64369 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
64370 if test $ac_cv_lib_m_main = yes; then
64371 cat >>confdefs.h <<_ACEOF
64372 #define HAVE_LIBM 1
64373 _ACEOF
64375 LIBS="-lm $LIBS"
64380 for ac_func in copysignf
64382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64383 echo "$as_me:$LINENO: checking for $ac_func" >&5
64384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64385 if eval "test \"\${$as_ac_var+set}\" = set"; then
64386 echo $ECHO_N "(cached) $ECHO_C" >&6
64387 else
64388 if test x$gcc_no_link = xyes; then
64389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64391 { (exit 1); exit 1; }; }
64393 cat >conftest.$ac_ext <<_ACEOF
64394 /* confdefs.h. */
64395 _ACEOF
64396 cat confdefs.h >>conftest.$ac_ext
64397 cat >>conftest.$ac_ext <<_ACEOF
64398 /* end confdefs.h. */
64399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64401 #define $ac_func innocuous_$ac_func
64403 /* System header to define __stub macros and hopefully few prototypes,
64404 which can conflict with char $ac_func (); below.
64405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64406 <limits.h> exists even on freestanding compilers. */
64408 #ifdef __STDC__
64409 # include <limits.h>
64410 #else
64411 # include <assert.h>
64412 #endif
64414 #undef $ac_func
64416 /* Override any gcc2 internal prototype to avoid an error. */
64417 #ifdef __cplusplus
64418 extern "C"
64420 #endif
64421 /* We use char because int might match the return type of a gcc2
64422 builtin and then its argument prototype would still apply. */
64423 char $ac_func ();
64424 /* The GNU C library defines this for functions which it implements
64425 to always fail with ENOSYS. Some functions are actually named
64426 something starting with __ and the normal name is an alias. */
64427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64428 choke me
64429 #else
64430 char (*f) () = $ac_func;
64431 #endif
64432 #ifdef __cplusplus
64434 #endif
64437 main ()
64439 return f != $ac_func;
64441 return 0;
64443 _ACEOF
64444 rm -f conftest.$ac_objext conftest$ac_exeext
64445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64446 (eval $ac_link) 2>conftest.er1
64447 ac_status=$?
64448 grep -v '^ *+' conftest.er1 >conftest.err
64449 rm -f conftest.er1
64450 cat conftest.err >&5
64451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64452 (exit $ac_status); } &&
64453 { ac_try='test -z "$ac_c_werror_flag"
64454 || test ! -s conftest.err'
64455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64456 (eval $ac_try) 2>&5
64457 ac_status=$?
64458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64459 (exit $ac_status); }; } &&
64460 { ac_try='test -s conftest$ac_exeext'
64461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64462 (eval $ac_try) 2>&5
64463 ac_status=$?
64464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64465 (exit $ac_status); }; }; then
64466 eval "$as_ac_var=yes"
64467 else
64468 echo "$as_me: failed program was:" >&5
64469 sed 's/^/| /' conftest.$ac_ext >&5
64471 eval "$as_ac_var=no"
64473 rm -f conftest.err conftest.$ac_objext \
64474 conftest$ac_exeext conftest.$ac_ext
64476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64478 if test `eval echo '${'$as_ac_var'}'` = yes; then
64479 cat >>confdefs.h <<_ACEOF
64480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64481 _ACEOF
64483 else
64484 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
64486 done
64490 for ac_func in __signbit
64492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64493 echo "$as_me:$LINENO: checking for $ac_func" >&5
64494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64495 if eval "test \"\${$as_ac_var+set}\" = set"; then
64496 echo $ECHO_N "(cached) $ECHO_C" >&6
64497 else
64498 if test x$gcc_no_link = xyes; then
64499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64501 { (exit 1); exit 1; }; }
64503 cat >conftest.$ac_ext <<_ACEOF
64504 /* confdefs.h. */
64505 _ACEOF
64506 cat confdefs.h >>conftest.$ac_ext
64507 cat >>conftest.$ac_ext <<_ACEOF
64508 /* end confdefs.h. */
64509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64511 #define $ac_func innocuous_$ac_func
64513 /* System header to define __stub macros and hopefully few prototypes,
64514 which can conflict with char $ac_func (); below.
64515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64516 <limits.h> exists even on freestanding compilers. */
64518 #ifdef __STDC__
64519 # include <limits.h>
64520 #else
64521 # include <assert.h>
64522 #endif
64524 #undef $ac_func
64526 /* Override any gcc2 internal prototype to avoid an error. */
64527 #ifdef __cplusplus
64528 extern "C"
64530 #endif
64531 /* We use char because int might match the return type of a gcc2
64532 builtin and then its argument prototype would still apply. */
64533 char $ac_func ();
64534 /* The GNU C library defines this for functions which it implements
64535 to always fail with ENOSYS. Some functions are actually named
64536 something starting with __ and the normal name is an alias. */
64537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64538 choke me
64539 #else
64540 char (*f) () = $ac_func;
64541 #endif
64542 #ifdef __cplusplus
64544 #endif
64547 main ()
64549 return f != $ac_func;
64551 return 0;
64553 _ACEOF
64554 rm -f conftest.$ac_objext conftest$ac_exeext
64555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64556 (eval $ac_link) 2>conftest.er1
64557 ac_status=$?
64558 grep -v '^ *+' conftest.er1 >conftest.err
64559 rm -f conftest.er1
64560 cat conftest.err >&5
64561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64562 (exit $ac_status); } &&
64563 { ac_try='test -z "$ac_c_werror_flag"
64564 || test ! -s conftest.err'
64565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64566 (eval $ac_try) 2>&5
64567 ac_status=$?
64568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64569 (exit $ac_status); }; } &&
64570 { ac_try='test -s conftest$ac_exeext'
64571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64572 (eval $ac_try) 2>&5
64573 ac_status=$?
64574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64575 (exit $ac_status); }; }; then
64576 eval "$as_ac_var=yes"
64577 else
64578 echo "$as_me: failed program was:" >&5
64579 sed 's/^/| /' conftest.$ac_ext >&5
64581 eval "$as_ac_var=no"
64583 rm -f conftest.err conftest.$ac_objext \
64584 conftest$ac_exeext conftest.$ac_ext
64586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64588 if test `eval echo '${'$as_ac_var'}'` = yes; then
64589 cat >>confdefs.h <<_ACEOF
64590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64591 _ACEOF
64593 else
64594 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64596 done
64600 for ac_func in __signbitf
64602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64603 echo "$as_me:$LINENO: checking for $ac_func" >&5
64604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64605 if eval "test \"\${$as_ac_var+set}\" = set"; then
64606 echo $ECHO_N "(cached) $ECHO_C" >&6
64607 else
64608 if test x$gcc_no_link = xyes; then
64609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64611 { (exit 1); exit 1; }; }
64613 cat >conftest.$ac_ext <<_ACEOF
64614 /* confdefs.h. */
64615 _ACEOF
64616 cat confdefs.h >>conftest.$ac_ext
64617 cat >>conftest.$ac_ext <<_ACEOF
64618 /* end confdefs.h. */
64619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64621 #define $ac_func innocuous_$ac_func
64623 /* System header to define __stub macros and hopefully few prototypes,
64624 which can conflict with char $ac_func (); below.
64625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64626 <limits.h> exists even on freestanding compilers. */
64628 #ifdef __STDC__
64629 # include <limits.h>
64630 #else
64631 # include <assert.h>
64632 #endif
64634 #undef $ac_func
64636 /* Override any gcc2 internal prototype to avoid an error. */
64637 #ifdef __cplusplus
64638 extern "C"
64640 #endif
64641 /* We use char because int might match the return type of a gcc2
64642 builtin and then its argument prototype would still apply. */
64643 char $ac_func ();
64644 /* The GNU C library defines this for functions which it implements
64645 to always fail with ENOSYS. Some functions are actually named
64646 something starting with __ and the normal name is an alias. */
64647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64648 choke me
64649 #else
64650 char (*f) () = $ac_func;
64651 #endif
64652 #ifdef __cplusplus
64654 #endif
64657 main ()
64659 return f != $ac_func;
64661 return 0;
64663 _ACEOF
64664 rm -f conftest.$ac_objext conftest$ac_exeext
64665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64666 (eval $ac_link) 2>conftest.er1
64667 ac_status=$?
64668 grep -v '^ *+' conftest.er1 >conftest.err
64669 rm -f conftest.er1
64670 cat conftest.err >&5
64671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64672 (exit $ac_status); } &&
64673 { ac_try='test -z "$ac_c_werror_flag"
64674 || test ! -s conftest.err'
64675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64676 (eval $ac_try) 2>&5
64677 ac_status=$?
64678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64679 (exit $ac_status); }; } &&
64680 { ac_try='test -s conftest$ac_exeext'
64681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64682 (eval $ac_try) 2>&5
64683 ac_status=$?
64684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64685 (exit $ac_status); }; }; then
64686 eval "$as_ac_var=yes"
64687 else
64688 echo "$as_me: failed program was:" >&5
64689 sed 's/^/| /' conftest.$ac_ext >&5
64691 eval "$as_ac_var=no"
64693 rm -f conftest.err conftest.$ac_objext \
64694 conftest$ac_exeext conftest.$ac_ext
64696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64698 if test `eval echo '${'$as_ac_var'}'` = yes; then
64699 cat >>confdefs.h <<_ACEOF
64700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64701 _ACEOF
64703 else
64704 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64706 done
64709 if test x$ac_cv_func_copysignl = x"yes"; then
64711 for ac_func in __signbitl
64713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64714 echo "$as_me:$LINENO: checking for $ac_func" >&5
64715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64716 if eval "test \"\${$as_ac_var+set}\" = set"; then
64717 echo $ECHO_N "(cached) $ECHO_C" >&6
64718 else
64719 if test x$gcc_no_link = xyes; then
64720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64722 { (exit 1); exit 1; }; }
64724 cat >conftest.$ac_ext <<_ACEOF
64725 /* confdefs.h. */
64726 _ACEOF
64727 cat confdefs.h >>conftest.$ac_ext
64728 cat >>conftest.$ac_ext <<_ACEOF
64729 /* end confdefs.h. */
64730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64732 #define $ac_func innocuous_$ac_func
64734 /* System header to define __stub macros and hopefully few prototypes,
64735 which can conflict with char $ac_func (); below.
64736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64737 <limits.h> exists even on freestanding compilers. */
64739 #ifdef __STDC__
64740 # include <limits.h>
64741 #else
64742 # include <assert.h>
64743 #endif
64745 #undef $ac_func
64747 /* Override any gcc2 internal prototype to avoid an error. */
64748 #ifdef __cplusplus
64749 extern "C"
64751 #endif
64752 /* We use char because int might match the return type of a gcc2
64753 builtin and then its argument prototype would still apply. */
64754 char $ac_func ();
64755 /* The GNU C library defines this for functions which it implements
64756 to always fail with ENOSYS. Some functions are actually named
64757 something starting with __ and the normal name is an alias. */
64758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64759 choke me
64760 #else
64761 char (*f) () = $ac_func;
64762 #endif
64763 #ifdef __cplusplus
64765 #endif
64768 main ()
64770 return f != $ac_func;
64772 return 0;
64774 _ACEOF
64775 rm -f conftest.$ac_objext conftest$ac_exeext
64776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64777 (eval $ac_link) 2>conftest.er1
64778 ac_status=$?
64779 grep -v '^ *+' conftest.er1 >conftest.err
64780 rm -f conftest.er1
64781 cat conftest.err >&5
64782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64783 (exit $ac_status); } &&
64784 { ac_try='test -z "$ac_c_werror_flag"
64785 || test ! -s conftest.err'
64786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64787 (eval $ac_try) 2>&5
64788 ac_status=$?
64789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64790 (exit $ac_status); }; } &&
64791 { ac_try='test -s conftest$ac_exeext'
64792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64793 (eval $ac_try) 2>&5
64794 ac_status=$?
64795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64796 (exit $ac_status); }; }; then
64797 eval "$as_ac_var=yes"
64798 else
64799 echo "$as_me: failed program was:" >&5
64800 sed 's/^/| /' conftest.$ac_ext >&5
64802 eval "$as_ac_var=no"
64804 rm -f conftest.err conftest.$ac_objext \
64805 conftest$ac_exeext conftest.$ac_ext
64807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64809 if test `eval echo '${'$as_ac_var'}'` = yes; then
64810 cat >>confdefs.h <<_ACEOF
64811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64812 _ACEOF
64814 else
64815 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64817 done
64821 # Used in libmath/Makefile.am.
64822 if test -n "$LIBMATHOBJS"; then
64823 need_libmath=yes
64827 cat >>confdefs.h <<\_ACEOF
64828 #define HAVE_COPYSIGN 1
64829 _ACEOF
64831 cat >>confdefs.h <<\_ACEOF
64832 #define HAVE_COPYSIGNF 1
64833 _ACEOF
64835 cat >>confdefs.h <<\_ACEOF
64836 #define HAVE_FREXPF 1
64837 _ACEOF
64839 cat >>confdefs.h <<\_ACEOF
64840 #define HAVE_HYPOT 1
64841 _ACEOF
64843 case "$target" in
64844 *-hpux10*)
64845 cat >>confdefs.h <<\_ACEOF
64846 #define HAVE_FINITE 1
64847 _ACEOF
64849 cat >>confdefs.h <<\_ACEOF
64850 #define HAVE_FINITEF 1
64851 _ACEOF
64853 cat >>confdefs.h <<\_ACEOF
64854 #define HAVE_ISINF 1
64855 _ACEOF
64857 cat >>confdefs.h <<\_ACEOF
64858 #define HAVE_ISINFF 1
64859 _ACEOF
64861 cat >>confdefs.h <<\_ACEOF
64862 #define HAVE_ISNAN 1
64863 _ACEOF
64865 cat >>confdefs.h <<\_ACEOF
64866 #define HAVE_ISNANF 1
64867 _ACEOF
64870 esac
64872 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
64888 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
64889 machine/endian.h machine/param.h sys/machine.h sys/types.h \
64890 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
64892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64894 echo "$as_me:$LINENO: checking for $ac_header" >&5
64895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64897 echo $ECHO_N "(cached) $ECHO_C" >&6
64899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64901 else
64902 # Is the header compilable?
64903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64905 cat >conftest.$ac_ext <<_ACEOF
64906 /* confdefs.h. */
64907 _ACEOF
64908 cat confdefs.h >>conftest.$ac_ext
64909 cat >>conftest.$ac_ext <<_ACEOF
64910 /* end confdefs.h. */
64911 $ac_includes_default
64912 #include <$ac_header>
64913 _ACEOF
64914 rm -f conftest.$ac_objext
64915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64916 (eval $ac_compile) 2>conftest.er1
64917 ac_status=$?
64918 grep -v '^ *+' conftest.er1 >conftest.err
64919 rm -f conftest.er1
64920 cat conftest.err >&5
64921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64922 (exit $ac_status); } &&
64923 { ac_try='test -z "$ac_c_werror_flag"
64924 || test ! -s conftest.err'
64925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64926 (eval $ac_try) 2>&5
64927 ac_status=$?
64928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64929 (exit $ac_status); }; } &&
64930 { ac_try='test -s conftest.$ac_objext'
64931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64932 (eval $ac_try) 2>&5
64933 ac_status=$?
64934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935 (exit $ac_status); }; }; then
64936 ac_header_compiler=yes
64937 else
64938 echo "$as_me: failed program was:" >&5
64939 sed 's/^/| /' conftest.$ac_ext >&5
64941 ac_header_compiler=no
64943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64945 echo "${ECHO_T}$ac_header_compiler" >&6
64947 # Is the header present?
64948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64950 cat >conftest.$ac_ext <<_ACEOF
64951 /* confdefs.h. */
64952 _ACEOF
64953 cat confdefs.h >>conftest.$ac_ext
64954 cat >>conftest.$ac_ext <<_ACEOF
64955 /* end confdefs.h. */
64956 #include <$ac_header>
64957 _ACEOF
64958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64959 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64960 ac_status=$?
64961 grep -v '^ *+' conftest.er1 >conftest.err
64962 rm -f conftest.er1
64963 cat conftest.err >&5
64964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64965 (exit $ac_status); } >/dev/null; then
64966 if test -s conftest.err; then
64967 ac_cpp_err=$ac_c_preproc_warn_flag
64968 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64969 else
64970 ac_cpp_err=
64972 else
64973 ac_cpp_err=yes
64975 if test -z "$ac_cpp_err"; then
64976 ac_header_preproc=yes
64977 else
64978 echo "$as_me: failed program was:" >&5
64979 sed 's/^/| /' conftest.$ac_ext >&5
64981 ac_header_preproc=no
64983 rm -f conftest.err conftest.$ac_ext
64984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64985 echo "${ECHO_T}$ac_header_preproc" >&6
64987 # So? What about this header?
64988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64989 yes:no: )
64990 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64993 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64994 ac_header_preproc=yes
64996 no:yes:* )
64997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65001 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65002 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65003 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65004 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65006 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65007 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65008 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65010 cat <<\_ASBOX
65011 ## ----------------------------------------- ##
65012 ## Report this to the package-unused lists. ##
65013 ## ----------------------------------------- ##
65014 _ASBOX
65016 sed "s/^/$as_me: WARNING: /" >&2
65018 esac
65019 echo "$as_me:$LINENO: checking for $ac_header" >&5
65020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65022 echo $ECHO_N "(cached) $ECHO_C" >&6
65023 else
65024 eval "$as_ac_Header=\$ac_header_preproc"
65026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65027 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65031 cat >>confdefs.h <<_ACEOF
65032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65033 _ACEOF
65037 done
65039 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65042 # All these tests are for C++; save the language and the compiler flags.
65043 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65044 # found in GLIBCXX_CONFIGURE.
65047 ac_ext=cc
65048 ac_cpp='$CXXCPP $CPPFLAGS'
65049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65053 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65054 ac_save_CXXFLAGS="$CXXFLAGS"
65056 # Check for maintainer-mode bits.
65057 if test x"$USE_MAINTAINER_MODE" = xno; then
65058 WERROR=''
65059 else
65060 WERROR='-Werror'
65063 # Check for -ffunction-sections -fdata-sections
65064 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65065 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
65066 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65067 cat >conftest.$ac_ext <<_ACEOF
65068 /* confdefs.h. */
65069 _ACEOF
65070 cat confdefs.h >>conftest.$ac_ext
65071 cat >>conftest.$ac_ext <<_ACEOF
65072 /* end confdefs.h. */
65073 int foo; void bar() { };
65075 main ()
65079 return 0;
65081 _ACEOF
65082 rm -f conftest.$ac_objext
65083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65084 (eval $ac_compile) 2>conftest.er1
65085 ac_status=$?
65086 grep -v '^ *+' conftest.er1 >conftest.err
65087 rm -f conftest.er1
65088 cat conftest.err >&5
65089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65090 (exit $ac_status); } &&
65091 { ac_try='test -z "$ac_cxx_werror_flag"
65092 || test ! -s conftest.err'
65093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65094 (eval $ac_try) 2>&5
65095 ac_status=$?
65096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65097 (exit $ac_status); }; } &&
65098 { ac_try='test -s conftest.$ac_objext'
65099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65100 (eval $ac_try) 2>&5
65101 ac_status=$?
65102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65103 (exit $ac_status); }; }; then
65104 ac_fdsections=yes
65105 else
65106 echo "$as_me: failed program was:" >&5
65107 sed 's/^/| /' conftest.$ac_ext >&5
65109 ac_fdsections=no
65111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65112 if test "$ac_test_CXXFLAGS" = set; then
65113 CXXFLAGS="$ac_save_CXXFLAGS"
65114 else
65115 # this is the suspicious part
65116 CXXFLAGS=''
65118 if test x"$ac_fdsections" = x"yes"; then
65119 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65121 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
65122 echo "${ECHO_T}$ac_fdsections" >&6
65124 ac_ext=c
65125 ac_cpp='$CPP $CPPFLAGS'
65126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65134 # If we're not using GNU ld, then there's no point in even trying these
65135 # tests. Check for that first. We should have already tested for gld
65136 # by now (in libtool), but require it now just to be safe...
65137 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65138 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65142 # The name set by libtool depends on the version of libtool. Shame on us
65143 # for depending on an impl detail, but c'est la vie. Older versions used
65144 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65145 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65146 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65147 # set (hence we're using an older libtool), then set it.
65148 if test x${with_gnu_ld+set} != xset; then
65149 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65150 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65151 with_gnu_ld=no
65152 else
65153 with_gnu_ld=$ac_cv_prog_gnu_ld
65157 # Start by getting the version number. I think the libtool test already
65158 # does some of this, but throws away the result.
65159 if test x"$with_gnu_ld" = x"yes"; then
65160 echo "$as_me:$LINENO: checking for ld version" >&5
65161 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
65163 ldver=`$LD --version 2>/dev/null | head -1 | \
65164 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
65166 glibcxx_gnu_ld_version=`echo $ldver | \
65167 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65168 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
65169 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
65172 # Set --gc-sections.
65173 glibcxx_gcsections_min_ld=21602
65174 if test x"$with_gnu_ld" = x"yes" &&
65175 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65177 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65178 # NB: This flag only works reliably after 2.16.1. Configure tests
65179 # for this are difficult, so hard wire a value that should work.
65181 ac_test_CFLAGS="${CFLAGS+set}"
65182 ac_save_CFLAGS="$CFLAGS"
65183 CFLAGS='-Wl,--gc-sections'
65185 # Check for -Wl,--gc-sections
65186 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
65187 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
65188 if test x$gcc_no_link = xyes; then
65189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65191 { (exit 1); exit 1; }; }
65193 cat >conftest.$ac_ext <<_ACEOF
65194 /* confdefs.h. */
65195 _ACEOF
65196 cat confdefs.h >>conftest.$ac_ext
65197 cat >>conftest.$ac_ext <<_ACEOF
65198 /* end confdefs.h. */
65199 int one(void) { return 1; }
65200 int two(void) { return 2; }
65203 main ()
65205 two();
65207 return 0;
65209 _ACEOF
65210 rm -f conftest.$ac_objext conftest$ac_exeext
65211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65212 (eval $ac_link) 2>conftest.er1
65213 ac_status=$?
65214 grep -v '^ *+' conftest.er1 >conftest.err
65215 rm -f conftest.er1
65216 cat conftest.err >&5
65217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65218 (exit $ac_status); } &&
65219 { ac_try='test -z "$ac_c_werror_flag"
65220 || test ! -s conftest.err'
65221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65222 (eval $ac_try) 2>&5
65223 ac_status=$?
65224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65225 (exit $ac_status); }; } &&
65226 { ac_try='test -s conftest$ac_exeext'
65227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65228 (eval $ac_try) 2>&5
65229 ac_status=$?
65230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65231 (exit $ac_status); }; }; then
65232 ac_gcsections=yes
65233 else
65234 echo "$as_me: failed program was:" >&5
65235 sed 's/^/| /' conftest.$ac_ext >&5
65237 ac_gcsections=no
65239 rm -f conftest.err conftest.$ac_objext \
65240 conftest$ac_exeext conftest.$ac_ext
65241 if test "$ac_gcsections" = "yes"; then
65242 rm -f conftest.c
65243 touch conftest.c
65244 if $CC -c conftest.c; then
65245 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65246 grep "Warning: gc-sections option ignored" > /dev/null; then
65247 ac_gcsections=no
65250 rm -f conftest.c conftest.o conftest
65252 if test "$ac_gcsections" = "yes"; then
65253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65255 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
65256 echo "${ECHO_T}$ac_gcsections" >&6
65258 if test "$ac_test_CFLAGS" = set; then
65259 CFLAGS="$ac_save_CFLAGS"
65260 else
65261 # this is the suspicious part
65262 CFLAGS=''
65266 # Set -z,relro.
65267 # Note this is only for shared objects.
65268 ac_ld_relro=no
65269 if test x"$with_gnu_ld" = x"yes"; then
65270 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
65271 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
65272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65273 if test -n "$cxx_z_relo"; then
65274 OPT_LDFLAGS="-Wl,-z,relro"
65275 ac_ld_relro=yes
65277 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
65278 echo "${ECHO_T}$ac_ld_relro" >&6
65281 # Set linker optimization flags.
65282 if test x"$with_gnu_ld" = x"yes"; then
65283 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65291 ac_save_CXXFLAGS="$CXXFLAGS"
65292 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65294 echo "$as_me:$LINENO: checking for sin in -lm" >&5
65295 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65296 if test "${ac_cv_lib_m_sin+set}" = set; then
65297 echo $ECHO_N "(cached) $ECHO_C" >&6
65298 else
65299 ac_check_lib_save_LIBS=$LIBS
65300 LIBS="-lm $LIBS"
65301 if test x$gcc_no_link = xyes; then
65302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65304 { (exit 1); exit 1; }; }
65306 cat >conftest.$ac_ext <<_ACEOF
65307 /* confdefs.h. */
65308 _ACEOF
65309 cat confdefs.h >>conftest.$ac_ext
65310 cat >>conftest.$ac_ext <<_ACEOF
65311 /* end confdefs.h. */
65313 /* Override any gcc2 internal prototype to avoid an error. */
65314 #ifdef __cplusplus
65315 extern "C"
65316 #endif
65317 /* We use char because int might match the return type of a gcc2
65318 builtin and then its argument prototype would still apply. */
65319 char sin ();
65321 main ()
65323 sin ();
65325 return 0;
65327 _ACEOF
65328 rm -f conftest.$ac_objext conftest$ac_exeext
65329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65330 (eval $ac_link) 2>conftest.er1
65331 ac_status=$?
65332 grep -v '^ *+' conftest.er1 >conftest.err
65333 rm -f conftest.er1
65334 cat conftest.err >&5
65335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336 (exit $ac_status); } &&
65337 { ac_try='test -z "$ac_c_werror_flag"
65338 || test ! -s conftest.err'
65339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65340 (eval $ac_try) 2>&5
65341 ac_status=$?
65342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65343 (exit $ac_status); }; } &&
65344 { ac_try='test -s conftest$ac_exeext'
65345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65346 (eval $ac_try) 2>&5
65347 ac_status=$?
65348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65349 (exit $ac_status); }; }; then
65350 ac_cv_lib_m_sin=yes
65351 else
65352 echo "$as_me: failed program was:" >&5
65353 sed 's/^/| /' conftest.$ac_ext >&5
65355 ac_cv_lib_m_sin=no
65357 rm -f conftest.err conftest.$ac_objext \
65358 conftest$ac_exeext conftest.$ac_ext
65359 LIBS=$ac_check_lib_save_LIBS
65361 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
65362 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
65363 if test $ac_cv_lib_m_sin = yes; then
65364 libm="-lm"
65367 ac_save_LIBS="$LIBS"
65368 LIBS="$LIBS $libm"
65372 echo "$as_me:$LINENO: checking for isinf declaration" >&5
65373 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
65374 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65375 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
65376 echo $ECHO_N "(cached) $ECHO_C" >&6
65377 else
65381 ac_ext=cc
65382 ac_cpp='$CXXCPP $CPPFLAGS'
65383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65387 cat >conftest.$ac_ext <<_ACEOF
65388 /* confdefs.h. */
65389 _ACEOF
65390 cat confdefs.h >>conftest.$ac_ext
65391 cat >>conftest.$ac_ext <<_ACEOF
65392 /* end confdefs.h. */
65393 #include <math.h>
65394 #ifdef HAVE_IEEEFP_H
65395 #include <ieeefp.h>
65396 #endif
65399 main ()
65401 isinf(0);
65403 return 0;
65405 _ACEOF
65406 rm -f conftest.$ac_objext
65407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65408 (eval $ac_compile) 2>conftest.er1
65409 ac_status=$?
65410 grep -v '^ *+' conftest.er1 >conftest.err
65411 rm -f conftest.er1
65412 cat conftest.err >&5
65413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65414 (exit $ac_status); } &&
65415 { ac_try='test -z "$ac_cxx_werror_flag"
65416 || test ! -s conftest.err'
65417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65418 (eval $ac_try) 2>&5
65419 ac_status=$?
65420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65421 (exit $ac_status); }; } &&
65422 { ac_try='test -s conftest.$ac_objext'
65423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65424 (eval $ac_try) 2>&5
65425 ac_status=$?
65426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65427 (exit $ac_status); }; }; then
65428 glibcxx_cv_func_isinf_use=yes
65429 else
65430 echo "$as_me: failed program was:" >&5
65431 sed 's/^/| /' conftest.$ac_ext >&5
65433 glibcxx_cv_func_isinf_use=no
65435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65436 ac_ext=c
65437 ac_cpp='$CPP $CPPFLAGS'
65438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
65447 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
65449 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65451 for ac_func in isinf
65453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65454 echo "$as_me:$LINENO: checking for $ac_func" >&5
65455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65456 if eval "test \"\${$as_ac_var+set}\" = set"; then
65457 echo $ECHO_N "(cached) $ECHO_C" >&6
65458 else
65459 if test x$gcc_no_link = xyes; then
65460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65462 { (exit 1); exit 1; }; }
65464 cat >conftest.$ac_ext <<_ACEOF
65465 /* confdefs.h. */
65466 _ACEOF
65467 cat confdefs.h >>conftest.$ac_ext
65468 cat >>conftest.$ac_ext <<_ACEOF
65469 /* end confdefs.h. */
65470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65472 #define $ac_func innocuous_$ac_func
65474 /* System header to define __stub macros and hopefully few prototypes,
65475 which can conflict with char $ac_func (); below.
65476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65477 <limits.h> exists even on freestanding compilers. */
65479 #ifdef __STDC__
65480 # include <limits.h>
65481 #else
65482 # include <assert.h>
65483 #endif
65485 #undef $ac_func
65487 /* Override any gcc2 internal prototype to avoid an error. */
65488 #ifdef __cplusplus
65489 extern "C"
65491 #endif
65492 /* We use char because int might match the return type of a gcc2
65493 builtin and then its argument prototype would still apply. */
65494 char $ac_func ();
65495 /* The GNU C library defines this for functions which it implements
65496 to always fail with ENOSYS. Some functions are actually named
65497 something starting with __ and the normal name is an alias. */
65498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65499 choke me
65500 #else
65501 char (*f) () = $ac_func;
65502 #endif
65503 #ifdef __cplusplus
65505 #endif
65508 main ()
65510 return f != $ac_func;
65512 return 0;
65514 _ACEOF
65515 rm -f conftest.$ac_objext conftest$ac_exeext
65516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65517 (eval $ac_link) 2>conftest.er1
65518 ac_status=$?
65519 grep -v '^ *+' conftest.er1 >conftest.err
65520 rm -f conftest.er1
65521 cat conftest.err >&5
65522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65523 (exit $ac_status); } &&
65524 { ac_try='test -z "$ac_c_werror_flag"
65525 || test ! -s conftest.err'
65526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65527 (eval $ac_try) 2>&5
65528 ac_status=$?
65529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65530 (exit $ac_status); }; } &&
65531 { ac_try='test -s conftest$ac_exeext'
65532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65533 (eval $ac_try) 2>&5
65534 ac_status=$?
65535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65536 (exit $ac_status); }; }; then
65537 eval "$as_ac_var=yes"
65538 else
65539 echo "$as_me: failed program was:" >&5
65540 sed 's/^/| /' conftest.$ac_ext >&5
65542 eval "$as_ac_var=no"
65544 rm -f conftest.err conftest.$ac_objext \
65545 conftest$ac_exeext conftest.$ac_ext
65547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65549 if test `eval echo '${'$as_ac_var'}'` = yes; then
65550 cat >>confdefs.h <<_ACEOF
65551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65552 _ACEOF
65555 done
65557 else
65559 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65560 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65561 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65562 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65563 echo $ECHO_N "(cached) $ECHO_C" >&6
65564 else
65568 ac_ext=cc
65569 ac_cpp='$CXXCPP $CPPFLAGS'
65570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65574 cat >conftest.$ac_ext <<_ACEOF
65575 /* confdefs.h. */
65576 _ACEOF
65577 cat confdefs.h >>conftest.$ac_ext
65578 cat >>conftest.$ac_ext <<_ACEOF
65579 /* end confdefs.h. */
65580 #include <math.h>
65581 #ifdef HAVE_IEEEFP_H
65582 #include <ieeefp.h>
65583 #endif
65586 main ()
65588 _isinf(0);
65590 return 0;
65592 _ACEOF
65593 rm -f conftest.$ac_objext
65594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65595 (eval $ac_compile) 2>conftest.er1
65596 ac_status=$?
65597 grep -v '^ *+' conftest.er1 >conftest.err
65598 rm -f conftest.er1
65599 cat conftest.err >&5
65600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601 (exit $ac_status); } &&
65602 { ac_try='test -z "$ac_cxx_werror_flag"
65603 || test ! -s conftest.err'
65604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65605 (eval $ac_try) 2>&5
65606 ac_status=$?
65607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65608 (exit $ac_status); }; } &&
65609 { ac_try='test -s conftest.$ac_objext'
65610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65611 (eval $ac_try) 2>&5
65612 ac_status=$?
65613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614 (exit $ac_status); }; }; then
65615 glibcxx_cv_func__isinf_use=yes
65616 else
65617 echo "$as_me: failed program was:" >&5
65618 sed 's/^/| /' conftest.$ac_ext >&5
65620 glibcxx_cv_func__isinf_use=no
65622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65623 ac_ext=c
65624 ac_cpp='$CPP $CPPFLAGS'
65625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65634 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65636 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65638 for ac_func in _isinf
65640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65641 echo "$as_me:$LINENO: checking for $ac_func" >&5
65642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65643 if eval "test \"\${$as_ac_var+set}\" = set"; then
65644 echo $ECHO_N "(cached) $ECHO_C" >&6
65645 else
65646 if test x$gcc_no_link = xyes; then
65647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65649 { (exit 1); exit 1; }; }
65651 cat >conftest.$ac_ext <<_ACEOF
65652 /* confdefs.h. */
65653 _ACEOF
65654 cat confdefs.h >>conftest.$ac_ext
65655 cat >>conftest.$ac_ext <<_ACEOF
65656 /* end confdefs.h. */
65657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65659 #define $ac_func innocuous_$ac_func
65661 /* System header to define __stub macros and hopefully few prototypes,
65662 which can conflict with char $ac_func (); below.
65663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65664 <limits.h> exists even on freestanding compilers. */
65666 #ifdef __STDC__
65667 # include <limits.h>
65668 #else
65669 # include <assert.h>
65670 #endif
65672 #undef $ac_func
65674 /* Override any gcc2 internal prototype to avoid an error. */
65675 #ifdef __cplusplus
65676 extern "C"
65678 #endif
65679 /* We use char because int might match the return type of a gcc2
65680 builtin and then its argument prototype would still apply. */
65681 char $ac_func ();
65682 /* The GNU C library defines this for functions which it implements
65683 to always fail with ENOSYS. Some functions are actually named
65684 something starting with __ and the normal name is an alias. */
65685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65686 choke me
65687 #else
65688 char (*f) () = $ac_func;
65689 #endif
65690 #ifdef __cplusplus
65692 #endif
65695 main ()
65697 return f != $ac_func;
65699 return 0;
65701 _ACEOF
65702 rm -f conftest.$ac_objext conftest$ac_exeext
65703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65704 (eval $ac_link) 2>conftest.er1
65705 ac_status=$?
65706 grep -v '^ *+' conftest.er1 >conftest.err
65707 rm -f conftest.er1
65708 cat conftest.err >&5
65709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65710 (exit $ac_status); } &&
65711 { ac_try='test -z "$ac_c_werror_flag"
65712 || test ! -s conftest.err'
65713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65714 (eval $ac_try) 2>&5
65715 ac_status=$?
65716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65717 (exit $ac_status); }; } &&
65718 { ac_try='test -s conftest$ac_exeext'
65719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65720 (eval $ac_try) 2>&5
65721 ac_status=$?
65722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65723 (exit $ac_status); }; }; then
65724 eval "$as_ac_var=yes"
65725 else
65726 echo "$as_me: failed program was:" >&5
65727 sed 's/^/| /' conftest.$ac_ext >&5
65729 eval "$as_ac_var=no"
65731 rm -f conftest.err conftest.$ac_objext \
65732 conftest$ac_exeext conftest.$ac_ext
65734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65736 if test `eval echo '${'$as_ac_var'}'` = yes; then
65737 cat >>confdefs.h <<_ACEOF
65738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65739 _ACEOF
65742 done
65752 echo "$as_me:$LINENO: checking for isnan declaration" >&5
65753 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65754 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65755 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65756 echo $ECHO_N "(cached) $ECHO_C" >&6
65757 else
65761 ac_ext=cc
65762 ac_cpp='$CXXCPP $CPPFLAGS'
65763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65767 cat >conftest.$ac_ext <<_ACEOF
65768 /* confdefs.h. */
65769 _ACEOF
65770 cat confdefs.h >>conftest.$ac_ext
65771 cat >>conftest.$ac_ext <<_ACEOF
65772 /* end confdefs.h. */
65773 #include <math.h>
65774 #ifdef HAVE_IEEEFP_H
65775 #include <ieeefp.h>
65776 #endif
65779 main ()
65781 isnan(0);
65783 return 0;
65785 _ACEOF
65786 rm -f conftest.$ac_objext
65787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65788 (eval $ac_compile) 2>conftest.er1
65789 ac_status=$?
65790 grep -v '^ *+' conftest.er1 >conftest.err
65791 rm -f conftest.er1
65792 cat conftest.err >&5
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); } &&
65795 { ac_try='test -z "$ac_cxx_werror_flag"
65796 || test ! -s conftest.err'
65797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65798 (eval $ac_try) 2>&5
65799 ac_status=$?
65800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801 (exit $ac_status); }; } &&
65802 { ac_try='test -s conftest.$ac_objext'
65803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65804 (eval $ac_try) 2>&5
65805 ac_status=$?
65806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65807 (exit $ac_status); }; }; then
65808 glibcxx_cv_func_isnan_use=yes
65809 else
65810 echo "$as_me: failed program was:" >&5
65811 sed 's/^/| /' conftest.$ac_ext >&5
65813 glibcxx_cv_func_isnan_use=no
65815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65816 ac_ext=c
65817 ac_cpp='$CPP $CPPFLAGS'
65818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65827 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65829 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65831 for ac_func in isnan
65833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65834 echo "$as_me:$LINENO: checking for $ac_func" >&5
65835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65836 if eval "test \"\${$as_ac_var+set}\" = set"; then
65837 echo $ECHO_N "(cached) $ECHO_C" >&6
65838 else
65839 if test x$gcc_no_link = xyes; then
65840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65842 { (exit 1); exit 1; }; }
65844 cat >conftest.$ac_ext <<_ACEOF
65845 /* confdefs.h. */
65846 _ACEOF
65847 cat confdefs.h >>conftest.$ac_ext
65848 cat >>conftest.$ac_ext <<_ACEOF
65849 /* end confdefs.h. */
65850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65852 #define $ac_func innocuous_$ac_func
65854 /* System header to define __stub macros and hopefully few prototypes,
65855 which can conflict with char $ac_func (); below.
65856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65857 <limits.h> exists even on freestanding compilers. */
65859 #ifdef __STDC__
65860 # include <limits.h>
65861 #else
65862 # include <assert.h>
65863 #endif
65865 #undef $ac_func
65867 /* Override any gcc2 internal prototype to avoid an error. */
65868 #ifdef __cplusplus
65869 extern "C"
65871 #endif
65872 /* We use char because int might match the return type of a gcc2
65873 builtin and then its argument prototype would still apply. */
65874 char $ac_func ();
65875 /* The GNU C library defines this for functions which it implements
65876 to always fail with ENOSYS. Some functions are actually named
65877 something starting with __ and the normal name is an alias. */
65878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65879 choke me
65880 #else
65881 char (*f) () = $ac_func;
65882 #endif
65883 #ifdef __cplusplus
65885 #endif
65888 main ()
65890 return f != $ac_func;
65892 return 0;
65894 _ACEOF
65895 rm -f conftest.$ac_objext conftest$ac_exeext
65896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65897 (eval $ac_link) 2>conftest.er1
65898 ac_status=$?
65899 grep -v '^ *+' conftest.er1 >conftest.err
65900 rm -f conftest.er1
65901 cat conftest.err >&5
65902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65903 (exit $ac_status); } &&
65904 { ac_try='test -z "$ac_c_werror_flag"
65905 || test ! -s conftest.err'
65906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65907 (eval $ac_try) 2>&5
65908 ac_status=$?
65909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65910 (exit $ac_status); }; } &&
65911 { ac_try='test -s conftest$ac_exeext'
65912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65913 (eval $ac_try) 2>&5
65914 ac_status=$?
65915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65916 (exit $ac_status); }; }; then
65917 eval "$as_ac_var=yes"
65918 else
65919 echo "$as_me: failed program was:" >&5
65920 sed 's/^/| /' conftest.$ac_ext >&5
65922 eval "$as_ac_var=no"
65924 rm -f conftest.err conftest.$ac_objext \
65925 conftest$ac_exeext conftest.$ac_ext
65927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65929 if test `eval echo '${'$as_ac_var'}'` = yes; then
65930 cat >>confdefs.h <<_ACEOF
65931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65932 _ACEOF
65935 done
65937 else
65939 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65940 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65941 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65942 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65943 echo $ECHO_N "(cached) $ECHO_C" >&6
65944 else
65948 ac_ext=cc
65949 ac_cpp='$CXXCPP $CPPFLAGS'
65950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65954 cat >conftest.$ac_ext <<_ACEOF
65955 /* confdefs.h. */
65956 _ACEOF
65957 cat confdefs.h >>conftest.$ac_ext
65958 cat >>conftest.$ac_ext <<_ACEOF
65959 /* end confdefs.h. */
65960 #include <math.h>
65961 #ifdef HAVE_IEEEFP_H
65962 #include <ieeefp.h>
65963 #endif
65966 main ()
65968 _isnan(0);
65970 return 0;
65972 _ACEOF
65973 rm -f conftest.$ac_objext
65974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65975 (eval $ac_compile) 2>conftest.er1
65976 ac_status=$?
65977 grep -v '^ *+' conftest.er1 >conftest.err
65978 rm -f conftest.er1
65979 cat conftest.err >&5
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); } &&
65982 { ac_try='test -z "$ac_cxx_werror_flag"
65983 || test ! -s conftest.err'
65984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985 (eval $ac_try) 2>&5
65986 ac_status=$?
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); }; } &&
65989 { ac_try='test -s conftest.$ac_objext'
65990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991 (eval $ac_try) 2>&5
65992 ac_status=$?
65993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994 (exit $ac_status); }; }; then
65995 glibcxx_cv_func__isnan_use=yes
65996 else
65997 echo "$as_me: failed program was:" >&5
65998 sed 's/^/| /' conftest.$ac_ext >&5
66000 glibcxx_cv_func__isnan_use=no
66002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66003 ac_ext=c
66004 ac_cpp='$CPP $CPPFLAGS'
66005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
66014 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
66016 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66018 for ac_func in _isnan
66020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66021 echo "$as_me:$LINENO: checking for $ac_func" >&5
66022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66023 if eval "test \"\${$as_ac_var+set}\" = set"; then
66024 echo $ECHO_N "(cached) $ECHO_C" >&6
66025 else
66026 if test x$gcc_no_link = xyes; then
66027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66029 { (exit 1); exit 1; }; }
66031 cat >conftest.$ac_ext <<_ACEOF
66032 /* confdefs.h. */
66033 _ACEOF
66034 cat confdefs.h >>conftest.$ac_ext
66035 cat >>conftest.$ac_ext <<_ACEOF
66036 /* end confdefs.h. */
66037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66039 #define $ac_func innocuous_$ac_func
66041 /* System header to define __stub macros and hopefully few prototypes,
66042 which can conflict with char $ac_func (); below.
66043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66044 <limits.h> exists even on freestanding compilers. */
66046 #ifdef __STDC__
66047 # include <limits.h>
66048 #else
66049 # include <assert.h>
66050 #endif
66052 #undef $ac_func
66054 /* Override any gcc2 internal prototype to avoid an error. */
66055 #ifdef __cplusplus
66056 extern "C"
66058 #endif
66059 /* We use char because int might match the return type of a gcc2
66060 builtin and then its argument prototype would still apply. */
66061 char $ac_func ();
66062 /* The GNU C library defines this for functions which it implements
66063 to always fail with ENOSYS. Some functions are actually named
66064 something starting with __ and the normal name is an alias. */
66065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66066 choke me
66067 #else
66068 char (*f) () = $ac_func;
66069 #endif
66070 #ifdef __cplusplus
66072 #endif
66075 main ()
66077 return f != $ac_func;
66079 return 0;
66081 _ACEOF
66082 rm -f conftest.$ac_objext conftest$ac_exeext
66083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66084 (eval $ac_link) 2>conftest.er1
66085 ac_status=$?
66086 grep -v '^ *+' conftest.er1 >conftest.err
66087 rm -f conftest.er1
66088 cat conftest.err >&5
66089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66090 (exit $ac_status); } &&
66091 { ac_try='test -z "$ac_c_werror_flag"
66092 || test ! -s conftest.err'
66093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66094 (eval $ac_try) 2>&5
66095 ac_status=$?
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); }; } &&
66098 { ac_try='test -s conftest$ac_exeext'
66099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66100 (eval $ac_try) 2>&5
66101 ac_status=$?
66102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66103 (exit $ac_status); }; }; then
66104 eval "$as_ac_var=yes"
66105 else
66106 echo "$as_me: failed program was:" >&5
66107 sed 's/^/| /' conftest.$ac_ext >&5
66109 eval "$as_ac_var=no"
66111 rm -f conftest.err conftest.$ac_objext \
66112 conftest$ac_exeext conftest.$ac_ext
66114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66116 if test `eval echo '${'$as_ac_var'}'` = yes; then
66117 cat >>confdefs.h <<_ACEOF
66118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66119 _ACEOF
66122 done
66132 echo "$as_me:$LINENO: checking for finite declaration" >&5
66133 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
66134 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66135 if test "${glibcxx_cv_func_finite_use+set}" = set; then
66136 echo $ECHO_N "(cached) $ECHO_C" >&6
66137 else
66141 ac_ext=cc
66142 ac_cpp='$CXXCPP $CPPFLAGS'
66143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66147 cat >conftest.$ac_ext <<_ACEOF
66148 /* confdefs.h. */
66149 _ACEOF
66150 cat confdefs.h >>conftest.$ac_ext
66151 cat >>conftest.$ac_ext <<_ACEOF
66152 /* end confdefs.h. */
66153 #include <math.h>
66154 #ifdef HAVE_IEEEFP_H
66155 #include <ieeefp.h>
66156 #endif
66159 main ()
66161 finite(0);
66163 return 0;
66165 _ACEOF
66166 rm -f conftest.$ac_objext
66167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66168 (eval $ac_compile) 2>conftest.er1
66169 ac_status=$?
66170 grep -v '^ *+' conftest.er1 >conftest.err
66171 rm -f conftest.er1
66172 cat conftest.err >&5
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); } &&
66175 { ac_try='test -z "$ac_cxx_werror_flag"
66176 || test ! -s conftest.err'
66177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178 (eval $ac_try) 2>&5
66179 ac_status=$?
66180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181 (exit $ac_status); }; } &&
66182 { ac_try='test -s conftest.$ac_objext'
66183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66184 (eval $ac_try) 2>&5
66185 ac_status=$?
66186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66187 (exit $ac_status); }; }; then
66188 glibcxx_cv_func_finite_use=yes
66189 else
66190 echo "$as_me: failed program was:" >&5
66191 sed 's/^/| /' conftest.$ac_ext >&5
66193 glibcxx_cv_func_finite_use=no
66195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66196 ac_ext=c
66197 ac_cpp='$CPP $CPPFLAGS'
66198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
66207 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
66209 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66211 for ac_func in finite
66213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66214 echo "$as_me:$LINENO: checking for $ac_func" >&5
66215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66216 if eval "test \"\${$as_ac_var+set}\" = set"; then
66217 echo $ECHO_N "(cached) $ECHO_C" >&6
66218 else
66219 if test x$gcc_no_link = xyes; then
66220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66222 { (exit 1); exit 1; }; }
66224 cat >conftest.$ac_ext <<_ACEOF
66225 /* confdefs.h. */
66226 _ACEOF
66227 cat confdefs.h >>conftest.$ac_ext
66228 cat >>conftest.$ac_ext <<_ACEOF
66229 /* end confdefs.h. */
66230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66232 #define $ac_func innocuous_$ac_func
66234 /* System header to define __stub macros and hopefully few prototypes,
66235 which can conflict with char $ac_func (); below.
66236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66237 <limits.h> exists even on freestanding compilers. */
66239 #ifdef __STDC__
66240 # include <limits.h>
66241 #else
66242 # include <assert.h>
66243 #endif
66245 #undef $ac_func
66247 /* Override any gcc2 internal prototype to avoid an error. */
66248 #ifdef __cplusplus
66249 extern "C"
66251 #endif
66252 /* We use char because int might match the return type of a gcc2
66253 builtin and then its argument prototype would still apply. */
66254 char $ac_func ();
66255 /* The GNU C library defines this for functions which it implements
66256 to always fail with ENOSYS. Some functions are actually named
66257 something starting with __ and the normal name is an alias. */
66258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66259 choke me
66260 #else
66261 char (*f) () = $ac_func;
66262 #endif
66263 #ifdef __cplusplus
66265 #endif
66268 main ()
66270 return f != $ac_func;
66272 return 0;
66274 _ACEOF
66275 rm -f conftest.$ac_objext conftest$ac_exeext
66276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66277 (eval $ac_link) 2>conftest.er1
66278 ac_status=$?
66279 grep -v '^ *+' conftest.er1 >conftest.err
66280 rm -f conftest.er1
66281 cat conftest.err >&5
66282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66283 (exit $ac_status); } &&
66284 { ac_try='test -z "$ac_c_werror_flag"
66285 || test ! -s conftest.err'
66286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66287 (eval $ac_try) 2>&5
66288 ac_status=$?
66289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66290 (exit $ac_status); }; } &&
66291 { ac_try='test -s conftest$ac_exeext'
66292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66293 (eval $ac_try) 2>&5
66294 ac_status=$?
66295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66296 (exit $ac_status); }; }; then
66297 eval "$as_ac_var=yes"
66298 else
66299 echo "$as_me: failed program was:" >&5
66300 sed 's/^/| /' conftest.$ac_ext >&5
66302 eval "$as_ac_var=no"
66304 rm -f conftest.err conftest.$ac_objext \
66305 conftest$ac_exeext conftest.$ac_ext
66307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66309 if test `eval echo '${'$as_ac_var'}'` = yes; then
66310 cat >>confdefs.h <<_ACEOF
66311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66312 _ACEOF
66315 done
66317 else
66319 echo "$as_me:$LINENO: checking for _finite declaration" >&5
66320 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66321 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66322 if test "${glibcxx_cv_func__finite_use+set}" = set; then
66323 echo $ECHO_N "(cached) $ECHO_C" >&6
66324 else
66328 ac_ext=cc
66329 ac_cpp='$CXXCPP $CPPFLAGS'
66330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66334 cat >conftest.$ac_ext <<_ACEOF
66335 /* confdefs.h. */
66336 _ACEOF
66337 cat confdefs.h >>conftest.$ac_ext
66338 cat >>conftest.$ac_ext <<_ACEOF
66339 /* end confdefs.h. */
66340 #include <math.h>
66341 #ifdef HAVE_IEEEFP_H
66342 #include <ieeefp.h>
66343 #endif
66346 main ()
66348 _finite(0);
66350 return 0;
66352 _ACEOF
66353 rm -f conftest.$ac_objext
66354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66355 (eval $ac_compile) 2>conftest.er1
66356 ac_status=$?
66357 grep -v '^ *+' conftest.er1 >conftest.err
66358 rm -f conftest.er1
66359 cat conftest.err >&5
66360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66361 (exit $ac_status); } &&
66362 { ac_try='test -z "$ac_cxx_werror_flag"
66363 || test ! -s conftest.err'
66364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66365 (eval $ac_try) 2>&5
66366 ac_status=$?
66367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66368 (exit $ac_status); }; } &&
66369 { ac_try='test -s conftest.$ac_objext'
66370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66371 (eval $ac_try) 2>&5
66372 ac_status=$?
66373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66374 (exit $ac_status); }; }; then
66375 glibcxx_cv_func__finite_use=yes
66376 else
66377 echo "$as_me: failed program was:" >&5
66378 sed 's/^/| /' conftest.$ac_ext >&5
66380 glibcxx_cv_func__finite_use=no
66382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66383 ac_ext=c
66384 ac_cpp='$CPP $CPPFLAGS'
66385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
66394 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
66396 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66398 for ac_func in _finite
66400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66401 echo "$as_me:$LINENO: checking for $ac_func" >&5
66402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66403 if eval "test \"\${$as_ac_var+set}\" = set"; then
66404 echo $ECHO_N "(cached) $ECHO_C" >&6
66405 else
66406 if test x$gcc_no_link = xyes; then
66407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66409 { (exit 1); exit 1; }; }
66411 cat >conftest.$ac_ext <<_ACEOF
66412 /* confdefs.h. */
66413 _ACEOF
66414 cat confdefs.h >>conftest.$ac_ext
66415 cat >>conftest.$ac_ext <<_ACEOF
66416 /* end confdefs.h. */
66417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66419 #define $ac_func innocuous_$ac_func
66421 /* System header to define __stub macros and hopefully few prototypes,
66422 which can conflict with char $ac_func (); below.
66423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66424 <limits.h> exists even on freestanding compilers. */
66426 #ifdef __STDC__
66427 # include <limits.h>
66428 #else
66429 # include <assert.h>
66430 #endif
66432 #undef $ac_func
66434 /* Override any gcc2 internal prototype to avoid an error. */
66435 #ifdef __cplusplus
66436 extern "C"
66438 #endif
66439 /* We use char because int might match the return type of a gcc2
66440 builtin and then its argument prototype would still apply. */
66441 char $ac_func ();
66442 /* The GNU C library defines this for functions which it implements
66443 to always fail with ENOSYS. Some functions are actually named
66444 something starting with __ and the normal name is an alias. */
66445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66446 choke me
66447 #else
66448 char (*f) () = $ac_func;
66449 #endif
66450 #ifdef __cplusplus
66452 #endif
66455 main ()
66457 return f != $ac_func;
66459 return 0;
66461 _ACEOF
66462 rm -f conftest.$ac_objext conftest$ac_exeext
66463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66464 (eval $ac_link) 2>conftest.er1
66465 ac_status=$?
66466 grep -v '^ *+' conftest.er1 >conftest.err
66467 rm -f conftest.er1
66468 cat conftest.err >&5
66469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470 (exit $ac_status); } &&
66471 { ac_try='test -z "$ac_c_werror_flag"
66472 || test ! -s conftest.err'
66473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66474 (eval $ac_try) 2>&5
66475 ac_status=$?
66476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66477 (exit $ac_status); }; } &&
66478 { ac_try='test -s conftest$ac_exeext'
66479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66480 (eval $ac_try) 2>&5
66481 ac_status=$?
66482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66483 (exit $ac_status); }; }; then
66484 eval "$as_ac_var=yes"
66485 else
66486 echo "$as_me: failed program was:" >&5
66487 sed 's/^/| /' conftest.$ac_ext >&5
66489 eval "$as_ac_var=no"
66491 rm -f conftest.err conftest.$ac_objext \
66492 conftest$ac_exeext conftest.$ac_ext
66494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66496 if test `eval echo '${'$as_ac_var'}'` = yes; then
66497 cat >>confdefs.h <<_ACEOF
66498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66499 _ACEOF
66502 done
66512 echo "$as_me:$LINENO: checking for copysign declaration" >&5
66513 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
66514 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
66515 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
66516 echo $ECHO_N "(cached) $ECHO_C" >&6
66517 else
66521 ac_ext=cc
66522 ac_cpp='$CXXCPP $CPPFLAGS'
66523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66527 cat >conftest.$ac_ext <<_ACEOF
66528 /* confdefs.h. */
66529 _ACEOF
66530 cat confdefs.h >>conftest.$ac_ext
66531 cat >>conftest.$ac_ext <<_ACEOF
66532 /* end confdefs.h. */
66533 #include <math.h>
66535 main ()
66537 copysign(0, 0);
66539 return 0;
66541 _ACEOF
66542 rm -f conftest.$ac_objext
66543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66544 (eval $ac_compile) 2>conftest.er1
66545 ac_status=$?
66546 grep -v '^ *+' conftest.er1 >conftest.err
66547 rm -f conftest.er1
66548 cat conftest.err >&5
66549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66550 (exit $ac_status); } &&
66551 { ac_try='test -z "$ac_cxx_werror_flag"
66552 || test ! -s conftest.err'
66553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66554 (eval $ac_try) 2>&5
66555 ac_status=$?
66556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66557 (exit $ac_status); }; } &&
66558 { ac_try='test -s conftest.$ac_objext'
66559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66560 (eval $ac_try) 2>&5
66561 ac_status=$?
66562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66563 (exit $ac_status); }; }; then
66564 glibcxx_cv_func_copysign_use=yes
66565 else
66566 echo "$as_me: failed program was:" >&5
66567 sed 's/^/| /' conftest.$ac_ext >&5
66569 glibcxx_cv_func_copysign_use=no
66571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66572 ac_ext=c
66573 ac_cpp='$CPP $CPPFLAGS'
66574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66582 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66583 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66585 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66587 for ac_func in copysign
66589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66590 echo "$as_me:$LINENO: checking for $ac_func" >&5
66591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66592 if eval "test \"\${$as_ac_var+set}\" = set"; then
66593 echo $ECHO_N "(cached) $ECHO_C" >&6
66594 else
66595 if test x$gcc_no_link = xyes; then
66596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66598 { (exit 1); exit 1; }; }
66600 cat >conftest.$ac_ext <<_ACEOF
66601 /* confdefs.h. */
66602 _ACEOF
66603 cat confdefs.h >>conftest.$ac_ext
66604 cat >>conftest.$ac_ext <<_ACEOF
66605 /* end confdefs.h. */
66606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66608 #define $ac_func innocuous_$ac_func
66610 /* System header to define __stub macros and hopefully few prototypes,
66611 which can conflict with char $ac_func (); below.
66612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66613 <limits.h> exists even on freestanding compilers. */
66615 #ifdef __STDC__
66616 # include <limits.h>
66617 #else
66618 # include <assert.h>
66619 #endif
66621 #undef $ac_func
66623 /* Override any gcc2 internal prototype to avoid an error. */
66624 #ifdef __cplusplus
66625 extern "C"
66627 #endif
66628 /* We use char because int might match the return type of a gcc2
66629 builtin and then its argument prototype would still apply. */
66630 char $ac_func ();
66631 /* The GNU C library defines this for functions which it implements
66632 to always fail with ENOSYS. Some functions are actually named
66633 something starting with __ and the normal name is an alias. */
66634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66635 choke me
66636 #else
66637 char (*f) () = $ac_func;
66638 #endif
66639 #ifdef __cplusplus
66641 #endif
66644 main ()
66646 return f != $ac_func;
66648 return 0;
66650 _ACEOF
66651 rm -f conftest.$ac_objext conftest$ac_exeext
66652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66653 (eval $ac_link) 2>conftest.er1
66654 ac_status=$?
66655 grep -v '^ *+' conftest.er1 >conftest.err
66656 rm -f conftest.er1
66657 cat conftest.err >&5
66658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659 (exit $ac_status); } &&
66660 { ac_try='test -z "$ac_c_werror_flag"
66661 || test ! -s conftest.err'
66662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66663 (eval $ac_try) 2>&5
66664 ac_status=$?
66665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66666 (exit $ac_status); }; } &&
66667 { ac_try='test -s conftest$ac_exeext'
66668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669 (eval $ac_try) 2>&5
66670 ac_status=$?
66671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672 (exit $ac_status); }; }; then
66673 eval "$as_ac_var=yes"
66674 else
66675 echo "$as_me: failed program was:" >&5
66676 sed 's/^/| /' conftest.$ac_ext >&5
66678 eval "$as_ac_var=no"
66680 rm -f conftest.err conftest.$ac_objext \
66681 conftest$ac_exeext conftest.$ac_ext
66683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66685 if test `eval echo '${'$as_ac_var'}'` = yes; then
66686 cat >>confdefs.h <<_ACEOF
66687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66688 _ACEOF
66691 done
66693 else
66695 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66696 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66697 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66698 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66699 echo $ECHO_N "(cached) $ECHO_C" >&6
66700 else
66704 ac_ext=cc
66705 ac_cpp='$CXXCPP $CPPFLAGS'
66706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66710 cat >conftest.$ac_ext <<_ACEOF
66711 /* confdefs.h. */
66712 _ACEOF
66713 cat confdefs.h >>conftest.$ac_ext
66714 cat >>conftest.$ac_ext <<_ACEOF
66715 /* end confdefs.h. */
66716 #include <math.h>
66718 main ()
66720 _copysign(0, 0);
66722 return 0;
66724 _ACEOF
66725 rm -f conftest.$ac_objext
66726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66727 (eval $ac_compile) 2>conftest.er1
66728 ac_status=$?
66729 grep -v '^ *+' conftest.er1 >conftest.err
66730 rm -f conftest.er1
66731 cat conftest.err >&5
66732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733 (exit $ac_status); } &&
66734 { ac_try='test -z "$ac_cxx_werror_flag"
66735 || test ! -s conftest.err'
66736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66737 (eval $ac_try) 2>&5
66738 ac_status=$?
66739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66740 (exit $ac_status); }; } &&
66741 { ac_try='test -s conftest.$ac_objext'
66742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66743 (eval $ac_try) 2>&5
66744 ac_status=$?
66745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746 (exit $ac_status); }; }; then
66747 glibcxx_cv_func__copysign_use=yes
66748 else
66749 echo "$as_me: failed program was:" >&5
66750 sed 's/^/| /' conftest.$ac_ext >&5
66752 glibcxx_cv_func__copysign_use=no
66754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66766 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66768 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66770 for ac_func in _copysign
66772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66773 echo "$as_me:$LINENO: checking for $ac_func" >&5
66774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66775 if eval "test \"\${$as_ac_var+set}\" = set"; then
66776 echo $ECHO_N "(cached) $ECHO_C" >&6
66777 else
66778 if test x$gcc_no_link = xyes; then
66779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66781 { (exit 1); exit 1; }; }
66783 cat >conftest.$ac_ext <<_ACEOF
66784 /* confdefs.h. */
66785 _ACEOF
66786 cat confdefs.h >>conftest.$ac_ext
66787 cat >>conftest.$ac_ext <<_ACEOF
66788 /* end confdefs.h. */
66789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66791 #define $ac_func innocuous_$ac_func
66793 /* System header to define __stub macros and hopefully few prototypes,
66794 which can conflict with char $ac_func (); below.
66795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66796 <limits.h> exists even on freestanding compilers. */
66798 #ifdef __STDC__
66799 # include <limits.h>
66800 #else
66801 # include <assert.h>
66802 #endif
66804 #undef $ac_func
66806 /* Override any gcc2 internal prototype to avoid an error. */
66807 #ifdef __cplusplus
66808 extern "C"
66810 #endif
66811 /* We use char because int might match the return type of a gcc2
66812 builtin and then its argument prototype would still apply. */
66813 char $ac_func ();
66814 /* The GNU C library defines this for functions which it implements
66815 to always fail with ENOSYS. Some functions are actually named
66816 something starting with __ and the normal name is an alias. */
66817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66818 choke me
66819 #else
66820 char (*f) () = $ac_func;
66821 #endif
66822 #ifdef __cplusplus
66824 #endif
66827 main ()
66829 return f != $ac_func;
66831 return 0;
66833 _ACEOF
66834 rm -f conftest.$ac_objext conftest$ac_exeext
66835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66836 (eval $ac_link) 2>conftest.er1
66837 ac_status=$?
66838 grep -v '^ *+' conftest.er1 >conftest.err
66839 rm -f conftest.er1
66840 cat conftest.err >&5
66841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66842 (exit $ac_status); } &&
66843 { ac_try='test -z "$ac_c_werror_flag"
66844 || test ! -s conftest.err'
66845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66846 (eval $ac_try) 2>&5
66847 ac_status=$?
66848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66849 (exit $ac_status); }; } &&
66850 { ac_try='test -s conftest$ac_exeext'
66851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66852 (eval $ac_try) 2>&5
66853 ac_status=$?
66854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855 (exit $ac_status); }; }; then
66856 eval "$as_ac_var=yes"
66857 else
66858 echo "$as_me: failed program was:" >&5
66859 sed 's/^/| /' conftest.$ac_ext >&5
66861 eval "$as_ac_var=no"
66863 rm -f conftest.err conftest.$ac_objext \
66864 conftest$ac_exeext conftest.$ac_ext
66866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66868 if test `eval echo '${'$as_ac_var'}'` = yes; then
66869 cat >>confdefs.h <<_ACEOF
66870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66871 _ACEOF
66874 done
66884 echo "$as_me:$LINENO: checking for sincos declaration" >&5
66885 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66886 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66887 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66888 echo $ECHO_N "(cached) $ECHO_C" >&6
66889 else
66893 ac_ext=cc
66894 ac_cpp='$CXXCPP $CPPFLAGS'
66895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66899 cat >conftest.$ac_ext <<_ACEOF
66900 /* confdefs.h. */
66901 _ACEOF
66902 cat confdefs.h >>conftest.$ac_ext
66903 cat >>conftest.$ac_ext <<_ACEOF
66904 /* end confdefs.h. */
66905 #include <math.h>
66907 main ()
66909 sincos(0, 0, 0);
66911 return 0;
66913 _ACEOF
66914 rm -f conftest.$ac_objext
66915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66916 (eval $ac_compile) 2>conftest.er1
66917 ac_status=$?
66918 grep -v '^ *+' conftest.er1 >conftest.err
66919 rm -f conftest.er1
66920 cat conftest.err >&5
66921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66922 (exit $ac_status); } &&
66923 { ac_try='test -z "$ac_cxx_werror_flag"
66924 || test ! -s conftest.err'
66925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66926 (eval $ac_try) 2>&5
66927 ac_status=$?
66928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66929 (exit $ac_status); }; } &&
66930 { ac_try='test -s conftest.$ac_objext'
66931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66932 (eval $ac_try) 2>&5
66933 ac_status=$?
66934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935 (exit $ac_status); }; }; then
66936 glibcxx_cv_func_sincos_use=yes
66937 else
66938 echo "$as_me: failed program was:" >&5
66939 sed 's/^/| /' conftest.$ac_ext >&5
66941 glibcxx_cv_func_sincos_use=no
66943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66944 ac_ext=c
66945 ac_cpp='$CPP $CPPFLAGS'
66946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66954 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66955 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66957 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66959 for ac_func in sincos
66961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66962 echo "$as_me:$LINENO: checking for $ac_func" >&5
66963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66964 if eval "test \"\${$as_ac_var+set}\" = set"; then
66965 echo $ECHO_N "(cached) $ECHO_C" >&6
66966 else
66967 if test x$gcc_no_link = xyes; then
66968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66970 { (exit 1); exit 1; }; }
66972 cat >conftest.$ac_ext <<_ACEOF
66973 /* confdefs.h. */
66974 _ACEOF
66975 cat confdefs.h >>conftest.$ac_ext
66976 cat >>conftest.$ac_ext <<_ACEOF
66977 /* end confdefs.h. */
66978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66980 #define $ac_func innocuous_$ac_func
66982 /* System header to define __stub macros and hopefully few prototypes,
66983 which can conflict with char $ac_func (); below.
66984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66985 <limits.h> exists even on freestanding compilers. */
66987 #ifdef __STDC__
66988 # include <limits.h>
66989 #else
66990 # include <assert.h>
66991 #endif
66993 #undef $ac_func
66995 /* Override any gcc2 internal prototype to avoid an error. */
66996 #ifdef __cplusplus
66997 extern "C"
66999 #endif
67000 /* We use char because int might match the return type of a gcc2
67001 builtin and then its argument prototype would still apply. */
67002 char $ac_func ();
67003 /* The GNU C library defines this for functions which it implements
67004 to always fail with ENOSYS. Some functions are actually named
67005 something starting with __ and the normal name is an alias. */
67006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67007 choke me
67008 #else
67009 char (*f) () = $ac_func;
67010 #endif
67011 #ifdef __cplusplus
67013 #endif
67016 main ()
67018 return f != $ac_func;
67020 return 0;
67022 _ACEOF
67023 rm -f conftest.$ac_objext conftest$ac_exeext
67024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67025 (eval $ac_link) 2>conftest.er1
67026 ac_status=$?
67027 grep -v '^ *+' conftest.er1 >conftest.err
67028 rm -f conftest.er1
67029 cat conftest.err >&5
67030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031 (exit $ac_status); } &&
67032 { ac_try='test -z "$ac_c_werror_flag"
67033 || test ! -s conftest.err'
67034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67035 (eval $ac_try) 2>&5
67036 ac_status=$?
67037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67038 (exit $ac_status); }; } &&
67039 { ac_try='test -s conftest$ac_exeext'
67040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67041 (eval $ac_try) 2>&5
67042 ac_status=$?
67043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044 (exit $ac_status); }; }; then
67045 eval "$as_ac_var=yes"
67046 else
67047 echo "$as_me: failed program was:" >&5
67048 sed 's/^/| /' conftest.$ac_ext >&5
67050 eval "$as_ac_var=no"
67052 rm -f conftest.err conftest.$ac_objext \
67053 conftest$ac_exeext conftest.$ac_ext
67055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67057 if test `eval echo '${'$as_ac_var'}'` = yes; then
67058 cat >>confdefs.h <<_ACEOF
67059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67060 _ACEOF
67063 done
67065 else
67067 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
67068 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
67069 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67070 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
67071 echo $ECHO_N "(cached) $ECHO_C" >&6
67072 else
67076 ac_ext=cc
67077 ac_cpp='$CXXCPP $CPPFLAGS'
67078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67082 cat >conftest.$ac_ext <<_ACEOF
67083 /* confdefs.h. */
67084 _ACEOF
67085 cat confdefs.h >>conftest.$ac_ext
67086 cat >>conftest.$ac_ext <<_ACEOF
67087 /* end confdefs.h. */
67088 #include <math.h>
67090 main ()
67092 _sincos(0, 0, 0);
67094 return 0;
67096 _ACEOF
67097 rm -f conftest.$ac_objext
67098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67099 (eval $ac_compile) 2>conftest.er1
67100 ac_status=$?
67101 grep -v '^ *+' conftest.er1 >conftest.err
67102 rm -f conftest.er1
67103 cat conftest.err >&5
67104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67105 (exit $ac_status); } &&
67106 { ac_try='test -z "$ac_cxx_werror_flag"
67107 || test ! -s conftest.err'
67108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67109 (eval $ac_try) 2>&5
67110 ac_status=$?
67111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67112 (exit $ac_status); }; } &&
67113 { ac_try='test -s conftest.$ac_objext'
67114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67115 (eval $ac_try) 2>&5
67116 ac_status=$?
67117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118 (exit $ac_status); }; }; then
67119 glibcxx_cv_func__sincos_use=yes
67120 else
67121 echo "$as_me: failed program was:" >&5
67122 sed 's/^/| /' conftest.$ac_ext >&5
67124 glibcxx_cv_func__sincos_use=no
67126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67127 ac_ext=c
67128 ac_cpp='$CPP $CPPFLAGS'
67129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
67138 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
67140 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67142 for ac_func in _sincos
67144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67145 echo "$as_me:$LINENO: checking for $ac_func" >&5
67146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67147 if eval "test \"\${$as_ac_var+set}\" = set"; then
67148 echo $ECHO_N "(cached) $ECHO_C" >&6
67149 else
67150 if test x$gcc_no_link = xyes; then
67151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67153 { (exit 1); exit 1; }; }
67155 cat >conftest.$ac_ext <<_ACEOF
67156 /* confdefs.h. */
67157 _ACEOF
67158 cat confdefs.h >>conftest.$ac_ext
67159 cat >>conftest.$ac_ext <<_ACEOF
67160 /* end confdefs.h. */
67161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67163 #define $ac_func innocuous_$ac_func
67165 /* System header to define __stub macros and hopefully few prototypes,
67166 which can conflict with char $ac_func (); below.
67167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67168 <limits.h> exists even on freestanding compilers. */
67170 #ifdef __STDC__
67171 # include <limits.h>
67172 #else
67173 # include <assert.h>
67174 #endif
67176 #undef $ac_func
67178 /* Override any gcc2 internal prototype to avoid an error. */
67179 #ifdef __cplusplus
67180 extern "C"
67182 #endif
67183 /* We use char because int might match the return type of a gcc2
67184 builtin and then its argument prototype would still apply. */
67185 char $ac_func ();
67186 /* The GNU C library defines this for functions which it implements
67187 to always fail with ENOSYS. Some functions are actually named
67188 something starting with __ and the normal name is an alias. */
67189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67190 choke me
67191 #else
67192 char (*f) () = $ac_func;
67193 #endif
67194 #ifdef __cplusplus
67196 #endif
67199 main ()
67201 return f != $ac_func;
67203 return 0;
67205 _ACEOF
67206 rm -f conftest.$ac_objext conftest$ac_exeext
67207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67208 (eval $ac_link) 2>conftest.er1
67209 ac_status=$?
67210 grep -v '^ *+' conftest.er1 >conftest.err
67211 rm -f conftest.er1
67212 cat conftest.err >&5
67213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67214 (exit $ac_status); } &&
67215 { ac_try='test -z "$ac_c_werror_flag"
67216 || test ! -s conftest.err'
67217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67218 (eval $ac_try) 2>&5
67219 ac_status=$?
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); }; } &&
67222 { ac_try='test -s conftest$ac_exeext'
67223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67224 (eval $ac_try) 2>&5
67225 ac_status=$?
67226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67227 (exit $ac_status); }; }; then
67228 eval "$as_ac_var=yes"
67229 else
67230 echo "$as_me: failed program was:" >&5
67231 sed 's/^/| /' conftest.$ac_ext >&5
67233 eval "$as_ac_var=no"
67235 rm -f conftest.err conftest.$ac_objext \
67236 conftest$ac_exeext conftest.$ac_ext
67238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67240 if test `eval echo '${'$as_ac_var'}'` = yes; then
67241 cat >>confdefs.h <<_ACEOF
67242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67243 _ACEOF
67246 done
67256 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67257 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67258 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67259 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67260 echo $ECHO_N "(cached) $ECHO_C" >&6
67261 else
67265 ac_ext=cc
67266 ac_cpp='$CXXCPP $CPPFLAGS'
67267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67271 cat >conftest.$ac_ext <<_ACEOF
67272 /* confdefs.h. */
67273 _ACEOF
67274 cat confdefs.h >>conftest.$ac_ext
67275 cat >>conftest.$ac_ext <<_ACEOF
67276 /* end confdefs.h. */
67277 #include <math.h>
67278 #ifdef HAVE_IEEEFP_H
67279 #include <ieeefp.h>
67280 #endif
67283 main ()
67285 fpclass(0);
67287 return 0;
67289 _ACEOF
67290 rm -f conftest.$ac_objext
67291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67292 (eval $ac_compile) 2>conftest.er1
67293 ac_status=$?
67294 grep -v '^ *+' conftest.er1 >conftest.err
67295 rm -f conftest.er1
67296 cat conftest.err >&5
67297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67298 (exit $ac_status); } &&
67299 { ac_try='test -z "$ac_cxx_werror_flag"
67300 || test ! -s conftest.err'
67301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67302 (eval $ac_try) 2>&5
67303 ac_status=$?
67304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67305 (exit $ac_status); }; } &&
67306 { ac_try='test -s conftest.$ac_objext'
67307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67308 (eval $ac_try) 2>&5
67309 ac_status=$?
67310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67311 (exit $ac_status); }; }; then
67312 glibcxx_cv_func_fpclass_use=yes
67313 else
67314 echo "$as_me: failed program was:" >&5
67315 sed 's/^/| /' conftest.$ac_ext >&5
67317 glibcxx_cv_func_fpclass_use=no
67319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67320 ac_ext=c
67321 ac_cpp='$CPP $CPPFLAGS'
67322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67330 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67331 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67333 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67335 for ac_func in fpclass
67337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67338 echo "$as_me:$LINENO: checking for $ac_func" >&5
67339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67340 if eval "test \"\${$as_ac_var+set}\" = set"; then
67341 echo $ECHO_N "(cached) $ECHO_C" >&6
67342 else
67343 if test x$gcc_no_link = xyes; then
67344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67346 { (exit 1); exit 1; }; }
67348 cat >conftest.$ac_ext <<_ACEOF
67349 /* confdefs.h. */
67350 _ACEOF
67351 cat confdefs.h >>conftest.$ac_ext
67352 cat >>conftest.$ac_ext <<_ACEOF
67353 /* end confdefs.h. */
67354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67356 #define $ac_func innocuous_$ac_func
67358 /* System header to define __stub macros and hopefully few prototypes,
67359 which can conflict with char $ac_func (); below.
67360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67361 <limits.h> exists even on freestanding compilers. */
67363 #ifdef __STDC__
67364 # include <limits.h>
67365 #else
67366 # include <assert.h>
67367 #endif
67369 #undef $ac_func
67371 /* Override any gcc2 internal prototype to avoid an error. */
67372 #ifdef __cplusplus
67373 extern "C"
67375 #endif
67376 /* We use char because int might match the return type of a gcc2
67377 builtin and then its argument prototype would still apply. */
67378 char $ac_func ();
67379 /* The GNU C library defines this for functions which it implements
67380 to always fail with ENOSYS. Some functions are actually named
67381 something starting with __ and the normal name is an alias. */
67382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67383 choke me
67384 #else
67385 char (*f) () = $ac_func;
67386 #endif
67387 #ifdef __cplusplus
67389 #endif
67392 main ()
67394 return f != $ac_func;
67396 return 0;
67398 _ACEOF
67399 rm -f conftest.$ac_objext conftest$ac_exeext
67400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67401 (eval $ac_link) 2>conftest.er1
67402 ac_status=$?
67403 grep -v '^ *+' conftest.er1 >conftest.err
67404 rm -f conftest.er1
67405 cat conftest.err >&5
67406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67407 (exit $ac_status); } &&
67408 { ac_try='test -z "$ac_c_werror_flag"
67409 || test ! -s conftest.err'
67410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67411 (eval $ac_try) 2>&5
67412 ac_status=$?
67413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67414 (exit $ac_status); }; } &&
67415 { ac_try='test -s conftest$ac_exeext'
67416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67417 (eval $ac_try) 2>&5
67418 ac_status=$?
67419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67420 (exit $ac_status); }; }; then
67421 eval "$as_ac_var=yes"
67422 else
67423 echo "$as_me: failed program was:" >&5
67424 sed 's/^/| /' conftest.$ac_ext >&5
67426 eval "$as_ac_var=no"
67428 rm -f conftest.err conftest.$ac_objext \
67429 conftest$ac_exeext conftest.$ac_ext
67431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67433 if test `eval echo '${'$as_ac_var'}'` = yes; then
67434 cat >>confdefs.h <<_ACEOF
67435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67436 _ACEOF
67439 done
67441 else
67443 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
67444 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
67445 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67446 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
67447 echo $ECHO_N "(cached) $ECHO_C" >&6
67448 else
67452 ac_ext=cc
67453 ac_cpp='$CXXCPP $CPPFLAGS'
67454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67458 cat >conftest.$ac_ext <<_ACEOF
67459 /* confdefs.h. */
67460 _ACEOF
67461 cat confdefs.h >>conftest.$ac_ext
67462 cat >>conftest.$ac_ext <<_ACEOF
67463 /* end confdefs.h. */
67464 #include <math.h>
67465 #ifdef HAVE_IEEEFP_H
67466 #include <ieeefp.h>
67467 #endif
67470 main ()
67472 _fpclass(0);
67474 return 0;
67476 _ACEOF
67477 rm -f conftest.$ac_objext
67478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67479 (eval $ac_compile) 2>conftest.er1
67480 ac_status=$?
67481 grep -v '^ *+' conftest.er1 >conftest.err
67482 rm -f conftest.er1
67483 cat conftest.err >&5
67484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67485 (exit $ac_status); } &&
67486 { ac_try='test -z "$ac_cxx_werror_flag"
67487 || test ! -s conftest.err'
67488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67489 (eval $ac_try) 2>&5
67490 ac_status=$?
67491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67492 (exit $ac_status); }; } &&
67493 { ac_try='test -s conftest.$ac_objext'
67494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67495 (eval $ac_try) 2>&5
67496 ac_status=$?
67497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67498 (exit $ac_status); }; }; then
67499 glibcxx_cv_func__fpclass_use=yes
67500 else
67501 echo "$as_me: failed program was:" >&5
67502 sed 's/^/| /' conftest.$ac_ext >&5
67504 glibcxx_cv_func__fpclass_use=no
67506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
67518 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
67520 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67522 for ac_func in _fpclass
67524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67525 echo "$as_me:$LINENO: checking for $ac_func" >&5
67526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67527 if eval "test \"\${$as_ac_var+set}\" = set"; then
67528 echo $ECHO_N "(cached) $ECHO_C" >&6
67529 else
67530 if test x$gcc_no_link = xyes; then
67531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67533 { (exit 1); exit 1; }; }
67535 cat >conftest.$ac_ext <<_ACEOF
67536 /* confdefs.h. */
67537 _ACEOF
67538 cat confdefs.h >>conftest.$ac_ext
67539 cat >>conftest.$ac_ext <<_ACEOF
67540 /* end confdefs.h. */
67541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67543 #define $ac_func innocuous_$ac_func
67545 /* System header to define __stub macros and hopefully few prototypes,
67546 which can conflict with char $ac_func (); below.
67547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67548 <limits.h> exists even on freestanding compilers. */
67550 #ifdef __STDC__
67551 # include <limits.h>
67552 #else
67553 # include <assert.h>
67554 #endif
67556 #undef $ac_func
67558 /* Override any gcc2 internal prototype to avoid an error. */
67559 #ifdef __cplusplus
67560 extern "C"
67562 #endif
67563 /* We use char because int might match the return type of a gcc2
67564 builtin and then its argument prototype would still apply. */
67565 char $ac_func ();
67566 /* The GNU C library defines this for functions which it implements
67567 to always fail with ENOSYS. Some functions are actually named
67568 something starting with __ and the normal name is an alias. */
67569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67570 choke me
67571 #else
67572 char (*f) () = $ac_func;
67573 #endif
67574 #ifdef __cplusplus
67576 #endif
67579 main ()
67581 return f != $ac_func;
67583 return 0;
67585 _ACEOF
67586 rm -f conftest.$ac_objext conftest$ac_exeext
67587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67588 (eval $ac_link) 2>conftest.er1
67589 ac_status=$?
67590 grep -v '^ *+' conftest.er1 >conftest.err
67591 rm -f conftest.er1
67592 cat conftest.err >&5
67593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67594 (exit $ac_status); } &&
67595 { ac_try='test -z "$ac_c_werror_flag"
67596 || test ! -s conftest.err'
67597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67598 (eval $ac_try) 2>&5
67599 ac_status=$?
67600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67601 (exit $ac_status); }; } &&
67602 { ac_try='test -s conftest$ac_exeext'
67603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67604 (eval $ac_try) 2>&5
67605 ac_status=$?
67606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67607 (exit $ac_status); }; }; then
67608 eval "$as_ac_var=yes"
67609 else
67610 echo "$as_me: failed program was:" >&5
67611 sed 's/^/| /' conftest.$ac_ext >&5
67613 eval "$as_ac_var=no"
67615 rm -f conftest.err conftest.$ac_objext \
67616 conftest$ac_exeext conftest.$ac_ext
67618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67620 if test `eval echo '${'$as_ac_var'}'` = yes; then
67621 cat >>confdefs.h <<_ACEOF
67622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67623 _ACEOF
67626 done
67636 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67637 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67638 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67639 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67640 echo $ECHO_N "(cached) $ECHO_C" >&6
67641 else
67645 ac_ext=cc
67646 ac_cpp='$CXXCPP $CPPFLAGS'
67647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67651 cat >conftest.$ac_ext <<_ACEOF
67652 /* confdefs.h. */
67653 _ACEOF
67654 cat confdefs.h >>conftest.$ac_ext
67655 cat >>conftest.$ac_ext <<_ACEOF
67656 /* end confdefs.h. */
67657 #include <math.h>
67658 #ifdef HAVE_IEEEFP_H
67659 #include <ieeefp.h>
67660 #endif
67663 main ()
67665 qfpclass(0);
67667 return 0;
67669 _ACEOF
67670 rm -f conftest.$ac_objext
67671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67672 (eval $ac_compile) 2>conftest.er1
67673 ac_status=$?
67674 grep -v '^ *+' conftest.er1 >conftest.err
67675 rm -f conftest.er1
67676 cat conftest.err >&5
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); } &&
67679 { ac_try='test -z "$ac_cxx_werror_flag"
67680 || test ! -s conftest.err'
67681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67682 (eval $ac_try) 2>&5
67683 ac_status=$?
67684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685 (exit $ac_status); }; } &&
67686 { ac_try='test -s conftest.$ac_objext'
67687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67688 (eval $ac_try) 2>&5
67689 ac_status=$?
67690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67691 (exit $ac_status); }; }; then
67692 glibcxx_cv_func_qfpclass_use=yes
67693 else
67694 echo "$as_me: failed program was:" >&5
67695 sed 's/^/| /' conftest.$ac_ext >&5
67697 glibcxx_cv_func_qfpclass_use=no
67699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67700 ac_ext=c
67701 ac_cpp='$CPP $CPPFLAGS'
67702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67710 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67711 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67713 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67715 for ac_func in qfpclass
67717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67718 echo "$as_me:$LINENO: checking for $ac_func" >&5
67719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67720 if eval "test \"\${$as_ac_var+set}\" = set"; then
67721 echo $ECHO_N "(cached) $ECHO_C" >&6
67722 else
67723 if test x$gcc_no_link = xyes; then
67724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67726 { (exit 1); exit 1; }; }
67728 cat >conftest.$ac_ext <<_ACEOF
67729 /* confdefs.h. */
67730 _ACEOF
67731 cat confdefs.h >>conftest.$ac_ext
67732 cat >>conftest.$ac_ext <<_ACEOF
67733 /* end confdefs.h. */
67734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67736 #define $ac_func innocuous_$ac_func
67738 /* System header to define __stub macros and hopefully few prototypes,
67739 which can conflict with char $ac_func (); below.
67740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67741 <limits.h> exists even on freestanding compilers. */
67743 #ifdef __STDC__
67744 # include <limits.h>
67745 #else
67746 # include <assert.h>
67747 #endif
67749 #undef $ac_func
67751 /* Override any gcc2 internal prototype to avoid an error. */
67752 #ifdef __cplusplus
67753 extern "C"
67755 #endif
67756 /* We use char because int might match the return type of a gcc2
67757 builtin and then its argument prototype would still apply. */
67758 char $ac_func ();
67759 /* The GNU C library defines this for functions which it implements
67760 to always fail with ENOSYS. Some functions are actually named
67761 something starting with __ and the normal name is an alias. */
67762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67763 choke me
67764 #else
67765 char (*f) () = $ac_func;
67766 #endif
67767 #ifdef __cplusplus
67769 #endif
67772 main ()
67774 return f != $ac_func;
67776 return 0;
67778 _ACEOF
67779 rm -f conftest.$ac_objext conftest$ac_exeext
67780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67781 (eval $ac_link) 2>conftest.er1
67782 ac_status=$?
67783 grep -v '^ *+' conftest.er1 >conftest.err
67784 rm -f conftest.er1
67785 cat conftest.err >&5
67786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67787 (exit $ac_status); } &&
67788 { ac_try='test -z "$ac_c_werror_flag"
67789 || test ! -s conftest.err'
67790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67791 (eval $ac_try) 2>&5
67792 ac_status=$?
67793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67794 (exit $ac_status); }; } &&
67795 { ac_try='test -s conftest$ac_exeext'
67796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67797 (eval $ac_try) 2>&5
67798 ac_status=$?
67799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67800 (exit $ac_status); }; }; then
67801 eval "$as_ac_var=yes"
67802 else
67803 echo "$as_me: failed program was:" >&5
67804 sed 's/^/| /' conftest.$ac_ext >&5
67806 eval "$as_ac_var=no"
67808 rm -f conftest.err conftest.$ac_objext \
67809 conftest$ac_exeext conftest.$ac_ext
67811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67813 if test `eval echo '${'$as_ac_var'}'` = yes; then
67814 cat >>confdefs.h <<_ACEOF
67815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67816 _ACEOF
67819 done
67821 else
67823 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67824 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67825 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67826 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67827 echo $ECHO_N "(cached) $ECHO_C" >&6
67828 else
67832 ac_ext=cc
67833 ac_cpp='$CXXCPP $CPPFLAGS'
67834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67838 cat >conftest.$ac_ext <<_ACEOF
67839 /* confdefs.h. */
67840 _ACEOF
67841 cat confdefs.h >>conftest.$ac_ext
67842 cat >>conftest.$ac_ext <<_ACEOF
67843 /* end confdefs.h. */
67844 #include <math.h>
67845 #ifdef HAVE_IEEEFP_H
67846 #include <ieeefp.h>
67847 #endif
67850 main ()
67852 _qfpclass(0);
67854 return 0;
67856 _ACEOF
67857 rm -f conftest.$ac_objext
67858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67859 (eval $ac_compile) 2>conftest.er1
67860 ac_status=$?
67861 grep -v '^ *+' conftest.er1 >conftest.err
67862 rm -f conftest.er1
67863 cat conftest.err >&5
67864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865 (exit $ac_status); } &&
67866 { ac_try='test -z "$ac_cxx_werror_flag"
67867 || test ! -s conftest.err'
67868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67869 (eval $ac_try) 2>&5
67870 ac_status=$?
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); }; } &&
67873 { ac_try='test -s conftest.$ac_objext'
67874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67875 (eval $ac_try) 2>&5
67876 ac_status=$?
67877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67878 (exit $ac_status); }; }; then
67879 glibcxx_cv_func__qfpclass_use=yes
67880 else
67881 echo "$as_me: failed program was:" >&5
67882 sed 's/^/| /' conftest.$ac_ext >&5
67884 glibcxx_cv_func__qfpclass_use=no
67886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67887 ac_ext=c
67888 ac_cpp='$CPP $CPPFLAGS'
67889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67897 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67898 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67900 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67902 for ac_func in _qfpclass
67904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67905 echo "$as_me:$LINENO: checking for $ac_func" >&5
67906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67907 if eval "test \"\${$as_ac_var+set}\" = set"; then
67908 echo $ECHO_N "(cached) $ECHO_C" >&6
67909 else
67910 if test x$gcc_no_link = xyes; then
67911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67913 { (exit 1); exit 1; }; }
67915 cat >conftest.$ac_ext <<_ACEOF
67916 /* confdefs.h. */
67917 _ACEOF
67918 cat confdefs.h >>conftest.$ac_ext
67919 cat >>conftest.$ac_ext <<_ACEOF
67920 /* end confdefs.h. */
67921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67923 #define $ac_func innocuous_$ac_func
67925 /* System header to define __stub macros and hopefully few prototypes,
67926 which can conflict with char $ac_func (); below.
67927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67928 <limits.h> exists even on freestanding compilers. */
67930 #ifdef __STDC__
67931 # include <limits.h>
67932 #else
67933 # include <assert.h>
67934 #endif
67936 #undef $ac_func
67938 /* Override any gcc2 internal prototype to avoid an error. */
67939 #ifdef __cplusplus
67940 extern "C"
67942 #endif
67943 /* We use char because int might match the return type of a gcc2
67944 builtin and then its argument prototype would still apply. */
67945 char $ac_func ();
67946 /* The GNU C library defines this for functions which it implements
67947 to always fail with ENOSYS. Some functions are actually named
67948 something starting with __ and the normal name is an alias. */
67949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67950 choke me
67951 #else
67952 char (*f) () = $ac_func;
67953 #endif
67954 #ifdef __cplusplus
67956 #endif
67959 main ()
67961 return f != $ac_func;
67963 return 0;
67965 _ACEOF
67966 rm -f conftest.$ac_objext conftest$ac_exeext
67967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67968 (eval $ac_link) 2>conftest.er1
67969 ac_status=$?
67970 grep -v '^ *+' conftest.er1 >conftest.err
67971 rm -f conftest.er1
67972 cat conftest.err >&5
67973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67974 (exit $ac_status); } &&
67975 { ac_try='test -z "$ac_c_werror_flag"
67976 || test ! -s conftest.err'
67977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67978 (eval $ac_try) 2>&5
67979 ac_status=$?
67980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67981 (exit $ac_status); }; } &&
67982 { ac_try='test -s conftest$ac_exeext'
67983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67984 (eval $ac_try) 2>&5
67985 ac_status=$?
67986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67987 (exit $ac_status); }; }; then
67988 eval "$as_ac_var=yes"
67989 else
67990 echo "$as_me: failed program was:" >&5
67991 sed 's/^/| /' conftest.$ac_ext >&5
67993 eval "$as_ac_var=no"
67995 rm -f conftest.err conftest.$ac_objext \
67996 conftest$ac_exeext conftest.$ac_ext
67998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68000 if test `eval echo '${'$as_ac_var'}'` = yes; then
68001 cat >>confdefs.h <<_ACEOF
68002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68003 _ACEOF
68006 done
68016 echo "$as_me:$LINENO: checking for hypot declaration" >&5
68017 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
68018 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
68019 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
68020 echo $ECHO_N "(cached) $ECHO_C" >&6
68021 else
68025 ac_ext=cc
68026 ac_cpp='$CXXCPP $CPPFLAGS'
68027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68031 cat >conftest.$ac_ext <<_ACEOF
68032 /* confdefs.h. */
68033 _ACEOF
68034 cat confdefs.h >>conftest.$ac_ext
68035 cat >>conftest.$ac_ext <<_ACEOF
68036 /* end confdefs.h. */
68037 #include <math.h>
68039 main ()
68041 hypot(0, 0);
68043 return 0;
68045 _ACEOF
68046 rm -f conftest.$ac_objext
68047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68048 (eval $ac_compile) 2>conftest.er1
68049 ac_status=$?
68050 grep -v '^ *+' conftest.er1 >conftest.err
68051 rm -f conftest.er1
68052 cat conftest.err >&5
68053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054 (exit $ac_status); } &&
68055 { ac_try='test -z "$ac_cxx_werror_flag"
68056 || test ! -s conftest.err'
68057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68058 (eval $ac_try) 2>&5
68059 ac_status=$?
68060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68061 (exit $ac_status); }; } &&
68062 { ac_try='test -s conftest.$ac_objext'
68063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064 (eval $ac_try) 2>&5
68065 ac_status=$?
68066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067 (exit $ac_status); }; }; then
68068 glibcxx_cv_func_hypot_use=yes
68069 else
68070 echo "$as_me: failed program was:" >&5
68071 sed 's/^/| /' conftest.$ac_ext >&5
68073 glibcxx_cv_func_hypot_use=no
68075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68076 ac_ext=c
68077 ac_cpp='$CPP $CPPFLAGS'
68078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
68087 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
68089 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
68091 for ac_func in hypot
68093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68094 echo "$as_me:$LINENO: checking for $ac_func" >&5
68095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68096 if eval "test \"\${$as_ac_var+set}\" = set"; then
68097 echo $ECHO_N "(cached) $ECHO_C" >&6
68098 else
68099 if test x$gcc_no_link = xyes; then
68100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68102 { (exit 1); exit 1; }; }
68104 cat >conftest.$ac_ext <<_ACEOF
68105 /* confdefs.h. */
68106 _ACEOF
68107 cat confdefs.h >>conftest.$ac_ext
68108 cat >>conftest.$ac_ext <<_ACEOF
68109 /* end confdefs.h. */
68110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68112 #define $ac_func innocuous_$ac_func
68114 /* System header to define __stub macros and hopefully few prototypes,
68115 which can conflict with char $ac_func (); below.
68116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68117 <limits.h> exists even on freestanding compilers. */
68119 #ifdef __STDC__
68120 # include <limits.h>
68121 #else
68122 # include <assert.h>
68123 #endif
68125 #undef $ac_func
68127 /* Override any gcc2 internal prototype to avoid an error. */
68128 #ifdef __cplusplus
68129 extern "C"
68131 #endif
68132 /* We use char because int might match the return type of a gcc2
68133 builtin and then its argument prototype would still apply. */
68134 char $ac_func ();
68135 /* The GNU C library defines this for functions which it implements
68136 to always fail with ENOSYS. Some functions are actually named
68137 something starting with __ and the normal name is an alias. */
68138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68139 choke me
68140 #else
68141 char (*f) () = $ac_func;
68142 #endif
68143 #ifdef __cplusplus
68145 #endif
68148 main ()
68150 return f != $ac_func;
68152 return 0;
68154 _ACEOF
68155 rm -f conftest.$ac_objext conftest$ac_exeext
68156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68157 (eval $ac_link) 2>conftest.er1
68158 ac_status=$?
68159 grep -v '^ *+' conftest.er1 >conftest.err
68160 rm -f conftest.er1
68161 cat conftest.err >&5
68162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68163 (exit $ac_status); } &&
68164 { ac_try='test -z "$ac_c_werror_flag"
68165 || test ! -s conftest.err'
68166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68167 (eval $ac_try) 2>&5
68168 ac_status=$?
68169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68170 (exit $ac_status); }; } &&
68171 { ac_try='test -s conftest$ac_exeext'
68172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68173 (eval $ac_try) 2>&5
68174 ac_status=$?
68175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68176 (exit $ac_status); }; }; then
68177 eval "$as_ac_var=yes"
68178 else
68179 echo "$as_me: failed program was:" >&5
68180 sed 's/^/| /' conftest.$ac_ext >&5
68182 eval "$as_ac_var=no"
68184 rm -f conftest.err conftest.$ac_objext \
68185 conftest$ac_exeext conftest.$ac_ext
68187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68189 if test `eval echo '${'$as_ac_var'}'` = yes; then
68190 cat >>confdefs.h <<_ACEOF
68191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68192 _ACEOF
68195 done
68197 else
68199 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
68200 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
68201 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
68202 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
68203 echo $ECHO_N "(cached) $ECHO_C" >&6
68204 else
68208 ac_ext=cc
68209 ac_cpp='$CXXCPP $CPPFLAGS'
68210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68214 cat >conftest.$ac_ext <<_ACEOF
68215 /* confdefs.h. */
68216 _ACEOF
68217 cat confdefs.h >>conftest.$ac_ext
68218 cat >>conftest.$ac_ext <<_ACEOF
68219 /* end confdefs.h. */
68220 #include <math.h>
68222 main ()
68224 _hypot(0, 0);
68226 return 0;
68228 _ACEOF
68229 rm -f conftest.$ac_objext
68230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68231 (eval $ac_compile) 2>conftest.er1
68232 ac_status=$?
68233 grep -v '^ *+' conftest.er1 >conftest.err
68234 rm -f conftest.er1
68235 cat conftest.err >&5
68236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68237 (exit $ac_status); } &&
68238 { ac_try='test -z "$ac_cxx_werror_flag"
68239 || test ! -s conftest.err'
68240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68241 (eval $ac_try) 2>&5
68242 ac_status=$?
68243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68244 (exit $ac_status); }; } &&
68245 { ac_try='test -s conftest.$ac_objext'
68246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68247 (eval $ac_try) 2>&5
68248 ac_status=$?
68249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68250 (exit $ac_status); }; }; then
68251 glibcxx_cv_func__hypot_use=yes
68252 else
68253 echo "$as_me: failed program was:" >&5
68254 sed 's/^/| /' conftest.$ac_ext >&5
68256 glibcxx_cv_func__hypot_use=no
68258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68259 ac_ext=c
68260 ac_cpp='$CPP $CPPFLAGS'
68261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68270 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68272 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68274 for ac_func in _hypot
68276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68277 echo "$as_me:$LINENO: checking for $ac_func" >&5
68278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68279 if eval "test \"\${$as_ac_var+set}\" = set"; then
68280 echo $ECHO_N "(cached) $ECHO_C" >&6
68281 else
68282 if test x$gcc_no_link = xyes; then
68283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68285 { (exit 1); exit 1; }; }
68287 cat >conftest.$ac_ext <<_ACEOF
68288 /* confdefs.h. */
68289 _ACEOF
68290 cat confdefs.h >>conftest.$ac_ext
68291 cat >>conftest.$ac_ext <<_ACEOF
68292 /* end confdefs.h. */
68293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68295 #define $ac_func innocuous_$ac_func
68297 /* System header to define __stub macros and hopefully few prototypes,
68298 which can conflict with char $ac_func (); below.
68299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68300 <limits.h> exists even on freestanding compilers. */
68302 #ifdef __STDC__
68303 # include <limits.h>
68304 #else
68305 # include <assert.h>
68306 #endif
68308 #undef $ac_func
68310 /* Override any gcc2 internal prototype to avoid an error. */
68311 #ifdef __cplusplus
68312 extern "C"
68314 #endif
68315 /* We use char because int might match the return type of a gcc2
68316 builtin and then its argument prototype would still apply. */
68317 char $ac_func ();
68318 /* The GNU C library defines this for functions which it implements
68319 to always fail with ENOSYS. Some functions are actually named
68320 something starting with __ and the normal name is an alias. */
68321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68322 choke me
68323 #else
68324 char (*f) () = $ac_func;
68325 #endif
68326 #ifdef __cplusplus
68328 #endif
68331 main ()
68333 return f != $ac_func;
68335 return 0;
68337 _ACEOF
68338 rm -f conftest.$ac_objext conftest$ac_exeext
68339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68340 (eval $ac_link) 2>conftest.er1
68341 ac_status=$?
68342 grep -v '^ *+' conftest.er1 >conftest.err
68343 rm -f conftest.er1
68344 cat conftest.err >&5
68345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68346 (exit $ac_status); } &&
68347 { ac_try='test -z "$ac_c_werror_flag"
68348 || test ! -s conftest.err'
68349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68350 (eval $ac_try) 2>&5
68351 ac_status=$?
68352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68353 (exit $ac_status); }; } &&
68354 { ac_try='test -s conftest$ac_exeext'
68355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68356 (eval $ac_try) 2>&5
68357 ac_status=$?
68358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68359 (exit $ac_status); }; }; then
68360 eval "$as_ac_var=yes"
68361 else
68362 echo "$as_me: failed program was:" >&5
68363 sed 's/^/| /' conftest.$ac_ext >&5
68365 eval "$as_ac_var=no"
68367 rm -f conftest.err conftest.$ac_objext \
68368 conftest$ac_exeext conftest.$ac_ext
68370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68372 if test `eval echo '${'$as_ac_var'}'` = yes; then
68373 cat >>confdefs.h <<_ACEOF
68374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68375 _ACEOF
68378 done
68388 echo "$as_me:$LINENO: checking for float trig functions" >&5
68389 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
68390 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
68391 echo $ECHO_N "(cached) $ECHO_C" >&6
68392 else
68396 ac_ext=cc
68397 ac_cpp='$CXXCPP $CPPFLAGS'
68398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68402 cat >conftest.$ac_ext <<_ACEOF
68403 /* confdefs.h. */
68404 _ACEOF
68405 cat confdefs.h >>conftest.$ac_ext
68406 cat >>conftest.$ac_ext <<_ACEOF
68407 /* end confdefs.h. */
68408 #include <math.h>
68410 main ()
68412 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68414 return 0;
68416 _ACEOF
68417 rm -f conftest.$ac_objext
68418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68419 (eval $ac_compile) 2>conftest.er1
68420 ac_status=$?
68421 grep -v '^ *+' conftest.er1 >conftest.err
68422 rm -f conftest.er1
68423 cat conftest.err >&5
68424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68425 (exit $ac_status); } &&
68426 { ac_try='test -z "$ac_cxx_werror_flag"
68427 || test ! -s conftest.err'
68428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68429 (eval $ac_try) 2>&5
68430 ac_status=$?
68431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68432 (exit $ac_status); }; } &&
68433 { ac_try='test -s conftest.$ac_objext'
68434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68435 (eval $ac_try) 2>&5
68436 ac_status=$?
68437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68438 (exit $ac_status); }; }; then
68439 glibcxx_cv_func_float_trig_use=yes
68440 else
68441 echo "$as_me: failed program was:" >&5
68442 sed 's/^/| /' conftest.$ac_ext >&5
68444 glibcxx_cv_func_float_trig_use=no
68446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68447 ac_ext=c
68448 ac_cpp='$CPP $CPPFLAGS'
68449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
68456 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
68457 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68467 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68470 echo "$as_me:$LINENO: checking for $ac_func" >&5
68471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68472 if eval "test \"\${$as_ac_var+set}\" = set"; then
68473 echo $ECHO_N "(cached) $ECHO_C" >&6
68474 else
68475 if test x$gcc_no_link = xyes; then
68476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68478 { (exit 1); exit 1; }; }
68480 cat >conftest.$ac_ext <<_ACEOF
68481 /* confdefs.h. */
68482 _ACEOF
68483 cat confdefs.h >>conftest.$ac_ext
68484 cat >>conftest.$ac_ext <<_ACEOF
68485 /* end confdefs.h. */
68486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68488 #define $ac_func innocuous_$ac_func
68490 /* System header to define __stub macros and hopefully few prototypes,
68491 which can conflict with char $ac_func (); below.
68492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68493 <limits.h> exists even on freestanding compilers. */
68495 #ifdef __STDC__
68496 # include <limits.h>
68497 #else
68498 # include <assert.h>
68499 #endif
68501 #undef $ac_func
68503 /* Override any gcc2 internal prototype to avoid an error. */
68504 #ifdef __cplusplus
68505 extern "C"
68507 #endif
68508 /* We use char because int might match the return type of a gcc2
68509 builtin and then its argument prototype would still apply. */
68510 char $ac_func ();
68511 /* The GNU C library defines this for functions which it implements
68512 to always fail with ENOSYS. Some functions are actually named
68513 something starting with __ and the normal name is an alias. */
68514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68515 choke me
68516 #else
68517 char (*f) () = $ac_func;
68518 #endif
68519 #ifdef __cplusplus
68521 #endif
68524 main ()
68526 return f != $ac_func;
68528 return 0;
68530 _ACEOF
68531 rm -f conftest.$ac_objext conftest$ac_exeext
68532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68533 (eval $ac_link) 2>conftest.er1
68534 ac_status=$?
68535 grep -v '^ *+' conftest.er1 >conftest.err
68536 rm -f conftest.er1
68537 cat conftest.err >&5
68538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68539 (exit $ac_status); } &&
68540 { ac_try='test -z "$ac_c_werror_flag"
68541 || test ! -s conftest.err'
68542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68543 (eval $ac_try) 2>&5
68544 ac_status=$?
68545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68546 (exit $ac_status); }; } &&
68547 { ac_try='test -s conftest$ac_exeext'
68548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68549 (eval $ac_try) 2>&5
68550 ac_status=$?
68551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68552 (exit $ac_status); }; }; then
68553 eval "$as_ac_var=yes"
68554 else
68555 echo "$as_me: failed program was:" >&5
68556 sed 's/^/| /' conftest.$ac_ext >&5
68558 eval "$as_ac_var=no"
68560 rm -f conftest.err conftest.$ac_objext \
68561 conftest$ac_exeext conftest.$ac_ext
68563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68565 if test `eval echo '${'$as_ac_var'}'` = yes; then
68566 cat >>confdefs.h <<_ACEOF
68567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68568 _ACEOF
68571 done
68573 else
68574 echo "$as_me:$LINENO: checking for _float trig functions" >&5
68575 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68576 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68577 echo $ECHO_N "(cached) $ECHO_C" >&6
68578 else
68582 ac_ext=cc
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat >conftest.$ac_ext <<_ACEOF
68589 /* confdefs.h. */
68590 _ACEOF
68591 cat confdefs.h >>conftest.$ac_ext
68592 cat >>conftest.$ac_ext <<_ACEOF
68593 /* end confdefs.h. */
68594 #include <math.h>
68596 main ()
68598 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68600 return 0;
68602 _ACEOF
68603 rm -f conftest.$ac_objext
68604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68605 (eval $ac_compile) 2>conftest.er1
68606 ac_status=$?
68607 grep -v '^ *+' conftest.er1 >conftest.err
68608 rm -f conftest.er1
68609 cat conftest.err >&5
68610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611 (exit $ac_status); } &&
68612 { ac_try='test -z "$ac_cxx_werror_flag"
68613 || test ! -s conftest.err'
68614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68615 (eval $ac_try) 2>&5
68616 ac_status=$?
68617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68618 (exit $ac_status); }; } &&
68619 { ac_try='test -s conftest.$ac_objext'
68620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68621 (eval $ac_try) 2>&5
68622 ac_status=$?
68623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68624 (exit $ac_status); }; }; then
68625 glibcxx_cv_func__float_trig_use=yes
68626 else
68627 echo "$as_me: failed program was:" >&5
68628 sed 's/^/| /' conftest.$ac_ext >&5
68630 glibcxx_cv_func__float_trig_use=no
68632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68633 ac_ext=c
68634 ac_cpp='$CPP $CPPFLAGS'
68635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68641 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68642 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68643 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68653 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68656 echo "$as_me:$LINENO: checking for $ac_func" >&5
68657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68658 if eval "test \"\${$as_ac_var+set}\" = set"; then
68659 echo $ECHO_N "(cached) $ECHO_C" >&6
68660 else
68661 if test x$gcc_no_link = xyes; then
68662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68664 { (exit 1); exit 1; }; }
68666 cat >conftest.$ac_ext <<_ACEOF
68667 /* confdefs.h. */
68668 _ACEOF
68669 cat confdefs.h >>conftest.$ac_ext
68670 cat >>conftest.$ac_ext <<_ACEOF
68671 /* end confdefs.h. */
68672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68674 #define $ac_func innocuous_$ac_func
68676 /* System header to define __stub macros and hopefully few prototypes,
68677 which can conflict with char $ac_func (); below.
68678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68679 <limits.h> exists even on freestanding compilers. */
68681 #ifdef __STDC__
68682 # include <limits.h>
68683 #else
68684 # include <assert.h>
68685 #endif
68687 #undef $ac_func
68689 /* Override any gcc2 internal prototype to avoid an error. */
68690 #ifdef __cplusplus
68691 extern "C"
68693 #endif
68694 /* We use char because int might match the return type of a gcc2
68695 builtin and then its argument prototype would still apply. */
68696 char $ac_func ();
68697 /* The GNU C library defines this for functions which it implements
68698 to always fail with ENOSYS. Some functions are actually named
68699 something starting with __ and the normal name is an alias. */
68700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68701 choke me
68702 #else
68703 char (*f) () = $ac_func;
68704 #endif
68705 #ifdef __cplusplus
68707 #endif
68710 main ()
68712 return f != $ac_func;
68714 return 0;
68716 _ACEOF
68717 rm -f conftest.$ac_objext conftest$ac_exeext
68718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68719 (eval $ac_link) 2>conftest.er1
68720 ac_status=$?
68721 grep -v '^ *+' conftest.er1 >conftest.err
68722 rm -f conftest.er1
68723 cat conftest.err >&5
68724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68725 (exit $ac_status); } &&
68726 { ac_try='test -z "$ac_c_werror_flag"
68727 || test ! -s conftest.err'
68728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68729 (eval $ac_try) 2>&5
68730 ac_status=$?
68731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68732 (exit $ac_status); }; } &&
68733 { ac_try='test -s conftest$ac_exeext'
68734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68735 (eval $ac_try) 2>&5
68736 ac_status=$?
68737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68738 (exit $ac_status); }; }; then
68739 eval "$as_ac_var=yes"
68740 else
68741 echo "$as_me: failed program was:" >&5
68742 sed 's/^/| /' conftest.$ac_ext >&5
68744 eval "$as_ac_var=no"
68746 rm -f conftest.err conftest.$ac_objext \
68747 conftest$ac_exeext conftest.$ac_ext
68749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68751 if test `eval echo '${'$as_ac_var'}'` = yes; then
68752 cat >>confdefs.h <<_ACEOF
68753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68754 _ACEOF
68757 done
68775 echo "$as_me:$LINENO: checking for float round functions" >&5
68776 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68777 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68778 echo $ECHO_N "(cached) $ECHO_C" >&6
68779 else
68783 ac_ext=cc
68784 ac_cpp='$CXXCPP $CPPFLAGS'
68785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68789 cat >conftest.$ac_ext <<_ACEOF
68790 /* confdefs.h. */
68791 _ACEOF
68792 cat confdefs.h >>conftest.$ac_ext
68793 cat >>conftest.$ac_ext <<_ACEOF
68794 /* end confdefs.h. */
68795 #include <math.h>
68797 main ()
68799 ceilf (0); floorf (0);
68801 return 0;
68803 _ACEOF
68804 rm -f conftest.$ac_objext
68805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68806 (eval $ac_compile) 2>conftest.er1
68807 ac_status=$?
68808 grep -v '^ *+' conftest.er1 >conftest.err
68809 rm -f conftest.er1
68810 cat conftest.err >&5
68811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68812 (exit $ac_status); } &&
68813 { ac_try='test -z "$ac_cxx_werror_flag"
68814 || test ! -s conftest.err'
68815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68816 (eval $ac_try) 2>&5
68817 ac_status=$?
68818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68819 (exit $ac_status); }; } &&
68820 { ac_try='test -s conftest.$ac_objext'
68821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68822 (eval $ac_try) 2>&5
68823 ac_status=$?
68824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68825 (exit $ac_status); }; }; then
68826 glibcxx_cv_func_float_round_use=yes
68827 else
68828 echo "$as_me: failed program was:" >&5
68829 sed 's/^/| /' conftest.$ac_ext >&5
68831 glibcxx_cv_func_float_round_use=no
68833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68834 ac_ext=c
68835 ac_cpp='$CPP $CPPFLAGS'
68836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68843 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68844 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68847 for ac_func in ceilf floorf
68849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68850 echo "$as_me:$LINENO: checking for $ac_func" >&5
68851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68852 if eval "test \"\${$as_ac_var+set}\" = set"; then
68853 echo $ECHO_N "(cached) $ECHO_C" >&6
68854 else
68855 if test x$gcc_no_link = xyes; then
68856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68858 { (exit 1); exit 1; }; }
68860 cat >conftest.$ac_ext <<_ACEOF
68861 /* confdefs.h. */
68862 _ACEOF
68863 cat confdefs.h >>conftest.$ac_ext
68864 cat >>conftest.$ac_ext <<_ACEOF
68865 /* end confdefs.h. */
68866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68868 #define $ac_func innocuous_$ac_func
68870 /* System header to define __stub macros and hopefully few prototypes,
68871 which can conflict with char $ac_func (); below.
68872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68873 <limits.h> exists even on freestanding compilers. */
68875 #ifdef __STDC__
68876 # include <limits.h>
68877 #else
68878 # include <assert.h>
68879 #endif
68881 #undef $ac_func
68883 /* Override any gcc2 internal prototype to avoid an error. */
68884 #ifdef __cplusplus
68885 extern "C"
68887 #endif
68888 /* We use char because int might match the return type of a gcc2
68889 builtin and then its argument prototype would still apply. */
68890 char $ac_func ();
68891 /* The GNU C library defines this for functions which it implements
68892 to always fail with ENOSYS. Some functions are actually named
68893 something starting with __ and the normal name is an alias. */
68894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68895 choke me
68896 #else
68897 char (*f) () = $ac_func;
68898 #endif
68899 #ifdef __cplusplus
68901 #endif
68904 main ()
68906 return f != $ac_func;
68908 return 0;
68910 _ACEOF
68911 rm -f conftest.$ac_objext conftest$ac_exeext
68912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68913 (eval $ac_link) 2>conftest.er1
68914 ac_status=$?
68915 grep -v '^ *+' conftest.er1 >conftest.err
68916 rm -f conftest.er1
68917 cat conftest.err >&5
68918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68919 (exit $ac_status); } &&
68920 { ac_try='test -z "$ac_c_werror_flag"
68921 || test ! -s conftest.err'
68922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68923 (eval $ac_try) 2>&5
68924 ac_status=$?
68925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68926 (exit $ac_status); }; } &&
68927 { ac_try='test -s conftest$ac_exeext'
68928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68929 (eval $ac_try) 2>&5
68930 ac_status=$?
68931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68932 (exit $ac_status); }; }; then
68933 eval "$as_ac_var=yes"
68934 else
68935 echo "$as_me: failed program was:" >&5
68936 sed 's/^/| /' conftest.$ac_ext >&5
68938 eval "$as_ac_var=no"
68940 rm -f conftest.err conftest.$ac_objext \
68941 conftest$ac_exeext conftest.$ac_ext
68943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68945 if test `eval echo '${'$as_ac_var'}'` = yes; then
68946 cat >>confdefs.h <<_ACEOF
68947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68948 _ACEOF
68951 done
68953 else
68954 echo "$as_me:$LINENO: checking for _float round functions" >&5
68955 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68956 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68957 echo $ECHO_N "(cached) $ECHO_C" >&6
68958 else
68962 ac_ext=cc
68963 ac_cpp='$CXXCPP $CPPFLAGS'
68964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68968 cat >conftest.$ac_ext <<_ACEOF
68969 /* confdefs.h. */
68970 _ACEOF
68971 cat confdefs.h >>conftest.$ac_ext
68972 cat >>conftest.$ac_ext <<_ACEOF
68973 /* end confdefs.h. */
68974 #include <math.h>
68976 main ()
68978 _ceilf (0); _floorf (0);
68980 return 0;
68982 _ACEOF
68983 rm -f conftest.$ac_objext
68984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68985 (eval $ac_compile) 2>conftest.er1
68986 ac_status=$?
68987 grep -v '^ *+' conftest.er1 >conftest.err
68988 rm -f conftest.er1
68989 cat conftest.err >&5
68990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68991 (exit $ac_status); } &&
68992 { ac_try='test -z "$ac_cxx_werror_flag"
68993 || test ! -s conftest.err'
68994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68995 (eval $ac_try) 2>&5
68996 ac_status=$?
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); }; } &&
68999 { ac_try='test -s conftest.$ac_objext'
69000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69001 (eval $ac_try) 2>&5
69002 ac_status=$?
69003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69004 (exit $ac_status); }; }; then
69005 glibcxx_cv_func__float_round_use=yes
69006 else
69007 echo "$as_me: failed program was:" >&5
69008 sed 's/^/| /' conftest.$ac_ext >&5
69010 glibcxx_cv_func__float_round_use=no
69012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69013 ac_ext=c
69014 ac_cpp='$CPP $CPPFLAGS'
69015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69022 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69023 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69026 for ac_func in _ceilf _floorf
69028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69029 echo "$as_me:$LINENO: checking for $ac_func" >&5
69030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69031 if eval "test \"\${$as_ac_var+set}\" = set"; then
69032 echo $ECHO_N "(cached) $ECHO_C" >&6
69033 else
69034 if test x$gcc_no_link = xyes; then
69035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69037 { (exit 1); exit 1; }; }
69039 cat >conftest.$ac_ext <<_ACEOF
69040 /* confdefs.h. */
69041 _ACEOF
69042 cat confdefs.h >>conftest.$ac_ext
69043 cat >>conftest.$ac_ext <<_ACEOF
69044 /* end confdefs.h. */
69045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69047 #define $ac_func innocuous_$ac_func
69049 /* System header to define __stub macros and hopefully few prototypes,
69050 which can conflict with char $ac_func (); below.
69051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69052 <limits.h> exists even on freestanding compilers. */
69054 #ifdef __STDC__
69055 # include <limits.h>
69056 #else
69057 # include <assert.h>
69058 #endif
69060 #undef $ac_func
69062 /* Override any gcc2 internal prototype to avoid an error. */
69063 #ifdef __cplusplus
69064 extern "C"
69066 #endif
69067 /* We use char because int might match the return type of a gcc2
69068 builtin and then its argument prototype would still apply. */
69069 char $ac_func ();
69070 /* The GNU C library defines this for functions which it implements
69071 to always fail with ENOSYS. Some functions are actually named
69072 something starting with __ and the normal name is an alias. */
69073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69074 choke me
69075 #else
69076 char (*f) () = $ac_func;
69077 #endif
69078 #ifdef __cplusplus
69080 #endif
69083 main ()
69085 return f != $ac_func;
69087 return 0;
69089 _ACEOF
69090 rm -f conftest.$ac_objext conftest$ac_exeext
69091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69092 (eval $ac_link) 2>conftest.er1
69093 ac_status=$?
69094 grep -v '^ *+' conftest.er1 >conftest.err
69095 rm -f conftest.er1
69096 cat conftest.err >&5
69097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69098 (exit $ac_status); } &&
69099 { ac_try='test -z "$ac_c_werror_flag"
69100 || test ! -s conftest.err'
69101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69102 (eval $ac_try) 2>&5
69103 ac_status=$?
69104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69105 (exit $ac_status); }; } &&
69106 { ac_try='test -s conftest$ac_exeext'
69107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69108 (eval $ac_try) 2>&5
69109 ac_status=$?
69110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69111 (exit $ac_status); }; }; then
69112 eval "$as_ac_var=yes"
69113 else
69114 echo "$as_me: failed program was:" >&5
69115 sed 's/^/| /' conftest.$ac_ext >&5
69117 eval "$as_ac_var=no"
69119 rm -f conftest.err conftest.$ac_objext \
69120 conftest$ac_exeext conftest.$ac_ext
69122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69124 if test `eval echo '${'$as_ac_var'}'` = yes; then
69125 cat >>confdefs.h <<_ACEOF
69126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69127 _ACEOF
69130 done
69142 echo "$as_me:$LINENO: checking for expf declaration" >&5
69143 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
69144 if test x${glibcxx_cv_func_expf_use+set} != xset; then
69145 if test "${glibcxx_cv_func_expf_use+set}" = set; then
69146 echo $ECHO_N "(cached) $ECHO_C" >&6
69147 else
69151 ac_ext=cc
69152 ac_cpp='$CXXCPP $CPPFLAGS'
69153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69157 cat >conftest.$ac_ext <<_ACEOF
69158 /* confdefs.h. */
69159 _ACEOF
69160 cat confdefs.h >>conftest.$ac_ext
69161 cat >>conftest.$ac_ext <<_ACEOF
69162 /* end confdefs.h. */
69163 #include <math.h>
69164 #ifdef HAVE_IEEEFP_H
69165 #include <ieeefp.h>
69166 #endif
69169 main ()
69171 expf(0);
69173 return 0;
69175 _ACEOF
69176 rm -f conftest.$ac_objext
69177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69178 (eval $ac_compile) 2>conftest.er1
69179 ac_status=$?
69180 grep -v '^ *+' conftest.er1 >conftest.err
69181 rm -f conftest.er1
69182 cat conftest.err >&5
69183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69184 (exit $ac_status); } &&
69185 { ac_try='test -z "$ac_cxx_werror_flag"
69186 || test ! -s conftest.err'
69187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69188 (eval $ac_try) 2>&5
69189 ac_status=$?
69190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69191 (exit $ac_status); }; } &&
69192 { ac_try='test -s conftest.$ac_objext'
69193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194 (eval $ac_try) 2>&5
69195 ac_status=$?
69196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197 (exit $ac_status); }; }; then
69198 glibcxx_cv_func_expf_use=yes
69199 else
69200 echo "$as_me: failed program was:" >&5
69201 sed 's/^/| /' conftest.$ac_ext >&5
69203 glibcxx_cv_func_expf_use=no
69205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69206 ac_ext=c
69207 ac_cpp='$CPP $CPPFLAGS'
69208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
69217 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
69219 if test x$glibcxx_cv_func_expf_use = x"yes"; then
69221 for ac_func in expf
69223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69224 echo "$as_me:$LINENO: checking for $ac_func" >&5
69225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69226 if eval "test \"\${$as_ac_var+set}\" = set"; then
69227 echo $ECHO_N "(cached) $ECHO_C" >&6
69228 else
69229 if test x$gcc_no_link = xyes; then
69230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69232 { (exit 1); exit 1; }; }
69234 cat >conftest.$ac_ext <<_ACEOF
69235 /* confdefs.h. */
69236 _ACEOF
69237 cat confdefs.h >>conftest.$ac_ext
69238 cat >>conftest.$ac_ext <<_ACEOF
69239 /* end confdefs.h. */
69240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69242 #define $ac_func innocuous_$ac_func
69244 /* System header to define __stub macros and hopefully few prototypes,
69245 which can conflict with char $ac_func (); below.
69246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69247 <limits.h> exists even on freestanding compilers. */
69249 #ifdef __STDC__
69250 # include <limits.h>
69251 #else
69252 # include <assert.h>
69253 #endif
69255 #undef $ac_func
69257 /* Override any gcc2 internal prototype to avoid an error. */
69258 #ifdef __cplusplus
69259 extern "C"
69261 #endif
69262 /* We use char because int might match the return type of a gcc2
69263 builtin and then its argument prototype would still apply. */
69264 char $ac_func ();
69265 /* The GNU C library defines this for functions which it implements
69266 to always fail with ENOSYS. Some functions are actually named
69267 something starting with __ and the normal name is an alias. */
69268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69269 choke me
69270 #else
69271 char (*f) () = $ac_func;
69272 #endif
69273 #ifdef __cplusplus
69275 #endif
69278 main ()
69280 return f != $ac_func;
69282 return 0;
69284 _ACEOF
69285 rm -f conftest.$ac_objext conftest$ac_exeext
69286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69287 (eval $ac_link) 2>conftest.er1
69288 ac_status=$?
69289 grep -v '^ *+' conftest.er1 >conftest.err
69290 rm -f conftest.er1
69291 cat conftest.err >&5
69292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69293 (exit $ac_status); } &&
69294 { ac_try='test -z "$ac_c_werror_flag"
69295 || test ! -s conftest.err'
69296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69297 (eval $ac_try) 2>&5
69298 ac_status=$?
69299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300 (exit $ac_status); }; } &&
69301 { ac_try='test -s conftest$ac_exeext'
69302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303 (eval $ac_try) 2>&5
69304 ac_status=$?
69305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306 (exit $ac_status); }; }; then
69307 eval "$as_ac_var=yes"
69308 else
69309 echo "$as_me: failed program was:" >&5
69310 sed 's/^/| /' conftest.$ac_ext >&5
69312 eval "$as_ac_var=no"
69314 rm -f conftest.err conftest.$ac_objext \
69315 conftest$ac_exeext conftest.$ac_ext
69317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69319 if test `eval echo '${'$as_ac_var'}'` = yes; then
69320 cat >>confdefs.h <<_ACEOF
69321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69322 _ACEOF
69325 done
69327 else
69329 echo "$as_me:$LINENO: checking for _expf declaration" >&5
69330 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69331 if test x${glibcxx_cv_func__expf_use+set} != xset; then
69332 if test "${glibcxx_cv_func__expf_use+set}" = set; then
69333 echo $ECHO_N "(cached) $ECHO_C" >&6
69334 else
69338 ac_ext=cc
69339 ac_cpp='$CXXCPP $CPPFLAGS'
69340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69344 cat >conftest.$ac_ext <<_ACEOF
69345 /* confdefs.h. */
69346 _ACEOF
69347 cat confdefs.h >>conftest.$ac_ext
69348 cat >>conftest.$ac_ext <<_ACEOF
69349 /* end confdefs.h. */
69350 #include <math.h>
69351 #ifdef HAVE_IEEEFP_H
69352 #include <ieeefp.h>
69353 #endif
69356 main ()
69358 _expf(0);
69360 return 0;
69362 _ACEOF
69363 rm -f conftest.$ac_objext
69364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69365 (eval $ac_compile) 2>conftest.er1
69366 ac_status=$?
69367 grep -v '^ *+' conftest.er1 >conftest.err
69368 rm -f conftest.er1
69369 cat conftest.err >&5
69370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69371 (exit $ac_status); } &&
69372 { ac_try='test -z "$ac_cxx_werror_flag"
69373 || test ! -s conftest.err'
69374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69375 (eval $ac_try) 2>&5
69376 ac_status=$?
69377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378 (exit $ac_status); }; } &&
69379 { ac_try='test -s conftest.$ac_objext'
69380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69381 (eval $ac_try) 2>&5
69382 ac_status=$?
69383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69384 (exit $ac_status); }; }; then
69385 glibcxx_cv_func__expf_use=yes
69386 else
69387 echo "$as_me: failed program was:" >&5
69388 sed 's/^/| /' conftest.$ac_ext >&5
69390 glibcxx_cv_func__expf_use=no
69392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69393 ac_ext=c
69394 ac_cpp='$CPP $CPPFLAGS'
69395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
69404 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
69406 if test x$glibcxx_cv_func__expf_use = x"yes"; then
69408 for ac_func in _expf
69410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69411 echo "$as_me:$LINENO: checking for $ac_func" >&5
69412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69413 if eval "test \"\${$as_ac_var+set}\" = set"; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69416 if test x$gcc_no_link = xyes; then
69417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69419 { (exit 1); exit 1; }; }
69421 cat >conftest.$ac_ext <<_ACEOF
69422 /* confdefs.h. */
69423 _ACEOF
69424 cat confdefs.h >>conftest.$ac_ext
69425 cat >>conftest.$ac_ext <<_ACEOF
69426 /* end confdefs.h. */
69427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69429 #define $ac_func innocuous_$ac_func
69431 /* System header to define __stub macros and hopefully few prototypes,
69432 which can conflict with char $ac_func (); below.
69433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69434 <limits.h> exists even on freestanding compilers. */
69436 #ifdef __STDC__
69437 # include <limits.h>
69438 #else
69439 # include <assert.h>
69440 #endif
69442 #undef $ac_func
69444 /* Override any gcc2 internal prototype to avoid an error. */
69445 #ifdef __cplusplus
69446 extern "C"
69448 #endif
69449 /* We use char because int might match the return type of a gcc2
69450 builtin and then its argument prototype would still apply. */
69451 char $ac_func ();
69452 /* The GNU C library defines this for functions which it implements
69453 to always fail with ENOSYS. Some functions are actually named
69454 something starting with __ and the normal name is an alias. */
69455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69456 choke me
69457 #else
69458 char (*f) () = $ac_func;
69459 #endif
69460 #ifdef __cplusplus
69462 #endif
69465 main ()
69467 return f != $ac_func;
69469 return 0;
69471 _ACEOF
69472 rm -f conftest.$ac_objext conftest$ac_exeext
69473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69474 (eval $ac_link) 2>conftest.er1
69475 ac_status=$?
69476 grep -v '^ *+' conftest.er1 >conftest.err
69477 rm -f conftest.er1
69478 cat conftest.err >&5
69479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69480 (exit $ac_status); } &&
69481 { ac_try='test -z "$ac_c_werror_flag"
69482 || test ! -s conftest.err'
69483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69484 (eval $ac_try) 2>&5
69485 ac_status=$?
69486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69487 (exit $ac_status); }; } &&
69488 { ac_try='test -s conftest$ac_exeext'
69489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69490 (eval $ac_try) 2>&5
69491 ac_status=$?
69492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69493 (exit $ac_status); }; }; then
69494 eval "$as_ac_var=yes"
69495 else
69496 echo "$as_me: failed program was:" >&5
69497 sed 's/^/| /' conftest.$ac_ext >&5
69499 eval "$as_ac_var=no"
69501 rm -f conftest.err conftest.$ac_objext \
69502 conftest$ac_exeext conftest.$ac_ext
69504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69506 if test `eval echo '${'$as_ac_var'}'` = yes; then
69507 cat >>confdefs.h <<_ACEOF
69508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69509 _ACEOF
69512 done
69522 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
69523 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
69524 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
69525 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
69526 echo $ECHO_N "(cached) $ECHO_C" >&6
69527 else
69531 ac_ext=cc
69532 ac_cpp='$CXXCPP $CPPFLAGS'
69533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69537 cat >conftest.$ac_ext <<_ACEOF
69538 /* confdefs.h. */
69539 _ACEOF
69540 cat confdefs.h >>conftest.$ac_ext
69541 cat >>conftest.$ac_ext <<_ACEOF
69542 /* end confdefs.h. */
69543 #include <math.h>
69544 #ifdef HAVE_IEEEFP_H
69545 #include <ieeefp.h>
69546 #endif
69549 main ()
69551 isnanf(0);
69553 return 0;
69555 _ACEOF
69556 rm -f conftest.$ac_objext
69557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69558 (eval $ac_compile) 2>conftest.er1
69559 ac_status=$?
69560 grep -v '^ *+' conftest.er1 >conftest.err
69561 rm -f conftest.er1
69562 cat conftest.err >&5
69563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69564 (exit $ac_status); } &&
69565 { ac_try='test -z "$ac_cxx_werror_flag"
69566 || test ! -s conftest.err'
69567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69568 (eval $ac_try) 2>&5
69569 ac_status=$?
69570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69571 (exit $ac_status); }; } &&
69572 { ac_try='test -s conftest.$ac_objext'
69573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69574 (eval $ac_try) 2>&5
69575 ac_status=$?
69576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69577 (exit $ac_status); }; }; then
69578 glibcxx_cv_func_isnanf_use=yes
69579 else
69580 echo "$as_me: failed program was:" >&5
69581 sed 's/^/| /' conftest.$ac_ext >&5
69583 glibcxx_cv_func_isnanf_use=no
69585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69586 ac_ext=c
69587 ac_cpp='$CPP $CPPFLAGS'
69588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69597 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69599 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69601 for ac_func in isnanf
69603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69604 echo "$as_me:$LINENO: checking for $ac_func" >&5
69605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69606 if eval "test \"\${$as_ac_var+set}\" = set"; then
69607 echo $ECHO_N "(cached) $ECHO_C" >&6
69608 else
69609 if test x$gcc_no_link = xyes; then
69610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69612 { (exit 1); exit 1; }; }
69614 cat >conftest.$ac_ext <<_ACEOF
69615 /* confdefs.h. */
69616 _ACEOF
69617 cat confdefs.h >>conftest.$ac_ext
69618 cat >>conftest.$ac_ext <<_ACEOF
69619 /* end confdefs.h. */
69620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69622 #define $ac_func innocuous_$ac_func
69624 /* System header to define __stub macros and hopefully few prototypes,
69625 which can conflict with char $ac_func (); below.
69626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69627 <limits.h> exists even on freestanding compilers. */
69629 #ifdef __STDC__
69630 # include <limits.h>
69631 #else
69632 # include <assert.h>
69633 #endif
69635 #undef $ac_func
69637 /* Override any gcc2 internal prototype to avoid an error. */
69638 #ifdef __cplusplus
69639 extern "C"
69641 #endif
69642 /* We use char because int might match the return type of a gcc2
69643 builtin and then its argument prototype would still apply. */
69644 char $ac_func ();
69645 /* The GNU C library defines this for functions which it implements
69646 to always fail with ENOSYS. Some functions are actually named
69647 something starting with __ and the normal name is an alias. */
69648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69649 choke me
69650 #else
69651 char (*f) () = $ac_func;
69652 #endif
69653 #ifdef __cplusplus
69655 #endif
69658 main ()
69660 return f != $ac_func;
69662 return 0;
69664 _ACEOF
69665 rm -f conftest.$ac_objext conftest$ac_exeext
69666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69667 (eval $ac_link) 2>conftest.er1
69668 ac_status=$?
69669 grep -v '^ *+' conftest.er1 >conftest.err
69670 rm -f conftest.er1
69671 cat conftest.err >&5
69672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673 (exit $ac_status); } &&
69674 { ac_try='test -z "$ac_c_werror_flag"
69675 || test ! -s conftest.err'
69676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69677 (eval $ac_try) 2>&5
69678 ac_status=$?
69679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69680 (exit $ac_status); }; } &&
69681 { ac_try='test -s conftest$ac_exeext'
69682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69683 (eval $ac_try) 2>&5
69684 ac_status=$?
69685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69686 (exit $ac_status); }; }; then
69687 eval "$as_ac_var=yes"
69688 else
69689 echo "$as_me: failed program was:" >&5
69690 sed 's/^/| /' conftest.$ac_ext >&5
69692 eval "$as_ac_var=no"
69694 rm -f conftest.err conftest.$ac_objext \
69695 conftest$ac_exeext conftest.$ac_ext
69697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69699 if test `eval echo '${'$as_ac_var'}'` = yes; then
69700 cat >>confdefs.h <<_ACEOF
69701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69702 _ACEOF
69705 done
69707 else
69709 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69710 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69711 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69712 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69713 echo $ECHO_N "(cached) $ECHO_C" >&6
69714 else
69718 ac_ext=cc
69719 ac_cpp='$CXXCPP $CPPFLAGS'
69720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69724 cat >conftest.$ac_ext <<_ACEOF
69725 /* confdefs.h. */
69726 _ACEOF
69727 cat confdefs.h >>conftest.$ac_ext
69728 cat >>conftest.$ac_ext <<_ACEOF
69729 /* end confdefs.h. */
69730 #include <math.h>
69731 #ifdef HAVE_IEEEFP_H
69732 #include <ieeefp.h>
69733 #endif
69736 main ()
69738 _isnanf(0);
69740 return 0;
69742 _ACEOF
69743 rm -f conftest.$ac_objext
69744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69745 (eval $ac_compile) 2>conftest.er1
69746 ac_status=$?
69747 grep -v '^ *+' conftest.er1 >conftest.err
69748 rm -f conftest.er1
69749 cat conftest.err >&5
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); } &&
69752 { ac_try='test -z "$ac_cxx_werror_flag"
69753 || test ! -s conftest.err'
69754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69755 (eval $ac_try) 2>&5
69756 ac_status=$?
69757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69758 (exit $ac_status); }; } &&
69759 { ac_try='test -s conftest.$ac_objext'
69760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69761 (eval $ac_try) 2>&5
69762 ac_status=$?
69763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69764 (exit $ac_status); }; }; then
69765 glibcxx_cv_func__isnanf_use=yes
69766 else
69767 echo "$as_me: failed program was:" >&5
69768 sed 's/^/| /' conftest.$ac_ext >&5
69770 glibcxx_cv_func__isnanf_use=no
69772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69773 ac_ext=c
69774 ac_cpp='$CPP $CPPFLAGS'
69775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69784 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69786 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69788 for ac_func in _isnanf
69790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69791 echo "$as_me:$LINENO: checking for $ac_func" >&5
69792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69793 if eval "test \"\${$as_ac_var+set}\" = set"; then
69794 echo $ECHO_N "(cached) $ECHO_C" >&6
69795 else
69796 if test x$gcc_no_link = xyes; then
69797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69799 { (exit 1); exit 1; }; }
69801 cat >conftest.$ac_ext <<_ACEOF
69802 /* confdefs.h. */
69803 _ACEOF
69804 cat confdefs.h >>conftest.$ac_ext
69805 cat >>conftest.$ac_ext <<_ACEOF
69806 /* end confdefs.h. */
69807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69809 #define $ac_func innocuous_$ac_func
69811 /* System header to define __stub macros and hopefully few prototypes,
69812 which can conflict with char $ac_func (); below.
69813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69814 <limits.h> exists even on freestanding compilers. */
69816 #ifdef __STDC__
69817 # include <limits.h>
69818 #else
69819 # include <assert.h>
69820 #endif
69822 #undef $ac_func
69824 /* Override any gcc2 internal prototype to avoid an error. */
69825 #ifdef __cplusplus
69826 extern "C"
69828 #endif
69829 /* We use char because int might match the return type of a gcc2
69830 builtin and then its argument prototype would still apply. */
69831 char $ac_func ();
69832 /* The GNU C library defines this for functions which it implements
69833 to always fail with ENOSYS. Some functions are actually named
69834 something starting with __ and the normal name is an alias. */
69835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69836 choke me
69837 #else
69838 char (*f) () = $ac_func;
69839 #endif
69840 #ifdef __cplusplus
69842 #endif
69845 main ()
69847 return f != $ac_func;
69849 return 0;
69851 _ACEOF
69852 rm -f conftest.$ac_objext conftest$ac_exeext
69853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69854 (eval $ac_link) 2>conftest.er1
69855 ac_status=$?
69856 grep -v '^ *+' conftest.er1 >conftest.err
69857 rm -f conftest.er1
69858 cat conftest.err >&5
69859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69860 (exit $ac_status); } &&
69861 { ac_try='test -z "$ac_c_werror_flag"
69862 || test ! -s conftest.err'
69863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69864 (eval $ac_try) 2>&5
69865 ac_status=$?
69866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69867 (exit $ac_status); }; } &&
69868 { ac_try='test -s conftest$ac_exeext'
69869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69870 (eval $ac_try) 2>&5
69871 ac_status=$?
69872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69873 (exit $ac_status); }; }; then
69874 eval "$as_ac_var=yes"
69875 else
69876 echo "$as_me: failed program was:" >&5
69877 sed 's/^/| /' conftest.$ac_ext >&5
69879 eval "$as_ac_var=no"
69881 rm -f conftest.err conftest.$ac_objext \
69882 conftest$ac_exeext conftest.$ac_ext
69884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69886 if test `eval echo '${'$as_ac_var'}'` = yes; then
69887 cat >>confdefs.h <<_ACEOF
69888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69889 _ACEOF
69892 done
69902 echo "$as_me:$LINENO: checking for isinff declaration" >&5
69903 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69904 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69905 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69906 echo $ECHO_N "(cached) $ECHO_C" >&6
69907 else
69911 ac_ext=cc
69912 ac_cpp='$CXXCPP $CPPFLAGS'
69913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69917 cat >conftest.$ac_ext <<_ACEOF
69918 /* confdefs.h. */
69919 _ACEOF
69920 cat confdefs.h >>conftest.$ac_ext
69921 cat >>conftest.$ac_ext <<_ACEOF
69922 /* end confdefs.h. */
69923 #include <math.h>
69924 #ifdef HAVE_IEEEFP_H
69925 #include <ieeefp.h>
69926 #endif
69929 main ()
69931 isinff(0);
69933 return 0;
69935 _ACEOF
69936 rm -f conftest.$ac_objext
69937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69938 (eval $ac_compile) 2>conftest.er1
69939 ac_status=$?
69940 grep -v '^ *+' conftest.er1 >conftest.err
69941 rm -f conftest.er1
69942 cat conftest.err >&5
69943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944 (exit $ac_status); } &&
69945 { ac_try='test -z "$ac_cxx_werror_flag"
69946 || test ! -s conftest.err'
69947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69948 (eval $ac_try) 2>&5
69949 ac_status=$?
69950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69951 (exit $ac_status); }; } &&
69952 { ac_try='test -s conftest.$ac_objext'
69953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69954 (eval $ac_try) 2>&5
69955 ac_status=$?
69956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957 (exit $ac_status); }; }; then
69958 glibcxx_cv_func_isinff_use=yes
69959 else
69960 echo "$as_me: failed program was:" >&5
69961 sed 's/^/| /' conftest.$ac_ext >&5
69963 glibcxx_cv_func_isinff_use=no
69965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69966 ac_ext=c
69967 ac_cpp='$CPP $CPPFLAGS'
69968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69977 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69979 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69981 for ac_func in isinff
69983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69984 echo "$as_me:$LINENO: checking for $ac_func" >&5
69985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69986 if eval "test \"\${$as_ac_var+set}\" = set"; then
69987 echo $ECHO_N "(cached) $ECHO_C" >&6
69988 else
69989 if test x$gcc_no_link = xyes; then
69990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69992 { (exit 1); exit 1; }; }
69994 cat >conftest.$ac_ext <<_ACEOF
69995 /* confdefs.h. */
69996 _ACEOF
69997 cat confdefs.h >>conftest.$ac_ext
69998 cat >>conftest.$ac_ext <<_ACEOF
69999 /* end confdefs.h. */
70000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70002 #define $ac_func innocuous_$ac_func
70004 /* System header to define __stub macros and hopefully few prototypes,
70005 which can conflict with char $ac_func (); below.
70006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70007 <limits.h> exists even on freestanding compilers. */
70009 #ifdef __STDC__
70010 # include <limits.h>
70011 #else
70012 # include <assert.h>
70013 #endif
70015 #undef $ac_func
70017 /* Override any gcc2 internal prototype to avoid an error. */
70018 #ifdef __cplusplus
70019 extern "C"
70021 #endif
70022 /* We use char because int might match the return type of a gcc2
70023 builtin and then its argument prototype would still apply. */
70024 char $ac_func ();
70025 /* The GNU C library defines this for functions which it implements
70026 to always fail with ENOSYS. Some functions are actually named
70027 something starting with __ and the normal name is an alias. */
70028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70029 choke me
70030 #else
70031 char (*f) () = $ac_func;
70032 #endif
70033 #ifdef __cplusplus
70035 #endif
70038 main ()
70040 return f != $ac_func;
70042 return 0;
70044 _ACEOF
70045 rm -f conftest.$ac_objext conftest$ac_exeext
70046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70047 (eval $ac_link) 2>conftest.er1
70048 ac_status=$?
70049 grep -v '^ *+' conftest.er1 >conftest.err
70050 rm -f conftest.er1
70051 cat conftest.err >&5
70052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70053 (exit $ac_status); } &&
70054 { ac_try='test -z "$ac_c_werror_flag"
70055 || test ! -s conftest.err'
70056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70057 (eval $ac_try) 2>&5
70058 ac_status=$?
70059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70060 (exit $ac_status); }; } &&
70061 { ac_try='test -s conftest$ac_exeext'
70062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70063 (eval $ac_try) 2>&5
70064 ac_status=$?
70065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70066 (exit $ac_status); }; }; then
70067 eval "$as_ac_var=yes"
70068 else
70069 echo "$as_me: failed program was:" >&5
70070 sed 's/^/| /' conftest.$ac_ext >&5
70072 eval "$as_ac_var=no"
70074 rm -f conftest.err conftest.$ac_objext \
70075 conftest$ac_exeext conftest.$ac_ext
70077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70079 if test `eval echo '${'$as_ac_var'}'` = yes; then
70080 cat >>confdefs.h <<_ACEOF
70081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70082 _ACEOF
70085 done
70087 else
70089 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
70090 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
70091 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
70092 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
70093 echo $ECHO_N "(cached) $ECHO_C" >&6
70094 else
70098 ac_ext=cc
70099 ac_cpp='$CXXCPP $CPPFLAGS'
70100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70104 cat >conftest.$ac_ext <<_ACEOF
70105 /* confdefs.h. */
70106 _ACEOF
70107 cat confdefs.h >>conftest.$ac_ext
70108 cat >>conftest.$ac_ext <<_ACEOF
70109 /* end confdefs.h. */
70110 #include <math.h>
70111 #ifdef HAVE_IEEEFP_H
70112 #include <ieeefp.h>
70113 #endif
70116 main ()
70118 _isinff(0);
70120 return 0;
70122 _ACEOF
70123 rm -f conftest.$ac_objext
70124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70125 (eval $ac_compile) 2>conftest.er1
70126 ac_status=$?
70127 grep -v '^ *+' conftest.er1 >conftest.err
70128 rm -f conftest.er1
70129 cat conftest.err >&5
70130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131 (exit $ac_status); } &&
70132 { ac_try='test -z "$ac_cxx_werror_flag"
70133 || test ! -s conftest.err'
70134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135 (eval $ac_try) 2>&5
70136 ac_status=$?
70137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138 (exit $ac_status); }; } &&
70139 { ac_try='test -s conftest.$ac_objext'
70140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70141 (eval $ac_try) 2>&5
70142 ac_status=$?
70143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70144 (exit $ac_status); }; }; then
70145 glibcxx_cv_func__isinff_use=yes
70146 else
70147 echo "$as_me: failed program was:" >&5
70148 sed 's/^/| /' conftest.$ac_ext >&5
70150 glibcxx_cv_func__isinff_use=no
70152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70153 ac_ext=c
70154 ac_cpp='$CPP $CPPFLAGS'
70155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
70164 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
70166 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
70168 for ac_func in _isinff
70170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70171 echo "$as_me:$LINENO: checking for $ac_func" >&5
70172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70173 if eval "test \"\${$as_ac_var+set}\" = set"; then
70174 echo $ECHO_N "(cached) $ECHO_C" >&6
70175 else
70176 if test x$gcc_no_link = xyes; then
70177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70179 { (exit 1); exit 1; }; }
70181 cat >conftest.$ac_ext <<_ACEOF
70182 /* confdefs.h. */
70183 _ACEOF
70184 cat confdefs.h >>conftest.$ac_ext
70185 cat >>conftest.$ac_ext <<_ACEOF
70186 /* end confdefs.h. */
70187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70189 #define $ac_func innocuous_$ac_func
70191 /* System header to define __stub macros and hopefully few prototypes,
70192 which can conflict with char $ac_func (); below.
70193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70194 <limits.h> exists even on freestanding compilers. */
70196 #ifdef __STDC__
70197 # include <limits.h>
70198 #else
70199 # include <assert.h>
70200 #endif
70202 #undef $ac_func
70204 /* Override any gcc2 internal prototype to avoid an error. */
70205 #ifdef __cplusplus
70206 extern "C"
70208 #endif
70209 /* We use char because int might match the return type of a gcc2
70210 builtin and then its argument prototype would still apply. */
70211 char $ac_func ();
70212 /* The GNU C library defines this for functions which it implements
70213 to always fail with ENOSYS. Some functions are actually named
70214 something starting with __ and the normal name is an alias. */
70215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70216 choke me
70217 #else
70218 char (*f) () = $ac_func;
70219 #endif
70220 #ifdef __cplusplus
70222 #endif
70225 main ()
70227 return f != $ac_func;
70229 return 0;
70231 _ACEOF
70232 rm -f conftest.$ac_objext conftest$ac_exeext
70233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70234 (eval $ac_link) 2>conftest.er1
70235 ac_status=$?
70236 grep -v '^ *+' conftest.er1 >conftest.err
70237 rm -f conftest.er1
70238 cat conftest.err >&5
70239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70240 (exit $ac_status); } &&
70241 { ac_try='test -z "$ac_c_werror_flag"
70242 || test ! -s conftest.err'
70243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70244 (eval $ac_try) 2>&5
70245 ac_status=$?
70246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70247 (exit $ac_status); }; } &&
70248 { ac_try='test -s conftest$ac_exeext'
70249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70250 (eval $ac_try) 2>&5
70251 ac_status=$?
70252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70253 (exit $ac_status); }; }; then
70254 eval "$as_ac_var=yes"
70255 else
70256 echo "$as_me: failed program was:" >&5
70257 sed 's/^/| /' conftest.$ac_ext >&5
70259 eval "$as_ac_var=no"
70261 rm -f conftest.err conftest.$ac_objext \
70262 conftest$ac_exeext conftest.$ac_ext
70264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70266 if test `eval echo '${'$as_ac_var'}'` = yes; then
70267 cat >>confdefs.h <<_ACEOF
70268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70269 _ACEOF
70272 done
70282 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70283 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70284 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70285 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70286 echo $ECHO_N "(cached) $ECHO_C" >&6
70287 else
70291 ac_ext=cc
70292 ac_cpp='$CXXCPP $CPPFLAGS'
70293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70297 cat >conftest.$ac_ext <<_ACEOF
70298 /* confdefs.h. */
70299 _ACEOF
70300 cat confdefs.h >>conftest.$ac_ext
70301 cat >>conftest.$ac_ext <<_ACEOF
70302 /* end confdefs.h. */
70303 #include <math.h>
70305 main ()
70307 atan2f(0, 0);
70309 return 0;
70311 _ACEOF
70312 rm -f conftest.$ac_objext
70313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70314 (eval $ac_compile) 2>conftest.er1
70315 ac_status=$?
70316 grep -v '^ *+' conftest.er1 >conftest.err
70317 rm -f conftest.er1
70318 cat conftest.err >&5
70319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70320 (exit $ac_status); } &&
70321 { ac_try='test -z "$ac_cxx_werror_flag"
70322 || test ! -s conftest.err'
70323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70324 (eval $ac_try) 2>&5
70325 ac_status=$?
70326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327 (exit $ac_status); }; } &&
70328 { ac_try='test -s conftest.$ac_objext'
70329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70330 (eval $ac_try) 2>&5
70331 ac_status=$?
70332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70333 (exit $ac_status); }; }; then
70334 glibcxx_cv_func_atan2f_use=yes
70335 else
70336 echo "$as_me: failed program was:" >&5
70337 sed 's/^/| /' conftest.$ac_ext >&5
70339 glibcxx_cv_func_atan2f_use=no
70341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70342 ac_ext=c
70343 ac_cpp='$CPP $CPPFLAGS'
70344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70353 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70355 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
70357 for ac_func in atan2f
70359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70360 echo "$as_me:$LINENO: checking for $ac_func" >&5
70361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70362 if eval "test \"\${$as_ac_var+set}\" = set"; then
70363 echo $ECHO_N "(cached) $ECHO_C" >&6
70364 else
70365 if test x$gcc_no_link = xyes; then
70366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70368 { (exit 1); exit 1; }; }
70370 cat >conftest.$ac_ext <<_ACEOF
70371 /* confdefs.h. */
70372 _ACEOF
70373 cat confdefs.h >>conftest.$ac_ext
70374 cat >>conftest.$ac_ext <<_ACEOF
70375 /* end confdefs.h. */
70376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70378 #define $ac_func innocuous_$ac_func
70380 /* System header to define __stub macros and hopefully few prototypes,
70381 which can conflict with char $ac_func (); below.
70382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70383 <limits.h> exists even on freestanding compilers. */
70385 #ifdef __STDC__
70386 # include <limits.h>
70387 #else
70388 # include <assert.h>
70389 #endif
70391 #undef $ac_func
70393 /* Override any gcc2 internal prototype to avoid an error. */
70394 #ifdef __cplusplus
70395 extern "C"
70397 #endif
70398 /* We use char because int might match the return type of a gcc2
70399 builtin and then its argument prototype would still apply. */
70400 char $ac_func ();
70401 /* The GNU C library defines this for functions which it implements
70402 to always fail with ENOSYS. Some functions are actually named
70403 something starting with __ and the normal name is an alias. */
70404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70405 choke me
70406 #else
70407 char (*f) () = $ac_func;
70408 #endif
70409 #ifdef __cplusplus
70411 #endif
70414 main ()
70416 return f != $ac_func;
70418 return 0;
70420 _ACEOF
70421 rm -f conftest.$ac_objext conftest$ac_exeext
70422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70423 (eval $ac_link) 2>conftest.er1
70424 ac_status=$?
70425 grep -v '^ *+' conftest.er1 >conftest.err
70426 rm -f conftest.er1
70427 cat conftest.err >&5
70428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70429 (exit $ac_status); } &&
70430 { ac_try='test -z "$ac_c_werror_flag"
70431 || test ! -s conftest.err'
70432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70433 (eval $ac_try) 2>&5
70434 ac_status=$?
70435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70436 (exit $ac_status); }; } &&
70437 { ac_try='test -s conftest$ac_exeext'
70438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70439 (eval $ac_try) 2>&5
70440 ac_status=$?
70441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70442 (exit $ac_status); }; }; then
70443 eval "$as_ac_var=yes"
70444 else
70445 echo "$as_me: failed program was:" >&5
70446 sed 's/^/| /' conftest.$ac_ext >&5
70448 eval "$as_ac_var=no"
70450 rm -f conftest.err conftest.$ac_objext \
70451 conftest$ac_exeext conftest.$ac_ext
70453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70455 if test `eval echo '${'$as_ac_var'}'` = yes; then
70456 cat >>confdefs.h <<_ACEOF
70457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70458 _ACEOF
70461 done
70463 else
70465 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
70466 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
70467 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
70468 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
70469 echo $ECHO_N "(cached) $ECHO_C" >&6
70470 else
70474 ac_ext=cc
70475 ac_cpp='$CXXCPP $CPPFLAGS'
70476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70480 cat >conftest.$ac_ext <<_ACEOF
70481 /* confdefs.h. */
70482 _ACEOF
70483 cat confdefs.h >>conftest.$ac_ext
70484 cat >>conftest.$ac_ext <<_ACEOF
70485 /* end confdefs.h. */
70486 #include <math.h>
70488 main ()
70490 _atan2f(0, 0);
70492 return 0;
70494 _ACEOF
70495 rm -f conftest.$ac_objext
70496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70497 (eval $ac_compile) 2>conftest.er1
70498 ac_status=$?
70499 grep -v '^ *+' conftest.er1 >conftest.err
70500 rm -f conftest.er1
70501 cat conftest.err >&5
70502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70503 (exit $ac_status); } &&
70504 { ac_try='test -z "$ac_cxx_werror_flag"
70505 || test ! -s conftest.err'
70506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507 (eval $ac_try) 2>&5
70508 ac_status=$?
70509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510 (exit $ac_status); }; } &&
70511 { ac_try='test -s conftest.$ac_objext'
70512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70513 (eval $ac_try) 2>&5
70514 ac_status=$?
70515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70516 (exit $ac_status); }; }; then
70517 glibcxx_cv_func__atan2f_use=yes
70518 else
70519 echo "$as_me: failed program was:" >&5
70520 sed 's/^/| /' conftest.$ac_ext >&5
70522 glibcxx_cv_func__atan2f_use=no
70524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70525 ac_ext=c
70526 ac_cpp='$CPP $CPPFLAGS'
70527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70536 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70538 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70540 for ac_func in _atan2f
70542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70543 echo "$as_me:$LINENO: checking for $ac_func" >&5
70544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70545 if eval "test \"\${$as_ac_var+set}\" = set"; then
70546 echo $ECHO_N "(cached) $ECHO_C" >&6
70547 else
70548 if test x$gcc_no_link = xyes; then
70549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70551 { (exit 1); exit 1; }; }
70553 cat >conftest.$ac_ext <<_ACEOF
70554 /* confdefs.h. */
70555 _ACEOF
70556 cat confdefs.h >>conftest.$ac_ext
70557 cat >>conftest.$ac_ext <<_ACEOF
70558 /* end confdefs.h. */
70559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70561 #define $ac_func innocuous_$ac_func
70563 /* System header to define __stub macros and hopefully few prototypes,
70564 which can conflict with char $ac_func (); below.
70565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70566 <limits.h> exists even on freestanding compilers. */
70568 #ifdef __STDC__
70569 # include <limits.h>
70570 #else
70571 # include <assert.h>
70572 #endif
70574 #undef $ac_func
70576 /* Override any gcc2 internal prototype to avoid an error. */
70577 #ifdef __cplusplus
70578 extern "C"
70580 #endif
70581 /* We use char because int might match the return type of a gcc2
70582 builtin and then its argument prototype would still apply. */
70583 char $ac_func ();
70584 /* The GNU C library defines this for functions which it implements
70585 to always fail with ENOSYS. Some functions are actually named
70586 something starting with __ and the normal name is an alias. */
70587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70588 choke me
70589 #else
70590 char (*f) () = $ac_func;
70591 #endif
70592 #ifdef __cplusplus
70594 #endif
70597 main ()
70599 return f != $ac_func;
70601 return 0;
70603 _ACEOF
70604 rm -f conftest.$ac_objext conftest$ac_exeext
70605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70606 (eval $ac_link) 2>conftest.er1
70607 ac_status=$?
70608 grep -v '^ *+' conftest.er1 >conftest.err
70609 rm -f conftest.er1
70610 cat conftest.err >&5
70611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70612 (exit $ac_status); } &&
70613 { ac_try='test -z "$ac_c_werror_flag"
70614 || test ! -s conftest.err'
70615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70616 (eval $ac_try) 2>&5
70617 ac_status=$?
70618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70619 (exit $ac_status); }; } &&
70620 { ac_try='test -s conftest$ac_exeext'
70621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70622 (eval $ac_try) 2>&5
70623 ac_status=$?
70624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70625 (exit $ac_status); }; }; then
70626 eval "$as_ac_var=yes"
70627 else
70628 echo "$as_me: failed program was:" >&5
70629 sed 's/^/| /' conftest.$ac_ext >&5
70631 eval "$as_ac_var=no"
70633 rm -f conftest.err conftest.$ac_objext \
70634 conftest$ac_exeext conftest.$ac_ext
70636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70638 if test `eval echo '${'$as_ac_var'}'` = yes; then
70639 cat >>confdefs.h <<_ACEOF
70640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70641 _ACEOF
70644 done
70654 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70655 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70656 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70657 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70658 echo $ECHO_N "(cached) $ECHO_C" >&6
70659 else
70663 ac_ext=cc
70664 ac_cpp='$CXXCPP $CPPFLAGS'
70665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70669 cat >conftest.$ac_ext <<_ACEOF
70670 /* confdefs.h. */
70671 _ACEOF
70672 cat confdefs.h >>conftest.$ac_ext
70673 cat >>conftest.$ac_ext <<_ACEOF
70674 /* end confdefs.h. */
70675 #include <math.h>
70676 #ifdef HAVE_IEEEFP_H
70677 #include <ieeefp.h>
70678 #endif
70681 main ()
70683 fabsf(0);
70685 return 0;
70687 _ACEOF
70688 rm -f conftest.$ac_objext
70689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70690 (eval $ac_compile) 2>conftest.er1
70691 ac_status=$?
70692 grep -v '^ *+' conftest.er1 >conftest.err
70693 rm -f conftest.er1
70694 cat conftest.err >&5
70695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70696 (exit $ac_status); } &&
70697 { ac_try='test -z "$ac_cxx_werror_flag"
70698 || test ! -s conftest.err'
70699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70700 (eval $ac_try) 2>&5
70701 ac_status=$?
70702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70703 (exit $ac_status); }; } &&
70704 { ac_try='test -s conftest.$ac_objext'
70705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70706 (eval $ac_try) 2>&5
70707 ac_status=$?
70708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70709 (exit $ac_status); }; }; then
70710 glibcxx_cv_func_fabsf_use=yes
70711 else
70712 echo "$as_me: failed program was:" >&5
70713 sed 's/^/| /' conftest.$ac_ext >&5
70715 glibcxx_cv_func_fabsf_use=no
70717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70718 ac_ext=c
70719 ac_cpp='$CPP $CPPFLAGS'
70720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70729 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70731 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70733 for ac_func in fabsf
70735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70736 echo "$as_me:$LINENO: checking for $ac_func" >&5
70737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70738 if eval "test \"\${$as_ac_var+set}\" = set"; then
70739 echo $ECHO_N "(cached) $ECHO_C" >&6
70740 else
70741 if test x$gcc_no_link = xyes; then
70742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70744 { (exit 1); exit 1; }; }
70746 cat >conftest.$ac_ext <<_ACEOF
70747 /* confdefs.h. */
70748 _ACEOF
70749 cat confdefs.h >>conftest.$ac_ext
70750 cat >>conftest.$ac_ext <<_ACEOF
70751 /* end confdefs.h. */
70752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70754 #define $ac_func innocuous_$ac_func
70756 /* System header to define __stub macros and hopefully few prototypes,
70757 which can conflict with char $ac_func (); below.
70758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70759 <limits.h> exists even on freestanding compilers. */
70761 #ifdef __STDC__
70762 # include <limits.h>
70763 #else
70764 # include <assert.h>
70765 #endif
70767 #undef $ac_func
70769 /* Override any gcc2 internal prototype to avoid an error. */
70770 #ifdef __cplusplus
70771 extern "C"
70773 #endif
70774 /* We use char because int might match the return type of a gcc2
70775 builtin and then its argument prototype would still apply. */
70776 char $ac_func ();
70777 /* The GNU C library defines this for functions which it implements
70778 to always fail with ENOSYS. Some functions are actually named
70779 something starting with __ and the normal name is an alias. */
70780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70781 choke me
70782 #else
70783 char (*f) () = $ac_func;
70784 #endif
70785 #ifdef __cplusplus
70787 #endif
70790 main ()
70792 return f != $ac_func;
70794 return 0;
70796 _ACEOF
70797 rm -f conftest.$ac_objext conftest$ac_exeext
70798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70799 (eval $ac_link) 2>conftest.er1
70800 ac_status=$?
70801 grep -v '^ *+' conftest.er1 >conftest.err
70802 rm -f conftest.er1
70803 cat conftest.err >&5
70804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70805 (exit $ac_status); } &&
70806 { ac_try='test -z "$ac_c_werror_flag"
70807 || test ! -s conftest.err'
70808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70809 (eval $ac_try) 2>&5
70810 ac_status=$?
70811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70812 (exit $ac_status); }; } &&
70813 { ac_try='test -s conftest$ac_exeext'
70814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70815 (eval $ac_try) 2>&5
70816 ac_status=$?
70817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70818 (exit $ac_status); }; }; then
70819 eval "$as_ac_var=yes"
70820 else
70821 echo "$as_me: failed program was:" >&5
70822 sed 's/^/| /' conftest.$ac_ext >&5
70824 eval "$as_ac_var=no"
70826 rm -f conftest.err conftest.$ac_objext \
70827 conftest$ac_exeext conftest.$ac_ext
70829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70831 if test `eval echo '${'$as_ac_var'}'` = yes; then
70832 cat >>confdefs.h <<_ACEOF
70833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70834 _ACEOF
70837 done
70839 else
70841 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70842 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70843 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70844 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70845 echo $ECHO_N "(cached) $ECHO_C" >&6
70846 else
70850 ac_ext=cc
70851 ac_cpp='$CXXCPP $CPPFLAGS'
70852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70856 cat >conftest.$ac_ext <<_ACEOF
70857 /* confdefs.h. */
70858 _ACEOF
70859 cat confdefs.h >>conftest.$ac_ext
70860 cat >>conftest.$ac_ext <<_ACEOF
70861 /* end confdefs.h. */
70862 #include <math.h>
70863 #ifdef HAVE_IEEEFP_H
70864 #include <ieeefp.h>
70865 #endif
70868 main ()
70870 _fabsf(0);
70872 return 0;
70874 _ACEOF
70875 rm -f conftest.$ac_objext
70876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70877 (eval $ac_compile) 2>conftest.er1
70878 ac_status=$?
70879 grep -v '^ *+' conftest.er1 >conftest.err
70880 rm -f conftest.er1
70881 cat conftest.err >&5
70882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70883 (exit $ac_status); } &&
70884 { ac_try='test -z "$ac_cxx_werror_flag"
70885 || test ! -s conftest.err'
70886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70887 (eval $ac_try) 2>&5
70888 ac_status=$?
70889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70890 (exit $ac_status); }; } &&
70891 { ac_try='test -s conftest.$ac_objext'
70892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70893 (eval $ac_try) 2>&5
70894 ac_status=$?
70895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70896 (exit $ac_status); }; }; then
70897 glibcxx_cv_func__fabsf_use=yes
70898 else
70899 echo "$as_me: failed program was:" >&5
70900 sed 's/^/| /' conftest.$ac_ext >&5
70902 glibcxx_cv_func__fabsf_use=no
70904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70905 ac_ext=c
70906 ac_cpp='$CPP $CPPFLAGS'
70907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70916 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70920 for ac_func in _fabsf
70922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70923 echo "$as_me:$LINENO: checking for $ac_func" >&5
70924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70925 if eval "test \"\${$as_ac_var+set}\" = set"; then
70926 echo $ECHO_N "(cached) $ECHO_C" >&6
70927 else
70928 if test x$gcc_no_link = xyes; then
70929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70931 { (exit 1); exit 1; }; }
70933 cat >conftest.$ac_ext <<_ACEOF
70934 /* confdefs.h. */
70935 _ACEOF
70936 cat confdefs.h >>conftest.$ac_ext
70937 cat >>conftest.$ac_ext <<_ACEOF
70938 /* end confdefs.h. */
70939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70941 #define $ac_func innocuous_$ac_func
70943 /* System header to define __stub macros and hopefully few prototypes,
70944 which can conflict with char $ac_func (); below.
70945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70946 <limits.h> exists even on freestanding compilers. */
70948 #ifdef __STDC__
70949 # include <limits.h>
70950 #else
70951 # include <assert.h>
70952 #endif
70954 #undef $ac_func
70956 /* Override any gcc2 internal prototype to avoid an error. */
70957 #ifdef __cplusplus
70958 extern "C"
70960 #endif
70961 /* We use char because int might match the return type of a gcc2
70962 builtin and then its argument prototype would still apply. */
70963 char $ac_func ();
70964 /* The GNU C library defines this for functions which it implements
70965 to always fail with ENOSYS. Some functions are actually named
70966 something starting with __ and the normal name is an alias. */
70967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70968 choke me
70969 #else
70970 char (*f) () = $ac_func;
70971 #endif
70972 #ifdef __cplusplus
70974 #endif
70977 main ()
70979 return f != $ac_func;
70981 return 0;
70983 _ACEOF
70984 rm -f conftest.$ac_objext conftest$ac_exeext
70985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70986 (eval $ac_link) 2>conftest.er1
70987 ac_status=$?
70988 grep -v '^ *+' conftest.er1 >conftest.err
70989 rm -f conftest.er1
70990 cat conftest.err >&5
70991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70992 (exit $ac_status); } &&
70993 { ac_try='test -z "$ac_c_werror_flag"
70994 || test ! -s conftest.err'
70995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70996 (eval $ac_try) 2>&5
70997 ac_status=$?
70998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70999 (exit $ac_status); }; } &&
71000 { ac_try='test -s conftest$ac_exeext'
71001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71002 (eval $ac_try) 2>&5
71003 ac_status=$?
71004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71005 (exit $ac_status); }; }; then
71006 eval "$as_ac_var=yes"
71007 else
71008 echo "$as_me: failed program was:" >&5
71009 sed 's/^/| /' conftest.$ac_ext >&5
71011 eval "$as_ac_var=no"
71013 rm -f conftest.err conftest.$ac_objext \
71014 conftest$ac_exeext conftest.$ac_ext
71016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71018 if test `eval echo '${'$as_ac_var'}'` = yes; then
71019 cat >>confdefs.h <<_ACEOF
71020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71021 _ACEOF
71024 done
71034 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
71035 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
71036 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
71037 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
71038 echo $ECHO_N "(cached) $ECHO_C" >&6
71039 else
71043 ac_ext=cc
71044 ac_cpp='$CXXCPP $CPPFLAGS'
71045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71049 cat >conftest.$ac_ext <<_ACEOF
71050 /* confdefs.h. */
71051 _ACEOF
71052 cat confdefs.h >>conftest.$ac_ext
71053 cat >>conftest.$ac_ext <<_ACEOF
71054 /* end confdefs.h. */
71055 #include <math.h>
71057 main ()
71059 fmodf(0, 0);
71061 return 0;
71063 _ACEOF
71064 rm -f conftest.$ac_objext
71065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71066 (eval $ac_compile) 2>conftest.er1
71067 ac_status=$?
71068 grep -v '^ *+' conftest.er1 >conftest.err
71069 rm -f conftest.er1
71070 cat conftest.err >&5
71071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71072 (exit $ac_status); } &&
71073 { ac_try='test -z "$ac_cxx_werror_flag"
71074 || test ! -s conftest.err'
71075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71076 (eval $ac_try) 2>&5
71077 ac_status=$?
71078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71079 (exit $ac_status); }; } &&
71080 { ac_try='test -s conftest.$ac_objext'
71081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71082 (eval $ac_try) 2>&5
71083 ac_status=$?
71084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71085 (exit $ac_status); }; }; then
71086 glibcxx_cv_func_fmodf_use=yes
71087 else
71088 echo "$as_me: failed program was:" >&5
71089 sed 's/^/| /' conftest.$ac_ext >&5
71091 glibcxx_cv_func_fmodf_use=no
71093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71094 ac_ext=c
71095 ac_cpp='$CPP $CPPFLAGS'
71096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
71105 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
71107 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
71109 for ac_func in fmodf
71111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71112 echo "$as_me:$LINENO: checking for $ac_func" >&5
71113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71114 if eval "test \"\${$as_ac_var+set}\" = set"; then
71115 echo $ECHO_N "(cached) $ECHO_C" >&6
71116 else
71117 if test x$gcc_no_link = xyes; then
71118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71120 { (exit 1); exit 1; }; }
71122 cat >conftest.$ac_ext <<_ACEOF
71123 /* confdefs.h. */
71124 _ACEOF
71125 cat confdefs.h >>conftest.$ac_ext
71126 cat >>conftest.$ac_ext <<_ACEOF
71127 /* end confdefs.h. */
71128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71130 #define $ac_func innocuous_$ac_func
71132 /* System header to define __stub macros and hopefully few prototypes,
71133 which can conflict with char $ac_func (); below.
71134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71135 <limits.h> exists even on freestanding compilers. */
71137 #ifdef __STDC__
71138 # include <limits.h>
71139 #else
71140 # include <assert.h>
71141 #endif
71143 #undef $ac_func
71145 /* Override any gcc2 internal prototype to avoid an error. */
71146 #ifdef __cplusplus
71147 extern "C"
71149 #endif
71150 /* We use char because int might match the return type of a gcc2
71151 builtin and then its argument prototype would still apply. */
71152 char $ac_func ();
71153 /* The GNU C library defines this for functions which it implements
71154 to always fail with ENOSYS. Some functions are actually named
71155 something starting with __ and the normal name is an alias. */
71156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71157 choke me
71158 #else
71159 char (*f) () = $ac_func;
71160 #endif
71161 #ifdef __cplusplus
71163 #endif
71166 main ()
71168 return f != $ac_func;
71170 return 0;
71172 _ACEOF
71173 rm -f conftest.$ac_objext conftest$ac_exeext
71174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71175 (eval $ac_link) 2>conftest.er1
71176 ac_status=$?
71177 grep -v '^ *+' conftest.er1 >conftest.err
71178 rm -f conftest.er1
71179 cat conftest.err >&5
71180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71181 (exit $ac_status); } &&
71182 { ac_try='test -z "$ac_c_werror_flag"
71183 || test ! -s conftest.err'
71184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71185 (eval $ac_try) 2>&5
71186 ac_status=$?
71187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71188 (exit $ac_status); }; } &&
71189 { ac_try='test -s conftest$ac_exeext'
71190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71191 (eval $ac_try) 2>&5
71192 ac_status=$?
71193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71194 (exit $ac_status); }; }; then
71195 eval "$as_ac_var=yes"
71196 else
71197 echo "$as_me: failed program was:" >&5
71198 sed 's/^/| /' conftest.$ac_ext >&5
71200 eval "$as_ac_var=no"
71202 rm -f conftest.err conftest.$ac_objext \
71203 conftest$ac_exeext conftest.$ac_ext
71205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71207 if test `eval echo '${'$as_ac_var'}'` = yes; then
71208 cat >>confdefs.h <<_ACEOF
71209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71210 _ACEOF
71213 done
71215 else
71217 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
71218 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
71219 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
71220 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
71221 echo $ECHO_N "(cached) $ECHO_C" >&6
71222 else
71226 ac_ext=cc
71227 ac_cpp='$CXXCPP $CPPFLAGS'
71228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71232 cat >conftest.$ac_ext <<_ACEOF
71233 /* confdefs.h. */
71234 _ACEOF
71235 cat confdefs.h >>conftest.$ac_ext
71236 cat >>conftest.$ac_ext <<_ACEOF
71237 /* end confdefs.h. */
71238 #include <math.h>
71240 main ()
71242 _fmodf(0, 0);
71244 return 0;
71246 _ACEOF
71247 rm -f conftest.$ac_objext
71248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71249 (eval $ac_compile) 2>conftest.er1
71250 ac_status=$?
71251 grep -v '^ *+' conftest.er1 >conftest.err
71252 rm -f conftest.er1
71253 cat conftest.err >&5
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); } &&
71256 { ac_try='test -z "$ac_cxx_werror_flag"
71257 || test ! -s conftest.err'
71258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71259 (eval $ac_try) 2>&5
71260 ac_status=$?
71261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71262 (exit $ac_status); }; } &&
71263 { ac_try='test -s conftest.$ac_objext'
71264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71265 (eval $ac_try) 2>&5
71266 ac_status=$?
71267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71268 (exit $ac_status); }; }; then
71269 glibcxx_cv_func__fmodf_use=yes
71270 else
71271 echo "$as_me: failed program was:" >&5
71272 sed 's/^/| /' conftest.$ac_ext >&5
71274 glibcxx_cv_func__fmodf_use=no
71276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71277 ac_ext=c
71278 ac_cpp='$CPP $CPPFLAGS'
71279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71288 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71290 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71292 for ac_func in _fmodf
71294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71295 echo "$as_me:$LINENO: checking for $ac_func" >&5
71296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71297 if eval "test \"\${$as_ac_var+set}\" = set"; then
71298 echo $ECHO_N "(cached) $ECHO_C" >&6
71299 else
71300 if test x$gcc_no_link = xyes; then
71301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71303 { (exit 1); exit 1; }; }
71305 cat >conftest.$ac_ext <<_ACEOF
71306 /* confdefs.h. */
71307 _ACEOF
71308 cat confdefs.h >>conftest.$ac_ext
71309 cat >>conftest.$ac_ext <<_ACEOF
71310 /* end confdefs.h. */
71311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71313 #define $ac_func innocuous_$ac_func
71315 /* System header to define __stub macros and hopefully few prototypes,
71316 which can conflict with char $ac_func (); below.
71317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71318 <limits.h> exists even on freestanding compilers. */
71320 #ifdef __STDC__
71321 # include <limits.h>
71322 #else
71323 # include <assert.h>
71324 #endif
71326 #undef $ac_func
71328 /* Override any gcc2 internal prototype to avoid an error. */
71329 #ifdef __cplusplus
71330 extern "C"
71332 #endif
71333 /* We use char because int might match the return type of a gcc2
71334 builtin and then its argument prototype would still apply. */
71335 char $ac_func ();
71336 /* The GNU C library defines this for functions which it implements
71337 to always fail with ENOSYS. Some functions are actually named
71338 something starting with __ and the normal name is an alias. */
71339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71340 choke me
71341 #else
71342 char (*f) () = $ac_func;
71343 #endif
71344 #ifdef __cplusplus
71346 #endif
71349 main ()
71351 return f != $ac_func;
71353 return 0;
71355 _ACEOF
71356 rm -f conftest.$ac_objext conftest$ac_exeext
71357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71358 (eval $ac_link) 2>conftest.er1
71359 ac_status=$?
71360 grep -v '^ *+' conftest.er1 >conftest.err
71361 rm -f conftest.er1
71362 cat conftest.err >&5
71363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71364 (exit $ac_status); } &&
71365 { ac_try='test -z "$ac_c_werror_flag"
71366 || test ! -s conftest.err'
71367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71368 (eval $ac_try) 2>&5
71369 ac_status=$?
71370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71371 (exit $ac_status); }; } &&
71372 { ac_try='test -s conftest$ac_exeext'
71373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71374 (eval $ac_try) 2>&5
71375 ac_status=$?
71376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71377 (exit $ac_status); }; }; then
71378 eval "$as_ac_var=yes"
71379 else
71380 echo "$as_me: failed program was:" >&5
71381 sed 's/^/| /' conftest.$ac_ext >&5
71383 eval "$as_ac_var=no"
71385 rm -f conftest.err conftest.$ac_objext \
71386 conftest$ac_exeext conftest.$ac_ext
71388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71390 if test `eval echo '${'$as_ac_var'}'` = yes; then
71391 cat >>confdefs.h <<_ACEOF
71392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71393 _ACEOF
71396 done
71406 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
71407 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
71408 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
71409 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
71410 echo $ECHO_N "(cached) $ECHO_C" >&6
71411 else
71415 ac_ext=cc
71416 ac_cpp='$CXXCPP $CPPFLAGS'
71417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71421 cat >conftest.$ac_ext <<_ACEOF
71422 /* confdefs.h. */
71423 _ACEOF
71424 cat confdefs.h >>conftest.$ac_ext
71425 cat >>conftest.$ac_ext <<_ACEOF
71426 /* end confdefs.h. */
71427 #include <math.h>
71429 main ()
71431 frexpf(0, 0);
71433 return 0;
71435 _ACEOF
71436 rm -f conftest.$ac_objext
71437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71438 (eval $ac_compile) 2>conftest.er1
71439 ac_status=$?
71440 grep -v '^ *+' conftest.er1 >conftest.err
71441 rm -f conftest.er1
71442 cat conftest.err >&5
71443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71444 (exit $ac_status); } &&
71445 { ac_try='test -z "$ac_cxx_werror_flag"
71446 || test ! -s conftest.err'
71447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71448 (eval $ac_try) 2>&5
71449 ac_status=$?
71450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71451 (exit $ac_status); }; } &&
71452 { ac_try='test -s conftest.$ac_objext'
71453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71454 (eval $ac_try) 2>&5
71455 ac_status=$?
71456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71457 (exit $ac_status); }; }; then
71458 glibcxx_cv_func_frexpf_use=yes
71459 else
71460 echo "$as_me: failed program was:" >&5
71461 sed 's/^/| /' conftest.$ac_ext >&5
71463 glibcxx_cv_func_frexpf_use=no
71465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71466 ac_ext=c
71467 ac_cpp='$CPP $CPPFLAGS'
71468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
71477 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
71479 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
71481 for ac_func in frexpf
71483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71484 echo "$as_me:$LINENO: checking for $ac_func" >&5
71485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71486 if eval "test \"\${$as_ac_var+set}\" = set"; then
71487 echo $ECHO_N "(cached) $ECHO_C" >&6
71488 else
71489 if test x$gcc_no_link = xyes; then
71490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71492 { (exit 1); exit 1; }; }
71494 cat >conftest.$ac_ext <<_ACEOF
71495 /* confdefs.h. */
71496 _ACEOF
71497 cat confdefs.h >>conftest.$ac_ext
71498 cat >>conftest.$ac_ext <<_ACEOF
71499 /* end confdefs.h. */
71500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71502 #define $ac_func innocuous_$ac_func
71504 /* System header to define __stub macros and hopefully few prototypes,
71505 which can conflict with char $ac_func (); below.
71506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71507 <limits.h> exists even on freestanding compilers. */
71509 #ifdef __STDC__
71510 # include <limits.h>
71511 #else
71512 # include <assert.h>
71513 #endif
71515 #undef $ac_func
71517 /* Override any gcc2 internal prototype to avoid an error. */
71518 #ifdef __cplusplus
71519 extern "C"
71521 #endif
71522 /* We use char because int might match the return type of a gcc2
71523 builtin and then its argument prototype would still apply. */
71524 char $ac_func ();
71525 /* The GNU C library defines this for functions which it implements
71526 to always fail with ENOSYS. Some functions are actually named
71527 something starting with __ and the normal name is an alias. */
71528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71529 choke me
71530 #else
71531 char (*f) () = $ac_func;
71532 #endif
71533 #ifdef __cplusplus
71535 #endif
71538 main ()
71540 return f != $ac_func;
71542 return 0;
71544 _ACEOF
71545 rm -f conftest.$ac_objext conftest$ac_exeext
71546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71547 (eval $ac_link) 2>conftest.er1
71548 ac_status=$?
71549 grep -v '^ *+' conftest.er1 >conftest.err
71550 rm -f conftest.er1
71551 cat conftest.err >&5
71552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71553 (exit $ac_status); } &&
71554 { ac_try='test -z "$ac_c_werror_flag"
71555 || test ! -s conftest.err'
71556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71557 (eval $ac_try) 2>&5
71558 ac_status=$?
71559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71560 (exit $ac_status); }; } &&
71561 { ac_try='test -s conftest$ac_exeext'
71562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71563 (eval $ac_try) 2>&5
71564 ac_status=$?
71565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71566 (exit $ac_status); }; }; then
71567 eval "$as_ac_var=yes"
71568 else
71569 echo "$as_me: failed program was:" >&5
71570 sed 's/^/| /' conftest.$ac_ext >&5
71572 eval "$as_ac_var=no"
71574 rm -f conftest.err conftest.$ac_objext \
71575 conftest$ac_exeext conftest.$ac_ext
71577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71579 if test `eval echo '${'$as_ac_var'}'` = yes; then
71580 cat >>confdefs.h <<_ACEOF
71581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71582 _ACEOF
71585 done
71587 else
71589 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71590 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71591 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71592 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71593 echo $ECHO_N "(cached) $ECHO_C" >&6
71594 else
71598 ac_ext=cc
71599 ac_cpp='$CXXCPP $CPPFLAGS'
71600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71604 cat >conftest.$ac_ext <<_ACEOF
71605 /* confdefs.h. */
71606 _ACEOF
71607 cat confdefs.h >>conftest.$ac_ext
71608 cat >>conftest.$ac_ext <<_ACEOF
71609 /* end confdefs.h. */
71610 #include <math.h>
71612 main ()
71614 _frexpf(0, 0);
71616 return 0;
71618 _ACEOF
71619 rm -f conftest.$ac_objext
71620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71621 (eval $ac_compile) 2>conftest.er1
71622 ac_status=$?
71623 grep -v '^ *+' conftest.er1 >conftest.err
71624 rm -f conftest.er1
71625 cat conftest.err >&5
71626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627 (exit $ac_status); } &&
71628 { ac_try='test -z "$ac_cxx_werror_flag"
71629 || test ! -s conftest.err'
71630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71631 (eval $ac_try) 2>&5
71632 ac_status=$?
71633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634 (exit $ac_status); }; } &&
71635 { ac_try='test -s conftest.$ac_objext'
71636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71637 (eval $ac_try) 2>&5
71638 ac_status=$?
71639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71640 (exit $ac_status); }; }; then
71641 glibcxx_cv_func__frexpf_use=yes
71642 else
71643 echo "$as_me: failed program was:" >&5
71644 sed 's/^/| /' conftest.$ac_ext >&5
71646 glibcxx_cv_func__frexpf_use=no
71648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71649 ac_ext=c
71650 ac_cpp='$CPP $CPPFLAGS'
71651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71660 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71662 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71664 for ac_func in _frexpf
71666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71667 echo "$as_me:$LINENO: checking for $ac_func" >&5
71668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71669 if eval "test \"\${$as_ac_var+set}\" = set"; then
71670 echo $ECHO_N "(cached) $ECHO_C" >&6
71671 else
71672 if test x$gcc_no_link = xyes; then
71673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71675 { (exit 1); exit 1; }; }
71677 cat >conftest.$ac_ext <<_ACEOF
71678 /* confdefs.h. */
71679 _ACEOF
71680 cat confdefs.h >>conftest.$ac_ext
71681 cat >>conftest.$ac_ext <<_ACEOF
71682 /* end confdefs.h. */
71683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71685 #define $ac_func innocuous_$ac_func
71687 /* System header to define __stub macros and hopefully few prototypes,
71688 which can conflict with char $ac_func (); below.
71689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71690 <limits.h> exists even on freestanding compilers. */
71692 #ifdef __STDC__
71693 # include <limits.h>
71694 #else
71695 # include <assert.h>
71696 #endif
71698 #undef $ac_func
71700 /* Override any gcc2 internal prototype to avoid an error. */
71701 #ifdef __cplusplus
71702 extern "C"
71704 #endif
71705 /* We use char because int might match the return type of a gcc2
71706 builtin and then its argument prototype would still apply. */
71707 char $ac_func ();
71708 /* The GNU C library defines this for functions which it implements
71709 to always fail with ENOSYS. Some functions are actually named
71710 something starting with __ and the normal name is an alias. */
71711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71712 choke me
71713 #else
71714 char (*f) () = $ac_func;
71715 #endif
71716 #ifdef __cplusplus
71718 #endif
71721 main ()
71723 return f != $ac_func;
71725 return 0;
71727 _ACEOF
71728 rm -f conftest.$ac_objext conftest$ac_exeext
71729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71730 (eval $ac_link) 2>conftest.er1
71731 ac_status=$?
71732 grep -v '^ *+' conftest.er1 >conftest.err
71733 rm -f conftest.er1
71734 cat conftest.err >&5
71735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71736 (exit $ac_status); } &&
71737 { ac_try='test -z "$ac_c_werror_flag"
71738 || test ! -s conftest.err'
71739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71740 (eval $ac_try) 2>&5
71741 ac_status=$?
71742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71743 (exit $ac_status); }; } &&
71744 { ac_try='test -s conftest$ac_exeext'
71745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71746 (eval $ac_try) 2>&5
71747 ac_status=$?
71748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71749 (exit $ac_status); }; }; then
71750 eval "$as_ac_var=yes"
71751 else
71752 echo "$as_me: failed program was:" >&5
71753 sed 's/^/| /' conftest.$ac_ext >&5
71755 eval "$as_ac_var=no"
71757 rm -f conftest.err conftest.$ac_objext \
71758 conftest$ac_exeext conftest.$ac_ext
71760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71762 if test `eval echo '${'$as_ac_var'}'` = yes; then
71763 cat >>confdefs.h <<_ACEOF
71764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71765 _ACEOF
71768 done
71778 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71779 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71780 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71781 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71782 echo $ECHO_N "(cached) $ECHO_C" >&6
71783 else
71787 ac_ext=cc
71788 ac_cpp='$CXXCPP $CPPFLAGS'
71789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71793 cat >conftest.$ac_ext <<_ACEOF
71794 /* confdefs.h. */
71795 _ACEOF
71796 cat confdefs.h >>conftest.$ac_ext
71797 cat >>conftest.$ac_ext <<_ACEOF
71798 /* end confdefs.h. */
71799 #include <math.h>
71801 main ()
71803 hypotf(0, 0);
71805 return 0;
71807 _ACEOF
71808 rm -f conftest.$ac_objext
71809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71810 (eval $ac_compile) 2>conftest.er1
71811 ac_status=$?
71812 grep -v '^ *+' conftest.er1 >conftest.err
71813 rm -f conftest.er1
71814 cat conftest.err >&5
71815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816 (exit $ac_status); } &&
71817 { ac_try='test -z "$ac_cxx_werror_flag"
71818 || test ! -s conftest.err'
71819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71820 (eval $ac_try) 2>&5
71821 ac_status=$?
71822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71823 (exit $ac_status); }; } &&
71824 { ac_try='test -s conftest.$ac_objext'
71825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71826 (eval $ac_try) 2>&5
71827 ac_status=$?
71828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71829 (exit $ac_status); }; }; then
71830 glibcxx_cv_func_hypotf_use=yes
71831 else
71832 echo "$as_me: failed program was:" >&5
71833 sed 's/^/| /' conftest.$ac_ext >&5
71835 glibcxx_cv_func_hypotf_use=no
71837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71838 ac_ext=c
71839 ac_cpp='$CPP $CPPFLAGS'
71840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71849 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71851 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71853 for ac_func in hypotf
71855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71856 echo "$as_me:$LINENO: checking for $ac_func" >&5
71857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71858 if eval "test \"\${$as_ac_var+set}\" = set"; then
71859 echo $ECHO_N "(cached) $ECHO_C" >&6
71860 else
71861 if test x$gcc_no_link = xyes; then
71862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71864 { (exit 1); exit 1; }; }
71866 cat >conftest.$ac_ext <<_ACEOF
71867 /* confdefs.h. */
71868 _ACEOF
71869 cat confdefs.h >>conftest.$ac_ext
71870 cat >>conftest.$ac_ext <<_ACEOF
71871 /* end confdefs.h. */
71872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71874 #define $ac_func innocuous_$ac_func
71876 /* System header to define __stub macros and hopefully few prototypes,
71877 which can conflict with char $ac_func (); below.
71878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71879 <limits.h> exists even on freestanding compilers. */
71881 #ifdef __STDC__
71882 # include <limits.h>
71883 #else
71884 # include <assert.h>
71885 #endif
71887 #undef $ac_func
71889 /* Override any gcc2 internal prototype to avoid an error. */
71890 #ifdef __cplusplus
71891 extern "C"
71893 #endif
71894 /* We use char because int might match the return type of a gcc2
71895 builtin and then its argument prototype would still apply. */
71896 char $ac_func ();
71897 /* The GNU C library defines this for functions which it implements
71898 to always fail with ENOSYS. Some functions are actually named
71899 something starting with __ and the normal name is an alias. */
71900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71901 choke me
71902 #else
71903 char (*f) () = $ac_func;
71904 #endif
71905 #ifdef __cplusplus
71907 #endif
71910 main ()
71912 return f != $ac_func;
71914 return 0;
71916 _ACEOF
71917 rm -f conftest.$ac_objext conftest$ac_exeext
71918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71919 (eval $ac_link) 2>conftest.er1
71920 ac_status=$?
71921 grep -v '^ *+' conftest.er1 >conftest.err
71922 rm -f conftest.er1
71923 cat conftest.err >&5
71924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925 (exit $ac_status); } &&
71926 { ac_try='test -z "$ac_c_werror_flag"
71927 || test ! -s conftest.err'
71928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71929 (eval $ac_try) 2>&5
71930 ac_status=$?
71931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932 (exit $ac_status); }; } &&
71933 { ac_try='test -s conftest$ac_exeext'
71934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71935 (eval $ac_try) 2>&5
71936 ac_status=$?
71937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71938 (exit $ac_status); }; }; then
71939 eval "$as_ac_var=yes"
71940 else
71941 echo "$as_me: failed program was:" >&5
71942 sed 's/^/| /' conftest.$ac_ext >&5
71944 eval "$as_ac_var=no"
71946 rm -f conftest.err conftest.$ac_objext \
71947 conftest$ac_exeext conftest.$ac_ext
71949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71951 if test `eval echo '${'$as_ac_var'}'` = yes; then
71952 cat >>confdefs.h <<_ACEOF
71953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71954 _ACEOF
71957 done
71959 else
71961 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71962 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71963 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71964 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71965 echo $ECHO_N "(cached) $ECHO_C" >&6
71966 else
71970 ac_ext=cc
71971 ac_cpp='$CXXCPP $CPPFLAGS'
71972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71976 cat >conftest.$ac_ext <<_ACEOF
71977 /* confdefs.h. */
71978 _ACEOF
71979 cat confdefs.h >>conftest.$ac_ext
71980 cat >>conftest.$ac_ext <<_ACEOF
71981 /* end confdefs.h. */
71982 #include <math.h>
71984 main ()
71986 _hypotf(0, 0);
71988 return 0;
71990 _ACEOF
71991 rm -f conftest.$ac_objext
71992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71993 (eval $ac_compile) 2>conftest.er1
71994 ac_status=$?
71995 grep -v '^ *+' conftest.er1 >conftest.err
71996 rm -f conftest.er1
71997 cat conftest.err >&5
71998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999 (exit $ac_status); } &&
72000 { ac_try='test -z "$ac_cxx_werror_flag"
72001 || test ! -s conftest.err'
72002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72003 (eval $ac_try) 2>&5
72004 ac_status=$?
72005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72006 (exit $ac_status); }; } &&
72007 { ac_try='test -s conftest.$ac_objext'
72008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72009 (eval $ac_try) 2>&5
72010 ac_status=$?
72011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72012 (exit $ac_status); }; }; then
72013 glibcxx_cv_func__hypotf_use=yes
72014 else
72015 echo "$as_me: failed program was:" >&5
72016 sed 's/^/| /' conftest.$ac_ext >&5
72018 glibcxx_cv_func__hypotf_use=no
72020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72021 ac_ext=c
72022 ac_cpp='$CPP $CPPFLAGS'
72023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
72032 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
72034 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
72036 for ac_func in _hypotf
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042 echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044 if test x$gcc_no_link = xyes; then
72045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047 { (exit 1); exit 1; }; }
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72057 #define $ac_func innocuous_$ac_func
72059 /* System header to define __stub macros and hopefully few prototypes,
72060 which can conflict with char $ac_func (); below.
72061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062 <limits.h> exists even on freestanding compilers. */
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72070 #undef $ac_func
72072 /* Override any gcc2 internal prototype to avoid an error. */
72073 #ifdef __cplusplus
72074 extern "C"
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078 builtin and then its argument prototype would still apply. */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081 to always fail with ENOSYS. Some functions are actually named
72082 something starting with __ and the normal name is an alias. */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72090 #endif
72093 main ()
72095 return f != $ac_func;
72097 return 0;
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102 (eval $ac_link) 2>conftest.er1
72103 ac_status=$?
72104 grep -v '^ *+' conftest.er1 >conftest.err
72105 rm -f conftest.er1
72106 cat conftest.err >&5
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); } &&
72109 { ac_try='test -z "$ac_c_werror_flag"
72110 || test ! -s conftest.err'
72111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112 (eval $ac_try) 2>&5
72113 ac_status=$?
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); }; } &&
72116 { ac_try='test -s conftest$ac_exeext'
72117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118 (eval $ac_try) 2>&5
72119 ac_status=$?
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); }; }; then
72122 eval "$as_ac_var=yes"
72123 else
72124 echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72127 eval "$as_ac_var=no"
72129 rm -f conftest.err conftest.$ac_objext \
72130 conftest$ac_exeext conftest.$ac_ext
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135 cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72140 done
72150 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
72151 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
72152 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
72153 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
72154 echo $ECHO_N "(cached) $ECHO_C" >&6
72155 else
72159 ac_ext=cc
72160 ac_cpp='$CXXCPP $CPPFLAGS'
72161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72165 cat >conftest.$ac_ext <<_ACEOF
72166 /* confdefs.h. */
72167 _ACEOF
72168 cat confdefs.h >>conftest.$ac_ext
72169 cat >>conftest.$ac_ext <<_ACEOF
72170 /* end confdefs.h. */
72171 #include <math.h>
72173 main ()
72175 ldexpf(0, 0);
72177 return 0;
72179 _ACEOF
72180 rm -f conftest.$ac_objext
72181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72182 (eval $ac_compile) 2>conftest.er1
72183 ac_status=$?
72184 grep -v '^ *+' conftest.er1 >conftest.err
72185 rm -f conftest.er1
72186 cat conftest.err >&5
72187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188 (exit $ac_status); } &&
72189 { ac_try='test -z "$ac_cxx_werror_flag"
72190 || test ! -s conftest.err'
72191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72192 (eval $ac_try) 2>&5
72193 ac_status=$?
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); }; } &&
72196 { ac_try='test -s conftest.$ac_objext'
72197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72198 (eval $ac_try) 2>&5
72199 ac_status=$?
72200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201 (exit $ac_status); }; }; then
72202 glibcxx_cv_func_ldexpf_use=yes
72203 else
72204 echo "$as_me: failed program was:" >&5
72205 sed 's/^/| /' conftest.$ac_ext >&5
72207 glibcxx_cv_func_ldexpf_use=no
72209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72210 ac_ext=c
72211 ac_cpp='$CPP $CPPFLAGS'
72212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
72221 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
72223 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
72225 for ac_func in ldexpf
72227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72228 echo "$as_me:$LINENO: checking for $ac_func" >&5
72229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72230 if eval "test \"\${$as_ac_var+set}\" = set"; then
72231 echo $ECHO_N "(cached) $ECHO_C" >&6
72232 else
72233 if test x$gcc_no_link = xyes; then
72234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72236 { (exit 1); exit 1; }; }
72238 cat >conftest.$ac_ext <<_ACEOF
72239 /* confdefs.h. */
72240 _ACEOF
72241 cat confdefs.h >>conftest.$ac_ext
72242 cat >>conftest.$ac_ext <<_ACEOF
72243 /* end confdefs.h. */
72244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72246 #define $ac_func innocuous_$ac_func
72248 /* System header to define __stub macros and hopefully few prototypes,
72249 which can conflict with char $ac_func (); below.
72250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72251 <limits.h> exists even on freestanding compilers. */
72253 #ifdef __STDC__
72254 # include <limits.h>
72255 #else
72256 # include <assert.h>
72257 #endif
72259 #undef $ac_func
72261 /* Override any gcc2 internal prototype to avoid an error. */
72262 #ifdef __cplusplus
72263 extern "C"
72265 #endif
72266 /* We use char because int might match the return type of a gcc2
72267 builtin and then its argument prototype would still apply. */
72268 char $ac_func ();
72269 /* The GNU C library defines this for functions which it implements
72270 to always fail with ENOSYS. Some functions are actually named
72271 something starting with __ and the normal name is an alias. */
72272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72273 choke me
72274 #else
72275 char (*f) () = $ac_func;
72276 #endif
72277 #ifdef __cplusplus
72279 #endif
72282 main ()
72284 return f != $ac_func;
72286 return 0;
72288 _ACEOF
72289 rm -f conftest.$ac_objext conftest$ac_exeext
72290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72291 (eval $ac_link) 2>conftest.er1
72292 ac_status=$?
72293 grep -v '^ *+' conftest.er1 >conftest.err
72294 rm -f conftest.er1
72295 cat conftest.err >&5
72296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72297 (exit $ac_status); } &&
72298 { ac_try='test -z "$ac_c_werror_flag"
72299 || test ! -s conftest.err'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; } &&
72305 { ac_try='test -s conftest$ac_exeext'
72306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307 (eval $ac_try) 2>&5
72308 ac_status=$?
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); }; }; then
72311 eval "$as_ac_var=yes"
72312 else
72313 echo "$as_me: failed program was:" >&5
72314 sed 's/^/| /' conftest.$ac_ext >&5
72316 eval "$as_ac_var=no"
72318 rm -f conftest.err conftest.$ac_objext \
72319 conftest$ac_exeext conftest.$ac_ext
72321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72323 if test `eval echo '${'$as_ac_var'}'` = yes; then
72324 cat >>confdefs.h <<_ACEOF
72325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72326 _ACEOF
72329 done
72331 else
72333 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72334 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72335 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72336 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72337 echo $ECHO_N "(cached) $ECHO_C" >&6
72338 else
72342 ac_ext=cc
72343 ac_cpp='$CXXCPP $CPPFLAGS'
72344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72348 cat >conftest.$ac_ext <<_ACEOF
72349 /* confdefs.h. */
72350 _ACEOF
72351 cat confdefs.h >>conftest.$ac_ext
72352 cat >>conftest.$ac_ext <<_ACEOF
72353 /* end confdefs.h. */
72354 #include <math.h>
72356 main ()
72358 _ldexpf(0, 0);
72360 return 0;
72362 _ACEOF
72363 rm -f conftest.$ac_objext
72364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72365 (eval $ac_compile) 2>conftest.er1
72366 ac_status=$?
72367 grep -v '^ *+' conftest.er1 >conftest.err
72368 rm -f conftest.er1
72369 cat conftest.err >&5
72370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371 (exit $ac_status); } &&
72372 { ac_try='test -z "$ac_cxx_werror_flag"
72373 || test ! -s conftest.err'
72374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72375 (eval $ac_try) 2>&5
72376 ac_status=$?
72377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72378 (exit $ac_status); }; } &&
72379 { ac_try='test -s conftest.$ac_objext'
72380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72381 (eval $ac_try) 2>&5
72382 ac_status=$?
72383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72384 (exit $ac_status); }; }; then
72385 glibcxx_cv_func__ldexpf_use=yes
72386 else
72387 echo "$as_me: failed program was:" >&5
72388 sed 's/^/| /' conftest.$ac_ext >&5
72390 glibcxx_cv_func__ldexpf_use=no
72392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72393 ac_ext=c
72394 ac_cpp='$CPP $CPPFLAGS'
72395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
72404 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
72406 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
72408 for ac_func in _ldexpf
72410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72411 echo "$as_me:$LINENO: checking for $ac_func" >&5
72412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72413 if eval "test \"\${$as_ac_var+set}\" = set"; then
72414 echo $ECHO_N "(cached) $ECHO_C" >&6
72415 else
72416 if test x$gcc_no_link = xyes; then
72417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72419 { (exit 1); exit 1; }; }
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h. */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h. */
72427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72429 #define $ac_func innocuous_$ac_func
72431 /* System header to define __stub macros and hopefully few prototypes,
72432 which can conflict with char $ac_func (); below.
72433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72434 <limits.h> exists even on freestanding compilers. */
72436 #ifdef __STDC__
72437 # include <limits.h>
72438 #else
72439 # include <assert.h>
72440 #endif
72442 #undef $ac_func
72444 /* Override any gcc2 internal prototype to avoid an error. */
72445 #ifdef __cplusplus
72446 extern "C"
72448 #endif
72449 /* We use char because int might match the return type of a gcc2
72450 builtin and then its argument prototype would still apply. */
72451 char $ac_func ();
72452 /* The GNU C library defines this for functions which it implements
72453 to always fail with ENOSYS. Some functions are actually named
72454 something starting with __ and the normal name is an alias. */
72455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72456 choke me
72457 #else
72458 char (*f) () = $ac_func;
72459 #endif
72460 #ifdef __cplusplus
72462 #endif
72465 main ()
72467 return f != $ac_func;
72469 return 0;
72471 _ACEOF
72472 rm -f conftest.$ac_objext conftest$ac_exeext
72473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72474 (eval $ac_link) 2>conftest.er1
72475 ac_status=$?
72476 grep -v '^ *+' conftest.er1 >conftest.err
72477 rm -f conftest.er1
72478 cat conftest.err >&5
72479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72480 (exit $ac_status); } &&
72481 { ac_try='test -z "$ac_c_werror_flag"
72482 || test ! -s conftest.err'
72483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72484 (eval $ac_try) 2>&5
72485 ac_status=$?
72486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72487 (exit $ac_status); }; } &&
72488 { ac_try='test -s conftest$ac_exeext'
72489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72490 (eval $ac_try) 2>&5
72491 ac_status=$?
72492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72493 (exit $ac_status); }; }; then
72494 eval "$as_ac_var=yes"
72495 else
72496 echo "$as_me: failed program was:" >&5
72497 sed 's/^/| /' conftest.$ac_ext >&5
72499 eval "$as_ac_var=no"
72501 rm -f conftest.err conftest.$ac_objext \
72502 conftest$ac_exeext conftest.$ac_ext
72504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72506 if test `eval echo '${'$as_ac_var'}'` = yes; then
72507 cat >>confdefs.h <<_ACEOF
72508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72509 _ACEOF
72512 done
72522 echo "$as_me:$LINENO: checking for logf declaration" >&5
72523 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
72524 if test x${glibcxx_cv_func_logf_use+set} != xset; then
72525 if test "${glibcxx_cv_func_logf_use+set}" = set; then
72526 echo $ECHO_N "(cached) $ECHO_C" >&6
72527 else
72531 ac_ext=cc
72532 ac_cpp='$CXXCPP $CPPFLAGS'
72533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72537 cat >conftest.$ac_ext <<_ACEOF
72538 /* confdefs.h. */
72539 _ACEOF
72540 cat confdefs.h >>conftest.$ac_ext
72541 cat >>conftest.$ac_ext <<_ACEOF
72542 /* end confdefs.h. */
72543 #include <math.h>
72544 #ifdef HAVE_IEEEFP_H
72545 #include <ieeefp.h>
72546 #endif
72549 main ()
72551 logf(0);
72553 return 0;
72555 _ACEOF
72556 rm -f conftest.$ac_objext
72557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72558 (eval $ac_compile) 2>conftest.er1
72559 ac_status=$?
72560 grep -v '^ *+' conftest.er1 >conftest.err
72561 rm -f conftest.er1
72562 cat conftest.err >&5
72563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72564 (exit $ac_status); } &&
72565 { ac_try='test -z "$ac_cxx_werror_flag"
72566 || test ! -s conftest.err'
72567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72568 (eval $ac_try) 2>&5
72569 ac_status=$?
72570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72571 (exit $ac_status); }; } &&
72572 { ac_try='test -s conftest.$ac_objext'
72573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72574 (eval $ac_try) 2>&5
72575 ac_status=$?
72576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72577 (exit $ac_status); }; }; then
72578 glibcxx_cv_func_logf_use=yes
72579 else
72580 echo "$as_me: failed program was:" >&5
72581 sed 's/^/| /' conftest.$ac_ext >&5
72583 glibcxx_cv_func_logf_use=no
72585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72586 ac_ext=c
72587 ac_cpp='$CPP $CPPFLAGS'
72588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72597 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72599 if test x$glibcxx_cv_func_logf_use = x"yes"; then
72601 for ac_func in logf
72603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72604 echo "$as_me:$LINENO: checking for $ac_func" >&5
72605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72606 if eval "test \"\${$as_ac_var+set}\" = set"; then
72607 echo $ECHO_N "(cached) $ECHO_C" >&6
72608 else
72609 if test x$gcc_no_link = xyes; then
72610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72612 { (exit 1); exit 1; }; }
72614 cat >conftest.$ac_ext <<_ACEOF
72615 /* confdefs.h. */
72616 _ACEOF
72617 cat confdefs.h >>conftest.$ac_ext
72618 cat >>conftest.$ac_ext <<_ACEOF
72619 /* end confdefs.h. */
72620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72622 #define $ac_func innocuous_$ac_func
72624 /* System header to define __stub macros and hopefully few prototypes,
72625 which can conflict with char $ac_func (); below.
72626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72627 <limits.h> exists even on freestanding compilers. */
72629 #ifdef __STDC__
72630 # include <limits.h>
72631 #else
72632 # include <assert.h>
72633 #endif
72635 #undef $ac_func
72637 /* Override any gcc2 internal prototype to avoid an error. */
72638 #ifdef __cplusplus
72639 extern "C"
72641 #endif
72642 /* We use char because int might match the return type of a gcc2
72643 builtin and then its argument prototype would still apply. */
72644 char $ac_func ();
72645 /* The GNU C library defines this for functions which it implements
72646 to always fail with ENOSYS. Some functions are actually named
72647 something starting with __ and the normal name is an alias. */
72648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72649 choke me
72650 #else
72651 char (*f) () = $ac_func;
72652 #endif
72653 #ifdef __cplusplus
72655 #endif
72658 main ()
72660 return f != $ac_func;
72662 return 0;
72664 _ACEOF
72665 rm -f conftest.$ac_objext conftest$ac_exeext
72666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72667 (eval $ac_link) 2>conftest.er1
72668 ac_status=$?
72669 grep -v '^ *+' conftest.er1 >conftest.err
72670 rm -f conftest.er1
72671 cat conftest.err >&5
72672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72673 (exit $ac_status); } &&
72674 { ac_try='test -z "$ac_c_werror_flag"
72675 || test ! -s conftest.err'
72676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72677 (eval $ac_try) 2>&5
72678 ac_status=$?
72679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72680 (exit $ac_status); }; } &&
72681 { ac_try='test -s conftest$ac_exeext'
72682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72683 (eval $ac_try) 2>&5
72684 ac_status=$?
72685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72686 (exit $ac_status); }; }; then
72687 eval "$as_ac_var=yes"
72688 else
72689 echo "$as_me: failed program was:" >&5
72690 sed 's/^/| /' conftest.$ac_ext >&5
72692 eval "$as_ac_var=no"
72694 rm -f conftest.err conftest.$ac_objext \
72695 conftest$ac_exeext conftest.$ac_ext
72697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72699 if test `eval echo '${'$as_ac_var'}'` = yes; then
72700 cat >>confdefs.h <<_ACEOF
72701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72702 _ACEOF
72705 done
72707 else
72709 echo "$as_me:$LINENO: checking for _logf declaration" >&5
72710 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72711 if test x${glibcxx_cv_func__logf_use+set} != xset; then
72712 if test "${glibcxx_cv_func__logf_use+set}" = set; then
72713 echo $ECHO_N "(cached) $ECHO_C" >&6
72714 else
72718 ac_ext=cc
72719 ac_cpp='$CXXCPP $CPPFLAGS'
72720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72724 cat >conftest.$ac_ext <<_ACEOF
72725 /* confdefs.h. */
72726 _ACEOF
72727 cat confdefs.h >>conftest.$ac_ext
72728 cat >>conftest.$ac_ext <<_ACEOF
72729 /* end confdefs.h. */
72730 #include <math.h>
72731 #ifdef HAVE_IEEEFP_H
72732 #include <ieeefp.h>
72733 #endif
72736 main ()
72738 _logf(0);
72740 return 0;
72742 _ACEOF
72743 rm -f conftest.$ac_objext
72744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72745 (eval $ac_compile) 2>conftest.er1
72746 ac_status=$?
72747 grep -v '^ *+' conftest.er1 >conftest.err
72748 rm -f conftest.er1
72749 cat conftest.err >&5
72750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72751 (exit $ac_status); } &&
72752 { ac_try='test -z "$ac_cxx_werror_flag"
72753 || test ! -s conftest.err'
72754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755 (eval $ac_try) 2>&5
72756 ac_status=$?
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); }; } &&
72759 { ac_try='test -s conftest.$ac_objext'
72760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72761 (eval $ac_try) 2>&5
72762 ac_status=$?
72763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72764 (exit $ac_status); }; }; then
72765 glibcxx_cv_func__logf_use=yes
72766 else
72767 echo "$as_me: failed program was:" >&5
72768 sed 's/^/| /' conftest.$ac_ext >&5
72770 glibcxx_cv_func__logf_use=no
72772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72773 ac_ext=c
72774 ac_cpp='$CPP $CPPFLAGS'
72775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72784 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72786 if test x$glibcxx_cv_func__logf_use = x"yes"; then
72788 for ac_func in _logf
72790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72791 echo "$as_me:$LINENO: checking for $ac_func" >&5
72792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72793 if eval "test \"\${$as_ac_var+set}\" = set"; then
72794 echo $ECHO_N "(cached) $ECHO_C" >&6
72795 else
72796 if test x$gcc_no_link = xyes; then
72797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72799 { (exit 1); exit 1; }; }
72801 cat >conftest.$ac_ext <<_ACEOF
72802 /* confdefs.h. */
72803 _ACEOF
72804 cat confdefs.h >>conftest.$ac_ext
72805 cat >>conftest.$ac_ext <<_ACEOF
72806 /* end confdefs.h. */
72807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72809 #define $ac_func innocuous_$ac_func
72811 /* System header to define __stub macros and hopefully few prototypes,
72812 which can conflict with char $ac_func (); below.
72813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72814 <limits.h> exists even on freestanding compilers. */
72816 #ifdef __STDC__
72817 # include <limits.h>
72818 #else
72819 # include <assert.h>
72820 #endif
72822 #undef $ac_func
72824 /* Override any gcc2 internal prototype to avoid an error. */
72825 #ifdef __cplusplus
72826 extern "C"
72828 #endif
72829 /* We use char because int might match the return type of a gcc2
72830 builtin and then its argument prototype would still apply. */
72831 char $ac_func ();
72832 /* The GNU C library defines this for functions which it implements
72833 to always fail with ENOSYS. Some functions are actually named
72834 something starting with __ and the normal name is an alias. */
72835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72836 choke me
72837 #else
72838 char (*f) () = $ac_func;
72839 #endif
72840 #ifdef __cplusplus
72842 #endif
72845 main ()
72847 return f != $ac_func;
72849 return 0;
72851 _ACEOF
72852 rm -f conftest.$ac_objext conftest$ac_exeext
72853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72854 (eval $ac_link) 2>conftest.er1
72855 ac_status=$?
72856 grep -v '^ *+' conftest.er1 >conftest.err
72857 rm -f conftest.er1
72858 cat conftest.err >&5
72859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72860 (exit $ac_status); } &&
72861 { ac_try='test -z "$ac_c_werror_flag"
72862 || test ! -s conftest.err'
72863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72864 (eval $ac_try) 2>&5
72865 ac_status=$?
72866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72867 (exit $ac_status); }; } &&
72868 { ac_try='test -s conftest$ac_exeext'
72869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72870 (eval $ac_try) 2>&5
72871 ac_status=$?
72872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72873 (exit $ac_status); }; }; then
72874 eval "$as_ac_var=yes"
72875 else
72876 echo "$as_me: failed program was:" >&5
72877 sed 's/^/| /' conftest.$ac_ext >&5
72879 eval "$as_ac_var=no"
72881 rm -f conftest.err conftest.$ac_objext \
72882 conftest$ac_exeext conftest.$ac_ext
72884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72886 if test `eval echo '${'$as_ac_var'}'` = yes; then
72887 cat >>confdefs.h <<_ACEOF
72888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72889 _ACEOF
72892 done
72902 echo "$as_me:$LINENO: checking for log10f declaration" >&5
72903 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72904 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72905 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72906 echo $ECHO_N "(cached) $ECHO_C" >&6
72907 else
72911 ac_ext=cc
72912 ac_cpp='$CXXCPP $CPPFLAGS'
72913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72917 cat >conftest.$ac_ext <<_ACEOF
72918 /* confdefs.h. */
72919 _ACEOF
72920 cat confdefs.h >>conftest.$ac_ext
72921 cat >>conftest.$ac_ext <<_ACEOF
72922 /* end confdefs.h. */
72923 #include <math.h>
72924 #ifdef HAVE_IEEEFP_H
72925 #include <ieeefp.h>
72926 #endif
72929 main ()
72931 log10f(0);
72933 return 0;
72935 _ACEOF
72936 rm -f conftest.$ac_objext
72937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72938 (eval $ac_compile) 2>conftest.er1
72939 ac_status=$?
72940 grep -v '^ *+' conftest.er1 >conftest.err
72941 rm -f conftest.er1
72942 cat conftest.err >&5
72943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72944 (exit $ac_status); } &&
72945 { ac_try='test -z "$ac_cxx_werror_flag"
72946 || test ! -s conftest.err'
72947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72948 (eval $ac_try) 2>&5
72949 ac_status=$?
72950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72951 (exit $ac_status); }; } &&
72952 { ac_try='test -s conftest.$ac_objext'
72953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72954 (eval $ac_try) 2>&5
72955 ac_status=$?
72956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72957 (exit $ac_status); }; }; then
72958 glibcxx_cv_func_log10f_use=yes
72959 else
72960 echo "$as_me: failed program was:" >&5
72961 sed 's/^/| /' conftest.$ac_ext >&5
72963 glibcxx_cv_func_log10f_use=no
72965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72966 ac_ext=c
72967 ac_cpp='$CPP $CPPFLAGS'
72968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72977 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72979 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72981 for ac_func in log10f
72983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72984 echo "$as_me:$LINENO: checking for $ac_func" >&5
72985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72986 if eval "test \"\${$as_ac_var+set}\" = set"; then
72987 echo $ECHO_N "(cached) $ECHO_C" >&6
72988 else
72989 if test x$gcc_no_link = xyes; then
72990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72992 { (exit 1); exit 1; }; }
72994 cat >conftest.$ac_ext <<_ACEOF
72995 /* confdefs.h. */
72996 _ACEOF
72997 cat confdefs.h >>conftest.$ac_ext
72998 cat >>conftest.$ac_ext <<_ACEOF
72999 /* end confdefs.h. */
73000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73002 #define $ac_func innocuous_$ac_func
73004 /* System header to define __stub macros and hopefully few prototypes,
73005 which can conflict with char $ac_func (); below.
73006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73007 <limits.h> exists even on freestanding compilers. */
73009 #ifdef __STDC__
73010 # include <limits.h>
73011 #else
73012 # include <assert.h>
73013 #endif
73015 #undef $ac_func
73017 /* Override any gcc2 internal prototype to avoid an error. */
73018 #ifdef __cplusplus
73019 extern "C"
73021 #endif
73022 /* We use char because int might match the return type of a gcc2
73023 builtin and then its argument prototype would still apply. */
73024 char $ac_func ();
73025 /* The GNU C library defines this for functions which it implements
73026 to always fail with ENOSYS. Some functions are actually named
73027 something starting with __ and the normal name is an alias. */
73028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73029 choke me
73030 #else
73031 char (*f) () = $ac_func;
73032 #endif
73033 #ifdef __cplusplus
73035 #endif
73038 main ()
73040 return f != $ac_func;
73042 return 0;
73044 _ACEOF
73045 rm -f conftest.$ac_objext conftest$ac_exeext
73046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73047 (eval $ac_link) 2>conftest.er1
73048 ac_status=$?
73049 grep -v '^ *+' conftest.er1 >conftest.err
73050 rm -f conftest.er1
73051 cat conftest.err >&5
73052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73053 (exit $ac_status); } &&
73054 { ac_try='test -z "$ac_c_werror_flag"
73055 || test ! -s conftest.err'
73056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73057 (eval $ac_try) 2>&5
73058 ac_status=$?
73059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73060 (exit $ac_status); }; } &&
73061 { ac_try='test -s conftest$ac_exeext'
73062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73063 (eval $ac_try) 2>&5
73064 ac_status=$?
73065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73066 (exit $ac_status); }; }; then
73067 eval "$as_ac_var=yes"
73068 else
73069 echo "$as_me: failed program was:" >&5
73070 sed 's/^/| /' conftest.$ac_ext >&5
73072 eval "$as_ac_var=no"
73074 rm -f conftest.err conftest.$ac_objext \
73075 conftest$ac_exeext conftest.$ac_ext
73077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73079 if test `eval echo '${'$as_ac_var'}'` = yes; then
73080 cat >>confdefs.h <<_ACEOF
73081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73082 _ACEOF
73085 done
73087 else
73089 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
73090 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
73091 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73092 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
73093 echo $ECHO_N "(cached) $ECHO_C" >&6
73094 else
73098 ac_ext=cc
73099 ac_cpp='$CXXCPP $CPPFLAGS'
73100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73104 cat >conftest.$ac_ext <<_ACEOF
73105 /* confdefs.h. */
73106 _ACEOF
73107 cat confdefs.h >>conftest.$ac_ext
73108 cat >>conftest.$ac_ext <<_ACEOF
73109 /* end confdefs.h. */
73110 #include <math.h>
73111 #ifdef HAVE_IEEEFP_H
73112 #include <ieeefp.h>
73113 #endif
73116 main ()
73118 _log10f(0);
73120 return 0;
73122 _ACEOF
73123 rm -f conftest.$ac_objext
73124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73125 (eval $ac_compile) 2>conftest.er1
73126 ac_status=$?
73127 grep -v '^ *+' conftest.er1 >conftest.err
73128 rm -f conftest.er1
73129 cat conftest.err >&5
73130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73131 (exit $ac_status); } &&
73132 { ac_try='test -z "$ac_cxx_werror_flag"
73133 || test ! -s conftest.err'
73134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73135 (eval $ac_try) 2>&5
73136 ac_status=$?
73137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73138 (exit $ac_status); }; } &&
73139 { ac_try='test -s conftest.$ac_objext'
73140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73141 (eval $ac_try) 2>&5
73142 ac_status=$?
73143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73144 (exit $ac_status); }; }; then
73145 glibcxx_cv_func__log10f_use=yes
73146 else
73147 echo "$as_me: failed program was:" >&5
73148 sed 's/^/| /' conftest.$ac_ext >&5
73150 glibcxx_cv_func__log10f_use=no
73152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73153 ac_ext=c
73154 ac_cpp='$CPP $CPPFLAGS'
73155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
73164 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
73166 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73168 for ac_func in _log10f
73170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73171 echo "$as_me:$LINENO: checking for $ac_func" >&5
73172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73173 if eval "test \"\${$as_ac_var+set}\" = set"; then
73174 echo $ECHO_N "(cached) $ECHO_C" >&6
73175 else
73176 if test x$gcc_no_link = xyes; then
73177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73179 { (exit 1); exit 1; }; }
73181 cat >conftest.$ac_ext <<_ACEOF
73182 /* confdefs.h. */
73183 _ACEOF
73184 cat confdefs.h >>conftest.$ac_ext
73185 cat >>conftest.$ac_ext <<_ACEOF
73186 /* end confdefs.h. */
73187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73189 #define $ac_func innocuous_$ac_func
73191 /* System header to define __stub macros and hopefully few prototypes,
73192 which can conflict with char $ac_func (); below.
73193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73194 <limits.h> exists even on freestanding compilers. */
73196 #ifdef __STDC__
73197 # include <limits.h>
73198 #else
73199 # include <assert.h>
73200 #endif
73202 #undef $ac_func
73204 /* Override any gcc2 internal prototype to avoid an error. */
73205 #ifdef __cplusplus
73206 extern "C"
73208 #endif
73209 /* We use char because int might match the return type of a gcc2
73210 builtin and then its argument prototype would still apply. */
73211 char $ac_func ();
73212 /* The GNU C library defines this for functions which it implements
73213 to always fail with ENOSYS. Some functions are actually named
73214 something starting with __ and the normal name is an alias. */
73215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73216 choke me
73217 #else
73218 char (*f) () = $ac_func;
73219 #endif
73220 #ifdef __cplusplus
73222 #endif
73225 main ()
73227 return f != $ac_func;
73229 return 0;
73231 _ACEOF
73232 rm -f conftest.$ac_objext conftest$ac_exeext
73233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73234 (eval $ac_link) 2>conftest.er1
73235 ac_status=$?
73236 grep -v '^ *+' conftest.er1 >conftest.err
73237 rm -f conftest.er1
73238 cat conftest.err >&5
73239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73240 (exit $ac_status); } &&
73241 { ac_try='test -z "$ac_c_werror_flag"
73242 || test ! -s conftest.err'
73243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73244 (eval $ac_try) 2>&5
73245 ac_status=$?
73246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73247 (exit $ac_status); }; } &&
73248 { ac_try='test -s conftest$ac_exeext'
73249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73250 (eval $ac_try) 2>&5
73251 ac_status=$?
73252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73253 (exit $ac_status); }; }; then
73254 eval "$as_ac_var=yes"
73255 else
73256 echo "$as_me: failed program was:" >&5
73257 sed 's/^/| /' conftest.$ac_ext >&5
73259 eval "$as_ac_var=no"
73261 rm -f conftest.err conftest.$ac_objext \
73262 conftest$ac_exeext conftest.$ac_ext
73264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73266 if test `eval echo '${'$as_ac_var'}'` = yes; then
73267 cat >>confdefs.h <<_ACEOF
73268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73269 _ACEOF
73272 done
73282 echo "$as_me:$LINENO: checking for modff declaration" >&5
73283 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73284 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73285 if test "${glibcxx_cv_func_modff_use+set}" = set; then
73286 echo $ECHO_N "(cached) $ECHO_C" >&6
73287 else
73291 ac_ext=cc
73292 ac_cpp='$CXXCPP $CPPFLAGS'
73293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73297 cat >conftest.$ac_ext <<_ACEOF
73298 /* confdefs.h. */
73299 _ACEOF
73300 cat confdefs.h >>conftest.$ac_ext
73301 cat >>conftest.$ac_ext <<_ACEOF
73302 /* end confdefs.h. */
73303 #include <math.h>
73305 main ()
73307 modff(0, 0);
73309 return 0;
73311 _ACEOF
73312 rm -f conftest.$ac_objext
73313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73314 (eval $ac_compile) 2>conftest.er1
73315 ac_status=$?
73316 grep -v '^ *+' conftest.er1 >conftest.err
73317 rm -f conftest.er1
73318 cat conftest.err >&5
73319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73320 (exit $ac_status); } &&
73321 { ac_try='test -z "$ac_cxx_werror_flag"
73322 || test ! -s conftest.err'
73323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73324 (eval $ac_try) 2>&5
73325 ac_status=$?
73326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73327 (exit $ac_status); }; } &&
73328 { ac_try='test -s conftest.$ac_objext'
73329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73330 (eval $ac_try) 2>&5
73331 ac_status=$?
73332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73333 (exit $ac_status); }; }; then
73334 glibcxx_cv_func_modff_use=yes
73335 else
73336 echo "$as_me: failed program was:" >&5
73337 sed 's/^/| /' conftest.$ac_ext >&5
73339 glibcxx_cv_func_modff_use=no
73341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73342 ac_ext=c
73343 ac_cpp='$CPP $CPPFLAGS'
73344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73353 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73355 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73357 for ac_func in modff
73359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73360 echo "$as_me:$LINENO: checking for $ac_func" >&5
73361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73362 if eval "test \"\${$as_ac_var+set}\" = set"; then
73363 echo $ECHO_N "(cached) $ECHO_C" >&6
73364 else
73365 if test x$gcc_no_link = xyes; then
73366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73368 { (exit 1); exit 1; }; }
73370 cat >conftest.$ac_ext <<_ACEOF
73371 /* confdefs.h. */
73372 _ACEOF
73373 cat confdefs.h >>conftest.$ac_ext
73374 cat >>conftest.$ac_ext <<_ACEOF
73375 /* end confdefs.h. */
73376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73378 #define $ac_func innocuous_$ac_func
73380 /* System header to define __stub macros and hopefully few prototypes,
73381 which can conflict with char $ac_func (); below.
73382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73383 <limits.h> exists even on freestanding compilers. */
73385 #ifdef __STDC__
73386 # include <limits.h>
73387 #else
73388 # include <assert.h>
73389 #endif
73391 #undef $ac_func
73393 /* Override any gcc2 internal prototype to avoid an error. */
73394 #ifdef __cplusplus
73395 extern "C"
73397 #endif
73398 /* We use char because int might match the return type of a gcc2
73399 builtin and then its argument prototype would still apply. */
73400 char $ac_func ();
73401 /* The GNU C library defines this for functions which it implements
73402 to always fail with ENOSYS. Some functions are actually named
73403 something starting with __ and the normal name is an alias. */
73404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73405 choke me
73406 #else
73407 char (*f) () = $ac_func;
73408 #endif
73409 #ifdef __cplusplus
73411 #endif
73414 main ()
73416 return f != $ac_func;
73418 return 0;
73420 _ACEOF
73421 rm -f conftest.$ac_objext conftest$ac_exeext
73422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73423 (eval $ac_link) 2>conftest.er1
73424 ac_status=$?
73425 grep -v '^ *+' conftest.er1 >conftest.err
73426 rm -f conftest.er1
73427 cat conftest.err >&5
73428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73429 (exit $ac_status); } &&
73430 { ac_try='test -z "$ac_c_werror_flag"
73431 || test ! -s conftest.err'
73432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73433 (eval $ac_try) 2>&5
73434 ac_status=$?
73435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73436 (exit $ac_status); }; } &&
73437 { ac_try='test -s conftest$ac_exeext'
73438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73439 (eval $ac_try) 2>&5
73440 ac_status=$?
73441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73442 (exit $ac_status); }; }; then
73443 eval "$as_ac_var=yes"
73444 else
73445 echo "$as_me: failed program was:" >&5
73446 sed 's/^/| /' conftest.$ac_ext >&5
73448 eval "$as_ac_var=no"
73450 rm -f conftest.err conftest.$ac_objext \
73451 conftest$ac_exeext conftest.$ac_ext
73453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73455 if test `eval echo '${'$as_ac_var'}'` = yes; then
73456 cat >>confdefs.h <<_ACEOF
73457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73458 _ACEOF
73461 done
73463 else
73465 echo "$as_me:$LINENO: checking for _modff declaration" >&5
73466 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
73467 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73468 if test "${glibcxx_cv_func__modff_use+set}" = set; then
73469 echo $ECHO_N "(cached) $ECHO_C" >&6
73470 else
73474 ac_ext=cc
73475 ac_cpp='$CXXCPP $CPPFLAGS'
73476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73480 cat >conftest.$ac_ext <<_ACEOF
73481 /* confdefs.h. */
73482 _ACEOF
73483 cat confdefs.h >>conftest.$ac_ext
73484 cat >>conftest.$ac_ext <<_ACEOF
73485 /* end confdefs.h. */
73486 #include <math.h>
73488 main ()
73490 _modff(0, 0);
73492 return 0;
73494 _ACEOF
73495 rm -f conftest.$ac_objext
73496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73497 (eval $ac_compile) 2>conftest.er1
73498 ac_status=$?
73499 grep -v '^ *+' conftest.er1 >conftest.err
73500 rm -f conftest.er1
73501 cat conftest.err >&5
73502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73503 (exit $ac_status); } &&
73504 { ac_try='test -z "$ac_cxx_werror_flag"
73505 || test ! -s conftest.err'
73506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507 (eval $ac_try) 2>&5
73508 ac_status=$?
73509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510 (exit $ac_status); }; } &&
73511 { ac_try='test -s conftest.$ac_objext'
73512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73513 (eval $ac_try) 2>&5
73514 ac_status=$?
73515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73516 (exit $ac_status); }; }; then
73517 glibcxx_cv_func__modff_use=yes
73518 else
73519 echo "$as_me: failed program was:" >&5
73520 sed 's/^/| /' conftest.$ac_ext >&5
73522 glibcxx_cv_func__modff_use=no
73524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73525 ac_ext=c
73526 ac_cpp='$CPP $CPPFLAGS'
73527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73536 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73538 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73540 for ac_func in _modff
73542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73543 echo "$as_me:$LINENO: checking for $ac_func" >&5
73544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73545 if eval "test \"\${$as_ac_var+set}\" = set"; then
73546 echo $ECHO_N "(cached) $ECHO_C" >&6
73547 else
73548 if test x$gcc_no_link = xyes; then
73549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73551 { (exit 1); exit 1; }; }
73553 cat >conftest.$ac_ext <<_ACEOF
73554 /* confdefs.h. */
73555 _ACEOF
73556 cat confdefs.h >>conftest.$ac_ext
73557 cat >>conftest.$ac_ext <<_ACEOF
73558 /* end confdefs.h. */
73559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73561 #define $ac_func innocuous_$ac_func
73563 /* System header to define __stub macros and hopefully few prototypes,
73564 which can conflict with char $ac_func (); below.
73565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73566 <limits.h> exists even on freestanding compilers. */
73568 #ifdef __STDC__
73569 # include <limits.h>
73570 #else
73571 # include <assert.h>
73572 #endif
73574 #undef $ac_func
73576 /* Override any gcc2 internal prototype to avoid an error. */
73577 #ifdef __cplusplus
73578 extern "C"
73580 #endif
73581 /* We use char because int might match the return type of a gcc2
73582 builtin and then its argument prototype would still apply. */
73583 char $ac_func ();
73584 /* The GNU C library defines this for functions which it implements
73585 to always fail with ENOSYS. Some functions are actually named
73586 something starting with __ and the normal name is an alias. */
73587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73588 choke me
73589 #else
73590 char (*f) () = $ac_func;
73591 #endif
73592 #ifdef __cplusplus
73594 #endif
73597 main ()
73599 return f != $ac_func;
73601 return 0;
73603 _ACEOF
73604 rm -f conftest.$ac_objext conftest$ac_exeext
73605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73606 (eval $ac_link) 2>conftest.er1
73607 ac_status=$?
73608 grep -v '^ *+' conftest.er1 >conftest.err
73609 rm -f conftest.er1
73610 cat conftest.err >&5
73611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73612 (exit $ac_status); } &&
73613 { ac_try='test -z "$ac_c_werror_flag"
73614 || test ! -s conftest.err'
73615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73616 (eval $ac_try) 2>&5
73617 ac_status=$?
73618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73619 (exit $ac_status); }; } &&
73620 { ac_try='test -s conftest$ac_exeext'
73621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73622 (eval $ac_try) 2>&5
73623 ac_status=$?
73624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73625 (exit $ac_status); }; }; then
73626 eval "$as_ac_var=yes"
73627 else
73628 echo "$as_me: failed program was:" >&5
73629 sed 's/^/| /' conftest.$ac_ext >&5
73631 eval "$as_ac_var=no"
73633 rm -f conftest.err conftest.$ac_objext \
73634 conftest$ac_exeext conftest.$ac_ext
73636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73638 if test `eval echo '${'$as_ac_var'}'` = yes; then
73639 cat >>confdefs.h <<_ACEOF
73640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73641 _ACEOF
73644 done
73654 echo "$as_me:$LINENO: checking for modf declaration" >&5
73655 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73656 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73657 if test "${glibcxx_cv_func_modf_use+set}" = set; then
73658 echo $ECHO_N "(cached) $ECHO_C" >&6
73659 else
73663 ac_ext=cc
73664 ac_cpp='$CXXCPP $CPPFLAGS'
73665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73669 cat >conftest.$ac_ext <<_ACEOF
73670 /* confdefs.h. */
73671 _ACEOF
73672 cat confdefs.h >>conftest.$ac_ext
73673 cat >>conftest.$ac_ext <<_ACEOF
73674 /* end confdefs.h. */
73675 #include <math.h>
73677 main ()
73679 modf(0, 0);
73681 return 0;
73683 _ACEOF
73684 rm -f conftest.$ac_objext
73685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73686 (eval $ac_compile) 2>conftest.er1
73687 ac_status=$?
73688 grep -v '^ *+' conftest.er1 >conftest.err
73689 rm -f conftest.er1
73690 cat conftest.err >&5
73691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73692 (exit $ac_status); } &&
73693 { ac_try='test -z "$ac_cxx_werror_flag"
73694 || test ! -s conftest.err'
73695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73696 (eval $ac_try) 2>&5
73697 ac_status=$?
73698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73699 (exit $ac_status); }; } &&
73700 { ac_try='test -s conftest.$ac_objext'
73701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73702 (eval $ac_try) 2>&5
73703 ac_status=$?
73704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73705 (exit $ac_status); }; }; then
73706 glibcxx_cv_func_modf_use=yes
73707 else
73708 echo "$as_me: failed program was:" >&5
73709 sed 's/^/| /' conftest.$ac_ext >&5
73711 glibcxx_cv_func_modf_use=no
73713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73714 ac_ext=c
73715 ac_cpp='$CPP $CPPFLAGS'
73716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73725 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73727 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73729 for ac_func in modf
73731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73732 echo "$as_me:$LINENO: checking for $ac_func" >&5
73733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73734 if eval "test \"\${$as_ac_var+set}\" = set"; then
73735 echo $ECHO_N "(cached) $ECHO_C" >&6
73736 else
73737 if test x$gcc_no_link = xyes; then
73738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73740 { (exit 1); exit 1; }; }
73742 cat >conftest.$ac_ext <<_ACEOF
73743 /* confdefs.h. */
73744 _ACEOF
73745 cat confdefs.h >>conftest.$ac_ext
73746 cat >>conftest.$ac_ext <<_ACEOF
73747 /* end confdefs.h. */
73748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73750 #define $ac_func innocuous_$ac_func
73752 /* System header to define __stub macros and hopefully few prototypes,
73753 which can conflict with char $ac_func (); below.
73754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73755 <limits.h> exists even on freestanding compilers. */
73757 #ifdef __STDC__
73758 # include <limits.h>
73759 #else
73760 # include <assert.h>
73761 #endif
73763 #undef $ac_func
73765 /* Override any gcc2 internal prototype to avoid an error. */
73766 #ifdef __cplusplus
73767 extern "C"
73769 #endif
73770 /* We use char because int might match the return type of a gcc2
73771 builtin and then its argument prototype would still apply. */
73772 char $ac_func ();
73773 /* The GNU C library defines this for functions which it implements
73774 to always fail with ENOSYS. Some functions are actually named
73775 something starting with __ and the normal name is an alias. */
73776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73777 choke me
73778 #else
73779 char (*f) () = $ac_func;
73780 #endif
73781 #ifdef __cplusplus
73783 #endif
73786 main ()
73788 return f != $ac_func;
73790 return 0;
73792 _ACEOF
73793 rm -f conftest.$ac_objext conftest$ac_exeext
73794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73795 (eval $ac_link) 2>conftest.er1
73796 ac_status=$?
73797 grep -v '^ *+' conftest.er1 >conftest.err
73798 rm -f conftest.er1
73799 cat conftest.err >&5
73800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73801 (exit $ac_status); } &&
73802 { ac_try='test -z "$ac_c_werror_flag"
73803 || test ! -s conftest.err'
73804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73805 (eval $ac_try) 2>&5
73806 ac_status=$?
73807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73808 (exit $ac_status); }; } &&
73809 { ac_try='test -s conftest$ac_exeext'
73810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73811 (eval $ac_try) 2>&5
73812 ac_status=$?
73813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73814 (exit $ac_status); }; }; then
73815 eval "$as_ac_var=yes"
73816 else
73817 echo "$as_me: failed program was:" >&5
73818 sed 's/^/| /' conftest.$ac_ext >&5
73820 eval "$as_ac_var=no"
73822 rm -f conftest.err conftest.$ac_objext \
73823 conftest$ac_exeext conftest.$ac_ext
73825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73827 if test `eval echo '${'$as_ac_var'}'` = yes; then
73828 cat >>confdefs.h <<_ACEOF
73829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73830 _ACEOF
73833 done
73835 else
73837 echo "$as_me:$LINENO: checking for _modf declaration" >&5
73838 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73839 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73840 if test "${glibcxx_cv_func__modf_use+set}" = set; then
73841 echo $ECHO_N "(cached) $ECHO_C" >&6
73842 else
73846 ac_ext=cc
73847 ac_cpp='$CXXCPP $CPPFLAGS'
73848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73852 cat >conftest.$ac_ext <<_ACEOF
73853 /* confdefs.h. */
73854 _ACEOF
73855 cat confdefs.h >>conftest.$ac_ext
73856 cat >>conftest.$ac_ext <<_ACEOF
73857 /* end confdefs.h. */
73858 #include <math.h>
73860 main ()
73862 _modf(0, 0);
73864 return 0;
73866 _ACEOF
73867 rm -f conftest.$ac_objext
73868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73869 (eval $ac_compile) 2>conftest.er1
73870 ac_status=$?
73871 grep -v '^ *+' conftest.er1 >conftest.err
73872 rm -f conftest.er1
73873 cat conftest.err >&5
73874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73875 (exit $ac_status); } &&
73876 { ac_try='test -z "$ac_cxx_werror_flag"
73877 || test ! -s conftest.err'
73878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73879 (eval $ac_try) 2>&5
73880 ac_status=$?
73881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73882 (exit $ac_status); }; } &&
73883 { ac_try='test -s conftest.$ac_objext'
73884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73885 (eval $ac_try) 2>&5
73886 ac_status=$?
73887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73888 (exit $ac_status); }; }; then
73889 glibcxx_cv_func__modf_use=yes
73890 else
73891 echo "$as_me: failed program was:" >&5
73892 sed 's/^/| /' conftest.$ac_ext >&5
73894 glibcxx_cv_func__modf_use=no
73896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73897 ac_ext=c
73898 ac_cpp='$CPP $CPPFLAGS'
73899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73908 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73910 if test x$glibcxx_cv_func__modf_use = x"yes"; then
73912 for ac_func in _modf
73914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73915 echo "$as_me:$LINENO: checking for $ac_func" >&5
73916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73917 if eval "test \"\${$as_ac_var+set}\" = set"; then
73918 echo $ECHO_N "(cached) $ECHO_C" >&6
73919 else
73920 if test x$gcc_no_link = xyes; then
73921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73923 { (exit 1); exit 1; }; }
73925 cat >conftest.$ac_ext <<_ACEOF
73926 /* confdefs.h. */
73927 _ACEOF
73928 cat confdefs.h >>conftest.$ac_ext
73929 cat >>conftest.$ac_ext <<_ACEOF
73930 /* end confdefs.h. */
73931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73933 #define $ac_func innocuous_$ac_func
73935 /* System header to define __stub macros and hopefully few prototypes,
73936 which can conflict with char $ac_func (); below.
73937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73938 <limits.h> exists even on freestanding compilers. */
73940 #ifdef __STDC__
73941 # include <limits.h>
73942 #else
73943 # include <assert.h>
73944 #endif
73946 #undef $ac_func
73948 /* Override any gcc2 internal prototype to avoid an error. */
73949 #ifdef __cplusplus
73950 extern "C"
73952 #endif
73953 /* We use char because int might match the return type of a gcc2
73954 builtin and then its argument prototype would still apply. */
73955 char $ac_func ();
73956 /* The GNU C library defines this for functions which it implements
73957 to always fail with ENOSYS. Some functions are actually named
73958 something starting with __ and the normal name is an alias. */
73959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73960 choke me
73961 #else
73962 char (*f) () = $ac_func;
73963 #endif
73964 #ifdef __cplusplus
73966 #endif
73969 main ()
73971 return f != $ac_func;
73973 return 0;
73975 _ACEOF
73976 rm -f conftest.$ac_objext conftest$ac_exeext
73977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73978 (eval $ac_link) 2>conftest.er1
73979 ac_status=$?
73980 grep -v '^ *+' conftest.er1 >conftest.err
73981 rm -f conftest.er1
73982 cat conftest.err >&5
73983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73984 (exit $ac_status); } &&
73985 { ac_try='test -z "$ac_c_werror_flag"
73986 || test ! -s conftest.err'
73987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73988 (eval $ac_try) 2>&5
73989 ac_status=$?
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); }; } &&
73992 { ac_try='test -s conftest$ac_exeext'
73993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73994 (eval $ac_try) 2>&5
73995 ac_status=$?
73996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73997 (exit $ac_status); }; }; then
73998 eval "$as_ac_var=yes"
73999 else
74000 echo "$as_me: failed program was:" >&5
74001 sed 's/^/| /' conftest.$ac_ext >&5
74003 eval "$as_ac_var=no"
74005 rm -f conftest.err conftest.$ac_objext \
74006 conftest$ac_exeext conftest.$ac_ext
74008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74010 if test `eval echo '${'$as_ac_var'}'` = yes; then
74011 cat >>confdefs.h <<_ACEOF
74012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74013 _ACEOF
74016 done
74026 echo "$as_me:$LINENO: checking for powf declaration" >&5
74027 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
74028 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74029 if test "${glibcxx_cv_func_powf_use+set}" = set; then
74030 echo $ECHO_N "(cached) $ECHO_C" >&6
74031 else
74035 ac_ext=cc
74036 ac_cpp='$CXXCPP $CPPFLAGS'
74037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74041 cat >conftest.$ac_ext <<_ACEOF
74042 /* confdefs.h. */
74043 _ACEOF
74044 cat confdefs.h >>conftest.$ac_ext
74045 cat >>conftest.$ac_ext <<_ACEOF
74046 /* end confdefs.h. */
74047 #include <math.h>
74049 main ()
74051 powf(0, 0);
74053 return 0;
74055 _ACEOF
74056 rm -f conftest.$ac_objext
74057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74058 (eval $ac_compile) 2>conftest.er1
74059 ac_status=$?
74060 grep -v '^ *+' conftest.er1 >conftest.err
74061 rm -f conftest.er1
74062 cat conftest.err >&5
74063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74064 (exit $ac_status); } &&
74065 { ac_try='test -z "$ac_cxx_werror_flag"
74066 || test ! -s conftest.err'
74067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74068 (eval $ac_try) 2>&5
74069 ac_status=$?
74070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74071 (exit $ac_status); }; } &&
74072 { ac_try='test -s conftest.$ac_objext'
74073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74074 (eval $ac_try) 2>&5
74075 ac_status=$?
74076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74077 (exit $ac_status); }; }; then
74078 glibcxx_cv_func_powf_use=yes
74079 else
74080 echo "$as_me: failed program was:" >&5
74081 sed 's/^/| /' conftest.$ac_ext >&5
74083 glibcxx_cv_func_powf_use=no
74085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74086 ac_ext=c
74087 ac_cpp='$CPP $CPPFLAGS'
74088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
74097 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
74099 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74101 for ac_func in powf
74103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74104 echo "$as_me:$LINENO: checking for $ac_func" >&5
74105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74106 if eval "test \"\${$as_ac_var+set}\" = set"; then
74107 echo $ECHO_N "(cached) $ECHO_C" >&6
74108 else
74109 if test x$gcc_no_link = xyes; then
74110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74112 { (exit 1); exit 1; }; }
74114 cat >conftest.$ac_ext <<_ACEOF
74115 /* confdefs.h. */
74116 _ACEOF
74117 cat confdefs.h >>conftest.$ac_ext
74118 cat >>conftest.$ac_ext <<_ACEOF
74119 /* end confdefs.h. */
74120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74122 #define $ac_func innocuous_$ac_func
74124 /* System header to define __stub macros and hopefully few prototypes,
74125 which can conflict with char $ac_func (); below.
74126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74127 <limits.h> exists even on freestanding compilers. */
74129 #ifdef __STDC__
74130 # include <limits.h>
74131 #else
74132 # include <assert.h>
74133 #endif
74135 #undef $ac_func
74137 /* Override any gcc2 internal prototype to avoid an error. */
74138 #ifdef __cplusplus
74139 extern "C"
74141 #endif
74142 /* We use char because int might match the return type of a gcc2
74143 builtin and then its argument prototype would still apply. */
74144 char $ac_func ();
74145 /* The GNU C library defines this for functions which it implements
74146 to always fail with ENOSYS. Some functions are actually named
74147 something starting with __ and the normal name is an alias. */
74148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74149 choke me
74150 #else
74151 char (*f) () = $ac_func;
74152 #endif
74153 #ifdef __cplusplus
74155 #endif
74158 main ()
74160 return f != $ac_func;
74162 return 0;
74164 _ACEOF
74165 rm -f conftest.$ac_objext conftest$ac_exeext
74166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74167 (eval $ac_link) 2>conftest.er1
74168 ac_status=$?
74169 grep -v '^ *+' conftest.er1 >conftest.err
74170 rm -f conftest.er1
74171 cat conftest.err >&5
74172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74173 (exit $ac_status); } &&
74174 { ac_try='test -z "$ac_c_werror_flag"
74175 || test ! -s conftest.err'
74176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74177 (eval $ac_try) 2>&5
74178 ac_status=$?
74179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74180 (exit $ac_status); }; } &&
74181 { ac_try='test -s conftest$ac_exeext'
74182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74183 (eval $ac_try) 2>&5
74184 ac_status=$?
74185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74186 (exit $ac_status); }; }; then
74187 eval "$as_ac_var=yes"
74188 else
74189 echo "$as_me: failed program was:" >&5
74190 sed 's/^/| /' conftest.$ac_ext >&5
74192 eval "$as_ac_var=no"
74194 rm -f conftest.err conftest.$ac_objext \
74195 conftest$ac_exeext conftest.$ac_ext
74197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74199 if test `eval echo '${'$as_ac_var'}'` = yes; then
74200 cat >>confdefs.h <<_ACEOF
74201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74202 _ACEOF
74205 done
74207 else
74209 echo "$as_me:$LINENO: checking for _powf declaration" >&5
74210 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
74211 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74212 if test "${glibcxx_cv_func__powf_use+set}" = set; then
74213 echo $ECHO_N "(cached) $ECHO_C" >&6
74214 else
74218 ac_ext=cc
74219 ac_cpp='$CXXCPP $CPPFLAGS'
74220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74224 cat >conftest.$ac_ext <<_ACEOF
74225 /* confdefs.h. */
74226 _ACEOF
74227 cat confdefs.h >>conftest.$ac_ext
74228 cat >>conftest.$ac_ext <<_ACEOF
74229 /* end confdefs.h. */
74230 #include <math.h>
74232 main ()
74234 _powf(0, 0);
74236 return 0;
74238 _ACEOF
74239 rm -f conftest.$ac_objext
74240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74241 (eval $ac_compile) 2>conftest.er1
74242 ac_status=$?
74243 grep -v '^ *+' conftest.er1 >conftest.err
74244 rm -f conftest.er1
74245 cat conftest.err >&5
74246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74247 (exit $ac_status); } &&
74248 { ac_try='test -z "$ac_cxx_werror_flag"
74249 || test ! -s conftest.err'
74250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74251 (eval $ac_try) 2>&5
74252 ac_status=$?
74253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74254 (exit $ac_status); }; } &&
74255 { ac_try='test -s conftest.$ac_objext'
74256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74257 (eval $ac_try) 2>&5
74258 ac_status=$?
74259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74260 (exit $ac_status); }; }; then
74261 glibcxx_cv_func__powf_use=yes
74262 else
74263 echo "$as_me: failed program was:" >&5
74264 sed 's/^/| /' conftest.$ac_ext >&5
74266 glibcxx_cv_func__powf_use=no
74268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74269 ac_ext=c
74270 ac_cpp='$CPP $CPPFLAGS'
74271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74280 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74282 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74284 for ac_func in _powf
74286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74287 echo "$as_me:$LINENO: checking for $ac_func" >&5
74288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74289 if eval "test \"\${$as_ac_var+set}\" = set"; then
74290 echo $ECHO_N "(cached) $ECHO_C" >&6
74291 else
74292 if test x$gcc_no_link = xyes; then
74293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74295 { (exit 1); exit 1; }; }
74297 cat >conftest.$ac_ext <<_ACEOF
74298 /* confdefs.h. */
74299 _ACEOF
74300 cat confdefs.h >>conftest.$ac_ext
74301 cat >>conftest.$ac_ext <<_ACEOF
74302 /* end confdefs.h. */
74303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74305 #define $ac_func innocuous_$ac_func
74307 /* System header to define __stub macros and hopefully few prototypes,
74308 which can conflict with char $ac_func (); below.
74309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74310 <limits.h> exists even on freestanding compilers. */
74312 #ifdef __STDC__
74313 # include <limits.h>
74314 #else
74315 # include <assert.h>
74316 #endif
74318 #undef $ac_func
74320 /* Override any gcc2 internal prototype to avoid an error. */
74321 #ifdef __cplusplus
74322 extern "C"
74324 #endif
74325 /* We use char because int might match the return type of a gcc2
74326 builtin and then its argument prototype would still apply. */
74327 char $ac_func ();
74328 /* The GNU C library defines this for functions which it implements
74329 to always fail with ENOSYS. Some functions are actually named
74330 something starting with __ and the normal name is an alias. */
74331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74332 choke me
74333 #else
74334 char (*f) () = $ac_func;
74335 #endif
74336 #ifdef __cplusplus
74338 #endif
74341 main ()
74343 return f != $ac_func;
74345 return 0;
74347 _ACEOF
74348 rm -f conftest.$ac_objext conftest$ac_exeext
74349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74350 (eval $ac_link) 2>conftest.er1
74351 ac_status=$?
74352 grep -v '^ *+' conftest.er1 >conftest.err
74353 rm -f conftest.er1
74354 cat conftest.err >&5
74355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74356 (exit $ac_status); } &&
74357 { ac_try='test -z "$ac_c_werror_flag"
74358 || test ! -s conftest.err'
74359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74360 (eval $ac_try) 2>&5
74361 ac_status=$?
74362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74363 (exit $ac_status); }; } &&
74364 { ac_try='test -s conftest$ac_exeext'
74365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74366 (eval $ac_try) 2>&5
74367 ac_status=$?
74368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74369 (exit $ac_status); }; }; then
74370 eval "$as_ac_var=yes"
74371 else
74372 echo "$as_me: failed program was:" >&5
74373 sed 's/^/| /' conftest.$ac_ext >&5
74375 eval "$as_ac_var=no"
74377 rm -f conftest.err conftest.$ac_objext \
74378 conftest$ac_exeext conftest.$ac_ext
74380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74382 if test `eval echo '${'$as_ac_var'}'` = yes; then
74383 cat >>confdefs.h <<_ACEOF
74384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74385 _ACEOF
74388 done
74398 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
74399 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
74400 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74401 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
74402 echo $ECHO_N "(cached) $ECHO_C" >&6
74403 else
74407 ac_ext=cc
74408 ac_cpp='$CXXCPP $CPPFLAGS'
74409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74413 cat >conftest.$ac_ext <<_ACEOF
74414 /* confdefs.h. */
74415 _ACEOF
74416 cat confdefs.h >>conftest.$ac_ext
74417 cat >>conftest.$ac_ext <<_ACEOF
74418 /* end confdefs.h. */
74419 #include <math.h>
74420 #ifdef HAVE_IEEEFP_H
74421 #include <ieeefp.h>
74422 #endif
74425 main ()
74427 sqrtf(0);
74429 return 0;
74431 _ACEOF
74432 rm -f conftest.$ac_objext
74433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74434 (eval $ac_compile) 2>conftest.er1
74435 ac_status=$?
74436 grep -v '^ *+' conftest.er1 >conftest.err
74437 rm -f conftest.er1
74438 cat conftest.err >&5
74439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74440 (exit $ac_status); } &&
74441 { ac_try='test -z "$ac_cxx_werror_flag"
74442 || test ! -s conftest.err'
74443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74444 (eval $ac_try) 2>&5
74445 ac_status=$?
74446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74447 (exit $ac_status); }; } &&
74448 { ac_try='test -s conftest.$ac_objext'
74449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74450 (eval $ac_try) 2>&5
74451 ac_status=$?
74452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74453 (exit $ac_status); }; }; then
74454 glibcxx_cv_func_sqrtf_use=yes
74455 else
74456 echo "$as_me: failed program was:" >&5
74457 sed 's/^/| /' conftest.$ac_ext >&5
74459 glibcxx_cv_func_sqrtf_use=no
74461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74462 ac_ext=c
74463 ac_cpp='$CPP $CPPFLAGS'
74464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74472 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
74473 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
74475 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74477 for ac_func in sqrtf
74479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74480 echo "$as_me:$LINENO: checking for $ac_func" >&5
74481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74482 if eval "test \"\${$as_ac_var+set}\" = set"; then
74483 echo $ECHO_N "(cached) $ECHO_C" >&6
74484 else
74485 if test x$gcc_no_link = xyes; then
74486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74488 { (exit 1); exit 1; }; }
74490 cat >conftest.$ac_ext <<_ACEOF
74491 /* confdefs.h. */
74492 _ACEOF
74493 cat confdefs.h >>conftest.$ac_ext
74494 cat >>conftest.$ac_ext <<_ACEOF
74495 /* end confdefs.h. */
74496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74498 #define $ac_func innocuous_$ac_func
74500 /* System header to define __stub macros and hopefully few prototypes,
74501 which can conflict with char $ac_func (); below.
74502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74503 <limits.h> exists even on freestanding compilers. */
74505 #ifdef __STDC__
74506 # include <limits.h>
74507 #else
74508 # include <assert.h>
74509 #endif
74511 #undef $ac_func
74513 /* Override any gcc2 internal prototype to avoid an error. */
74514 #ifdef __cplusplus
74515 extern "C"
74517 #endif
74518 /* We use char because int might match the return type of a gcc2
74519 builtin and then its argument prototype would still apply. */
74520 char $ac_func ();
74521 /* The GNU C library defines this for functions which it implements
74522 to always fail with ENOSYS. Some functions are actually named
74523 something starting with __ and the normal name is an alias. */
74524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74525 choke me
74526 #else
74527 char (*f) () = $ac_func;
74528 #endif
74529 #ifdef __cplusplus
74531 #endif
74534 main ()
74536 return f != $ac_func;
74538 return 0;
74540 _ACEOF
74541 rm -f conftest.$ac_objext conftest$ac_exeext
74542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74543 (eval $ac_link) 2>conftest.er1
74544 ac_status=$?
74545 grep -v '^ *+' conftest.er1 >conftest.err
74546 rm -f conftest.er1
74547 cat conftest.err >&5
74548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74549 (exit $ac_status); } &&
74550 { ac_try='test -z "$ac_c_werror_flag"
74551 || test ! -s conftest.err'
74552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74553 (eval $ac_try) 2>&5
74554 ac_status=$?
74555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74556 (exit $ac_status); }; } &&
74557 { ac_try='test -s conftest$ac_exeext'
74558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74559 (eval $ac_try) 2>&5
74560 ac_status=$?
74561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74562 (exit $ac_status); }; }; then
74563 eval "$as_ac_var=yes"
74564 else
74565 echo "$as_me: failed program was:" >&5
74566 sed 's/^/| /' conftest.$ac_ext >&5
74568 eval "$as_ac_var=no"
74570 rm -f conftest.err conftest.$ac_objext \
74571 conftest$ac_exeext conftest.$ac_ext
74573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74575 if test `eval echo '${'$as_ac_var'}'` = yes; then
74576 cat >>confdefs.h <<_ACEOF
74577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74578 _ACEOF
74581 done
74583 else
74585 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74586 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74587 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74588 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74589 echo $ECHO_N "(cached) $ECHO_C" >&6
74590 else
74594 ac_ext=cc
74595 ac_cpp='$CXXCPP $CPPFLAGS'
74596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74600 cat >conftest.$ac_ext <<_ACEOF
74601 /* confdefs.h. */
74602 _ACEOF
74603 cat confdefs.h >>conftest.$ac_ext
74604 cat >>conftest.$ac_ext <<_ACEOF
74605 /* end confdefs.h. */
74606 #include <math.h>
74607 #ifdef HAVE_IEEEFP_H
74608 #include <ieeefp.h>
74609 #endif
74612 main ()
74614 _sqrtf(0);
74616 return 0;
74618 _ACEOF
74619 rm -f conftest.$ac_objext
74620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74621 (eval $ac_compile) 2>conftest.er1
74622 ac_status=$?
74623 grep -v '^ *+' conftest.er1 >conftest.err
74624 rm -f conftest.er1
74625 cat conftest.err >&5
74626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74627 (exit $ac_status); } &&
74628 { ac_try='test -z "$ac_cxx_werror_flag"
74629 || test ! -s conftest.err'
74630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74631 (eval $ac_try) 2>&5
74632 ac_status=$?
74633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74634 (exit $ac_status); }; } &&
74635 { ac_try='test -s conftest.$ac_objext'
74636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74637 (eval $ac_try) 2>&5
74638 ac_status=$?
74639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74640 (exit $ac_status); }; }; then
74641 glibcxx_cv_func__sqrtf_use=yes
74642 else
74643 echo "$as_me: failed program was:" >&5
74644 sed 's/^/| /' conftest.$ac_ext >&5
74646 glibcxx_cv_func__sqrtf_use=no
74648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74649 ac_ext=c
74650 ac_cpp='$CPP $CPPFLAGS'
74651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74660 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74662 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74664 for ac_func in _sqrtf
74666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74667 echo "$as_me:$LINENO: checking for $ac_func" >&5
74668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74669 if eval "test \"\${$as_ac_var+set}\" = set"; then
74670 echo $ECHO_N "(cached) $ECHO_C" >&6
74671 else
74672 if test x$gcc_no_link = xyes; then
74673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74675 { (exit 1); exit 1; }; }
74677 cat >conftest.$ac_ext <<_ACEOF
74678 /* confdefs.h. */
74679 _ACEOF
74680 cat confdefs.h >>conftest.$ac_ext
74681 cat >>conftest.$ac_ext <<_ACEOF
74682 /* end confdefs.h. */
74683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74685 #define $ac_func innocuous_$ac_func
74687 /* System header to define __stub macros and hopefully few prototypes,
74688 which can conflict with char $ac_func (); below.
74689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74690 <limits.h> exists even on freestanding compilers. */
74692 #ifdef __STDC__
74693 # include <limits.h>
74694 #else
74695 # include <assert.h>
74696 #endif
74698 #undef $ac_func
74700 /* Override any gcc2 internal prototype to avoid an error. */
74701 #ifdef __cplusplus
74702 extern "C"
74704 #endif
74705 /* We use char because int might match the return type of a gcc2
74706 builtin and then its argument prototype would still apply. */
74707 char $ac_func ();
74708 /* The GNU C library defines this for functions which it implements
74709 to always fail with ENOSYS. Some functions are actually named
74710 something starting with __ and the normal name is an alias. */
74711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74712 choke me
74713 #else
74714 char (*f) () = $ac_func;
74715 #endif
74716 #ifdef __cplusplus
74718 #endif
74721 main ()
74723 return f != $ac_func;
74725 return 0;
74727 _ACEOF
74728 rm -f conftest.$ac_objext conftest$ac_exeext
74729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74730 (eval $ac_link) 2>conftest.er1
74731 ac_status=$?
74732 grep -v '^ *+' conftest.er1 >conftest.err
74733 rm -f conftest.er1
74734 cat conftest.err >&5
74735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74736 (exit $ac_status); } &&
74737 { ac_try='test -z "$ac_c_werror_flag"
74738 || test ! -s conftest.err'
74739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74740 (eval $ac_try) 2>&5
74741 ac_status=$?
74742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74743 (exit $ac_status); }; } &&
74744 { ac_try='test -s conftest$ac_exeext'
74745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74746 (eval $ac_try) 2>&5
74747 ac_status=$?
74748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74749 (exit $ac_status); }; }; then
74750 eval "$as_ac_var=yes"
74751 else
74752 echo "$as_me: failed program was:" >&5
74753 sed 's/^/| /' conftest.$ac_ext >&5
74755 eval "$as_ac_var=no"
74757 rm -f conftest.err conftest.$ac_objext \
74758 conftest$ac_exeext conftest.$ac_ext
74760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74762 if test `eval echo '${'$as_ac_var'}'` = yes; then
74763 cat >>confdefs.h <<_ACEOF
74764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74765 _ACEOF
74768 done
74778 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74779 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74780 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74781 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74782 echo $ECHO_N "(cached) $ECHO_C" >&6
74783 else
74787 ac_ext=cc
74788 ac_cpp='$CXXCPP $CPPFLAGS'
74789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74793 cat >conftest.$ac_ext <<_ACEOF
74794 /* confdefs.h. */
74795 _ACEOF
74796 cat confdefs.h >>conftest.$ac_ext
74797 cat >>conftest.$ac_ext <<_ACEOF
74798 /* end confdefs.h. */
74799 #include <math.h>
74801 main ()
74803 sincosf(0, 0, 0);
74805 return 0;
74807 _ACEOF
74808 rm -f conftest.$ac_objext
74809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74810 (eval $ac_compile) 2>conftest.er1
74811 ac_status=$?
74812 grep -v '^ *+' conftest.er1 >conftest.err
74813 rm -f conftest.er1
74814 cat conftest.err >&5
74815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74816 (exit $ac_status); } &&
74817 { ac_try='test -z "$ac_cxx_werror_flag"
74818 || test ! -s conftest.err'
74819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74820 (eval $ac_try) 2>&5
74821 ac_status=$?
74822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74823 (exit $ac_status); }; } &&
74824 { ac_try='test -s conftest.$ac_objext'
74825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74826 (eval $ac_try) 2>&5
74827 ac_status=$?
74828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74829 (exit $ac_status); }; }; then
74830 glibcxx_cv_func_sincosf_use=yes
74831 else
74832 echo "$as_me: failed program was:" >&5
74833 sed 's/^/| /' conftest.$ac_ext >&5
74835 glibcxx_cv_func_sincosf_use=no
74837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74838 ac_ext=c
74839 ac_cpp='$CPP $CPPFLAGS'
74840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74849 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74851 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74853 for ac_func in sincosf
74855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74856 echo "$as_me:$LINENO: checking for $ac_func" >&5
74857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74858 if eval "test \"\${$as_ac_var+set}\" = set"; then
74859 echo $ECHO_N "(cached) $ECHO_C" >&6
74860 else
74861 if test x$gcc_no_link = xyes; then
74862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74864 { (exit 1); exit 1; }; }
74866 cat >conftest.$ac_ext <<_ACEOF
74867 /* confdefs.h. */
74868 _ACEOF
74869 cat confdefs.h >>conftest.$ac_ext
74870 cat >>conftest.$ac_ext <<_ACEOF
74871 /* end confdefs.h. */
74872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74874 #define $ac_func innocuous_$ac_func
74876 /* System header to define __stub macros and hopefully few prototypes,
74877 which can conflict with char $ac_func (); below.
74878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74879 <limits.h> exists even on freestanding compilers. */
74881 #ifdef __STDC__
74882 # include <limits.h>
74883 #else
74884 # include <assert.h>
74885 #endif
74887 #undef $ac_func
74889 /* Override any gcc2 internal prototype to avoid an error. */
74890 #ifdef __cplusplus
74891 extern "C"
74893 #endif
74894 /* We use char because int might match the return type of a gcc2
74895 builtin and then its argument prototype would still apply. */
74896 char $ac_func ();
74897 /* The GNU C library defines this for functions which it implements
74898 to always fail with ENOSYS. Some functions are actually named
74899 something starting with __ and the normal name is an alias. */
74900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74901 choke me
74902 #else
74903 char (*f) () = $ac_func;
74904 #endif
74905 #ifdef __cplusplus
74907 #endif
74910 main ()
74912 return f != $ac_func;
74914 return 0;
74916 _ACEOF
74917 rm -f conftest.$ac_objext conftest$ac_exeext
74918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74919 (eval $ac_link) 2>conftest.er1
74920 ac_status=$?
74921 grep -v '^ *+' conftest.er1 >conftest.err
74922 rm -f conftest.er1
74923 cat conftest.err >&5
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); } &&
74926 { ac_try='test -z "$ac_c_werror_flag"
74927 || test ! -s conftest.err'
74928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74929 (eval $ac_try) 2>&5
74930 ac_status=$?
74931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74932 (exit $ac_status); }; } &&
74933 { ac_try='test -s conftest$ac_exeext'
74934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74935 (eval $ac_try) 2>&5
74936 ac_status=$?
74937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74938 (exit $ac_status); }; }; then
74939 eval "$as_ac_var=yes"
74940 else
74941 echo "$as_me: failed program was:" >&5
74942 sed 's/^/| /' conftest.$ac_ext >&5
74944 eval "$as_ac_var=no"
74946 rm -f conftest.err conftest.$ac_objext \
74947 conftest$ac_exeext conftest.$ac_ext
74949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74951 if test `eval echo '${'$as_ac_var'}'` = yes; then
74952 cat >>confdefs.h <<_ACEOF
74953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74954 _ACEOF
74957 done
74959 else
74961 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74962 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74963 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74964 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74965 echo $ECHO_N "(cached) $ECHO_C" >&6
74966 else
74970 ac_ext=cc
74971 ac_cpp='$CXXCPP $CPPFLAGS'
74972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74976 cat >conftest.$ac_ext <<_ACEOF
74977 /* confdefs.h. */
74978 _ACEOF
74979 cat confdefs.h >>conftest.$ac_ext
74980 cat >>conftest.$ac_ext <<_ACEOF
74981 /* end confdefs.h. */
74982 #include <math.h>
74984 main ()
74986 _sincosf(0, 0, 0);
74988 return 0;
74990 _ACEOF
74991 rm -f conftest.$ac_objext
74992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74993 (eval $ac_compile) 2>conftest.er1
74994 ac_status=$?
74995 grep -v '^ *+' conftest.er1 >conftest.err
74996 rm -f conftest.er1
74997 cat conftest.err >&5
74998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74999 (exit $ac_status); } &&
75000 { ac_try='test -z "$ac_cxx_werror_flag"
75001 || test ! -s conftest.err'
75002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75003 (eval $ac_try) 2>&5
75004 ac_status=$?
75005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75006 (exit $ac_status); }; } &&
75007 { ac_try='test -s conftest.$ac_objext'
75008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75009 (eval $ac_try) 2>&5
75010 ac_status=$?
75011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75012 (exit $ac_status); }; }; then
75013 glibcxx_cv_func__sincosf_use=yes
75014 else
75015 echo "$as_me: failed program was:" >&5
75016 sed 's/^/| /' conftest.$ac_ext >&5
75018 glibcxx_cv_func__sincosf_use=no
75020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75021 ac_ext=c
75022 ac_cpp='$CPP $CPPFLAGS'
75023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75031 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
75032 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
75034 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75036 for ac_func in _sincosf
75038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75039 echo "$as_me:$LINENO: checking for $ac_func" >&5
75040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75041 if eval "test \"\${$as_ac_var+set}\" = set"; then
75042 echo $ECHO_N "(cached) $ECHO_C" >&6
75043 else
75044 if test x$gcc_no_link = xyes; then
75045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75047 { (exit 1); exit 1; }; }
75049 cat >conftest.$ac_ext <<_ACEOF
75050 /* confdefs.h. */
75051 _ACEOF
75052 cat confdefs.h >>conftest.$ac_ext
75053 cat >>conftest.$ac_ext <<_ACEOF
75054 /* end confdefs.h. */
75055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75057 #define $ac_func innocuous_$ac_func
75059 /* System header to define __stub macros and hopefully few prototypes,
75060 which can conflict with char $ac_func (); below.
75061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75062 <limits.h> exists even on freestanding compilers. */
75064 #ifdef __STDC__
75065 # include <limits.h>
75066 #else
75067 # include <assert.h>
75068 #endif
75070 #undef $ac_func
75072 /* Override any gcc2 internal prototype to avoid an error. */
75073 #ifdef __cplusplus
75074 extern "C"
75076 #endif
75077 /* We use char because int might match the return type of a gcc2
75078 builtin and then its argument prototype would still apply. */
75079 char $ac_func ();
75080 /* The GNU C library defines this for functions which it implements
75081 to always fail with ENOSYS. Some functions are actually named
75082 something starting with __ and the normal name is an alias. */
75083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75084 choke me
75085 #else
75086 char (*f) () = $ac_func;
75087 #endif
75088 #ifdef __cplusplus
75090 #endif
75093 main ()
75095 return f != $ac_func;
75097 return 0;
75099 _ACEOF
75100 rm -f conftest.$ac_objext conftest$ac_exeext
75101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75102 (eval $ac_link) 2>conftest.er1
75103 ac_status=$?
75104 grep -v '^ *+' conftest.er1 >conftest.err
75105 rm -f conftest.er1
75106 cat conftest.err >&5
75107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75108 (exit $ac_status); } &&
75109 { ac_try='test -z "$ac_c_werror_flag"
75110 || test ! -s conftest.err'
75111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75112 (eval $ac_try) 2>&5
75113 ac_status=$?
75114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75115 (exit $ac_status); }; } &&
75116 { ac_try='test -s conftest$ac_exeext'
75117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75118 (eval $ac_try) 2>&5
75119 ac_status=$?
75120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75121 (exit $ac_status); }; }; then
75122 eval "$as_ac_var=yes"
75123 else
75124 echo "$as_me: failed program was:" >&5
75125 sed 's/^/| /' conftest.$ac_ext >&5
75127 eval "$as_ac_var=no"
75129 rm -f conftest.err conftest.$ac_objext \
75130 conftest$ac_exeext conftest.$ac_ext
75132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75134 if test `eval echo '${'$as_ac_var'}'` = yes; then
75135 cat >>confdefs.h <<_ACEOF
75136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75137 _ACEOF
75140 done
75150 echo "$as_me:$LINENO: checking for finitef declaration" >&5
75151 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
75152 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75153 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
75154 echo $ECHO_N "(cached) $ECHO_C" >&6
75155 else
75159 ac_ext=cc
75160 ac_cpp='$CXXCPP $CPPFLAGS'
75161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75165 cat >conftest.$ac_ext <<_ACEOF
75166 /* confdefs.h. */
75167 _ACEOF
75168 cat confdefs.h >>conftest.$ac_ext
75169 cat >>conftest.$ac_ext <<_ACEOF
75170 /* end confdefs.h. */
75171 #include <math.h>
75172 #ifdef HAVE_IEEEFP_H
75173 #include <ieeefp.h>
75174 #endif
75177 main ()
75179 finitef(0);
75181 return 0;
75183 _ACEOF
75184 rm -f conftest.$ac_objext
75185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75186 (eval $ac_compile) 2>conftest.er1
75187 ac_status=$?
75188 grep -v '^ *+' conftest.er1 >conftest.err
75189 rm -f conftest.er1
75190 cat conftest.err >&5
75191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75192 (exit $ac_status); } &&
75193 { ac_try='test -z "$ac_cxx_werror_flag"
75194 || test ! -s conftest.err'
75195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75196 (eval $ac_try) 2>&5
75197 ac_status=$?
75198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75199 (exit $ac_status); }; } &&
75200 { ac_try='test -s conftest.$ac_objext'
75201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75202 (eval $ac_try) 2>&5
75203 ac_status=$?
75204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75205 (exit $ac_status); }; }; then
75206 glibcxx_cv_func_finitef_use=yes
75207 else
75208 echo "$as_me: failed program was:" >&5
75209 sed 's/^/| /' conftest.$ac_ext >&5
75211 glibcxx_cv_func_finitef_use=no
75213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75214 ac_ext=c
75215 ac_cpp='$CPP $CPPFLAGS'
75216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
75225 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
75227 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75229 for ac_func in finitef
75231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75232 echo "$as_me:$LINENO: checking for $ac_func" >&5
75233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75234 if eval "test \"\${$as_ac_var+set}\" = set"; then
75235 echo $ECHO_N "(cached) $ECHO_C" >&6
75236 else
75237 if test x$gcc_no_link = xyes; then
75238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75240 { (exit 1); exit 1; }; }
75242 cat >conftest.$ac_ext <<_ACEOF
75243 /* confdefs.h. */
75244 _ACEOF
75245 cat confdefs.h >>conftest.$ac_ext
75246 cat >>conftest.$ac_ext <<_ACEOF
75247 /* end confdefs.h. */
75248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75250 #define $ac_func innocuous_$ac_func
75252 /* System header to define __stub macros and hopefully few prototypes,
75253 which can conflict with char $ac_func (); below.
75254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75255 <limits.h> exists even on freestanding compilers. */
75257 #ifdef __STDC__
75258 # include <limits.h>
75259 #else
75260 # include <assert.h>
75261 #endif
75263 #undef $ac_func
75265 /* Override any gcc2 internal prototype to avoid an error. */
75266 #ifdef __cplusplus
75267 extern "C"
75269 #endif
75270 /* We use char because int might match the return type of a gcc2
75271 builtin and then its argument prototype would still apply. */
75272 char $ac_func ();
75273 /* The GNU C library defines this for functions which it implements
75274 to always fail with ENOSYS. Some functions are actually named
75275 something starting with __ and the normal name is an alias. */
75276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75277 choke me
75278 #else
75279 char (*f) () = $ac_func;
75280 #endif
75281 #ifdef __cplusplus
75283 #endif
75286 main ()
75288 return f != $ac_func;
75290 return 0;
75292 _ACEOF
75293 rm -f conftest.$ac_objext conftest$ac_exeext
75294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75295 (eval $ac_link) 2>conftest.er1
75296 ac_status=$?
75297 grep -v '^ *+' conftest.er1 >conftest.err
75298 rm -f conftest.er1
75299 cat conftest.err >&5
75300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75301 (exit $ac_status); } &&
75302 { ac_try='test -z "$ac_c_werror_flag"
75303 || test ! -s conftest.err'
75304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75305 (eval $ac_try) 2>&5
75306 ac_status=$?
75307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75308 (exit $ac_status); }; } &&
75309 { ac_try='test -s conftest$ac_exeext'
75310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75311 (eval $ac_try) 2>&5
75312 ac_status=$?
75313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75314 (exit $ac_status); }; }; then
75315 eval "$as_ac_var=yes"
75316 else
75317 echo "$as_me: failed program was:" >&5
75318 sed 's/^/| /' conftest.$ac_ext >&5
75320 eval "$as_ac_var=no"
75322 rm -f conftest.err conftest.$ac_objext \
75323 conftest$ac_exeext conftest.$ac_ext
75325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75327 if test `eval echo '${'$as_ac_var'}'` = yes; then
75328 cat >>confdefs.h <<_ACEOF
75329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75330 _ACEOF
75333 done
75335 else
75337 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75338 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75339 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75340 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75341 echo $ECHO_N "(cached) $ECHO_C" >&6
75342 else
75346 ac_ext=cc
75347 ac_cpp='$CXXCPP $CPPFLAGS'
75348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75352 cat >conftest.$ac_ext <<_ACEOF
75353 /* confdefs.h. */
75354 _ACEOF
75355 cat confdefs.h >>conftest.$ac_ext
75356 cat >>conftest.$ac_ext <<_ACEOF
75357 /* end confdefs.h. */
75358 #include <math.h>
75359 #ifdef HAVE_IEEEFP_H
75360 #include <ieeefp.h>
75361 #endif
75364 main ()
75366 _finitef(0);
75368 return 0;
75370 _ACEOF
75371 rm -f conftest.$ac_objext
75372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75373 (eval $ac_compile) 2>conftest.er1
75374 ac_status=$?
75375 grep -v '^ *+' conftest.er1 >conftest.err
75376 rm -f conftest.er1
75377 cat conftest.err >&5
75378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379 (exit $ac_status); } &&
75380 { ac_try='test -z "$ac_cxx_werror_flag"
75381 || test ! -s conftest.err'
75382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75383 (eval $ac_try) 2>&5
75384 ac_status=$?
75385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75386 (exit $ac_status); }; } &&
75387 { ac_try='test -s conftest.$ac_objext'
75388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75389 (eval $ac_try) 2>&5
75390 ac_status=$?
75391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75392 (exit $ac_status); }; }; then
75393 glibcxx_cv_func__finitef_use=yes
75394 else
75395 echo "$as_me: failed program was:" >&5
75396 sed 's/^/| /' conftest.$ac_ext >&5
75398 glibcxx_cv_func__finitef_use=no
75400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75401 ac_ext=c
75402 ac_cpp='$CPP $CPPFLAGS'
75403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
75412 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
75414 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75416 for ac_func in _finitef
75418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75419 echo "$as_me:$LINENO: checking for $ac_func" >&5
75420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75421 if eval "test \"\${$as_ac_var+set}\" = set"; then
75422 echo $ECHO_N "(cached) $ECHO_C" >&6
75423 else
75424 if test x$gcc_no_link = xyes; then
75425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75427 { (exit 1); exit 1; }; }
75429 cat >conftest.$ac_ext <<_ACEOF
75430 /* confdefs.h. */
75431 _ACEOF
75432 cat confdefs.h >>conftest.$ac_ext
75433 cat >>conftest.$ac_ext <<_ACEOF
75434 /* end confdefs.h. */
75435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75437 #define $ac_func innocuous_$ac_func
75439 /* System header to define __stub macros and hopefully few prototypes,
75440 which can conflict with char $ac_func (); below.
75441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75442 <limits.h> exists even on freestanding compilers. */
75444 #ifdef __STDC__
75445 # include <limits.h>
75446 #else
75447 # include <assert.h>
75448 #endif
75450 #undef $ac_func
75452 /* Override any gcc2 internal prototype to avoid an error. */
75453 #ifdef __cplusplus
75454 extern "C"
75456 #endif
75457 /* We use char because int might match the return type of a gcc2
75458 builtin and then its argument prototype would still apply. */
75459 char $ac_func ();
75460 /* The GNU C library defines this for functions which it implements
75461 to always fail with ENOSYS. Some functions are actually named
75462 something starting with __ and the normal name is an alias. */
75463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75464 choke me
75465 #else
75466 char (*f) () = $ac_func;
75467 #endif
75468 #ifdef __cplusplus
75470 #endif
75473 main ()
75475 return f != $ac_func;
75477 return 0;
75479 _ACEOF
75480 rm -f conftest.$ac_objext conftest$ac_exeext
75481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75482 (eval $ac_link) 2>conftest.er1
75483 ac_status=$?
75484 grep -v '^ *+' conftest.er1 >conftest.err
75485 rm -f conftest.er1
75486 cat conftest.err >&5
75487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75488 (exit $ac_status); } &&
75489 { ac_try='test -z "$ac_c_werror_flag"
75490 || test ! -s conftest.err'
75491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75492 (eval $ac_try) 2>&5
75493 ac_status=$?
75494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75495 (exit $ac_status); }; } &&
75496 { ac_try='test -s conftest$ac_exeext'
75497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75498 (eval $ac_try) 2>&5
75499 ac_status=$?
75500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75501 (exit $ac_status); }; }; then
75502 eval "$as_ac_var=yes"
75503 else
75504 echo "$as_me: failed program was:" >&5
75505 sed 's/^/| /' conftest.$ac_ext >&5
75507 eval "$as_ac_var=no"
75509 rm -f conftest.err conftest.$ac_objext \
75510 conftest$ac_exeext conftest.$ac_ext
75512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75514 if test `eval echo '${'$as_ac_var'}'` = yes; then
75515 cat >>confdefs.h <<_ACEOF
75516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75517 _ACEOF
75520 done
75530 echo "$as_me:$LINENO: checking for long double trig functions" >&5
75531 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75533 echo $ECHO_N "(cached) $ECHO_C" >&6
75534 else
75538 ac_ext=cc
75539 ac_cpp='$CXXCPP $CPPFLAGS'
75540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75544 cat >conftest.$ac_ext <<_ACEOF
75545 /* confdefs.h. */
75546 _ACEOF
75547 cat confdefs.h >>conftest.$ac_ext
75548 cat >>conftest.$ac_ext <<_ACEOF
75549 /* end confdefs.h. */
75550 #include <math.h>
75552 main ()
75554 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75556 return 0;
75558 _ACEOF
75559 rm -f conftest.$ac_objext
75560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75561 (eval $ac_compile) 2>conftest.er1
75562 ac_status=$?
75563 grep -v '^ *+' conftest.er1 >conftest.err
75564 rm -f conftest.er1
75565 cat conftest.err >&5
75566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75567 (exit $ac_status); } &&
75568 { ac_try='test -z "$ac_cxx_werror_flag"
75569 || test ! -s conftest.err'
75570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75571 (eval $ac_try) 2>&5
75572 ac_status=$?
75573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75574 (exit $ac_status); }; } &&
75575 { ac_try='test -s conftest.$ac_objext'
75576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75577 (eval $ac_try) 2>&5
75578 ac_status=$?
75579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75580 (exit $ac_status); }; }; then
75581 glibcxx_cv_func_long_double_trig_use=yes
75582 else
75583 echo "$as_me: failed program was:" >&5
75584 sed 's/^/| /' conftest.$ac_ext >&5
75586 glibcxx_cv_func_long_double_trig_use=no
75588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75589 ac_ext=c
75590 ac_cpp='$CPP $CPPFLAGS'
75591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75598 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75599 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75609 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75612 echo "$as_me:$LINENO: checking for $ac_func" >&5
75613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75614 if eval "test \"\${$as_ac_var+set}\" = set"; then
75615 echo $ECHO_N "(cached) $ECHO_C" >&6
75616 else
75617 if test x$gcc_no_link = xyes; then
75618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75620 { (exit 1); exit 1; }; }
75622 cat >conftest.$ac_ext <<_ACEOF
75623 /* confdefs.h. */
75624 _ACEOF
75625 cat confdefs.h >>conftest.$ac_ext
75626 cat >>conftest.$ac_ext <<_ACEOF
75627 /* end confdefs.h. */
75628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75630 #define $ac_func innocuous_$ac_func
75632 /* System header to define __stub macros and hopefully few prototypes,
75633 which can conflict with char $ac_func (); below.
75634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75635 <limits.h> exists even on freestanding compilers. */
75637 #ifdef __STDC__
75638 # include <limits.h>
75639 #else
75640 # include <assert.h>
75641 #endif
75643 #undef $ac_func
75645 /* Override any gcc2 internal prototype to avoid an error. */
75646 #ifdef __cplusplus
75647 extern "C"
75649 #endif
75650 /* We use char because int might match the return type of a gcc2
75651 builtin and then its argument prototype would still apply. */
75652 char $ac_func ();
75653 /* The GNU C library defines this for functions which it implements
75654 to always fail with ENOSYS. Some functions are actually named
75655 something starting with __ and the normal name is an alias. */
75656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75657 choke me
75658 #else
75659 char (*f) () = $ac_func;
75660 #endif
75661 #ifdef __cplusplus
75663 #endif
75666 main ()
75668 return f != $ac_func;
75670 return 0;
75672 _ACEOF
75673 rm -f conftest.$ac_objext conftest$ac_exeext
75674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75675 (eval $ac_link) 2>conftest.er1
75676 ac_status=$?
75677 grep -v '^ *+' conftest.er1 >conftest.err
75678 rm -f conftest.er1
75679 cat conftest.err >&5
75680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75681 (exit $ac_status); } &&
75682 { ac_try='test -z "$ac_c_werror_flag"
75683 || test ! -s conftest.err'
75684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75685 (eval $ac_try) 2>&5
75686 ac_status=$?
75687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75688 (exit $ac_status); }; } &&
75689 { ac_try='test -s conftest$ac_exeext'
75690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75691 (eval $ac_try) 2>&5
75692 ac_status=$?
75693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75694 (exit $ac_status); }; }; then
75695 eval "$as_ac_var=yes"
75696 else
75697 echo "$as_me: failed program was:" >&5
75698 sed 's/^/| /' conftest.$ac_ext >&5
75700 eval "$as_ac_var=no"
75702 rm -f conftest.err conftest.$ac_objext \
75703 conftest$ac_exeext conftest.$ac_ext
75705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75707 if test `eval echo '${'$as_ac_var'}'` = yes; then
75708 cat >>confdefs.h <<_ACEOF
75709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75710 _ACEOF
75713 done
75715 else
75716 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75717 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75718 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75719 echo $ECHO_N "(cached) $ECHO_C" >&6
75720 else
75724 ac_ext=cc
75725 ac_cpp='$CXXCPP $CPPFLAGS'
75726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75730 cat >conftest.$ac_ext <<_ACEOF
75731 /* confdefs.h. */
75732 _ACEOF
75733 cat confdefs.h >>conftest.$ac_ext
75734 cat >>conftest.$ac_ext <<_ACEOF
75735 /* end confdefs.h. */
75736 #include <math.h>
75738 main ()
75740 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75742 return 0;
75744 _ACEOF
75745 rm -f conftest.$ac_objext
75746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75747 (eval $ac_compile) 2>conftest.er1
75748 ac_status=$?
75749 grep -v '^ *+' conftest.er1 >conftest.err
75750 rm -f conftest.er1
75751 cat conftest.err >&5
75752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75753 (exit $ac_status); } &&
75754 { ac_try='test -z "$ac_cxx_werror_flag"
75755 || test ! -s conftest.err'
75756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75757 (eval $ac_try) 2>&5
75758 ac_status=$?
75759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75760 (exit $ac_status); }; } &&
75761 { ac_try='test -s conftest.$ac_objext'
75762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75763 (eval $ac_try) 2>&5
75764 ac_status=$?
75765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766 (exit $ac_status); }; }; then
75767 glibcxx_cv_func__long_double_trig_use=yes
75768 else
75769 echo "$as_me: failed program was:" >&5
75770 sed 's/^/| /' conftest.$ac_ext >&5
75772 glibcxx_cv_func__long_double_trig_use=no
75774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75775 ac_ext=c
75776 ac_cpp='$CPP $CPPFLAGS'
75777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75784 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75785 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75795 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75798 echo "$as_me:$LINENO: checking for $ac_func" >&5
75799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75800 if eval "test \"\${$as_ac_var+set}\" = set"; then
75801 echo $ECHO_N "(cached) $ECHO_C" >&6
75802 else
75803 if test x$gcc_no_link = xyes; then
75804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75806 { (exit 1); exit 1; }; }
75808 cat >conftest.$ac_ext <<_ACEOF
75809 /* confdefs.h. */
75810 _ACEOF
75811 cat confdefs.h >>conftest.$ac_ext
75812 cat >>conftest.$ac_ext <<_ACEOF
75813 /* end confdefs.h. */
75814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75816 #define $ac_func innocuous_$ac_func
75818 /* System header to define __stub macros and hopefully few prototypes,
75819 which can conflict with char $ac_func (); below.
75820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75821 <limits.h> exists even on freestanding compilers. */
75823 #ifdef __STDC__
75824 # include <limits.h>
75825 #else
75826 # include <assert.h>
75827 #endif
75829 #undef $ac_func
75831 /* Override any gcc2 internal prototype to avoid an error. */
75832 #ifdef __cplusplus
75833 extern "C"
75835 #endif
75836 /* We use char because int might match the return type of a gcc2
75837 builtin and then its argument prototype would still apply. */
75838 char $ac_func ();
75839 /* The GNU C library defines this for functions which it implements
75840 to always fail with ENOSYS. Some functions are actually named
75841 something starting with __ and the normal name is an alias. */
75842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75843 choke me
75844 #else
75845 char (*f) () = $ac_func;
75846 #endif
75847 #ifdef __cplusplus
75849 #endif
75852 main ()
75854 return f != $ac_func;
75856 return 0;
75858 _ACEOF
75859 rm -f conftest.$ac_objext conftest$ac_exeext
75860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75861 (eval $ac_link) 2>conftest.er1
75862 ac_status=$?
75863 grep -v '^ *+' conftest.er1 >conftest.err
75864 rm -f conftest.er1
75865 cat conftest.err >&5
75866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75867 (exit $ac_status); } &&
75868 { ac_try='test -z "$ac_c_werror_flag"
75869 || test ! -s conftest.err'
75870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75871 (eval $ac_try) 2>&5
75872 ac_status=$?
75873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75874 (exit $ac_status); }; } &&
75875 { ac_try='test -s conftest$ac_exeext'
75876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75877 (eval $ac_try) 2>&5
75878 ac_status=$?
75879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75880 (exit $ac_status); }; }; then
75881 eval "$as_ac_var=yes"
75882 else
75883 echo "$as_me: failed program was:" >&5
75884 sed 's/^/| /' conftest.$ac_ext >&5
75886 eval "$as_ac_var=no"
75888 rm -f conftest.err conftest.$ac_objext \
75889 conftest$ac_exeext conftest.$ac_ext
75891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75893 if test `eval echo '${'$as_ac_var'}'` = yes; then
75894 cat >>confdefs.h <<_ACEOF
75895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75896 _ACEOF
75899 done
75917 echo "$as_me:$LINENO: checking for long double round functions" >&5
75918 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75919 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75920 echo $ECHO_N "(cached) $ECHO_C" >&6
75921 else
75925 ac_ext=cc
75926 ac_cpp='$CXXCPP $CPPFLAGS'
75927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75931 cat >conftest.$ac_ext <<_ACEOF
75932 /* confdefs.h. */
75933 _ACEOF
75934 cat confdefs.h >>conftest.$ac_ext
75935 cat >>conftest.$ac_ext <<_ACEOF
75936 /* end confdefs.h. */
75937 #include <math.h>
75939 main ()
75941 ceill (0); floorl (0);
75943 return 0;
75945 _ACEOF
75946 rm -f conftest.$ac_objext
75947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75948 (eval $ac_compile) 2>conftest.er1
75949 ac_status=$?
75950 grep -v '^ *+' conftest.er1 >conftest.err
75951 rm -f conftest.er1
75952 cat conftest.err >&5
75953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75954 (exit $ac_status); } &&
75955 { ac_try='test -z "$ac_cxx_werror_flag"
75956 || test ! -s conftest.err'
75957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75958 (eval $ac_try) 2>&5
75959 ac_status=$?
75960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75961 (exit $ac_status); }; } &&
75962 { ac_try='test -s conftest.$ac_objext'
75963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75964 (eval $ac_try) 2>&5
75965 ac_status=$?
75966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75967 (exit $ac_status); }; }; then
75968 glibcxx_cv_func_long_double_round_use=yes
75969 else
75970 echo "$as_me: failed program was:" >&5
75971 sed 's/^/| /' conftest.$ac_ext >&5
75973 glibcxx_cv_func_long_double_round_use=no
75975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75976 ac_ext=c
75977 ac_cpp='$CPP $CPPFLAGS'
75978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75985 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75986 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75989 for ac_func in ceill floorl
75991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75992 echo "$as_me:$LINENO: checking for $ac_func" >&5
75993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75994 if eval "test \"\${$as_ac_var+set}\" = set"; then
75995 echo $ECHO_N "(cached) $ECHO_C" >&6
75996 else
75997 if test x$gcc_no_link = xyes; then
75998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76000 { (exit 1); exit 1; }; }
76002 cat >conftest.$ac_ext <<_ACEOF
76003 /* confdefs.h. */
76004 _ACEOF
76005 cat confdefs.h >>conftest.$ac_ext
76006 cat >>conftest.$ac_ext <<_ACEOF
76007 /* end confdefs.h. */
76008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76010 #define $ac_func innocuous_$ac_func
76012 /* System header to define __stub macros and hopefully few prototypes,
76013 which can conflict with char $ac_func (); below.
76014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76015 <limits.h> exists even on freestanding compilers. */
76017 #ifdef __STDC__
76018 # include <limits.h>
76019 #else
76020 # include <assert.h>
76021 #endif
76023 #undef $ac_func
76025 /* Override any gcc2 internal prototype to avoid an error. */
76026 #ifdef __cplusplus
76027 extern "C"
76029 #endif
76030 /* We use char because int might match the return type of a gcc2
76031 builtin and then its argument prototype would still apply. */
76032 char $ac_func ();
76033 /* The GNU C library defines this for functions which it implements
76034 to always fail with ENOSYS. Some functions are actually named
76035 something starting with __ and the normal name is an alias. */
76036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76037 choke me
76038 #else
76039 char (*f) () = $ac_func;
76040 #endif
76041 #ifdef __cplusplus
76043 #endif
76046 main ()
76048 return f != $ac_func;
76050 return 0;
76052 _ACEOF
76053 rm -f conftest.$ac_objext conftest$ac_exeext
76054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76055 (eval $ac_link) 2>conftest.er1
76056 ac_status=$?
76057 grep -v '^ *+' conftest.er1 >conftest.err
76058 rm -f conftest.er1
76059 cat conftest.err >&5
76060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76061 (exit $ac_status); } &&
76062 { ac_try='test -z "$ac_c_werror_flag"
76063 || test ! -s conftest.err'
76064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76065 (eval $ac_try) 2>&5
76066 ac_status=$?
76067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76068 (exit $ac_status); }; } &&
76069 { ac_try='test -s conftest$ac_exeext'
76070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76071 (eval $ac_try) 2>&5
76072 ac_status=$?
76073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76074 (exit $ac_status); }; }; then
76075 eval "$as_ac_var=yes"
76076 else
76077 echo "$as_me: failed program was:" >&5
76078 sed 's/^/| /' conftest.$ac_ext >&5
76080 eval "$as_ac_var=no"
76082 rm -f conftest.err conftest.$ac_objext \
76083 conftest$ac_exeext conftest.$ac_ext
76085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76087 if test `eval echo '${'$as_ac_var'}'` = yes; then
76088 cat >>confdefs.h <<_ACEOF
76089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76090 _ACEOF
76093 done
76095 else
76096 echo "$as_me:$LINENO: checking for _long double round functions" >&5
76097 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
76098 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
76099 echo $ECHO_N "(cached) $ECHO_C" >&6
76100 else
76104 ac_ext=cc
76105 ac_cpp='$CXXCPP $CPPFLAGS'
76106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76110 cat >conftest.$ac_ext <<_ACEOF
76111 /* confdefs.h. */
76112 _ACEOF
76113 cat confdefs.h >>conftest.$ac_ext
76114 cat >>conftest.$ac_ext <<_ACEOF
76115 /* end confdefs.h. */
76116 #include <math.h>
76118 main ()
76120 _ceill (0); _floorl (0);
76122 return 0;
76124 _ACEOF
76125 rm -f conftest.$ac_objext
76126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76127 (eval $ac_compile) 2>conftest.er1
76128 ac_status=$?
76129 grep -v '^ *+' conftest.er1 >conftest.err
76130 rm -f conftest.er1
76131 cat conftest.err >&5
76132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76133 (exit $ac_status); } &&
76134 { ac_try='test -z "$ac_cxx_werror_flag"
76135 || test ! -s conftest.err'
76136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76137 (eval $ac_try) 2>&5
76138 ac_status=$?
76139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76140 (exit $ac_status); }; } &&
76141 { ac_try='test -s conftest.$ac_objext'
76142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76143 (eval $ac_try) 2>&5
76144 ac_status=$?
76145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146 (exit $ac_status); }; }; then
76147 glibcxx_cv_func__long_double_round_use=yes
76148 else
76149 echo "$as_me: failed program was:" >&5
76150 sed 's/^/| /' conftest.$ac_ext >&5
76152 glibcxx_cv_func__long_double_round_use=no
76154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76155 ac_ext=c
76156 ac_cpp='$CPP $CPPFLAGS'
76157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
76164 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
76165 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76168 for ac_func in _ceill _floorl
76170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76171 echo "$as_me:$LINENO: checking for $ac_func" >&5
76172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76173 if eval "test \"\${$as_ac_var+set}\" = set"; then
76174 echo $ECHO_N "(cached) $ECHO_C" >&6
76175 else
76176 if test x$gcc_no_link = xyes; then
76177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76179 { (exit 1); exit 1; }; }
76181 cat >conftest.$ac_ext <<_ACEOF
76182 /* confdefs.h. */
76183 _ACEOF
76184 cat confdefs.h >>conftest.$ac_ext
76185 cat >>conftest.$ac_ext <<_ACEOF
76186 /* end confdefs.h. */
76187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76189 #define $ac_func innocuous_$ac_func
76191 /* System header to define __stub macros and hopefully few prototypes,
76192 which can conflict with char $ac_func (); below.
76193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76194 <limits.h> exists even on freestanding compilers. */
76196 #ifdef __STDC__
76197 # include <limits.h>
76198 #else
76199 # include <assert.h>
76200 #endif
76202 #undef $ac_func
76204 /* Override any gcc2 internal prototype to avoid an error. */
76205 #ifdef __cplusplus
76206 extern "C"
76208 #endif
76209 /* We use char because int might match the return type of a gcc2
76210 builtin and then its argument prototype would still apply. */
76211 char $ac_func ();
76212 /* The GNU C library defines this for functions which it implements
76213 to always fail with ENOSYS. Some functions are actually named
76214 something starting with __ and the normal name is an alias. */
76215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76216 choke me
76217 #else
76218 char (*f) () = $ac_func;
76219 #endif
76220 #ifdef __cplusplus
76222 #endif
76225 main ()
76227 return f != $ac_func;
76229 return 0;
76231 _ACEOF
76232 rm -f conftest.$ac_objext conftest$ac_exeext
76233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76234 (eval $ac_link) 2>conftest.er1
76235 ac_status=$?
76236 grep -v '^ *+' conftest.er1 >conftest.err
76237 rm -f conftest.er1
76238 cat conftest.err >&5
76239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76240 (exit $ac_status); } &&
76241 { ac_try='test -z "$ac_c_werror_flag"
76242 || test ! -s conftest.err'
76243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76244 (eval $ac_try) 2>&5
76245 ac_status=$?
76246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76247 (exit $ac_status); }; } &&
76248 { ac_try='test -s conftest$ac_exeext'
76249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76250 (eval $ac_try) 2>&5
76251 ac_status=$?
76252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76253 (exit $ac_status); }; }; then
76254 eval "$as_ac_var=yes"
76255 else
76256 echo "$as_me: failed program was:" >&5
76257 sed 's/^/| /' conftest.$ac_ext >&5
76259 eval "$as_ac_var=no"
76261 rm -f conftest.err conftest.$ac_objext \
76262 conftest$ac_exeext conftest.$ac_ext
76264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76266 if test `eval echo '${'$as_ac_var'}'` = yes; then
76267 cat >>confdefs.h <<_ACEOF
76268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76269 _ACEOF
76272 done
76284 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76285 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76286 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76287 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76288 echo $ECHO_N "(cached) $ECHO_C" >&6
76289 else
76293 ac_ext=cc
76294 ac_cpp='$CXXCPP $CPPFLAGS'
76295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76299 cat >conftest.$ac_ext <<_ACEOF
76300 /* confdefs.h. */
76301 _ACEOF
76302 cat confdefs.h >>conftest.$ac_ext
76303 cat >>conftest.$ac_ext <<_ACEOF
76304 /* end confdefs.h. */
76305 #include <math.h>
76306 #ifdef HAVE_IEEEFP_H
76307 #include <ieeefp.h>
76308 #endif
76311 main ()
76313 isnanl(0);
76315 return 0;
76317 _ACEOF
76318 rm -f conftest.$ac_objext
76319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76320 (eval $ac_compile) 2>conftest.er1
76321 ac_status=$?
76322 grep -v '^ *+' conftest.er1 >conftest.err
76323 rm -f conftest.er1
76324 cat conftest.err >&5
76325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76326 (exit $ac_status); } &&
76327 { ac_try='test -z "$ac_cxx_werror_flag"
76328 || test ! -s conftest.err'
76329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76330 (eval $ac_try) 2>&5
76331 ac_status=$?
76332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76333 (exit $ac_status); }; } &&
76334 { ac_try='test -s conftest.$ac_objext'
76335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76336 (eval $ac_try) 2>&5
76337 ac_status=$?
76338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76339 (exit $ac_status); }; }; then
76340 glibcxx_cv_func_isnanl_use=yes
76341 else
76342 echo "$as_me: failed program was:" >&5
76343 sed 's/^/| /' conftest.$ac_ext >&5
76345 glibcxx_cv_func_isnanl_use=no
76347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76348 ac_ext=c
76349 ac_cpp='$CPP $CPPFLAGS'
76350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
76359 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
76361 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76363 for ac_func in isnanl
76365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76366 echo "$as_me:$LINENO: checking for $ac_func" >&5
76367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76368 if eval "test \"\${$as_ac_var+set}\" = set"; then
76369 echo $ECHO_N "(cached) $ECHO_C" >&6
76370 else
76371 if test x$gcc_no_link = xyes; then
76372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76374 { (exit 1); exit 1; }; }
76376 cat >conftest.$ac_ext <<_ACEOF
76377 /* confdefs.h. */
76378 _ACEOF
76379 cat confdefs.h >>conftest.$ac_ext
76380 cat >>conftest.$ac_ext <<_ACEOF
76381 /* end confdefs.h. */
76382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76384 #define $ac_func innocuous_$ac_func
76386 /* System header to define __stub macros and hopefully few prototypes,
76387 which can conflict with char $ac_func (); below.
76388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76389 <limits.h> exists even on freestanding compilers. */
76391 #ifdef __STDC__
76392 # include <limits.h>
76393 #else
76394 # include <assert.h>
76395 #endif
76397 #undef $ac_func
76399 /* Override any gcc2 internal prototype to avoid an error. */
76400 #ifdef __cplusplus
76401 extern "C"
76403 #endif
76404 /* We use char because int might match the return type of a gcc2
76405 builtin and then its argument prototype would still apply. */
76406 char $ac_func ();
76407 /* The GNU C library defines this for functions which it implements
76408 to always fail with ENOSYS. Some functions are actually named
76409 something starting with __ and the normal name is an alias. */
76410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76411 choke me
76412 #else
76413 char (*f) () = $ac_func;
76414 #endif
76415 #ifdef __cplusplus
76417 #endif
76420 main ()
76422 return f != $ac_func;
76424 return 0;
76426 _ACEOF
76427 rm -f conftest.$ac_objext conftest$ac_exeext
76428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76429 (eval $ac_link) 2>conftest.er1
76430 ac_status=$?
76431 grep -v '^ *+' conftest.er1 >conftest.err
76432 rm -f conftest.er1
76433 cat conftest.err >&5
76434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76435 (exit $ac_status); } &&
76436 { ac_try='test -z "$ac_c_werror_flag"
76437 || test ! -s conftest.err'
76438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76439 (eval $ac_try) 2>&5
76440 ac_status=$?
76441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76442 (exit $ac_status); }; } &&
76443 { ac_try='test -s conftest$ac_exeext'
76444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76445 (eval $ac_try) 2>&5
76446 ac_status=$?
76447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76448 (exit $ac_status); }; }; then
76449 eval "$as_ac_var=yes"
76450 else
76451 echo "$as_me: failed program was:" >&5
76452 sed 's/^/| /' conftest.$ac_ext >&5
76454 eval "$as_ac_var=no"
76456 rm -f conftest.err conftest.$ac_objext \
76457 conftest$ac_exeext conftest.$ac_ext
76459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76461 if test `eval echo '${'$as_ac_var'}'` = yes; then
76462 cat >>confdefs.h <<_ACEOF
76463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76464 _ACEOF
76467 done
76469 else
76471 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
76472 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
76473 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76474 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
76475 echo $ECHO_N "(cached) $ECHO_C" >&6
76476 else
76480 ac_ext=cc
76481 ac_cpp='$CXXCPP $CPPFLAGS'
76482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76486 cat >conftest.$ac_ext <<_ACEOF
76487 /* confdefs.h. */
76488 _ACEOF
76489 cat confdefs.h >>conftest.$ac_ext
76490 cat >>conftest.$ac_ext <<_ACEOF
76491 /* end confdefs.h. */
76492 #include <math.h>
76493 #ifdef HAVE_IEEEFP_H
76494 #include <ieeefp.h>
76495 #endif
76498 main ()
76500 _isnanl(0);
76502 return 0;
76504 _ACEOF
76505 rm -f conftest.$ac_objext
76506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76507 (eval $ac_compile) 2>conftest.er1
76508 ac_status=$?
76509 grep -v '^ *+' conftest.er1 >conftest.err
76510 rm -f conftest.er1
76511 cat conftest.err >&5
76512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76513 (exit $ac_status); } &&
76514 { ac_try='test -z "$ac_cxx_werror_flag"
76515 || test ! -s conftest.err'
76516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76517 (eval $ac_try) 2>&5
76518 ac_status=$?
76519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76520 (exit $ac_status); }; } &&
76521 { ac_try='test -s conftest.$ac_objext'
76522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76523 (eval $ac_try) 2>&5
76524 ac_status=$?
76525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76526 (exit $ac_status); }; }; then
76527 glibcxx_cv_func__isnanl_use=yes
76528 else
76529 echo "$as_me: failed program was:" >&5
76530 sed 's/^/| /' conftest.$ac_ext >&5
76532 glibcxx_cv_func__isnanl_use=no
76534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76535 ac_ext=c
76536 ac_cpp='$CPP $CPPFLAGS'
76537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76546 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76548 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76550 for ac_func in _isnanl
76552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76553 echo "$as_me:$LINENO: checking for $ac_func" >&5
76554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76555 if eval "test \"\${$as_ac_var+set}\" = set"; then
76556 echo $ECHO_N "(cached) $ECHO_C" >&6
76557 else
76558 if test x$gcc_no_link = xyes; then
76559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76561 { (exit 1); exit 1; }; }
76563 cat >conftest.$ac_ext <<_ACEOF
76564 /* confdefs.h. */
76565 _ACEOF
76566 cat confdefs.h >>conftest.$ac_ext
76567 cat >>conftest.$ac_ext <<_ACEOF
76568 /* end confdefs.h. */
76569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76571 #define $ac_func innocuous_$ac_func
76573 /* System header to define __stub macros and hopefully few prototypes,
76574 which can conflict with char $ac_func (); below.
76575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76576 <limits.h> exists even on freestanding compilers. */
76578 #ifdef __STDC__
76579 # include <limits.h>
76580 #else
76581 # include <assert.h>
76582 #endif
76584 #undef $ac_func
76586 /* Override any gcc2 internal prototype to avoid an error. */
76587 #ifdef __cplusplus
76588 extern "C"
76590 #endif
76591 /* We use char because int might match the return type of a gcc2
76592 builtin and then its argument prototype would still apply. */
76593 char $ac_func ();
76594 /* The GNU C library defines this for functions which it implements
76595 to always fail with ENOSYS. Some functions are actually named
76596 something starting with __ and the normal name is an alias. */
76597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76598 choke me
76599 #else
76600 char (*f) () = $ac_func;
76601 #endif
76602 #ifdef __cplusplus
76604 #endif
76607 main ()
76609 return f != $ac_func;
76611 return 0;
76613 _ACEOF
76614 rm -f conftest.$ac_objext conftest$ac_exeext
76615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76616 (eval $ac_link) 2>conftest.er1
76617 ac_status=$?
76618 grep -v '^ *+' conftest.er1 >conftest.err
76619 rm -f conftest.er1
76620 cat conftest.err >&5
76621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76622 (exit $ac_status); } &&
76623 { ac_try='test -z "$ac_c_werror_flag"
76624 || test ! -s conftest.err'
76625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76626 (eval $ac_try) 2>&5
76627 ac_status=$?
76628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76629 (exit $ac_status); }; } &&
76630 { ac_try='test -s conftest$ac_exeext'
76631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76632 (eval $ac_try) 2>&5
76633 ac_status=$?
76634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76635 (exit $ac_status); }; }; then
76636 eval "$as_ac_var=yes"
76637 else
76638 echo "$as_me: failed program was:" >&5
76639 sed 's/^/| /' conftest.$ac_ext >&5
76641 eval "$as_ac_var=no"
76643 rm -f conftest.err conftest.$ac_objext \
76644 conftest$ac_exeext conftest.$ac_ext
76646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76648 if test `eval echo '${'$as_ac_var'}'` = yes; then
76649 cat >>confdefs.h <<_ACEOF
76650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76651 _ACEOF
76654 done
76664 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76665 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76666 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76667 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76668 echo $ECHO_N "(cached) $ECHO_C" >&6
76669 else
76673 ac_ext=cc
76674 ac_cpp='$CXXCPP $CPPFLAGS'
76675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76679 cat >conftest.$ac_ext <<_ACEOF
76680 /* confdefs.h. */
76681 _ACEOF
76682 cat confdefs.h >>conftest.$ac_ext
76683 cat >>conftest.$ac_ext <<_ACEOF
76684 /* end confdefs.h. */
76685 #include <math.h>
76686 #ifdef HAVE_IEEEFP_H
76687 #include <ieeefp.h>
76688 #endif
76691 main ()
76693 isinfl(0);
76695 return 0;
76697 _ACEOF
76698 rm -f conftest.$ac_objext
76699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76700 (eval $ac_compile) 2>conftest.er1
76701 ac_status=$?
76702 grep -v '^ *+' conftest.er1 >conftest.err
76703 rm -f conftest.er1
76704 cat conftest.err >&5
76705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706 (exit $ac_status); } &&
76707 { ac_try='test -z "$ac_cxx_werror_flag"
76708 || test ! -s conftest.err'
76709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76710 (eval $ac_try) 2>&5
76711 ac_status=$?
76712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76713 (exit $ac_status); }; } &&
76714 { ac_try='test -s conftest.$ac_objext'
76715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76716 (eval $ac_try) 2>&5
76717 ac_status=$?
76718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76719 (exit $ac_status); }; }; then
76720 glibcxx_cv_func_isinfl_use=yes
76721 else
76722 echo "$as_me: failed program was:" >&5
76723 sed 's/^/| /' conftest.$ac_ext >&5
76725 glibcxx_cv_func_isinfl_use=no
76727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76728 ac_ext=c
76729 ac_cpp='$CPP $CPPFLAGS'
76730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76739 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76741 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76743 for ac_func in isinfl
76745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76746 echo "$as_me:$LINENO: checking for $ac_func" >&5
76747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76748 if eval "test \"\${$as_ac_var+set}\" = set"; then
76749 echo $ECHO_N "(cached) $ECHO_C" >&6
76750 else
76751 if test x$gcc_no_link = xyes; then
76752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76754 { (exit 1); exit 1; }; }
76756 cat >conftest.$ac_ext <<_ACEOF
76757 /* confdefs.h. */
76758 _ACEOF
76759 cat confdefs.h >>conftest.$ac_ext
76760 cat >>conftest.$ac_ext <<_ACEOF
76761 /* end confdefs.h. */
76762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76764 #define $ac_func innocuous_$ac_func
76766 /* System header to define __stub macros and hopefully few prototypes,
76767 which can conflict with char $ac_func (); below.
76768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76769 <limits.h> exists even on freestanding compilers. */
76771 #ifdef __STDC__
76772 # include <limits.h>
76773 #else
76774 # include <assert.h>
76775 #endif
76777 #undef $ac_func
76779 /* Override any gcc2 internal prototype to avoid an error. */
76780 #ifdef __cplusplus
76781 extern "C"
76783 #endif
76784 /* We use char because int might match the return type of a gcc2
76785 builtin and then its argument prototype would still apply. */
76786 char $ac_func ();
76787 /* The GNU C library defines this for functions which it implements
76788 to always fail with ENOSYS. Some functions are actually named
76789 something starting with __ and the normal name is an alias. */
76790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76791 choke me
76792 #else
76793 char (*f) () = $ac_func;
76794 #endif
76795 #ifdef __cplusplus
76797 #endif
76800 main ()
76802 return f != $ac_func;
76804 return 0;
76806 _ACEOF
76807 rm -f conftest.$ac_objext conftest$ac_exeext
76808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76809 (eval $ac_link) 2>conftest.er1
76810 ac_status=$?
76811 grep -v '^ *+' conftest.er1 >conftest.err
76812 rm -f conftest.er1
76813 cat conftest.err >&5
76814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815 (exit $ac_status); } &&
76816 { ac_try='test -z "$ac_c_werror_flag"
76817 || test ! -s conftest.err'
76818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76819 (eval $ac_try) 2>&5
76820 ac_status=$?
76821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76822 (exit $ac_status); }; } &&
76823 { ac_try='test -s conftest$ac_exeext'
76824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76825 (eval $ac_try) 2>&5
76826 ac_status=$?
76827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76828 (exit $ac_status); }; }; then
76829 eval "$as_ac_var=yes"
76830 else
76831 echo "$as_me: failed program was:" >&5
76832 sed 's/^/| /' conftest.$ac_ext >&5
76834 eval "$as_ac_var=no"
76836 rm -f conftest.err conftest.$ac_objext \
76837 conftest$ac_exeext conftest.$ac_ext
76839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76841 if test `eval echo '${'$as_ac_var'}'` = yes; then
76842 cat >>confdefs.h <<_ACEOF
76843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76844 _ACEOF
76847 done
76849 else
76851 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76852 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76853 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76854 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76855 echo $ECHO_N "(cached) $ECHO_C" >&6
76856 else
76860 ac_ext=cc
76861 ac_cpp='$CXXCPP $CPPFLAGS'
76862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76866 cat >conftest.$ac_ext <<_ACEOF
76867 /* confdefs.h. */
76868 _ACEOF
76869 cat confdefs.h >>conftest.$ac_ext
76870 cat >>conftest.$ac_ext <<_ACEOF
76871 /* end confdefs.h. */
76872 #include <math.h>
76873 #ifdef HAVE_IEEEFP_H
76874 #include <ieeefp.h>
76875 #endif
76878 main ()
76880 _isinfl(0);
76882 return 0;
76884 _ACEOF
76885 rm -f conftest.$ac_objext
76886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76887 (eval $ac_compile) 2>conftest.er1
76888 ac_status=$?
76889 grep -v '^ *+' conftest.er1 >conftest.err
76890 rm -f conftest.er1
76891 cat conftest.err >&5
76892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76893 (exit $ac_status); } &&
76894 { ac_try='test -z "$ac_cxx_werror_flag"
76895 || test ! -s conftest.err'
76896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76897 (eval $ac_try) 2>&5
76898 ac_status=$?
76899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76900 (exit $ac_status); }; } &&
76901 { ac_try='test -s conftest.$ac_objext'
76902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76903 (eval $ac_try) 2>&5
76904 ac_status=$?
76905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76906 (exit $ac_status); }; }; then
76907 glibcxx_cv_func__isinfl_use=yes
76908 else
76909 echo "$as_me: failed program was:" >&5
76910 sed 's/^/| /' conftest.$ac_ext >&5
76912 glibcxx_cv_func__isinfl_use=no
76914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76915 ac_ext=c
76916 ac_cpp='$CPP $CPPFLAGS'
76917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76926 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76928 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76930 for ac_func in _isinfl
76932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76933 echo "$as_me:$LINENO: checking for $ac_func" >&5
76934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76935 if eval "test \"\${$as_ac_var+set}\" = set"; then
76936 echo $ECHO_N "(cached) $ECHO_C" >&6
76937 else
76938 if test x$gcc_no_link = xyes; then
76939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76941 { (exit 1); exit 1; }; }
76943 cat >conftest.$ac_ext <<_ACEOF
76944 /* confdefs.h. */
76945 _ACEOF
76946 cat confdefs.h >>conftest.$ac_ext
76947 cat >>conftest.$ac_ext <<_ACEOF
76948 /* end confdefs.h. */
76949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76951 #define $ac_func innocuous_$ac_func
76953 /* System header to define __stub macros and hopefully few prototypes,
76954 which can conflict with char $ac_func (); below.
76955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76956 <limits.h> exists even on freestanding compilers. */
76958 #ifdef __STDC__
76959 # include <limits.h>
76960 #else
76961 # include <assert.h>
76962 #endif
76964 #undef $ac_func
76966 /* Override any gcc2 internal prototype to avoid an error. */
76967 #ifdef __cplusplus
76968 extern "C"
76970 #endif
76971 /* We use char because int might match the return type of a gcc2
76972 builtin and then its argument prototype would still apply. */
76973 char $ac_func ();
76974 /* The GNU C library defines this for functions which it implements
76975 to always fail with ENOSYS. Some functions are actually named
76976 something starting with __ and the normal name is an alias. */
76977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76978 choke me
76979 #else
76980 char (*f) () = $ac_func;
76981 #endif
76982 #ifdef __cplusplus
76984 #endif
76987 main ()
76989 return f != $ac_func;
76991 return 0;
76993 _ACEOF
76994 rm -f conftest.$ac_objext conftest$ac_exeext
76995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76996 (eval $ac_link) 2>conftest.er1
76997 ac_status=$?
76998 grep -v '^ *+' conftest.er1 >conftest.err
76999 rm -f conftest.er1
77000 cat conftest.err >&5
77001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77002 (exit $ac_status); } &&
77003 { ac_try='test -z "$ac_c_werror_flag"
77004 || test ! -s conftest.err'
77005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77006 (eval $ac_try) 2>&5
77007 ac_status=$?
77008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009 (exit $ac_status); }; } &&
77010 { ac_try='test -s conftest$ac_exeext'
77011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77012 (eval $ac_try) 2>&5
77013 ac_status=$?
77014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77015 (exit $ac_status); }; }; then
77016 eval "$as_ac_var=yes"
77017 else
77018 echo "$as_me: failed program was:" >&5
77019 sed 's/^/| /' conftest.$ac_ext >&5
77021 eval "$as_ac_var=no"
77023 rm -f conftest.err conftest.$ac_objext \
77024 conftest$ac_exeext conftest.$ac_ext
77026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77028 if test `eval echo '${'$as_ac_var'}'` = yes; then
77029 cat >>confdefs.h <<_ACEOF
77030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77031 _ACEOF
77034 done
77044 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
77045 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
77046 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
77047 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
77048 echo $ECHO_N "(cached) $ECHO_C" >&6
77049 else
77053 ac_ext=cc
77054 ac_cpp='$CXXCPP $CPPFLAGS'
77055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77059 cat >conftest.$ac_ext <<_ACEOF
77060 /* confdefs.h. */
77061 _ACEOF
77062 cat confdefs.h >>conftest.$ac_ext
77063 cat >>conftest.$ac_ext <<_ACEOF
77064 /* end confdefs.h. */
77065 #include <math.h>
77067 main ()
77069 copysignl(0, 0);
77071 return 0;
77073 _ACEOF
77074 rm -f conftest.$ac_objext
77075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77076 (eval $ac_compile) 2>conftest.er1
77077 ac_status=$?
77078 grep -v '^ *+' conftest.er1 >conftest.err
77079 rm -f conftest.er1
77080 cat conftest.err >&5
77081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082 (exit $ac_status); } &&
77083 { ac_try='test -z "$ac_cxx_werror_flag"
77084 || test ! -s conftest.err'
77085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77086 (eval $ac_try) 2>&5
77087 ac_status=$?
77088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77089 (exit $ac_status); }; } &&
77090 { ac_try='test -s conftest.$ac_objext'
77091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77092 (eval $ac_try) 2>&5
77093 ac_status=$?
77094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77095 (exit $ac_status); }; }; then
77096 glibcxx_cv_func_copysignl_use=yes
77097 else
77098 echo "$as_me: failed program was:" >&5
77099 sed 's/^/| /' conftest.$ac_ext >&5
77101 glibcxx_cv_func_copysignl_use=no
77103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77104 ac_ext=c
77105 ac_cpp='$CPP $CPPFLAGS'
77106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
77115 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
77117 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
77119 for ac_func in copysignl
77121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77122 echo "$as_me:$LINENO: checking for $ac_func" >&5
77123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77124 if eval "test \"\${$as_ac_var+set}\" = set"; then
77125 echo $ECHO_N "(cached) $ECHO_C" >&6
77126 else
77127 if test x$gcc_no_link = xyes; then
77128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77130 { (exit 1); exit 1; }; }
77132 cat >conftest.$ac_ext <<_ACEOF
77133 /* confdefs.h. */
77134 _ACEOF
77135 cat confdefs.h >>conftest.$ac_ext
77136 cat >>conftest.$ac_ext <<_ACEOF
77137 /* end confdefs.h. */
77138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77140 #define $ac_func innocuous_$ac_func
77142 /* System header to define __stub macros and hopefully few prototypes,
77143 which can conflict with char $ac_func (); below.
77144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77145 <limits.h> exists even on freestanding compilers. */
77147 #ifdef __STDC__
77148 # include <limits.h>
77149 #else
77150 # include <assert.h>
77151 #endif
77153 #undef $ac_func
77155 /* Override any gcc2 internal prototype to avoid an error. */
77156 #ifdef __cplusplus
77157 extern "C"
77159 #endif
77160 /* We use char because int might match the return type of a gcc2
77161 builtin and then its argument prototype would still apply. */
77162 char $ac_func ();
77163 /* The GNU C library defines this for functions which it implements
77164 to always fail with ENOSYS. Some functions are actually named
77165 something starting with __ and the normal name is an alias. */
77166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77167 choke me
77168 #else
77169 char (*f) () = $ac_func;
77170 #endif
77171 #ifdef __cplusplus
77173 #endif
77176 main ()
77178 return f != $ac_func;
77180 return 0;
77182 _ACEOF
77183 rm -f conftest.$ac_objext conftest$ac_exeext
77184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77185 (eval $ac_link) 2>conftest.er1
77186 ac_status=$?
77187 grep -v '^ *+' conftest.er1 >conftest.err
77188 rm -f conftest.er1
77189 cat conftest.err >&5
77190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77191 (exit $ac_status); } &&
77192 { ac_try='test -z "$ac_c_werror_flag"
77193 || test ! -s conftest.err'
77194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77195 (eval $ac_try) 2>&5
77196 ac_status=$?
77197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77198 (exit $ac_status); }; } &&
77199 { ac_try='test -s conftest$ac_exeext'
77200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77201 (eval $ac_try) 2>&5
77202 ac_status=$?
77203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77204 (exit $ac_status); }; }; then
77205 eval "$as_ac_var=yes"
77206 else
77207 echo "$as_me: failed program was:" >&5
77208 sed 's/^/| /' conftest.$ac_ext >&5
77210 eval "$as_ac_var=no"
77212 rm -f conftest.err conftest.$ac_objext \
77213 conftest$ac_exeext conftest.$ac_ext
77215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77217 if test `eval echo '${'$as_ac_var'}'` = yes; then
77218 cat >>confdefs.h <<_ACEOF
77219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77220 _ACEOF
77223 done
77225 else
77227 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
77228 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
77229 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77230 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77231 echo $ECHO_N "(cached) $ECHO_C" >&6
77232 else
77236 ac_ext=cc
77237 ac_cpp='$CXXCPP $CPPFLAGS'
77238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77242 cat >conftest.$ac_ext <<_ACEOF
77243 /* confdefs.h. */
77244 _ACEOF
77245 cat confdefs.h >>conftest.$ac_ext
77246 cat >>conftest.$ac_ext <<_ACEOF
77247 /* end confdefs.h. */
77248 #include <math.h>
77250 main ()
77252 _copysignl(0, 0);
77254 return 0;
77256 _ACEOF
77257 rm -f conftest.$ac_objext
77258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77259 (eval $ac_compile) 2>conftest.er1
77260 ac_status=$?
77261 grep -v '^ *+' conftest.er1 >conftest.err
77262 rm -f conftest.er1
77263 cat conftest.err >&5
77264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77265 (exit $ac_status); } &&
77266 { ac_try='test -z "$ac_cxx_werror_flag"
77267 || test ! -s conftest.err'
77268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77269 (eval $ac_try) 2>&5
77270 ac_status=$?
77271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77272 (exit $ac_status); }; } &&
77273 { ac_try='test -s conftest.$ac_objext'
77274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77275 (eval $ac_try) 2>&5
77276 ac_status=$?
77277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77278 (exit $ac_status); }; }; then
77279 glibcxx_cv_func__copysignl_use=yes
77280 else
77281 echo "$as_me: failed program was:" >&5
77282 sed 's/^/| /' conftest.$ac_ext >&5
77284 glibcxx_cv_func__copysignl_use=no
77286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77287 ac_ext=c
77288 ac_cpp='$CPP $CPPFLAGS'
77289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77298 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77300 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77302 for ac_func in _copysignl
77304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77305 echo "$as_me:$LINENO: checking for $ac_func" >&5
77306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77307 if eval "test \"\${$as_ac_var+set}\" = set"; then
77308 echo $ECHO_N "(cached) $ECHO_C" >&6
77309 else
77310 if test x$gcc_no_link = xyes; then
77311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77313 { (exit 1); exit 1; }; }
77315 cat >conftest.$ac_ext <<_ACEOF
77316 /* confdefs.h. */
77317 _ACEOF
77318 cat confdefs.h >>conftest.$ac_ext
77319 cat >>conftest.$ac_ext <<_ACEOF
77320 /* end confdefs.h. */
77321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77323 #define $ac_func innocuous_$ac_func
77325 /* System header to define __stub macros and hopefully few prototypes,
77326 which can conflict with char $ac_func (); below.
77327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77328 <limits.h> exists even on freestanding compilers. */
77330 #ifdef __STDC__
77331 # include <limits.h>
77332 #else
77333 # include <assert.h>
77334 #endif
77336 #undef $ac_func
77338 /* Override any gcc2 internal prototype to avoid an error. */
77339 #ifdef __cplusplus
77340 extern "C"
77342 #endif
77343 /* We use char because int might match the return type of a gcc2
77344 builtin and then its argument prototype would still apply. */
77345 char $ac_func ();
77346 /* The GNU C library defines this for functions which it implements
77347 to always fail with ENOSYS. Some functions are actually named
77348 something starting with __ and the normal name is an alias. */
77349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77350 choke me
77351 #else
77352 char (*f) () = $ac_func;
77353 #endif
77354 #ifdef __cplusplus
77356 #endif
77359 main ()
77361 return f != $ac_func;
77363 return 0;
77365 _ACEOF
77366 rm -f conftest.$ac_objext conftest$ac_exeext
77367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77368 (eval $ac_link) 2>conftest.er1
77369 ac_status=$?
77370 grep -v '^ *+' conftest.er1 >conftest.err
77371 rm -f conftest.er1
77372 cat conftest.err >&5
77373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77374 (exit $ac_status); } &&
77375 { ac_try='test -z "$ac_c_werror_flag"
77376 || test ! -s conftest.err'
77377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77378 (eval $ac_try) 2>&5
77379 ac_status=$?
77380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77381 (exit $ac_status); }; } &&
77382 { ac_try='test -s conftest$ac_exeext'
77383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77384 (eval $ac_try) 2>&5
77385 ac_status=$?
77386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387 (exit $ac_status); }; }; then
77388 eval "$as_ac_var=yes"
77389 else
77390 echo "$as_me: failed program was:" >&5
77391 sed 's/^/| /' conftest.$ac_ext >&5
77393 eval "$as_ac_var=no"
77395 rm -f conftest.err conftest.$ac_objext \
77396 conftest$ac_exeext conftest.$ac_ext
77398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77400 if test `eval echo '${'$as_ac_var'}'` = yes; then
77401 cat >>confdefs.h <<_ACEOF
77402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77403 _ACEOF
77406 done
77416 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
77417 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
77418 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
77419 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
77420 echo $ECHO_N "(cached) $ECHO_C" >&6
77421 else
77425 ac_ext=cc
77426 ac_cpp='$CXXCPP $CPPFLAGS'
77427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77431 cat >conftest.$ac_ext <<_ACEOF
77432 /* confdefs.h. */
77433 _ACEOF
77434 cat confdefs.h >>conftest.$ac_ext
77435 cat >>conftest.$ac_ext <<_ACEOF
77436 /* end confdefs.h. */
77437 #include <math.h>
77439 main ()
77441 atan2l(0, 0);
77443 return 0;
77445 _ACEOF
77446 rm -f conftest.$ac_objext
77447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77448 (eval $ac_compile) 2>conftest.er1
77449 ac_status=$?
77450 grep -v '^ *+' conftest.er1 >conftest.err
77451 rm -f conftest.er1
77452 cat conftest.err >&5
77453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454 (exit $ac_status); } &&
77455 { ac_try='test -z "$ac_cxx_werror_flag"
77456 || test ! -s conftest.err'
77457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77458 (eval $ac_try) 2>&5
77459 ac_status=$?
77460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77461 (exit $ac_status); }; } &&
77462 { ac_try='test -s conftest.$ac_objext'
77463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77464 (eval $ac_try) 2>&5
77465 ac_status=$?
77466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467 (exit $ac_status); }; }; then
77468 glibcxx_cv_func_atan2l_use=yes
77469 else
77470 echo "$as_me: failed program was:" >&5
77471 sed 's/^/| /' conftest.$ac_ext >&5
77473 glibcxx_cv_func_atan2l_use=no
77475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77476 ac_ext=c
77477 ac_cpp='$CPP $CPPFLAGS'
77478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
77487 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
77489 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
77491 for ac_func in atan2l
77493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77494 echo "$as_me:$LINENO: checking for $ac_func" >&5
77495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77496 if eval "test \"\${$as_ac_var+set}\" = set"; then
77497 echo $ECHO_N "(cached) $ECHO_C" >&6
77498 else
77499 if test x$gcc_no_link = xyes; then
77500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77502 { (exit 1); exit 1; }; }
77504 cat >conftest.$ac_ext <<_ACEOF
77505 /* confdefs.h. */
77506 _ACEOF
77507 cat confdefs.h >>conftest.$ac_ext
77508 cat >>conftest.$ac_ext <<_ACEOF
77509 /* end confdefs.h. */
77510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77512 #define $ac_func innocuous_$ac_func
77514 /* System header to define __stub macros and hopefully few prototypes,
77515 which can conflict with char $ac_func (); below.
77516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77517 <limits.h> exists even on freestanding compilers. */
77519 #ifdef __STDC__
77520 # include <limits.h>
77521 #else
77522 # include <assert.h>
77523 #endif
77525 #undef $ac_func
77527 /* Override any gcc2 internal prototype to avoid an error. */
77528 #ifdef __cplusplus
77529 extern "C"
77531 #endif
77532 /* We use char because int might match the return type of a gcc2
77533 builtin and then its argument prototype would still apply. */
77534 char $ac_func ();
77535 /* The GNU C library defines this for functions which it implements
77536 to always fail with ENOSYS. Some functions are actually named
77537 something starting with __ and the normal name is an alias. */
77538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77539 choke me
77540 #else
77541 char (*f) () = $ac_func;
77542 #endif
77543 #ifdef __cplusplus
77545 #endif
77548 main ()
77550 return f != $ac_func;
77552 return 0;
77554 _ACEOF
77555 rm -f conftest.$ac_objext conftest$ac_exeext
77556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77557 (eval $ac_link) 2>conftest.er1
77558 ac_status=$?
77559 grep -v '^ *+' conftest.er1 >conftest.err
77560 rm -f conftest.er1
77561 cat conftest.err >&5
77562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77563 (exit $ac_status); } &&
77564 { ac_try='test -z "$ac_c_werror_flag"
77565 || test ! -s conftest.err'
77566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77567 (eval $ac_try) 2>&5
77568 ac_status=$?
77569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77570 (exit $ac_status); }; } &&
77571 { ac_try='test -s conftest$ac_exeext'
77572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77573 (eval $ac_try) 2>&5
77574 ac_status=$?
77575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77576 (exit $ac_status); }; }; then
77577 eval "$as_ac_var=yes"
77578 else
77579 echo "$as_me: failed program was:" >&5
77580 sed 's/^/| /' conftest.$ac_ext >&5
77582 eval "$as_ac_var=no"
77584 rm -f conftest.err conftest.$ac_objext \
77585 conftest$ac_exeext conftest.$ac_ext
77587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77589 if test `eval echo '${'$as_ac_var'}'` = yes; then
77590 cat >>confdefs.h <<_ACEOF
77591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77592 _ACEOF
77595 done
77597 else
77599 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77600 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77601 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77602 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77603 echo $ECHO_N "(cached) $ECHO_C" >&6
77604 else
77608 ac_ext=cc
77609 ac_cpp='$CXXCPP $CPPFLAGS'
77610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77614 cat >conftest.$ac_ext <<_ACEOF
77615 /* confdefs.h. */
77616 _ACEOF
77617 cat confdefs.h >>conftest.$ac_ext
77618 cat >>conftest.$ac_ext <<_ACEOF
77619 /* end confdefs.h. */
77620 #include <math.h>
77622 main ()
77624 _atan2l(0, 0);
77626 return 0;
77628 _ACEOF
77629 rm -f conftest.$ac_objext
77630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77631 (eval $ac_compile) 2>conftest.er1
77632 ac_status=$?
77633 grep -v '^ *+' conftest.er1 >conftest.err
77634 rm -f conftest.er1
77635 cat conftest.err >&5
77636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77637 (exit $ac_status); } &&
77638 { ac_try='test -z "$ac_cxx_werror_flag"
77639 || test ! -s conftest.err'
77640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77641 (eval $ac_try) 2>&5
77642 ac_status=$?
77643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77644 (exit $ac_status); }; } &&
77645 { ac_try='test -s conftest.$ac_objext'
77646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77647 (eval $ac_try) 2>&5
77648 ac_status=$?
77649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77650 (exit $ac_status); }; }; then
77651 glibcxx_cv_func__atan2l_use=yes
77652 else
77653 echo "$as_me: failed program was:" >&5
77654 sed 's/^/| /' conftest.$ac_ext >&5
77656 glibcxx_cv_func__atan2l_use=no
77658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77659 ac_ext=c
77660 ac_cpp='$CPP $CPPFLAGS'
77661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77670 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77672 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77674 for ac_func in _atan2l
77676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77677 echo "$as_me:$LINENO: checking for $ac_func" >&5
77678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77679 if eval "test \"\${$as_ac_var+set}\" = set"; then
77680 echo $ECHO_N "(cached) $ECHO_C" >&6
77681 else
77682 if test x$gcc_no_link = xyes; then
77683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77685 { (exit 1); exit 1; }; }
77687 cat >conftest.$ac_ext <<_ACEOF
77688 /* confdefs.h. */
77689 _ACEOF
77690 cat confdefs.h >>conftest.$ac_ext
77691 cat >>conftest.$ac_ext <<_ACEOF
77692 /* end confdefs.h. */
77693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77695 #define $ac_func innocuous_$ac_func
77697 /* System header to define __stub macros and hopefully few prototypes,
77698 which can conflict with char $ac_func (); below.
77699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77700 <limits.h> exists even on freestanding compilers. */
77702 #ifdef __STDC__
77703 # include <limits.h>
77704 #else
77705 # include <assert.h>
77706 #endif
77708 #undef $ac_func
77710 /* Override any gcc2 internal prototype to avoid an error. */
77711 #ifdef __cplusplus
77712 extern "C"
77714 #endif
77715 /* We use char because int might match the return type of a gcc2
77716 builtin and then its argument prototype would still apply. */
77717 char $ac_func ();
77718 /* The GNU C library defines this for functions which it implements
77719 to always fail with ENOSYS. Some functions are actually named
77720 something starting with __ and the normal name is an alias. */
77721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77722 choke me
77723 #else
77724 char (*f) () = $ac_func;
77725 #endif
77726 #ifdef __cplusplus
77728 #endif
77731 main ()
77733 return f != $ac_func;
77735 return 0;
77737 _ACEOF
77738 rm -f conftest.$ac_objext conftest$ac_exeext
77739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77740 (eval $ac_link) 2>conftest.er1
77741 ac_status=$?
77742 grep -v '^ *+' conftest.er1 >conftest.err
77743 rm -f conftest.er1
77744 cat conftest.err >&5
77745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77746 (exit $ac_status); } &&
77747 { ac_try='test -z "$ac_c_werror_flag"
77748 || test ! -s conftest.err'
77749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77750 (eval $ac_try) 2>&5
77751 ac_status=$?
77752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77753 (exit $ac_status); }; } &&
77754 { ac_try='test -s conftest$ac_exeext'
77755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77756 (eval $ac_try) 2>&5
77757 ac_status=$?
77758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77759 (exit $ac_status); }; }; then
77760 eval "$as_ac_var=yes"
77761 else
77762 echo "$as_me: failed program was:" >&5
77763 sed 's/^/| /' conftest.$ac_ext >&5
77765 eval "$as_ac_var=no"
77767 rm -f conftest.err conftest.$ac_objext \
77768 conftest$ac_exeext conftest.$ac_ext
77770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77772 if test `eval echo '${'$as_ac_var'}'` = yes; then
77773 cat >>confdefs.h <<_ACEOF
77774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77775 _ACEOF
77778 done
77788 echo "$as_me:$LINENO: checking for expl declaration" >&5
77789 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77790 if test x${glibcxx_cv_func_expl_use+set} != xset; then
77791 if test "${glibcxx_cv_func_expl_use+set}" = set; then
77792 echo $ECHO_N "(cached) $ECHO_C" >&6
77793 else
77797 ac_ext=cc
77798 ac_cpp='$CXXCPP $CPPFLAGS'
77799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77803 cat >conftest.$ac_ext <<_ACEOF
77804 /* confdefs.h. */
77805 _ACEOF
77806 cat confdefs.h >>conftest.$ac_ext
77807 cat >>conftest.$ac_ext <<_ACEOF
77808 /* end confdefs.h. */
77809 #include <math.h>
77810 #ifdef HAVE_IEEEFP_H
77811 #include <ieeefp.h>
77812 #endif
77815 main ()
77817 expl(0);
77819 return 0;
77821 _ACEOF
77822 rm -f conftest.$ac_objext
77823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77824 (eval $ac_compile) 2>conftest.er1
77825 ac_status=$?
77826 grep -v '^ *+' conftest.er1 >conftest.err
77827 rm -f conftest.er1
77828 cat conftest.err >&5
77829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77830 (exit $ac_status); } &&
77831 { ac_try='test -z "$ac_cxx_werror_flag"
77832 || test ! -s conftest.err'
77833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77834 (eval $ac_try) 2>&5
77835 ac_status=$?
77836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77837 (exit $ac_status); }; } &&
77838 { ac_try='test -s conftest.$ac_objext'
77839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77840 (eval $ac_try) 2>&5
77841 ac_status=$?
77842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77843 (exit $ac_status); }; }; then
77844 glibcxx_cv_func_expl_use=yes
77845 else
77846 echo "$as_me: failed program was:" >&5
77847 sed 's/^/| /' conftest.$ac_ext >&5
77849 glibcxx_cv_func_expl_use=no
77851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77852 ac_ext=c
77853 ac_cpp='$CPP $CPPFLAGS'
77854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77863 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77865 if test x$glibcxx_cv_func_expl_use = x"yes"; then
77867 for ac_func in expl
77869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77870 echo "$as_me:$LINENO: checking for $ac_func" >&5
77871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77872 if eval "test \"\${$as_ac_var+set}\" = set"; then
77873 echo $ECHO_N "(cached) $ECHO_C" >&6
77874 else
77875 if test x$gcc_no_link = xyes; then
77876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77878 { (exit 1); exit 1; }; }
77880 cat >conftest.$ac_ext <<_ACEOF
77881 /* confdefs.h. */
77882 _ACEOF
77883 cat confdefs.h >>conftest.$ac_ext
77884 cat >>conftest.$ac_ext <<_ACEOF
77885 /* end confdefs.h. */
77886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77888 #define $ac_func innocuous_$ac_func
77890 /* System header to define __stub macros and hopefully few prototypes,
77891 which can conflict with char $ac_func (); below.
77892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77893 <limits.h> exists even on freestanding compilers. */
77895 #ifdef __STDC__
77896 # include <limits.h>
77897 #else
77898 # include <assert.h>
77899 #endif
77901 #undef $ac_func
77903 /* Override any gcc2 internal prototype to avoid an error. */
77904 #ifdef __cplusplus
77905 extern "C"
77907 #endif
77908 /* We use char because int might match the return type of a gcc2
77909 builtin and then its argument prototype would still apply. */
77910 char $ac_func ();
77911 /* The GNU C library defines this for functions which it implements
77912 to always fail with ENOSYS. Some functions are actually named
77913 something starting with __ and the normal name is an alias. */
77914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77915 choke me
77916 #else
77917 char (*f) () = $ac_func;
77918 #endif
77919 #ifdef __cplusplus
77921 #endif
77924 main ()
77926 return f != $ac_func;
77928 return 0;
77930 _ACEOF
77931 rm -f conftest.$ac_objext conftest$ac_exeext
77932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77933 (eval $ac_link) 2>conftest.er1
77934 ac_status=$?
77935 grep -v '^ *+' conftest.er1 >conftest.err
77936 rm -f conftest.er1
77937 cat conftest.err >&5
77938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77939 (exit $ac_status); } &&
77940 { ac_try='test -z "$ac_c_werror_flag"
77941 || test ! -s conftest.err'
77942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77943 (eval $ac_try) 2>&5
77944 ac_status=$?
77945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77946 (exit $ac_status); }; } &&
77947 { ac_try='test -s conftest$ac_exeext'
77948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77949 (eval $ac_try) 2>&5
77950 ac_status=$?
77951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77952 (exit $ac_status); }; }; then
77953 eval "$as_ac_var=yes"
77954 else
77955 echo "$as_me: failed program was:" >&5
77956 sed 's/^/| /' conftest.$ac_ext >&5
77958 eval "$as_ac_var=no"
77960 rm -f conftest.err conftest.$ac_objext \
77961 conftest$ac_exeext conftest.$ac_ext
77963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77965 if test `eval echo '${'$as_ac_var'}'` = yes; then
77966 cat >>confdefs.h <<_ACEOF
77967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77968 _ACEOF
77971 done
77973 else
77975 echo "$as_me:$LINENO: checking for _expl declaration" >&5
77976 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77977 if test x${glibcxx_cv_func__expl_use+set} != xset; then
77978 if test "${glibcxx_cv_func__expl_use+set}" = set; then
77979 echo $ECHO_N "(cached) $ECHO_C" >&6
77980 else
77984 ac_ext=cc
77985 ac_cpp='$CXXCPP $CPPFLAGS'
77986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77990 cat >conftest.$ac_ext <<_ACEOF
77991 /* confdefs.h. */
77992 _ACEOF
77993 cat confdefs.h >>conftest.$ac_ext
77994 cat >>conftest.$ac_ext <<_ACEOF
77995 /* end confdefs.h. */
77996 #include <math.h>
77997 #ifdef HAVE_IEEEFP_H
77998 #include <ieeefp.h>
77999 #endif
78002 main ()
78004 _expl(0);
78006 return 0;
78008 _ACEOF
78009 rm -f conftest.$ac_objext
78010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78011 (eval $ac_compile) 2>conftest.er1
78012 ac_status=$?
78013 grep -v '^ *+' conftest.er1 >conftest.err
78014 rm -f conftest.er1
78015 cat conftest.err >&5
78016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78017 (exit $ac_status); } &&
78018 { ac_try='test -z "$ac_cxx_werror_flag"
78019 || test ! -s conftest.err'
78020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78021 (eval $ac_try) 2>&5
78022 ac_status=$?
78023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78024 (exit $ac_status); }; } &&
78025 { ac_try='test -s conftest.$ac_objext'
78026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78027 (eval $ac_try) 2>&5
78028 ac_status=$?
78029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78030 (exit $ac_status); }; }; then
78031 glibcxx_cv_func__expl_use=yes
78032 else
78033 echo "$as_me: failed program was:" >&5
78034 sed 's/^/| /' conftest.$ac_ext >&5
78036 glibcxx_cv_func__expl_use=no
78038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78039 ac_ext=c
78040 ac_cpp='$CPP $CPPFLAGS'
78041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
78050 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
78052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
78054 for ac_func in _expl
78056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78057 echo "$as_me:$LINENO: checking for $ac_func" >&5
78058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78059 if eval "test \"\${$as_ac_var+set}\" = set"; then
78060 echo $ECHO_N "(cached) $ECHO_C" >&6
78061 else
78062 if test x$gcc_no_link = xyes; then
78063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78065 { (exit 1); exit 1; }; }
78067 cat >conftest.$ac_ext <<_ACEOF
78068 /* confdefs.h. */
78069 _ACEOF
78070 cat confdefs.h >>conftest.$ac_ext
78071 cat >>conftest.$ac_ext <<_ACEOF
78072 /* end confdefs.h. */
78073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78075 #define $ac_func innocuous_$ac_func
78077 /* System header to define __stub macros and hopefully few prototypes,
78078 which can conflict with char $ac_func (); below.
78079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78080 <limits.h> exists even on freestanding compilers. */
78082 #ifdef __STDC__
78083 # include <limits.h>
78084 #else
78085 # include <assert.h>
78086 #endif
78088 #undef $ac_func
78090 /* Override any gcc2 internal prototype to avoid an error. */
78091 #ifdef __cplusplus
78092 extern "C"
78094 #endif
78095 /* We use char because int might match the return type of a gcc2
78096 builtin and then its argument prototype would still apply. */
78097 char $ac_func ();
78098 /* The GNU C library defines this for functions which it implements
78099 to always fail with ENOSYS. Some functions are actually named
78100 something starting with __ and the normal name is an alias. */
78101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78102 choke me
78103 #else
78104 char (*f) () = $ac_func;
78105 #endif
78106 #ifdef __cplusplus
78108 #endif
78111 main ()
78113 return f != $ac_func;
78115 return 0;
78117 _ACEOF
78118 rm -f conftest.$ac_objext conftest$ac_exeext
78119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78120 (eval $ac_link) 2>conftest.er1
78121 ac_status=$?
78122 grep -v '^ *+' conftest.er1 >conftest.err
78123 rm -f conftest.er1
78124 cat conftest.err >&5
78125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78126 (exit $ac_status); } &&
78127 { ac_try='test -z "$ac_c_werror_flag"
78128 || test ! -s conftest.err'
78129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78130 (eval $ac_try) 2>&5
78131 ac_status=$?
78132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78133 (exit $ac_status); }; } &&
78134 { ac_try='test -s conftest$ac_exeext'
78135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78136 (eval $ac_try) 2>&5
78137 ac_status=$?
78138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78139 (exit $ac_status); }; }; then
78140 eval "$as_ac_var=yes"
78141 else
78142 echo "$as_me: failed program was:" >&5
78143 sed 's/^/| /' conftest.$ac_ext >&5
78145 eval "$as_ac_var=no"
78147 rm -f conftest.err conftest.$ac_objext \
78148 conftest$ac_exeext conftest.$ac_ext
78150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78152 if test `eval echo '${'$as_ac_var'}'` = yes; then
78153 cat >>confdefs.h <<_ACEOF
78154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78155 _ACEOF
78158 done
78168 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
78169 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
78170 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
78171 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
78172 echo $ECHO_N "(cached) $ECHO_C" >&6
78173 else
78177 ac_ext=cc
78178 ac_cpp='$CXXCPP $CPPFLAGS'
78179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78183 cat >conftest.$ac_ext <<_ACEOF
78184 /* confdefs.h. */
78185 _ACEOF
78186 cat confdefs.h >>conftest.$ac_ext
78187 cat >>conftest.$ac_ext <<_ACEOF
78188 /* end confdefs.h. */
78189 #include <math.h>
78190 #ifdef HAVE_IEEEFP_H
78191 #include <ieeefp.h>
78192 #endif
78195 main ()
78197 fabsl(0);
78199 return 0;
78201 _ACEOF
78202 rm -f conftest.$ac_objext
78203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78204 (eval $ac_compile) 2>conftest.er1
78205 ac_status=$?
78206 grep -v '^ *+' conftest.er1 >conftest.err
78207 rm -f conftest.er1
78208 cat conftest.err >&5
78209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78210 (exit $ac_status); } &&
78211 { ac_try='test -z "$ac_cxx_werror_flag"
78212 || test ! -s conftest.err'
78213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78214 (eval $ac_try) 2>&5
78215 ac_status=$?
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); }; } &&
78218 { ac_try='test -s conftest.$ac_objext'
78219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78220 (eval $ac_try) 2>&5
78221 ac_status=$?
78222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78223 (exit $ac_status); }; }; then
78224 glibcxx_cv_func_fabsl_use=yes
78225 else
78226 echo "$as_me: failed program was:" >&5
78227 sed 's/^/| /' conftest.$ac_ext >&5
78229 glibcxx_cv_func_fabsl_use=no
78231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78232 ac_ext=c
78233 ac_cpp='$CPP $CPPFLAGS'
78234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78243 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78245 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78247 for ac_func in fabsl
78249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78250 echo "$as_me:$LINENO: checking for $ac_func" >&5
78251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78252 if eval "test \"\${$as_ac_var+set}\" = set"; then
78253 echo $ECHO_N "(cached) $ECHO_C" >&6
78254 else
78255 if test x$gcc_no_link = xyes; then
78256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78258 { (exit 1); exit 1; }; }
78260 cat >conftest.$ac_ext <<_ACEOF
78261 /* confdefs.h. */
78262 _ACEOF
78263 cat confdefs.h >>conftest.$ac_ext
78264 cat >>conftest.$ac_ext <<_ACEOF
78265 /* end confdefs.h. */
78266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78268 #define $ac_func innocuous_$ac_func
78270 /* System header to define __stub macros and hopefully few prototypes,
78271 which can conflict with char $ac_func (); below.
78272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78273 <limits.h> exists even on freestanding compilers. */
78275 #ifdef __STDC__
78276 # include <limits.h>
78277 #else
78278 # include <assert.h>
78279 #endif
78281 #undef $ac_func
78283 /* Override any gcc2 internal prototype to avoid an error. */
78284 #ifdef __cplusplus
78285 extern "C"
78287 #endif
78288 /* We use char because int might match the return type of a gcc2
78289 builtin and then its argument prototype would still apply. */
78290 char $ac_func ();
78291 /* The GNU C library defines this for functions which it implements
78292 to always fail with ENOSYS. Some functions are actually named
78293 something starting with __ and the normal name is an alias. */
78294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78295 choke me
78296 #else
78297 char (*f) () = $ac_func;
78298 #endif
78299 #ifdef __cplusplus
78301 #endif
78304 main ()
78306 return f != $ac_func;
78308 return 0;
78310 _ACEOF
78311 rm -f conftest.$ac_objext conftest$ac_exeext
78312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78313 (eval $ac_link) 2>conftest.er1
78314 ac_status=$?
78315 grep -v '^ *+' conftest.er1 >conftest.err
78316 rm -f conftest.er1
78317 cat conftest.err >&5
78318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78319 (exit $ac_status); } &&
78320 { ac_try='test -z "$ac_c_werror_flag"
78321 || test ! -s conftest.err'
78322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78323 (eval $ac_try) 2>&5
78324 ac_status=$?
78325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78326 (exit $ac_status); }; } &&
78327 { ac_try='test -s conftest$ac_exeext'
78328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78329 (eval $ac_try) 2>&5
78330 ac_status=$?
78331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78332 (exit $ac_status); }; }; then
78333 eval "$as_ac_var=yes"
78334 else
78335 echo "$as_me: failed program was:" >&5
78336 sed 's/^/| /' conftest.$ac_ext >&5
78338 eval "$as_ac_var=no"
78340 rm -f conftest.err conftest.$ac_objext \
78341 conftest$ac_exeext conftest.$ac_ext
78343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78345 if test `eval echo '${'$as_ac_var'}'` = yes; then
78346 cat >>confdefs.h <<_ACEOF
78347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78348 _ACEOF
78351 done
78353 else
78355 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
78356 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
78357 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
78358 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
78359 echo $ECHO_N "(cached) $ECHO_C" >&6
78360 else
78364 ac_ext=cc
78365 ac_cpp='$CXXCPP $CPPFLAGS'
78366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78370 cat >conftest.$ac_ext <<_ACEOF
78371 /* confdefs.h. */
78372 _ACEOF
78373 cat confdefs.h >>conftest.$ac_ext
78374 cat >>conftest.$ac_ext <<_ACEOF
78375 /* end confdefs.h. */
78376 #include <math.h>
78377 #ifdef HAVE_IEEEFP_H
78378 #include <ieeefp.h>
78379 #endif
78382 main ()
78384 _fabsl(0);
78386 return 0;
78388 _ACEOF
78389 rm -f conftest.$ac_objext
78390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78391 (eval $ac_compile) 2>conftest.er1
78392 ac_status=$?
78393 grep -v '^ *+' conftest.er1 >conftest.err
78394 rm -f conftest.er1
78395 cat conftest.err >&5
78396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78397 (exit $ac_status); } &&
78398 { ac_try='test -z "$ac_cxx_werror_flag"
78399 || test ! -s conftest.err'
78400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78401 (eval $ac_try) 2>&5
78402 ac_status=$?
78403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78404 (exit $ac_status); }; } &&
78405 { ac_try='test -s conftest.$ac_objext'
78406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78407 (eval $ac_try) 2>&5
78408 ac_status=$?
78409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78410 (exit $ac_status); }; }; then
78411 glibcxx_cv_func__fabsl_use=yes
78412 else
78413 echo "$as_me: failed program was:" >&5
78414 sed 's/^/| /' conftest.$ac_ext >&5
78416 glibcxx_cv_func__fabsl_use=no
78418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78419 ac_ext=c
78420 ac_cpp='$CPP $CPPFLAGS'
78421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
78430 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
78432 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
78434 for ac_func in _fabsl
78436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78437 echo "$as_me:$LINENO: checking for $ac_func" >&5
78438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78439 if eval "test \"\${$as_ac_var+set}\" = set"; then
78440 echo $ECHO_N "(cached) $ECHO_C" >&6
78441 else
78442 if test x$gcc_no_link = xyes; then
78443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78445 { (exit 1); exit 1; }; }
78447 cat >conftest.$ac_ext <<_ACEOF
78448 /* confdefs.h. */
78449 _ACEOF
78450 cat confdefs.h >>conftest.$ac_ext
78451 cat >>conftest.$ac_ext <<_ACEOF
78452 /* end confdefs.h. */
78453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78455 #define $ac_func innocuous_$ac_func
78457 /* System header to define __stub macros and hopefully few prototypes,
78458 which can conflict with char $ac_func (); below.
78459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78460 <limits.h> exists even on freestanding compilers. */
78462 #ifdef __STDC__
78463 # include <limits.h>
78464 #else
78465 # include <assert.h>
78466 #endif
78468 #undef $ac_func
78470 /* Override any gcc2 internal prototype to avoid an error. */
78471 #ifdef __cplusplus
78472 extern "C"
78474 #endif
78475 /* We use char because int might match the return type of a gcc2
78476 builtin and then its argument prototype would still apply. */
78477 char $ac_func ();
78478 /* The GNU C library defines this for functions which it implements
78479 to always fail with ENOSYS. Some functions are actually named
78480 something starting with __ and the normal name is an alias. */
78481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78482 choke me
78483 #else
78484 char (*f) () = $ac_func;
78485 #endif
78486 #ifdef __cplusplus
78488 #endif
78491 main ()
78493 return f != $ac_func;
78495 return 0;
78497 _ACEOF
78498 rm -f conftest.$ac_objext conftest$ac_exeext
78499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78500 (eval $ac_link) 2>conftest.er1
78501 ac_status=$?
78502 grep -v '^ *+' conftest.er1 >conftest.err
78503 rm -f conftest.er1
78504 cat conftest.err >&5
78505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78506 (exit $ac_status); } &&
78507 { ac_try='test -z "$ac_c_werror_flag"
78508 || test ! -s conftest.err'
78509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78510 (eval $ac_try) 2>&5
78511 ac_status=$?
78512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78513 (exit $ac_status); }; } &&
78514 { ac_try='test -s conftest$ac_exeext'
78515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78516 (eval $ac_try) 2>&5
78517 ac_status=$?
78518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78519 (exit $ac_status); }; }; then
78520 eval "$as_ac_var=yes"
78521 else
78522 echo "$as_me: failed program was:" >&5
78523 sed 's/^/| /' conftest.$ac_ext >&5
78525 eval "$as_ac_var=no"
78527 rm -f conftest.err conftest.$ac_objext \
78528 conftest$ac_exeext conftest.$ac_ext
78530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78532 if test `eval echo '${'$as_ac_var'}'` = yes; then
78533 cat >>confdefs.h <<_ACEOF
78534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78535 _ACEOF
78538 done
78548 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78549 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78550 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78551 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78552 echo $ECHO_N "(cached) $ECHO_C" >&6
78553 else
78557 ac_ext=cc
78558 ac_cpp='$CXXCPP $CPPFLAGS'
78559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78563 cat >conftest.$ac_ext <<_ACEOF
78564 /* confdefs.h. */
78565 _ACEOF
78566 cat confdefs.h >>conftest.$ac_ext
78567 cat >>conftest.$ac_ext <<_ACEOF
78568 /* end confdefs.h. */
78569 #include <math.h>
78571 main ()
78573 fmodl(0, 0);
78575 return 0;
78577 _ACEOF
78578 rm -f conftest.$ac_objext
78579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78580 (eval $ac_compile) 2>conftest.er1
78581 ac_status=$?
78582 grep -v '^ *+' conftest.er1 >conftest.err
78583 rm -f conftest.er1
78584 cat conftest.err >&5
78585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78586 (exit $ac_status); } &&
78587 { ac_try='test -z "$ac_cxx_werror_flag"
78588 || test ! -s conftest.err'
78589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78590 (eval $ac_try) 2>&5
78591 ac_status=$?
78592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78593 (exit $ac_status); }; } &&
78594 { ac_try='test -s conftest.$ac_objext'
78595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78596 (eval $ac_try) 2>&5
78597 ac_status=$?
78598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78599 (exit $ac_status); }; }; then
78600 glibcxx_cv_func_fmodl_use=yes
78601 else
78602 echo "$as_me: failed program was:" >&5
78603 sed 's/^/| /' conftest.$ac_ext >&5
78605 glibcxx_cv_func_fmodl_use=no
78607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78608 ac_ext=c
78609 ac_cpp='$CPP $CPPFLAGS'
78610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78619 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78621 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78623 for ac_func in fmodl
78625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78626 echo "$as_me:$LINENO: checking for $ac_func" >&5
78627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78628 if eval "test \"\${$as_ac_var+set}\" = set"; then
78629 echo $ECHO_N "(cached) $ECHO_C" >&6
78630 else
78631 if test x$gcc_no_link = xyes; then
78632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78634 { (exit 1); exit 1; }; }
78636 cat >conftest.$ac_ext <<_ACEOF
78637 /* confdefs.h. */
78638 _ACEOF
78639 cat confdefs.h >>conftest.$ac_ext
78640 cat >>conftest.$ac_ext <<_ACEOF
78641 /* end confdefs.h. */
78642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78644 #define $ac_func innocuous_$ac_func
78646 /* System header to define __stub macros and hopefully few prototypes,
78647 which can conflict with char $ac_func (); below.
78648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78649 <limits.h> exists even on freestanding compilers. */
78651 #ifdef __STDC__
78652 # include <limits.h>
78653 #else
78654 # include <assert.h>
78655 #endif
78657 #undef $ac_func
78659 /* Override any gcc2 internal prototype to avoid an error. */
78660 #ifdef __cplusplus
78661 extern "C"
78663 #endif
78664 /* We use char because int might match the return type of a gcc2
78665 builtin and then its argument prototype would still apply. */
78666 char $ac_func ();
78667 /* The GNU C library defines this for functions which it implements
78668 to always fail with ENOSYS. Some functions are actually named
78669 something starting with __ and the normal name is an alias. */
78670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78671 choke me
78672 #else
78673 char (*f) () = $ac_func;
78674 #endif
78675 #ifdef __cplusplus
78677 #endif
78680 main ()
78682 return f != $ac_func;
78684 return 0;
78686 _ACEOF
78687 rm -f conftest.$ac_objext conftest$ac_exeext
78688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78689 (eval $ac_link) 2>conftest.er1
78690 ac_status=$?
78691 grep -v '^ *+' conftest.er1 >conftest.err
78692 rm -f conftest.er1
78693 cat conftest.err >&5
78694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78695 (exit $ac_status); } &&
78696 { ac_try='test -z "$ac_c_werror_flag"
78697 || test ! -s conftest.err'
78698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78699 (eval $ac_try) 2>&5
78700 ac_status=$?
78701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78702 (exit $ac_status); }; } &&
78703 { ac_try='test -s conftest$ac_exeext'
78704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78705 (eval $ac_try) 2>&5
78706 ac_status=$?
78707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78708 (exit $ac_status); }; }; then
78709 eval "$as_ac_var=yes"
78710 else
78711 echo "$as_me: failed program was:" >&5
78712 sed 's/^/| /' conftest.$ac_ext >&5
78714 eval "$as_ac_var=no"
78716 rm -f conftest.err conftest.$ac_objext \
78717 conftest$ac_exeext conftest.$ac_ext
78719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78721 if test `eval echo '${'$as_ac_var'}'` = yes; then
78722 cat >>confdefs.h <<_ACEOF
78723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78724 _ACEOF
78727 done
78729 else
78731 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78732 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78733 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78734 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78735 echo $ECHO_N "(cached) $ECHO_C" >&6
78736 else
78740 ac_ext=cc
78741 ac_cpp='$CXXCPP $CPPFLAGS'
78742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78746 cat >conftest.$ac_ext <<_ACEOF
78747 /* confdefs.h. */
78748 _ACEOF
78749 cat confdefs.h >>conftest.$ac_ext
78750 cat >>conftest.$ac_ext <<_ACEOF
78751 /* end confdefs.h. */
78752 #include <math.h>
78754 main ()
78756 _fmodl(0, 0);
78758 return 0;
78760 _ACEOF
78761 rm -f conftest.$ac_objext
78762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78763 (eval $ac_compile) 2>conftest.er1
78764 ac_status=$?
78765 grep -v '^ *+' conftest.er1 >conftest.err
78766 rm -f conftest.er1
78767 cat conftest.err >&5
78768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78769 (exit $ac_status); } &&
78770 { ac_try='test -z "$ac_cxx_werror_flag"
78771 || test ! -s conftest.err'
78772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78773 (eval $ac_try) 2>&5
78774 ac_status=$?
78775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78776 (exit $ac_status); }; } &&
78777 { ac_try='test -s conftest.$ac_objext'
78778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78779 (eval $ac_try) 2>&5
78780 ac_status=$?
78781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78782 (exit $ac_status); }; }; then
78783 glibcxx_cv_func__fmodl_use=yes
78784 else
78785 echo "$as_me: failed program was:" >&5
78786 sed 's/^/| /' conftest.$ac_ext >&5
78788 glibcxx_cv_func__fmodl_use=no
78790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78791 ac_ext=c
78792 ac_cpp='$CPP $CPPFLAGS'
78793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78802 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78804 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78806 for ac_func in _fmodl
78808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78809 echo "$as_me:$LINENO: checking for $ac_func" >&5
78810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78811 if eval "test \"\${$as_ac_var+set}\" = set"; then
78812 echo $ECHO_N "(cached) $ECHO_C" >&6
78813 else
78814 if test x$gcc_no_link = xyes; then
78815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78817 { (exit 1); exit 1; }; }
78819 cat >conftest.$ac_ext <<_ACEOF
78820 /* confdefs.h. */
78821 _ACEOF
78822 cat confdefs.h >>conftest.$ac_ext
78823 cat >>conftest.$ac_ext <<_ACEOF
78824 /* end confdefs.h. */
78825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78827 #define $ac_func innocuous_$ac_func
78829 /* System header to define __stub macros and hopefully few prototypes,
78830 which can conflict with char $ac_func (); below.
78831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78832 <limits.h> exists even on freestanding compilers. */
78834 #ifdef __STDC__
78835 # include <limits.h>
78836 #else
78837 # include <assert.h>
78838 #endif
78840 #undef $ac_func
78842 /* Override any gcc2 internal prototype to avoid an error. */
78843 #ifdef __cplusplus
78844 extern "C"
78846 #endif
78847 /* We use char because int might match the return type of a gcc2
78848 builtin and then its argument prototype would still apply. */
78849 char $ac_func ();
78850 /* The GNU C library defines this for functions which it implements
78851 to always fail with ENOSYS. Some functions are actually named
78852 something starting with __ and the normal name is an alias. */
78853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78854 choke me
78855 #else
78856 char (*f) () = $ac_func;
78857 #endif
78858 #ifdef __cplusplus
78860 #endif
78863 main ()
78865 return f != $ac_func;
78867 return 0;
78869 _ACEOF
78870 rm -f conftest.$ac_objext conftest$ac_exeext
78871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78872 (eval $ac_link) 2>conftest.er1
78873 ac_status=$?
78874 grep -v '^ *+' conftest.er1 >conftest.err
78875 rm -f conftest.er1
78876 cat conftest.err >&5
78877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78878 (exit $ac_status); } &&
78879 { ac_try='test -z "$ac_c_werror_flag"
78880 || test ! -s conftest.err'
78881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78882 (eval $ac_try) 2>&5
78883 ac_status=$?
78884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78885 (exit $ac_status); }; } &&
78886 { ac_try='test -s conftest$ac_exeext'
78887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78888 (eval $ac_try) 2>&5
78889 ac_status=$?
78890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78891 (exit $ac_status); }; }; then
78892 eval "$as_ac_var=yes"
78893 else
78894 echo "$as_me: failed program was:" >&5
78895 sed 's/^/| /' conftest.$ac_ext >&5
78897 eval "$as_ac_var=no"
78899 rm -f conftest.err conftest.$ac_objext \
78900 conftest$ac_exeext conftest.$ac_ext
78902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78904 if test `eval echo '${'$as_ac_var'}'` = yes; then
78905 cat >>confdefs.h <<_ACEOF
78906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78907 _ACEOF
78910 done
78920 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78921 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78922 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78923 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78924 echo $ECHO_N "(cached) $ECHO_C" >&6
78925 else
78929 ac_ext=cc
78930 ac_cpp='$CXXCPP $CPPFLAGS'
78931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78935 cat >conftest.$ac_ext <<_ACEOF
78936 /* confdefs.h. */
78937 _ACEOF
78938 cat confdefs.h >>conftest.$ac_ext
78939 cat >>conftest.$ac_ext <<_ACEOF
78940 /* end confdefs.h. */
78941 #include <math.h>
78943 main ()
78945 frexpl(0, 0);
78947 return 0;
78949 _ACEOF
78950 rm -f conftest.$ac_objext
78951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78952 (eval $ac_compile) 2>conftest.er1
78953 ac_status=$?
78954 grep -v '^ *+' conftest.er1 >conftest.err
78955 rm -f conftest.er1
78956 cat conftest.err >&5
78957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78958 (exit $ac_status); } &&
78959 { ac_try='test -z "$ac_cxx_werror_flag"
78960 || test ! -s conftest.err'
78961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78962 (eval $ac_try) 2>&5
78963 ac_status=$?
78964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78965 (exit $ac_status); }; } &&
78966 { ac_try='test -s conftest.$ac_objext'
78967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78968 (eval $ac_try) 2>&5
78969 ac_status=$?
78970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78971 (exit $ac_status); }; }; then
78972 glibcxx_cv_func_frexpl_use=yes
78973 else
78974 echo "$as_me: failed program was:" >&5
78975 sed 's/^/| /' conftest.$ac_ext >&5
78977 glibcxx_cv_func_frexpl_use=no
78979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78980 ac_ext=c
78981 ac_cpp='$CPP $CPPFLAGS'
78982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78991 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78993 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78995 for ac_func in frexpl
78997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78998 echo "$as_me:$LINENO: checking for $ac_func" >&5
78999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79000 if eval "test \"\${$as_ac_var+set}\" = set"; then
79001 echo $ECHO_N "(cached) $ECHO_C" >&6
79002 else
79003 if test x$gcc_no_link = xyes; then
79004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79006 { (exit 1); exit 1; }; }
79008 cat >conftest.$ac_ext <<_ACEOF
79009 /* confdefs.h. */
79010 _ACEOF
79011 cat confdefs.h >>conftest.$ac_ext
79012 cat >>conftest.$ac_ext <<_ACEOF
79013 /* end confdefs.h. */
79014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79016 #define $ac_func innocuous_$ac_func
79018 /* System header to define __stub macros and hopefully few prototypes,
79019 which can conflict with char $ac_func (); below.
79020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79021 <limits.h> exists even on freestanding compilers. */
79023 #ifdef __STDC__
79024 # include <limits.h>
79025 #else
79026 # include <assert.h>
79027 #endif
79029 #undef $ac_func
79031 /* Override any gcc2 internal prototype to avoid an error. */
79032 #ifdef __cplusplus
79033 extern "C"
79035 #endif
79036 /* We use char because int might match the return type of a gcc2
79037 builtin and then its argument prototype would still apply. */
79038 char $ac_func ();
79039 /* The GNU C library defines this for functions which it implements
79040 to always fail with ENOSYS. Some functions are actually named
79041 something starting with __ and the normal name is an alias. */
79042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79043 choke me
79044 #else
79045 char (*f) () = $ac_func;
79046 #endif
79047 #ifdef __cplusplus
79049 #endif
79052 main ()
79054 return f != $ac_func;
79056 return 0;
79058 _ACEOF
79059 rm -f conftest.$ac_objext conftest$ac_exeext
79060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79061 (eval $ac_link) 2>conftest.er1
79062 ac_status=$?
79063 grep -v '^ *+' conftest.er1 >conftest.err
79064 rm -f conftest.er1
79065 cat conftest.err >&5
79066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79067 (exit $ac_status); } &&
79068 { ac_try='test -z "$ac_c_werror_flag"
79069 || test ! -s conftest.err'
79070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79071 (eval $ac_try) 2>&5
79072 ac_status=$?
79073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79074 (exit $ac_status); }; } &&
79075 { ac_try='test -s conftest$ac_exeext'
79076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79077 (eval $ac_try) 2>&5
79078 ac_status=$?
79079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79080 (exit $ac_status); }; }; then
79081 eval "$as_ac_var=yes"
79082 else
79083 echo "$as_me: failed program was:" >&5
79084 sed 's/^/| /' conftest.$ac_ext >&5
79086 eval "$as_ac_var=no"
79088 rm -f conftest.err conftest.$ac_objext \
79089 conftest$ac_exeext conftest.$ac_ext
79091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79093 if test `eval echo '${'$as_ac_var'}'` = yes; then
79094 cat >>confdefs.h <<_ACEOF
79095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79096 _ACEOF
79099 done
79101 else
79103 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
79104 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
79105 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
79106 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
79107 echo $ECHO_N "(cached) $ECHO_C" >&6
79108 else
79112 ac_ext=cc
79113 ac_cpp='$CXXCPP $CPPFLAGS'
79114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79118 cat >conftest.$ac_ext <<_ACEOF
79119 /* confdefs.h. */
79120 _ACEOF
79121 cat confdefs.h >>conftest.$ac_ext
79122 cat >>conftest.$ac_ext <<_ACEOF
79123 /* end confdefs.h. */
79124 #include <math.h>
79126 main ()
79128 _frexpl(0, 0);
79130 return 0;
79132 _ACEOF
79133 rm -f conftest.$ac_objext
79134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79135 (eval $ac_compile) 2>conftest.er1
79136 ac_status=$?
79137 grep -v '^ *+' conftest.er1 >conftest.err
79138 rm -f conftest.er1
79139 cat conftest.err >&5
79140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141 (exit $ac_status); } &&
79142 { ac_try='test -z "$ac_cxx_werror_flag"
79143 || test ! -s conftest.err'
79144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145 (eval $ac_try) 2>&5
79146 ac_status=$?
79147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148 (exit $ac_status); }; } &&
79149 { ac_try='test -s conftest.$ac_objext'
79150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79151 (eval $ac_try) 2>&5
79152 ac_status=$?
79153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79154 (exit $ac_status); }; }; then
79155 glibcxx_cv_func__frexpl_use=yes
79156 else
79157 echo "$as_me: failed program was:" >&5
79158 sed 's/^/| /' conftest.$ac_ext >&5
79160 glibcxx_cv_func__frexpl_use=no
79162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79163 ac_ext=c
79164 ac_cpp='$CPP $CPPFLAGS'
79165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
79174 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
79176 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
79178 for ac_func in _frexpl
79180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79181 echo "$as_me:$LINENO: checking for $ac_func" >&5
79182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79183 if eval "test \"\${$as_ac_var+set}\" = set"; then
79184 echo $ECHO_N "(cached) $ECHO_C" >&6
79185 else
79186 if test x$gcc_no_link = xyes; then
79187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79189 { (exit 1); exit 1; }; }
79191 cat >conftest.$ac_ext <<_ACEOF
79192 /* confdefs.h. */
79193 _ACEOF
79194 cat confdefs.h >>conftest.$ac_ext
79195 cat >>conftest.$ac_ext <<_ACEOF
79196 /* end confdefs.h. */
79197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79199 #define $ac_func innocuous_$ac_func
79201 /* System header to define __stub macros and hopefully few prototypes,
79202 which can conflict with char $ac_func (); below.
79203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79204 <limits.h> exists even on freestanding compilers. */
79206 #ifdef __STDC__
79207 # include <limits.h>
79208 #else
79209 # include <assert.h>
79210 #endif
79212 #undef $ac_func
79214 /* Override any gcc2 internal prototype to avoid an error. */
79215 #ifdef __cplusplus
79216 extern "C"
79218 #endif
79219 /* We use char because int might match the return type of a gcc2
79220 builtin and then its argument prototype would still apply. */
79221 char $ac_func ();
79222 /* The GNU C library defines this for functions which it implements
79223 to always fail with ENOSYS. Some functions are actually named
79224 something starting with __ and the normal name is an alias. */
79225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79226 choke me
79227 #else
79228 char (*f) () = $ac_func;
79229 #endif
79230 #ifdef __cplusplus
79232 #endif
79235 main ()
79237 return f != $ac_func;
79239 return 0;
79241 _ACEOF
79242 rm -f conftest.$ac_objext conftest$ac_exeext
79243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79244 (eval $ac_link) 2>conftest.er1
79245 ac_status=$?
79246 grep -v '^ *+' conftest.er1 >conftest.err
79247 rm -f conftest.er1
79248 cat conftest.err >&5
79249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79250 (exit $ac_status); } &&
79251 { ac_try='test -z "$ac_c_werror_flag"
79252 || test ! -s conftest.err'
79253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79254 (eval $ac_try) 2>&5
79255 ac_status=$?
79256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79257 (exit $ac_status); }; } &&
79258 { ac_try='test -s conftest$ac_exeext'
79259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79260 (eval $ac_try) 2>&5
79261 ac_status=$?
79262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79263 (exit $ac_status); }; }; then
79264 eval "$as_ac_var=yes"
79265 else
79266 echo "$as_me: failed program was:" >&5
79267 sed 's/^/| /' conftest.$ac_ext >&5
79269 eval "$as_ac_var=no"
79271 rm -f conftest.err conftest.$ac_objext \
79272 conftest$ac_exeext conftest.$ac_ext
79274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79276 if test `eval echo '${'$as_ac_var'}'` = yes; then
79277 cat >>confdefs.h <<_ACEOF
79278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79279 _ACEOF
79282 done
79292 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79293 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79294 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79295 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79296 echo $ECHO_N "(cached) $ECHO_C" >&6
79297 else
79301 ac_ext=cc
79302 ac_cpp='$CXXCPP $CPPFLAGS'
79303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79307 cat >conftest.$ac_ext <<_ACEOF
79308 /* confdefs.h. */
79309 _ACEOF
79310 cat confdefs.h >>conftest.$ac_ext
79311 cat >>conftest.$ac_ext <<_ACEOF
79312 /* end confdefs.h. */
79313 #include <math.h>
79315 main ()
79317 hypotl(0, 0);
79319 return 0;
79321 _ACEOF
79322 rm -f conftest.$ac_objext
79323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79324 (eval $ac_compile) 2>conftest.er1
79325 ac_status=$?
79326 grep -v '^ *+' conftest.er1 >conftest.err
79327 rm -f conftest.er1
79328 cat conftest.err >&5
79329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79330 (exit $ac_status); } &&
79331 { ac_try='test -z "$ac_cxx_werror_flag"
79332 || test ! -s conftest.err'
79333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79334 (eval $ac_try) 2>&5
79335 ac_status=$?
79336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79337 (exit $ac_status); }; } &&
79338 { ac_try='test -s conftest.$ac_objext'
79339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79340 (eval $ac_try) 2>&5
79341 ac_status=$?
79342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79343 (exit $ac_status); }; }; then
79344 glibcxx_cv_func_hypotl_use=yes
79345 else
79346 echo "$as_me: failed program was:" >&5
79347 sed 's/^/| /' conftest.$ac_ext >&5
79349 glibcxx_cv_func_hypotl_use=no
79351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79352 ac_ext=c
79353 ac_cpp='$CPP $CPPFLAGS'
79354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
79363 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
79365 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
79367 for ac_func in hypotl
79369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79370 echo "$as_me:$LINENO: checking for $ac_func" >&5
79371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79372 if eval "test \"\${$as_ac_var+set}\" = set"; then
79373 echo $ECHO_N "(cached) $ECHO_C" >&6
79374 else
79375 if test x$gcc_no_link = xyes; then
79376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79378 { (exit 1); exit 1; }; }
79380 cat >conftest.$ac_ext <<_ACEOF
79381 /* confdefs.h. */
79382 _ACEOF
79383 cat confdefs.h >>conftest.$ac_ext
79384 cat >>conftest.$ac_ext <<_ACEOF
79385 /* end confdefs.h. */
79386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79388 #define $ac_func innocuous_$ac_func
79390 /* System header to define __stub macros and hopefully few prototypes,
79391 which can conflict with char $ac_func (); below.
79392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79393 <limits.h> exists even on freestanding compilers. */
79395 #ifdef __STDC__
79396 # include <limits.h>
79397 #else
79398 # include <assert.h>
79399 #endif
79401 #undef $ac_func
79403 /* Override any gcc2 internal prototype to avoid an error. */
79404 #ifdef __cplusplus
79405 extern "C"
79407 #endif
79408 /* We use char because int might match the return type of a gcc2
79409 builtin and then its argument prototype would still apply. */
79410 char $ac_func ();
79411 /* The GNU C library defines this for functions which it implements
79412 to always fail with ENOSYS. Some functions are actually named
79413 something starting with __ and the normal name is an alias. */
79414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79415 choke me
79416 #else
79417 char (*f) () = $ac_func;
79418 #endif
79419 #ifdef __cplusplus
79421 #endif
79424 main ()
79426 return f != $ac_func;
79428 return 0;
79430 _ACEOF
79431 rm -f conftest.$ac_objext conftest$ac_exeext
79432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79433 (eval $ac_link) 2>conftest.er1
79434 ac_status=$?
79435 grep -v '^ *+' conftest.er1 >conftest.err
79436 rm -f conftest.er1
79437 cat conftest.err >&5
79438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79439 (exit $ac_status); } &&
79440 { ac_try='test -z "$ac_c_werror_flag"
79441 || test ! -s conftest.err'
79442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79443 (eval $ac_try) 2>&5
79444 ac_status=$?
79445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79446 (exit $ac_status); }; } &&
79447 { ac_try='test -s conftest$ac_exeext'
79448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79449 (eval $ac_try) 2>&5
79450 ac_status=$?
79451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79452 (exit $ac_status); }; }; then
79453 eval "$as_ac_var=yes"
79454 else
79455 echo "$as_me: failed program was:" >&5
79456 sed 's/^/| /' conftest.$ac_ext >&5
79458 eval "$as_ac_var=no"
79460 rm -f conftest.err conftest.$ac_objext \
79461 conftest$ac_exeext conftest.$ac_ext
79463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79465 if test `eval echo '${'$as_ac_var'}'` = yes; then
79466 cat >>confdefs.h <<_ACEOF
79467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79468 _ACEOF
79471 done
79473 else
79475 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
79476 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
79477 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
79478 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
79479 echo $ECHO_N "(cached) $ECHO_C" >&6
79480 else
79484 ac_ext=cc
79485 ac_cpp='$CXXCPP $CPPFLAGS'
79486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79490 cat >conftest.$ac_ext <<_ACEOF
79491 /* confdefs.h. */
79492 _ACEOF
79493 cat confdefs.h >>conftest.$ac_ext
79494 cat >>conftest.$ac_ext <<_ACEOF
79495 /* end confdefs.h. */
79496 #include <math.h>
79498 main ()
79500 _hypotl(0, 0);
79502 return 0;
79504 _ACEOF
79505 rm -f conftest.$ac_objext
79506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79507 (eval $ac_compile) 2>conftest.er1
79508 ac_status=$?
79509 grep -v '^ *+' conftest.er1 >conftest.err
79510 rm -f conftest.er1
79511 cat conftest.err >&5
79512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79513 (exit $ac_status); } &&
79514 { ac_try='test -z "$ac_cxx_werror_flag"
79515 || test ! -s conftest.err'
79516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79517 (eval $ac_try) 2>&5
79518 ac_status=$?
79519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79520 (exit $ac_status); }; } &&
79521 { ac_try='test -s conftest.$ac_objext'
79522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79523 (eval $ac_try) 2>&5
79524 ac_status=$?
79525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79526 (exit $ac_status); }; }; then
79527 glibcxx_cv_func__hypotl_use=yes
79528 else
79529 echo "$as_me: failed program was:" >&5
79530 sed 's/^/| /' conftest.$ac_ext >&5
79532 glibcxx_cv_func__hypotl_use=no
79534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79535 ac_ext=c
79536 ac_cpp='$CPP $CPPFLAGS'
79537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79546 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79548 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79550 for ac_func in _hypotl
79552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79553 echo "$as_me:$LINENO: checking for $ac_func" >&5
79554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79555 if eval "test \"\${$as_ac_var+set}\" = set"; then
79556 echo $ECHO_N "(cached) $ECHO_C" >&6
79557 else
79558 if test x$gcc_no_link = xyes; then
79559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79561 { (exit 1); exit 1; }; }
79563 cat >conftest.$ac_ext <<_ACEOF
79564 /* confdefs.h. */
79565 _ACEOF
79566 cat confdefs.h >>conftest.$ac_ext
79567 cat >>conftest.$ac_ext <<_ACEOF
79568 /* end confdefs.h. */
79569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79571 #define $ac_func innocuous_$ac_func
79573 /* System header to define __stub macros and hopefully few prototypes,
79574 which can conflict with char $ac_func (); below.
79575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79576 <limits.h> exists even on freestanding compilers. */
79578 #ifdef __STDC__
79579 # include <limits.h>
79580 #else
79581 # include <assert.h>
79582 #endif
79584 #undef $ac_func
79586 /* Override any gcc2 internal prototype to avoid an error. */
79587 #ifdef __cplusplus
79588 extern "C"
79590 #endif
79591 /* We use char because int might match the return type of a gcc2
79592 builtin and then its argument prototype would still apply. */
79593 char $ac_func ();
79594 /* The GNU C library defines this for functions which it implements
79595 to always fail with ENOSYS. Some functions are actually named
79596 something starting with __ and the normal name is an alias. */
79597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79598 choke me
79599 #else
79600 char (*f) () = $ac_func;
79601 #endif
79602 #ifdef __cplusplus
79604 #endif
79607 main ()
79609 return f != $ac_func;
79611 return 0;
79613 _ACEOF
79614 rm -f conftest.$ac_objext conftest$ac_exeext
79615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79616 (eval $ac_link) 2>conftest.er1
79617 ac_status=$?
79618 grep -v '^ *+' conftest.er1 >conftest.err
79619 rm -f conftest.er1
79620 cat conftest.err >&5
79621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79622 (exit $ac_status); } &&
79623 { ac_try='test -z "$ac_c_werror_flag"
79624 || test ! -s conftest.err'
79625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79626 (eval $ac_try) 2>&5
79627 ac_status=$?
79628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79629 (exit $ac_status); }; } &&
79630 { ac_try='test -s conftest$ac_exeext'
79631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79632 (eval $ac_try) 2>&5
79633 ac_status=$?
79634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79635 (exit $ac_status); }; }; then
79636 eval "$as_ac_var=yes"
79637 else
79638 echo "$as_me: failed program was:" >&5
79639 sed 's/^/| /' conftest.$ac_ext >&5
79641 eval "$as_ac_var=no"
79643 rm -f conftest.err conftest.$ac_objext \
79644 conftest$ac_exeext conftest.$ac_ext
79646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79648 if test `eval echo '${'$as_ac_var'}'` = yes; then
79649 cat >>confdefs.h <<_ACEOF
79650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79651 _ACEOF
79654 done
79664 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79665 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79666 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79667 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79668 echo $ECHO_N "(cached) $ECHO_C" >&6
79669 else
79673 ac_ext=cc
79674 ac_cpp='$CXXCPP $CPPFLAGS'
79675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79679 cat >conftest.$ac_ext <<_ACEOF
79680 /* confdefs.h. */
79681 _ACEOF
79682 cat confdefs.h >>conftest.$ac_ext
79683 cat >>conftest.$ac_ext <<_ACEOF
79684 /* end confdefs.h. */
79685 #include <math.h>
79687 main ()
79689 ldexpl(0, 0);
79691 return 0;
79693 _ACEOF
79694 rm -f conftest.$ac_objext
79695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79696 (eval $ac_compile) 2>conftest.er1
79697 ac_status=$?
79698 grep -v '^ *+' conftest.er1 >conftest.err
79699 rm -f conftest.er1
79700 cat conftest.err >&5
79701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79702 (exit $ac_status); } &&
79703 { ac_try='test -z "$ac_cxx_werror_flag"
79704 || test ! -s conftest.err'
79705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79706 (eval $ac_try) 2>&5
79707 ac_status=$?
79708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79709 (exit $ac_status); }; } &&
79710 { ac_try='test -s conftest.$ac_objext'
79711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79712 (eval $ac_try) 2>&5
79713 ac_status=$?
79714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79715 (exit $ac_status); }; }; then
79716 glibcxx_cv_func_ldexpl_use=yes
79717 else
79718 echo "$as_me: failed program was:" >&5
79719 sed 's/^/| /' conftest.$ac_ext >&5
79721 glibcxx_cv_func_ldexpl_use=no
79723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79724 ac_ext=c
79725 ac_cpp='$CPP $CPPFLAGS'
79726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79735 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79737 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79739 for ac_func in ldexpl
79741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79742 echo "$as_me:$LINENO: checking for $ac_func" >&5
79743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79744 if eval "test \"\${$as_ac_var+set}\" = set"; then
79745 echo $ECHO_N "(cached) $ECHO_C" >&6
79746 else
79747 if test x$gcc_no_link = xyes; then
79748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79750 { (exit 1); exit 1; }; }
79752 cat >conftest.$ac_ext <<_ACEOF
79753 /* confdefs.h. */
79754 _ACEOF
79755 cat confdefs.h >>conftest.$ac_ext
79756 cat >>conftest.$ac_ext <<_ACEOF
79757 /* end confdefs.h. */
79758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79760 #define $ac_func innocuous_$ac_func
79762 /* System header to define __stub macros and hopefully few prototypes,
79763 which can conflict with char $ac_func (); below.
79764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79765 <limits.h> exists even on freestanding compilers. */
79767 #ifdef __STDC__
79768 # include <limits.h>
79769 #else
79770 # include <assert.h>
79771 #endif
79773 #undef $ac_func
79775 /* Override any gcc2 internal prototype to avoid an error. */
79776 #ifdef __cplusplus
79777 extern "C"
79779 #endif
79780 /* We use char because int might match the return type of a gcc2
79781 builtin and then its argument prototype would still apply. */
79782 char $ac_func ();
79783 /* The GNU C library defines this for functions which it implements
79784 to always fail with ENOSYS. Some functions are actually named
79785 something starting with __ and the normal name is an alias. */
79786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79787 choke me
79788 #else
79789 char (*f) () = $ac_func;
79790 #endif
79791 #ifdef __cplusplus
79793 #endif
79796 main ()
79798 return f != $ac_func;
79800 return 0;
79802 _ACEOF
79803 rm -f conftest.$ac_objext conftest$ac_exeext
79804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79805 (eval $ac_link) 2>conftest.er1
79806 ac_status=$?
79807 grep -v '^ *+' conftest.er1 >conftest.err
79808 rm -f conftest.er1
79809 cat conftest.err >&5
79810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79811 (exit $ac_status); } &&
79812 { ac_try='test -z "$ac_c_werror_flag"
79813 || test ! -s conftest.err'
79814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79815 (eval $ac_try) 2>&5
79816 ac_status=$?
79817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79818 (exit $ac_status); }; } &&
79819 { ac_try='test -s conftest$ac_exeext'
79820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79821 (eval $ac_try) 2>&5
79822 ac_status=$?
79823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79824 (exit $ac_status); }; }; then
79825 eval "$as_ac_var=yes"
79826 else
79827 echo "$as_me: failed program was:" >&5
79828 sed 's/^/| /' conftest.$ac_ext >&5
79830 eval "$as_ac_var=no"
79832 rm -f conftest.err conftest.$ac_objext \
79833 conftest$ac_exeext conftest.$ac_ext
79835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79837 if test `eval echo '${'$as_ac_var'}'` = yes; then
79838 cat >>confdefs.h <<_ACEOF
79839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79840 _ACEOF
79843 done
79845 else
79847 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79848 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79849 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79850 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79851 echo $ECHO_N "(cached) $ECHO_C" >&6
79852 else
79856 ac_ext=cc
79857 ac_cpp='$CXXCPP $CPPFLAGS'
79858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79862 cat >conftest.$ac_ext <<_ACEOF
79863 /* confdefs.h. */
79864 _ACEOF
79865 cat confdefs.h >>conftest.$ac_ext
79866 cat >>conftest.$ac_ext <<_ACEOF
79867 /* end confdefs.h. */
79868 #include <math.h>
79870 main ()
79872 _ldexpl(0, 0);
79874 return 0;
79876 _ACEOF
79877 rm -f conftest.$ac_objext
79878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79879 (eval $ac_compile) 2>conftest.er1
79880 ac_status=$?
79881 grep -v '^ *+' conftest.er1 >conftest.err
79882 rm -f conftest.er1
79883 cat conftest.err >&5
79884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79885 (exit $ac_status); } &&
79886 { ac_try='test -z "$ac_cxx_werror_flag"
79887 || test ! -s conftest.err'
79888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79889 (eval $ac_try) 2>&5
79890 ac_status=$?
79891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79892 (exit $ac_status); }; } &&
79893 { ac_try='test -s conftest.$ac_objext'
79894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79895 (eval $ac_try) 2>&5
79896 ac_status=$?
79897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79898 (exit $ac_status); }; }; then
79899 glibcxx_cv_func__ldexpl_use=yes
79900 else
79901 echo "$as_me: failed program was:" >&5
79902 sed 's/^/| /' conftest.$ac_ext >&5
79904 glibcxx_cv_func__ldexpl_use=no
79906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79907 ac_ext=c
79908 ac_cpp='$CPP $CPPFLAGS'
79909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79917 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79918 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79920 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79922 for ac_func in _ldexpl
79924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79925 echo "$as_me:$LINENO: checking for $ac_func" >&5
79926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79927 if eval "test \"\${$as_ac_var+set}\" = set"; then
79928 echo $ECHO_N "(cached) $ECHO_C" >&6
79929 else
79930 if test x$gcc_no_link = xyes; then
79931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79933 { (exit 1); exit 1; }; }
79935 cat >conftest.$ac_ext <<_ACEOF
79936 /* confdefs.h. */
79937 _ACEOF
79938 cat confdefs.h >>conftest.$ac_ext
79939 cat >>conftest.$ac_ext <<_ACEOF
79940 /* end confdefs.h. */
79941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79943 #define $ac_func innocuous_$ac_func
79945 /* System header to define __stub macros and hopefully few prototypes,
79946 which can conflict with char $ac_func (); below.
79947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79948 <limits.h> exists even on freestanding compilers. */
79950 #ifdef __STDC__
79951 # include <limits.h>
79952 #else
79953 # include <assert.h>
79954 #endif
79956 #undef $ac_func
79958 /* Override any gcc2 internal prototype to avoid an error. */
79959 #ifdef __cplusplus
79960 extern "C"
79962 #endif
79963 /* We use char because int might match the return type of a gcc2
79964 builtin and then its argument prototype would still apply. */
79965 char $ac_func ();
79966 /* The GNU C library defines this for functions which it implements
79967 to always fail with ENOSYS. Some functions are actually named
79968 something starting with __ and the normal name is an alias. */
79969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79970 choke me
79971 #else
79972 char (*f) () = $ac_func;
79973 #endif
79974 #ifdef __cplusplus
79976 #endif
79979 main ()
79981 return f != $ac_func;
79983 return 0;
79985 _ACEOF
79986 rm -f conftest.$ac_objext conftest$ac_exeext
79987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79988 (eval $ac_link) 2>conftest.er1
79989 ac_status=$?
79990 grep -v '^ *+' conftest.er1 >conftest.err
79991 rm -f conftest.er1
79992 cat conftest.err >&5
79993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79994 (exit $ac_status); } &&
79995 { ac_try='test -z "$ac_c_werror_flag"
79996 || test ! -s conftest.err'
79997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79998 (eval $ac_try) 2>&5
79999 ac_status=$?
80000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80001 (exit $ac_status); }; } &&
80002 { ac_try='test -s conftest$ac_exeext'
80003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80004 (eval $ac_try) 2>&5
80005 ac_status=$?
80006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80007 (exit $ac_status); }; }; then
80008 eval "$as_ac_var=yes"
80009 else
80010 echo "$as_me: failed program was:" >&5
80011 sed 's/^/| /' conftest.$ac_ext >&5
80013 eval "$as_ac_var=no"
80015 rm -f conftest.err conftest.$ac_objext \
80016 conftest$ac_exeext conftest.$ac_ext
80018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80020 if test `eval echo '${'$as_ac_var'}'` = yes; then
80021 cat >>confdefs.h <<_ACEOF
80022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80023 _ACEOF
80026 done
80036 echo "$as_me:$LINENO: checking for logl declaration" >&5
80037 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
80038 if test x${glibcxx_cv_func_logl_use+set} != xset; then
80039 if test "${glibcxx_cv_func_logl_use+set}" = set; then
80040 echo $ECHO_N "(cached) $ECHO_C" >&6
80041 else
80045 ac_ext=cc
80046 ac_cpp='$CXXCPP $CPPFLAGS'
80047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80051 cat >conftest.$ac_ext <<_ACEOF
80052 /* confdefs.h. */
80053 _ACEOF
80054 cat confdefs.h >>conftest.$ac_ext
80055 cat >>conftest.$ac_ext <<_ACEOF
80056 /* end confdefs.h. */
80057 #include <math.h>
80058 #ifdef HAVE_IEEEFP_H
80059 #include <ieeefp.h>
80060 #endif
80063 main ()
80065 logl(0);
80067 return 0;
80069 _ACEOF
80070 rm -f conftest.$ac_objext
80071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80072 (eval $ac_compile) 2>conftest.er1
80073 ac_status=$?
80074 grep -v '^ *+' conftest.er1 >conftest.err
80075 rm -f conftest.er1
80076 cat conftest.err >&5
80077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80078 (exit $ac_status); } &&
80079 { ac_try='test -z "$ac_cxx_werror_flag"
80080 || test ! -s conftest.err'
80081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80082 (eval $ac_try) 2>&5
80083 ac_status=$?
80084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80085 (exit $ac_status); }; } &&
80086 { ac_try='test -s conftest.$ac_objext'
80087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80088 (eval $ac_try) 2>&5
80089 ac_status=$?
80090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80091 (exit $ac_status); }; }; then
80092 glibcxx_cv_func_logl_use=yes
80093 else
80094 echo "$as_me: failed program was:" >&5
80095 sed 's/^/| /' conftest.$ac_ext >&5
80097 glibcxx_cv_func_logl_use=no
80099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80100 ac_ext=c
80101 ac_cpp='$CPP $CPPFLAGS'
80102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80110 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
80111 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
80113 if test x$glibcxx_cv_func_logl_use = x"yes"; then
80115 for ac_func in logl
80117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80118 echo "$as_me:$LINENO: checking for $ac_func" >&5
80119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80120 if eval "test \"\${$as_ac_var+set}\" = set"; then
80121 echo $ECHO_N "(cached) $ECHO_C" >&6
80122 else
80123 if test x$gcc_no_link = xyes; then
80124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80126 { (exit 1); exit 1; }; }
80128 cat >conftest.$ac_ext <<_ACEOF
80129 /* confdefs.h. */
80130 _ACEOF
80131 cat confdefs.h >>conftest.$ac_ext
80132 cat >>conftest.$ac_ext <<_ACEOF
80133 /* end confdefs.h. */
80134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80136 #define $ac_func innocuous_$ac_func
80138 /* System header to define __stub macros and hopefully few prototypes,
80139 which can conflict with char $ac_func (); below.
80140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80141 <limits.h> exists even on freestanding compilers. */
80143 #ifdef __STDC__
80144 # include <limits.h>
80145 #else
80146 # include <assert.h>
80147 #endif
80149 #undef $ac_func
80151 /* Override any gcc2 internal prototype to avoid an error. */
80152 #ifdef __cplusplus
80153 extern "C"
80155 #endif
80156 /* We use char because int might match the return type of a gcc2
80157 builtin and then its argument prototype would still apply. */
80158 char $ac_func ();
80159 /* The GNU C library defines this for functions which it implements
80160 to always fail with ENOSYS. Some functions are actually named
80161 something starting with __ and the normal name is an alias. */
80162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80163 choke me
80164 #else
80165 char (*f) () = $ac_func;
80166 #endif
80167 #ifdef __cplusplus
80169 #endif
80172 main ()
80174 return f != $ac_func;
80176 return 0;
80178 _ACEOF
80179 rm -f conftest.$ac_objext conftest$ac_exeext
80180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80181 (eval $ac_link) 2>conftest.er1
80182 ac_status=$?
80183 grep -v '^ *+' conftest.er1 >conftest.err
80184 rm -f conftest.er1
80185 cat conftest.err >&5
80186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80187 (exit $ac_status); } &&
80188 { ac_try='test -z "$ac_c_werror_flag"
80189 || test ! -s conftest.err'
80190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80191 (eval $ac_try) 2>&5
80192 ac_status=$?
80193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80194 (exit $ac_status); }; } &&
80195 { ac_try='test -s conftest$ac_exeext'
80196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80197 (eval $ac_try) 2>&5
80198 ac_status=$?
80199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80200 (exit $ac_status); }; }; then
80201 eval "$as_ac_var=yes"
80202 else
80203 echo "$as_me: failed program was:" >&5
80204 sed 's/^/| /' conftest.$ac_ext >&5
80206 eval "$as_ac_var=no"
80208 rm -f conftest.err conftest.$ac_objext \
80209 conftest$ac_exeext conftest.$ac_ext
80211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80213 if test `eval echo '${'$as_ac_var'}'` = yes; then
80214 cat >>confdefs.h <<_ACEOF
80215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80216 _ACEOF
80219 done
80221 else
80223 echo "$as_me:$LINENO: checking for _logl declaration" >&5
80224 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
80225 if test x${glibcxx_cv_func__logl_use+set} != xset; then
80226 if test "${glibcxx_cv_func__logl_use+set}" = set; then
80227 echo $ECHO_N "(cached) $ECHO_C" >&6
80228 else
80232 ac_ext=cc
80233 ac_cpp='$CXXCPP $CPPFLAGS'
80234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80238 cat >conftest.$ac_ext <<_ACEOF
80239 /* confdefs.h. */
80240 _ACEOF
80241 cat confdefs.h >>conftest.$ac_ext
80242 cat >>conftest.$ac_ext <<_ACEOF
80243 /* end confdefs.h. */
80244 #include <math.h>
80245 #ifdef HAVE_IEEEFP_H
80246 #include <ieeefp.h>
80247 #endif
80250 main ()
80252 _logl(0);
80254 return 0;
80256 _ACEOF
80257 rm -f conftest.$ac_objext
80258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80259 (eval $ac_compile) 2>conftest.er1
80260 ac_status=$?
80261 grep -v '^ *+' conftest.er1 >conftest.err
80262 rm -f conftest.er1
80263 cat conftest.err >&5
80264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80265 (exit $ac_status); } &&
80266 { ac_try='test -z "$ac_cxx_werror_flag"
80267 || test ! -s conftest.err'
80268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80269 (eval $ac_try) 2>&5
80270 ac_status=$?
80271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272 (exit $ac_status); }; } &&
80273 { ac_try='test -s conftest.$ac_objext'
80274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80275 (eval $ac_try) 2>&5
80276 ac_status=$?
80277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80278 (exit $ac_status); }; }; then
80279 glibcxx_cv_func__logl_use=yes
80280 else
80281 echo "$as_me: failed program was:" >&5
80282 sed 's/^/| /' conftest.$ac_ext >&5
80284 glibcxx_cv_func__logl_use=no
80286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80287 ac_ext=c
80288 ac_cpp='$CPP $CPPFLAGS'
80289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80298 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80300 if test x$glibcxx_cv_func__logl_use = x"yes"; then
80302 for ac_func in _logl
80304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80305 echo "$as_me:$LINENO: checking for $ac_func" >&5
80306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80307 if eval "test \"\${$as_ac_var+set}\" = set"; then
80308 echo $ECHO_N "(cached) $ECHO_C" >&6
80309 else
80310 if test x$gcc_no_link = xyes; then
80311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80313 { (exit 1); exit 1; }; }
80315 cat >conftest.$ac_ext <<_ACEOF
80316 /* confdefs.h. */
80317 _ACEOF
80318 cat confdefs.h >>conftest.$ac_ext
80319 cat >>conftest.$ac_ext <<_ACEOF
80320 /* end confdefs.h. */
80321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80323 #define $ac_func innocuous_$ac_func
80325 /* System header to define __stub macros and hopefully few prototypes,
80326 which can conflict with char $ac_func (); below.
80327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80328 <limits.h> exists even on freestanding compilers. */
80330 #ifdef __STDC__
80331 # include <limits.h>
80332 #else
80333 # include <assert.h>
80334 #endif
80336 #undef $ac_func
80338 /* Override any gcc2 internal prototype to avoid an error. */
80339 #ifdef __cplusplus
80340 extern "C"
80342 #endif
80343 /* We use char because int might match the return type of a gcc2
80344 builtin and then its argument prototype would still apply. */
80345 char $ac_func ();
80346 /* The GNU C library defines this for functions which it implements
80347 to always fail with ENOSYS. Some functions are actually named
80348 something starting with __ and the normal name is an alias. */
80349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80350 choke me
80351 #else
80352 char (*f) () = $ac_func;
80353 #endif
80354 #ifdef __cplusplus
80356 #endif
80359 main ()
80361 return f != $ac_func;
80363 return 0;
80365 _ACEOF
80366 rm -f conftest.$ac_objext conftest$ac_exeext
80367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80368 (eval $ac_link) 2>conftest.er1
80369 ac_status=$?
80370 grep -v '^ *+' conftest.er1 >conftest.err
80371 rm -f conftest.er1
80372 cat conftest.err >&5
80373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80374 (exit $ac_status); } &&
80375 { ac_try='test -z "$ac_c_werror_flag"
80376 || test ! -s conftest.err'
80377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80378 (eval $ac_try) 2>&5
80379 ac_status=$?
80380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80381 (exit $ac_status); }; } &&
80382 { ac_try='test -s conftest$ac_exeext'
80383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80384 (eval $ac_try) 2>&5
80385 ac_status=$?
80386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80387 (exit $ac_status); }; }; then
80388 eval "$as_ac_var=yes"
80389 else
80390 echo "$as_me: failed program was:" >&5
80391 sed 's/^/| /' conftest.$ac_ext >&5
80393 eval "$as_ac_var=no"
80395 rm -f conftest.err conftest.$ac_objext \
80396 conftest$ac_exeext conftest.$ac_ext
80398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80400 if test `eval echo '${'$as_ac_var'}'` = yes; then
80401 cat >>confdefs.h <<_ACEOF
80402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80403 _ACEOF
80406 done
80416 echo "$as_me:$LINENO: checking for log10l declaration" >&5
80417 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
80418 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
80419 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
80420 echo $ECHO_N "(cached) $ECHO_C" >&6
80421 else
80425 ac_ext=cc
80426 ac_cpp='$CXXCPP $CPPFLAGS'
80427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80431 cat >conftest.$ac_ext <<_ACEOF
80432 /* confdefs.h. */
80433 _ACEOF
80434 cat confdefs.h >>conftest.$ac_ext
80435 cat >>conftest.$ac_ext <<_ACEOF
80436 /* end confdefs.h. */
80437 #include <math.h>
80438 #ifdef HAVE_IEEEFP_H
80439 #include <ieeefp.h>
80440 #endif
80443 main ()
80445 log10l(0);
80447 return 0;
80449 _ACEOF
80450 rm -f conftest.$ac_objext
80451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80452 (eval $ac_compile) 2>conftest.er1
80453 ac_status=$?
80454 grep -v '^ *+' conftest.er1 >conftest.err
80455 rm -f conftest.er1
80456 cat conftest.err >&5
80457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80458 (exit $ac_status); } &&
80459 { ac_try='test -z "$ac_cxx_werror_flag"
80460 || test ! -s conftest.err'
80461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462 (eval $ac_try) 2>&5
80463 ac_status=$?
80464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465 (exit $ac_status); }; } &&
80466 { ac_try='test -s conftest.$ac_objext'
80467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80468 (eval $ac_try) 2>&5
80469 ac_status=$?
80470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80471 (exit $ac_status); }; }; then
80472 glibcxx_cv_func_log10l_use=yes
80473 else
80474 echo "$as_me: failed program was:" >&5
80475 sed 's/^/| /' conftest.$ac_ext >&5
80477 glibcxx_cv_func_log10l_use=no
80479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80480 ac_ext=c
80481 ac_cpp='$CPP $CPPFLAGS'
80482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
80491 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
80493 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
80495 for ac_func in log10l
80497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80498 echo "$as_me:$LINENO: checking for $ac_func" >&5
80499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80500 if eval "test \"\${$as_ac_var+set}\" = set"; then
80501 echo $ECHO_N "(cached) $ECHO_C" >&6
80502 else
80503 if test x$gcc_no_link = xyes; then
80504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80506 { (exit 1); exit 1; }; }
80508 cat >conftest.$ac_ext <<_ACEOF
80509 /* confdefs.h. */
80510 _ACEOF
80511 cat confdefs.h >>conftest.$ac_ext
80512 cat >>conftest.$ac_ext <<_ACEOF
80513 /* end confdefs.h. */
80514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80516 #define $ac_func innocuous_$ac_func
80518 /* System header to define __stub macros and hopefully few prototypes,
80519 which can conflict with char $ac_func (); below.
80520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80521 <limits.h> exists even on freestanding compilers. */
80523 #ifdef __STDC__
80524 # include <limits.h>
80525 #else
80526 # include <assert.h>
80527 #endif
80529 #undef $ac_func
80531 /* Override any gcc2 internal prototype to avoid an error. */
80532 #ifdef __cplusplus
80533 extern "C"
80535 #endif
80536 /* We use char because int might match the return type of a gcc2
80537 builtin and then its argument prototype would still apply. */
80538 char $ac_func ();
80539 /* The GNU C library defines this for functions which it implements
80540 to always fail with ENOSYS. Some functions are actually named
80541 something starting with __ and the normal name is an alias. */
80542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80543 choke me
80544 #else
80545 char (*f) () = $ac_func;
80546 #endif
80547 #ifdef __cplusplus
80549 #endif
80552 main ()
80554 return f != $ac_func;
80556 return 0;
80558 _ACEOF
80559 rm -f conftest.$ac_objext conftest$ac_exeext
80560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80561 (eval $ac_link) 2>conftest.er1
80562 ac_status=$?
80563 grep -v '^ *+' conftest.er1 >conftest.err
80564 rm -f conftest.er1
80565 cat conftest.err >&5
80566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80567 (exit $ac_status); } &&
80568 { ac_try='test -z "$ac_c_werror_flag"
80569 || test ! -s conftest.err'
80570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80571 (eval $ac_try) 2>&5
80572 ac_status=$?
80573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80574 (exit $ac_status); }; } &&
80575 { ac_try='test -s conftest$ac_exeext'
80576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80577 (eval $ac_try) 2>&5
80578 ac_status=$?
80579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80580 (exit $ac_status); }; }; then
80581 eval "$as_ac_var=yes"
80582 else
80583 echo "$as_me: failed program was:" >&5
80584 sed 's/^/| /' conftest.$ac_ext >&5
80586 eval "$as_ac_var=no"
80588 rm -f conftest.err conftest.$ac_objext \
80589 conftest$ac_exeext conftest.$ac_ext
80591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80593 if test `eval echo '${'$as_ac_var'}'` = yes; then
80594 cat >>confdefs.h <<_ACEOF
80595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80596 _ACEOF
80599 done
80601 else
80603 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80604 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80605 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80606 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80607 echo $ECHO_N "(cached) $ECHO_C" >&6
80608 else
80612 ac_ext=cc
80613 ac_cpp='$CXXCPP $CPPFLAGS'
80614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80618 cat >conftest.$ac_ext <<_ACEOF
80619 /* confdefs.h. */
80620 _ACEOF
80621 cat confdefs.h >>conftest.$ac_ext
80622 cat >>conftest.$ac_ext <<_ACEOF
80623 /* end confdefs.h. */
80624 #include <math.h>
80625 #ifdef HAVE_IEEEFP_H
80626 #include <ieeefp.h>
80627 #endif
80630 main ()
80632 _log10l(0);
80634 return 0;
80636 _ACEOF
80637 rm -f conftest.$ac_objext
80638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80639 (eval $ac_compile) 2>conftest.er1
80640 ac_status=$?
80641 grep -v '^ *+' conftest.er1 >conftest.err
80642 rm -f conftest.er1
80643 cat conftest.err >&5
80644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80645 (exit $ac_status); } &&
80646 { ac_try='test -z "$ac_cxx_werror_flag"
80647 || test ! -s conftest.err'
80648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80649 (eval $ac_try) 2>&5
80650 ac_status=$?
80651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80652 (exit $ac_status); }; } &&
80653 { ac_try='test -s conftest.$ac_objext'
80654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80655 (eval $ac_try) 2>&5
80656 ac_status=$?
80657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80658 (exit $ac_status); }; }; then
80659 glibcxx_cv_func__log10l_use=yes
80660 else
80661 echo "$as_me: failed program was:" >&5
80662 sed 's/^/| /' conftest.$ac_ext >&5
80664 glibcxx_cv_func__log10l_use=no
80666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80667 ac_ext=c
80668 ac_cpp='$CPP $CPPFLAGS'
80669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80678 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80680 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80682 for ac_func in _log10l
80684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80685 echo "$as_me:$LINENO: checking for $ac_func" >&5
80686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80687 if eval "test \"\${$as_ac_var+set}\" = set"; then
80688 echo $ECHO_N "(cached) $ECHO_C" >&6
80689 else
80690 if test x$gcc_no_link = xyes; then
80691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80693 { (exit 1); exit 1; }; }
80695 cat >conftest.$ac_ext <<_ACEOF
80696 /* confdefs.h. */
80697 _ACEOF
80698 cat confdefs.h >>conftest.$ac_ext
80699 cat >>conftest.$ac_ext <<_ACEOF
80700 /* end confdefs.h. */
80701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80703 #define $ac_func innocuous_$ac_func
80705 /* System header to define __stub macros and hopefully few prototypes,
80706 which can conflict with char $ac_func (); below.
80707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80708 <limits.h> exists even on freestanding compilers. */
80710 #ifdef __STDC__
80711 # include <limits.h>
80712 #else
80713 # include <assert.h>
80714 #endif
80716 #undef $ac_func
80718 /* Override any gcc2 internal prototype to avoid an error. */
80719 #ifdef __cplusplus
80720 extern "C"
80722 #endif
80723 /* We use char because int might match the return type of a gcc2
80724 builtin and then its argument prototype would still apply. */
80725 char $ac_func ();
80726 /* The GNU C library defines this for functions which it implements
80727 to always fail with ENOSYS. Some functions are actually named
80728 something starting with __ and the normal name is an alias. */
80729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80730 choke me
80731 #else
80732 char (*f) () = $ac_func;
80733 #endif
80734 #ifdef __cplusplus
80736 #endif
80739 main ()
80741 return f != $ac_func;
80743 return 0;
80745 _ACEOF
80746 rm -f conftest.$ac_objext conftest$ac_exeext
80747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80748 (eval $ac_link) 2>conftest.er1
80749 ac_status=$?
80750 grep -v '^ *+' conftest.er1 >conftest.err
80751 rm -f conftest.er1
80752 cat conftest.err >&5
80753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80754 (exit $ac_status); } &&
80755 { ac_try='test -z "$ac_c_werror_flag"
80756 || test ! -s conftest.err'
80757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80758 (eval $ac_try) 2>&5
80759 ac_status=$?
80760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761 (exit $ac_status); }; } &&
80762 { ac_try='test -s conftest$ac_exeext'
80763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80764 (eval $ac_try) 2>&5
80765 ac_status=$?
80766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80767 (exit $ac_status); }; }; then
80768 eval "$as_ac_var=yes"
80769 else
80770 echo "$as_me: failed program was:" >&5
80771 sed 's/^/| /' conftest.$ac_ext >&5
80773 eval "$as_ac_var=no"
80775 rm -f conftest.err conftest.$ac_objext \
80776 conftest$ac_exeext conftest.$ac_ext
80778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80780 if test `eval echo '${'$as_ac_var'}'` = yes; then
80781 cat >>confdefs.h <<_ACEOF
80782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80783 _ACEOF
80786 done
80796 echo "$as_me:$LINENO: checking for modfl declaration" >&5
80797 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80798 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80799 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80800 echo $ECHO_N "(cached) $ECHO_C" >&6
80801 else
80805 ac_ext=cc
80806 ac_cpp='$CXXCPP $CPPFLAGS'
80807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80811 cat >conftest.$ac_ext <<_ACEOF
80812 /* confdefs.h. */
80813 _ACEOF
80814 cat confdefs.h >>conftest.$ac_ext
80815 cat >>conftest.$ac_ext <<_ACEOF
80816 /* end confdefs.h. */
80817 #include <math.h>
80819 main ()
80821 modfl(0, 0);
80823 return 0;
80825 _ACEOF
80826 rm -f conftest.$ac_objext
80827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80828 (eval $ac_compile) 2>conftest.er1
80829 ac_status=$?
80830 grep -v '^ *+' conftest.er1 >conftest.err
80831 rm -f conftest.er1
80832 cat conftest.err >&5
80833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80834 (exit $ac_status); } &&
80835 { ac_try='test -z "$ac_cxx_werror_flag"
80836 || test ! -s conftest.err'
80837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80838 (eval $ac_try) 2>&5
80839 ac_status=$?
80840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841 (exit $ac_status); }; } &&
80842 { ac_try='test -s conftest.$ac_objext'
80843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80844 (eval $ac_try) 2>&5
80845 ac_status=$?
80846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80847 (exit $ac_status); }; }; then
80848 glibcxx_cv_func_modfl_use=yes
80849 else
80850 echo "$as_me: failed program was:" >&5
80851 sed 's/^/| /' conftest.$ac_ext >&5
80853 glibcxx_cv_func_modfl_use=no
80855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80856 ac_ext=c
80857 ac_cpp='$CPP $CPPFLAGS'
80858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80867 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80869 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80871 for ac_func in modfl
80873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80874 echo "$as_me:$LINENO: checking for $ac_func" >&5
80875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80876 if eval "test \"\${$as_ac_var+set}\" = set"; then
80877 echo $ECHO_N "(cached) $ECHO_C" >&6
80878 else
80879 if test x$gcc_no_link = xyes; then
80880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80882 { (exit 1); exit 1; }; }
80884 cat >conftest.$ac_ext <<_ACEOF
80885 /* confdefs.h. */
80886 _ACEOF
80887 cat confdefs.h >>conftest.$ac_ext
80888 cat >>conftest.$ac_ext <<_ACEOF
80889 /* end confdefs.h. */
80890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80892 #define $ac_func innocuous_$ac_func
80894 /* System header to define __stub macros and hopefully few prototypes,
80895 which can conflict with char $ac_func (); below.
80896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80897 <limits.h> exists even on freestanding compilers. */
80899 #ifdef __STDC__
80900 # include <limits.h>
80901 #else
80902 # include <assert.h>
80903 #endif
80905 #undef $ac_func
80907 /* Override any gcc2 internal prototype to avoid an error. */
80908 #ifdef __cplusplus
80909 extern "C"
80911 #endif
80912 /* We use char because int might match the return type of a gcc2
80913 builtin and then its argument prototype would still apply. */
80914 char $ac_func ();
80915 /* The GNU C library defines this for functions which it implements
80916 to always fail with ENOSYS. Some functions are actually named
80917 something starting with __ and the normal name is an alias. */
80918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80919 choke me
80920 #else
80921 char (*f) () = $ac_func;
80922 #endif
80923 #ifdef __cplusplus
80925 #endif
80928 main ()
80930 return f != $ac_func;
80932 return 0;
80934 _ACEOF
80935 rm -f conftest.$ac_objext conftest$ac_exeext
80936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80937 (eval $ac_link) 2>conftest.er1
80938 ac_status=$?
80939 grep -v '^ *+' conftest.er1 >conftest.err
80940 rm -f conftest.er1
80941 cat conftest.err >&5
80942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80943 (exit $ac_status); } &&
80944 { ac_try='test -z "$ac_c_werror_flag"
80945 || test ! -s conftest.err'
80946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80947 (eval $ac_try) 2>&5
80948 ac_status=$?
80949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80950 (exit $ac_status); }; } &&
80951 { ac_try='test -s conftest$ac_exeext'
80952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80953 (eval $ac_try) 2>&5
80954 ac_status=$?
80955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80956 (exit $ac_status); }; }; then
80957 eval "$as_ac_var=yes"
80958 else
80959 echo "$as_me: failed program was:" >&5
80960 sed 's/^/| /' conftest.$ac_ext >&5
80962 eval "$as_ac_var=no"
80964 rm -f conftest.err conftest.$ac_objext \
80965 conftest$ac_exeext conftest.$ac_ext
80967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80969 if test `eval echo '${'$as_ac_var'}'` = yes; then
80970 cat >>confdefs.h <<_ACEOF
80971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80972 _ACEOF
80975 done
80977 else
80979 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80980 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80981 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80982 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80983 echo $ECHO_N "(cached) $ECHO_C" >&6
80984 else
80988 ac_ext=cc
80989 ac_cpp='$CXXCPP $CPPFLAGS'
80990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80994 cat >conftest.$ac_ext <<_ACEOF
80995 /* confdefs.h. */
80996 _ACEOF
80997 cat confdefs.h >>conftest.$ac_ext
80998 cat >>conftest.$ac_ext <<_ACEOF
80999 /* end confdefs.h. */
81000 #include <math.h>
81002 main ()
81004 _modfl(0, 0);
81006 return 0;
81008 _ACEOF
81009 rm -f conftest.$ac_objext
81010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81011 (eval $ac_compile) 2>conftest.er1
81012 ac_status=$?
81013 grep -v '^ *+' conftest.er1 >conftest.err
81014 rm -f conftest.er1
81015 cat conftest.err >&5
81016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81017 (exit $ac_status); } &&
81018 { ac_try='test -z "$ac_cxx_werror_flag"
81019 || test ! -s conftest.err'
81020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81021 (eval $ac_try) 2>&5
81022 ac_status=$?
81023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024 (exit $ac_status); }; } &&
81025 { ac_try='test -s conftest.$ac_objext'
81026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81027 (eval $ac_try) 2>&5
81028 ac_status=$?
81029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81030 (exit $ac_status); }; }; then
81031 glibcxx_cv_func__modfl_use=yes
81032 else
81033 echo "$as_me: failed program was:" >&5
81034 sed 's/^/| /' conftest.$ac_ext >&5
81036 glibcxx_cv_func__modfl_use=no
81038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81039 ac_ext=c
81040 ac_cpp='$CPP $CPPFLAGS'
81041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
81050 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
81052 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
81054 for ac_func in _modfl
81056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81057 echo "$as_me:$LINENO: checking for $ac_func" >&5
81058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81059 if eval "test \"\${$as_ac_var+set}\" = set"; then
81060 echo $ECHO_N "(cached) $ECHO_C" >&6
81061 else
81062 if test x$gcc_no_link = xyes; then
81063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81065 { (exit 1); exit 1; }; }
81067 cat >conftest.$ac_ext <<_ACEOF
81068 /* confdefs.h. */
81069 _ACEOF
81070 cat confdefs.h >>conftest.$ac_ext
81071 cat >>conftest.$ac_ext <<_ACEOF
81072 /* end confdefs.h. */
81073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81075 #define $ac_func innocuous_$ac_func
81077 /* System header to define __stub macros and hopefully few prototypes,
81078 which can conflict with char $ac_func (); below.
81079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81080 <limits.h> exists even on freestanding compilers. */
81082 #ifdef __STDC__
81083 # include <limits.h>
81084 #else
81085 # include <assert.h>
81086 #endif
81088 #undef $ac_func
81090 /* Override any gcc2 internal prototype to avoid an error. */
81091 #ifdef __cplusplus
81092 extern "C"
81094 #endif
81095 /* We use char because int might match the return type of a gcc2
81096 builtin and then its argument prototype would still apply. */
81097 char $ac_func ();
81098 /* The GNU C library defines this for functions which it implements
81099 to always fail with ENOSYS. Some functions are actually named
81100 something starting with __ and the normal name is an alias. */
81101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81102 choke me
81103 #else
81104 char (*f) () = $ac_func;
81105 #endif
81106 #ifdef __cplusplus
81108 #endif
81111 main ()
81113 return f != $ac_func;
81115 return 0;
81117 _ACEOF
81118 rm -f conftest.$ac_objext conftest$ac_exeext
81119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81120 (eval $ac_link) 2>conftest.er1
81121 ac_status=$?
81122 grep -v '^ *+' conftest.er1 >conftest.err
81123 rm -f conftest.er1
81124 cat conftest.err >&5
81125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81126 (exit $ac_status); } &&
81127 { ac_try='test -z "$ac_c_werror_flag"
81128 || test ! -s conftest.err'
81129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81130 (eval $ac_try) 2>&5
81131 ac_status=$?
81132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81133 (exit $ac_status); }; } &&
81134 { ac_try='test -s conftest$ac_exeext'
81135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81136 (eval $ac_try) 2>&5
81137 ac_status=$?
81138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81139 (exit $ac_status); }; }; then
81140 eval "$as_ac_var=yes"
81141 else
81142 echo "$as_me: failed program was:" >&5
81143 sed 's/^/| /' conftest.$ac_ext >&5
81145 eval "$as_ac_var=no"
81147 rm -f conftest.err conftest.$ac_objext \
81148 conftest$ac_exeext conftest.$ac_ext
81150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81152 if test `eval echo '${'$as_ac_var'}'` = yes; then
81153 cat >>confdefs.h <<_ACEOF
81154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81155 _ACEOF
81158 done
81168 echo "$as_me:$LINENO: checking for powl declaration" >&5
81169 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
81170 if test x${glibcxx_cv_func_powl_use+set} != xset; then
81171 if test "${glibcxx_cv_func_powl_use+set}" = set; then
81172 echo $ECHO_N "(cached) $ECHO_C" >&6
81173 else
81177 ac_ext=cc
81178 ac_cpp='$CXXCPP $CPPFLAGS'
81179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81183 cat >conftest.$ac_ext <<_ACEOF
81184 /* confdefs.h. */
81185 _ACEOF
81186 cat confdefs.h >>conftest.$ac_ext
81187 cat >>conftest.$ac_ext <<_ACEOF
81188 /* end confdefs.h. */
81189 #include <math.h>
81191 main ()
81193 powl(0, 0);
81195 return 0;
81197 _ACEOF
81198 rm -f conftest.$ac_objext
81199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81200 (eval $ac_compile) 2>conftest.er1
81201 ac_status=$?
81202 grep -v '^ *+' conftest.er1 >conftest.err
81203 rm -f conftest.er1
81204 cat conftest.err >&5
81205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81206 (exit $ac_status); } &&
81207 { ac_try='test -z "$ac_cxx_werror_flag"
81208 || test ! -s conftest.err'
81209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81210 (eval $ac_try) 2>&5
81211 ac_status=$?
81212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81213 (exit $ac_status); }; } &&
81214 { ac_try='test -s conftest.$ac_objext'
81215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81216 (eval $ac_try) 2>&5
81217 ac_status=$?
81218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81219 (exit $ac_status); }; }; then
81220 glibcxx_cv_func_powl_use=yes
81221 else
81222 echo "$as_me: failed program was:" >&5
81223 sed 's/^/| /' conftest.$ac_ext >&5
81225 glibcxx_cv_func_powl_use=no
81227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81228 ac_ext=c
81229 ac_cpp='$CPP $CPPFLAGS'
81230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81239 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81241 if test x$glibcxx_cv_func_powl_use = x"yes"; then
81243 for ac_func in powl
81245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81246 echo "$as_me:$LINENO: checking for $ac_func" >&5
81247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81248 if eval "test \"\${$as_ac_var+set}\" = set"; then
81249 echo $ECHO_N "(cached) $ECHO_C" >&6
81250 else
81251 if test x$gcc_no_link = xyes; then
81252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81254 { (exit 1); exit 1; }; }
81256 cat >conftest.$ac_ext <<_ACEOF
81257 /* confdefs.h. */
81258 _ACEOF
81259 cat confdefs.h >>conftest.$ac_ext
81260 cat >>conftest.$ac_ext <<_ACEOF
81261 /* end confdefs.h. */
81262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81264 #define $ac_func innocuous_$ac_func
81266 /* System header to define __stub macros and hopefully few prototypes,
81267 which can conflict with char $ac_func (); below.
81268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81269 <limits.h> exists even on freestanding compilers. */
81271 #ifdef __STDC__
81272 # include <limits.h>
81273 #else
81274 # include <assert.h>
81275 #endif
81277 #undef $ac_func
81279 /* Override any gcc2 internal prototype to avoid an error. */
81280 #ifdef __cplusplus
81281 extern "C"
81283 #endif
81284 /* We use char because int might match the return type of a gcc2
81285 builtin and then its argument prototype would still apply. */
81286 char $ac_func ();
81287 /* The GNU C library defines this for functions which it implements
81288 to always fail with ENOSYS. Some functions are actually named
81289 something starting with __ and the normal name is an alias. */
81290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81291 choke me
81292 #else
81293 char (*f) () = $ac_func;
81294 #endif
81295 #ifdef __cplusplus
81297 #endif
81300 main ()
81302 return f != $ac_func;
81304 return 0;
81306 _ACEOF
81307 rm -f conftest.$ac_objext conftest$ac_exeext
81308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81309 (eval $ac_link) 2>conftest.er1
81310 ac_status=$?
81311 grep -v '^ *+' conftest.er1 >conftest.err
81312 rm -f conftest.er1
81313 cat conftest.err >&5
81314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81315 (exit $ac_status); } &&
81316 { ac_try='test -z "$ac_c_werror_flag"
81317 || test ! -s conftest.err'
81318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81319 (eval $ac_try) 2>&5
81320 ac_status=$?
81321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81322 (exit $ac_status); }; } &&
81323 { ac_try='test -s conftest$ac_exeext'
81324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81325 (eval $ac_try) 2>&5
81326 ac_status=$?
81327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81328 (exit $ac_status); }; }; then
81329 eval "$as_ac_var=yes"
81330 else
81331 echo "$as_me: failed program was:" >&5
81332 sed 's/^/| /' conftest.$ac_ext >&5
81334 eval "$as_ac_var=no"
81336 rm -f conftest.err conftest.$ac_objext \
81337 conftest$ac_exeext conftest.$ac_ext
81339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81341 if test `eval echo '${'$as_ac_var'}'` = yes; then
81342 cat >>confdefs.h <<_ACEOF
81343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81344 _ACEOF
81347 done
81349 else
81351 echo "$as_me:$LINENO: checking for _powl declaration" >&5
81352 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81353 if test x${glibcxx_cv_func__powl_use+set} != xset; then
81354 if test "${glibcxx_cv_func__powl_use+set}" = set; then
81355 echo $ECHO_N "(cached) $ECHO_C" >&6
81356 else
81360 ac_ext=cc
81361 ac_cpp='$CXXCPP $CPPFLAGS'
81362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81366 cat >conftest.$ac_ext <<_ACEOF
81367 /* confdefs.h. */
81368 _ACEOF
81369 cat confdefs.h >>conftest.$ac_ext
81370 cat >>conftest.$ac_ext <<_ACEOF
81371 /* end confdefs.h. */
81372 #include <math.h>
81374 main ()
81376 _powl(0, 0);
81378 return 0;
81380 _ACEOF
81381 rm -f conftest.$ac_objext
81382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81383 (eval $ac_compile) 2>conftest.er1
81384 ac_status=$?
81385 grep -v '^ *+' conftest.er1 >conftest.err
81386 rm -f conftest.er1
81387 cat conftest.err >&5
81388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81389 (exit $ac_status); } &&
81390 { ac_try='test -z "$ac_cxx_werror_flag"
81391 || test ! -s conftest.err'
81392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81393 (eval $ac_try) 2>&5
81394 ac_status=$?
81395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81396 (exit $ac_status); }; } &&
81397 { ac_try='test -s conftest.$ac_objext'
81398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81399 (eval $ac_try) 2>&5
81400 ac_status=$?
81401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81402 (exit $ac_status); }; }; then
81403 glibcxx_cv_func__powl_use=yes
81404 else
81405 echo "$as_me: failed program was:" >&5
81406 sed 's/^/| /' conftest.$ac_ext >&5
81408 glibcxx_cv_func__powl_use=no
81410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81411 ac_ext=c
81412 ac_cpp='$CPP $CPPFLAGS'
81413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
81422 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
81424 if test x$glibcxx_cv_func__powl_use = x"yes"; then
81426 for ac_func in _powl
81428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81429 echo "$as_me:$LINENO: checking for $ac_func" >&5
81430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81431 if eval "test \"\${$as_ac_var+set}\" = set"; then
81432 echo $ECHO_N "(cached) $ECHO_C" >&6
81433 else
81434 if test x$gcc_no_link = xyes; then
81435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81437 { (exit 1); exit 1; }; }
81439 cat >conftest.$ac_ext <<_ACEOF
81440 /* confdefs.h. */
81441 _ACEOF
81442 cat confdefs.h >>conftest.$ac_ext
81443 cat >>conftest.$ac_ext <<_ACEOF
81444 /* end confdefs.h. */
81445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81447 #define $ac_func innocuous_$ac_func
81449 /* System header to define __stub macros and hopefully few prototypes,
81450 which can conflict with char $ac_func (); below.
81451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81452 <limits.h> exists even on freestanding compilers. */
81454 #ifdef __STDC__
81455 # include <limits.h>
81456 #else
81457 # include <assert.h>
81458 #endif
81460 #undef $ac_func
81462 /* Override any gcc2 internal prototype to avoid an error. */
81463 #ifdef __cplusplus
81464 extern "C"
81466 #endif
81467 /* We use char because int might match the return type of a gcc2
81468 builtin and then its argument prototype would still apply. */
81469 char $ac_func ();
81470 /* The GNU C library defines this for functions which it implements
81471 to always fail with ENOSYS. Some functions are actually named
81472 something starting with __ and the normal name is an alias. */
81473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81474 choke me
81475 #else
81476 char (*f) () = $ac_func;
81477 #endif
81478 #ifdef __cplusplus
81480 #endif
81483 main ()
81485 return f != $ac_func;
81487 return 0;
81489 _ACEOF
81490 rm -f conftest.$ac_objext conftest$ac_exeext
81491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81492 (eval $ac_link) 2>conftest.er1
81493 ac_status=$?
81494 grep -v '^ *+' conftest.er1 >conftest.err
81495 rm -f conftest.er1
81496 cat conftest.err >&5
81497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81498 (exit $ac_status); } &&
81499 { ac_try='test -z "$ac_c_werror_flag"
81500 || test ! -s conftest.err'
81501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81502 (eval $ac_try) 2>&5
81503 ac_status=$?
81504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81505 (exit $ac_status); }; } &&
81506 { ac_try='test -s conftest$ac_exeext'
81507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81508 (eval $ac_try) 2>&5
81509 ac_status=$?
81510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81511 (exit $ac_status); }; }; then
81512 eval "$as_ac_var=yes"
81513 else
81514 echo "$as_me: failed program was:" >&5
81515 sed 's/^/| /' conftest.$ac_ext >&5
81517 eval "$as_ac_var=no"
81519 rm -f conftest.err conftest.$ac_objext \
81520 conftest$ac_exeext conftest.$ac_ext
81522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81524 if test `eval echo '${'$as_ac_var'}'` = yes; then
81525 cat >>confdefs.h <<_ACEOF
81526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81527 _ACEOF
81530 done
81540 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81541 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81542 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81543 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81544 echo $ECHO_N "(cached) $ECHO_C" >&6
81545 else
81549 ac_ext=cc
81550 ac_cpp='$CXXCPP $CPPFLAGS'
81551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81555 cat >conftest.$ac_ext <<_ACEOF
81556 /* confdefs.h. */
81557 _ACEOF
81558 cat confdefs.h >>conftest.$ac_ext
81559 cat >>conftest.$ac_ext <<_ACEOF
81560 /* end confdefs.h. */
81561 #include <math.h>
81562 #ifdef HAVE_IEEEFP_H
81563 #include <ieeefp.h>
81564 #endif
81567 main ()
81569 sqrtl(0);
81571 return 0;
81573 _ACEOF
81574 rm -f conftest.$ac_objext
81575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81576 (eval $ac_compile) 2>conftest.er1
81577 ac_status=$?
81578 grep -v '^ *+' conftest.er1 >conftest.err
81579 rm -f conftest.er1
81580 cat conftest.err >&5
81581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81582 (exit $ac_status); } &&
81583 { ac_try='test -z "$ac_cxx_werror_flag"
81584 || test ! -s conftest.err'
81585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81586 (eval $ac_try) 2>&5
81587 ac_status=$?
81588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81589 (exit $ac_status); }; } &&
81590 { ac_try='test -s conftest.$ac_objext'
81591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81592 (eval $ac_try) 2>&5
81593 ac_status=$?
81594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81595 (exit $ac_status); }; }; then
81596 glibcxx_cv_func_sqrtl_use=yes
81597 else
81598 echo "$as_me: failed program was:" >&5
81599 sed 's/^/| /' conftest.$ac_ext >&5
81601 glibcxx_cv_func_sqrtl_use=no
81603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81604 ac_ext=c
81605 ac_cpp='$CPP $CPPFLAGS'
81606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81614 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81615 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81617 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81619 for ac_func in sqrtl
81621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81622 echo "$as_me:$LINENO: checking for $ac_func" >&5
81623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81624 if eval "test \"\${$as_ac_var+set}\" = set"; then
81625 echo $ECHO_N "(cached) $ECHO_C" >&6
81626 else
81627 if test x$gcc_no_link = xyes; then
81628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81630 { (exit 1); exit 1; }; }
81632 cat >conftest.$ac_ext <<_ACEOF
81633 /* confdefs.h. */
81634 _ACEOF
81635 cat confdefs.h >>conftest.$ac_ext
81636 cat >>conftest.$ac_ext <<_ACEOF
81637 /* end confdefs.h. */
81638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81640 #define $ac_func innocuous_$ac_func
81642 /* System header to define __stub macros and hopefully few prototypes,
81643 which can conflict with char $ac_func (); below.
81644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81645 <limits.h> exists even on freestanding compilers. */
81647 #ifdef __STDC__
81648 # include <limits.h>
81649 #else
81650 # include <assert.h>
81651 #endif
81653 #undef $ac_func
81655 /* Override any gcc2 internal prototype to avoid an error. */
81656 #ifdef __cplusplus
81657 extern "C"
81659 #endif
81660 /* We use char because int might match the return type of a gcc2
81661 builtin and then its argument prototype would still apply. */
81662 char $ac_func ();
81663 /* The GNU C library defines this for functions which it implements
81664 to always fail with ENOSYS. Some functions are actually named
81665 something starting with __ and the normal name is an alias. */
81666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81667 choke me
81668 #else
81669 char (*f) () = $ac_func;
81670 #endif
81671 #ifdef __cplusplus
81673 #endif
81676 main ()
81678 return f != $ac_func;
81680 return 0;
81682 _ACEOF
81683 rm -f conftest.$ac_objext conftest$ac_exeext
81684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81685 (eval $ac_link) 2>conftest.er1
81686 ac_status=$?
81687 grep -v '^ *+' conftest.er1 >conftest.err
81688 rm -f conftest.er1
81689 cat conftest.err >&5
81690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81691 (exit $ac_status); } &&
81692 { ac_try='test -z "$ac_c_werror_flag"
81693 || test ! -s conftest.err'
81694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81695 (eval $ac_try) 2>&5
81696 ac_status=$?
81697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81698 (exit $ac_status); }; } &&
81699 { ac_try='test -s conftest$ac_exeext'
81700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81701 (eval $ac_try) 2>&5
81702 ac_status=$?
81703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81704 (exit $ac_status); }; }; then
81705 eval "$as_ac_var=yes"
81706 else
81707 echo "$as_me: failed program was:" >&5
81708 sed 's/^/| /' conftest.$ac_ext >&5
81710 eval "$as_ac_var=no"
81712 rm -f conftest.err conftest.$ac_objext \
81713 conftest$ac_exeext conftest.$ac_ext
81715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81717 if test `eval echo '${'$as_ac_var'}'` = yes; then
81718 cat >>confdefs.h <<_ACEOF
81719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81720 _ACEOF
81723 done
81725 else
81727 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81728 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81729 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81730 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81731 echo $ECHO_N "(cached) $ECHO_C" >&6
81732 else
81736 ac_ext=cc
81737 ac_cpp='$CXXCPP $CPPFLAGS'
81738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81742 cat >conftest.$ac_ext <<_ACEOF
81743 /* confdefs.h. */
81744 _ACEOF
81745 cat confdefs.h >>conftest.$ac_ext
81746 cat >>conftest.$ac_ext <<_ACEOF
81747 /* end confdefs.h. */
81748 #include <math.h>
81749 #ifdef HAVE_IEEEFP_H
81750 #include <ieeefp.h>
81751 #endif
81754 main ()
81756 _sqrtl(0);
81758 return 0;
81760 _ACEOF
81761 rm -f conftest.$ac_objext
81762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81763 (eval $ac_compile) 2>conftest.er1
81764 ac_status=$?
81765 grep -v '^ *+' conftest.er1 >conftest.err
81766 rm -f conftest.er1
81767 cat conftest.err >&5
81768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81769 (exit $ac_status); } &&
81770 { ac_try='test -z "$ac_cxx_werror_flag"
81771 || test ! -s conftest.err'
81772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81773 (eval $ac_try) 2>&5
81774 ac_status=$?
81775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81776 (exit $ac_status); }; } &&
81777 { ac_try='test -s conftest.$ac_objext'
81778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81779 (eval $ac_try) 2>&5
81780 ac_status=$?
81781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81782 (exit $ac_status); }; }; then
81783 glibcxx_cv_func__sqrtl_use=yes
81784 else
81785 echo "$as_me: failed program was:" >&5
81786 sed 's/^/| /' conftest.$ac_ext >&5
81788 glibcxx_cv_func__sqrtl_use=no
81790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81791 ac_ext=c
81792 ac_cpp='$CPP $CPPFLAGS'
81793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81802 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81804 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81806 for ac_func in _sqrtl
81808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81809 echo "$as_me:$LINENO: checking for $ac_func" >&5
81810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81811 if eval "test \"\${$as_ac_var+set}\" = set"; then
81812 echo $ECHO_N "(cached) $ECHO_C" >&6
81813 else
81814 if test x$gcc_no_link = xyes; then
81815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81817 { (exit 1); exit 1; }; }
81819 cat >conftest.$ac_ext <<_ACEOF
81820 /* confdefs.h. */
81821 _ACEOF
81822 cat confdefs.h >>conftest.$ac_ext
81823 cat >>conftest.$ac_ext <<_ACEOF
81824 /* end confdefs.h. */
81825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81827 #define $ac_func innocuous_$ac_func
81829 /* System header to define __stub macros and hopefully few prototypes,
81830 which can conflict with char $ac_func (); below.
81831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81832 <limits.h> exists even on freestanding compilers. */
81834 #ifdef __STDC__
81835 # include <limits.h>
81836 #else
81837 # include <assert.h>
81838 #endif
81840 #undef $ac_func
81842 /* Override any gcc2 internal prototype to avoid an error. */
81843 #ifdef __cplusplus
81844 extern "C"
81846 #endif
81847 /* We use char because int might match the return type of a gcc2
81848 builtin and then its argument prototype would still apply. */
81849 char $ac_func ();
81850 /* The GNU C library defines this for functions which it implements
81851 to always fail with ENOSYS. Some functions are actually named
81852 something starting with __ and the normal name is an alias. */
81853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81854 choke me
81855 #else
81856 char (*f) () = $ac_func;
81857 #endif
81858 #ifdef __cplusplus
81860 #endif
81863 main ()
81865 return f != $ac_func;
81867 return 0;
81869 _ACEOF
81870 rm -f conftest.$ac_objext conftest$ac_exeext
81871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81872 (eval $ac_link) 2>conftest.er1
81873 ac_status=$?
81874 grep -v '^ *+' conftest.er1 >conftest.err
81875 rm -f conftest.er1
81876 cat conftest.err >&5
81877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81878 (exit $ac_status); } &&
81879 { ac_try='test -z "$ac_c_werror_flag"
81880 || test ! -s conftest.err'
81881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81882 (eval $ac_try) 2>&5
81883 ac_status=$?
81884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81885 (exit $ac_status); }; } &&
81886 { ac_try='test -s conftest$ac_exeext'
81887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81888 (eval $ac_try) 2>&5
81889 ac_status=$?
81890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81891 (exit $ac_status); }; }; then
81892 eval "$as_ac_var=yes"
81893 else
81894 echo "$as_me: failed program was:" >&5
81895 sed 's/^/| /' conftest.$ac_ext >&5
81897 eval "$as_ac_var=no"
81899 rm -f conftest.err conftest.$ac_objext \
81900 conftest$ac_exeext conftest.$ac_ext
81902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81904 if test `eval echo '${'$as_ac_var'}'` = yes; then
81905 cat >>confdefs.h <<_ACEOF
81906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81907 _ACEOF
81910 done
81920 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81921 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81922 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81923 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81924 echo $ECHO_N "(cached) $ECHO_C" >&6
81925 else
81929 ac_ext=cc
81930 ac_cpp='$CXXCPP $CPPFLAGS'
81931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81935 cat >conftest.$ac_ext <<_ACEOF
81936 /* confdefs.h. */
81937 _ACEOF
81938 cat confdefs.h >>conftest.$ac_ext
81939 cat >>conftest.$ac_ext <<_ACEOF
81940 /* end confdefs.h. */
81941 #include <math.h>
81943 main ()
81945 sincosl(0, 0, 0);
81947 return 0;
81949 _ACEOF
81950 rm -f conftest.$ac_objext
81951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81952 (eval $ac_compile) 2>conftest.er1
81953 ac_status=$?
81954 grep -v '^ *+' conftest.er1 >conftest.err
81955 rm -f conftest.er1
81956 cat conftest.err >&5
81957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81958 (exit $ac_status); } &&
81959 { ac_try='test -z "$ac_cxx_werror_flag"
81960 || test ! -s conftest.err'
81961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81962 (eval $ac_try) 2>&5
81963 ac_status=$?
81964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81965 (exit $ac_status); }; } &&
81966 { ac_try='test -s conftest.$ac_objext'
81967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81968 (eval $ac_try) 2>&5
81969 ac_status=$?
81970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81971 (exit $ac_status); }; }; then
81972 glibcxx_cv_func_sincosl_use=yes
81973 else
81974 echo "$as_me: failed program was:" >&5
81975 sed 's/^/| /' conftest.$ac_ext >&5
81977 glibcxx_cv_func_sincosl_use=no
81979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81980 ac_ext=c
81981 ac_cpp='$CPP $CPPFLAGS'
81982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81991 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81993 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81995 for ac_func in sincosl
81997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81998 echo "$as_me:$LINENO: checking for $ac_func" >&5
81999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82000 if eval "test \"\${$as_ac_var+set}\" = set"; then
82001 echo $ECHO_N "(cached) $ECHO_C" >&6
82002 else
82003 if test x$gcc_no_link = xyes; then
82004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82006 { (exit 1); exit 1; }; }
82008 cat >conftest.$ac_ext <<_ACEOF
82009 /* confdefs.h. */
82010 _ACEOF
82011 cat confdefs.h >>conftest.$ac_ext
82012 cat >>conftest.$ac_ext <<_ACEOF
82013 /* end confdefs.h. */
82014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82016 #define $ac_func innocuous_$ac_func
82018 /* System header to define __stub macros and hopefully few prototypes,
82019 which can conflict with char $ac_func (); below.
82020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82021 <limits.h> exists even on freestanding compilers. */
82023 #ifdef __STDC__
82024 # include <limits.h>
82025 #else
82026 # include <assert.h>
82027 #endif
82029 #undef $ac_func
82031 /* Override any gcc2 internal prototype to avoid an error. */
82032 #ifdef __cplusplus
82033 extern "C"
82035 #endif
82036 /* We use char because int might match the return type of a gcc2
82037 builtin and then its argument prototype would still apply. */
82038 char $ac_func ();
82039 /* The GNU C library defines this for functions which it implements
82040 to always fail with ENOSYS. Some functions are actually named
82041 something starting with __ and the normal name is an alias. */
82042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82043 choke me
82044 #else
82045 char (*f) () = $ac_func;
82046 #endif
82047 #ifdef __cplusplus
82049 #endif
82052 main ()
82054 return f != $ac_func;
82056 return 0;
82058 _ACEOF
82059 rm -f conftest.$ac_objext conftest$ac_exeext
82060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82061 (eval $ac_link) 2>conftest.er1
82062 ac_status=$?
82063 grep -v '^ *+' conftest.er1 >conftest.err
82064 rm -f conftest.er1
82065 cat conftest.err >&5
82066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82067 (exit $ac_status); } &&
82068 { ac_try='test -z "$ac_c_werror_flag"
82069 || test ! -s conftest.err'
82070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82071 (eval $ac_try) 2>&5
82072 ac_status=$?
82073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82074 (exit $ac_status); }; } &&
82075 { ac_try='test -s conftest$ac_exeext'
82076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82077 (eval $ac_try) 2>&5
82078 ac_status=$?
82079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82080 (exit $ac_status); }; }; then
82081 eval "$as_ac_var=yes"
82082 else
82083 echo "$as_me: failed program was:" >&5
82084 sed 's/^/| /' conftest.$ac_ext >&5
82086 eval "$as_ac_var=no"
82088 rm -f conftest.err conftest.$ac_objext \
82089 conftest$ac_exeext conftest.$ac_ext
82091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82093 if test `eval echo '${'$as_ac_var'}'` = yes; then
82094 cat >>confdefs.h <<_ACEOF
82095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82096 _ACEOF
82099 done
82101 else
82103 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
82104 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
82105 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
82106 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
82107 echo $ECHO_N "(cached) $ECHO_C" >&6
82108 else
82112 ac_ext=cc
82113 ac_cpp='$CXXCPP $CPPFLAGS'
82114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82118 cat >conftest.$ac_ext <<_ACEOF
82119 /* confdefs.h. */
82120 _ACEOF
82121 cat confdefs.h >>conftest.$ac_ext
82122 cat >>conftest.$ac_ext <<_ACEOF
82123 /* end confdefs.h. */
82124 #include <math.h>
82126 main ()
82128 _sincosl(0, 0, 0);
82130 return 0;
82132 _ACEOF
82133 rm -f conftest.$ac_objext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82135 (eval $ac_compile) 2>conftest.er1
82136 ac_status=$?
82137 grep -v '^ *+' conftest.er1 >conftest.err
82138 rm -f conftest.er1
82139 cat conftest.err >&5
82140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141 (exit $ac_status); } &&
82142 { ac_try='test -z "$ac_cxx_werror_flag"
82143 || test ! -s conftest.err'
82144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145 (eval $ac_try) 2>&5
82146 ac_status=$?
82147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148 (exit $ac_status); }; } &&
82149 { ac_try='test -s conftest.$ac_objext'
82150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82151 (eval $ac_try) 2>&5
82152 ac_status=$?
82153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82154 (exit $ac_status); }; }; then
82155 glibcxx_cv_func__sincosl_use=yes
82156 else
82157 echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82160 glibcxx_cv_func__sincosl_use=no
82162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82163 ac_ext=c
82164 ac_cpp='$CPP $CPPFLAGS'
82165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
82174 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
82176 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
82178 for ac_func in _sincosl
82180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82181 echo "$as_me:$LINENO: checking for $ac_func" >&5
82182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82183 if eval "test \"\${$as_ac_var+set}\" = set"; then
82184 echo $ECHO_N "(cached) $ECHO_C" >&6
82185 else
82186 if test x$gcc_no_link = xyes; then
82187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82189 { (exit 1); exit 1; }; }
82191 cat >conftest.$ac_ext <<_ACEOF
82192 /* confdefs.h. */
82193 _ACEOF
82194 cat confdefs.h >>conftest.$ac_ext
82195 cat >>conftest.$ac_ext <<_ACEOF
82196 /* end confdefs.h. */
82197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82199 #define $ac_func innocuous_$ac_func
82201 /* System header to define __stub macros and hopefully few prototypes,
82202 which can conflict with char $ac_func (); below.
82203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82204 <limits.h> exists even on freestanding compilers. */
82206 #ifdef __STDC__
82207 # include <limits.h>
82208 #else
82209 # include <assert.h>
82210 #endif
82212 #undef $ac_func
82214 /* Override any gcc2 internal prototype to avoid an error. */
82215 #ifdef __cplusplus
82216 extern "C"
82218 #endif
82219 /* We use char because int might match the return type of a gcc2
82220 builtin and then its argument prototype would still apply. */
82221 char $ac_func ();
82222 /* The GNU C library defines this for functions which it implements
82223 to always fail with ENOSYS. Some functions are actually named
82224 something starting with __ and the normal name is an alias. */
82225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82226 choke me
82227 #else
82228 char (*f) () = $ac_func;
82229 #endif
82230 #ifdef __cplusplus
82232 #endif
82235 main ()
82237 return f != $ac_func;
82239 return 0;
82241 _ACEOF
82242 rm -f conftest.$ac_objext conftest$ac_exeext
82243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82244 (eval $ac_link) 2>conftest.er1
82245 ac_status=$?
82246 grep -v '^ *+' conftest.er1 >conftest.err
82247 rm -f conftest.er1
82248 cat conftest.err >&5
82249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82250 (exit $ac_status); } &&
82251 { ac_try='test -z "$ac_c_werror_flag"
82252 || test ! -s conftest.err'
82253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82254 (eval $ac_try) 2>&5
82255 ac_status=$?
82256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82257 (exit $ac_status); }; } &&
82258 { ac_try='test -s conftest$ac_exeext'
82259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82260 (eval $ac_try) 2>&5
82261 ac_status=$?
82262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82263 (exit $ac_status); }; }; then
82264 eval "$as_ac_var=yes"
82265 else
82266 echo "$as_me: failed program was:" >&5
82267 sed 's/^/| /' conftest.$ac_ext >&5
82269 eval "$as_ac_var=no"
82271 rm -f conftest.err conftest.$ac_objext \
82272 conftest$ac_exeext conftest.$ac_ext
82274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82276 if test `eval echo '${'$as_ac_var'}'` = yes; then
82277 cat >>confdefs.h <<_ACEOF
82278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82279 _ACEOF
82282 done
82292 echo "$as_me:$LINENO: checking for finitel declaration" >&5
82293 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82294 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82295 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82296 echo $ECHO_N "(cached) $ECHO_C" >&6
82297 else
82301 ac_ext=cc
82302 ac_cpp='$CXXCPP $CPPFLAGS'
82303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82307 cat >conftest.$ac_ext <<_ACEOF
82308 /* confdefs.h. */
82309 _ACEOF
82310 cat confdefs.h >>conftest.$ac_ext
82311 cat >>conftest.$ac_ext <<_ACEOF
82312 /* end confdefs.h. */
82313 #include <math.h>
82314 #ifdef HAVE_IEEEFP_H
82315 #include <ieeefp.h>
82316 #endif
82319 main ()
82321 finitel(0);
82323 return 0;
82325 _ACEOF
82326 rm -f conftest.$ac_objext
82327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82328 (eval $ac_compile) 2>conftest.er1
82329 ac_status=$?
82330 grep -v '^ *+' conftest.er1 >conftest.err
82331 rm -f conftest.er1
82332 cat conftest.err >&5
82333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334 (exit $ac_status); } &&
82335 { ac_try='test -z "$ac_cxx_werror_flag"
82336 || test ! -s conftest.err'
82337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82338 (eval $ac_try) 2>&5
82339 ac_status=$?
82340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82341 (exit $ac_status); }; } &&
82342 { ac_try='test -s conftest.$ac_objext'
82343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82344 (eval $ac_try) 2>&5
82345 ac_status=$?
82346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82347 (exit $ac_status); }; }; then
82348 glibcxx_cv_func_finitel_use=yes
82349 else
82350 echo "$as_me: failed program was:" >&5
82351 sed 's/^/| /' conftest.$ac_ext >&5
82353 glibcxx_cv_func_finitel_use=no
82355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82356 ac_ext=c
82357 ac_cpp='$CPP $CPPFLAGS'
82358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
82367 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
82369 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
82371 for ac_func in finitel
82373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82374 echo "$as_me:$LINENO: checking for $ac_func" >&5
82375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82376 if eval "test \"\${$as_ac_var+set}\" = set"; then
82377 echo $ECHO_N "(cached) $ECHO_C" >&6
82378 else
82379 if test x$gcc_no_link = xyes; then
82380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82382 { (exit 1); exit 1; }; }
82384 cat >conftest.$ac_ext <<_ACEOF
82385 /* confdefs.h. */
82386 _ACEOF
82387 cat confdefs.h >>conftest.$ac_ext
82388 cat >>conftest.$ac_ext <<_ACEOF
82389 /* end confdefs.h. */
82390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82392 #define $ac_func innocuous_$ac_func
82394 /* System header to define __stub macros and hopefully few prototypes,
82395 which can conflict with char $ac_func (); below.
82396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82397 <limits.h> exists even on freestanding compilers. */
82399 #ifdef __STDC__
82400 # include <limits.h>
82401 #else
82402 # include <assert.h>
82403 #endif
82405 #undef $ac_func
82407 /* Override any gcc2 internal prototype to avoid an error. */
82408 #ifdef __cplusplus
82409 extern "C"
82411 #endif
82412 /* We use char because int might match the return type of a gcc2
82413 builtin and then its argument prototype would still apply. */
82414 char $ac_func ();
82415 /* The GNU C library defines this for functions which it implements
82416 to always fail with ENOSYS. Some functions are actually named
82417 something starting with __ and the normal name is an alias. */
82418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82419 choke me
82420 #else
82421 char (*f) () = $ac_func;
82422 #endif
82423 #ifdef __cplusplus
82425 #endif
82428 main ()
82430 return f != $ac_func;
82432 return 0;
82434 _ACEOF
82435 rm -f conftest.$ac_objext conftest$ac_exeext
82436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82437 (eval $ac_link) 2>conftest.er1
82438 ac_status=$?
82439 grep -v '^ *+' conftest.er1 >conftest.err
82440 rm -f conftest.er1
82441 cat conftest.err >&5
82442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82443 (exit $ac_status); } &&
82444 { ac_try='test -z "$ac_c_werror_flag"
82445 || test ! -s conftest.err'
82446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82447 (eval $ac_try) 2>&5
82448 ac_status=$?
82449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82450 (exit $ac_status); }; } &&
82451 { ac_try='test -s conftest$ac_exeext'
82452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82453 (eval $ac_try) 2>&5
82454 ac_status=$?
82455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82456 (exit $ac_status); }; }; then
82457 eval "$as_ac_var=yes"
82458 else
82459 echo "$as_me: failed program was:" >&5
82460 sed 's/^/| /' conftest.$ac_ext >&5
82462 eval "$as_ac_var=no"
82464 rm -f conftest.err conftest.$ac_objext \
82465 conftest$ac_exeext conftest.$ac_ext
82467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82469 if test `eval echo '${'$as_ac_var'}'` = yes; then
82470 cat >>confdefs.h <<_ACEOF
82471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82472 _ACEOF
82475 done
82477 else
82479 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
82480 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
82481 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
82482 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
82483 echo $ECHO_N "(cached) $ECHO_C" >&6
82484 else
82488 ac_ext=cc
82489 ac_cpp='$CXXCPP $CPPFLAGS'
82490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82494 cat >conftest.$ac_ext <<_ACEOF
82495 /* confdefs.h. */
82496 _ACEOF
82497 cat confdefs.h >>conftest.$ac_ext
82498 cat >>conftest.$ac_ext <<_ACEOF
82499 /* end confdefs.h. */
82500 #include <math.h>
82501 #ifdef HAVE_IEEEFP_H
82502 #include <ieeefp.h>
82503 #endif
82506 main ()
82508 _finitel(0);
82510 return 0;
82512 _ACEOF
82513 rm -f conftest.$ac_objext
82514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82515 (eval $ac_compile) 2>conftest.er1
82516 ac_status=$?
82517 grep -v '^ *+' conftest.er1 >conftest.err
82518 rm -f conftest.er1
82519 cat conftest.err >&5
82520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82521 (exit $ac_status); } &&
82522 { ac_try='test -z "$ac_cxx_werror_flag"
82523 || test ! -s conftest.err'
82524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82525 (eval $ac_try) 2>&5
82526 ac_status=$?
82527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82528 (exit $ac_status); }; } &&
82529 { ac_try='test -s conftest.$ac_objext'
82530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82531 (eval $ac_try) 2>&5
82532 ac_status=$?
82533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82534 (exit $ac_status); }; }; then
82535 glibcxx_cv_func__finitel_use=yes
82536 else
82537 echo "$as_me: failed program was:" >&5
82538 sed 's/^/| /' conftest.$ac_ext >&5
82540 glibcxx_cv_func__finitel_use=no
82542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82543 ac_ext=c
82544 ac_cpp='$CPP $CPPFLAGS'
82545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82554 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82556 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82558 for ac_func in _finitel
82560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82561 echo "$as_me:$LINENO: checking for $ac_func" >&5
82562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82563 if eval "test \"\${$as_ac_var+set}\" = set"; then
82564 echo $ECHO_N "(cached) $ECHO_C" >&6
82565 else
82566 if test x$gcc_no_link = xyes; then
82567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82569 { (exit 1); exit 1; }; }
82571 cat >conftest.$ac_ext <<_ACEOF
82572 /* confdefs.h. */
82573 _ACEOF
82574 cat confdefs.h >>conftest.$ac_ext
82575 cat >>conftest.$ac_ext <<_ACEOF
82576 /* end confdefs.h. */
82577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82579 #define $ac_func innocuous_$ac_func
82581 /* System header to define __stub macros and hopefully few prototypes,
82582 which can conflict with char $ac_func (); below.
82583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82584 <limits.h> exists even on freestanding compilers. */
82586 #ifdef __STDC__
82587 # include <limits.h>
82588 #else
82589 # include <assert.h>
82590 #endif
82592 #undef $ac_func
82594 /* Override any gcc2 internal prototype to avoid an error. */
82595 #ifdef __cplusplus
82596 extern "C"
82598 #endif
82599 /* We use char because int might match the return type of a gcc2
82600 builtin and then its argument prototype would still apply. */
82601 char $ac_func ();
82602 /* The GNU C library defines this for functions which it implements
82603 to always fail with ENOSYS. Some functions are actually named
82604 something starting with __ and the normal name is an alias. */
82605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82606 choke me
82607 #else
82608 char (*f) () = $ac_func;
82609 #endif
82610 #ifdef __cplusplus
82612 #endif
82615 main ()
82617 return f != $ac_func;
82619 return 0;
82621 _ACEOF
82622 rm -f conftest.$ac_objext conftest$ac_exeext
82623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82624 (eval $ac_link) 2>conftest.er1
82625 ac_status=$?
82626 grep -v '^ *+' conftest.er1 >conftest.err
82627 rm -f conftest.er1
82628 cat conftest.err >&5
82629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82630 (exit $ac_status); } &&
82631 { ac_try='test -z "$ac_c_werror_flag"
82632 || test ! -s conftest.err'
82633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82634 (eval $ac_try) 2>&5
82635 ac_status=$?
82636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82637 (exit $ac_status); }; } &&
82638 { ac_try='test -s conftest$ac_exeext'
82639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82640 (eval $ac_try) 2>&5
82641 ac_status=$?
82642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82643 (exit $ac_status); }; }; then
82644 eval "$as_ac_var=yes"
82645 else
82646 echo "$as_me: failed program was:" >&5
82647 sed 's/^/| /' conftest.$ac_ext >&5
82649 eval "$as_ac_var=no"
82651 rm -f conftest.err conftest.$ac_objext \
82652 conftest$ac_exeext conftest.$ac_ext
82654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82656 if test `eval echo '${'$as_ac_var'}'` = yes; then
82657 cat >>confdefs.h <<_ACEOF
82658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82659 _ACEOF
82662 done
82671 LIBS="$ac_save_LIBS"
82672 CXXFLAGS="$ac_save_CXXFLAGS"
82676 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82677 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82678 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82679 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82680 echo $ECHO_N "(cached) $ECHO_C" >&6
82681 else
82685 ac_ext=cc
82686 ac_cpp='$CXXCPP $CPPFLAGS'
82687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82691 cat >conftest.$ac_ext <<_ACEOF
82692 /* confdefs.h. */
82693 _ACEOF
82694 cat confdefs.h >>conftest.$ac_ext
82695 cat >>conftest.$ac_ext <<_ACEOF
82696 /* end confdefs.h. */
82697 #include <math.h>
82699 main ()
82701 __builtin_abs(0);
82703 return 0;
82705 _ACEOF
82706 rm -f conftest.$ac_objext
82707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82708 (eval $ac_compile) 2>conftest.er1
82709 ac_status=$?
82710 grep -v '^ *+' conftest.er1 >conftest.err
82711 rm -f conftest.er1
82712 cat conftest.err >&5
82713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82714 (exit $ac_status); } &&
82715 { ac_try='test -z "$ac_cxx_werror_flag"
82716 || test ! -s conftest.err'
82717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718 (eval $ac_try) 2>&5
82719 ac_status=$?
82720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721 (exit $ac_status); }; } &&
82722 { ac_try='test -s conftest.$ac_objext'
82723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82724 (eval $ac_try) 2>&5
82725 ac_status=$?
82726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727 (exit $ac_status); }; }; then
82728 glibcxx_cv_func___builtin_abs_use=yes
82729 else
82730 echo "$as_me: failed program was:" >&5
82731 sed 's/^/| /' conftest.$ac_ext >&5
82733 glibcxx_cv_func___builtin_abs_use=no
82735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82736 ac_ext=c
82737 ac_cpp='$CPP $CPPFLAGS'
82738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82747 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82748 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82749 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82750 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82751 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82752 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82753 echo $ECHO_N "(cached) $ECHO_C" >&6
82754 else
82756 if test x$gcc_no_link = xyes; then
82757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82759 { (exit 1); exit 1; }; }
82761 cat >conftest.$ac_ext <<_ACEOF
82762 /* confdefs.h. */
82763 _ACEOF
82764 cat confdefs.h >>conftest.$ac_ext
82765 cat >>conftest.$ac_ext <<_ACEOF
82766 /* end confdefs.h. */
82767 #include <math.h>
82769 main ()
82771 __builtin_abs(0);
82773 return 0;
82775 _ACEOF
82776 rm -f conftest.$ac_objext conftest$ac_exeext
82777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82778 (eval $ac_link) 2>conftest.er1
82779 ac_status=$?
82780 grep -v '^ *+' conftest.er1 >conftest.err
82781 rm -f conftest.er1
82782 cat conftest.err >&5
82783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82784 (exit $ac_status); } &&
82785 { ac_try='test -z "$ac_c_werror_flag"
82786 || test ! -s conftest.err'
82787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82788 (eval $ac_try) 2>&5
82789 ac_status=$?
82790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791 (exit $ac_status); }; } &&
82792 { ac_try='test -s conftest$ac_exeext'
82793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82794 (eval $ac_try) 2>&5
82795 ac_status=$?
82796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82797 (exit $ac_status); }; }; then
82798 glibcxx_cv_func___builtin_abs_link=yes
82799 else
82800 echo "$as_me: failed program was:" >&5
82801 sed 's/^/| /' conftest.$ac_ext >&5
82803 glibcxx_cv_func___builtin_abs_link=no
82805 rm -f conftest.err conftest.$ac_objext \
82806 conftest$ac_exeext conftest.$ac_ext
82811 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82812 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82814 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82816 cat >>confdefs.h <<\_ACEOF
82817 #define HAVE___BUILTIN_ABS 1
82818 _ACEOF
82825 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82826 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82827 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82828 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82829 echo $ECHO_N "(cached) $ECHO_C" >&6
82830 else
82834 ac_ext=cc
82835 ac_cpp='$CXXCPP $CPPFLAGS'
82836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82840 cat >conftest.$ac_ext <<_ACEOF
82841 /* confdefs.h. */
82842 _ACEOF
82843 cat confdefs.h >>conftest.$ac_ext
82844 cat >>conftest.$ac_ext <<_ACEOF
82845 /* end confdefs.h. */
82846 #include <math.h>
82848 main ()
82850 __builtin_fabsf(0);
82852 return 0;
82854 _ACEOF
82855 rm -f conftest.$ac_objext
82856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82857 (eval $ac_compile) 2>conftest.er1
82858 ac_status=$?
82859 grep -v '^ *+' conftest.er1 >conftest.err
82860 rm -f conftest.er1
82861 cat conftest.err >&5
82862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82863 (exit $ac_status); } &&
82864 { ac_try='test -z "$ac_cxx_werror_flag"
82865 || test ! -s conftest.err'
82866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82867 (eval $ac_try) 2>&5
82868 ac_status=$?
82869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82870 (exit $ac_status); }; } &&
82871 { ac_try='test -s conftest.$ac_objext'
82872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82873 (eval $ac_try) 2>&5
82874 ac_status=$?
82875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82876 (exit $ac_status); }; }; then
82877 glibcxx_cv_func___builtin_fabsf_use=yes
82878 else
82879 echo "$as_me: failed program was:" >&5
82880 sed 's/^/| /' conftest.$ac_ext >&5
82882 glibcxx_cv_func___builtin_fabsf_use=no
82884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82885 ac_ext=c
82886 ac_cpp='$CPP $CPPFLAGS'
82887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82896 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82897 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82898 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82899 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82900 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82901 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82902 echo $ECHO_N "(cached) $ECHO_C" >&6
82903 else
82905 if test x$gcc_no_link = xyes; then
82906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82908 { (exit 1); exit 1; }; }
82910 cat >conftest.$ac_ext <<_ACEOF
82911 /* confdefs.h. */
82912 _ACEOF
82913 cat confdefs.h >>conftest.$ac_ext
82914 cat >>conftest.$ac_ext <<_ACEOF
82915 /* end confdefs.h. */
82916 #include <math.h>
82918 main ()
82920 __builtin_fabsf(0);
82922 return 0;
82924 _ACEOF
82925 rm -f conftest.$ac_objext conftest$ac_exeext
82926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82927 (eval $ac_link) 2>conftest.er1
82928 ac_status=$?
82929 grep -v '^ *+' conftest.er1 >conftest.err
82930 rm -f conftest.er1
82931 cat conftest.err >&5
82932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82933 (exit $ac_status); } &&
82934 { ac_try='test -z "$ac_c_werror_flag"
82935 || test ! -s conftest.err'
82936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82937 (eval $ac_try) 2>&5
82938 ac_status=$?
82939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82940 (exit $ac_status); }; } &&
82941 { ac_try='test -s conftest$ac_exeext'
82942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82943 (eval $ac_try) 2>&5
82944 ac_status=$?
82945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946 (exit $ac_status); }; }; then
82947 glibcxx_cv_func___builtin_fabsf_link=yes
82948 else
82949 echo "$as_me: failed program was:" >&5
82950 sed 's/^/| /' conftest.$ac_ext >&5
82952 glibcxx_cv_func___builtin_fabsf_link=no
82954 rm -f conftest.err conftest.$ac_objext \
82955 conftest$ac_exeext conftest.$ac_ext
82960 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82961 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82963 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82965 cat >>confdefs.h <<\_ACEOF
82966 #define HAVE___BUILTIN_FABSF 1
82967 _ACEOF
82974 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82975 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82976 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82977 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82978 echo $ECHO_N "(cached) $ECHO_C" >&6
82979 else
82983 ac_ext=cc
82984 ac_cpp='$CXXCPP $CPPFLAGS'
82985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82989 cat >conftest.$ac_ext <<_ACEOF
82990 /* confdefs.h. */
82991 _ACEOF
82992 cat confdefs.h >>conftest.$ac_ext
82993 cat >>conftest.$ac_ext <<_ACEOF
82994 /* end confdefs.h. */
82995 #include <math.h>
82997 main ()
82999 __builtin_fabs(0);
83001 return 0;
83003 _ACEOF
83004 rm -f conftest.$ac_objext
83005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83006 (eval $ac_compile) 2>conftest.er1
83007 ac_status=$?
83008 grep -v '^ *+' conftest.er1 >conftest.err
83009 rm -f conftest.er1
83010 cat conftest.err >&5
83011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83012 (exit $ac_status); } &&
83013 { ac_try='test -z "$ac_cxx_werror_flag"
83014 || test ! -s conftest.err'
83015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83016 (eval $ac_try) 2>&5
83017 ac_status=$?
83018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83019 (exit $ac_status); }; } &&
83020 { ac_try='test -s conftest.$ac_objext'
83021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83022 (eval $ac_try) 2>&5
83023 ac_status=$?
83024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83025 (exit $ac_status); }; }; then
83026 glibcxx_cv_func___builtin_fabs_use=yes
83027 else
83028 echo "$as_me: failed program was:" >&5
83029 sed 's/^/| /' conftest.$ac_ext >&5
83031 glibcxx_cv_func___builtin_fabs_use=no
83033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83034 ac_ext=c
83035 ac_cpp='$CPP $CPPFLAGS'
83036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
83045 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
83046 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
83047 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
83048 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
83049 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
83050 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
83051 echo $ECHO_N "(cached) $ECHO_C" >&6
83052 else
83054 if test x$gcc_no_link = xyes; then
83055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83057 { (exit 1); exit 1; }; }
83059 cat >conftest.$ac_ext <<_ACEOF
83060 /* confdefs.h. */
83061 _ACEOF
83062 cat confdefs.h >>conftest.$ac_ext
83063 cat >>conftest.$ac_ext <<_ACEOF
83064 /* end confdefs.h. */
83065 #include <math.h>
83067 main ()
83069 __builtin_fabs(0);
83071 return 0;
83073 _ACEOF
83074 rm -f conftest.$ac_objext conftest$ac_exeext
83075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83076 (eval $ac_link) 2>conftest.er1
83077 ac_status=$?
83078 grep -v '^ *+' conftest.er1 >conftest.err
83079 rm -f conftest.er1
83080 cat conftest.err >&5
83081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83082 (exit $ac_status); } &&
83083 { ac_try='test -z "$ac_c_werror_flag"
83084 || test ! -s conftest.err'
83085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83086 (eval $ac_try) 2>&5
83087 ac_status=$?
83088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83089 (exit $ac_status); }; } &&
83090 { ac_try='test -s conftest$ac_exeext'
83091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83092 (eval $ac_try) 2>&5
83093 ac_status=$?
83094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83095 (exit $ac_status); }; }; then
83096 glibcxx_cv_func___builtin_fabs_link=yes
83097 else
83098 echo "$as_me: failed program was:" >&5
83099 sed 's/^/| /' conftest.$ac_ext >&5
83101 glibcxx_cv_func___builtin_fabs_link=no
83103 rm -f conftest.err conftest.$ac_objext \
83104 conftest$ac_exeext conftest.$ac_ext
83109 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
83110 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
83112 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
83114 cat >>confdefs.h <<\_ACEOF
83115 #define HAVE___BUILTIN_FABS 1
83116 _ACEOF
83123 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
83124 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
83125 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
83126 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
83127 echo $ECHO_N "(cached) $ECHO_C" >&6
83128 else
83132 ac_ext=cc
83133 ac_cpp='$CXXCPP $CPPFLAGS'
83134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83138 cat >conftest.$ac_ext <<_ACEOF
83139 /* confdefs.h. */
83140 _ACEOF
83141 cat confdefs.h >>conftest.$ac_ext
83142 cat >>conftest.$ac_ext <<_ACEOF
83143 /* end confdefs.h. */
83144 #include <math.h>
83146 main ()
83148 __builtin_fabsl(0);
83150 return 0;
83152 _ACEOF
83153 rm -f conftest.$ac_objext
83154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83155 (eval $ac_compile) 2>conftest.er1
83156 ac_status=$?
83157 grep -v '^ *+' conftest.er1 >conftest.err
83158 rm -f conftest.er1
83159 cat conftest.err >&5
83160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83161 (exit $ac_status); } &&
83162 { ac_try='test -z "$ac_cxx_werror_flag"
83163 || test ! -s conftest.err'
83164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83165 (eval $ac_try) 2>&5
83166 ac_status=$?
83167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83168 (exit $ac_status); }; } &&
83169 { ac_try='test -s conftest.$ac_objext'
83170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83171 (eval $ac_try) 2>&5
83172 ac_status=$?
83173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83174 (exit $ac_status); }; }; then
83175 glibcxx_cv_func___builtin_fabsl_use=yes
83176 else
83177 echo "$as_me: failed program was:" >&5
83178 sed 's/^/| /' conftest.$ac_ext >&5
83180 glibcxx_cv_func___builtin_fabsl_use=no
83182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83183 ac_ext=c
83184 ac_cpp='$CPP $CPPFLAGS'
83185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
83194 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
83195 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
83196 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
83197 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
83198 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
83199 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
83200 echo $ECHO_N "(cached) $ECHO_C" >&6
83201 else
83203 if test x$gcc_no_link = xyes; then
83204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83206 { (exit 1); exit 1; }; }
83208 cat >conftest.$ac_ext <<_ACEOF
83209 /* confdefs.h. */
83210 _ACEOF
83211 cat confdefs.h >>conftest.$ac_ext
83212 cat >>conftest.$ac_ext <<_ACEOF
83213 /* end confdefs.h. */
83214 #include <math.h>
83216 main ()
83218 __builtin_fabsl(0);
83220 return 0;
83222 _ACEOF
83223 rm -f conftest.$ac_objext conftest$ac_exeext
83224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83225 (eval $ac_link) 2>conftest.er1
83226 ac_status=$?
83227 grep -v '^ *+' conftest.er1 >conftest.err
83228 rm -f conftest.er1
83229 cat conftest.err >&5
83230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83231 (exit $ac_status); } &&
83232 { ac_try='test -z "$ac_c_werror_flag"
83233 || test ! -s conftest.err'
83234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83235 (eval $ac_try) 2>&5
83236 ac_status=$?
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); }; } &&
83239 { ac_try='test -s conftest$ac_exeext'
83240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83241 (eval $ac_try) 2>&5
83242 ac_status=$?
83243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83244 (exit $ac_status); }; }; then
83245 glibcxx_cv_func___builtin_fabsl_link=yes
83246 else
83247 echo "$as_me: failed program was:" >&5
83248 sed 's/^/| /' conftest.$ac_ext >&5
83250 glibcxx_cv_func___builtin_fabsl_link=no
83252 rm -f conftest.err conftest.$ac_objext \
83253 conftest$ac_exeext conftest.$ac_ext
83258 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83259 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83261 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83263 cat >>confdefs.h <<\_ACEOF
83264 #define HAVE___BUILTIN_FABSL 1
83265 _ACEOF
83272 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83273 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83274 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83275 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83276 echo $ECHO_N "(cached) $ECHO_C" >&6
83277 else
83281 ac_ext=cc
83282 ac_cpp='$CXXCPP $CPPFLAGS'
83283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83287 cat >conftest.$ac_ext <<_ACEOF
83288 /* confdefs.h. */
83289 _ACEOF
83290 cat confdefs.h >>conftest.$ac_ext
83291 cat >>conftest.$ac_ext <<_ACEOF
83292 /* end confdefs.h. */
83293 #include <math.h>
83295 main ()
83297 __builtin_labs(0);
83299 return 0;
83301 _ACEOF
83302 rm -f conftest.$ac_objext
83303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83304 (eval $ac_compile) 2>conftest.er1
83305 ac_status=$?
83306 grep -v '^ *+' conftest.er1 >conftest.err
83307 rm -f conftest.er1
83308 cat conftest.err >&5
83309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83310 (exit $ac_status); } &&
83311 { ac_try='test -z "$ac_cxx_werror_flag"
83312 || test ! -s conftest.err'
83313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83314 (eval $ac_try) 2>&5
83315 ac_status=$?
83316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83317 (exit $ac_status); }; } &&
83318 { ac_try='test -s conftest.$ac_objext'
83319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83320 (eval $ac_try) 2>&5
83321 ac_status=$?
83322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83323 (exit $ac_status); }; }; then
83324 glibcxx_cv_func___builtin_labs_use=yes
83325 else
83326 echo "$as_me: failed program was:" >&5
83327 sed 's/^/| /' conftest.$ac_ext >&5
83329 glibcxx_cv_func___builtin_labs_use=no
83331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83332 ac_ext=c
83333 ac_cpp='$CPP $CPPFLAGS'
83334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83342 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83343 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83344 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83345 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83346 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83347 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83348 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83349 echo $ECHO_N "(cached) $ECHO_C" >&6
83350 else
83352 if test x$gcc_no_link = xyes; then
83353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83355 { (exit 1); exit 1; }; }
83357 cat >conftest.$ac_ext <<_ACEOF
83358 /* confdefs.h. */
83359 _ACEOF
83360 cat confdefs.h >>conftest.$ac_ext
83361 cat >>conftest.$ac_ext <<_ACEOF
83362 /* end confdefs.h. */
83363 #include <math.h>
83365 main ()
83367 __builtin_labs(0);
83369 return 0;
83371 _ACEOF
83372 rm -f conftest.$ac_objext conftest$ac_exeext
83373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83374 (eval $ac_link) 2>conftest.er1
83375 ac_status=$?
83376 grep -v '^ *+' conftest.er1 >conftest.err
83377 rm -f conftest.er1
83378 cat conftest.err >&5
83379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83380 (exit $ac_status); } &&
83381 { ac_try='test -z "$ac_c_werror_flag"
83382 || test ! -s conftest.err'
83383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83384 (eval $ac_try) 2>&5
83385 ac_status=$?
83386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83387 (exit $ac_status); }; } &&
83388 { ac_try='test -s conftest$ac_exeext'
83389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83390 (eval $ac_try) 2>&5
83391 ac_status=$?
83392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83393 (exit $ac_status); }; }; then
83394 glibcxx_cv_func___builtin_labs_link=yes
83395 else
83396 echo "$as_me: failed program was:" >&5
83397 sed 's/^/| /' conftest.$ac_ext >&5
83399 glibcxx_cv_func___builtin_labs_link=no
83401 rm -f conftest.err conftest.$ac_objext \
83402 conftest$ac_exeext conftest.$ac_ext
83407 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
83408 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
83410 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
83412 cat >>confdefs.h <<\_ACEOF
83413 #define HAVE___BUILTIN_LABS 1
83414 _ACEOF
83422 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
83423 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
83424 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
83425 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
83426 echo $ECHO_N "(cached) $ECHO_C" >&6
83427 else
83431 ac_ext=cc
83432 ac_cpp='$CXXCPP $CPPFLAGS'
83433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83437 cat >conftest.$ac_ext <<_ACEOF
83438 /* confdefs.h. */
83439 _ACEOF
83440 cat confdefs.h >>conftest.$ac_ext
83441 cat >>conftest.$ac_ext <<_ACEOF
83442 /* end confdefs.h. */
83443 #include <math.h>
83445 main ()
83447 __builtin_sqrtf(0);
83449 return 0;
83451 _ACEOF
83452 rm -f conftest.$ac_objext
83453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83454 (eval $ac_compile) 2>conftest.er1
83455 ac_status=$?
83456 grep -v '^ *+' conftest.er1 >conftest.err
83457 rm -f conftest.er1
83458 cat conftest.err >&5
83459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83460 (exit $ac_status); } &&
83461 { ac_try='test -z "$ac_cxx_werror_flag"
83462 || test ! -s conftest.err'
83463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83464 (eval $ac_try) 2>&5
83465 ac_status=$?
83466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83467 (exit $ac_status); }; } &&
83468 { ac_try='test -s conftest.$ac_objext'
83469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83470 (eval $ac_try) 2>&5
83471 ac_status=$?
83472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83473 (exit $ac_status); }; }; then
83474 glibcxx_cv_func___builtin_sqrtf_use=yes
83475 else
83476 echo "$as_me: failed program was:" >&5
83477 sed 's/^/| /' conftest.$ac_ext >&5
83479 glibcxx_cv_func___builtin_sqrtf_use=no
83481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83482 ac_ext=c
83483 ac_cpp='$CPP $CPPFLAGS'
83484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
83493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
83494 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
83495 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
83496 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
83497 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
83498 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
83499 echo $ECHO_N "(cached) $ECHO_C" >&6
83500 else
83502 if test x$gcc_no_link = xyes; then
83503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83505 { (exit 1); exit 1; }; }
83507 cat >conftest.$ac_ext <<_ACEOF
83508 /* confdefs.h. */
83509 _ACEOF
83510 cat confdefs.h >>conftest.$ac_ext
83511 cat >>conftest.$ac_ext <<_ACEOF
83512 /* end confdefs.h. */
83513 #include <math.h>
83515 main ()
83517 __builtin_sqrtf(0);
83519 return 0;
83521 _ACEOF
83522 rm -f conftest.$ac_objext conftest$ac_exeext
83523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83524 (eval $ac_link) 2>conftest.er1
83525 ac_status=$?
83526 grep -v '^ *+' conftest.er1 >conftest.err
83527 rm -f conftest.er1
83528 cat conftest.err >&5
83529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530 (exit $ac_status); } &&
83531 { ac_try='test -z "$ac_c_werror_flag"
83532 || test ! -s conftest.err'
83533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83534 (eval $ac_try) 2>&5
83535 ac_status=$?
83536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83537 (exit $ac_status); }; } &&
83538 { ac_try='test -s conftest$ac_exeext'
83539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83540 (eval $ac_try) 2>&5
83541 ac_status=$?
83542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83543 (exit $ac_status); }; }; then
83544 glibcxx_cv_func___builtin_sqrtf_link=yes
83545 else
83546 echo "$as_me: failed program was:" >&5
83547 sed 's/^/| /' conftest.$ac_ext >&5
83549 glibcxx_cv_func___builtin_sqrtf_link=no
83551 rm -f conftest.err conftest.$ac_objext \
83552 conftest$ac_exeext conftest.$ac_ext
83557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83558 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83560 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83562 cat >>confdefs.h <<\_ACEOF
83563 #define HAVE___BUILTIN_SQRTF 1
83564 _ACEOF
83571 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83572 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83573 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83574 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83575 echo $ECHO_N "(cached) $ECHO_C" >&6
83576 else
83580 ac_ext=cc
83581 ac_cpp='$CXXCPP $CPPFLAGS'
83582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83586 cat >conftest.$ac_ext <<_ACEOF
83587 /* confdefs.h. */
83588 _ACEOF
83589 cat confdefs.h >>conftest.$ac_ext
83590 cat >>conftest.$ac_ext <<_ACEOF
83591 /* end confdefs.h. */
83592 #include <math.h>
83594 main ()
83596 __builtin_sqrt(0);
83598 return 0;
83600 _ACEOF
83601 rm -f conftest.$ac_objext
83602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83603 (eval $ac_compile) 2>conftest.er1
83604 ac_status=$?
83605 grep -v '^ *+' conftest.er1 >conftest.err
83606 rm -f conftest.er1
83607 cat conftest.err >&5
83608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83609 (exit $ac_status); } &&
83610 { ac_try='test -z "$ac_cxx_werror_flag"
83611 || test ! -s conftest.err'
83612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83613 (eval $ac_try) 2>&5
83614 ac_status=$?
83615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83616 (exit $ac_status); }; } &&
83617 { ac_try='test -s conftest.$ac_objext'
83618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83619 (eval $ac_try) 2>&5
83620 ac_status=$?
83621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83622 (exit $ac_status); }; }; then
83623 glibcxx_cv_func___builtin_sqrt_use=yes
83624 else
83625 echo "$as_me: failed program was:" >&5
83626 sed 's/^/| /' conftest.$ac_ext >&5
83628 glibcxx_cv_func___builtin_sqrt_use=no
83630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83631 ac_ext=c
83632 ac_cpp='$CPP $CPPFLAGS'
83633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83643 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83644 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83645 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83646 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83647 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83648 echo $ECHO_N "(cached) $ECHO_C" >&6
83649 else
83651 if test x$gcc_no_link = xyes; then
83652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83654 { (exit 1); exit 1; }; }
83656 cat >conftest.$ac_ext <<_ACEOF
83657 /* confdefs.h. */
83658 _ACEOF
83659 cat confdefs.h >>conftest.$ac_ext
83660 cat >>conftest.$ac_ext <<_ACEOF
83661 /* end confdefs.h. */
83662 #include <math.h>
83664 main ()
83666 __builtin_sqrt(0);
83668 return 0;
83670 _ACEOF
83671 rm -f conftest.$ac_objext conftest$ac_exeext
83672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83673 (eval $ac_link) 2>conftest.er1
83674 ac_status=$?
83675 grep -v '^ *+' conftest.er1 >conftest.err
83676 rm -f conftest.er1
83677 cat conftest.err >&5
83678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83679 (exit $ac_status); } &&
83680 { ac_try='test -z "$ac_c_werror_flag"
83681 || test ! -s conftest.err'
83682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83683 (eval $ac_try) 2>&5
83684 ac_status=$?
83685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83686 (exit $ac_status); }; } &&
83687 { ac_try='test -s conftest$ac_exeext'
83688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83689 (eval $ac_try) 2>&5
83690 ac_status=$?
83691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83692 (exit $ac_status); }; }; then
83693 glibcxx_cv_func___builtin_sqrt_link=yes
83694 else
83695 echo "$as_me: failed program was:" >&5
83696 sed 's/^/| /' conftest.$ac_ext >&5
83698 glibcxx_cv_func___builtin_sqrt_link=no
83700 rm -f conftest.err conftest.$ac_objext \
83701 conftest$ac_exeext conftest.$ac_ext
83706 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83707 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83709 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83711 cat >>confdefs.h <<\_ACEOF
83712 #define HAVE___BUILTIN_SQRT 1
83713 _ACEOF
83720 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83721 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83722 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83723 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83724 echo $ECHO_N "(cached) $ECHO_C" >&6
83725 else
83729 ac_ext=cc
83730 ac_cpp='$CXXCPP $CPPFLAGS'
83731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83735 cat >conftest.$ac_ext <<_ACEOF
83736 /* confdefs.h. */
83737 _ACEOF
83738 cat confdefs.h >>conftest.$ac_ext
83739 cat >>conftest.$ac_ext <<_ACEOF
83740 /* end confdefs.h. */
83741 #include <math.h>
83743 main ()
83745 __builtin_sqrtl(0);
83747 return 0;
83749 _ACEOF
83750 rm -f conftest.$ac_objext
83751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83752 (eval $ac_compile) 2>conftest.er1
83753 ac_status=$?
83754 grep -v '^ *+' conftest.er1 >conftest.err
83755 rm -f conftest.er1
83756 cat conftest.err >&5
83757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83758 (exit $ac_status); } &&
83759 { ac_try='test -z "$ac_cxx_werror_flag"
83760 || test ! -s conftest.err'
83761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83762 (eval $ac_try) 2>&5
83763 ac_status=$?
83764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83765 (exit $ac_status); }; } &&
83766 { ac_try='test -s conftest.$ac_objext'
83767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83768 (eval $ac_try) 2>&5
83769 ac_status=$?
83770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83771 (exit $ac_status); }; }; then
83772 glibcxx_cv_func___builtin_sqrtl_use=yes
83773 else
83774 echo "$as_me: failed program was:" >&5
83775 sed 's/^/| /' conftest.$ac_ext >&5
83777 glibcxx_cv_func___builtin_sqrtl_use=no
83779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83780 ac_ext=c
83781 ac_cpp='$CPP $CPPFLAGS'
83782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83792 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83793 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83794 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83795 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83796 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83797 echo $ECHO_N "(cached) $ECHO_C" >&6
83798 else
83800 if test x$gcc_no_link = xyes; then
83801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83803 { (exit 1); exit 1; }; }
83805 cat >conftest.$ac_ext <<_ACEOF
83806 /* confdefs.h. */
83807 _ACEOF
83808 cat confdefs.h >>conftest.$ac_ext
83809 cat >>conftest.$ac_ext <<_ACEOF
83810 /* end confdefs.h. */
83811 #include <math.h>
83813 main ()
83815 __builtin_sqrtl(0);
83817 return 0;
83819 _ACEOF
83820 rm -f conftest.$ac_objext conftest$ac_exeext
83821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83822 (eval $ac_link) 2>conftest.er1
83823 ac_status=$?
83824 grep -v '^ *+' conftest.er1 >conftest.err
83825 rm -f conftest.er1
83826 cat conftest.err >&5
83827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83828 (exit $ac_status); } &&
83829 { ac_try='test -z "$ac_c_werror_flag"
83830 || test ! -s conftest.err'
83831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83832 (eval $ac_try) 2>&5
83833 ac_status=$?
83834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83835 (exit $ac_status); }; } &&
83836 { ac_try='test -s conftest$ac_exeext'
83837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83838 (eval $ac_try) 2>&5
83839 ac_status=$?
83840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83841 (exit $ac_status); }; }; then
83842 glibcxx_cv_func___builtin_sqrtl_link=yes
83843 else
83844 echo "$as_me: failed program was:" >&5
83845 sed 's/^/| /' conftest.$ac_ext >&5
83847 glibcxx_cv_func___builtin_sqrtl_link=no
83849 rm -f conftest.err conftest.$ac_objext \
83850 conftest$ac_exeext conftest.$ac_ext
83855 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83856 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83858 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83860 cat >>confdefs.h <<\_ACEOF
83861 #define HAVE___BUILTIN_SQRTL 1
83862 _ACEOF
83870 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83871 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83872 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83873 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83874 echo $ECHO_N "(cached) $ECHO_C" >&6
83875 else
83879 ac_ext=cc
83880 ac_cpp='$CXXCPP $CPPFLAGS'
83881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83885 cat >conftest.$ac_ext <<_ACEOF
83886 /* confdefs.h. */
83887 _ACEOF
83888 cat confdefs.h >>conftest.$ac_ext
83889 cat >>conftest.$ac_ext <<_ACEOF
83890 /* end confdefs.h. */
83891 #include <math.h>
83893 main ()
83895 __builtin_sinf(0);
83897 return 0;
83899 _ACEOF
83900 rm -f conftest.$ac_objext
83901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83902 (eval $ac_compile) 2>conftest.er1
83903 ac_status=$?
83904 grep -v '^ *+' conftest.er1 >conftest.err
83905 rm -f conftest.er1
83906 cat conftest.err >&5
83907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83908 (exit $ac_status); } &&
83909 { ac_try='test -z "$ac_cxx_werror_flag"
83910 || test ! -s conftest.err'
83911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83912 (eval $ac_try) 2>&5
83913 ac_status=$?
83914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83915 (exit $ac_status); }; } &&
83916 { ac_try='test -s conftest.$ac_objext'
83917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83918 (eval $ac_try) 2>&5
83919 ac_status=$?
83920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83921 (exit $ac_status); }; }; then
83922 glibcxx_cv_func___builtin_sinf_use=yes
83923 else
83924 echo "$as_me: failed program was:" >&5
83925 sed 's/^/| /' conftest.$ac_ext >&5
83927 glibcxx_cv_func___builtin_sinf_use=no
83929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83930 ac_ext=c
83931 ac_cpp='$CPP $CPPFLAGS'
83932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83941 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83942 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83943 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83944 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83945 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83946 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83947 echo $ECHO_N "(cached) $ECHO_C" >&6
83948 else
83950 if test x$gcc_no_link = xyes; then
83951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83953 { (exit 1); exit 1; }; }
83955 cat >conftest.$ac_ext <<_ACEOF
83956 /* confdefs.h. */
83957 _ACEOF
83958 cat confdefs.h >>conftest.$ac_ext
83959 cat >>conftest.$ac_ext <<_ACEOF
83960 /* end confdefs.h. */
83961 #include <math.h>
83963 main ()
83965 __builtin_sinf(0);
83967 return 0;
83969 _ACEOF
83970 rm -f conftest.$ac_objext conftest$ac_exeext
83971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83972 (eval $ac_link) 2>conftest.er1
83973 ac_status=$?
83974 grep -v '^ *+' conftest.er1 >conftest.err
83975 rm -f conftest.er1
83976 cat conftest.err >&5
83977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83978 (exit $ac_status); } &&
83979 { ac_try='test -z "$ac_c_werror_flag"
83980 || test ! -s conftest.err'
83981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83982 (eval $ac_try) 2>&5
83983 ac_status=$?
83984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985 (exit $ac_status); }; } &&
83986 { ac_try='test -s conftest$ac_exeext'
83987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83988 (eval $ac_try) 2>&5
83989 ac_status=$?
83990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83991 (exit $ac_status); }; }; then
83992 glibcxx_cv_func___builtin_sinf_link=yes
83993 else
83994 echo "$as_me: failed program was:" >&5
83995 sed 's/^/| /' conftest.$ac_ext >&5
83997 glibcxx_cv_func___builtin_sinf_link=no
83999 rm -f conftest.err conftest.$ac_objext \
84000 conftest$ac_exeext conftest.$ac_ext
84005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
84006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
84008 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
84010 cat >>confdefs.h <<\_ACEOF
84011 #define HAVE___BUILTIN_SINF 1
84012 _ACEOF
84019 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
84020 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
84021 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
84022 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
84023 echo $ECHO_N "(cached) $ECHO_C" >&6
84024 else
84028 ac_ext=cc
84029 ac_cpp='$CXXCPP $CPPFLAGS'
84030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84034 cat >conftest.$ac_ext <<_ACEOF
84035 /* confdefs.h. */
84036 _ACEOF
84037 cat confdefs.h >>conftest.$ac_ext
84038 cat >>conftest.$ac_ext <<_ACEOF
84039 /* end confdefs.h. */
84040 #include <math.h>
84042 main ()
84044 __builtin_sin(0);
84046 return 0;
84048 _ACEOF
84049 rm -f conftest.$ac_objext
84050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84051 (eval $ac_compile) 2>conftest.er1
84052 ac_status=$?
84053 grep -v '^ *+' conftest.er1 >conftest.err
84054 rm -f conftest.er1
84055 cat conftest.err >&5
84056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84057 (exit $ac_status); } &&
84058 { ac_try='test -z "$ac_cxx_werror_flag"
84059 || test ! -s conftest.err'
84060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84061 (eval $ac_try) 2>&5
84062 ac_status=$?
84063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84064 (exit $ac_status); }; } &&
84065 { ac_try='test -s conftest.$ac_objext'
84066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84067 (eval $ac_try) 2>&5
84068 ac_status=$?
84069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84070 (exit $ac_status); }; }; then
84071 glibcxx_cv_func___builtin_sin_use=yes
84072 else
84073 echo "$as_me: failed program was:" >&5
84074 sed 's/^/| /' conftest.$ac_ext >&5
84076 glibcxx_cv_func___builtin_sin_use=no
84078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84079 ac_ext=c
84080 ac_cpp='$CPP $CPPFLAGS'
84081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
84090 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
84091 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
84092 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
84093 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
84094 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
84095 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
84096 echo $ECHO_N "(cached) $ECHO_C" >&6
84097 else
84099 if test x$gcc_no_link = xyes; then
84100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84102 { (exit 1); exit 1; }; }
84104 cat >conftest.$ac_ext <<_ACEOF
84105 /* confdefs.h. */
84106 _ACEOF
84107 cat confdefs.h >>conftest.$ac_ext
84108 cat >>conftest.$ac_ext <<_ACEOF
84109 /* end confdefs.h. */
84110 #include <math.h>
84112 main ()
84114 __builtin_sin(0);
84116 return 0;
84118 _ACEOF
84119 rm -f conftest.$ac_objext conftest$ac_exeext
84120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84121 (eval $ac_link) 2>conftest.er1
84122 ac_status=$?
84123 grep -v '^ *+' conftest.er1 >conftest.err
84124 rm -f conftest.er1
84125 cat conftest.err >&5
84126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84127 (exit $ac_status); } &&
84128 { ac_try='test -z "$ac_c_werror_flag"
84129 || test ! -s conftest.err'
84130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84131 (eval $ac_try) 2>&5
84132 ac_status=$?
84133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134 (exit $ac_status); }; } &&
84135 { ac_try='test -s conftest$ac_exeext'
84136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84137 (eval $ac_try) 2>&5
84138 ac_status=$?
84139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84140 (exit $ac_status); }; }; then
84141 glibcxx_cv_func___builtin_sin_link=yes
84142 else
84143 echo "$as_me: failed program was:" >&5
84144 sed 's/^/| /' conftest.$ac_ext >&5
84146 glibcxx_cv_func___builtin_sin_link=no
84148 rm -f conftest.err conftest.$ac_objext \
84149 conftest$ac_exeext conftest.$ac_ext
84154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
84155 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
84157 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
84159 cat >>confdefs.h <<\_ACEOF
84160 #define HAVE___BUILTIN_SIN 1
84161 _ACEOF
84168 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
84169 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
84170 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
84171 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
84172 echo $ECHO_N "(cached) $ECHO_C" >&6
84173 else
84177 ac_ext=cc
84178 ac_cpp='$CXXCPP $CPPFLAGS'
84179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84183 cat >conftest.$ac_ext <<_ACEOF
84184 /* confdefs.h. */
84185 _ACEOF
84186 cat confdefs.h >>conftest.$ac_ext
84187 cat >>conftest.$ac_ext <<_ACEOF
84188 /* end confdefs.h. */
84189 #include <math.h>
84191 main ()
84193 __builtin_sinl(0);
84195 return 0;
84197 _ACEOF
84198 rm -f conftest.$ac_objext
84199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84200 (eval $ac_compile) 2>conftest.er1
84201 ac_status=$?
84202 grep -v '^ *+' conftest.er1 >conftest.err
84203 rm -f conftest.er1
84204 cat conftest.err >&5
84205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84206 (exit $ac_status); } &&
84207 { ac_try='test -z "$ac_cxx_werror_flag"
84208 || test ! -s conftest.err'
84209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84210 (eval $ac_try) 2>&5
84211 ac_status=$?
84212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84213 (exit $ac_status); }; } &&
84214 { ac_try='test -s conftest.$ac_objext'
84215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84216 (eval $ac_try) 2>&5
84217 ac_status=$?
84218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84219 (exit $ac_status); }; }; then
84220 glibcxx_cv_func___builtin_sinl_use=yes
84221 else
84222 echo "$as_me: failed program was:" >&5
84223 sed 's/^/| /' conftest.$ac_ext >&5
84225 glibcxx_cv_func___builtin_sinl_use=no
84227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84228 ac_ext=c
84229 ac_cpp='$CPP $CPPFLAGS'
84230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84239 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84240 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84241 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84242 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84243 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84244 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84245 echo $ECHO_N "(cached) $ECHO_C" >&6
84246 else
84248 if test x$gcc_no_link = xyes; then
84249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84251 { (exit 1); exit 1; }; }
84253 cat >conftest.$ac_ext <<_ACEOF
84254 /* confdefs.h. */
84255 _ACEOF
84256 cat confdefs.h >>conftest.$ac_ext
84257 cat >>conftest.$ac_ext <<_ACEOF
84258 /* end confdefs.h. */
84259 #include <math.h>
84261 main ()
84263 __builtin_sinl(0);
84265 return 0;
84267 _ACEOF
84268 rm -f conftest.$ac_objext conftest$ac_exeext
84269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84270 (eval $ac_link) 2>conftest.er1
84271 ac_status=$?
84272 grep -v '^ *+' conftest.er1 >conftest.err
84273 rm -f conftest.er1
84274 cat conftest.err >&5
84275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84276 (exit $ac_status); } &&
84277 { ac_try='test -z "$ac_c_werror_flag"
84278 || test ! -s conftest.err'
84279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84280 (eval $ac_try) 2>&5
84281 ac_status=$?
84282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84283 (exit $ac_status); }; } &&
84284 { ac_try='test -s conftest$ac_exeext'
84285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84286 (eval $ac_try) 2>&5
84287 ac_status=$?
84288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84289 (exit $ac_status); }; }; then
84290 glibcxx_cv_func___builtin_sinl_link=yes
84291 else
84292 echo "$as_me: failed program was:" >&5
84293 sed 's/^/| /' conftest.$ac_ext >&5
84295 glibcxx_cv_func___builtin_sinl_link=no
84297 rm -f conftest.err conftest.$ac_objext \
84298 conftest$ac_exeext conftest.$ac_ext
84303 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84304 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84306 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84308 cat >>confdefs.h <<\_ACEOF
84309 #define HAVE___BUILTIN_SINL 1
84310 _ACEOF
84318 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84319 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84320 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84321 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84322 echo $ECHO_N "(cached) $ECHO_C" >&6
84323 else
84327 ac_ext=cc
84328 ac_cpp='$CXXCPP $CPPFLAGS'
84329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84333 cat >conftest.$ac_ext <<_ACEOF
84334 /* confdefs.h. */
84335 _ACEOF
84336 cat confdefs.h >>conftest.$ac_ext
84337 cat >>conftest.$ac_ext <<_ACEOF
84338 /* end confdefs.h. */
84339 #include <math.h>
84341 main ()
84343 __builtin_cosf(0);
84345 return 0;
84347 _ACEOF
84348 rm -f conftest.$ac_objext
84349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84350 (eval $ac_compile) 2>conftest.er1
84351 ac_status=$?
84352 grep -v '^ *+' conftest.er1 >conftest.err
84353 rm -f conftest.er1
84354 cat conftest.err >&5
84355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84356 (exit $ac_status); } &&
84357 { ac_try='test -z "$ac_cxx_werror_flag"
84358 || test ! -s conftest.err'
84359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84360 (eval $ac_try) 2>&5
84361 ac_status=$?
84362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84363 (exit $ac_status); }; } &&
84364 { ac_try='test -s conftest.$ac_objext'
84365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84366 (eval $ac_try) 2>&5
84367 ac_status=$?
84368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84369 (exit $ac_status); }; }; then
84370 glibcxx_cv_func___builtin_cosf_use=yes
84371 else
84372 echo "$as_me: failed program was:" >&5
84373 sed 's/^/| /' conftest.$ac_ext >&5
84375 glibcxx_cv_func___builtin_cosf_use=no
84377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84378 ac_ext=c
84379 ac_cpp='$CPP $CPPFLAGS'
84380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
84389 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
84390 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
84391 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
84392 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
84393 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
84394 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
84395 echo $ECHO_N "(cached) $ECHO_C" >&6
84396 else
84398 if test x$gcc_no_link = xyes; then
84399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84401 { (exit 1); exit 1; }; }
84403 cat >conftest.$ac_ext <<_ACEOF
84404 /* confdefs.h. */
84405 _ACEOF
84406 cat confdefs.h >>conftest.$ac_ext
84407 cat >>conftest.$ac_ext <<_ACEOF
84408 /* end confdefs.h. */
84409 #include <math.h>
84411 main ()
84413 __builtin_cosf(0);
84415 return 0;
84417 _ACEOF
84418 rm -f conftest.$ac_objext conftest$ac_exeext
84419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84420 (eval $ac_link) 2>conftest.er1
84421 ac_status=$?
84422 grep -v '^ *+' conftest.er1 >conftest.err
84423 rm -f conftest.er1
84424 cat conftest.err >&5
84425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84426 (exit $ac_status); } &&
84427 { ac_try='test -z "$ac_c_werror_flag"
84428 || test ! -s conftest.err'
84429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84430 (eval $ac_try) 2>&5
84431 ac_status=$?
84432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84433 (exit $ac_status); }; } &&
84434 { ac_try='test -s conftest$ac_exeext'
84435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84436 (eval $ac_try) 2>&5
84437 ac_status=$?
84438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84439 (exit $ac_status); }; }; then
84440 glibcxx_cv_func___builtin_cosf_link=yes
84441 else
84442 echo "$as_me: failed program was:" >&5
84443 sed 's/^/| /' conftest.$ac_ext >&5
84445 glibcxx_cv_func___builtin_cosf_link=no
84447 rm -f conftest.err conftest.$ac_objext \
84448 conftest$ac_exeext conftest.$ac_ext
84453 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
84454 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
84456 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
84458 cat >>confdefs.h <<\_ACEOF
84459 #define HAVE___BUILTIN_COSF 1
84460 _ACEOF
84467 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
84468 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
84469 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
84470 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
84471 echo $ECHO_N "(cached) $ECHO_C" >&6
84472 else
84476 ac_ext=cc
84477 ac_cpp='$CXXCPP $CPPFLAGS'
84478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84482 cat >conftest.$ac_ext <<_ACEOF
84483 /* confdefs.h. */
84484 _ACEOF
84485 cat confdefs.h >>conftest.$ac_ext
84486 cat >>conftest.$ac_ext <<_ACEOF
84487 /* end confdefs.h. */
84488 #include <math.h>
84490 main ()
84492 __builtin_cos(0);
84494 return 0;
84496 _ACEOF
84497 rm -f conftest.$ac_objext
84498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84499 (eval $ac_compile) 2>conftest.er1
84500 ac_status=$?
84501 grep -v '^ *+' conftest.er1 >conftest.err
84502 rm -f conftest.er1
84503 cat conftest.err >&5
84504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84505 (exit $ac_status); } &&
84506 { ac_try='test -z "$ac_cxx_werror_flag"
84507 || test ! -s conftest.err'
84508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84509 (eval $ac_try) 2>&5
84510 ac_status=$?
84511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84512 (exit $ac_status); }; } &&
84513 { ac_try='test -s conftest.$ac_objext'
84514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84515 (eval $ac_try) 2>&5
84516 ac_status=$?
84517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84518 (exit $ac_status); }; }; then
84519 glibcxx_cv_func___builtin_cos_use=yes
84520 else
84521 echo "$as_me: failed program was:" >&5
84522 sed 's/^/| /' conftest.$ac_ext >&5
84524 glibcxx_cv_func___builtin_cos_use=no
84526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84527 ac_ext=c
84528 ac_cpp='$CPP $CPPFLAGS'
84529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84538 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84539 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84540 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84541 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84542 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84543 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84544 echo $ECHO_N "(cached) $ECHO_C" >&6
84545 else
84547 if test x$gcc_no_link = xyes; then
84548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84550 { (exit 1); exit 1; }; }
84552 cat >conftest.$ac_ext <<_ACEOF
84553 /* confdefs.h. */
84554 _ACEOF
84555 cat confdefs.h >>conftest.$ac_ext
84556 cat >>conftest.$ac_ext <<_ACEOF
84557 /* end confdefs.h. */
84558 #include <math.h>
84560 main ()
84562 __builtin_cos(0);
84564 return 0;
84566 _ACEOF
84567 rm -f conftest.$ac_objext conftest$ac_exeext
84568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84569 (eval $ac_link) 2>conftest.er1
84570 ac_status=$?
84571 grep -v '^ *+' conftest.er1 >conftest.err
84572 rm -f conftest.er1
84573 cat conftest.err >&5
84574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84575 (exit $ac_status); } &&
84576 { ac_try='test -z "$ac_c_werror_flag"
84577 || test ! -s conftest.err'
84578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84579 (eval $ac_try) 2>&5
84580 ac_status=$?
84581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84582 (exit $ac_status); }; } &&
84583 { ac_try='test -s conftest$ac_exeext'
84584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84585 (eval $ac_try) 2>&5
84586 ac_status=$?
84587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84588 (exit $ac_status); }; }; then
84589 glibcxx_cv_func___builtin_cos_link=yes
84590 else
84591 echo "$as_me: failed program was:" >&5
84592 sed 's/^/| /' conftest.$ac_ext >&5
84594 glibcxx_cv_func___builtin_cos_link=no
84596 rm -f conftest.err conftest.$ac_objext \
84597 conftest$ac_exeext conftest.$ac_ext
84602 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84603 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84605 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84607 cat >>confdefs.h <<\_ACEOF
84608 #define HAVE___BUILTIN_COS 1
84609 _ACEOF
84616 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84617 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84618 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84619 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84620 echo $ECHO_N "(cached) $ECHO_C" >&6
84621 else
84625 ac_ext=cc
84626 ac_cpp='$CXXCPP $CPPFLAGS'
84627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84631 cat >conftest.$ac_ext <<_ACEOF
84632 /* confdefs.h. */
84633 _ACEOF
84634 cat confdefs.h >>conftest.$ac_ext
84635 cat >>conftest.$ac_ext <<_ACEOF
84636 /* end confdefs.h. */
84637 #include <math.h>
84639 main ()
84641 __builtin_cosl(0);
84643 return 0;
84645 _ACEOF
84646 rm -f conftest.$ac_objext
84647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84648 (eval $ac_compile) 2>conftest.er1
84649 ac_status=$?
84650 grep -v '^ *+' conftest.er1 >conftest.err
84651 rm -f conftest.er1
84652 cat conftest.err >&5
84653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84654 (exit $ac_status); } &&
84655 { ac_try='test -z "$ac_cxx_werror_flag"
84656 || test ! -s conftest.err'
84657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84658 (eval $ac_try) 2>&5
84659 ac_status=$?
84660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84661 (exit $ac_status); }; } &&
84662 { ac_try='test -s conftest.$ac_objext'
84663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84664 (eval $ac_try) 2>&5
84665 ac_status=$?
84666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84667 (exit $ac_status); }; }; then
84668 glibcxx_cv_func___builtin_cosl_use=yes
84669 else
84670 echo "$as_me: failed program was:" >&5
84671 sed 's/^/| /' conftest.$ac_ext >&5
84673 glibcxx_cv_func___builtin_cosl_use=no
84675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84676 ac_ext=c
84677 ac_cpp='$CPP $CPPFLAGS'
84678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84687 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84688 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84689 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84690 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84691 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84692 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84693 echo $ECHO_N "(cached) $ECHO_C" >&6
84694 else
84696 if test x$gcc_no_link = xyes; then
84697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84699 { (exit 1); exit 1; }; }
84701 cat >conftest.$ac_ext <<_ACEOF
84702 /* confdefs.h. */
84703 _ACEOF
84704 cat confdefs.h >>conftest.$ac_ext
84705 cat >>conftest.$ac_ext <<_ACEOF
84706 /* end confdefs.h. */
84707 #include <math.h>
84709 main ()
84711 __builtin_cosl(0);
84713 return 0;
84715 _ACEOF
84716 rm -f conftest.$ac_objext conftest$ac_exeext
84717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84718 (eval $ac_link) 2>conftest.er1
84719 ac_status=$?
84720 grep -v '^ *+' conftest.er1 >conftest.err
84721 rm -f conftest.er1
84722 cat conftest.err >&5
84723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84724 (exit $ac_status); } &&
84725 { ac_try='test -z "$ac_c_werror_flag"
84726 || test ! -s conftest.err'
84727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84728 (eval $ac_try) 2>&5
84729 ac_status=$?
84730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84731 (exit $ac_status); }; } &&
84732 { ac_try='test -s conftest$ac_exeext'
84733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84734 (eval $ac_try) 2>&5
84735 ac_status=$?
84736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84737 (exit $ac_status); }; }; then
84738 glibcxx_cv_func___builtin_cosl_link=yes
84739 else
84740 echo "$as_me: failed program was:" >&5
84741 sed 's/^/| /' conftest.$ac_ext >&5
84743 glibcxx_cv_func___builtin_cosl_link=no
84745 rm -f conftest.err conftest.$ac_objext \
84746 conftest$ac_exeext conftest.$ac_ext
84751 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84752 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84754 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84756 cat >>confdefs.h <<\_ACEOF
84757 #define HAVE___BUILTIN_COSL 1
84758 _ACEOF
84767 echo "$as_me:$LINENO: checking for main in -lm" >&5
84768 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84769 if test "${ac_cv_lib_m_main+set}" = set; then
84770 echo $ECHO_N "(cached) $ECHO_C" >&6
84771 else
84772 ac_check_lib_save_LIBS=$LIBS
84773 LIBS="-lm $LIBS"
84774 if test x$gcc_no_link = xyes; then
84775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84777 { (exit 1); exit 1; }; }
84779 cat >conftest.$ac_ext <<_ACEOF
84780 /* confdefs.h. */
84781 _ACEOF
84782 cat confdefs.h >>conftest.$ac_ext
84783 cat >>conftest.$ac_ext <<_ACEOF
84784 /* end confdefs.h. */
84788 main ()
84790 main ();
84792 return 0;
84794 _ACEOF
84795 rm -f conftest.$ac_objext conftest$ac_exeext
84796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84797 (eval $ac_link) 2>conftest.er1
84798 ac_status=$?
84799 grep -v '^ *+' conftest.er1 >conftest.err
84800 rm -f conftest.er1
84801 cat conftest.err >&5
84802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84803 (exit $ac_status); } &&
84804 { ac_try='test -z "$ac_c_werror_flag"
84805 || test ! -s conftest.err'
84806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84807 (eval $ac_try) 2>&5
84808 ac_status=$?
84809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84810 (exit $ac_status); }; } &&
84811 { ac_try='test -s conftest$ac_exeext'
84812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84813 (eval $ac_try) 2>&5
84814 ac_status=$?
84815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84816 (exit $ac_status); }; }; then
84817 ac_cv_lib_m_main=yes
84818 else
84819 echo "$as_me: failed program was:" >&5
84820 sed 's/^/| /' conftest.$ac_ext >&5
84822 ac_cv_lib_m_main=no
84824 rm -f conftest.err conftest.$ac_objext \
84825 conftest$ac_exeext conftest.$ac_ext
84826 LIBS=$ac_check_lib_save_LIBS
84828 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84829 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84830 if test $ac_cv_lib_m_main = yes; then
84831 cat >>confdefs.h <<_ACEOF
84832 #define HAVE_LIBM 1
84833 _ACEOF
84835 LIBS="-lm $LIBS"
84840 for ac_func in copysignf
84842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84843 echo "$as_me:$LINENO: checking for $ac_func" >&5
84844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84845 if eval "test \"\${$as_ac_var+set}\" = set"; then
84846 echo $ECHO_N "(cached) $ECHO_C" >&6
84847 else
84848 if test x$gcc_no_link = xyes; then
84849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84851 { (exit 1); exit 1; }; }
84853 cat >conftest.$ac_ext <<_ACEOF
84854 /* confdefs.h. */
84855 _ACEOF
84856 cat confdefs.h >>conftest.$ac_ext
84857 cat >>conftest.$ac_ext <<_ACEOF
84858 /* end confdefs.h. */
84859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84861 #define $ac_func innocuous_$ac_func
84863 /* System header to define __stub macros and hopefully few prototypes,
84864 which can conflict with char $ac_func (); below.
84865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84866 <limits.h> exists even on freestanding compilers. */
84868 #ifdef __STDC__
84869 # include <limits.h>
84870 #else
84871 # include <assert.h>
84872 #endif
84874 #undef $ac_func
84876 /* Override any gcc2 internal prototype to avoid an error. */
84877 #ifdef __cplusplus
84878 extern "C"
84880 #endif
84881 /* We use char because int might match the return type of a gcc2
84882 builtin and then its argument prototype would still apply. */
84883 char $ac_func ();
84884 /* The GNU C library defines this for functions which it implements
84885 to always fail with ENOSYS. Some functions are actually named
84886 something starting with __ and the normal name is an alias. */
84887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84888 choke me
84889 #else
84890 char (*f) () = $ac_func;
84891 #endif
84892 #ifdef __cplusplus
84894 #endif
84897 main ()
84899 return f != $ac_func;
84901 return 0;
84903 _ACEOF
84904 rm -f conftest.$ac_objext conftest$ac_exeext
84905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84906 (eval $ac_link) 2>conftest.er1
84907 ac_status=$?
84908 grep -v '^ *+' conftest.er1 >conftest.err
84909 rm -f conftest.er1
84910 cat conftest.err >&5
84911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912 (exit $ac_status); } &&
84913 { ac_try='test -z "$ac_c_werror_flag"
84914 || test ! -s conftest.err'
84915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84916 (eval $ac_try) 2>&5
84917 ac_status=$?
84918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84919 (exit $ac_status); }; } &&
84920 { ac_try='test -s conftest$ac_exeext'
84921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84922 (eval $ac_try) 2>&5
84923 ac_status=$?
84924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84925 (exit $ac_status); }; }; then
84926 eval "$as_ac_var=yes"
84927 else
84928 echo "$as_me: failed program was:" >&5
84929 sed 's/^/| /' conftest.$ac_ext >&5
84931 eval "$as_ac_var=no"
84933 rm -f conftest.err conftest.$ac_objext \
84934 conftest$ac_exeext conftest.$ac_ext
84936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84938 if test `eval echo '${'$as_ac_var'}'` = yes; then
84939 cat >>confdefs.h <<_ACEOF
84940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84941 _ACEOF
84943 else
84944 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84946 done
84950 for ac_func in __signbit
84952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84953 echo "$as_me:$LINENO: checking for $ac_func" >&5
84954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84955 if eval "test \"\${$as_ac_var+set}\" = set"; then
84956 echo $ECHO_N "(cached) $ECHO_C" >&6
84957 else
84958 if test x$gcc_no_link = xyes; then
84959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84961 { (exit 1); exit 1; }; }
84963 cat >conftest.$ac_ext <<_ACEOF
84964 /* confdefs.h. */
84965 _ACEOF
84966 cat confdefs.h >>conftest.$ac_ext
84967 cat >>conftest.$ac_ext <<_ACEOF
84968 /* end confdefs.h. */
84969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84971 #define $ac_func innocuous_$ac_func
84973 /* System header to define __stub macros and hopefully few prototypes,
84974 which can conflict with char $ac_func (); below.
84975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84976 <limits.h> exists even on freestanding compilers. */
84978 #ifdef __STDC__
84979 # include <limits.h>
84980 #else
84981 # include <assert.h>
84982 #endif
84984 #undef $ac_func
84986 /* Override any gcc2 internal prototype to avoid an error. */
84987 #ifdef __cplusplus
84988 extern "C"
84990 #endif
84991 /* We use char because int might match the return type of a gcc2
84992 builtin and then its argument prototype would still apply. */
84993 char $ac_func ();
84994 /* The GNU C library defines this for functions which it implements
84995 to always fail with ENOSYS. Some functions are actually named
84996 something starting with __ and the normal name is an alias. */
84997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84998 choke me
84999 #else
85000 char (*f) () = $ac_func;
85001 #endif
85002 #ifdef __cplusplus
85004 #endif
85007 main ()
85009 return f != $ac_func;
85011 return 0;
85013 _ACEOF
85014 rm -f conftest.$ac_objext conftest$ac_exeext
85015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85016 (eval $ac_link) 2>conftest.er1
85017 ac_status=$?
85018 grep -v '^ *+' conftest.er1 >conftest.err
85019 rm -f conftest.er1
85020 cat conftest.err >&5
85021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85022 (exit $ac_status); } &&
85023 { ac_try='test -z "$ac_c_werror_flag"
85024 || test ! -s conftest.err'
85025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85026 (eval $ac_try) 2>&5
85027 ac_status=$?
85028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029 (exit $ac_status); }; } &&
85030 { ac_try='test -s conftest$ac_exeext'
85031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85032 (eval $ac_try) 2>&5
85033 ac_status=$?
85034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85035 (exit $ac_status); }; }; then
85036 eval "$as_ac_var=yes"
85037 else
85038 echo "$as_me: failed program was:" >&5
85039 sed 's/^/| /' conftest.$ac_ext >&5
85041 eval "$as_ac_var=no"
85043 rm -f conftest.err conftest.$ac_objext \
85044 conftest$ac_exeext conftest.$ac_ext
85046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85048 if test `eval echo '${'$as_ac_var'}'` = yes; then
85049 cat >>confdefs.h <<_ACEOF
85050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85051 _ACEOF
85053 else
85054 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85056 done
85060 for ac_func in __signbitf
85062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85063 echo "$as_me:$LINENO: checking for $ac_func" >&5
85064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85065 if eval "test \"\${$as_ac_var+set}\" = set"; then
85066 echo $ECHO_N "(cached) $ECHO_C" >&6
85067 else
85068 if test x$gcc_no_link = xyes; then
85069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85071 { (exit 1); exit 1; }; }
85073 cat >conftest.$ac_ext <<_ACEOF
85074 /* confdefs.h. */
85075 _ACEOF
85076 cat confdefs.h >>conftest.$ac_ext
85077 cat >>conftest.$ac_ext <<_ACEOF
85078 /* end confdefs.h. */
85079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85081 #define $ac_func innocuous_$ac_func
85083 /* System header to define __stub macros and hopefully few prototypes,
85084 which can conflict with char $ac_func (); below.
85085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85086 <limits.h> exists even on freestanding compilers. */
85088 #ifdef __STDC__
85089 # include <limits.h>
85090 #else
85091 # include <assert.h>
85092 #endif
85094 #undef $ac_func
85096 /* Override any gcc2 internal prototype to avoid an error. */
85097 #ifdef __cplusplus
85098 extern "C"
85100 #endif
85101 /* We use char because int might match the return type of a gcc2
85102 builtin and then its argument prototype would still apply. */
85103 char $ac_func ();
85104 /* The GNU C library defines this for functions which it implements
85105 to always fail with ENOSYS. Some functions are actually named
85106 something starting with __ and the normal name is an alias. */
85107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85108 choke me
85109 #else
85110 char (*f) () = $ac_func;
85111 #endif
85112 #ifdef __cplusplus
85114 #endif
85117 main ()
85119 return f != $ac_func;
85121 return 0;
85123 _ACEOF
85124 rm -f conftest.$ac_objext conftest$ac_exeext
85125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85126 (eval $ac_link) 2>conftest.er1
85127 ac_status=$?
85128 grep -v '^ *+' conftest.er1 >conftest.err
85129 rm -f conftest.er1
85130 cat conftest.err >&5
85131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85132 (exit $ac_status); } &&
85133 { ac_try='test -z "$ac_c_werror_flag"
85134 || test ! -s conftest.err'
85135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85136 (eval $ac_try) 2>&5
85137 ac_status=$?
85138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85139 (exit $ac_status); }; } &&
85140 { ac_try='test -s conftest$ac_exeext'
85141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85142 (eval $ac_try) 2>&5
85143 ac_status=$?
85144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85145 (exit $ac_status); }; }; then
85146 eval "$as_ac_var=yes"
85147 else
85148 echo "$as_me: failed program was:" >&5
85149 sed 's/^/| /' conftest.$ac_ext >&5
85151 eval "$as_ac_var=no"
85153 rm -f conftest.err conftest.$ac_objext \
85154 conftest$ac_exeext conftest.$ac_ext
85156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85158 if test `eval echo '${'$as_ac_var'}'` = yes; then
85159 cat >>confdefs.h <<_ACEOF
85160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85161 _ACEOF
85163 else
85164 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85166 done
85169 if test x$ac_cv_func_copysignl = x"yes"; then
85171 for ac_func in __signbitl
85173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85174 echo "$as_me:$LINENO: checking for $ac_func" >&5
85175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85176 if eval "test \"\${$as_ac_var+set}\" = set"; then
85177 echo $ECHO_N "(cached) $ECHO_C" >&6
85178 else
85179 if test x$gcc_no_link = xyes; then
85180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85182 { (exit 1); exit 1; }; }
85184 cat >conftest.$ac_ext <<_ACEOF
85185 /* confdefs.h. */
85186 _ACEOF
85187 cat confdefs.h >>conftest.$ac_ext
85188 cat >>conftest.$ac_ext <<_ACEOF
85189 /* end confdefs.h. */
85190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85192 #define $ac_func innocuous_$ac_func
85194 /* System header to define __stub macros and hopefully few prototypes,
85195 which can conflict with char $ac_func (); below.
85196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85197 <limits.h> exists even on freestanding compilers. */
85199 #ifdef __STDC__
85200 # include <limits.h>
85201 #else
85202 # include <assert.h>
85203 #endif
85205 #undef $ac_func
85207 /* Override any gcc2 internal prototype to avoid an error. */
85208 #ifdef __cplusplus
85209 extern "C"
85211 #endif
85212 /* We use char because int might match the return type of a gcc2
85213 builtin and then its argument prototype would still apply. */
85214 char $ac_func ();
85215 /* The GNU C library defines this for functions which it implements
85216 to always fail with ENOSYS. Some functions are actually named
85217 something starting with __ and the normal name is an alias. */
85218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85219 choke me
85220 #else
85221 char (*f) () = $ac_func;
85222 #endif
85223 #ifdef __cplusplus
85225 #endif
85228 main ()
85230 return f != $ac_func;
85232 return 0;
85234 _ACEOF
85235 rm -f conftest.$ac_objext conftest$ac_exeext
85236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85237 (eval $ac_link) 2>conftest.er1
85238 ac_status=$?
85239 grep -v '^ *+' conftest.er1 >conftest.err
85240 rm -f conftest.er1
85241 cat conftest.err >&5
85242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85243 (exit $ac_status); } &&
85244 { ac_try='test -z "$ac_c_werror_flag"
85245 || test ! -s conftest.err'
85246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85247 (eval $ac_try) 2>&5
85248 ac_status=$?
85249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85250 (exit $ac_status); }; } &&
85251 { ac_try='test -s conftest$ac_exeext'
85252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85253 (eval $ac_try) 2>&5
85254 ac_status=$?
85255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85256 (exit $ac_status); }; }; then
85257 eval "$as_ac_var=yes"
85258 else
85259 echo "$as_me: failed program was:" >&5
85260 sed 's/^/| /' conftest.$ac_ext >&5
85262 eval "$as_ac_var=no"
85264 rm -f conftest.err conftest.$ac_objext \
85265 conftest$ac_exeext conftest.$ac_ext
85267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85269 if test `eval echo '${'$as_ac_var'}'` = yes; then
85270 cat >>confdefs.h <<_ACEOF
85271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85272 _ACEOF
85274 else
85275 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85277 done
85281 # Used in libmath/Makefile.am.
85282 if test -n "$LIBMATHOBJS"; then
85283 need_libmath=yes
85288 ac_test_CXXFLAGS="${CXXFLAGS+set}"
85289 ac_save_CXXFLAGS="$CXXFLAGS"
85290 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85293 echo "$as_me:$LINENO: checking for strtold declaration" >&5
85294 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85295 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85296 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85297 echo $ECHO_N "(cached) $ECHO_C" >&6
85298 else
85302 ac_ext=cc
85303 ac_cpp='$CXXCPP $CPPFLAGS'
85304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85308 cat >conftest.$ac_ext <<_ACEOF
85309 /* confdefs.h. */
85310 _ACEOF
85311 cat confdefs.h >>conftest.$ac_ext
85312 cat >>conftest.$ac_ext <<_ACEOF
85313 /* end confdefs.h. */
85314 #include <stdlib.h>
85316 main ()
85318 strtold(0, 0);
85320 return 0;
85322 _ACEOF
85323 rm -f conftest.$ac_objext
85324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85325 (eval $ac_compile) 2>conftest.er1
85326 ac_status=$?
85327 grep -v '^ *+' conftest.er1 >conftest.err
85328 rm -f conftest.er1
85329 cat conftest.err >&5
85330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85331 (exit $ac_status); } &&
85332 { ac_try='test -z "$ac_cxx_werror_flag"
85333 || test ! -s conftest.err'
85334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85335 (eval $ac_try) 2>&5
85336 ac_status=$?
85337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85338 (exit $ac_status); }; } &&
85339 { ac_try='test -s conftest.$ac_objext'
85340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85341 (eval $ac_try) 2>&5
85342 ac_status=$?
85343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85344 (exit $ac_status); }; }; then
85345 glibcxx_cv_func_strtold_use=yes
85346 else
85347 echo "$as_me: failed program was:" >&5
85348 sed 's/^/| /' conftest.$ac_ext >&5
85350 glibcxx_cv_func_strtold_use=no
85352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85353 ac_ext=c
85354 ac_cpp='$CPP $CPPFLAGS'
85355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85363 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
85364 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
85365 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
85367 for ac_func in strtold
85369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85370 echo "$as_me:$LINENO: checking for $ac_func" >&5
85371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85372 if eval "test \"\${$as_ac_var+set}\" = set"; then
85373 echo $ECHO_N "(cached) $ECHO_C" >&6
85374 else
85375 if test x$gcc_no_link = xyes; then
85376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85378 { (exit 1); exit 1; }; }
85380 cat >conftest.$ac_ext <<_ACEOF
85381 /* confdefs.h. */
85382 _ACEOF
85383 cat confdefs.h >>conftest.$ac_ext
85384 cat >>conftest.$ac_ext <<_ACEOF
85385 /* end confdefs.h. */
85386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85388 #define $ac_func innocuous_$ac_func
85390 /* System header to define __stub macros and hopefully few prototypes,
85391 which can conflict with char $ac_func (); below.
85392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85393 <limits.h> exists even on freestanding compilers. */
85395 #ifdef __STDC__
85396 # include <limits.h>
85397 #else
85398 # include <assert.h>
85399 #endif
85401 #undef $ac_func
85403 /* Override any gcc2 internal prototype to avoid an error. */
85404 #ifdef __cplusplus
85405 extern "C"
85407 #endif
85408 /* We use char because int might match the return type of a gcc2
85409 builtin and then its argument prototype would still apply. */
85410 char $ac_func ();
85411 /* The GNU C library defines this for functions which it implements
85412 to always fail with ENOSYS. Some functions are actually named
85413 something starting with __ and the normal name is an alias. */
85414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85415 choke me
85416 #else
85417 char (*f) () = $ac_func;
85418 #endif
85419 #ifdef __cplusplus
85421 #endif
85424 main ()
85426 return f != $ac_func;
85428 return 0;
85430 _ACEOF
85431 rm -f conftest.$ac_objext conftest$ac_exeext
85432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85433 (eval $ac_link) 2>conftest.er1
85434 ac_status=$?
85435 grep -v '^ *+' conftest.er1 >conftest.err
85436 rm -f conftest.er1
85437 cat conftest.err >&5
85438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85439 (exit $ac_status); } &&
85440 { ac_try='test -z "$ac_c_werror_flag"
85441 || test ! -s conftest.err'
85442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85443 (eval $ac_try) 2>&5
85444 ac_status=$?
85445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85446 (exit $ac_status); }; } &&
85447 { ac_try='test -s conftest$ac_exeext'
85448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85449 (eval $ac_try) 2>&5
85450 ac_status=$?
85451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85452 (exit $ac_status); }; }; then
85453 eval "$as_ac_var=yes"
85454 else
85455 echo "$as_me: failed program was:" >&5
85456 sed 's/^/| /' conftest.$ac_ext >&5
85458 eval "$as_ac_var=no"
85460 rm -f conftest.err conftest.$ac_objext \
85461 conftest$ac_exeext conftest.$ac_ext
85463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85465 if test `eval echo '${'$as_ac_var'}'` = yes; then
85466 cat >>confdefs.h <<_ACEOF
85467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85468 _ACEOF
85471 done
85479 echo "$as_me:$LINENO: checking for strtof declaration" >&5
85480 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
85481 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
85482 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
85483 echo $ECHO_N "(cached) $ECHO_C" >&6
85484 else
85488 ac_ext=cc
85489 ac_cpp='$CXXCPP $CPPFLAGS'
85490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85494 cat >conftest.$ac_ext <<_ACEOF
85495 /* confdefs.h. */
85496 _ACEOF
85497 cat confdefs.h >>conftest.$ac_ext
85498 cat >>conftest.$ac_ext <<_ACEOF
85499 /* end confdefs.h. */
85500 #include <stdlib.h>
85502 main ()
85504 strtof(0, 0);
85506 return 0;
85508 _ACEOF
85509 rm -f conftest.$ac_objext
85510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85511 (eval $ac_compile) 2>conftest.er1
85512 ac_status=$?
85513 grep -v '^ *+' conftest.er1 >conftest.err
85514 rm -f conftest.er1
85515 cat conftest.err >&5
85516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85517 (exit $ac_status); } &&
85518 { ac_try='test -z "$ac_cxx_werror_flag"
85519 || test ! -s conftest.err'
85520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85521 (eval $ac_try) 2>&5
85522 ac_status=$?
85523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85524 (exit $ac_status); }; } &&
85525 { ac_try='test -s conftest.$ac_objext'
85526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85527 (eval $ac_try) 2>&5
85528 ac_status=$?
85529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85530 (exit $ac_status); }; }; then
85531 glibcxx_cv_func_strtof_use=yes
85532 else
85533 echo "$as_me: failed program was:" >&5
85534 sed 's/^/| /' conftest.$ac_ext >&5
85536 glibcxx_cv_func_strtof_use=no
85538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85539 ac_ext=c
85540 ac_cpp='$CPP $CPPFLAGS'
85541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85550 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85551 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85553 for ac_func in strtof
85555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85556 echo "$as_me:$LINENO: checking for $ac_func" >&5
85557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85558 if eval "test \"\${$as_ac_var+set}\" = set"; then
85559 echo $ECHO_N "(cached) $ECHO_C" >&6
85560 else
85561 if test x$gcc_no_link = xyes; then
85562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85564 { (exit 1); exit 1; }; }
85566 cat >conftest.$ac_ext <<_ACEOF
85567 /* confdefs.h. */
85568 _ACEOF
85569 cat confdefs.h >>conftest.$ac_ext
85570 cat >>conftest.$ac_ext <<_ACEOF
85571 /* end confdefs.h. */
85572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85574 #define $ac_func innocuous_$ac_func
85576 /* System header to define __stub macros and hopefully few prototypes,
85577 which can conflict with char $ac_func (); below.
85578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85579 <limits.h> exists even on freestanding compilers. */
85581 #ifdef __STDC__
85582 # include <limits.h>
85583 #else
85584 # include <assert.h>
85585 #endif
85587 #undef $ac_func
85589 /* Override any gcc2 internal prototype to avoid an error. */
85590 #ifdef __cplusplus
85591 extern "C"
85593 #endif
85594 /* We use char because int might match the return type of a gcc2
85595 builtin and then its argument prototype would still apply. */
85596 char $ac_func ();
85597 /* The GNU C library defines this for functions which it implements
85598 to always fail with ENOSYS. Some functions are actually named
85599 something starting with __ and the normal name is an alias. */
85600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85601 choke me
85602 #else
85603 char (*f) () = $ac_func;
85604 #endif
85605 #ifdef __cplusplus
85607 #endif
85610 main ()
85612 return f != $ac_func;
85614 return 0;
85616 _ACEOF
85617 rm -f conftest.$ac_objext conftest$ac_exeext
85618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85619 (eval $ac_link) 2>conftest.er1
85620 ac_status=$?
85621 grep -v '^ *+' conftest.er1 >conftest.err
85622 rm -f conftest.er1
85623 cat conftest.err >&5
85624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85625 (exit $ac_status); } &&
85626 { ac_try='test -z "$ac_c_werror_flag"
85627 || test ! -s conftest.err'
85628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85629 (eval $ac_try) 2>&5
85630 ac_status=$?
85631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85632 (exit $ac_status); }; } &&
85633 { ac_try='test -s conftest$ac_exeext'
85634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85635 (eval $ac_try) 2>&5
85636 ac_status=$?
85637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85638 (exit $ac_status); }; }; then
85639 eval "$as_ac_var=yes"
85640 else
85641 echo "$as_me: failed program was:" >&5
85642 sed 's/^/| /' conftest.$ac_ext >&5
85644 eval "$as_ac_var=no"
85646 rm -f conftest.err conftest.$ac_objext \
85647 conftest$ac_exeext conftest.$ac_ext
85649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85651 if test `eval echo '${'$as_ac_var'}'` = yes; then
85652 cat >>confdefs.h <<_ACEOF
85653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85654 _ACEOF
85657 done
85665 CXXFLAGS="$ac_save_CXXFLAGS"
85668 # For LFS.
85669 cat >>confdefs.h <<\_ACEOF
85670 #define HAVE_INT64_T 1
85671 _ACEOF
85676 ac_ext=cc
85677 ac_cpp='$CXXCPP $CPPFLAGS'
85678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85682 ac_save_CXXFLAGS="$CXXFLAGS"
85683 CXXFLAGS="$CXXFLAGS -fno-exceptions"
85684 echo "$as_me:$LINENO: checking for LFS support" >&5
85685 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
85686 if test "${glibcxx_cv_LFS+set}" = set; then
85687 echo $ECHO_N "(cached) $ECHO_C" >&6
85688 else
85690 if test x$gcc_no_link = xyes; then
85691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85693 { (exit 1); exit 1; }; }
85695 cat >conftest.$ac_ext <<_ACEOF
85696 /* confdefs.h. */
85697 _ACEOF
85698 cat confdefs.h >>conftest.$ac_ext
85699 cat >>conftest.$ac_ext <<_ACEOF
85700 /* end confdefs.h. */
85701 #include <unistd.h>
85702 #include <stdio.h>
85703 #include <sys/stat.h>
85706 main ()
85708 FILE* fp;
85709 fopen64("t", "w");
85710 fseeko64(fp, 0, SEEK_CUR);
85711 ftello64(fp);
85712 lseek64(1, 0, SEEK_CUR);
85713 struct stat64 buf;
85714 fstat64(1, &buf);
85716 return 0;
85718 _ACEOF
85719 rm -f conftest.$ac_objext conftest$ac_exeext
85720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85721 (eval $ac_link) 2>conftest.er1
85722 ac_status=$?
85723 grep -v '^ *+' conftest.er1 >conftest.err
85724 rm -f conftest.er1
85725 cat conftest.err >&5
85726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85727 (exit $ac_status); } &&
85728 { ac_try='test -z "$ac_cxx_werror_flag"
85729 || test ! -s conftest.err'
85730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85731 (eval $ac_try) 2>&5
85732 ac_status=$?
85733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85734 (exit $ac_status); }; } &&
85735 { ac_try='test -s conftest$ac_exeext'
85736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85737 (eval $ac_try) 2>&5
85738 ac_status=$?
85739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85740 (exit $ac_status); }; }; then
85741 glibcxx_cv_LFS=yes
85742 else
85743 echo "$as_me: failed program was:" >&5
85744 sed 's/^/| /' conftest.$ac_ext >&5
85746 glibcxx_cv_LFS=no
85748 rm -f conftest.err conftest.$ac_objext \
85749 conftest$ac_exeext conftest.$ac_ext
85753 if test $glibcxx_cv_LFS = yes; then
85755 cat >>confdefs.h <<\_ACEOF
85756 #define _GLIBCXX_USE_LFS 1
85757 _ACEOF
85760 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
85761 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
85762 CXXFLAGS="$ac_save_CXXFLAGS"
85763 ac_ext=c
85764 ac_cpp='$CPP $CPPFLAGS'
85765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85771 # For showmanyc_helper().
85774 for ac_header in sys/ioctl.h sys/filio.h
85776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85778 echo "$as_me:$LINENO: checking for $ac_header" >&5
85779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85781 echo $ECHO_N "(cached) $ECHO_C" >&6
85783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85785 else
85786 # Is the header compilable?
85787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85789 cat >conftest.$ac_ext <<_ACEOF
85790 /* confdefs.h. */
85791 _ACEOF
85792 cat confdefs.h >>conftest.$ac_ext
85793 cat >>conftest.$ac_ext <<_ACEOF
85794 /* end confdefs.h. */
85795 $ac_includes_default
85796 #include <$ac_header>
85797 _ACEOF
85798 rm -f conftest.$ac_objext
85799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85800 (eval $ac_compile) 2>conftest.er1
85801 ac_status=$?
85802 grep -v '^ *+' conftest.er1 >conftest.err
85803 rm -f conftest.er1
85804 cat conftest.err >&5
85805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85806 (exit $ac_status); } &&
85807 { ac_try='test -z "$ac_c_werror_flag"
85808 || test ! -s conftest.err'
85809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85810 (eval $ac_try) 2>&5
85811 ac_status=$?
85812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85813 (exit $ac_status); }; } &&
85814 { ac_try='test -s conftest.$ac_objext'
85815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85816 (eval $ac_try) 2>&5
85817 ac_status=$?
85818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85819 (exit $ac_status); }; }; then
85820 ac_header_compiler=yes
85821 else
85822 echo "$as_me: failed program was:" >&5
85823 sed 's/^/| /' conftest.$ac_ext >&5
85825 ac_header_compiler=no
85827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85829 echo "${ECHO_T}$ac_header_compiler" >&6
85831 # Is the header present?
85832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85834 cat >conftest.$ac_ext <<_ACEOF
85835 /* confdefs.h. */
85836 _ACEOF
85837 cat confdefs.h >>conftest.$ac_ext
85838 cat >>conftest.$ac_ext <<_ACEOF
85839 /* end confdefs.h. */
85840 #include <$ac_header>
85841 _ACEOF
85842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85844 ac_status=$?
85845 grep -v '^ *+' conftest.er1 >conftest.err
85846 rm -f conftest.er1
85847 cat conftest.err >&5
85848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85849 (exit $ac_status); } >/dev/null; then
85850 if test -s conftest.err; then
85851 ac_cpp_err=$ac_c_preproc_warn_flag
85852 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85853 else
85854 ac_cpp_err=
85856 else
85857 ac_cpp_err=yes
85859 if test -z "$ac_cpp_err"; then
85860 ac_header_preproc=yes
85861 else
85862 echo "$as_me: failed program was:" >&5
85863 sed 's/^/| /' conftest.$ac_ext >&5
85865 ac_header_preproc=no
85867 rm -f conftest.err conftest.$ac_ext
85868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85869 echo "${ECHO_T}$ac_header_preproc" >&6
85871 # So? What about this header?
85872 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85873 yes:no: )
85874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85878 ac_header_preproc=yes
85880 no:yes:* )
85881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85894 cat <<\_ASBOX
85895 ## ----------------------------------------- ##
85896 ## Report this to the package-unused lists. ##
85897 ## ----------------------------------------- ##
85898 _ASBOX
85900 sed "s/^/$as_me: WARNING: /" >&2
85902 esac
85903 echo "$as_me:$LINENO: checking for $ac_header" >&5
85904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85906 echo $ECHO_N "(cached) $ECHO_C" >&6
85907 else
85908 eval "$as_ac_Header=\$ac_header_preproc"
85910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85915 cat >>confdefs.h <<_ACEOF
85916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85917 _ACEOF
85921 done
85924 echo "$as_me:$LINENO: checking for poll" >&5
85925 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85926 if test "${glibcxx_cv_POLL+set}" = set; then
85927 echo $ECHO_N "(cached) $ECHO_C" >&6
85928 else
85930 if test x$gcc_no_link = xyes; then
85931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85933 { (exit 1); exit 1; }; }
85935 cat >conftest.$ac_ext <<_ACEOF
85936 /* confdefs.h. */
85937 _ACEOF
85938 cat confdefs.h >>conftest.$ac_ext
85939 cat >>conftest.$ac_ext <<_ACEOF
85940 /* end confdefs.h. */
85941 #include <poll.h>
85943 main ()
85945 struct pollfd pfd[1];
85946 pfd[0].events = POLLIN;
85947 poll(pfd, 1, 0);
85949 return 0;
85951 _ACEOF
85952 rm -f conftest.$ac_objext conftest$ac_exeext
85953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85954 (eval $ac_link) 2>conftest.er1
85955 ac_status=$?
85956 grep -v '^ *+' conftest.er1 >conftest.err
85957 rm -f conftest.er1
85958 cat conftest.err >&5
85959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85960 (exit $ac_status); } &&
85961 { ac_try='test -z "$ac_c_werror_flag"
85962 || test ! -s conftest.err'
85963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85964 (eval $ac_try) 2>&5
85965 ac_status=$?
85966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85967 (exit $ac_status); }; } &&
85968 { ac_try='test -s conftest$ac_exeext'
85969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85970 (eval $ac_try) 2>&5
85971 ac_status=$?
85972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85973 (exit $ac_status); }; }; then
85974 glibcxx_cv_POLL=yes
85975 else
85976 echo "$as_me: failed program was:" >&5
85977 sed 's/^/| /' conftest.$ac_ext >&5
85979 glibcxx_cv_POLL=no
85981 rm -f conftest.err conftest.$ac_objext \
85982 conftest$ac_exeext conftest.$ac_ext
85986 if test $glibcxx_cv_POLL = yes; then
85988 cat >>confdefs.h <<\_ACEOF
85989 #define HAVE_POLL 1
85990 _ACEOF
85993 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85994 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85997 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85998 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85999 if test "${glibcxx_cv_S_ISREG+set}" = set; then
86000 echo $ECHO_N "(cached) $ECHO_C" >&6
86001 else
86003 if test x$gcc_no_link = xyes; then
86004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86006 { (exit 1); exit 1; }; }
86008 cat >conftest.$ac_ext <<_ACEOF
86009 /* confdefs.h. */
86010 _ACEOF
86011 cat confdefs.h >>conftest.$ac_ext
86012 cat >>conftest.$ac_ext <<_ACEOF
86013 /* end confdefs.h. */
86014 #include <sys/stat.h>
86016 main ()
86018 struct stat buffer;
86019 fstat(0, &buffer);
86020 S_ISREG(buffer.st_mode);
86022 return 0;
86024 _ACEOF
86025 rm -f conftest.$ac_objext conftest$ac_exeext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86027 (eval $ac_link) 2>conftest.er1
86028 ac_status=$?
86029 grep -v '^ *+' conftest.er1 >conftest.err
86030 rm -f conftest.er1
86031 cat conftest.err >&5
86032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033 (exit $ac_status); } &&
86034 { ac_try='test -z "$ac_c_werror_flag"
86035 || test ! -s conftest.err'
86036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037 (eval $ac_try) 2>&5
86038 ac_status=$?
86039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040 (exit $ac_status); }; } &&
86041 { ac_try='test -s conftest$ac_exeext'
86042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043 (eval $ac_try) 2>&5
86044 ac_status=$?
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); }; }; then
86047 glibcxx_cv_S_ISREG=yes
86048 else
86049 echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86052 glibcxx_cv_S_ISREG=no
86054 rm -f conftest.err conftest.$ac_objext \
86055 conftest$ac_exeext conftest.$ac_ext
86059 if test "${glibcxx_cv_S_IFREG+set}" = set; then
86060 echo $ECHO_N "(cached) $ECHO_C" >&6
86061 else
86063 if test x$gcc_no_link = xyes; then
86064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86066 { (exit 1); exit 1; }; }
86068 cat >conftest.$ac_ext <<_ACEOF
86069 /* confdefs.h. */
86070 _ACEOF
86071 cat confdefs.h >>conftest.$ac_ext
86072 cat >>conftest.$ac_ext <<_ACEOF
86073 /* end confdefs.h. */
86074 #include <sys/stat.h>
86076 main ()
86078 struct stat buffer;
86079 fstat(0, &buffer);
86080 S_IFREG & buffer.st_mode;
86082 return 0;
86084 _ACEOF
86085 rm -f conftest.$ac_objext conftest$ac_exeext
86086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86087 (eval $ac_link) 2>conftest.er1
86088 ac_status=$?
86089 grep -v '^ *+' conftest.er1 >conftest.err
86090 rm -f conftest.er1
86091 cat conftest.err >&5
86092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86093 (exit $ac_status); } &&
86094 { ac_try='test -z "$ac_c_werror_flag"
86095 || test ! -s conftest.err'
86096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86097 (eval $ac_try) 2>&5
86098 ac_status=$?
86099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86100 (exit $ac_status); }; } &&
86101 { ac_try='test -s conftest$ac_exeext'
86102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86103 (eval $ac_try) 2>&5
86104 ac_status=$?
86105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86106 (exit $ac_status); }; }; then
86107 glibcxx_cv_S_IFREG=yes
86108 else
86109 echo "$as_me: failed program was:" >&5
86110 sed 's/^/| /' conftest.$ac_ext >&5
86112 glibcxx_cv_S_IFREG=no
86114 rm -f conftest.err conftest.$ac_objext \
86115 conftest$ac_exeext conftest.$ac_ext
86119 res=no
86120 if test $glibcxx_cv_S_ISREG = yes; then
86122 cat >>confdefs.h <<\_ACEOF
86123 #define HAVE_S_ISREG 1
86124 _ACEOF
86126 res=S_ISREG
86127 elif test $glibcxx_cv_S_IFREG = yes; then
86129 cat >>confdefs.h <<\_ACEOF
86130 #define HAVE_S_IFREG 1
86131 _ACEOF
86133 res=S_IFREG
86135 echo "$as_me:$LINENO: result: $res" >&5
86136 echo "${ECHO_T}$res" >&6
86139 # For xsputn_2().
86141 for ac_header in sys/uio.h
86143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86145 echo "$as_me:$LINENO: checking for $ac_header" >&5
86146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86148 echo $ECHO_N "(cached) $ECHO_C" >&6
86150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86152 else
86153 # Is the header compilable?
86154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86156 cat >conftest.$ac_ext <<_ACEOF
86157 /* confdefs.h. */
86158 _ACEOF
86159 cat confdefs.h >>conftest.$ac_ext
86160 cat >>conftest.$ac_ext <<_ACEOF
86161 /* end confdefs.h. */
86162 $ac_includes_default
86163 #include <$ac_header>
86164 _ACEOF
86165 rm -f conftest.$ac_objext
86166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86167 (eval $ac_compile) 2>conftest.er1
86168 ac_status=$?
86169 grep -v '^ *+' conftest.er1 >conftest.err
86170 rm -f conftest.er1
86171 cat conftest.err >&5
86172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173 (exit $ac_status); } &&
86174 { ac_try='test -z "$ac_c_werror_flag"
86175 || test ! -s conftest.err'
86176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86177 (eval $ac_try) 2>&5
86178 ac_status=$?
86179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86180 (exit $ac_status); }; } &&
86181 { ac_try='test -s conftest.$ac_objext'
86182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86183 (eval $ac_try) 2>&5
86184 ac_status=$?
86185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86186 (exit $ac_status); }; }; then
86187 ac_header_compiler=yes
86188 else
86189 echo "$as_me: failed program was:" >&5
86190 sed 's/^/| /' conftest.$ac_ext >&5
86192 ac_header_compiler=no
86194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86196 echo "${ECHO_T}$ac_header_compiler" >&6
86198 # Is the header present?
86199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86201 cat >conftest.$ac_ext <<_ACEOF
86202 /* confdefs.h. */
86203 _ACEOF
86204 cat confdefs.h >>conftest.$ac_ext
86205 cat >>conftest.$ac_ext <<_ACEOF
86206 /* end confdefs.h. */
86207 #include <$ac_header>
86208 _ACEOF
86209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86211 ac_status=$?
86212 grep -v '^ *+' conftest.er1 >conftest.err
86213 rm -f conftest.er1
86214 cat conftest.err >&5
86215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86216 (exit $ac_status); } >/dev/null; then
86217 if test -s conftest.err; then
86218 ac_cpp_err=$ac_c_preproc_warn_flag
86219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86220 else
86221 ac_cpp_err=
86223 else
86224 ac_cpp_err=yes
86226 if test -z "$ac_cpp_err"; then
86227 ac_header_preproc=yes
86228 else
86229 echo "$as_me: failed program was:" >&5
86230 sed 's/^/| /' conftest.$ac_ext >&5
86232 ac_header_preproc=no
86234 rm -f conftest.err conftest.$ac_ext
86235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86236 echo "${ECHO_T}$ac_header_preproc" >&6
86238 # So? What about this header?
86239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86240 yes:no: )
86241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86245 ac_header_preproc=yes
86247 no:yes:* )
86248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86261 cat <<\_ASBOX
86262 ## ----------------------------------------- ##
86263 ## Report this to the package-unused lists. ##
86264 ## ----------------------------------------- ##
86265 _ASBOX
86267 sed "s/^/$as_me: WARNING: /" >&2
86269 esac
86270 echo "$as_me:$LINENO: checking for $ac_header" >&5
86271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86273 echo $ECHO_N "(cached) $ECHO_C" >&6
86274 else
86275 eval "$as_ac_Header=\$ac_header_preproc"
86277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86282 cat >>confdefs.h <<_ACEOF
86283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86284 _ACEOF
86288 done
86291 echo "$as_me:$LINENO: checking for writev" >&5
86292 echo $ECHO_N "checking for writev... $ECHO_C" >&6
86293 if test "${glibcxx_cv_WRITEV+set}" = set; then
86294 echo $ECHO_N "(cached) $ECHO_C" >&6
86295 else
86297 if test x$gcc_no_link = xyes; then
86298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86300 { (exit 1); exit 1; }; }
86302 cat >conftest.$ac_ext <<_ACEOF
86303 /* confdefs.h. */
86304 _ACEOF
86305 cat confdefs.h >>conftest.$ac_ext
86306 cat >>conftest.$ac_ext <<_ACEOF
86307 /* end confdefs.h. */
86308 #include <sys/uio.h>
86310 main ()
86312 struct iovec iov[2];
86313 writev(0, iov, 0);
86315 return 0;
86317 _ACEOF
86318 rm -f conftest.$ac_objext conftest$ac_exeext
86319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86320 (eval $ac_link) 2>conftest.er1
86321 ac_status=$?
86322 grep -v '^ *+' conftest.er1 >conftest.err
86323 rm -f conftest.er1
86324 cat conftest.err >&5
86325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86326 (exit $ac_status); } &&
86327 { ac_try='test -z "$ac_c_werror_flag"
86328 || test ! -s conftest.err'
86329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86330 (eval $ac_try) 2>&5
86331 ac_status=$?
86332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86333 (exit $ac_status); }; } &&
86334 { ac_try='test -s conftest$ac_exeext'
86335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86336 (eval $ac_try) 2>&5
86337 ac_status=$?
86338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86339 (exit $ac_status); }; }; then
86340 glibcxx_cv_WRITEV=yes
86341 else
86342 echo "$as_me: failed program was:" >&5
86343 sed 's/^/| /' conftest.$ac_ext >&5
86345 glibcxx_cv_WRITEV=no
86347 rm -f conftest.err conftest.$ac_objext \
86348 conftest$ac_exeext conftest.$ac_ext
86352 if test $glibcxx_cv_WRITEV = yes; then
86354 cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_WRITEV 1
86356 _ACEOF
86359 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
86360 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
86363 *-mingw32*)
86367 for ac_header in sys/types.h locale.h float.h
86369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86371 echo "$as_me:$LINENO: checking for $ac_header" >&5
86372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86374 echo $ECHO_N "(cached) $ECHO_C" >&6
86376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86378 else
86379 # Is the header compilable?
86380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86382 cat >conftest.$ac_ext <<_ACEOF
86383 /* confdefs.h. */
86384 _ACEOF
86385 cat confdefs.h >>conftest.$ac_ext
86386 cat >>conftest.$ac_ext <<_ACEOF
86387 /* end confdefs.h. */
86388 $ac_includes_default
86389 #include <$ac_header>
86390 _ACEOF
86391 rm -f conftest.$ac_objext
86392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86393 (eval $ac_compile) 2>conftest.er1
86394 ac_status=$?
86395 grep -v '^ *+' conftest.er1 >conftest.err
86396 rm -f conftest.er1
86397 cat conftest.err >&5
86398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86399 (exit $ac_status); } &&
86400 { ac_try='test -z "$ac_c_werror_flag"
86401 || test ! -s conftest.err'
86402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86403 (eval $ac_try) 2>&5
86404 ac_status=$?
86405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86406 (exit $ac_status); }; } &&
86407 { ac_try='test -s conftest.$ac_objext'
86408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86409 (eval $ac_try) 2>&5
86410 ac_status=$?
86411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86412 (exit $ac_status); }; }; then
86413 ac_header_compiler=yes
86414 else
86415 echo "$as_me: failed program was:" >&5
86416 sed 's/^/| /' conftest.$ac_ext >&5
86418 ac_header_compiler=no
86420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86422 echo "${ECHO_T}$ac_header_compiler" >&6
86424 # Is the header present?
86425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86427 cat >conftest.$ac_ext <<_ACEOF
86428 /* confdefs.h. */
86429 _ACEOF
86430 cat confdefs.h >>conftest.$ac_ext
86431 cat >>conftest.$ac_ext <<_ACEOF
86432 /* end confdefs.h. */
86433 #include <$ac_header>
86434 _ACEOF
86435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86437 ac_status=$?
86438 grep -v '^ *+' conftest.er1 >conftest.err
86439 rm -f conftest.er1
86440 cat conftest.err >&5
86441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86442 (exit $ac_status); } >/dev/null; then
86443 if test -s conftest.err; then
86444 ac_cpp_err=$ac_c_preproc_warn_flag
86445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86446 else
86447 ac_cpp_err=
86449 else
86450 ac_cpp_err=yes
86452 if test -z "$ac_cpp_err"; then
86453 ac_header_preproc=yes
86454 else
86455 echo "$as_me: failed program was:" >&5
86456 sed 's/^/| /' conftest.$ac_ext >&5
86458 ac_header_preproc=no
86460 rm -f conftest.err conftest.$ac_ext
86461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86462 echo "${ECHO_T}$ac_header_preproc" >&6
86464 # So? What about this header?
86465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86466 yes:no: )
86467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86471 ac_header_preproc=yes
86473 no:yes:* )
86474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86487 cat <<\_ASBOX
86488 ## ----------------------------------------- ##
86489 ## Report this to the package-unused lists. ##
86490 ## ----------------------------------------- ##
86491 _ASBOX
86493 sed "s/^/$as_me: WARNING: /" >&2
86495 esac
86496 echo "$as_me:$LINENO: checking for $ac_header" >&5
86497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86499 echo $ECHO_N "(cached) $ECHO_C" >&6
86500 else
86501 eval "$as_ac_Header=\$ac_header_preproc"
86503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86508 cat >>confdefs.h <<_ACEOF
86509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86510 _ACEOF
86514 done
86517 # If we're not using GNU ld, then there's no point in even trying these
86518 # tests. Check for that first. We should have already tested for gld
86519 # by now (in libtool), but require it now just to be safe...
86520 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86521 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86525 # The name set by libtool depends on the version of libtool. Shame on us
86526 # for depending on an impl detail, but c'est la vie. Older versions used
86527 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86528 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86529 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86530 # set (hence we're using an older libtool), then set it.
86531 if test x${with_gnu_ld+set} != xset; then
86532 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86533 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86534 with_gnu_ld=no
86535 else
86536 with_gnu_ld=$ac_cv_prog_gnu_ld
86540 # Start by getting the version number. I think the libtool test already
86541 # does some of this, but throws away the result.
86542 if test x"$with_gnu_ld" = x"yes"; then
86543 echo "$as_me:$LINENO: checking for ld version" >&5
86544 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86546 ldver=`$LD --version 2>/dev/null | head -1 | \
86547 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86549 glibcxx_gnu_ld_version=`echo $ldver | \
86550 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86551 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86552 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86555 # Set --gc-sections.
86556 glibcxx_gcsections_min_ld=21602
86557 if test x"$with_gnu_ld" = x"yes" &&
86558 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86560 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86561 # NB: This flag only works reliably after 2.16.1. Configure tests
86562 # for this are difficult, so hard wire a value that should work.
86564 ac_test_CFLAGS="${CFLAGS+set}"
86565 ac_save_CFLAGS="$CFLAGS"
86566 CFLAGS='-Wl,--gc-sections'
86568 # Check for -Wl,--gc-sections
86569 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86570 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86571 if test x$gcc_no_link = xyes; then
86572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86574 { (exit 1); exit 1; }; }
86576 cat >conftest.$ac_ext <<_ACEOF
86577 /* confdefs.h. */
86578 _ACEOF
86579 cat confdefs.h >>conftest.$ac_ext
86580 cat >>conftest.$ac_ext <<_ACEOF
86581 /* end confdefs.h. */
86582 int one(void) { return 1; }
86583 int two(void) { return 2; }
86586 main ()
86588 two();
86590 return 0;
86592 _ACEOF
86593 rm -f conftest.$ac_objext conftest$ac_exeext
86594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86595 (eval $ac_link) 2>conftest.er1
86596 ac_status=$?
86597 grep -v '^ *+' conftest.er1 >conftest.err
86598 rm -f conftest.er1
86599 cat conftest.err >&5
86600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86601 (exit $ac_status); } &&
86602 { ac_try='test -z "$ac_c_werror_flag"
86603 || test ! -s conftest.err'
86604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86605 (eval $ac_try) 2>&5
86606 ac_status=$?
86607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86608 (exit $ac_status); }; } &&
86609 { ac_try='test -s conftest$ac_exeext'
86610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86611 (eval $ac_try) 2>&5
86612 ac_status=$?
86613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86614 (exit $ac_status); }; }; then
86615 ac_gcsections=yes
86616 else
86617 echo "$as_me: failed program was:" >&5
86618 sed 's/^/| /' conftest.$ac_ext >&5
86620 ac_gcsections=no
86622 rm -f conftest.err conftest.$ac_objext \
86623 conftest$ac_exeext conftest.$ac_ext
86624 if test "$ac_gcsections" = "yes"; then
86625 rm -f conftest.c
86626 touch conftest.c
86627 if $CC -c conftest.c; then
86628 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86629 grep "Warning: gc-sections option ignored" > /dev/null; then
86630 ac_gcsections=no
86633 rm -f conftest.c conftest.o conftest
86635 if test "$ac_gcsections" = "yes"; then
86636 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86638 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86639 echo "${ECHO_T}$ac_gcsections" >&6
86641 if test "$ac_test_CFLAGS" = set; then
86642 CFLAGS="$ac_save_CFLAGS"
86643 else
86644 # this is the suspicious part
86645 CFLAGS=''
86649 # Set -z,relro.
86650 # Note this is only for shared objects.
86651 ac_ld_relro=no
86652 if test x"$with_gnu_ld" = x"yes"; then
86653 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86654 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86655 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86656 if test -n "$cxx_z_relo"; then
86657 OPT_LDFLAGS="-Wl,-z,relro"
86658 ac_ld_relro=yes
86660 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86661 echo "${ECHO_T}$ac_ld_relro" >&6
86664 # Set linker optimization flags.
86665 if test x"$with_gnu_ld" = x"yes"; then
86666 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86674 echo "$as_me:$LINENO: checking for main in -lm" >&5
86675 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86676 if test "${ac_cv_lib_m_main+set}" = set; then
86677 echo $ECHO_N "(cached) $ECHO_C" >&6
86678 else
86679 ac_check_lib_save_LIBS=$LIBS
86680 LIBS="-lm $LIBS"
86681 if test x$gcc_no_link = xyes; then
86682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86684 { (exit 1); exit 1; }; }
86686 cat >conftest.$ac_ext <<_ACEOF
86687 /* confdefs.h. */
86688 _ACEOF
86689 cat confdefs.h >>conftest.$ac_ext
86690 cat >>conftest.$ac_ext <<_ACEOF
86691 /* end confdefs.h. */
86695 main ()
86697 main ();
86699 return 0;
86701 _ACEOF
86702 rm -f conftest.$ac_objext conftest$ac_exeext
86703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86704 (eval $ac_link) 2>conftest.er1
86705 ac_status=$?
86706 grep -v '^ *+' conftest.er1 >conftest.err
86707 rm -f conftest.er1
86708 cat conftest.err >&5
86709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86710 (exit $ac_status); } &&
86711 { ac_try='test -z "$ac_c_werror_flag"
86712 || test ! -s conftest.err'
86713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86714 (eval $ac_try) 2>&5
86715 ac_status=$?
86716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86717 (exit $ac_status); }; } &&
86718 { ac_try='test -s conftest$ac_exeext'
86719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86720 (eval $ac_try) 2>&5
86721 ac_status=$?
86722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86723 (exit $ac_status); }; }; then
86724 ac_cv_lib_m_main=yes
86725 else
86726 echo "$as_me: failed program was:" >&5
86727 sed 's/^/| /' conftest.$ac_ext >&5
86729 ac_cv_lib_m_main=no
86731 rm -f conftest.err conftest.$ac_objext \
86732 conftest$ac_exeext conftest.$ac_ext
86733 LIBS=$ac_check_lib_save_LIBS
86735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86736 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86737 if test $ac_cv_lib_m_main = yes; then
86738 cat >>confdefs.h <<_ACEOF
86739 #define HAVE_LIBM 1
86740 _ACEOF
86742 LIBS="-lm $LIBS"
86747 for ac_func in copysignf
86749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86750 echo "$as_me:$LINENO: checking for $ac_func" >&5
86751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86752 if eval "test \"\${$as_ac_var+set}\" = set"; then
86753 echo $ECHO_N "(cached) $ECHO_C" >&6
86754 else
86755 if test x$gcc_no_link = xyes; then
86756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86758 { (exit 1); exit 1; }; }
86760 cat >conftest.$ac_ext <<_ACEOF
86761 /* confdefs.h. */
86762 _ACEOF
86763 cat confdefs.h >>conftest.$ac_ext
86764 cat >>conftest.$ac_ext <<_ACEOF
86765 /* end confdefs.h. */
86766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86768 #define $ac_func innocuous_$ac_func
86770 /* System header to define __stub macros and hopefully few prototypes,
86771 which can conflict with char $ac_func (); below.
86772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86773 <limits.h> exists even on freestanding compilers. */
86775 #ifdef __STDC__
86776 # include <limits.h>
86777 #else
86778 # include <assert.h>
86779 #endif
86781 #undef $ac_func
86783 /* Override any gcc2 internal prototype to avoid an error. */
86784 #ifdef __cplusplus
86785 extern "C"
86787 #endif
86788 /* We use char because int might match the return type of a gcc2
86789 builtin and then its argument prototype would still apply. */
86790 char $ac_func ();
86791 /* The GNU C library defines this for functions which it implements
86792 to always fail with ENOSYS. Some functions are actually named
86793 something starting with __ and the normal name is an alias. */
86794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86795 choke me
86796 #else
86797 char (*f) () = $ac_func;
86798 #endif
86799 #ifdef __cplusplus
86801 #endif
86804 main ()
86806 return f != $ac_func;
86808 return 0;
86810 _ACEOF
86811 rm -f conftest.$ac_objext conftest$ac_exeext
86812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86813 (eval $ac_link) 2>conftest.er1
86814 ac_status=$?
86815 grep -v '^ *+' conftest.er1 >conftest.err
86816 rm -f conftest.er1
86817 cat conftest.err >&5
86818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86819 (exit $ac_status); } &&
86820 { ac_try='test -z "$ac_c_werror_flag"
86821 || test ! -s conftest.err'
86822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86823 (eval $ac_try) 2>&5
86824 ac_status=$?
86825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86826 (exit $ac_status); }; } &&
86827 { ac_try='test -s conftest$ac_exeext'
86828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86829 (eval $ac_try) 2>&5
86830 ac_status=$?
86831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86832 (exit $ac_status); }; }; then
86833 eval "$as_ac_var=yes"
86834 else
86835 echo "$as_me: failed program was:" >&5
86836 sed 's/^/| /' conftest.$ac_ext >&5
86838 eval "$as_ac_var=no"
86840 rm -f conftest.err conftest.$ac_objext \
86841 conftest$ac_exeext conftest.$ac_ext
86843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86845 if test `eval echo '${'$as_ac_var'}'` = yes; then
86846 cat >>confdefs.h <<_ACEOF
86847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86848 _ACEOF
86850 else
86851 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86853 done
86857 for ac_func in __signbit
86859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86860 echo "$as_me:$LINENO: checking for $ac_func" >&5
86861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86862 if eval "test \"\${$as_ac_var+set}\" = set"; then
86863 echo $ECHO_N "(cached) $ECHO_C" >&6
86864 else
86865 if test x$gcc_no_link = xyes; then
86866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86868 { (exit 1); exit 1; }; }
86870 cat >conftest.$ac_ext <<_ACEOF
86871 /* confdefs.h. */
86872 _ACEOF
86873 cat confdefs.h >>conftest.$ac_ext
86874 cat >>conftest.$ac_ext <<_ACEOF
86875 /* end confdefs.h. */
86876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86878 #define $ac_func innocuous_$ac_func
86880 /* System header to define __stub macros and hopefully few prototypes,
86881 which can conflict with char $ac_func (); below.
86882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86883 <limits.h> exists even on freestanding compilers. */
86885 #ifdef __STDC__
86886 # include <limits.h>
86887 #else
86888 # include <assert.h>
86889 #endif
86891 #undef $ac_func
86893 /* Override any gcc2 internal prototype to avoid an error. */
86894 #ifdef __cplusplus
86895 extern "C"
86897 #endif
86898 /* We use char because int might match the return type of a gcc2
86899 builtin and then its argument prototype would still apply. */
86900 char $ac_func ();
86901 /* The GNU C library defines this for functions which it implements
86902 to always fail with ENOSYS. Some functions are actually named
86903 something starting with __ and the normal name is an alias. */
86904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86905 choke me
86906 #else
86907 char (*f) () = $ac_func;
86908 #endif
86909 #ifdef __cplusplus
86911 #endif
86914 main ()
86916 return f != $ac_func;
86918 return 0;
86920 _ACEOF
86921 rm -f conftest.$ac_objext conftest$ac_exeext
86922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86923 (eval $ac_link) 2>conftest.er1
86924 ac_status=$?
86925 grep -v '^ *+' conftest.er1 >conftest.err
86926 rm -f conftest.er1
86927 cat conftest.err >&5
86928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86929 (exit $ac_status); } &&
86930 { ac_try='test -z "$ac_c_werror_flag"
86931 || test ! -s conftest.err'
86932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86933 (eval $ac_try) 2>&5
86934 ac_status=$?
86935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86936 (exit $ac_status); }; } &&
86937 { ac_try='test -s conftest$ac_exeext'
86938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86939 (eval $ac_try) 2>&5
86940 ac_status=$?
86941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86942 (exit $ac_status); }; }; then
86943 eval "$as_ac_var=yes"
86944 else
86945 echo "$as_me: failed program was:" >&5
86946 sed 's/^/| /' conftest.$ac_ext >&5
86948 eval "$as_ac_var=no"
86950 rm -f conftest.err conftest.$ac_objext \
86951 conftest$ac_exeext conftest.$ac_ext
86953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86955 if test `eval echo '${'$as_ac_var'}'` = yes; then
86956 cat >>confdefs.h <<_ACEOF
86957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86958 _ACEOF
86960 else
86961 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86963 done
86967 for ac_func in __signbitf
86969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86970 echo "$as_me:$LINENO: checking for $ac_func" >&5
86971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86972 if eval "test \"\${$as_ac_var+set}\" = set"; then
86973 echo $ECHO_N "(cached) $ECHO_C" >&6
86974 else
86975 if test x$gcc_no_link = xyes; then
86976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86978 { (exit 1); exit 1; }; }
86980 cat >conftest.$ac_ext <<_ACEOF
86981 /* confdefs.h. */
86982 _ACEOF
86983 cat confdefs.h >>conftest.$ac_ext
86984 cat >>conftest.$ac_ext <<_ACEOF
86985 /* end confdefs.h. */
86986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86988 #define $ac_func innocuous_$ac_func
86990 /* System header to define __stub macros and hopefully few prototypes,
86991 which can conflict with char $ac_func (); below.
86992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86993 <limits.h> exists even on freestanding compilers. */
86995 #ifdef __STDC__
86996 # include <limits.h>
86997 #else
86998 # include <assert.h>
86999 #endif
87001 #undef $ac_func
87003 /* Override any gcc2 internal prototype to avoid an error. */
87004 #ifdef __cplusplus
87005 extern "C"
87007 #endif
87008 /* We use char because int might match the return type of a gcc2
87009 builtin and then its argument prototype would still apply. */
87010 char $ac_func ();
87011 /* The GNU C library defines this for functions which it implements
87012 to always fail with ENOSYS. Some functions are actually named
87013 something starting with __ and the normal name is an alias. */
87014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87015 choke me
87016 #else
87017 char (*f) () = $ac_func;
87018 #endif
87019 #ifdef __cplusplus
87021 #endif
87024 main ()
87026 return f != $ac_func;
87028 return 0;
87030 _ACEOF
87031 rm -f conftest.$ac_objext conftest$ac_exeext
87032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87033 (eval $ac_link) 2>conftest.er1
87034 ac_status=$?
87035 grep -v '^ *+' conftest.er1 >conftest.err
87036 rm -f conftest.er1
87037 cat conftest.err >&5
87038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87039 (exit $ac_status); } &&
87040 { ac_try='test -z "$ac_c_werror_flag"
87041 || test ! -s conftest.err'
87042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87043 (eval $ac_try) 2>&5
87044 ac_status=$?
87045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87046 (exit $ac_status); }; } &&
87047 { ac_try='test -s conftest$ac_exeext'
87048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87049 (eval $ac_try) 2>&5
87050 ac_status=$?
87051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87052 (exit $ac_status); }; }; then
87053 eval "$as_ac_var=yes"
87054 else
87055 echo "$as_me: failed program was:" >&5
87056 sed 's/^/| /' conftest.$ac_ext >&5
87058 eval "$as_ac_var=no"
87060 rm -f conftest.err conftest.$ac_objext \
87061 conftest$ac_exeext conftest.$ac_ext
87063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87065 if test `eval echo '${'$as_ac_var'}'` = yes; then
87066 cat >>confdefs.h <<_ACEOF
87067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87068 _ACEOF
87070 else
87071 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87073 done
87076 if test x$ac_cv_func_copysignl = x"yes"; then
87078 for ac_func in __signbitl
87080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87081 echo "$as_me:$LINENO: checking for $ac_func" >&5
87082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87083 if eval "test \"\${$as_ac_var+set}\" = set"; then
87084 echo $ECHO_N "(cached) $ECHO_C" >&6
87085 else
87086 if test x$gcc_no_link = xyes; then
87087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87089 { (exit 1); exit 1; }; }
87091 cat >conftest.$ac_ext <<_ACEOF
87092 /* confdefs.h. */
87093 _ACEOF
87094 cat confdefs.h >>conftest.$ac_ext
87095 cat >>conftest.$ac_ext <<_ACEOF
87096 /* end confdefs.h. */
87097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87099 #define $ac_func innocuous_$ac_func
87101 /* System header to define __stub macros and hopefully few prototypes,
87102 which can conflict with char $ac_func (); below.
87103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87104 <limits.h> exists even on freestanding compilers. */
87106 #ifdef __STDC__
87107 # include <limits.h>
87108 #else
87109 # include <assert.h>
87110 #endif
87112 #undef $ac_func
87114 /* Override any gcc2 internal prototype to avoid an error. */
87115 #ifdef __cplusplus
87116 extern "C"
87118 #endif
87119 /* We use char because int might match the return type of a gcc2
87120 builtin and then its argument prototype would still apply. */
87121 char $ac_func ();
87122 /* The GNU C library defines this for functions which it implements
87123 to always fail with ENOSYS. Some functions are actually named
87124 something starting with __ and the normal name is an alias. */
87125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87126 choke me
87127 #else
87128 char (*f) () = $ac_func;
87129 #endif
87130 #ifdef __cplusplus
87132 #endif
87135 main ()
87137 return f != $ac_func;
87139 return 0;
87141 _ACEOF
87142 rm -f conftest.$ac_objext conftest$ac_exeext
87143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87144 (eval $ac_link) 2>conftest.er1
87145 ac_status=$?
87146 grep -v '^ *+' conftest.er1 >conftest.err
87147 rm -f conftest.er1
87148 cat conftest.err >&5
87149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87150 (exit $ac_status); } &&
87151 { ac_try='test -z "$ac_c_werror_flag"
87152 || test ! -s conftest.err'
87153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87154 (eval $ac_try) 2>&5
87155 ac_status=$?
87156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87157 (exit $ac_status); }; } &&
87158 { ac_try='test -s conftest$ac_exeext'
87159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87160 (eval $ac_try) 2>&5
87161 ac_status=$?
87162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87163 (exit $ac_status); }; }; then
87164 eval "$as_ac_var=yes"
87165 else
87166 echo "$as_me: failed program was:" >&5
87167 sed 's/^/| /' conftest.$ac_ext >&5
87169 eval "$as_ac_var=no"
87171 rm -f conftest.err conftest.$ac_objext \
87172 conftest$ac_exeext conftest.$ac_ext
87174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87176 if test `eval echo '${'$as_ac_var'}'` = yes; then
87177 cat >>confdefs.h <<_ACEOF
87178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87179 _ACEOF
87181 else
87182 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87184 done
87188 # Used in libmath/Makefile.am.
87189 if test -n "$LIBMATHOBJS"; then
87190 need_libmath=yes
87195 *-netbsd*)
87208 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87209 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87210 fp.h locale.h float.h inttypes.h
87212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87214 echo "$as_me:$LINENO: checking for $ac_header" >&5
87215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87217 echo $ECHO_N "(cached) $ECHO_C" >&6
87219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87221 else
87222 # Is the header compilable?
87223 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87224 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87225 cat >conftest.$ac_ext <<_ACEOF
87226 /* confdefs.h. */
87227 _ACEOF
87228 cat confdefs.h >>conftest.$ac_ext
87229 cat >>conftest.$ac_ext <<_ACEOF
87230 /* end confdefs.h. */
87231 $ac_includes_default
87232 #include <$ac_header>
87233 _ACEOF
87234 rm -f conftest.$ac_objext
87235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87236 (eval $ac_compile) 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_objext'
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 ac_header_compiler=yes
87257 else
87258 echo "$as_me: failed program was:" >&5
87259 sed 's/^/| /' conftest.$ac_ext >&5
87261 ac_header_compiler=no
87263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87265 echo "${ECHO_T}$ac_header_compiler" >&6
87267 # Is the header present?
87268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87270 cat >conftest.$ac_ext <<_ACEOF
87271 /* confdefs.h. */
87272 _ACEOF
87273 cat confdefs.h >>conftest.$ac_ext
87274 cat >>conftest.$ac_ext <<_ACEOF
87275 /* end confdefs.h. */
87276 #include <$ac_header>
87277 _ACEOF
87278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87280 ac_status=$?
87281 grep -v '^ *+' conftest.er1 >conftest.err
87282 rm -f conftest.er1
87283 cat conftest.err >&5
87284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87285 (exit $ac_status); } >/dev/null; then
87286 if test -s conftest.err; then
87287 ac_cpp_err=$ac_c_preproc_warn_flag
87288 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87289 else
87290 ac_cpp_err=
87292 else
87293 ac_cpp_err=yes
87295 if test -z "$ac_cpp_err"; then
87296 ac_header_preproc=yes
87297 else
87298 echo "$as_me: failed program was:" >&5
87299 sed 's/^/| /' conftest.$ac_ext >&5
87301 ac_header_preproc=no
87303 rm -f conftest.err conftest.$ac_ext
87304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87305 echo "${ECHO_T}$ac_header_preproc" >&6
87307 # So? What about this header?
87308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87309 yes:no: )
87310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87314 ac_header_preproc=yes
87316 no:yes:* )
87317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87330 cat <<\_ASBOX
87331 ## ----------------------------------------- ##
87332 ## Report this to the package-unused lists. ##
87333 ## ----------------------------------------- ##
87334 _ASBOX
87336 sed "s/^/$as_me: WARNING: /" >&2
87338 esac
87339 echo "$as_me:$LINENO: checking for $ac_header" >&5
87340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87342 echo $ECHO_N "(cached) $ECHO_C" >&6
87343 else
87344 eval "$as_ac_Header=\$ac_header_preproc"
87346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87351 cat >>confdefs.h <<_ACEOF
87352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87353 _ACEOF
87357 done
87359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87362 # If we're not using GNU ld, then there's no point in even trying these
87363 # tests. Check for that first. We should have already tested for gld
87364 # by now (in libtool), but require it now just to be safe...
87365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87370 # The name set by libtool depends on the version of libtool. Shame on us
87371 # for depending on an impl detail, but c'est la vie. Older versions used
87372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87375 # set (hence we're using an older libtool), then set it.
87376 if test x${with_gnu_ld+set} != xset; then
87377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87379 with_gnu_ld=no
87380 else
87381 with_gnu_ld=$ac_cv_prog_gnu_ld
87385 # Start by getting the version number. I think the libtool test already
87386 # does some of this, but throws away the result.
87387 if test x"$with_gnu_ld" = x"yes"; then
87388 echo "$as_me:$LINENO: checking for ld version" >&5
87389 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87391 ldver=`$LD --version 2>/dev/null | head -1 | \
87392 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87394 glibcxx_gnu_ld_version=`echo $ldver | \
87395 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87396 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87397 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87400 # Set --gc-sections.
87401 glibcxx_gcsections_min_ld=21602
87402 if test x"$with_gnu_ld" = x"yes" &&
87403 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87405 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87406 # NB: This flag only works reliably after 2.16.1. Configure tests
87407 # for this are difficult, so hard wire a value that should work.
87409 ac_test_CFLAGS="${CFLAGS+set}"
87410 ac_save_CFLAGS="$CFLAGS"
87411 CFLAGS='-Wl,--gc-sections'
87413 # Check for -Wl,--gc-sections
87414 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87415 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87416 if test x$gcc_no_link = xyes; then
87417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87419 { (exit 1); exit 1; }; }
87421 cat >conftest.$ac_ext <<_ACEOF
87422 /* confdefs.h. */
87423 _ACEOF
87424 cat confdefs.h >>conftest.$ac_ext
87425 cat >>conftest.$ac_ext <<_ACEOF
87426 /* end confdefs.h. */
87427 int one(void) { return 1; }
87428 int two(void) { return 2; }
87431 main ()
87433 two();
87435 return 0;
87437 _ACEOF
87438 rm -f conftest.$ac_objext conftest$ac_exeext
87439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87440 (eval $ac_link) 2>conftest.er1
87441 ac_status=$?
87442 grep -v '^ *+' conftest.er1 >conftest.err
87443 rm -f conftest.er1
87444 cat conftest.err >&5
87445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87446 (exit $ac_status); } &&
87447 { ac_try='test -z "$ac_c_werror_flag"
87448 || test ! -s conftest.err'
87449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87450 (eval $ac_try) 2>&5
87451 ac_status=$?
87452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87453 (exit $ac_status); }; } &&
87454 { ac_try='test -s conftest$ac_exeext'
87455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87456 (eval $ac_try) 2>&5
87457 ac_status=$?
87458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87459 (exit $ac_status); }; }; then
87460 ac_gcsections=yes
87461 else
87462 echo "$as_me: failed program was:" >&5
87463 sed 's/^/| /' conftest.$ac_ext >&5
87465 ac_gcsections=no
87467 rm -f conftest.err conftest.$ac_objext \
87468 conftest$ac_exeext conftest.$ac_ext
87469 if test "$ac_gcsections" = "yes"; then
87470 rm -f conftest.c
87471 touch conftest.c
87472 if $CC -c conftest.c; then
87473 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87474 grep "Warning: gc-sections option ignored" > /dev/null; then
87475 ac_gcsections=no
87478 rm -f conftest.c conftest.o conftest
87480 if test "$ac_gcsections" = "yes"; then
87481 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87483 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87484 echo "${ECHO_T}$ac_gcsections" >&6
87486 if test "$ac_test_CFLAGS" = set; then
87487 CFLAGS="$ac_save_CFLAGS"
87488 else
87489 # this is the suspicious part
87490 CFLAGS=''
87494 # Set -z,relro.
87495 # Note this is only for shared objects.
87496 ac_ld_relro=no
87497 if test x"$with_gnu_ld" = x"yes"; then
87498 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87499 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87500 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87501 if test -n "$cxx_z_relo"; then
87502 OPT_LDFLAGS="-Wl,-z,relro"
87503 ac_ld_relro=yes
87505 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87506 echo "${ECHO_T}$ac_ld_relro" >&6
87509 # Set linker optimization flags.
87510 if test x"$with_gnu_ld" = x"yes"; then
87511 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87519 echo "$as_me:$LINENO: checking for main in -lm" >&5
87520 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87521 if test "${ac_cv_lib_m_main+set}" = set; then
87522 echo $ECHO_N "(cached) $ECHO_C" >&6
87523 else
87524 ac_check_lib_save_LIBS=$LIBS
87525 LIBS="-lm $LIBS"
87526 if test x$gcc_no_link = xyes; then
87527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87529 { (exit 1); exit 1; }; }
87531 cat >conftest.$ac_ext <<_ACEOF
87532 /* confdefs.h. */
87533 _ACEOF
87534 cat confdefs.h >>conftest.$ac_ext
87535 cat >>conftest.$ac_ext <<_ACEOF
87536 /* end confdefs.h. */
87540 main ()
87542 main ();
87544 return 0;
87546 _ACEOF
87547 rm -f conftest.$ac_objext conftest$ac_exeext
87548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87549 (eval $ac_link) 2>conftest.er1
87550 ac_status=$?
87551 grep -v '^ *+' conftest.er1 >conftest.err
87552 rm -f conftest.er1
87553 cat conftest.err >&5
87554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87555 (exit $ac_status); } &&
87556 { ac_try='test -z "$ac_c_werror_flag"
87557 || test ! -s conftest.err'
87558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87559 (eval $ac_try) 2>&5
87560 ac_status=$?
87561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87562 (exit $ac_status); }; } &&
87563 { ac_try='test -s conftest$ac_exeext'
87564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87565 (eval $ac_try) 2>&5
87566 ac_status=$?
87567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87568 (exit $ac_status); }; }; then
87569 ac_cv_lib_m_main=yes
87570 else
87571 echo "$as_me: failed program was:" >&5
87572 sed 's/^/| /' conftest.$ac_ext >&5
87574 ac_cv_lib_m_main=no
87576 rm -f conftest.err conftest.$ac_objext \
87577 conftest$ac_exeext conftest.$ac_ext
87578 LIBS=$ac_check_lib_save_LIBS
87580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87581 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87582 if test $ac_cv_lib_m_main = yes; then
87583 cat >>confdefs.h <<_ACEOF
87584 #define HAVE_LIBM 1
87585 _ACEOF
87587 LIBS="-lm $LIBS"
87592 for ac_func in copysignf
87594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87595 echo "$as_me:$LINENO: checking for $ac_func" >&5
87596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87597 if eval "test \"\${$as_ac_var+set}\" = set"; then
87598 echo $ECHO_N "(cached) $ECHO_C" >&6
87599 else
87600 if test x$gcc_no_link = xyes; then
87601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87603 { (exit 1); exit 1; }; }
87605 cat >conftest.$ac_ext <<_ACEOF
87606 /* confdefs.h. */
87607 _ACEOF
87608 cat confdefs.h >>conftest.$ac_ext
87609 cat >>conftest.$ac_ext <<_ACEOF
87610 /* end confdefs.h. */
87611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87613 #define $ac_func innocuous_$ac_func
87615 /* System header to define __stub macros and hopefully few prototypes,
87616 which can conflict with char $ac_func (); below.
87617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87618 <limits.h> exists even on freestanding compilers. */
87620 #ifdef __STDC__
87621 # include <limits.h>
87622 #else
87623 # include <assert.h>
87624 #endif
87626 #undef $ac_func
87628 /* Override any gcc2 internal prototype to avoid an error. */
87629 #ifdef __cplusplus
87630 extern "C"
87632 #endif
87633 /* We use char because int might match the return type of a gcc2
87634 builtin and then its argument prototype would still apply. */
87635 char $ac_func ();
87636 /* The GNU C library defines this for functions which it implements
87637 to always fail with ENOSYS. Some functions are actually named
87638 something starting with __ and the normal name is an alias. */
87639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87640 choke me
87641 #else
87642 char (*f) () = $ac_func;
87643 #endif
87644 #ifdef __cplusplus
87646 #endif
87649 main ()
87651 return f != $ac_func;
87653 return 0;
87655 _ACEOF
87656 rm -f conftest.$ac_objext conftest$ac_exeext
87657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87658 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
87679 else
87680 echo "$as_me: failed program was:" >&5
87681 sed 's/^/| /' conftest.$ac_ext >&5
87683 eval "$as_ac_var=no"
87685 rm -f conftest.err conftest.$ac_objext \
87686 conftest$ac_exeext conftest.$ac_ext
87688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87690 if test `eval echo '${'$as_ac_var'}'` = yes; then
87691 cat >>confdefs.h <<_ACEOF
87692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87693 _ACEOF
87695 else
87696 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87698 done
87702 for ac_func in __signbit
87704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87705 echo "$as_me:$LINENO: checking for $ac_func" >&5
87706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87707 if eval "test \"\${$as_ac_var+set}\" = set"; then
87708 echo $ECHO_N "(cached) $ECHO_C" >&6
87709 else
87710 if test x$gcc_no_link = xyes; then
87711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87713 { (exit 1); exit 1; }; }
87715 cat >conftest.$ac_ext <<_ACEOF
87716 /* confdefs.h. */
87717 _ACEOF
87718 cat confdefs.h >>conftest.$ac_ext
87719 cat >>conftest.$ac_ext <<_ACEOF
87720 /* end confdefs.h. */
87721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87723 #define $ac_func innocuous_$ac_func
87725 /* System header to define __stub macros and hopefully few prototypes,
87726 which can conflict with char $ac_func (); below.
87727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87728 <limits.h> exists even on freestanding compilers. */
87730 #ifdef __STDC__
87731 # include <limits.h>
87732 #else
87733 # include <assert.h>
87734 #endif
87736 #undef $ac_func
87738 /* Override any gcc2 internal prototype to avoid an error. */
87739 #ifdef __cplusplus
87740 extern "C"
87742 #endif
87743 /* We use char because int might match the return type of a gcc2
87744 builtin and then its argument prototype would still apply. */
87745 char $ac_func ();
87746 /* The GNU C library defines this for functions which it implements
87747 to always fail with ENOSYS. Some functions are actually named
87748 something starting with __ and the normal name is an alias. */
87749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87750 choke me
87751 #else
87752 char (*f) () = $ac_func;
87753 #endif
87754 #ifdef __cplusplus
87756 #endif
87759 main ()
87761 return f != $ac_func;
87763 return 0;
87765 _ACEOF
87766 rm -f conftest.$ac_objext conftest$ac_exeext
87767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87768 (eval $ac_link) 2>conftest.er1
87769 ac_status=$?
87770 grep -v '^ *+' conftest.er1 >conftest.err
87771 rm -f conftest.er1
87772 cat conftest.err >&5
87773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87774 (exit $ac_status); } &&
87775 { ac_try='test -z "$ac_c_werror_flag"
87776 || test ! -s conftest.err'
87777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87778 (eval $ac_try) 2>&5
87779 ac_status=$?
87780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87781 (exit $ac_status); }; } &&
87782 { ac_try='test -s conftest$ac_exeext'
87783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87784 (eval $ac_try) 2>&5
87785 ac_status=$?
87786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87787 (exit $ac_status); }; }; then
87788 eval "$as_ac_var=yes"
87789 else
87790 echo "$as_me: failed program was:" >&5
87791 sed 's/^/| /' conftest.$ac_ext >&5
87793 eval "$as_ac_var=no"
87795 rm -f conftest.err conftest.$ac_objext \
87796 conftest$ac_exeext conftest.$ac_ext
87798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87800 if test `eval echo '${'$as_ac_var'}'` = yes; then
87801 cat >>confdefs.h <<_ACEOF
87802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87803 _ACEOF
87805 else
87806 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87808 done
87812 for ac_func in __signbitf
87814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87815 echo "$as_me:$LINENO: checking for $ac_func" >&5
87816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87817 if eval "test \"\${$as_ac_var+set}\" = set"; then
87818 echo $ECHO_N "(cached) $ECHO_C" >&6
87819 else
87820 if test x$gcc_no_link = xyes; then
87821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87823 { (exit 1); exit 1; }; }
87825 cat >conftest.$ac_ext <<_ACEOF
87826 /* confdefs.h. */
87827 _ACEOF
87828 cat confdefs.h >>conftest.$ac_ext
87829 cat >>conftest.$ac_ext <<_ACEOF
87830 /* end confdefs.h. */
87831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87833 #define $ac_func innocuous_$ac_func
87835 /* System header to define __stub macros and hopefully few prototypes,
87836 which can conflict with char $ac_func (); below.
87837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87838 <limits.h> exists even on freestanding compilers. */
87840 #ifdef __STDC__
87841 # include <limits.h>
87842 #else
87843 # include <assert.h>
87844 #endif
87846 #undef $ac_func
87848 /* Override any gcc2 internal prototype to avoid an error. */
87849 #ifdef __cplusplus
87850 extern "C"
87852 #endif
87853 /* We use char because int might match the return type of a gcc2
87854 builtin and then its argument prototype would still apply. */
87855 char $ac_func ();
87856 /* The GNU C library defines this for functions which it implements
87857 to always fail with ENOSYS. Some functions are actually named
87858 something starting with __ and the normal name is an alias. */
87859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87860 choke me
87861 #else
87862 char (*f) () = $ac_func;
87863 #endif
87864 #ifdef __cplusplus
87866 #endif
87869 main ()
87871 return f != $ac_func;
87873 return 0;
87875 _ACEOF
87876 rm -f conftest.$ac_objext conftest$ac_exeext
87877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87878 (eval $ac_link) 2>conftest.er1
87879 ac_status=$?
87880 grep -v '^ *+' conftest.er1 >conftest.err
87881 rm -f conftest.er1
87882 cat conftest.err >&5
87883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87884 (exit $ac_status); } &&
87885 { ac_try='test -z "$ac_c_werror_flag"
87886 || test ! -s conftest.err'
87887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87888 (eval $ac_try) 2>&5
87889 ac_status=$?
87890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87891 (exit $ac_status); }; } &&
87892 { ac_try='test -s conftest$ac_exeext'
87893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87894 (eval $ac_try) 2>&5
87895 ac_status=$?
87896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87897 (exit $ac_status); }; }; then
87898 eval "$as_ac_var=yes"
87899 else
87900 echo "$as_me: failed program was:" >&5
87901 sed 's/^/| /' conftest.$ac_ext >&5
87903 eval "$as_ac_var=no"
87905 rm -f conftest.err conftest.$ac_objext \
87906 conftest$ac_exeext conftest.$ac_ext
87908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87910 if test `eval echo '${'$as_ac_var'}'` = yes; then
87911 cat >>confdefs.h <<_ACEOF
87912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87913 _ACEOF
87915 else
87916 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87918 done
87921 if test x$ac_cv_func_copysignl = x"yes"; then
87923 for ac_func in __signbitl
87925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87926 echo "$as_me:$LINENO: checking for $ac_func" >&5
87927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87928 if eval "test \"\${$as_ac_var+set}\" = set"; then
87929 echo $ECHO_N "(cached) $ECHO_C" >&6
87930 else
87931 if test x$gcc_no_link = xyes; then
87932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87934 { (exit 1); exit 1; }; }
87936 cat >conftest.$ac_ext <<_ACEOF
87937 /* confdefs.h. */
87938 _ACEOF
87939 cat confdefs.h >>conftest.$ac_ext
87940 cat >>conftest.$ac_ext <<_ACEOF
87941 /* end confdefs.h. */
87942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87944 #define $ac_func innocuous_$ac_func
87946 /* System header to define __stub macros and hopefully few prototypes,
87947 which can conflict with char $ac_func (); below.
87948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87949 <limits.h> exists even on freestanding compilers. */
87951 #ifdef __STDC__
87952 # include <limits.h>
87953 #else
87954 # include <assert.h>
87955 #endif
87957 #undef $ac_func
87959 /* Override any gcc2 internal prototype to avoid an error. */
87960 #ifdef __cplusplus
87961 extern "C"
87963 #endif
87964 /* We use char because int might match the return type of a gcc2
87965 builtin and then its argument prototype would still apply. */
87966 char $ac_func ();
87967 /* The GNU C library defines this for functions which it implements
87968 to always fail with ENOSYS. Some functions are actually named
87969 something starting with __ and the normal name is an alias. */
87970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87971 choke me
87972 #else
87973 char (*f) () = $ac_func;
87974 #endif
87975 #ifdef __cplusplus
87977 #endif
87980 main ()
87982 return f != $ac_func;
87984 return 0;
87986 _ACEOF
87987 rm -f conftest.$ac_objext conftest$ac_exeext
87988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87989 (eval $ac_link) 2>conftest.er1
87990 ac_status=$?
87991 grep -v '^ *+' conftest.er1 >conftest.err
87992 rm -f conftest.er1
87993 cat conftest.err >&5
87994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87995 (exit $ac_status); } &&
87996 { ac_try='test -z "$ac_c_werror_flag"
87997 || test ! -s conftest.err'
87998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87999 (eval $ac_try) 2>&5
88000 ac_status=$?
88001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88002 (exit $ac_status); }; } &&
88003 { ac_try='test -s conftest$ac_exeext'
88004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88005 (eval $ac_try) 2>&5
88006 ac_status=$?
88007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88008 (exit $ac_status); }; }; then
88009 eval "$as_ac_var=yes"
88010 else
88011 echo "$as_me: failed program was:" >&5
88012 sed 's/^/| /' conftest.$ac_ext >&5
88014 eval "$as_ac_var=no"
88016 rm -f conftest.err conftest.$ac_objext \
88017 conftest$ac_exeext conftest.$ac_ext
88019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88021 if test `eval echo '${'$as_ac_var'}'` = yes; then
88022 cat >>confdefs.h <<_ACEOF
88023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88024 _ACEOF
88026 else
88027 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88029 done
88033 # Used in libmath/Makefile.am.
88034 if test -n "$LIBMATHOBJS"; then
88035 need_libmath=yes
88039 cat >>confdefs.h <<\_ACEOF
88040 #define HAVE_COPYSIGN 1
88041 _ACEOF
88043 cat >>confdefs.h <<\_ACEOF
88044 #define HAVE_COPYSIGNF 1
88045 _ACEOF
88047 cat >>confdefs.h <<\_ACEOF
88048 #define HAVE_FINITEF 1
88049 _ACEOF
88051 cat >>confdefs.h <<\_ACEOF
88052 #define HAVE_FINITE 1
88053 _ACEOF
88055 cat >>confdefs.h <<\_ACEOF
88056 #define HAVE_FREXPF 1
88057 _ACEOF
88059 cat >>confdefs.h <<\_ACEOF
88060 #define HAVE_HYPOTF 1
88061 _ACEOF
88063 cat >>confdefs.h <<\_ACEOF
88064 #define HAVE_ISINF 1
88065 _ACEOF
88067 cat >>confdefs.h <<\_ACEOF
88068 #define HAVE_ISINFF 1
88069 _ACEOF
88071 cat >>confdefs.h <<\_ACEOF
88072 #define HAVE_ISNAN 1
88073 _ACEOF
88075 cat >>confdefs.h <<\_ACEOF
88076 #define HAVE_ISNANF 1
88077 _ACEOF
88079 if test x"long_double_math_on_this_cpu" = x"yes"; then
88080 cat >>confdefs.h <<\_ACEOF
88081 #define HAVE_FINITEL 1
88082 _ACEOF
88084 cat >>confdefs.h <<\_ACEOF
88085 #define HAVE_ISINFL 1
88086 _ACEOF
88088 cat >>confdefs.h <<\_ACEOF
88089 #define HAVE_ISNANL 1
88090 _ACEOF
88094 *-netware)
88103 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88104 sys/types.h locale.h float.h inttypes.h
88106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88108 echo "$as_me:$LINENO: checking for $ac_header" >&5
88109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88111 echo $ECHO_N "(cached) $ECHO_C" >&6
88113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88115 else
88116 # Is the header compilable?
88117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88119 cat >conftest.$ac_ext <<_ACEOF
88120 /* confdefs.h. */
88121 _ACEOF
88122 cat confdefs.h >>conftest.$ac_ext
88123 cat >>conftest.$ac_ext <<_ACEOF
88124 /* end confdefs.h. */
88125 $ac_includes_default
88126 #include <$ac_header>
88127 _ACEOF
88128 rm -f conftest.$ac_objext
88129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88130 (eval $ac_compile) 2>conftest.er1
88131 ac_status=$?
88132 grep -v '^ *+' conftest.er1 >conftest.err
88133 rm -f conftest.er1
88134 cat conftest.err >&5
88135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88136 (exit $ac_status); } &&
88137 { ac_try='test -z "$ac_c_werror_flag"
88138 || test ! -s conftest.err'
88139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88140 (eval $ac_try) 2>&5
88141 ac_status=$?
88142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88143 (exit $ac_status); }; } &&
88144 { ac_try='test -s conftest.$ac_objext'
88145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88146 (eval $ac_try) 2>&5
88147 ac_status=$?
88148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88149 (exit $ac_status); }; }; then
88150 ac_header_compiler=yes
88151 else
88152 echo "$as_me: failed program was:" >&5
88153 sed 's/^/| /' conftest.$ac_ext >&5
88155 ac_header_compiler=no
88157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88159 echo "${ECHO_T}$ac_header_compiler" >&6
88161 # Is the header present?
88162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88164 cat >conftest.$ac_ext <<_ACEOF
88165 /* confdefs.h. */
88166 _ACEOF
88167 cat confdefs.h >>conftest.$ac_ext
88168 cat >>conftest.$ac_ext <<_ACEOF
88169 /* end confdefs.h. */
88170 #include <$ac_header>
88171 _ACEOF
88172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88174 ac_status=$?
88175 grep -v '^ *+' conftest.er1 >conftest.err
88176 rm -f conftest.er1
88177 cat conftest.err >&5
88178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88179 (exit $ac_status); } >/dev/null; then
88180 if test -s conftest.err; then
88181 ac_cpp_err=$ac_c_preproc_warn_flag
88182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88183 else
88184 ac_cpp_err=
88186 else
88187 ac_cpp_err=yes
88189 if test -z "$ac_cpp_err"; then
88190 ac_header_preproc=yes
88191 else
88192 echo "$as_me: failed program was:" >&5
88193 sed 's/^/| /' conftest.$ac_ext >&5
88195 ac_header_preproc=no
88197 rm -f conftest.err conftest.$ac_ext
88198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88199 echo "${ECHO_T}$ac_header_preproc" >&6
88201 # So? What about this header?
88202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88203 yes:no: )
88204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88208 ac_header_preproc=yes
88210 no:yes:* )
88211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88224 cat <<\_ASBOX
88225 ## ----------------------------------------- ##
88226 ## Report this to the package-unused lists. ##
88227 ## ----------------------------------------- ##
88228 _ASBOX
88230 sed "s/^/$as_me: WARNING: /" >&2
88232 esac
88233 echo "$as_me:$LINENO: checking for $ac_header" >&5
88234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88236 echo $ECHO_N "(cached) $ECHO_C" >&6
88237 else
88238 eval "$as_ac_Header=\$ac_header_preproc"
88240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88245 cat >>confdefs.h <<_ACEOF
88246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88247 _ACEOF
88251 done
88253 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88256 # If we're not using GNU ld, then there's no point in even trying these
88257 # tests. Check for that first. We should have already tested for gld
88258 # by now (in libtool), but require it now just to be safe...
88259 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88260 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88264 # The name set by libtool depends on the version of libtool. Shame on us
88265 # for depending on an impl detail, but c'est la vie. Older versions used
88266 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88267 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88268 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88269 # set (hence we're using an older libtool), then set it.
88270 if test x${with_gnu_ld+set} != xset; then
88271 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88272 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88273 with_gnu_ld=no
88274 else
88275 with_gnu_ld=$ac_cv_prog_gnu_ld
88279 # Start by getting the version number. I think the libtool test already
88280 # does some of this, but throws away the result.
88281 if test x"$with_gnu_ld" = x"yes"; then
88282 echo "$as_me:$LINENO: checking for ld version" >&5
88283 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88285 ldver=`$LD --version 2>/dev/null | head -1 | \
88286 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
88288 glibcxx_gnu_ld_version=`echo $ldver | \
88289 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88290 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88291 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88294 # Set --gc-sections.
88295 glibcxx_gcsections_min_ld=21602
88296 if test x"$with_gnu_ld" = x"yes" &&
88297 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88299 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88300 # NB: This flag only works reliably after 2.16.1. Configure tests
88301 # for this are difficult, so hard wire a value that should work.
88303 ac_test_CFLAGS="${CFLAGS+set}"
88304 ac_save_CFLAGS="$CFLAGS"
88305 CFLAGS='-Wl,--gc-sections'
88307 # Check for -Wl,--gc-sections
88308 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88309 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88310 if test x$gcc_no_link = xyes; then
88311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88313 { (exit 1); exit 1; }; }
88315 cat >conftest.$ac_ext <<_ACEOF
88316 /* confdefs.h. */
88317 _ACEOF
88318 cat confdefs.h >>conftest.$ac_ext
88319 cat >>conftest.$ac_ext <<_ACEOF
88320 /* end confdefs.h. */
88321 int one(void) { return 1; }
88322 int two(void) { return 2; }
88325 main ()
88327 two();
88329 return 0;
88331 _ACEOF
88332 rm -f conftest.$ac_objext conftest$ac_exeext
88333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88334 (eval $ac_link) 2>conftest.er1
88335 ac_status=$?
88336 grep -v '^ *+' conftest.er1 >conftest.err
88337 rm -f conftest.er1
88338 cat conftest.err >&5
88339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88340 (exit $ac_status); } &&
88341 { ac_try='test -z "$ac_c_werror_flag"
88342 || test ! -s conftest.err'
88343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88344 (eval $ac_try) 2>&5
88345 ac_status=$?
88346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88347 (exit $ac_status); }; } &&
88348 { ac_try='test -s conftest$ac_exeext'
88349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88350 (eval $ac_try) 2>&5
88351 ac_status=$?
88352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88353 (exit $ac_status); }; }; then
88354 ac_gcsections=yes
88355 else
88356 echo "$as_me: failed program was:" >&5
88357 sed 's/^/| /' conftest.$ac_ext >&5
88359 ac_gcsections=no
88361 rm -f conftest.err conftest.$ac_objext \
88362 conftest$ac_exeext conftest.$ac_ext
88363 if test "$ac_gcsections" = "yes"; then
88364 rm -f conftest.c
88365 touch conftest.c
88366 if $CC -c conftest.c; then
88367 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88368 grep "Warning: gc-sections option ignored" > /dev/null; then
88369 ac_gcsections=no
88372 rm -f conftest.c conftest.o conftest
88374 if test "$ac_gcsections" = "yes"; then
88375 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88377 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88378 echo "${ECHO_T}$ac_gcsections" >&6
88380 if test "$ac_test_CFLAGS" = set; then
88381 CFLAGS="$ac_save_CFLAGS"
88382 else
88383 # this is the suspicious part
88384 CFLAGS=''
88388 # Set -z,relro.
88389 # Note this is only for shared objects.
88390 ac_ld_relro=no
88391 if test x"$with_gnu_ld" = x"yes"; then
88392 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88393 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88394 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88395 if test -n "$cxx_z_relo"; then
88396 OPT_LDFLAGS="-Wl,-z,relro"
88397 ac_ld_relro=yes
88399 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88400 echo "${ECHO_T}$ac_ld_relro" >&6
88403 # Set linker optimization flags.
88404 if test x"$with_gnu_ld" = x"yes"; then
88405 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88413 echo "$as_me:$LINENO: checking for main in -lm" >&5
88414 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
88415 if test "${ac_cv_lib_m_main+set}" = set; then
88416 echo $ECHO_N "(cached) $ECHO_C" >&6
88417 else
88418 ac_check_lib_save_LIBS=$LIBS
88419 LIBS="-lm $LIBS"
88420 if test x$gcc_no_link = xyes; then
88421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88423 { (exit 1); exit 1; }; }
88425 cat >conftest.$ac_ext <<_ACEOF
88426 /* confdefs.h. */
88427 _ACEOF
88428 cat confdefs.h >>conftest.$ac_ext
88429 cat >>conftest.$ac_ext <<_ACEOF
88430 /* end confdefs.h. */
88434 main ()
88436 main ();
88438 return 0;
88440 _ACEOF
88441 rm -f conftest.$ac_objext conftest$ac_exeext
88442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88443 (eval $ac_link) 2>conftest.er1
88444 ac_status=$?
88445 grep -v '^ *+' conftest.er1 >conftest.err
88446 rm -f conftest.er1
88447 cat conftest.err >&5
88448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88449 (exit $ac_status); } &&
88450 { ac_try='test -z "$ac_c_werror_flag"
88451 || test ! -s conftest.err'
88452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88453 (eval $ac_try) 2>&5
88454 ac_status=$?
88455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88456 (exit $ac_status); }; } &&
88457 { ac_try='test -s conftest$ac_exeext'
88458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88459 (eval $ac_try) 2>&5
88460 ac_status=$?
88461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88462 (exit $ac_status); }; }; then
88463 ac_cv_lib_m_main=yes
88464 else
88465 echo "$as_me: failed program was:" >&5
88466 sed 's/^/| /' conftest.$ac_ext >&5
88468 ac_cv_lib_m_main=no
88470 rm -f conftest.err conftest.$ac_objext \
88471 conftest$ac_exeext conftest.$ac_ext
88472 LIBS=$ac_check_lib_save_LIBS
88474 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
88475 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
88476 if test $ac_cv_lib_m_main = yes; then
88477 cat >>confdefs.h <<_ACEOF
88478 #define HAVE_LIBM 1
88479 _ACEOF
88481 LIBS="-lm $LIBS"
88486 for ac_func in copysignf
88488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88489 echo "$as_me:$LINENO: checking for $ac_func" >&5
88490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88491 if eval "test \"\${$as_ac_var+set}\" = set"; then
88492 echo $ECHO_N "(cached) $ECHO_C" >&6
88493 else
88494 if test x$gcc_no_link = xyes; then
88495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88497 { (exit 1); exit 1; }; }
88499 cat >conftest.$ac_ext <<_ACEOF
88500 /* confdefs.h. */
88501 _ACEOF
88502 cat confdefs.h >>conftest.$ac_ext
88503 cat >>conftest.$ac_ext <<_ACEOF
88504 /* end confdefs.h. */
88505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88507 #define $ac_func innocuous_$ac_func
88509 /* System header to define __stub macros and hopefully few prototypes,
88510 which can conflict with char $ac_func (); below.
88511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88512 <limits.h> exists even on freestanding compilers. */
88514 #ifdef __STDC__
88515 # include <limits.h>
88516 #else
88517 # include <assert.h>
88518 #endif
88520 #undef $ac_func
88522 /* Override any gcc2 internal prototype to avoid an error. */
88523 #ifdef __cplusplus
88524 extern "C"
88526 #endif
88527 /* We use char because int might match the return type of a gcc2
88528 builtin and then its argument prototype would still apply. */
88529 char $ac_func ();
88530 /* The GNU C library defines this for functions which it implements
88531 to always fail with ENOSYS. Some functions are actually named
88532 something starting with __ and the normal name is an alias. */
88533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88534 choke me
88535 #else
88536 char (*f) () = $ac_func;
88537 #endif
88538 #ifdef __cplusplus
88540 #endif
88543 main ()
88545 return f != $ac_func;
88547 return 0;
88549 _ACEOF
88550 rm -f conftest.$ac_objext conftest$ac_exeext
88551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88552 (eval $ac_link) 2>conftest.er1
88553 ac_status=$?
88554 grep -v '^ *+' conftest.er1 >conftest.err
88555 rm -f conftest.er1
88556 cat conftest.err >&5
88557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88558 (exit $ac_status); } &&
88559 { ac_try='test -z "$ac_c_werror_flag"
88560 || test ! -s conftest.err'
88561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88562 (eval $ac_try) 2>&5
88563 ac_status=$?
88564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88565 (exit $ac_status); }; } &&
88566 { ac_try='test -s conftest$ac_exeext'
88567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88568 (eval $ac_try) 2>&5
88569 ac_status=$?
88570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571 (exit $ac_status); }; }; then
88572 eval "$as_ac_var=yes"
88573 else
88574 echo "$as_me: failed program was:" >&5
88575 sed 's/^/| /' conftest.$ac_ext >&5
88577 eval "$as_ac_var=no"
88579 rm -f conftest.err conftest.$ac_objext \
88580 conftest$ac_exeext conftest.$ac_ext
88582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88584 if test `eval echo '${'$as_ac_var'}'` = yes; then
88585 cat >>confdefs.h <<_ACEOF
88586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88587 _ACEOF
88589 else
88590 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
88592 done
88596 for ac_func in __signbit
88598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88599 echo "$as_me:$LINENO: checking for $ac_func" >&5
88600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88601 if eval "test \"\${$as_ac_var+set}\" = set"; then
88602 echo $ECHO_N "(cached) $ECHO_C" >&6
88603 else
88604 if test x$gcc_no_link = xyes; then
88605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88607 { (exit 1); exit 1; }; }
88609 cat >conftest.$ac_ext <<_ACEOF
88610 /* confdefs.h. */
88611 _ACEOF
88612 cat confdefs.h >>conftest.$ac_ext
88613 cat >>conftest.$ac_ext <<_ACEOF
88614 /* end confdefs.h. */
88615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88617 #define $ac_func innocuous_$ac_func
88619 /* System header to define __stub macros and hopefully few prototypes,
88620 which can conflict with char $ac_func (); below.
88621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88622 <limits.h> exists even on freestanding compilers. */
88624 #ifdef __STDC__
88625 # include <limits.h>
88626 #else
88627 # include <assert.h>
88628 #endif
88630 #undef $ac_func
88632 /* Override any gcc2 internal prototype to avoid an error. */
88633 #ifdef __cplusplus
88634 extern "C"
88636 #endif
88637 /* We use char because int might match the return type of a gcc2
88638 builtin and then its argument prototype would still apply. */
88639 char $ac_func ();
88640 /* The GNU C library defines this for functions which it implements
88641 to always fail with ENOSYS. Some functions are actually named
88642 something starting with __ and the normal name is an alias. */
88643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88644 choke me
88645 #else
88646 char (*f) () = $ac_func;
88647 #endif
88648 #ifdef __cplusplus
88650 #endif
88653 main ()
88655 return f != $ac_func;
88657 return 0;
88659 _ACEOF
88660 rm -f conftest.$ac_objext conftest$ac_exeext
88661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88662 (eval $ac_link) 2>conftest.er1
88663 ac_status=$?
88664 grep -v '^ *+' conftest.er1 >conftest.err
88665 rm -f conftest.er1
88666 cat conftest.err >&5
88667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88668 (exit $ac_status); } &&
88669 { ac_try='test -z "$ac_c_werror_flag"
88670 || test ! -s conftest.err'
88671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88672 (eval $ac_try) 2>&5
88673 ac_status=$?
88674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88675 (exit $ac_status); }; } &&
88676 { ac_try='test -s conftest$ac_exeext'
88677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88678 (eval $ac_try) 2>&5
88679 ac_status=$?
88680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88681 (exit $ac_status); }; }; then
88682 eval "$as_ac_var=yes"
88683 else
88684 echo "$as_me: failed program was:" >&5
88685 sed 's/^/| /' conftest.$ac_ext >&5
88687 eval "$as_ac_var=no"
88689 rm -f conftest.err conftest.$ac_objext \
88690 conftest$ac_exeext conftest.$ac_ext
88692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88694 if test `eval echo '${'$as_ac_var'}'` = yes; then
88695 cat >>confdefs.h <<_ACEOF
88696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88697 _ACEOF
88699 else
88700 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88702 done
88706 for ac_func in __signbitf
88708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88709 echo "$as_me:$LINENO: checking for $ac_func" >&5
88710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88711 if eval "test \"\${$as_ac_var+set}\" = set"; then
88712 echo $ECHO_N "(cached) $ECHO_C" >&6
88713 else
88714 if test x$gcc_no_link = xyes; then
88715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88717 { (exit 1); exit 1; }; }
88719 cat >conftest.$ac_ext <<_ACEOF
88720 /* confdefs.h. */
88721 _ACEOF
88722 cat confdefs.h >>conftest.$ac_ext
88723 cat >>conftest.$ac_ext <<_ACEOF
88724 /* end confdefs.h. */
88725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88727 #define $ac_func innocuous_$ac_func
88729 /* System header to define __stub macros and hopefully few prototypes,
88730 which can conflict with char $ac_func (); below.
88731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88732 <limits.h> exists even on freestanding compilers. */
88734 #ifdef __STDC__
88735 # include <limits.h>
88736 #else
88737 # include <assert.h>
88738 #endif
88740 #undef $ac_func
88742 /* Override any gcc2 internal prototype to avoid an error. */
88743 #ifdef __cplusplus
88744 extern "C"
88746 #endif
88747 /* We use char because int might match the return type of a gcc2
88748 builtin and then its argument prototype would still apply. */
88749 char $ac_func ();
88750 /* The GNU C library defines this for functions which it implements
88751 to always fail with ENOSYS. Some functions are actually named
88752 something starting with __ and the normal name is an alias. */
88753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88754 choke me
88755 #else
88756 char (*f) () = $ac_func;
88757 #endif
88758 #ifdef __cplusplus
88760 #endif
88763 main ()
88765 return f != $ac_func;
88767 return 0;
88769 _ACEOF
88770 rm -f conftest.$ac_objext conftest$ac_exeext
88771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88772 (eval $ac_link) 2>conftest.er1
88773 ac_status=$?
88774 grep -v '^ *+' conftest.er1 >conftest.err
88775 rm -f conftest.er1
88776 cat conftest.err >&5
88777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778 (exit $ac_status); } &&
88779 { ac_try='test -z "$ac_c_werror_flag"
88780 || test ! -s conftest.err'
88781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88782 (eval $ac_try) 2>&5
88783 ac_status=$?
88784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88785 (exit $ac_status); }; } &&
88786 { ac_try='test -s conftest$ac_exeext'
88787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88788 (eval $ac_try) 2>&5
88789 ac_status=$?
88790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88791 (exit $ac_status); }; }; then
88792 eval "$as_ac_var=yes"
88793 else
88794 echo "$as_me: failed program was:" >&5
88795 sed 's/^/| /' conftest.$ac_ext >&5
88797 eval "$as_ac_var=no"
88799 rm -f conftest.err conftest.$ac_objext \
88800 conftest$ac_exeext conftest.$ac_ext
88802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88804 if test `eval echo '${'$as_ac_var'}'` = yes; then
88805 cat >>confdefs.h <<_ACEOF
88806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88807 _ACEOF
88809 else
88810 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88812 done
88815 if test x$ac_cv_func_copysignl = x"yes"; then
88817 for ac_func in __signbitl
88819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88820 echo "$as_me:$LINENO: checking for $ac_func" >&5
88821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88822 if eval "test \"\${$as_ac_var+set}\" = set"; then
88823 echo $ECHO_N "(cached) $ECHO_C" >&6
88824 else
88825 if test x$gcc_no_link = xyes; then
88826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88828 { (exit 1); exit 1; }; }
88830 cat >conftest.$ac_ext <<_ACEOF
88831 /* confdefs.h. */
88832 _ACEOF
88833 cat confdefs.h >>conftest.$ac_ext
88834 cat >>conftest.$ac_ext <<_ACEOF
88835 /* end confdefs.h. */
88836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88838 #define $ac_func innocuous_$ac_func
88840 /* System header to define __stub macros and hopefully few prototypes,
88841 which can conflict with char $ac_func (); below.
88842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88843 <limits.h> exists even on freestanding compilers. */
88845 #ifdef __STDC__
88846 # include <limits.h>
88847 #else
88848 # include <assert.h>
88849 #endif
88851 #undef $ac_func
88853 /* Override any gcc2 internal prototype to avoid an error. */
88854 #ifdef __cplusplus
88855 extern "C"
88857 #endif
88858 /* We use char because int might match the return type of a gcc2
88859 builtin and then its argument prototype would still apply. */
88860 char $ac_func ();
88861 /* The GNU C library defines this for functions which it implements
88862 to always fail with ENOSYS. Some functions are actually named
88863 something starting with __ and the normal name is an alias. */
88864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88865 choke me
88866 #else
88867 char (*f) () = $ac_func;
88868 #endif
88869 #ifdef __cplusplus
88871 #endif
88874 main ()
88876 return f != $ac_func;
88878 return 0;
88880 _ACEOF
88881 rm -f conftest.$ac_objext conftest$ac_exeext
88882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88883 (eval $ac_link) 2>conftest.er1
88884 ac_status=$?
88885 grep -v '^ *+' conftest.er1 >conftest.err
88886 rm -f conftest.er1
88887 cat conftest.err >&5
88888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88889 (exit $ac_status); } &&
88890 { ac_try='test -z "$ac_c_werror_flag"
88891 || test ! -s conftest.err'
88892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88893 (eval $ac_try) 2>&5
88894 ac_status=$?
88895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88896 (exit $ac_status); }; } &&
88897 { ac_try='test -s conftest$ac_exeext'
88898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88899 (eval $ac_try) 2>&5
88900 ac_status=$?
88901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88902 (exit $ac_status); }; }; then
88903 eval "$as_ac_var=yes"
88904 else
88905 echo "$as_me: failed program was:" >&5
88906 sed 's/^/| /' conftest.$ac_ext >&5
88908 eval "$as_ac_var=no"
88910 rm -f conftest.err conftest.$ac_objext \
88911 conftest$ac_exeext conftest.$ac_ext
88913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88915 if test `eval echo '${'$as_ac_var'}'` = yes; then
88916 cat >>confdefs.h <<_ACEOF
88917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88918 _ACEOF
88920 else
88921 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88923 done
88927 # Used in libmath/Makefile.am.
88928 if test -n "$LIBMATHOBJS"; then
88929 need_libmath=yes
88933 cat >>confdefs.h <<\_ACEOF
88934 #define HAVE_HYPOT 1
88935 _ACEOF
88937 cat >>confdefs.h <<\_ACEOF
88938 #define HAVE_ISINF 1
88939 _ACEOF
88941 cat >>confdefs.h <<\_ACEOF
88942 #define HAVE_ISNAN 1
88943 _ACEOF
88946 # For showmanyc_helper().
88949 for ac_header in sys/ioctl.h sys/filio.h
88951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88953 echo "$as_me:$LINENO: checking for $ac_header" >&5
88954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88956 echo $ECHO_N "(cached) $ECHO_C" >&6
88958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88960 else
88961 # Is the header compilable?
88962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88964 cat >conftest.$ac_ext <<_ACEOF
88965 /* confdefs.h. */
88966 _ACEOF
88967 cat confdefs.h >>conftest.$ac_ext
88968 cat >>conftest.$ac_ext <<_ACEOF
88969 /* end confdefs.h. */
88970 $ac_includes_default
88971 #include <$ac_header>
88972 _ACEOF
88973 rm -f conftest.$ac_objext
88974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88975 (eval $ac_compile) 2>conftest.er1
88976 ac_status=$?
88977 grep -v '^ *+' conftest.er1 >conftest.err
88978 rm -f conftest.er1
88979 cat conftest.err >&5
88980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88981 (exit $ac_status); } &&
88982 { ac_try='test -z "$ac_c_werror_flag"
88983 || test ! -s conftest.err'
88984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88985 (eval $ac_try) 2>&5
88986 ac_status=$?
88987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88988 (exit $ac_status); }; } &&
88989 { ac_try='test -s conftest.$ac_objext'
88990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88991 (eval $ac_try) 2>&5
88992 ac_status=$?
88993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88994 (exit $ac_status); }; }; then
88995 ac_header_compiler=yes
88996 else
88997 echo "$as_me: failed program was:" >&5
88998 sed 's/^/| /' conftest.$ac_ext >&5
89000 ac_header_compiler=no
89002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89004 echo "${ECHO_T}$ac_header_compiler" >&6
89006 # Is the header present?
89007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89009 cat >conftest.$ac_ext <<_ACEOF
89010 /* confdefs.h. */
89011 _ACEOF
89012 cat confdefs.h >>conftest.$ac_ext
89013 cat >>conftest.$ac_ext <<_ACEOF
89014 /* end confdefs.h. */
89015 #include <$ac_header>
89016 _ACEOF
89017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89018 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89019 ac_status=$?
89020 grep -v '^ *+' conftest.er1 >conftest.err
89021 rm -f conftest.er1
89022 cat conftest.err >&5
89023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89024 (exit $ac_status); } >/dev/null; then
89025 if test -s conftest.err; then
89026 ac_cpp_err=$ac_c_preproc_warn_flag
89027 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89028 else
89029 ac_cpp_err=
89031 else
89032 ac_cpp_err=yes
89034 if test -z "$ac_cpp_err"; then
89035 ac_header_preproc=yes
89036 else
89037 echo "$as_me: failed program was:" >&5
89038 sed 's/^/| /' conftest.$ac_ext >&5
89040 ac_header_preproc=no
89042 rm -f conftest.err conftest.$ac_ext
89043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89044 echo "${ECHO_T}$ac_header_preproc" >&6
89046 # So? What about this header?
89047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89048 yes:no: )
89049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89053 ac_header_preproc=yes
89055 no:yes:* )
89056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89060 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89062 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89063 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89066 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89069 cat <<\_ASBOX
89070 ## ----------------------------------------- ##
89071 ## Report this to the package-unused lists. ##
89072 ## ----------------------------------------- ##
89073 _ASBOX
89075 sed "s/^/$as_me: WARNING: /" >&2
89077 esac
89078 echo "$as_me:$LINENO: checking for $ac_header" >&5
89079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89081 echo $ECHO_N "(cached) $ECHO_C" >&6
89082 else
89083 eval "$as_ac_Header=\$ac_header_preproc"
89085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89090 cat >>confdefs.h <<_ACEOF
89091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89092 _ACEOF
89096 done
89099 echo "$as_me:$LINENO: checking for poll" >&5
89100 echo $ECHO_N "checking for poll... $ECHO_C" >&6
89101 if test "${glibcxx_cv_POLL+set}" = set; then
89102 echo $ECHO_N "(cached) $ECHO_C" >&6
89103 else
89105 if test x$gcc_no_link = xyes; then
89106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89108 { (exit 1); exit 1; }; }
89110 cat >conftest.$ac_ext <<_ACEOF
89111 /* confdefs.h. */
89112 _ACEOF
89113 cat confdefs.h >>conftest.$ac_ext
89114 cat >>conftest.$ac_ext <<_ACEOF
89115 /* end confdefs.h. */
89116 #include <poll.h>
89118 main ()
89120 struct pollfd pfd[1];
89121 pfd[0].events = POLLIN;
89122 poll(pfd, 1, 0);
89124 return 0;
89126 _ACEOF
89127 rm -f conftest.$ac_objext conftest$ac_exeext
89128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89129 (eval $ac_link) 2>conftest.er1
89130 ac_status=$?
89131 grep -v '^ *+' conftest.er1 >conftest.err
89132 rm -f conftest.er1
89133 cat conftest.err >&5
89134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89135 (exit $ac_status); } &&
89136 { ac_try='test -z "$ac_c_werror_flag"
89137 || test ! -s conftest.err'
89138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89139 (eval $ac_try) 2>&5
89140 ac_status=$?
89141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89142 (exit $ac_status); }; } &&
89143 { ac_try='test -s conftest$ac_exeext'
89144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89145 (eval $ac_try) 2>&5
89146 ac_status=$?
89147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89148 (exit $ac_status); }; }; then
89149 glibcxx_cv_POLL=yes
89150 else
89151 echo "$as_me: failed program was:" >&5
89152 sed 's/^/| /' conftest.$ac_ext >&5
89154 glibcxx_cv_POLL=no
89156 rm -f conftest.err conftest.$ac_objext \
89157 conftest$ac_exeext conftest.$ac_ext
89161 if test $glibcxx_cv_POLL = yes; then
89163 cat >>confdefs.h <<\_ACEOF
89164 #define HAVE_POLL 1
89165 _ACEOF
89168 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
89169 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
89172 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
89173 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
89174 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89175 echo $ECHO_N "(cached) $ECHO_C" >&6
89176 else
89178 if test x$gcc_no_link = xyes; then
89179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89181 { (exit 1); exit 1; }; }
89183 cat >conftest.$ac_ext <<_ACEOF
89184 /* confdefs.h. */
89185 _ACEOF
89186 cat confdefs.h >>conftest.$ac_ext
89187 cat >>conftest.$ac_ext <<_ACEOF
89188 /* end confdefs.h. */
89189 #include <sys/stat.h>
89191 main ()
89193 struct stat buffer;
89194 fstat(0, &buffer);
89195 S_ISREG(buffer.st_mode);
89197 return 0;
89199 _ACEOF
89200 rm -f conftest.$ac_objext conftest$ac_exeext
89201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89202 (eval $ac_link) 2>conftest.er1
89203 ac_status=$?
89204 grep -v '^ *+' conftest.er1 >conftest.err
89205 rm -f conftest.er1
89206 cat conftest.err >&5
89207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89208 (exit $ac_status); } &&
89209 { ac_try='test -z "$ac_c_werror_flag"
89210 || test ! -s conftest.err'
89211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89212 (eval $ac_try) 2>&5
89213 ac_status=$?
89214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89215 (exit $ac_status); }; } &&
89216 { ac_try='test -s conftest$ac_exeext'
89217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89218 (eval $ac_try) 2>&5
89219 ac_status=$?
89220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89221 (exit $ac_status); }; }; then
89222 glibcxx_cv_S_ISREG=yes
89223 else
89224 echo "$as_me: failed program was:" >&5
89225 sed 's/^/| /' conftest.$ac_ext >&5
89227 glibcxx_cv_S_ISREG=no
89229 rm -f conftest.err conftest.$ac_objext \
89230 conftest$ac_exeext conftest.$ac_ext
89234 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89235 echo $ECHO_N "(cached) $ECHO_C" >&6
89236 else
89238 if test x$gcc_no_link = xyes; then
89239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89241 { (exit 1); exit 1; }; }
89243 cat >conftest.$ac_ext <<_ACEOF
89244 /* confdefs.h. */
89245 _ACEOF
89246 cat confdefs.h >>conftest.$ac_ext
89247 cat >>conftest.$ac_ext <<_ACEOF
89248 /* end confdefs.h. */
89249 #include <sys/stat.h>
89251 main ()
89253 struct stat buffer;
89254 fstat(0, &buffer);
89255 S_IFREG & buffer.st_mode;
89257 return 0;
89259 _ACEOF
89260 rm -f conftest.$ac_objext conftest$ac_exeext
89261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89262 (eval $ac_link) 2>conftest.er1
89263 ac_status=$?
89264 grep -v '^ *+' conftest.er1 >conftest.err
89265 rm -f conftest.er1
89266 cat conftest.err >&5
89267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89268 (exit $ac_status); } &&
89269 { ac_try='test -z "$ac_c_werror_flag"
89270 || test ! -s conftest.err'
89271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89272 (eval $ac_try) 2>&5
89273 ac_status=$?
89274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89275 (exit $ac_status); }; } &&
89276 { ac_try='test -s conftest$ac_exeext'
89277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89278 (eval $ac_try) 2>&5
89279 ac_status=$?
89280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89281 (exit $ac_status); }; }; then
89282 glibcxx_cv_S_IFREG=yes
89283 else
89284 echo "$as_me: failed program was:" >&5
89285 sed 's/^/| /' conftest.$ac_ext >&5
89287 glibcxx_cv_S_IFREG=no
89289 rm -f conftest.err conftest.$ac_objext \
89290 conftest$ac_exeext conftest.$ac_ext
89294 res=no
89295 if test $glibcxx_cv_S_ISREG = yes; then
89297 cat >>confdefs.h <<\_ACEOF
89298 #define HAVE_S_ISREG 1
89299 _ACEOF
89301 res=S_ISREG
89302 elif test $glibcxx_cv_S_IFREG = yes; then
89304 cat >>confdefs.h <<\_ACEOF
89305 #define HAVE_S_IFREG 1
89306 _ACEOF
89308 res=S_IFREG
89310 echo "$as_me:$LINENO: result: $res" >&5
89311 echo "${ECHO_T}$res" >&6
89314 # For xsputn_2().
89316 for ac_header in sys/uio.h
89318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89320 echo "$as_me:$LINENO: checking for $ac_header" >&5
89321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89323 echo $ECHO_N "(cached) $ECHO_C" >&6
89325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89327 else
89328 # Is the header compilable?
89329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89331 cat >conftest.$ac_ext <<_ACEOF
89332 /* confdefs.h. */
89333 _ACEOF
89334 cat confdefs.h >>conftest.$ac_ext
89335 cat >>conftest.$ac_ext <<_ACEOF
89336 /* end confdefs.h. */
89337 $ac_includes_default
89338 #include <$ac_header>
89339 _ACEOF
89340 rm -f conftest.$ac_objext
89341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89342 (eval $ac_compile) 2>conftest.er1
89343 ac_status=$?
89344 grep -v '^ *+' conftest.er1 >conftest.err
89345 rm -f conftest.er1
89346 cat conftest.err >&5
89347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89348 (exit $ac_status); } &&
89349 { ac_try='test -z "$ac_c_werror_flag"
89350 || test ! -s conftest.err'
89351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89352 (eval $ac_try) 2>&5
89353 ac_status=$?
89354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89355 (exit $ac_status); }; } &&
89356 { ac_try='test -s conftest.$ac_objext'
89357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89358 (eval $ac_try) 2>&5
89359 ac_status=$?
89360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89361 (exit $ac_status); }; }; then
89362 ac_header_compiler=yes
89363 else
89364 echo "$as_me: failed program was:" >&5
89365 sed 's/^/| /' conftest.$ac_ext >&5
89367 ac_header_compiler=no
89369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89371 echo "${ECHO_T}$ac_header_compiler" >&6
89373 # Is the header present?
89374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89376 cat >conftest.$ac_ext <<_ACEOF
89377 /* confdefs.h. */
89378 _ACEOF
89379 cat confdefs.h >>conftest.$ac_ext
89380 cat >>conftest.$ac_ext <<_ACEOF
89381 /* end confdefs.h. */
89382 #include <$ac_header>
89383 _ACEOF
89384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89386 ac_status=$?
89387 grep -v '^ *+' conftest.er1 >conftest.err
89388 rm -f conftest.er1
89389 cat conftest.err >&5
89390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89391 (exit $ac_status); } >/dev/null; then
89392 if test -s conftest.err; then
89393 ac_cpp_err=$ac_c_preproc_warn_flag
89394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89395 else
89396 ac_cpp_err=
89398 else
89399 ac_cpp_err=yes
89401 if test -z "$ac_cpp_err"; then
89402 ac_header_preproc=yes
89403 else
89404 echo "$as_me: failed program was:" >&5
89405 sed 's/^/| /' conftest.$ac_ext >&5
89407 ac_header_preproc=no
89409 rm -f conftest.err conftest.$ac_ext
89410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89411 echo "${ECHO_T}$ac_header_preproc" >&6
89413 # So? What about this header?
89414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89415 yes:no: )
89416 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89420 ac_header_preproc=yes
89422 no:yes:* )
89423 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89425 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89426 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89427 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89429 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89430 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89433 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89436 cat <<\_ASBOX
89437 ## ----------------------------------------- ##
89438 ## Report this to the package-unused lists. ##
89439 ## ----------------------------------------- ##
89440 _ASBOX
89442 sed "s/^/$as_me: WARNING: /" >&2
89444 esac
89445 echo "$as_me:$LINENO: checking for $ac_header" >&5
89446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89448 echo $ECHO_N "(cached) $ECHO_C" >&6
89449 else
89450 eval "$as_ac_Header=\$ac_header_preproc"
89452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89457 cat >>confdefs.h <<_ACEOF
89458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89459 _ACEOF
89463 done
89466 echo "$as_me:$LINENO: checking for writev" >&5
89467 echo $ECHO_N "checking for writev... $ECHO_C" >&6
89468 if test "${glibcxx_cv_WRITEV+set}" = set; then
89469 echo $ECHO_N "(cached) $ECHO_C" >&6
89470 else
89472 if test x$gcc_no_link = xyes; then
89473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89475 { (exit 1); exit 1; }; }
89477 cat >conftest.$ac_ext <<_ACEOF
89478 /* confdefs.h. */
89479 _ACEOF
89480 cat confdefs.h >>conftest.$ac_ext
89481 cat >>conftest.$ac_ext <<_ACEOF
89482 /* end confdefs.h. */
89483 #include <sys/uio.h>
89485 main ()
89487 struct iovec iov[2];
89488 writev(0, iov, 0);
89490 return 0;
89492 _ACEOF
89493 rm -f conftest.$ac_objext conftest$ac_exeext
89494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89495 (eval $ac_link) 2>conftest.er1
89496 ac_status=$?
89497 grep -v '^ *+' conftest.er1 >conftest.err
89498 rm -f conftest.er1
89499 cat conftest.err >&5
89500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89501 (exit $ac_status); } &&
89502 { ac_try='test -z "$ac_c_werror_flag"
89503 || test ! -s conftest.err'
89504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89505 (eval $ac_try) 2>&5
89506 ac_status=$?
89507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89508 (exit $ac_status); }; } &&
89509 { ac_try='test -s conftest$ac_exeext'
89510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89511 (eval $ac_try) 2>&5
89512 ac_status=$?
89513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89514 (exit $ac_status); }; }; then
89515 glibcxx_cv_WRITEV=yes
89516 else
89517 echo "$as_me: failed program was:" >&5
89518 sed 's/^/| /' conftest.$ac_ext >&5
89520 glibcxx_cv_WRITEV=no
89522 rm -f conftest.err conftest.$ac_objext \
89523 conftest$ac_exeext conftest.$ac_ext
89527 if test $glibcxx_cv_WRITEV = yes; then
89529 cat >>confdefs.h <<\_ACEOF
89530 #define HAVE_WRITEV 1
89531 _ACEOF
89534 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
89535 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
89538 *-qnx6.1* | *-qnx6.2*)
89539 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89542 # If we're not using GNU ld, then there's no point in even trying these
89543 # tests. Check for that first. We should have already tested for gld
89544 # by now (in libtool), but require it now just to be safe...
89545 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89546 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89550 # The name set by libtool depends on the version of libtool. Shame on us
89551 # for depending on an impl detail, but c'est la vie. Older versions used
89552 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89553 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89554 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89555 # set (hence we're using an older libtool), then set it.
89556 if test x${with_gnu_ld+set} != xset; then
89557 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89558 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89559 with_gnu_ld=no
89560 else
89561 with_gnu_ld=$ac_cv_prog_gnu_ld
89565 # Start by getting the version number. I think the libtool test already
89566 # does some of this, but throws away the result.
89567 if test x"$with_gnu_ld" = x"yes"; then
89568 echo "$as_me:$LINENO: checking for ld version" >&5
89569 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
89571 ldver=`$LD --version 2>/dev/null | head -1 | \
89572 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
89574 glibcxx_gnu_ld_version=`echo $ldver | \
89575 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89576 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
89577 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
89580 # Set --gc-sections.
89581 glibcxx_gcsections_min_ld=21602
89582 if test x"$with_gnu_ld" = x"yes" &&
89583 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
89585 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
89586 # NB: This flag only works reliably after 2.16.1. Configure tests
89587 # for this are difficult, so hard wire a value that should work.
89589 ac_test_CFLAGS="${CFLAGS+set}"
89590 ac_save_CFLAGS="$CFLAGS"
89591 CFLAGS='-Wl,--gc-sections'
89593 # Check for -Wl,--gc-sections
89594 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89595 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89596 if test x$gcc_no_link = xyes; then
89597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89599 { (exit 1); exit 1; }; }
89601 cat >conftest.$ac_ext <<_ACEOF
89602 /* confdefs.h. */
89603 _ACEOF
89604 cat confdefs.h >>conftest.$ac_ext
89605 cat >>conftest.$ac_ext <<_ACEOF
89606 /* end confdefs.h. */
89607 int one(void) { return 1; }
89608 int two(void) { return 2; }
89611 main ()
89613 two();
89615 return 0;
89617 _ACEOF
89618 rm -f conftest.$ac_objext conftest$ac_exeext
89619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89620 (eval $ac_link) 2>conftest.er1
89621 ac_status=$?
89622 grep -v '^ *+' conftest.er1 >conftest.err
89623 rm -f conftest.er1
89624 cat conftest.err >&5
89625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89626 (exit $ac_status); } &&
89627 { ac_try='test -z "$ac_c_werror_flag"
89628 || test ! -s conftest.err'
89629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89630 (eval $ac_try) 2>&5
89631 ac_status=$?
89632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89633 (exit $ac_status); }; } &&
89634 { ac_try='test -s conftest$ac_exeext'
89635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89636 (eval $ac_try) 2>&5
89637 ac_status=$?
89638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89639 (exit $ac_status); }; }; then
89640 ac_gcsections=yes
89641 else
89642 echo "$as_me: failed program was:" >&5
89643 sed 's/^/| /' conftest.$ac_ext >&5
89645 ac_gcsections=no
89647 rm -f conftest.err conftest.$ac_objext \
89648 conftest$ac_exeext conftest.$ac_ext
89649 if test "$ac_gcsections" = "yes"; then
89650 rm -f conftest.c
89651 touch conftest.c
89652 if $CC -c conftest.c; then
89653 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
89654 grep "Warning: gc-sections option ignored" > /dev/null; then
89655 ac_gcsections=no
89658 rm -f conftest.c conftest.o conftest
89660 if test "$ac_gcsections" = "yes"; then
89661 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89663 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
89664 echo "${ECHO_T}$ac_gcsections" >&6
89666 if test "$ac_test_CFLAGS" = set; then
89667 CFLAGS="$ac_save_CFLAGS"
89668 else
89669 # this is the suspicious part
89670 CFLAGS=''
89674 # Set -z,relro.
89675 # Note this is only for shared objects.
89676 ac_ld_relro=no
89677 if test x"$with_gnu_ld" = x"yes"; then
89678 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
89679 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
89680 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
89681 if test -n "$cxx_z_relo"; then
89682 OPT_LDFLAGS="-Wl,-z,relro"
89683 ac_ld_relro=yes
89685 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
89686 echo "${ECHO_T}$ac_ld_relro" >&6
89689 # Set linker optimization flags.
89690 if test x"$with_gnu_ld" = x"yes"; then
89691 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89699 echo "$as_me:$LINENO: checking for main in -lm" >&5
89700 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89701 if test "${ac_cv_lib_m_main+set}" = set; then
89702 echo $ECHO_N "(cached) $ECHO_C" >&6
89703 else
89704 ac_check_lib_save_LIBS=$LIBS
89705 LIBS="-lm $LIBS"
89706 if test x$gcc_no_link = xyes; then
89707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89709 { (exit 1); exit 1; }; }
89711 cat >conftest.$ac_ext <<_ACEOF
89712 /* confdefs.h. */
89713 _ACEOF
89714 cat confdefs.h >>conftest.$ac_ext
89715 cat >>conftest.$ac_ext <<_ACEOF
89716 /* end confdefs.h. */
89720 main ()
89722 main ();
89724 return 0;
89726 _ACEOF
89727 rm -f conftest.$ac_objext conftest$ac_exeext
89728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89729 (eval $ac_link) 2>conftest.er1
89730 ac_status=$?
89731 grep -v '^ *+' conftest.er1 >conftest.err
89732 rm -f conftest.er1
89733 cat conftest.err >&5
89734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89735 (exit $ac_status); } &&
89736 { ac_try='test -z "$ac_c_werror_flag"
89737 || test ! -s conftest.err'
89738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89739 (eval $ac_try) 2>&5
89740 ac_status=$?
89741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89742 (exit $ac_status); }; } &&
89743 { ac_try='test -s conftest$ac_exeext'
89744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89745 (eval $ac_try) 2>&5
89746 ac_status=$?
89747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89748 (exit $ac_status); }; }; then
89749 ac_cv_lib_m_main=yes
89750 else
89751 echo "$as_me: failed program was:" >&5
89752 sed 's/^/| /' conftest.$ac_ext >&5
89754 ac_cv_lib_m_main=no
89756 rm -f conftest.err conftest.$ac_objext \
89757 conftest$ac_exeext conftest.$ac_ext
89758 LIBS=$ac_check_lib_save_LIBS
89760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89761 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89762 if test $ac_cv_lib_m_main = yes; then
89763 cat >>confdefs.h <<_ACEOF
89764 #define HAVE_LIBM 1
89765 _ACEOF
89767 LIBS="-lm $LIBS"
89772 for ac_func in copysignf
89774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89775 echo "$as_me:$LINENO: checking for $ac_func" >&5
89776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89777 if eval "test \"\${$as_ac_var+set}\" = set"; then
89778 echo $ECHO_N "(cached) $ECHO_C" >&6
89779 else
89780 if test x$gcc_no_link = xyes; then
89781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89783 { (exit 1); exit 1; }; }
89785 cat >conftest.$ac_ext <<_ACEOF
89786 /* confdefs.h. */
89787 _ACEOF
89788 cat confdefs.h >>conftest.$ac_ext
89789 cat >>conftest.$ac_ext <<_ACEOF
89790 /* end confdefs.h. */
89791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89793 #define $ac_func innocuous_$ac_func
89795 /* System header to define __stub macros and hopefully few prototypes,
89796 which can conflict with char $ac_func (); below.
89797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89798 <limits.h> exists even on freestanding compilers. */
89800 #ifdef __STDC__
89801 # include <limits.h>
89802 #else
89803 # include <assert.h>
89804 #endif
89806 #undef $ac_func
89808 /* Override any gcc2 internal prototype to avoid an error. */
89809 #ifdef __cplusplus
89810 extern "C"
89812 #endif
89813 /* We use char because int might match the return type of a gcc2
89814 builtin and then its argument prototype would still apply. */
89815 char $ac_func ();
89816 /* The GNU C library defines this for functions which it implements
89817 to always fail with ENOSYS. Some functions are actually named
89818 something starting with __ and the normal name is an alias. */
89819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89820 choke me
89821 #else
89822 char (*f) () = $ac_func;
89823 #endif
89824 #ifdef __cplusplus
89826 #endif
89829 main ()
89831 return f != $ac_func;
89833 return 0;
89835 _ACEOF
89836 rm -f conftest.$ac_objext conftest$ac_exeext
89837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89838 (eval $ac_link) 2>conftest.er1
89839 ac_status=$?
89840 grep -v '^ *+' conftest.er1 >conftest.err
89841 rm -f conftest.er1
89842 cat conftest.err >&5
89843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89844 (exit $ac_status); } &&
89845 { ac_try='test -z "$ac_c_werror_flag"
89846 || test ! -s conftest.err'
89847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89848 (eval $ac_try) 2>&5
89849 ac_status=$?
89850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89851 (exit $ac_status); }; } &&
89852 { ac_try='test -s conftest$ac_exeext'
89853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89854 (eval $ac_try) 2>&5
89855 ac_status=$?
89856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89857 (exit $ac_status); }; }; then
89858 eval "$as_ac_var=yes"
89859 else
89860 echo "$as_me: failed program was:" >&5
89861 sed 's/^/| /' conftest.$ac_ext >&5
89863 eval "$as_ac_var=no"
89865 rm -f conftest.err conftest.$ac_objext \
89866 conftest$ac_exeext conftest.$ac_ext
89868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89870 if test `eval echo '${'$as_ac_var'}'` = yes; then
89871 cat >>confdefs.h <<_ACEOF
89872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89873 _ACEOF
89875 else
89876 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89878 done
89882 for ac_func in __signbit
89884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89885 echo "$as_me:$LINENO: checking for $ac_func" >&5
89886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89887 if eval "test \"\${$as_ac_var+set}\" = set"; then
89888 echo $ECHO_N "(cached) $ECHO_C" >&6
89889 else
89890 if test x$gcc_no_link = xyes; then
89891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89893 { (exit 1); exit 1; }; }
89895 cat >conftest.$ac_ext <<_ACEOF
89896 /* confdefs.h. */
89897 _ACEOF
89898 cat confdefs.h >>conftest.$ac_ext
89899 cat >>conftest.$ac_ext <<_ACEOF
89900 /* end confdefs.h. */
89901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89903 #define $ac_func innocuous_$ac_func
89905 /* System header to define __stub macros and hopefully few prototypes,
89906 which can conflict with char $ac_func (); below.
89907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89908 <limits.h> exists even on freestanding compilers. */
89910 #ifdef __STDC__
89911 # include <limits.h>
89912 #else
89913 # include <assert.h>
89914 #endif
89916 #undef $ac_func
89918 /* Override any gcc2 internal prototype to avoid an error. */
89919 #ifdef __cplusplus
89920 extern "C"
89922 #endif
89923 /* We use char because int might match the return type of a gcc2
89924 builtin and then its argument prototype would still apply. */
89925 char $ac_func ();
89926 /* The GNU C library defines this for functions which it implements
89927 to always fail with ENOSYS. Some functions are actually named
89928 something starting with __ and the normal name is an alias. */
89929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89930 choke me
89931 #else
89932 char (*f) () = $ac_func;
89933 #endif
89934 #ifdef __cplusplus
89936 #endif
89939 main ()
89941 return f != $ac_func;
89943 return 0;
89945 _ACEOF
89946 rm -f conftest.$ac_objext conftest$ac_exeext
89947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89948 (eval $ac_link) 2>conftest.er1
89949 ac_status=$?
89950 grep -v '^ *+' conftest.er1 >conftest.err
89951 rm -f conftest.er1
89952 cat conftest.err >&5
89953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89954 (exit $ac_status); } &&
89955 { ac_try='test -z "$ac_c_werror_flag"
89956 || test ! -s conftest.err'
89957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89958 (eval $ac_try) 2>&5
89959 ac_status=$?
89960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89961 (exit $ac_status); }; } &&
89962 { ac_try='test -s conftest$ac_exeext'
89963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89964 (eval $ac_try) 2>&5
89965 ac_status=$?
89966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89967 (exit $ac_status); }; }; then
89968 eval "$as_ac_var=yes"
89969 else
89970 echo "$as_me: failed program was:" >&5
89971 sed 's/^/| /' conftest.$ac_ext >&5
89973 eval "$as_ac_var=no"
89975 rm -f conftest.err conftest.$ac_objext \
89976 conftest$ac_exeext conftest.$ac_ext
89978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89980 if test `eval echo '${'$as_ac_var'}'` = yes; then
89981 cat >>confdefs.h <<_ACEOF
89982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89983 _ACEOF
89985 else
89986 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89988 done
89992 for ac_func in __signbitf
89994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89995 echo "$as_me:$LINENO: checking for $ac_func" >&5
89996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89997 if eval "test \"\${$as_ac_var+set}\" = set"; then
89998 echo $ECHO_N "(cached) $ECHO_C" >&6
89999 else
90000 if test x$gcc_no_link = xyes; then
90001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90003 { (exit 1); exit 1; }; }
90005 cat >conftest.$ac_ext <<_ACEOF
90006 /* confdefs.h. */
90007 _ACEOF
90008 cat confdefs.h >>conftest.$ac_ext
90009 cat >>conftest.$ac_ext <<_ACEOF
90010 /* end confdefs.h. */
90011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90013 #define $ac_func innocuous_$ac_func
90015 /* System header to define __stub macros and hopefully few prototypes,
90016 which can conflict with char $ac_func (); below.
90017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90018 <limits.h> exists even on freestanding compilers. */
90020 #ifdef __STDC__
90021 # include <limits.h>
90022 #else
90023 # include <assert.h>
90024 #endif
90026 #undef $ac_func
90028 /* Override any gcc2 internal prototype to avoid an error. */
90029 #ifdef __cplusplus
90030 extern "C"
90032 #endif
90033 /* We use char because int might match the return type of a gcc2
90034 builtin and then its argument prototype would still apply. */
90035 char $ac_func ();
90036 /* The GNU C library defines this for functions which it implements
90037 to always fail with ENOSYS. Some functions are actually named
90038 something starting with __ and the normal name is an alias. */
90039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90040 choke me
90041 #else
90042 char (*f) () = $ac_func;
90043 #endif
90044 #ifdef __cplusplus
90046 #endif
90049 main ()
90051 return f != $ac_func;
90053 return 0;
90055 _ACEOF
90056 rm -f conftest.$ac_objext conftest$ac_exeext
90057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90058 (eval $ac_link) 2>conftest.er1
90059 ac_status=$?
90060 grep -v '^ *+' conftest.er1 >conftest.err
90061 rm -f conftest.er1
90062 cat conftest.err >&5
90063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90064 (exit $ac_status); } &&
90065 { ac_try='test -z "$ac_c_werror_flag"
90066 || test ! -s conftest.err'
90067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90068 (eval $ac_try) 2>&5
90069 ac_status=$?
90070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90071 (exit $ac_status); }; } &&
90072 { ac_try='test -s conftest$ac_exeext'
90073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90074 (eval $ac_try) 2>&5
90075 ac_status=$?
90076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90077 (exit $ac_status); }; }; then
90078 eval "$as_ac_var=yes"
90079 else
90080 echo "$as_me: failed program was:" >&5
90081 sed 's/^/| /' conftest.$ac_ext >&5
90083 eval "$as_ac_var=no"
90085 rm -f conftest.err conftest.$ac_objext \
90086 conftest$ac_exeext conftest.$ac_ext
90088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90090 if test `eval echo '${'$as_ac_var'}'` = yes; then
90091 cat >>confdefs.h <<_ACEOF
90092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90093 _ACEOF
90095 else
90096 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90098 done
90101 if test x$ac_cv_func_copysignl = x"yes"; then
90103 for ac_func in __signbitl
90105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90106 echo "$as_me:$LINENO: checking for $ac_func" >&5
90107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90108 if eval "test \"\${$as_ac_var+set}\" = set"; then
90109 echo $ECHO_N "(cached) $ECHO_C" >&6
90110 else
90111 if test x$gcc_no_link = xyes; then
90112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90114 { (exit 1); exit 1; }; }
90116 cat >conftest.$ac_ext <<_ACEOF
90117 /* confdefs.h. */
90118 _ACEOF
90119 cat confdefs.h >>conftest.$ac_ext
90120 cat >>conftest.$ac_ext <<_ACEOF
90121 /* end confdefs.h. */
90122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90124 #define $ac_func innocuous_$ac_func
90126 /* System header to define __stub macros and hopefully few prototypes,
90127 which can conflict with char $ac_func (); below.
90128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90129 <limits.h> exists even on freestanding compilers. */
90131 #ifdef __STDC__
90132 # include <limits.h>
90133 #else
90134 # include <assert.h>
90135 #endif
90137 #undef $ac_func
90139 /* Override any gcc2 internal prototype to avoid an error. */
90140 #ifdef __cplusplus
90141 extern "C"
90143 #endif
90144 /* We use char because int might match the return type of a gcc2
90145 builtin and then its argument prototype would still apply. */
90146 char $ac_func ();
90147 /* The GNU C library defines this for functions which it implements
90148 to always fail with ENOSYS. Some functions are actually named
90149 something starting with __ and the normal name is an alias. */
90150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90151 choke me
90152 #else
90153 char (*f) () = $ac_func;
90154 #endif
90155 #ifdef __cplusplus
90157 #endif
90160 main ()
90162 return f != $ac_func;
90164 return 0;
90166 _ACEOF
90167 rm -f conftest.$ac_objext conftest$ac_exeext
90168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90169 (eval $ac_link) 2>conftest.er1
90170 ac_status=$?
90171 grep -v '^ *+' conftest.er1 >conftest.err
90172 rm -f conftest.er1
90173 cat conftest.err >&5
90174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90175 (exit $ac_status); } &&
90176 { ac_try='test -z "$ac_c_werror_flag"
90177 || test ! -s conftest.err'
90178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90179 (eval $ac_try) 2>&5
90180 ac_status=$?
90181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90182 (exit $ac_status); }; } &&
90183 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
90189 eval "$as_ac_var=yes"
90190 else
90191 echo "$as_me: failed program was:" >&5
90192 sed 's/^/| /' conftest.$ac_ext >&5
90194 eval "$as_ac_var=no"
90196 rm -f conftest.err conftest.$ac_objext \
90197 conftest$ac_exeext conftest.$ac_ext
90199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90201 if test `eval echo '${'$as_ac_var'}'` = yes; then
90202 cat >>confdefs.h <<_ACEOF
90203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90204 _ACEOF
90206 else
90207 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90209 done
90213 # Used in libmath/Makefile.am.
90214 if test -n "$LIBMATHOBJS"; then
90215 need_libmath=yes
90219 cat >>confdefs.h <<\_ACEOF
90220 #define HAVE_COSF 1
90221 _ACEOF
90223 cat >>confdefs.h <<\_ACEOF
90224 #define HAVE_COSL 1
90225 _ACEOF
90227 cat >>confdefs.h <<\_ACEOF
90228 #define HAVE_COSHF 1
90229 _ACEOF
90231 cat >>confdefs.h <<\_ACEOF
90232 #define HAVE_COSHL 1
90233 _ACEOF
90235 cat >>confdefs.h <<\_ACEOF
90236 #define HAVE_LOGF 1
90237 _ACEOF
90239 cat >>confdefs.h <<\_ACEOF
90240 #define HAVE_LOGL 1
90241 _ACEOF
90243 cat >>confdefs.h <<\_ACEOF
90244 #define HAVE_LOG10F 1
90245 _ACEOF
90247 cat >>confdefs.h <<\_ACEOF
90248 #define HAVE_LOG10L 1
90249 _ACEOF
90251 cat >>confdefs.h <<\_ACEOF
90252 #define HAVE_SINF 1
90253 _ACEOF
90255 cat >>confdefs.h <<\_ACEOF
90256 #define HAVE_SINL 1
90257 _ACEOF
90259 cat >>confdefs.h <<\_ACEOF
90260 #define HAVE_SINHF 1
90261 _ACEOF
90263 cat >>confdefs.h <<\_ACEOF
90264 #define HAVE_SINHL 1
90265 _ACEOF
90268 *-solaris*)
90269 case "$target" in
90270 # *-solaris2.5)
90271 # os_include_dir="os/solaris/solaris2.5"
90272 # ;;
90273 # *-solaris2.6)
90274 # os_include_dir="os/solaris/solaris2.6"
90275 # ;;
90276 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
90278 # If we're not using GNU ld, then there's no point in even trying these
90279 # tests. Check for that first. We should have already tested for gld
90280 # by now (in libtool), but require it now just to be safe...
90281 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90282 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90286 # The name set by libtool depends on the version of libtool. Shame on us
90287 # for depending on an impl detail, but c'est la vie. Older versions used
90288 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90289 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90290 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90291 # set (hence we're using an older libtool), then set it.
90292 if test x${with_gnu_ld+set} != xset; then
90293 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90294 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90295 with_gnu_ld=no
90296 else
90297 with_gnu_ld=$ac_cv_prog_gnu_ld
90301 # Start by getting the version number. I think the libtool test already
90302 # does some of this, but throws away the result.
90303 if test x"$with_gnu_ld" = x"yes"; then
90304 echo "$as_me:$LINENO: checking for ld version" >&5
90305 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90307 ldver=`$LD --version 2>/dev/null | head -1 | \
90308 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90310 glibcxx_gnu_ld_version=`echo $ldver | \
90311 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90312 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90313 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90316 # Set --gc-sections.
90317 glibcxx_gcsections_min_ld=21602
90318 if test x"$with_gnu_ld" = x"yes" &&
90319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90321 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90322 # NB: This flag only works reliably after 2.16.1. Configure tests
90323 # for this are difficult, so hard wire a value that should work.
90325 ac_test_CFLAGS="${CFLAGS+set}"
90326 ac_save_CFLAGS="$CFLAGS"
90327 CFLAGS='-Wl,--gc-sections'
90329 # Check for -Wl,--gc-sections
90330 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90331 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90332 if test x$gcc_no_link = xyes; then
90333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90335 { (exit 1); exit 1; }; }
90337 cat >conftest.$ac_ext <<_ACEOF
90338 /* confdefs.h. */
90339 _ACEOF
90340 cat confdefs.h >>conftest.$ac_ext
90341 cat >>conftest.$ac_ext <<_ACEOF
90342 /* end confdefs.h. */
90343 int one(void) { return 1; }
90344 int two(void) { return 2; }
90347 main ()
90349 two();
90351 return 0;
90353 _ACEOF
90354 rm -f conftest.$ac_objext conftest$ac_exeext
90355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90356 (eval $ac_link) 2>conftest.er1
90357 ac_status=$?
90358 grep -v '^ *+' conftest.er1 >conftest.err
90359 rm -f conftest.er1
90360 cat conftest.err >&5
90361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362 (exit $ac_status); } &&
90363 { ac_try='test -z "$ac_c_werror_flag"
90364 || test ! -s conftest.err'
90365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90366 (eval $ac_try) 2>&5
90367 ac_status=$?
90368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369 (exit $ac_status); }; } &&
90370 { ac_try='test -s conftest$ac_exeext'
90371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90372 (eval $ac_try) 2>&5
90373 ac_status=$?
90374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90375 (exit $ac_status); }; }; then
90376 ac_gcsections=yes
90377 else
90378 echo "$as_me: failed program was:" >&5
90379 sed 's/^/| /' conftest.$ac_ext >&5
90381 ac_gcsections=no
90383 rm -f conftest.err conftest.$ac_objext \
90384 conftest$ac_exeext conftest.$ac_ext
90385 if test "$ac_gcsections" = "yes"; then
90386 rm -f conftest.c
90387 touch conftest.c
90388 if $CC -c conftest.c; then
90389 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90390 grep "Warning: gc-sections option ignored" > /dev/null; then
90391 ac_gcsections=no
90394 rm -f conftest.c conftest.o conftest
90396 if test "$ac_gcsections" = "yes"; then
90397 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90399 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90400 echo "${ECHO_T}$ac_gcsections" >&6
90402 if test "$ac_test_CFLAGS" = set; then
90403 CFLAGS="$ac_save_CFLAGS"
90404 else
90405 # this is the suspicious part
90406 CFLAGS=''
90410 # Set -z,relro.
90411 # Note this is only for shared objects.
90412 ac_ld_relro=no
90413 if test x"$with_gnu_ld" = x"yes"; then
90414 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90415 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90416 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90417 if test -n "$cxx_z_relo"; then
90418 OPT_LDFLAGS="-Wl,-z,relro"
90419 ac_ld_relro=yes
90421 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90422 echo "${ECHO_T}$ac_ld_relro" >&6
90425 # Set linker optimization flags.
90426 if test x"$with_gnu_ld" = x"yes"; then
90427 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90433 cat >>confdefs.h <<\_ACEOF
90434 #define HAVE_GETPAGESIZE 1
90435 _ACEOF
90437 cat >>confdefs.h <<\_ACEOF
90438 #define HAVE_SIGSETJMP 1
90439 _ACEOF
90441 cat >>confdefs.h <<\_ACEOF
90442 #define HAVE_MBSTATE_T 1
90443 _ACEOF
90445 cat >>confdefs.h <<\_ACEOF
90446 #define HAVE_POLL 1
90447 _ACEOF
90449 cat >>confdefs.h <<\_ACEOF
90450 #define HAVE_S_ISREG 1
90451 _ACEOF
90453 cat >>confdefs.h <<\_ACEOF
90454 #define HAVE_LC_MESSAGES 1
90455 _ACEOF
90457 cat >>confdefs.h <<\_ACEOF
90458 #define HAVE_FINITE 1
90459 _ACEOF
90461 cat >>confdefs.h <<\_ACEOF
90462 #define HAVE_FPCLASS 1
90463 _ACEOF
90465 cat >>confdefs.h <<\_ACEOF
90466 #define HAVE_GETPAGESIZE 1
90467 _ACEOF
90469 # All of the dependencies for wide character support are here, so
90470 # turn it on.
90471 cat >>confdefs.h <<\_ACEOF
90472 #define _GLIBCXX_USE_WCHAR_T 1
90473 _ACEOF
90475 # Are these tested for even when cross?
90476 cat >>confdefs.h <<\_ACEOF
90477 #define HAVE_FLOAT_H 1
90478 _ACEOF
90480 cat >>confdefs.h <<\_ACEOF
90481 #define HAVE_IEEEFP_H 1
90482 _ACEOF
90484 cat >>confdefs.h <<\_ACEOF
90485 #define HAVE_INTTYPES_H 1
90486 _ACEOF
90488 cat >>confdefs.h <<\_ACEOF
90489 #define HAVE_LOCALE_H 1
90490 _ACEOF
90492 cat >>confdefs.h <<\_ACEOF
90493 #define HAVE_NAN_H 1
90494 _ACEOF
90496 cat >>confdefs.h <<\_ACEOF
90497 #define HAVE_SYS_FILIO_H 1
90498 _ACEOF
90500 cat >>confdefs.h <<\_ACEOF
90501 #define HAVE_SYS_IOCTL_H 1
90502 _ACEOF
90504 cat >>confdefs.h <<\_ACEOF
90505 #define HAVE_SYS_ISA_DEFS_H 1
90506 _ACEOF
90508 cat >>confdefs.h <<\_ACEOF
90509 #define HAVE_SYS_RESOURCE_H 1
90510 _ACEOF
90512 cat >>confdefs.h <<\_ACEOF
90513 #define HAVE_SYS_TIME_H 1
90514 _ACEOF
90516 cat >>confdefs.h <<\_ACEOF
90517 #define HAVE_SYS_TYPES_H 1
90518 _ACEOF
90520 cat >>confdefs.h <<\_ACEOF
90521 #define HAVE_UNISTD_H 1
90522 _ACEOF
90524 cat >>confdefs.h <<\_ACEOF
90525 #define HAVE_WCHAR_H 1
90526 _ACEOF
90528 cat >>confdefs.h <<\_ACEOF
90529 #define HAVE_WCTYPE_H 1
90530 _ACEOF
90532 cat >>confdefs.h <<\_ACEOF
90533 #define HAVE_LIBM 1
90534 _ACEOF
90537 esac
90538 case "$target" in
90539 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90540 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90541 cat >>confdefs.h <<\_ACEOF
90542 #define HAVE___BUILTIN_ABS 1
90543 _ACEOF
90545 cat >>confdefs.h <<\_ACEOF
90546 #define HAVE___BUILTIN_LABS 1
90547 _ACEOF
90549 cat >>confdefs.h <<\_ACEOF
90550 #define HAVE___BUILTIN_FABS 1
90551 _ACEOF
90553 cat >>confdefs.h <<\_ACEOF
90554 #define HAVE___BUILTIN_FABSF 1
90555 _ACEOF
90557 cat >>confdefs.h <<\_ACEOF
90558 #define HAVE___BUILTIN_FABSL 1
90559 _ACEOF
90561 cat >>confdefs.h <<\_ACEOF
90562 #define HAVE___BUILTIN_COS 1
90563 _ACEOF
90565 cat >>confdefs.h <<\_ACEOF
90566 #define HAVE___BUILTIN_COSF 1
90567 _ACEOF
90569 cat >>confdefs.h <<\_ACEOF
90570 #define HAVE___BUILTIN_SIN 1
90571 _ACEOF
90573 cat >>confdefs.h <<\_ACEOF
90574 #define HAVE___BUILTIN_SINF 1
90575 _ACEOF
90578 esac
90579 case "$target" in
90580 *-*-solaris2.10)
90581 # These two C99 functions are present only in Solaris >= 10
90582 cat >>confdefs.h <<\_ACEOF
90583 #define HAVE_STRTOF 1
90584 _ACEOF
90586 cat >>confdefs.h <<\_ACEOF
90587 #define HAVE_STRTOLD 1
90588 _ACEOF
90591 esac
90592 cat >>confdefs.h <<\_ACEOF
90593 #define HAVE_MMAP 1
90594 _ACEOF
90596 cat >>confdefs.h <<\_ACEOF
90597 #define HAVE_COPYSIGN 1
90598 _ACEOF
90600 cat >>confdefs.h <<\_ACEOF
90601 #define HAVE_ISNAN 1
90602 _ACEOF
90604 cat >>confdefs.h <<\_ACEOF
90605 #define HAVE_ISNANF 1
90606 _ACEOF
90608 cat >>confdefs.h <<\_ACEOF
90609 #define HAVE_MODFF 1
90610 _ACEOF
90612 cat >>confdefs.h <<\_ACEOF
90613 #define HAVE_HYPOT 1
90614 _ACEOF
90617 *-tpf)
90626 for ac_header in nan.h endian.h machine/endian.h \
90627 sys/param.h sys/types.h locale.h float.h inttypes.h
90629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90631 echo "$as_me:$LINENO: checking for $ac_header" >&5
90632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90634 echo $ECHO_N "(cached) $ECHO_C" >&6
90636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90638 else
90639 # Is the header compilable?
90640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90642 cat >conftest.$ac_ext <<_ACEOF
90643 /* confdefs.h. */
90644 _ACEOF
90645 cat confdefs.h >>conftest.$ac_ext
90646 cat >>conftest.$ac_ext <<_ACEOF
90647 /* end confdefs.h. */
90648 $ac_includes_default
90649 #include <$ac_header>
90650 _ACEOF
90651 rm -f conftest.$ac_objext
90652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90653 (eval $ac_compile) 2>conftest.er1
90654 ac_status=$?
90655 grep -v '^ *+' conftest.er1 >conftest.err
90656 rm -f conftest.er1
90657 cat conftest.err >&5
90658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90659 (exit $ac_status); } &&
90660 { ac_try='test -z "$ac_c_werror_flag"
90661 || test ! -s conftest.err'
90662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90663 (eval $ac_try) 2>&5
90664 ac_status=$?
90665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90666 (exit $ac_status); }; } &&
90667 { ac_try='test -s conftest.$ac_objext'
90668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90669 (eval $ac_try) 2>&5
90670 ac_status=$?
90671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672 (exit $ac_status); }; }; then
90673 ac_header_compiler=yes
90674 else
90675 echo "$as_me: failed program was:" >&5
90676 sed 's/^/| /' conftest.$ac_ext >&5
90678 ac_header_compiler=no
90680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90682 echo "${ECHO_T}$ac_header_compiler" >&6
90684 # Is the header present?
90685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90687 cat >conftest.$ac_ext <<_ACEOF
90688 /* confdefs.h. */
90689 _ACEOF
90690 cat confdefs.h >>conftest.$ac_ext
90691 cat >>conftest.$ac_ext <<_ACEOF
90692 /* end confdefs.h. */
90693 #include <$ac_header>
90694 _ACEOF
90695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90697 ac_status=$?
90698 grep -v '^ *+' conftest.er1 >conftest.err
90699 rm -f conftest.er1
90700 cat conftest.err >&5
90701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90702 (exit $ac_status); } >/dev/null; then
90703 if test -s conftest.err; then
90704 ac_cpp_err=$ac_c_preproc_warn_flag
90705 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90706 else
90707 ac_cpp_err=
90709 else
90710 ac_cpp_err=yes
90712 if test -z "$ac_cpp_err"; then
90713 ac_header_preproc=yes
90714 else
90715 echo "$as_me: failed program was:" >&5
90716 sed 's/^/| /' conftest.$ac_ext >&5
90718 ac_header_preproc=no
90720 rm -f conftest.err conftest.$ac_ext
90721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90722 echo "${ECHO_T}$ac_header_preproc" >&6
90724 # So? What about this header?
90725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90726 yes:no: )
90727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90731 ac_header_preproc=yes
90733 no:yes:* )
90734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90747 cat <<\_ASBOX
90748 ## ----------------------------------------- ##
90749 ## Report this to the package-unused lists. ##
90750 ## ----------------------------------------- ##
90751 _ASBOX
90753 sed "s/^/$as_me: WARNING: /" >&2
90755 esac
90756 echo "$as_me:$LINENO: checking for $ac_header" >&5
90757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90759 echo $ECHO_N "(cached) $ECHO_C" >&6
90760 else
90761 eval "$as_ac_Header=\$ac_header_preproc"
90763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90768 cat >>confdefs.h <<_ACEOF
90769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90770 _ACEOF
90774 done
90776 SECTION_FLAGS='-ffunction-sections -fdata-sections'
90779 # If we're not using GNU ld, then there's no point in even trying these
90780 # tests. Check for that first. We should have already tested for gld
90781 # by now (in libtool), but require it now just to be safe...
90782 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
90783 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
90787 # The name set by libtool depends on the version of libtool. Shame on us
90788 # for depending on an impl detail, but c'est la vie. Older versions used
90789 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
90790 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
90791 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
90792 # set (hence we're using an older libtool), then set it.
90793 if test x${with_gnu_ld+set} != xset; then
90794 if test x${ac_cv_prog_gnu_ld+set} != xset; then
90795 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
90796 with_gnu_ld=no
90797 else
90798 with_gnu_ld=$ac_cv_prog_gnu_ld
90802 # Start by getting the version number. I think the libtool test already
90803 # does some of this, but throws away the result.
90804 if test x"$with_gnu_ld" = x"yes"; then
90805 echo "$as_me:$LINENO: checking for ld version" >&5
90806 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
90808 ldver=`$LD --version 2>/dev/null | head -1 | \
90809 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
90811 glibcxx_gnu_ld_version=`echo $ldver | \
90812 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
90813 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
90814 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
90817 # Set --gc-sections.
90818 glibcxx_gcsections_min_ld=21602
90819 if test x"$with_gnu_ld" = x"yes" &&
90820 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
90822 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
90823 # NB: This flag only works reliably after 2.16.1. Configure tests
90824 # for this are difficult, so hard wire a value that should work.
90826 ac_test_CFLAGS="${CFLAGS+set}"
90827 ac_save_CFLAGS="$CFLAGS"
90828 CFLAGS='-Wl,--gc-sections'
90830 # Check for -Wl,--gc-sections
90831 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
90832 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
90833 if test x$gcc_no_link = xyes; then
90834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90836 { (exit 1); exit 1; }; }
90838 cat >conftest.$ac_ext <<_ACEOF
90839 /* confdefs.h. */
90840 _ACEOF
90841 cat confdefs.h >>conftest.$ac_ext
90842 cat >>conftest.$ac_ext <<_ACEOF
90843 /* end confdefs.h. */
90844 int one(void) { return 1; }
90845 int two(void) { return 2; }
90848 main ()
90850 two();
90852 return 0;
90854 _ACEOF
90855 rm -f conftest.$ac_objext conftest$ac_exeext
90856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90857 (eval $ac_link) 2>conftest.er1
90858 ac_status=$?
90859 grep -v '^ *+' conftest.er1 >conftest.err
90860 rm -f conftest.er1
90861 cat conftest.err >&5
90862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90863 (exit $ac_status); } &&
90864 { ac_try='test -z "$ac_c_werror_flag"
90865 || test ! -s conftest.err'
90866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90867 (eval $ac_try) 2>&5
90868 ac_status=$?
90869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90870 (exit $ac_status); }; } &&
90871 { ac_try='test -s conftest$ac_exeext'
90872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90873 (eval $ac_try) 2>&5
90874 ac_status=$?
90875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90876 (exit $ac_status); }; }; then
90877 ac_gcsections=yes
90878 else
90879 echo "$as_me: failed program was:" >&5
90880 sed 's/^/| /' conftest.$ac_ext >&5
90882 ac_gcsections=no
90884 rm -f conftest.err conftest.$ac_objext \
90885 conftest$ac_exeext conftest.$ac_ext
90886 if test "$ac_gcsections" = "yes"; then
90887 rm -f conftest.c
90888 touch conftest.c
90889 if $CC -c conftest.c; then
90890 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
90891 grep "Warning: gc-sections option ignored" > /dev/null; then
90892 ac_gcsections=no
90895 rm -f conftest.c conftest.o conftest
90897 if test "$ac_gcsections" = "yes"; then
90898 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90900 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
90901 echo "${ECHO_T}$ac_gcsections" >&6
90903 if test "$ac_test_CFLAGS" = set; then
90904 CFLAGS="$ac_save_CFLAGS"
90905 else
90906 # this is the suspicious part
90907 CFLAGS=''
90911 # Set -z,relro.
90912 # Note this is only for shared objects.
90913 ac_ld_relro=no
90914 if test x"$with_gnu_ld" = x"yes"; then
90915 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
90916 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
90917 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
90918 if test -n "$cxx_z_relo"; then
90919 OPT_LDFLAGS="-Wl,-z,relro"
90920 ac_ld_relro=yes
90922 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
90923 echo "${ECHO_T}$ac_ld_relro" >&6
90926 # Set linker optimization flags.
90927 if test x"$with_gnu_ld" = x"yes"; then
90928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90936 echo "$as_me:$LINENO: checking for main in -lm" >&5
90937 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90938 if test "${ac_cv_lib_m_main+set}" = set; then
90939 echo $ECHO_N "(cached) $ECHO_C" >&6
90940 else
90941 ac_check_lib_save_LIBS=$LIBS
90942 LIBS="-lm $LIBS"
90943 if test x$gcc_no_link = xyes; then
90944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90946 { (exit 1); exit 1; }; }
90948 cat >conftest.$ac_ext <<_ACEOF
90949 /* confdefs.h. */
90950 _ACEOF
90951 cat confdefs.h >>conftest.$ac_ext
90952 cat >>conftest.$ac_ext <<_ACEOF
90953 /* end confdefs.h. */
90957 main ()
90959 main ();
90961 return 0;
90963 _ACEOF
90964 rm -f conftest.$ac_objext conftest$ac_exeext
90965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90966 (eval $ac_link) 2>conftest.er1
90967 ac_status=$?
90968 grep -v '^ *+' conftest.er1 >conftest.err
90969 rm -f conftest.er1
90970 cat conftest.err >&5
90971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90972 (exit $ac_status); } &&
90973 { ac_try='test -z "$ac_c_werror_flag"
90974 || test ! -s conftest.err'
90975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90976 (eval $ac_try) 2>&5
90977 ac_status=$?
90978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90979 (exit $ac_status); }; } &&
90980 { ac_try='test -s conftest$ac_exeext'
90981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90982 (eval $ac_try) 2>&5
90983 ac_status=$?
90984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90985 (exit $ac_status); }; }; then
90986 ac_cv_lib_m_main=yes
90987 else
90988 echo "$as_me: failed program was:" >&5
90989 sed 's/^/| /' conftest.$ac_ext >&5
90991 ac_cv_lib_m_main=no
90993 rm -f conftest.err conftest.$ac_objext \
90994 conftest$ac_exeext conftest.$ac_ext
90995 LIBS=$ac_check_lib_save_LIBS
90997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90998 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90999 if test $ac_cv_lib_m_main = yes; then
91000 cat >>confdefs.h <<_ACEOF
91001 #define HAVE_LIBM 1
91002 _ACEOF
91004 LIBS="-lm $LIBS"
91009 for ac_func in copysignf
91011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91012 echo "$as_me:$LINENO: checking for $ac_func" >&5
91013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91014 if eval "test \"\${$as_ac_var+set}\" = set"; then
91015 echo $ECHO_N "(cached) $ECHO_C" >&6
91016 else
91017 if test x$gcc_no_link = xyes; then
91018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91020 { (exit 1); exit 1; }; }
91022 cat >conftest.$ac_ext <<_ACEOF
91023 /* confdefs.h. */
91024 _ACEOF
91025 cat confdefs.h >>conftest.$ac_ext
91026 cat >>conftest.$ac_ext <<_ACEOF
91027 /* end confdefs.h. */
91028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91030 #define $ac_func innocuous_$ac_func
91032 /* System header to define __stub macros and hopefully few prototypes,
91033 which can conflict with char $ac_func (); below.
91034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91035 <limits.h> exists even on freestanding compilers. */
91037 #ifdef __STDC__
91038 # include <limits.h>
91039 #else
91040 # include <assert.h>
91041 #endif
91043 #undef $ac_func
91045 /* Override any gcc2 internal prototype to avoid an error. */
91046 #ifdef __cplusplus
91047 extern "C"
91049 #endif
91050 /* We use char because int might match the return type of a gcc2
91051 builtin and then its argument prototype would still apply. */
91052 char $ac_func ();
91053 /* The GNU C library defines this for functions which it implements
91054 to always fail with ENOSYS. Some functions are actually named
91055 something starting with __ and the normal name is an alias. */
91056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91057 choke me
91058 #else
91059 char (*f) () = $ac_func;
91060 #endif
91061 #ifdef __cplusplus
91063 #endif
91066 main ()
91068 return f != $ac_func;
91070 return 0;
91072 _ACEOF
91073 rm -f conftest.$ac_objext conftest$ac_exeext
91074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91075 (eval $ac_link) 2>conftest.er1
91076 ac_status=$?
91077 grep -v '^ *+' conftest.er1 >conftest.err
91078 rm -f conftest.er1
91079 cat conftest.err >&5
91080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91081 (exit $ac_status); } &&
91082 { ac_try='test -z "$ac_c_werror_flag"
91083 || test ! -s conftest.err'
91084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91085 (eval $ac_try) 2>&5
91086 ac_status=$?
91087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91088 (exit $ac_status); }; } &&
91089 { ac_try='test -s conftest$ac_exeext'
91090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91091 (eval $ac_try) 2>&5
91092 ac_status=$?
91093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91094 (exit $ac_status); }; }; then
91095 eval "$as_ac_var=yes"
91096 else
91097 echo "$as_me: failed program was:" >&5
91098 sed 's/^/| /' conftest.$ac_ext >&5
91100 eval "$as_ac_var=no"
91102 rm -f conftest.err conftest.$ac_objext \
91103 conftest$ac_exeext conftest.$ac_ext
91105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91107 if test `eval echo '${'$as_ac_var'}'` = yes; then
91108 cat >>confdefs.h <<_ACEOF
91109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91110 _ACEOF
91112 else
91113 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91115 done
91119 for ac_func in __signbit
91121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91122 echo "$as_me:$LINENO: checking for $ac_func" >&5
91123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91124 if eval "test \"\${$as_ac_var+set}\" = set"; then
91125 echo $ECHO_N "(cached) $ECHO_C" >&6
91126 else
91127 if test x$gcc_no_link = xyes; then
91128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91130 { (exit 1); exit 1; }; }
91132 cat >conftest.$ac_ext <<_ACEOF
91133 /* confdefs.h. */
91134 _ACEOF
91135 cat confdefs.h >>conftest.$ac_ext
91136 cat >>conftest.$ac_ext <<_ACEOF
91137 /* end confdefs.h. */
91138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91140 #define $ac_func innocuous_$ac_func
91142 /* System header to define __stub macros and hopefully few prototypes,
91143 which can conflict with char $ac_func (); below.
91144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91145 <limits.h> exists even on freestanding compilers. */
91147 #ifdef __STDC__
91148 # include <limits.h>
91149 #else
91150 # include <assert.h>
91151 #endif
91153 #undef $ac_func
91155 /* Override any gcc2 internal prototype to avoid an error. */
91156 #ifdef __cplusplus
91157 extern "C"
91159 #endif
91160 /* We use char because int might match the return type of a gcc2
91161 builtin and then its argument prototype would still apply. */
91162 char $ac_func ();
91163 /* The GNU C library defines this for functions which it implements
91164 to always fail with ENOSYS. Some functions are actually named
91165 something starting with __ and the normal name is an alias. */
91166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91167 choke me
91168 #else
91169 char (*f) () = $ac_func;
91170 #endif
91171 #ifdef __cplusplus
91173 #endif
91176 main ()
91178 return f != $ac_func;
91180 return 0;
91182 _ACEOF
91183 rm -f conftest.$ac_objext conftest$ac_exeext
91184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91185 (eval $ac_link) 2>conftest.er1
91186 ac_status=$?
91187 grep -v '^ *+' conftest.er1 >conftest.err
91188 rm -f conftest.er1
91189 cat conftest.err >&5
91190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91191 (exit $ac_status); } &&
91192 { ac_try='test -z "$ac_c_werror_flag"
91193 || test ! -s conftest.err'
91194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91195 (eval $ac_try) 2>&5
91196 ac_status=$?
91197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91198 (exit $ac_status); }; } &&
91199 { ac_try='test -s conftest$ac_exeext'
91200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91201 (eval $ac_try) 2>&5
91202 ac_status=$?
91203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91204 (exit $ac_status); }; }; then
91205 eval "$as_ac_var=yes"
91206 else
91207 echo "$as_me: failed program was:" >&5
91208 sed 's/^/| /' conftest.$ac_ext >&5
91210 eval "$as_ac_var=no"
91212 rm -f conftest.err conftest.$ac_objext \
91213 conftest$ac_exeext conftest.$ac_ext
91215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91217 if test `eval echo '${'$as_ac_var'}'` = yes; then
91218 cat >>confdefs.h <<_ACEOF
91219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91220 _ACEOF
91222 else
91223 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91225 done
91229 for ac_func in __signbitf
91231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91232 echo "$as_me:$LINENO: checking for $ac_func" >&5
91233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91234 if eval "test \"\${$as_ac_var+set}\" = set"; then
91235 echo $ECHO_N "(cached) $ECHO_C" >&6
91236 else
91237 if test x$gcc_no_link = xyes; then
91238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91240 { (exit 1); exit 1; }; }
91242 cat >conftest.$ac_ext <<_ACEOF
91243 /* confdefs.h. */
91244 _ACEOF
91245 cat confdefs.h >>conftest.$ac_ext
91246 cat >>conftest.$ac_ext <<_ACEOF
91247 /* end confdefs.h. */
91248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91250 #define $ac_func innocuous_$ac_func
91252 /* System header to define __stub macros and hopefully few prototypes,
91253 which can conflict with char $ac_func (); below.
91254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91255 <limits.h> exists even on freestanding compilers. */
91257 #ifdef __STDC__
91258 # include <limits.h>
91259 #else
91260 # include <assert.h>
91261 #endif
91263 #undef $ac_func
91265 /* Override any gcc2 internal prototype to avoid an error. */
91266 #ifdef __cplusplus
91267 extern "C"
91269 #endif
91270 /* We use char because int might match the return type of a gcc2
91271 builtin and then its argument prototype would still apply. */
91272 char $ac_func ();
91273 /* The GNU C library defines this for functions which it implements
91274 to always fail with ENOSYS. Some functions are actually named
91275 something starting with __ and the normal name is an alias. */
91276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91277 choke me
91278 #else
91279 char (*f) () = $ac_func;
91280 #endif
91281 #ifdef __cplusplus
91283 #endif
91286 main ()
91288 return f != $ac_func;
91290 return 0;
91292 _ACEOF
91293 rm -f conftest.$ac_objext conftest$ac_exeext
91294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91295 (eval $ac_link) 2>conftest.er1
91296 ac_status=$?
91297 grep -v '^ *+' conftest.er1 >conftest.err
91298 rm -f conftest.er1
91299 cat conftest.err >&5
91300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91301 (exit $ac_status); } &&
91302 { ac_try='test -z "$ac_c_werror_flag"
91303 || test ! -s conftest.err'
91304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91305 (eval $ac_try) 2>&5
91306 ac_status=$?
91307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91308 (exit $ac_status); }; } &&
91309 { ac_try='test -s conftest$ac_exeext'
91310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91311 (eval $ac_try) 2>&5
91312 ac_status=$?
91313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91314 (exit $ac_status); }; }; then
91315 eval "$as_ac_var=yes"
91316 else
91317 echo "$as_me: failed program was:" >&5
91318 sed 's/^/| /' conftest.$ac_ext >&5
91320 eval "$as_ac_var=no"
91322 rm -f conftest.err conftest.$ac_objext \
91323 conftest$ac_exeext conftest.$ac_ext
91325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91327 if test `eval echo '${'$as_ac_var'}'` = yes; then
91328 cat >>confdefs.h <<_ACEOF
91329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91330 _ACEOF
91332 else
91333 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91335 done
91338 if test x$ac_cv_func_copysignl = x"yes"; then
91340 for ac_func in __signbitl
91342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91343 echo "$as_me:$LINENO: checking for $ac_func" >&5
91344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91345 if eval "test \"\${$as_ac_var+set}\" = set"; then
91346 echo $ECHO_N "(cached) $ECHO_C" >&6
91347 else
91348 if test x$gcc_no_link = xyes; then
91349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91351 { (exit 1); exit 1; }; }
91353 cat >conftest.$ac_ext <<_ACEOF
91354 /* confdefs.h. */
91355 _ACEOF
91356 cat confdefs.h >>conftest.$ac_ext
91357 cat >>conftest.$ac_ext <<_ACEOF
91358 /* end confdefs.h. */
91359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91361 #define $ac_func innocuous_$ac_func
91363 /* System header to define __stub macros and hopefully few prototypes,
91364 which can conflict with char $ac_func (); below.
91365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91366 <limits.h> exists even on freestanding compilers. */
91368 #ifdef __STDC__
91369 # include <limits.h>
91370 #else
91371 # include <assert.h>
91372 #endif
91374 #undef $ac_func
91376 /* Override any gcc2 internal prototype to avoid an error. */
91377 #ifdef __cplusplus
91378 extern "C"
91380 #endif
91381 /* We use char because int might match the return type of a gcc2
91382 builtin and then its argument prototype would still apply. */
91383 char $ac_func ();
91384 /* The GNU C library defines this for functions which it implements
91385 to always fail with ENOSYS. Some functions are actually named
91386 something starting with __ and the normal name is an alias. */
91387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91388 choke me
91389 #else
91390 char (*f) () = $ac_func;
91391 #endif
91392 #ifdef __cplusplus
91394 #endif
91397 main ()
91399 return f != $ac_func;
91401 return 0;
91403 _ACEOF
91404 rm -f conftest.$ac_objext conftest$ac_exeext
91405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91406 (eval $ac_link) 2>conftest.er1
91407 ac_status=$?
91408 grep -v '^ *+' conftest.er1 >conftest.err
91409 rm -f conftest.er1
91410 cat conftest.err >&5
91411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91412 (exit $ac_status); } &&
91413 { ac_try='test -z "$ac_c_werror_flag"
91414 || test ! -s conftest.err'
91415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91416 (eval $ac_try) 2>&5
91417 ac_status=$?
91418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91419 (exit $ac_status); }; } &&
91420 { ac_try='test -s conftest$ac_exeext'
91421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91422 (eval $ac_try) 2>&5
91423 ac_status=$?
91424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91425 (exit $ac_status); }; }; then
91426 eval "$as_ac_var=yes"
91427 else
91428 echo "$as_me: failed program was:" >&5
91429 sed 's/^/| /' conftest.$ac_ext >&5
91431 eval "$as_ac_var=no"
91433 rm -f conftest.err conftest.$ac_objext \
91434 conftest$ac_exeext conftest.$ac_ext
91436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91438 if test `eval echo '${'$as_ac_var'}'` = yes; then
91439 cat >>confdefs.h <<_ACEOF
91440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91441 _ACEOF
91443 else
91444 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91446 done
91450 # Used in libmath/Makefile.am.
91451 if test -n "$LIBMATHOBJS"; then
91452 need_libmath=yes
91456 cat >>confdefs.h <<\_ACEOF
91457 #define HAVE_COPYSIGN 1
91458 _ACEOF
91460 cat >>confdefs.h <<\_ACEOF
91461 #define HAVE_COPYSIGNF 1
91462 _ACEOF
91464 cat >>confdefs.h <<\_ACEOF
91465 #define HAVE_FINITE 1
91466 _ACEOF
91468 cat >>confdefs.h <<\_ACEOF
91469 #define HAVE_FINITEF 1
91470 _ACEOF
91472 cat >>confdefs.h <<\_ACEOF
91473 #define HAVE_FREXPF 1
91474 _ACEOF
91476 cat >>confdefs.h <<\_ACEOF
91477 #define HAVE_HYPOTF 1
91478 _ACEOF
91480 cat >>confdefs.h <<\_ACEOF
91481 #define HAVE_ISINF 1
91482 _ACEOF
91484 cat >>confdefs.h <<\_ACEOF
91485 #define HAVE_ISINFF 1
91486 _ACEOF
91488 cat >>confdefs.h <<\_ACEOF
91489 #define HAVE_ISNAN 1
91490 _ACEOF
91492 cat >>confdefs.h <<\_ACEOF
91493 #define HAVE_ISNANF 1
91494 _ACEOF
91496 cat >>confdefs.h <<\_ACEOF
91497 #define HAVE_SINCOS 1
91498 _ACEOF
91500 cat >>confdefs.h <<\_ACEOF
91501 #define HAVE_SINCOSF 1
91502 _ACEOF
91504 if test x"long_double_math_on_this_cpu" = x"yes"; then
91505 cat >>confdefs.h <<\_ACEOF
91506 #define HAVE_FINITEL 1
91507 _ACEOF
91509 cat >>confdefs.h <<\_ACEOF
91510 #define HAVE_HYPOTL 1
91511 _ACEOF
91513 cat >>confdefs.h <<\_ACEOF
91514 #define HAVE_ISINFL 1
91515 _ACEOF
91517 cat >>confdefs.h <<\_ACEOF
91518 #define HAVE_ISNANL 1
91519 _ACEOF
91523 *-vxworks)
91524 cat >>confdefs.h <<\_ACEOF
91525 #define HAVE_MMAP 1
91526 _ACEOF
91528 cat >>confdefs.h <<\_ACEOF
91529 #define HAVE_ACOSF 1
91530 _ACEOF
91532 cat >>confdefs.h <<\_ACEOF
91533 #define HAVE_ASINF 1
91534 _ACEOF
91536 cat >>confdefs.h <<\_ACEOF
91537 #define HAVE_ATAN2F 1
91538 _ACEOF
91540 cat >>confdefs.h <<\_ACEOF
91541 #define HAVE_ATANF 1
91542 _ACEOF
91544 cat >>confdefs.h <<\_ACEOF
91545 #define HAVE_CEILF 1
91546 _ACEOF
91548 cat >>confdefs.h <<\_ACEOF
91549 #define HAVE_COSF 1
91550 _ACEOF
91552 cat >>confdefs.h <<\_ACEOF
91553 #define HAVE_COSHF 1
91554 _ACEOF
91556 cat >>confdefs.h <<\_ACEOF
91557 #define HAVE_EXPF 1
91558 _ACEOF
91560 cat >>confdefs.h <<\_ACEOF
91561 #define HAVE_FABSF 1
91562 _ACEOF
91564 cat >>confdefs.h <<\_ACEOF
91565 #define HAVE_FLOORF 1
91566 _ACEOF
91568 cat >>confdefs.h <<\_ACEOF
91569 #define HAVE_FMODF 1
91570 _ACEOF
91572 cat >>confdefs.h <<\_ACEOF
91573 #define HAVE_HYPOT 1
91574 _ACEOF
91576 cat >>confdefs.h <<\_ACEOF
91577 #define HAVE_LOG10F 1
91578 _ACEOF
91580 cat >>confdefs.h <<\_ACEOF
91581 #define HAVE_LOGF 1
91582 _ACEOF
91584 cat >>confdefs.h <<\_ACEOF
91585 #define HAVE_POWF 1
91586 _ACEOF
91588 cat >>confdefs.h <<\_ACEOF
91589 #define HAVE_SINF 1
91590 _ACEOF
91592 cat >>confdefs.h <<\_ACEOF
91593 #define HAVE_SINHF 1
91594 _ACEOF
91596 cat >>confdefs.h <<\_ACEOF
91597 #define HAVE_SQRTF 1
91598 _ACEOF
91600 cat >>confdefs.h <<\_ACEOF
91601 #define HAVE_TANF 1
91602 _ACEOF
91604 cat >>confdefs.h <<\_ACEOF
91605 #define HAVE_TANHF 1
91606 _ACEOF
91609 *-windiss*)
91610 cat >>confdefs.h <<\_ACEOF
91611 #define HAVE_ACOSF 1
91612 _ACEOF
91614 cat >>confdefs.h <<\_ACEOF
91615 #define HAVE_ACOSL 1
91616 _ACEOF
91618 cat >>confdefs.h <<\_ACEOF
91619 #define HAVE_ASINF 1
91620 _ACEOF
91622 cat >>confdefs.h <<\_ACEOF
91623 #define HAVE_ASINL 1
91624 _ACEOF
91626 cat >>confdefs.h <<\_ACEOF
91627 #define HAVE_ATAN2F 1
91628 _ACEOF
91630 cat >>confdefs.h <<\_ACEOF
91631 #define HAVE_ATAN2L 1
91632 _ACEOF
91634 cat >>confdefs.h <<\_ACEOF
91635 #define HAVE_ATANF 1
91636 _ACEOF
91638 cat >>confdefs.h <<\_ACEOF
91639 #define HAVE_ATANL 1
91640 _ACEOF
91642 cat >>confdefs.h <<\_ACEOF
91643 #define HAVE_CEILF 1
91644 _ACEOF
91646 cat >>confdefs.h <<\_ACEOF
91647 #define HAVE_CEILL 1
91648 _ACEOF
91650 cat >>confdefs.h <<\_ACEOF
91651 #define HAVE_COPYSIGN 1
91652 _ACEOF
91654 cat >>confdefs.h <<\_ACEOF
91655 #define HAVE_COPYSIGNF 1
91656 _ACEOF
91658 cat >>confdefs.h <<\_ACEOF
91659 #define HAVE_COSF 1
91660 _ACEOF
91662 cat >>confdefs.h <<\_ACEOF
91663 #define HAVE_COSL 1
91664 _ACEOF
91666 cat >>confdefs.h <<\_ACEOF
91667 #define HAVE_COSHF 1
91668 _ACEOF
91670 cat >>confdefs.h <<\_ACEOF
91671 #define HAVE_COSHL 1
91672 _ACEOF
91674 cat >>confdefs.h <<\_ACEOF
91675 #define HAVE_EXPF 1
91676 _ACEOF
91678 cat >>confdefs.h <<\_ACEOF
91679 #define HAVE_EXPL 1
91680 _ACEOF
91682 cat >>confdefs.h <<\_ACEOF
91683 #define HAVE_FABSF 1
91684 _ACEOF
91686 cat >>confdefs.h <<\_ACEOF
91687 #define HAVE_FABSL 1
91688 _ACEOF
91690 cat >>confdefs.h <<\_ACEOF
91691 #define HAVE_FLOORF 1
91692 _ACEOF
91694 cat >>confdefs.h <<\_ACEOF
91695 #define HAVE_FLOORL 1
91696 _ACEOF
91698 cat >>confdefs.h <<\_ACEOF
91699 #define HAVE_FMODF 1
91700 _ACEOF
91702 cat >>confdefs.h <<\_ACEOF
91703 #define HAVE_FMODL 1
91704 _ACEOF
91706 cat >>confdefs.h <<\_ACEOF
91707 #define HAVE_FREXPF 1
91708 _ACEOF
91710 cat >>confdefs.h <<\_ACEOF
91711 #define HAVE_FREXPL 1
91712 _ACEOF
91714 cat >>confdefs.h <<\_ACEOF
91715 #define HAVE_LDEXPF 1
91716 _ACEOF
91718 cat >>confdefs.h <<\_ACEOF
91719 #define HAVE_LDEXPL 1
91720 _ACEOF
91722 cat >>confdefs.h <<\_ACEOF
91723 #define HAVE_LOG10F 1
91724 _ACEOF
91726 cat >>confdefs.h <<\_ACEOF
91727 #define HAVE_LOG10L 1
91728 _ACEOF
91730 cat >>confdefs.h <<\_ACEOF
91731 #define HAVE_LOGF 1
91732 _ACEOF
91734 cat >>confdefs.h <<\_ACEOF
91735 #define HAVE_MODFF 1
91736 _ACEOF
91738 cat >>confdefs.h <<\_ACEOF
91739 #define HAVE_MODFL 1
91740 _ACEOF
91742 cat >>confdefs.h <<\_ACEOF
91743 #define HAVE_POWF 1
91744 _ACEOF
91746 cat >>confdefs.h <<\_ACEOF
91747 #define HAVE_POWL 1
91748 _ACEOF
91750 cat >>confdefs.h <<\_ACEOF
91751 #define HAVE_SINF 1
91752 _ACEOF
91754 cat >>confdefs.h <<\_ACEOF
91755 #define HAVE_SINL 1
91756 _ACEOF
91758 cat >>confdefs.h <<\_ACEOF
91759 #define HAVE_SINHF 1
91760 _ACEOF
91762 cat >>confdefs.h <<\_ACEOF
91763 #define HAVE_SINHL 1
91764 _ACEOF
91766 cat >>confdefs.h <<\_ACEOF
91767 #define HAVE_SQRTF 1
91768 _ACEOF
91770 cat >>confdefs.h <<\_ACEOF
91771 #define HAVE_SQRTL 1
91772 _ACEOF
91774 cat >>confdefs.h <<\_ACEOF
91775 #define HAVE_TANF 1
91776 _ACEOF
91778 cat >>confdefs.h <<\_ACEOF
91779 #define HAVE_TANL 1
91780 _ACEOF
91782 cat >>confdefs.h <<\_ACEOF
91783 #define HAVE_TANHF 1
91784 _ACEOF
91786 cat >>confdefs.h <<\_ACEOF
91787 #define HAVE_TANHL 1
91788 _ACEOF
91792 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
91793 echo "$as_me: error: No support for this host/target combination." >&2;}
91794 { (exit 1); exit 1; }; }
91796 esac
91800 # At some point, we should differentiate between architectures
91801 # like x86, which have long double versions, and alpha/powerpc/etc.,
91802 # which don't. For the time being, punt.
91803 if test x"long_double_math_on_this_cpu" = x"yes"; then
91804 cat >>confdefs.h <<\_ACEOF
91805 #define HAVE_ACOSL 1
91806 _ACEOF
91808 cat >>confdefs.h <<\_ACEOF
91809 #define HAVE_ASINL 1
91810 _ACEOF
91812 cat >>confdefs.h <<\_ACEOF
91813 #define HAVE_ATAN2L 1
91814 _ACEOF
91816 cat >>confdefs.h <<\_ACEOF
91817 #define HAVE_ATANL 1
91818 _ACEOF
91820 cat >>confdefs.h <<\_ACEOF
91821 #define HAVE_CEILL 1
91822 _ACEOF
91824 cat >>confdefs.h <<\_ACEOF
91825 #define HAVE_COPYSIGNL 1
91826 _ACEOF
91828 cat >>confdefs.h <<\_ACEOF
91829 #define HAVE_COSL 1
91830 _ACEOF
91832 cat >>confdefs.h <<\_ACEOF
91833 #define HAVE_COSHL 1
91834 _ACEOF
91836 cat >>confdefs.h <<\_ACEOF
91837 #define HAVE_EXPL 1
91838 _ACEOF
91840 cat >>confdefs.h <<\_ACEOF
91841 #define HAVE_FABSL 1
91842 _ACEOF
91844 cat >>confdefs.h <<\_ACEOF
91845 #define HAVE_FLOORL 1
91846 _ACEOF
91848 cat >>confdefs.h <<\_ACEOF
91849 #define HAVE_FMODL 1
91850 _ACEOF
91852 cat >>confdefs.h <<\_ACEOF
91853 #define HAVE_FREXPL 1
91854 _ACEOF
91856 cat >>confdefs.h <<\_ACEOF
91857 #define HAVE_LDEXPL 1
91858 _ACEOF
91860 cat >>confdefs.h <<\_ACEOF
91861 #define HAVE_LOG10L 1
91862 _ACEOF
91864 cat >>confdefs.h <<\_ACEOF
91865 #define HAVE_LOGL 1
91866 _ACEOF
91868 cat >>confdefs.h <<\_ACEOF
91869 #define HAVE_MODFL 1
91870 _ACEOF
91872 cat >>confdefs.h <<\_ACEOF
91873 #define HAVE_POWL 1
91874 _ACEOF
91876 cat >>confdefs.h <<\_ACEOF
91877 #define HAVE_SINCOSL 1
91878 _ACEOF
91880 cat >>confdefs.h <<\_ACEOF
91881 #define HAVE_SINL 1
91882 _ACEOF
91884 cat >>confdefs.h <<\_ACEOF
91885 #define HAVE_SINHL 1
91886 _ACEOF
91888 cat >>confdefs.h <<\_ACEOF
91889 #define HAVE_SQRTL 1
91890 _ACEOF
91892 cat >>confdefs.h <<\_ACEOF
91893 #define HAVE_TANL 1
91894 _ACEOF
91896 cat >>confdefs.h <<\_ACEOF
91897 #define HAVE_TANHL 1
91898 _ACEOF
91902 # Assume we have _Unwind_GetIPInfo for cross-compiles.
91903 cat >>confdefs.h <<\_ACEOF
91904 #define HAVE_GETIPINFO 1
91905 _ACEOF
91910 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
91913 # Check whether --enable-symvers or --disable-symvers was given.
91914 if test "${enable_symvers+set}" = set; then
91915 enableval="$enable_symvers"
91917 case "$enableval" in
91918 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
91919 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
91920 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
91921 { (exit 1); exit 1; }; } ;;
91922 esac
91924 else
91925 enable_symvers=yes
91929 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
91930 # don't know enough about $LD to do tricks...
91933 # Turn a 'yes' into a suitable default.
91934 if test x$enable_symvers = xyes ; then
91935 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
91936 enable_symvers=no
91937 else
91938 if test $with_gnu_ld = yes ; then
91939 enable_symvers=gnu
91940 else
91941 case ${target_os} in
91942 darwin*)
91943 enable_symvers=darwin ;;
91945 enable_symvers=no ;;
91946 esac
91951 # Check to see if 'darwin' or 'darwin-export' can win.
91952 if test x$enable_symvers = xdarwin-export ; then
91953 enable_symvers=darwin
91956 # Check to see if 'gnu' can win.
91957 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
91958 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
91959 echo "$as_me:$LINENO: checking for shared libgcc" >&5
91960 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
91961 ac_save_CFLAGS="$CFLAGS"
91962 CFLAGS=' -lgcc_s'
91963 if test x$gcc_no_link = xyes; then
91964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91966 { (exit 1); exit 1; }; }
91968 cat >conftest.$ac_ext <<_ACEOF
91969 /* confdefs.h. */
91970 _ACEOF
91971 cat confdefs.h >>conftest.$ac_ext
91972 cat >>conftest.$ac_ext <<_ACEOF
91973 /* end confdefs.h. */
91976 main ()
91978 return 0;
91980 return 0;
91982 _ACEOF
91983 rm -f conftest.$ac_objext conftest$ac_exeext
91984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91985 (eval $ac_link) 2>conftest.er1
91986 ac_status=$?
91987 grep -v '^ *+' conftest.er1 >conftest.err
91988 rm -f conftest.er1
91989 cat conftest.err >&5
91990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91991 (exit $ac_status); } &&
91992 { ac_try='test -z "$ac_c_werror_flag"
91993 || test ! -s conftest.err'
91994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91995 (eval $ac_try) 2>&5
91996 ac_status=$?
91997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91998 (exit $ac_status); }; } &&
91999 { ac_try='test -s conftest$ac_exeext'
92000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92001 (eval $ac_try) 2>&5
92002 ac_status=$?
92003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92004 (exit $ac_status); }; }; then
92005 glibcxx_shared_libgcc=yes
92006 else
92007 echo "$as_me: failed program was:" >&5
92008 sed 's/^/| /' conftest.$ac_ext >&5
92010 glibcxx_shared_libgcc=no
92012 rm -f conftest.err conftest.$ac_objext \
92013 conftest$ac_exeext conftest.$ac_ext
92014 CFLAGS="$ac_save_CFLAGS"
92015 if test $glibcxx_shared_libgcc = no; then
92016 cat > conftest.c <<EOF
92017 int main (void) { return 0; }
92019 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
92020 -shared -shared-libgcc -o conftest.so \
92021 conftest.c -v 2>&1 >/dev/null \
92022 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
92023 rm -f conftest.c conftest.so
92024 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
92025 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
92026 if test x$gcc_no_link = xyes; then
92027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92029 { (exit 1); exit 1; }; }
92031 cat >conftest.$ac_ext <<_ACEOF
92032 /* confdefs.h. */
92033 _ACEOF
92034 cat confdefs.h >>conftest.$ac_ext
92035 cat >>conftest.$ac_ext <<_ACEOF
92036 /* end confdefs.h. */
92039 main ()
92041 return 0;
92043 return 0;
92045 _ACEOF
92046 rm -f conftest.$ac_objext conftest$ac_exeext
92047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92048 (eval $ac_link) 2>conftest.er1
92049 ac_status=$?
92050 grep -v '^ *+' conftest.er1 >conftest.err
92051 rm -f conftest.er1
92052 cat conftest.err >&5
92053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92054 (exit $ac_status); } &&
92055 { ac_try='test -z "$ac_c_werror_flag"
92056 || test ! -s conftest.err'
92057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92058 (eval $ac_try) 2>&5
92059 ac_status=$?
92060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92061 (exit $ac_status); }; } &&
92062 { ac_try='test -s conftest$ac_exeext'
92063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92064 (eval $ac_try) 2>&5
92065 ac_status=$?
92066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92067 (exit $ac_status); }; }; then
92068 glibcxx_shared_libgcc=yes
92069 else
92070 echo "$as_me: failed program was:" >&5
92071 sed 's/^/| /' conftest.$ac_ext >&5
92074 rm -f conftest.err conftest.$ac_objext \
92075 conftest$ac_exeext conftest.$ac_ext
92076 CFLAGS="$ac_save_CFLAGS"
92079 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
92080 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
92082 # For GNU ld, we need at least this version. The format is described in
92083 # GLIBCXX_CHECK_LINKER_FEATURES above.
92084 glibcxx_min_gnu_ld_version=21400
92086 # If no shared libgcc, can't win.
92087 if test $glibcxx_shared_libgcc != yes; then
92088 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92089 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92090 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
92091 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
92092 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92093 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92094 enable_symvers=no
92095 elif test $with_gnu_ld != yes ; then
92096 # just fail for now
92097 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
92098 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
92099 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
92100 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
92101 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92102 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92103 enable_symvers=no
92104 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
92105 # The right tools, the right setup, but too old. Fallbacks?
92106 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
92107 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
92108 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
92109 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
92110 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
92111 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
92112 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
92113 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
92114 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
92115 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
92116 enable_symvers=no
92120 # Everything parsed; figure out what file to use.
92121 case $enable_symvers in
92123 SYMVER_FILE=config/abi/pre/none.ver
92125 gnu)
92126 SYMVER_FILE=config/abi/pre/gnu.ver
92128 cat >>confdefs.h <<\_ACEOF
92129 #define _GLIBCXX_SYMVER_GNU 1
92130 _ACEOF
92133 gnu-versioned-namespace)
92134 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
92136 cat >>confdefs.h <<\_ACEOF
92137 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
92138 _ACEOF
92141 darwin)
92142 SYMVER_FILE=config/abi/pre/gnu.ver
92144 cat >>confdefs.h <<\_ACEOF
92145 #define _GLIBCXX_SYMVER_DARWIN 1
92146 _ACEOF
92149 esac
92151 if test x$enable_symvers != xno ; then
92153 cat >>confdefs.h <<\_ACEOF
92154 #define _GLIBCXX_SYMVER 1
92155 _ACEOF
92165 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
92166 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
92168 # Now, set up compatibility support, if any.
92169 # In addition, need this to deal with std::size_t mangling in
92170 # src/compatibility.cc. In a perfect world, could use
92171 # typeid(std::size_t).name()[0] to do direct substitution.
92172 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
92173 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
92174 ac_save_CFLAGS="$CFLAGS"
92175 CFLAGS="-Werror"
92176 cat >conftest.$ac_ext <<_ACEOF
92177 /* confdefs.h. */
92178 _ACEOF
92179 cat confdefs.h >>conftest.$ac_ext
92180 cat >>conftest.$ac_ext <<_ACEOF
92181 /* end confdefs.h. */
92184 main ()
92186 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
92188 return 0;
92190 _ACEOF
92191 rm -f conftest.$ac_objext
92192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92193 (eval $ac_compile) 2>conftest.er1
92194 ac_status=$?
92195 grep -v '^ *+' conftest.er1 >conftest.err
92196 rm -f conftest.er1
92197 cat conftest.err >&5
92198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92199 (exit $ac_status); } &&
92200 { ac_try='test -z "$ac_c_werror_flag"
92201 || test ! -s conftest.err'
92202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92203 (eval $ac_try) 2>&5
92204 ac_status=$?
92205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92206 (exit $ac_status); }; } &&
92207 { ac_try='test -s conftest.$ac_objext'
92208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92209 (eval $ac_try) 2>&5
92210 ac_status=$?
92211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92212 (exit $ac_status); }; }; then
92213 glibcxx_size_t_is_i=yes
92214 else
92215 echo "$as_me: failed program was:" >&5
92216 sed 's/^/| /' conftest.$ac_ext >&5
92218 glibcxx_size_t_is_i=no
92220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92221 CFLAGS=$ac_save_CFLAGS
92222 if test "$glibcxx_size_t_is_i" = yes; then
92224 cat >>confdefs.h <<\_ACEOF
92225 #define _GLIBCXX_SIZE_T_IS_UINT 1
92226 _ACEOF
92229 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
92230 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
92232 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
92233 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
92234 ac_save_CFLAGS="$CFLAGS"
92235 CFLAGS="-Werror"
92236 cat >conftest.$ac_ext <<_ACEOF
92237 /* confdefs.h. */
92238 _ACEOF
92239 cat confdefs.h >>conftest.$ac_ext
92240 cat >>conftest.$ac_ext <<_ACEOF
92241 /* end confdefs.h. */
92244 main ()
92246 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
92248 return 0;
92250 _ACEOF
92251 rm -f conftest.$ac_objext
92252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92253 (eval $ac_compile) 2>conftest.er1
92254 ac_status=$?
92255 grep -v '^ *+' conftest.er1 >conftest.err
92256 rm -f conftest.er1
92257 cat conftest.err >&5
92258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92259 (exit $ac_status); } &&
92260 { ac_try='test -z "$ac_c_werror_flag"
92261 || test ! -s conftest.err'
92262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92263 (eval $ac_try) 2>&5
92264 ac_status=$?
92265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92266 (exit $ac_status); }; } &&
92267 { ac_try='test -s conftest.$ac_objext'
92268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92269 (eval $ac_try) 2>&5
92270 ac_status=$?
92271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92272 (exit $ac_status); }; }; then
92273 glibcxx_ptrdiff_t_is_i=yes
92274 else
92275 echo "$as_me: failed program was:" >&5
92276 sed 's/^/| /' conftest.$ac_ext >&5
92278 glibcxx_ptrdiff_t_is_i=no
92280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92281 CFLAGS=$ac_save_CFLAGS
92282 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
92284 cat >>confdefs.h <<\_ACEOF
92285 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
92286 _ACEOF
92289 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
92290 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
92293 # Check whether --enable-visibility or --disable-visibility was given.
92294 if test "${enable_visibility+set}" = set; then
92295 enableval="$enable_visibility"
92297 case "$enableval" in
92298 yes|no) ;;
92299 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
92300 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
92301 { (exit 1); exit 1; }; } ;;
92302 esac
92304 else
92305 enable_visibility=yes
92309 if test x$enable_visibility = xyes ; then
92310 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
92311 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
92312 if test "${have_attribute_visibility+set}" = set; then
92313 echo $ECHO_N "(cached) $ECHO_C" >&6
92314 else
92316 save_CFLAGS="$CFLAGS"
92317 CFLAGS="$CFLAGS -Werror"
92318 cat >conftest.$ac_ext <<_ACEOF
92319 /* confdefs.h. */
92320 _ACEOF
92321 cat confdefs.h >>conftest.$ac_ext
92322 cat >>conftest.$ac_ext <<_ACEOF
92323 /* end confdefs.h. */
92324 void __attribute__((visibility("hidden"))) foo(void) { }
92326 main ()
92330 return 0;
92332 _ACEOF
92333 rm -f conftest.$ac_objext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92335 (eval $ac_compile) 2>conftest.er1
92336 ac_status=$?
92337 grep -v '^ *+' conftest.er1 >conftest.err
92338 rm -f conftest.er1
92339 cat conftest.err >&5
92340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341 (exit $ac_status); } &&
92342 { ac_try='test -z "$ac_c_werror_flag"
92343 || test ! -s conftest.err'
92344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345 (eval $ac_try) 2>&5
92346 ac_status=$?
92347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348 (exit $ac_status); }; } &&
92349 { ac_try='test -s conftest.$ac_objext'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; }; then
92355 have_attribute_visibility=yes
92356 else
92357 echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92360 have_attribute_visibility=no
92362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92363 CFLAGS="$save_CFLAGS"
92365 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
92366 echo "${ECHO_T}$have_attribute_visibility" >&6
92367 if test $have_attribute_visibility = no; then
92368 enable_visibility=no
92373 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
92374 echo "$as_me: visibility supported: $enable_visibility" >&6;}
92377 ac_ldbl_compat=no
92378 case "$target" in
92379 powerpc*-*-linux* | \
92380 powerpc*-*-gnu* | \
92381 sparc*-*-linux* | \
92382 s390*-*-linux* | \
92383 alpha*-*-linux*)
92384 cat >conftest.$ac_ext <<_ACEOF
92385 /* confdefs.h. */
92386 _ACEOF
92387 cat confdefs.h >>conftest.$ac_ext
92388 cat >>conftest.$ac_ext <<_ACEOF
92389 /* end confdefs.h. */
92392 main ()
92395 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
92396 #error no need for long double compatibility
92397 #endif
92400 return 0;
92402 _ACEOF
92403 rm -f conftest.$ac_objext
92404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92405 (eval $ac_compile) 2>conftest.er1
92406 ac_status=$?
92407 grep -v '^ *+' conftest.er1 >conftest.err
92408 rm -f conftest.er1
92409 cat conftest.err >&5
92410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92411 (exit $ac_status); } &&
92412 { ac_try='test -z "$ac_c_werror_flag"
92413 || test ! -s conftest.err'
92414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92415 (eval $ac_try) 2>&5
92416 ac_status=$?
92417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92418 (exit $ac_status); }; } &&
92419 { ac_try='test -s conftest.$ac_objext'
92420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92421 (eval $ac_try) 2>&5
92422 ac_status=$?
92423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92424 (exit $ac_status); }; }; then
92425 ac_ldbl_compat=yes
92426 else
92427 echo "$as_me: failed program was:" >&5
92428 sed 's/^/| /' conftest.$ac_ext >&5
92430 ac_ldbl_compat=no
92432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92433 if test "$ac_ldbl_compat" = yes; then
92435 cat >>confdefs.h <<\_ACEOF
92436 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
92437 _ACEOF
92439 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
92441 esac
92444 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
92446 if $GLIBCXX_IS_NATIVE ; then
92447 # Do checks for resource limit functions.
92449 setrlimit_have_headers=yes
92453 for ac_header in unistd.h sys/time.h sys/resource.h
92455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92457 echo "$as_me:$LINENO: checking for $ac_header" >&5
92458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92460 echo $ECHO_N "(cached) $ECHO_C" >&6
92462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92464 else
92465 # Is the header compilable?
92466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92468 cat >conftest.$ac_ext <<_ACEOF
92469 /* confdefs.h. */
92470 _ACEOF
92471 cat confdefs.h >>conftest.$ac_ext
92472 cat >>conftest.$ac_ext <<_ACEOF
92473 /* end confdefs.h. */
92474 $ac_includes_default
92475 #include <$ac_header>
92476 _ACEOF
92477 rm -f conftest.$ac_objext
92478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92479 (eval $ac_compile) 2>conftest.er1
92480 ac_status=$?
92481 grep -v '^ *+' conftest.er1 >conftest.err
92482 rm -f conftest.er1
92483 cat conftest.err >&5
92484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92485 (exit $ac_status); } &&
92486 { ac_try='test -z "$ac_c_werror_flag"
92487 || test ! -s conftest.err'
92488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92489 (eval $ac_try) 2>&5
92490 ac_status=$?
92491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92492 (exit $ac_status); }; } &&
92493 { ac_try='test -s conftest.$ac_objext'
92494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92495 (eval $ac_try) 2>&5
92496 ac_status=$?
92497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92498 (exit $ac_status); }; }; then
92499 ac_header_compiler=yes
92500 else
92501 echo "$as_me: failed program was:" >&5
92502 sed 's/^/| /' conftest.$ac_ext >&5
92504 ac_header_compiler=no
92506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92508 echo "${ECHO_T}$ac_header_compiler" >&6
92510 # Is the header present?
92511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92513 cat >conftest.$ac_ext <<_ACEOF
92514 /* confdefs.h. */
92515 _ACEOF
92516 cat confdefs.h >>conftest.$ac_ext
92517 cat >>conftest.$ac_ext <<_ACEOF
92518 /* end confdefs.h. */
92519 #include <$ac_header>
92520 _ACEOF
92521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92522 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92523 ac_status=$?
92524 grep -v '^ *+' conftest.er1 >conftest.err
92525 rm -f conftest.er1
92526 cat conftest.err >&5
92527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92528 (exit $ac_status); } >/dev/null; then
92529 if test -s conftest.err; then
92530 ac_cpp_err=$ac_c_preproc_warn_flag
92531 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92532 else
92533 ac_cpp_err=
92535 else
92536 ac_cpp_err=yes
92538 if test -z "$ac_cpp_err"; then
92539 ac_header_preproc=yes
92540 else
92541 echo "$as_me: failed program was:" >&5
92542 sed 's/^/| /' conftest.$ac_ext >&5
92544 ac_header_preproc=no
92546 rm -f conftest.err conftest.$ac_ext
92547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92548 echo "${ECHO_T}$ac_header_preproc" >&6
92550 # So? What about this header?
92551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92552 yes:no: )
92553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92557 ac_header_preproc=yes
92559 no:yes:* )
92560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92573 cat <<\_ASBOX
92574 ## ----------------------------------------- ##
92575 ## Report this to the package-unused lists. ##
92576 ## ----------------------------------------- ##
92577 _ASBOX
92579 sed "s/^/$as_me: WARNING: /" >&2
92581 esac
92582 echo "$as_me:$LINENO: checking for $ac_header" >&5
92583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92585 echo $ECHO_N "(cached) $ECHO_C" >&6
92586 else
92587 eval "$as_ac_Header=\$ac_header_preproc"
92589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92594 cat >>confdefs.h <<_ACEOF
92595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92596 _ACEOF
92598 else
92599 setrlimit_have_headers=no
92602 done
92604 # If don't have the headers, then we can't run the tests now, and we
92605 # won't be seeing any of these during testsuite compilation.
92606 if test $setrlimit_have_headers = yes; then
92607 # Can't do these in a loop, else the resulting syntax is wrong.
92609 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
92610 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
92611 cat >conftest.$ac_ext <<_ACEOF
92612 /* confdefs.h. */
92613 _ACEOF
92614 cat confdefs.h >>conftest.$ac_ext
92615 cat >>conftest.$ac_ext <<_ACEOF
92616 /* end confdefs.h. */
92617 #include <unistd.h>
92618 #include <sys/time.h>
92619 #include <sys/resource.h>
92622 main ()
92624 int f = RLIMIT_DATA ;
92626 return 0;
92628 _ACEOF
92629 rm -f conftest.$ac_objext
92630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92631 (eval $ac_compile) 2>conftest.er1
92632 ac_status=$?
92633 grep -v '^ *+' conftest.er1 >conftest.err
92634 rm -f conftest.er1
92635 cat conftest.err >&5
92636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92637 (exit $ac_status); } &&
92638 { ac_try='test -z "$ac_c_werror_flag"
92639 || test ! -s conftest.err'
92640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92641 (eval $ac_try) 2>&5
92642 ac_status=$?
92643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92644 (exit $ac_status); }; } &&
92645 { ac_try='test -s conftest.$ac_objext'
92646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92647 (eval $ac_try) 2>&5
92648 ac_status=$?
92649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92650 (exit $ac_status); }; }; then
92651 glibcxx_mresult=1
92652 else
92653 echo "$as_me: failed program was:" >&5
92654 sed 's/^/| /' conftest.$ac_ext >&5
92656 glibcxx_mresult=0
92658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92660 cat >>confdefs.h <<_ACEOF
92661 #define HAVE_LIMIT_DATA $glibcxx_mresult
92662 _ACEOF
92664 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92665 echo "$as_me:$LINENO: result: $res" >&5
92666 echo "${ECHO_T}$res" >&6
92669 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
92670 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
92671 cat >conftest.$ac_ext <<_ACEOF
92672 /* confdefs.h. */
92673 _ACEOF
92674 cat confdefs.h >>conftest.$ac_ext
92675 cat >>conftest.$ac_ext <<_ACEOF
92676 /* end confdefs.h. */
92677 #include <unistd.h>
92678 #include <sys/time.h>
92679 #include <sys/resource.h>
92682 main ()
92684 int f = RLIMIT_RSS ;
92686 return 0;
92688 _ACEOF
92689 rm -f conftest.$ac_objext
92690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92691 (eval $ac_compile) 2>conftest.er1
92692 ac_status=$?
92693 grep -v '^ *+' conftest.er1 >conftest.err
92694 rm -f conftest.er1
92695 cat conftest.err >&5
92696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92697 (exit $ac_status); } &&
92698 { ac_try='test -z "$ac_c_werror_flag"
92699 || test ! -s conftest.err'
92700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92701 (eval $ac_try) 2>&5
92702 ac_status=$?
92703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92704 (exit $ac_status); }; } &&
92705 { ac_try='test -s conftest.$ac_objext'
92706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92707 (eval $ac_try) 2>&5
92708 ac_status=$?
92709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92710 (exit $ac_status); }; }; then
92711 glibcxx_mresult=1
92712 else
92713 echo "$as_me: failed program was:" >&5
92714 sed 's/^/| /' conftest.$ac_ext >&5
92716 glibcxx_mresult=0
92718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92720 cat >>confdefs.h <<_ACEOF
92721 #define HAVE_LIMIT_RSS $glibcxx_mresult
92722 _ACEOF
92724 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92725 echo "$as_me:$LINENO: result: $res" >&5
92726 echo "${ECHO_T}$res" >&6
92729 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
92730 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
92731 cat >conftest.$ac_ext <<_ACEOF
92732 /* confdefs.h. */
92733 _ACEOF
92734 cat confdefs.h >>conftest.$ac_ext
92735 cat >>conftest.$ac_ext <<_ACEOF
92736 /* end confdefs.h. */
92737 #include <unistd.h>
92738 #include <sys/time.h>
92739 #include <sys/resource.h>
92742 main ()
92744 int f = RLIMIT_VMEM ;
92746 return 0;
92748 _ACEOF
92749 rm -f conftest.$ac_objext
92750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92751 (eval $ac_compile) 2>conftest.er1
92752 ac_status=$?
92753 grep -v '^ *+' conftest.er1 >conftest.err
92754 rm -f conftest.er1
92755 cat conftest.err >&5
92756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92757 (exit $ac_status); } &&
92758 { ac_try='test -z "$ac_c_werror_flag"
92759 || test ! -s conftest.err'
92760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92761 (eval $ac_try) 2>&5
92762 ac_status=$?
92763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92764 (exit $ac_status); }; } &&
92765 { ac_try='test -s conftest.$ac_objext'
92766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92767 (eval $ac_try) 2>&5
92768 ac_status=$?
92769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92770 (exit $ac_status); }; }; then
92771 glibcxx_mresult=1
92772 else
92773 echo "$as_me: failed program was:" >&5
92774 sed 's/^/| /' conftest.$ac_ext >&5
92776 glibcxx_mresult=0
92778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92780 cat >>confdefs.h <<_ACEOF
92781 #define HAVE_LIMIT_VMEM $glibcxx_mresult
92782 _ACEOF
92784 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92785 echo "$as_me:$LINENO: result: $res" >&5
92786 echo "${ECHO_T}$res" >&6
92789 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
92790 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
92791 cat >conftest.$ac_ext <<_ACEOF
92792 /* confdefs.h. */
92793 _ACEOF
92794 cat confdefs.h >>conftest.$ac_ext
92795 cat >>conftest.$ac_ext <<_ACEOF
92796 /* end confdefs.h. */
92797 #include <unistd.h>
92798 #include <sys/time.h>
92799 #include <sys/resource.h>
92802 main ()
92804 int f = RLIMIT_AS ;
92806 return 0;
92808 _ACEOF
92809 rm -f conftest.$ac_objext
92810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92811 (eval $ac_compile) 2>conftest.er1
92812 ac_status=$?
92813 grep -v '^ *+' conftest.er1 >conftest.err
92814 rm -f conftest.er1
92815 cat conftest.err >&5
92816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92817 (exit $ac_status); } &&
92818 { ac_try='test -z "$ac_c_werror_flag"
92819 || test ! -s conftest.err'
92820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92821 (eval $ac_try) 2>&5
92822 ac_status=$?
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); }; } &&
92825 { ac_try='test -s conftest.$ac_objext'
92826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92827 (eval $ac_try) 2>&5
92828 ac_status=$?
92829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92830 (exit $ac_status); }; }; then
92831 glibcxx_mresult=1
92832 else
92833 echo "$as_me: failed program was:" >&5
92834 sed 's/^/| /' conftest.$ac_ext >&5
92836 glibcxx_mresult=0
92838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92840 cat >>confdefs.h <<_ACEOF
92841 #define HAVE_LIMIT_AS $glibcxx_mresult
92842 _ACEOF
92844 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92845 echo "$as_me:$LINENO: result: $res" >&5
92846 echo "${ECHO_T}$res" >&6
92849 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
92850 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
92851 cat >conftest.$ac_ext <<_ACEOF
92852 /* confdefs.h. */
92853 _ACEOF
92854 cat confdefs.h >>conftest.$ac_ext
92855 cat >>conftest.$ac_ext <<_ACEOF
92856 /* end confdefs.h. */
92857 #include <unistd.h>
92858 #include <sys/time.h>
92859 #include <sys/resource.h>
92862 main ()
92864 int f = RLIMIT_FSIZE ;
92866 return 0;
92868 _ACEOF
92869 rm -f conftest.$ac_objext
92870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92871 (eval $ac_compile) 2>conftest.er1
92872 ac_status=$?
92873 grep -v '^ *+' conftest.er1 >conftest.err
92874 rm -f conftest.er1
92875 cat conftest.err >&5
92876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92877 (exit $ac_status); } &&
92878 { ac_try='test -z "$ac_c_werror_flag"
92879 || test ! -s conftest.err'
92880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92881 (eval $ac_try) 2>&5
92882 ac_status=$?
92883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92884 (exit $ac_status); }; } &&
92885 { ac_try='test -s conftest.$ac_objext'
92886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92887 (eval $ac_try) 2>&5
92888 ac_status=$?
92889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92890 (exit $ac_status); }; }; then
92891 glibcxx_mresult=1
92892 else
92893 echo "$as_me: failed program was:" >&5
92894 sed 's/^/| /' conftest.$ac_ext >&5
92896 glibcxx_mresult=0
92898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92900 cat >>confdefs.h <<_ACEOF
92901 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
92902 _ACEOF
92904 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
92905 echo "$as_me:$LINENO: result: $res" >&5
92906 echo "${ECHO_T}$res" >&6
92909 # Check for rlimit, setrlimit.
92910 if test "${ac_setrlimit+set}" = set; then
92911 echo $ECHO_N "(cached) $ECHO_C" >&6
92912 else
92914 cat >conftest.$ac_ext <<_ACEOF
92915 /* confdefs.h. */
92916 _ACEOF
92917 cat confdefs.h >>conftest.$ac_ext
92918 cat >>conftest.$ac_ext <<_ACEOF
92919 /* end confdefs.h. */
92920 #include <unistd.h>
92921 #include <sys/time.h>
92922 #include <sys/resource.h>
92925 main ()
92927 struct rlimit r;
92928 setrlimit(0, &r);
92930 return 0;
92932 _ACEOF
92933 rm -f conftest.$ac_objext
92934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92935 (eval $ac_compile) 2>conftest.er1
92936 ac_status=$?
92937 grep -v '^ *+' conftest.er1 >conftest.err
92938 rm -f conftest.er1
92939 cat conftest.err >&5
92940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92941 (exit $ac_status); } &&
92942 { ac_try='test -z "$ac_c_werror_flag"
92943 || test ! -s conftest.err'
92944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92945 (eval $ac_try) 2>&5
92946 ac_status=$?
92947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92948 (exit $ac_status); }; } &&
92949 { ac_try='test -s conftest.$ac_objext'
92950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92951 (eval $ac_try) 2>&5
92952 ac_status=$?
92953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92954 (exit $ac_status); }; }; then
92955 ac_setrlimit=yes
92956 else
92957 echo "$as_me: failed program was:" >&5
92958 sed 's/^/| /' conftest.$ac_ext >&5
92960 ac_setrlimit=no
92962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92968 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
92969 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
92970 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
92971 ac_res_limits=yes
92973 cat >>confdefs.h <<\_ACEOF
92974 #define _GLIBCXX_RES_LIMITS 1
92975 _ACEOF
92977 else
92978 ac_res_limits=no
92980 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
92981 echo "${ECHO_T}$ac_res_limits" >&6
92984 # Look for setenv, so that extended locale tests can be performed.
92986 echo "$as_me:$LINENO: checking for setenv declaration" >&5
92987 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
92988 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
92989 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
92990 echo $ECHO_N "(cached) $ECHO_C" >&6
92991 else
92995 ac_ext=cc
92996 ac_cpp='$CXXCPP $CPPFLAGS'
92997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93001 cat >conftest.$ac_ext <<_ACEOF
93002 /* confdefs.h. */
93003 _ACEOF
93004 cat confdefs.h >>conftest.$ac_ext
93005 cat >>conftest.$ac_ext <<_ACEOF
93006 /* end confdefs.h. */
93007 #include <stdlib.h>
93009 main ()
93011 setenv(0, 0, 0);
93013 return 0;
93015 _ACEOF
93016 rm -f conftest.$ac_objext
93017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93018 (eval $ac_compile) 2>conftest.er1
93019 ac_status=$?
93020 grep -v '^ *+' conftest.er1 >conftest.err
93021 rm -f conftest.er1
93022 cat conftest.err >&5
93023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93024 (exit $ac_status); } &&
93025 { ac_try='test -z "$ac_cxx_werror_flag"
93026 || test ! -s conftest.err'
93027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93028 (eval $ac_try) 2>&5
93029 ac_status=$?
93030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93031 (exit $ac_status); }; } &&
93032 { ac_try='test -s conftest.$ac_objext'
93033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93034 (eval $ac_try) 2>&5
93035 ac_status=$?
93036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93037 (exit $ac_status); }; }; then
93038 glibcxx_cv_func_setenv_use=yes
93039 else
93040 echo "$as_me: failed program was:" >&5
93041 sed 's/^/| /' conftest.$ac_ext >&5
93043 glibcxx_cv_func_setenv_use=no
93045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93046 ac_ext=c
93047 ac_cpp='$CPP $CPPFLAGS'
93048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93056 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
93057 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
93058 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
93060 for ac_func in setenv
93062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93063 echo "$as_me:$LINENO: checking for $ac_func" >&5
93064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93065 if eval "test \"\${$as_ac_var+set}\" = set"; then
93066 echo $ECHO_N "(cached) $ECHO_C" >&6
93067 else
93068 if test x$gcc_no_link = xyes; then
93069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93071 { (exit 1); exit 1; }; }
93073 cat >conftest.$ac_ext <<_ACEOF
93074 /* confdefs.h. */
93075 _ACEOF
93076 cat confdefs.h >>conftest.$ac_ext
93077 cat >>conftest.$ac_ext <<_ACEOF
93078 /* end confdefs.h. */
93079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93081 #define $ac_func innocuous_$ac_func
93083 /* System header to define __stub macros and hopefully few prototypes,
93084 which can conflict with char $ac_func (); below.
93085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93086 <limits.h> exists even on freestanding compilers. */
93088 #ifdef __STDC__
93089 # include <limits.h>
93090 #else
93091 # include <assert.h>
93092 #endif
93094 #undef $ac_func
93096 /* Override any gcc2 internal prototype to avoid an error. */
93097 #ifdef __cplusplus
93098 extern "C"
93100 #endif
93101 /* We use char because int might match the return type of a gcc2
93102 builtin and then its argument prototype would still apply. */
93103 char $ac_func ();
93104 /* The GNU C library defines this for functions which it implements
93105 to always fail with ENOSYS. Some functions are actually named
93106 something starting with __ and the normal name is an alias. */
93107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93108 choke me
93109 #else
93110 char (*f) () = $ac_func;
93111 #endif
93112 #ifdef __cplusplus
93114 #endif
93117 main ()
93119 return f != $ac_func;
93121 return 0;
93123 _ACEOF
93124 rm -f conftest.$ac_objext conftest$ac_exeext
93125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93126 (eval $ac_link) 2>conftest.er1
93127 ac_status=$?
93128 grep -v '^ *+' conftest.er1 >conftest.err
93129 rm -f conftest.er1
93130 cat conftest.err >&5
93131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93132 (exit $ac_status); } &&
93133 { ac_try='test -z "$ac_c_werror_flag"
93134 || test ! -s conftest.err'
93135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93136 (eval $ac_try) 2>&5
93137 ac_status=$?
93138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93139 (exit $ac_status); }; } &&
93140 { ac_try='test -s conftest$ac_exeext'
93141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93142 (eval $ac_try) 2>&5
93143 ac_status=$?
93144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93145 (exit $ac_status); }; }; then
93146 eval "$as_ac_var=yes"
93147 else
93148 echo "$as_me: failed program was:" >&5
93149 sed 's/^/| /' conftest.$ac_ext >&5
93151 eval "$as_ac_var=no"
93153 rm -f conftest.err conftest.$ac_objext \
93154 conftest$ac_exeext conftest.$ac_ext
93156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93158 if test `eval echo '${'$as_ac_var'}'` = yes; then
93159 cat >>confdefs.h <<_ACEOF
93160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93161 _ACEOF
93164 done
93170 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
93171 test $enable_symvers != no; then
93172 case "$host" in
93173 *-*-cygwin*)
93174 enable_abi_check=no ;;
93176 enable_abi_check=yes ;;
93177 esac
93178 else
93179 # Only build this as native, since automake does not understand
93180 # CXX_FOR_BUILD.
93181 enable_abi_check=no
93184 # Export file names for ABI checking.
93185 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
93189 # Propagate the target-specific source directories through the build chain.
93190 ATOMICITY_SRCDIR=config/${atomicity_dir}
93191 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
93192 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
93193 OS_INC_SRCDIR=config/${os_include_dir}
93194 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
93202 # Determine cross-compile flags and AM_CONDITIONALs.
93203 #AC_SUBST(GLIBCXX_IS_NATIVE)
93204 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
93205 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
93206 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
93209 if test $is_hosted = yes; then
93210 GLIBCXX_HOSTED_TRUE=
93211 GLIBCXX_HOSTED_FALSE='#'
93212 else
93213 GLIBCXX_HOSTED_TRUE='#'
93214 GLIBCXX_HOSTED_FALSE=
93220 if test $enable_libstdcxx_pch = yes; then
93221 GLIBCXX_BUILD_PCH_TRUE=
93222 GLIBCXX_BUILD_PCH_FALSE='#'
93223 else
93224 GLIBCXX_BUILD_PCH_TRUE='#'
93225 GLIBCXX_BUILD_PCH_FALSE=
93231 if test $enable_cheaders = c; then
93232 GLIBCXX_C_HEADERS_C_TRUE=
93233 GLIBCXX_C_HEADERS_C_FALSE='#'
93234 else
93235 GLIBCXX_C_HEADERS_C_TRUE='#'
93236 GLIBCXX_C_HEADERS_C_FALSE=
93242 if test $enable_cheaders = c_std; then
93243 GLIBCXX_C_HEADERS_C_STD_TRUE=
93244 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
93245 else
93246 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
93247 GLIBCXX_C_HEADERS_C_STD_FALSE=
93253 if test $enable_cheaders = c_global; then
93254 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
93255 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
93256 else
93257 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
93258 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
93264 if test $c_compatibility = yes; then
93265 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
93266 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
93267 else
93268 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
93269 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
93275 if test $c_extra = yes; then
93276 GLIBCXX_C_HEADERS_EXTRA_TRUE=
93277 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
93278 else
93279 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
93280 GLIBCXX_C_HEADERS_EXTRA_FALSE=
93286 if test $enable_libstdcxx_debug = yes; then
93287 GLIBCXX_BUILD_DEBUG_TRUE=
93288 GLIBCXX_BUILD_DEBUG_FALSE='#'
93289 else
93290 GLIBCXX_BUILD_DEBUG_TRUE='#'
93291 GLIBCXX_BUILD_DEBUG_FALSE=
93297 if test $enable_symvers != no; then
93298 ENABLE_SYMVERS_TRUE=
93299 ENABLE_SYMVERS_FALSE='#'
93300 else
93301 ENABLE_SYMVERS_TRUE='#'
93302 ENABLE_SYMVERS_FALSE=
93308 if test $enable_symvers = gnu; then
93309 ENABLE_SYMVERS_GNU_TRUE=
93310 ENABLE_SYMVERS_GNU_FALSE='#'
93311 else
93312 ENABLE_SYMVERS_GNU_TRUE='#'
93313 ENABLE_SYMVERS_GNU_FALSE=
93319 if test $enable_symvers = gnu-versioned-namespace; then
93320 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
93321 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
93322 else
93323 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
93324 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
93330 if test $enable_symvers = darwin; then
93331 ENABLE_SYMVERS_DARWIN_TRUE=
93332 ENABLE_SYMVERS_DARWIN_FALSE='#'
93333 else
93334 ENABLE_SYMVERS_DARWIN_TRUE='#'
93335 ENABLE_SYMVERS_DARWIN_FALSE=
93341 if test $enable_visibility = yes; then
93342 ENABLE_VISIBILITY_TRUE=
93343 ENABLE_VISIBILITY_FALSE='#'
93344 else
93345 ENABLE_VISIBILITY_TRUE='#'
93346 ENABLE_VISIBILITY_FALSE=
93352 if test $ac_ldbl_compat = yes; then
93353 GLIBCXX_LDBL_COMPAT_TRUE=
93354 GLIBCXX_LDBL_COMPAT_FALSE='#'
93355 else
93356 GLIBCXX_LDBL_COMPAT_TRUE='#'
93357 GLIBCXX_LDBL_COMPAT_FALSE=
93363 cat >confcache <<\_ACEOF
93364 # This file is a shell script that caches the results of configure
93365 # tests run on this system so they can be shared between configure
93366 # scripts and configure runs, see configure's option --config-cache.
93367 # It is not useful on other systems. If it contains results you don't
93368 # want to keep, you may remove or edit it.
93370 # config.status only pays attention to the cache file if you give it
93371 # the --recheck option to rerun configure.
93373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93375 # following values.
93377 _ACEOF
93379 # The following way of writing the cache mishandles newlines in values,
93380 # but we know of no workaround that is simple, portable, and efficient.
93381 # So, don't put newlines in cache variables' values.
93382 # Ultrix sh set writes to stderr and can't be redirected directly,
93383 # and sets the high bit in the cache file unless we assign to the vars.
93385 (set) 2>&1 |
93386 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93387 *ac_space=\ *)
93388 # `set' does not quote correctly, so add quotes (double-quote
93389 # substitution turns \\\\ into \\, and sed turns \\ into \).
93390 sed -n \
93391 "s/'/'\\\\''/g;
93392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93395 # `set' quotes correctly as required by POSIX, so do not add quotes.
93396 sed -n \
93397 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93399 esac;
93401 sed '
93402 t clear
93403 : clear
93404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93405 t end
93406 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93407 : end' >>confcache
93408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93409 if test -w $cache_file; then
93410 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93411 cat confcache >$cache_file
93412 else
93413 echo "not updating unwritable cache $cache_file"
93416 rm -f confcache
93418 if test ${multilib} = yes; then
93419 multilib_arg="--enable-multilib"
93420 else
93421 multilib_arg=
93424 # Export all the install information.
93426 glibcxx_toolexecdir=no
93427 glibcxx_toolexeclibdir=no
93428 glibcxx_prefixdir=$prefix
93430 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
93431 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
93433 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
93434 if test "${with_gxx_include_dir+set}" = set; then
93435 withval="$with_gxx_include_dir"
93436 case "$withval" in
93437 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
93438 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
93439 { (exit 1); exit 1; }; } ;;
93440 no) gxx_include_dir=no ;;
93441 *) gxx_include_dir=$withval ;;
93442 esac
93443 else
93444 gxx_include_dir=no
93446 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93447 echo "${ECHO_T}$gxx_include_dir" >&6
93449 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
93450 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
93451 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
93452 if test "${enable_version_specific_runtime_libs+set}" = set; then
93453 enableval="$enable_version_specific_runtime_libs"
93454 case "$enableval" in
93455 yes) version_specific_libs=yes ;;
93456 no) version_specific_libs=no ;;
93457 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
93458 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
93459 { (exit 1); exit 1; }; };;
93460 esac
93461 else
93462 version_specific_libs=no
93464 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
93465 echo "${ECHO_T}$version_specific_libs" >&6
93467 # Default case for install directory for include files.
93468 if test $version_specific_libs = no && test $gxx_include_dir = no; then
93469 gxx_include_dir='include/c++/${gcc_version}'
93470 if test -n "$with_cross_host" &&
93471 test x"$with_cross_host" != x"no"; then
93472 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
93473 else
93474 gxx_include_dir='${prefix}/'"$gxx_include_dir"
93478 # Version-specific runtime libs processing.
93479 if test $version_specific_libs = yes; then
93480 # Need the gcc compiler version to know where to install libraries
93481 # and header files if --enable-version-specific-runtime-libs option
93482 # is selected. FIXME: these variables are misnamed, there are
93483 # no executables installed in _toolexecdir or _toolexeclibdir.
93484 if test x"$gxx_include_dir" = x"no"; then
93485 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
93487 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93488 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
93491 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
93492 # Install a library built with a cross compiler in tooldir, not libdir.
93493 if test x"$glibcxx_toolexecdir" = x"no"; then
93494 if test -n "$with_cross_host" &&
93495 test x"$with_cross_host" != x"no"; then
93496 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
93497 glibcxx_toolexeclibdir='${toolexecdir}/lib'
93498 else
93499 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
93500 glibcxx_toolexeclibdir='${libdir}'
93502 multi_os_directory=`$CXX -print-multi-os-directory`
93503 case $multi_os_directory in
93504 .) ;; # Avoid trailing /.
93505 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
93506 esac
93509 echo "$as_me:$LINENO: checking for install location" >&5
93510 echo $ECHO_N "checking for install location... $ECHO_C" >&6
93511 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
93512 echo "${ECHO_T}$gxx_include_dir" >&6
93520 # Export all the include and flag information to Makefiles.
93522 # Used for every C++ compile we perform.
93523 GLIBCXX_INCLUDES="\
93524 -I$glibcxx_builddir/include/$host_alias \
93525 -I$glibcxx_builddir/include \
93526 -I$glibcxx_srcdir/libsupc++"
93528 # For Canadian crosses, pick this up too.
93529 if test $CANADIAN = yes; then
93530 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
93533 # Stuff in the actual top level. Currently only used by libsupc++ to
93534 # get unwind* headers from the gcc dir.
93535 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
93536 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
93538 # Now, export this to all the little Makefiles....
93543 # Optimization flags that are probably a good idea for thrill-seekers. Just
93544 # uncomment the lines below and make, everything else is ready to go...
93545 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
93546 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
93549 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
93553 if test "$enable_shared" = yes; then
93554 LIBSUPCXX_PICFLAGS="-prefer-pic"
93555 else
93556 LIBSUPCXX_PICFLAGS=
93560 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
93562 ac_config_files="$ac_config_files scripts/testsuite_flags"
93565 ac_config_commands="$ac_config_commands default"
93568 cat >confcache <<\_ACEOF
93569 # This file is a shell script that caches the results of configure
93570 # tests run on this system so they can be shared between configure
93571 # scripts and configure runs, see configure's option --config-cache.
93572 # It is not useful on other systems. If it contains results you don't
93573 # want to keep, you may remove or edit it.
93575 # config.status only pays attention to the cache file if you give it
93576 # the --recheck option to rerun configure.
93578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
93579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
93580 # following values.
93582 _ACEOF
93584 # The following way of writing the cache mishandles newlines in values,
93585 # but we know of no workaround that is simple, portable, and efficient.
93586 # So, don't put newlines in cache variables' values.
93587 # Ultrix sh set writes to stderr and can't be redirected directly,
93588 # and sets the high bit in the cache file unless we assign to the vars.
93590 (set) 2>&1 |
93591 case `(ac_space=' '; set | grep ac_space) 2>&1` in
93592 *ac_space=\ *)
93593 # `set' does not quote correctly, so add quotes (double-quote
93594 # substitution turns \\\\ into \\, and sed turns \\ into \).
93595 sed -n \
93596 "s/'/'\\\\''/g;
93597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
93600 # `set' quotes correctly as required by POSIX, so do not add quotes.
93601 sed -n \
93602 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
93604 esac;
93606 sed '
93607 t clear
93608 : clear
93609 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
93610 t end
93611 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
93612 : end' >>confcache
93613 if diff $cache_file confcache >/dev/null 2>&1; then :; else
93614 if test -w $cache_file; then
93615 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
93616 cat confcache >$cache_file
93617 else
93618 echo "not updating unwritable cache $cache_file"
93621 rm -f confcache
93623 test "x$prefix" = xNONE && prefix=$ac_default_prefix
93624 # Let make expand exec_prefix.
93625 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
93627 # VPATH may cause trouble with some makes, so we remove $(srcdir),
93628 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
93629 # trailing colons and then remove the whole line if VPATH becomes empty
93630 # (actually we leave an empty line to preserve line numbers).
93631 if test "x$srcdir" = x.; then
93632 ac_vpsub='/^[ ]*VPATH[ ]*=/{
93633 s/:*\$(srcdir):*/:/;
93634 s/:*\${srcdir}:*/:/;
93635 s/:*@srcdir@:*/:/;
93636 s/^\([^=]*=[ ]*\):*/\1/;
93637 s/:*$//;
93638 s/^[^=]*=[ ]*$//;
93642 DEFS=-DHAVE_CONFIG_H
93644 ac_libobjs=
93645 ac_ltlibobjs=
93646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
93647 # 1. Remove the extension, and $U if already installed.
93648 ac_i=`echo "$ac_i" |
93649 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
93650 # 2. Add them.
93651 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
93652 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
93653 done
93654 LIBOBJS=$ac_libobjs
93656 LTLIBOBJS=$ac_ltlibobjs
93659 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
93660 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
93661 Usually this means the macro was only invoked conditionally." >&5
93662 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
93663 Usually this means the macro was only invoked conditionally." >&2;}
93664 { (exit 1); exit 1; }; }
93666 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
93667 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93668 Usually this means the macro was only invoked conditionally." >&5
93669 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
93670 Usually this means the macro was only invoked conditionally." >&2;}
93671 { (exit 1); exit 1; }; }
93673 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
93674 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93675 Usually this means the macro was only invoked conditionally." >&5
93676 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
93677 Usually this means the macro was only invoked conditionally." >&2;}
93678 { (exit 1); exit 1; }; }
93680 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
93681 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93682 Usually this means the macro was only invoked conditionally." >&5
93683 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
93684 Usually this means the macro was only invoked conditionally." >&2;}
93685 { (exit 1); exit 1; }; }
93687 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
93688 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93689 Usually this means the macro was only invoked conditionally." >&5
93690 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
93691 Usually this means the macro was only invoked conditionally." >&2;}
93692 { (exit 1); exit 1; }; }
93694 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
93695 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93696 Usually this means the macro was only invoked conditionally." >&5
93697 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
93698 Usually this means the macro was only invoked conditionally." >&2;}
93699 { (exit 1); exit 1; }; }
93701 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
93702 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93703 Usually this means the macro was only invoked conditionally." >&5
93704 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
93705 Usually this means the macro was only invoked conditionally." >&2;}
93706 { (exit 1); exit 1; }; }
93708 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
93709 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93710 Usually this means the macro was only invoked conditionally." >&5
93711 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
93712 Usually this means the macro was only invoked conditionally." >&2;}
93713 { (exit 1); exit 1; }; }
93715 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
93716 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93717 Usually this means the macro was only invoked conditionally." >&5
93718 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
93719 Usually this means the macro was only invoked conditionally." >&2;}
93720 { (exit 1); exit 1; }; }
93722 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
93723 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
93724 Usually this means the macro was only invoked conditionally." >&5
93725 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
93726 Usually this means the macro was only invoked conditionally." >&2;}
93727 { (exit 1); exit 1; }; }
93729 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
93730 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93731 Usually this means the macro was only invoked conditionally." >&5
93732 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
93733 Usually this means the macro was only invoked conditionally." >&2;}
93734 { (exit 1); exit 1; }; }
93736 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
93737 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93738 Usually this means the macro was only invoked conditionally." >&5
93739 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
93740 Usually this means the macro was only invoked conditionally." >&2;}
93741 { (exit 1); exit 1; }; }
93743 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
93744 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93745 Usually this means the macro was only invoked conditionally." >&5
93746 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
93747 Usually this means the macro was only invoked conditionally." >&2;}
93748 { (exit 1); exit 1; }; }
93750 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
93751 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93752 Usually this means the macro was only invoked conditionally." >&5
93753 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
93754 Usually this means the macro was only invoked conditionally." >&2;}
93755 { (exit 1); exit 1; }; }
93757 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
93758 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93759 Usually this means the macro was only invoked conditionally." >&5
93760 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
93761 Usually this means the macro was only invoked conditionally." >&2;}
93762 { (exit 1); exit 1; }; }
93765 : ${CONFIG_STATUS=./config.status}
93766 ac_clean_files_save=$ac_clean_files
93767 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
93768 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
93769 echo "$as_me: creating $CONFIG_STATUS" >&6;}
93770 cat >$CONFIG_STATUS <<_ACEOF
93771 #! $SHELL
93772 # Generated by $as_me.
93773 # Run this file to recreate the current configuration.
93774 # Compiler output produced by configure, useful for debugging
93775 # configure, is in config.log if it exists.
93777 debug=false
93778 ac_cs_recheck=false
93779 ac_cs_silent=false
93780 SHELL=\${CONFIG_SHELL-$SHELL}
93781 _ACEOF
93783 cat >>$CONFIG_STATUS <<\_ACEOF
93784 ## --------------------- ##
93785 ## M4sh Initialization. ##
93786 ## --------------------- ##
93788 # Be Bourne compatible
93789 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
93790 emulate sh
93791 NULLCMD=:
93792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
93793 # is contrary to our usage. Disable this feature.
93794 alias -g '${1+"$@"}'='"$@"'
93795 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
93796 set -o posix
93798 DUALCASE=1; export DUALCASE # for MKS sh
93800 # Support unset when possible.
93801 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93802 as_unset=unset
93803 else
93804 as_unset=false
93808 # Work around bugs in pre-3.0 UWIN ksh.
93809 $as_unset ENV MAIL MAILPATH
93810 PS1='$ '
93811 PS2='> '
93812 PS4='+ '
93814 # NLS nuisances.
93815 for as_var in \
93816 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
93817 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
93818 LC_TELEPHONE LC_TIME
93820 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
93821 eval $as_var=C; export $as_var
93822 else
93823 $as_unset $as_var
93825 done
93827 # Required to use basename.
93828 if expr a : '\(a\)' >/dev/null 2>&1; then
93829 as_expr=expr
93830 else
93831 as_expr=false
93834 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
93835 as_basename=basename
93836 else
93837 as_basename=false
93841 # Name of the executable.
93842 as_me=`$as_basename "$0" ||
93843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
93844 X"$0" : 'X\(//\)$' \| \
93845 X"$0" : 'X\(/\)$' \| \
93846 . : '\(.\)' 2>/dev/null ||
93847 echo X/"$0" |
93848 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
93849 /^X\/\(\/\/\)$/{ s//\1/; q; }
93850 /^X\/\(\/\).*/{ s//\1/; q; }
93851 s/.*/./; q'`
93854 # PATH needs CR, and LINENO needs CR and PATH.
93855 # Avoid depending upon Character Ranges.
93856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
93857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
93858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
93859 as_cr_digits='0123456789'
93860 as_cr_alnum=$as_cr_Letters$as_cr_digits
93862 # The user is always right.
93863 if test "${PATH_SEPARATOR+set}" != set; then
93864 echo "#! /bin/sh" >conf$$.sh
93865 echo "exit 0" >>conf$$.sh
93866 chmod +x conf$$.sh
93867 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
93868 PATH_SEPARATOR=';'
93869 else
93870 PATH_SEPARATOR=:
93872 rm -f conf$$.sh
93876 as_lineno_1=$LINENO
93877 as_lineno_2=$LINENO
93878 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93879 test "x$as_lineno_1" != "x$as_lineno_2" &&
93880 test "x$as_lineno_3" = "x$as_lineno_2" || {
93881 # Find who we are. Look in the path if we contain no path at all
93882 # relative or not.
93883 case $0 in
93884 *[\\/]* ) as_myself=$0 ;;
93885 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93886 for as_dir in $PATH
93888 IFS=$as_save_IFS
93889 test -z "$as_dir" && as_dir=.
93890 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
93891 done
93894 esac
93895 # We did not find ourselves, most probably we were run as `sh COMMAND'
93896 # in which case we are not to be found in the path.
93897 if test "x$as_myself" = x; then
93898 as_myself=$0
93900 if test ! -f "$as_myself"; then
93901 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
93902 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
93903 { (exit 1); exit 1; }; }
93905 case $CONFIG_SHELL in
93907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93908 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
93910 IFS=$as_save_IFS
93911 test -z "$as_dir" && as_dir=.
93912 for as_base in sh bash ksh sh5; do
93913 case $as_dir in
93915 if ("$as_dir/$as_base" -c '
93916 as_lineno_1=$LINENO
93917 as_lineno_2=$LINENO
93918 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
93919 test "x$as_lineno_1" != "x$as_lineno_2" &&
93920 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
93921 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
93922 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
93923 CONFIG_SHELL=$as_dir/$as_base
93924 export CONFIG_SHELL
93925 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
93926 fi;;
93927 esac
93928 done
93929 done
93931 esac
93933 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
93934 # uniformly replaced by the line number. The first 'sed' inserts a
93935 # line-number line before each line; the second 'sed' does the real
93936 # work. The second script uses 'N' to pair each line-number line
93937 # with the numbered line, and appends trailing '-' during
93938 # substitution so that $LINENO is not a special case at line end.
93939 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
93940 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
93941 sed '=' <$as_myself |
93942 sed '
93944 s,$,-,
93945 : loop
93946 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
93947 t loop
93948 s,-$,,
93949 s,^['$as_cr_digits']*\n,,
93950 ' >$as_me.lineno &&
93951 chmod +x $as_me.lineno ||
93952 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
93953 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
93954 { (exit 1); exit 1; }; }
93956 # Don't try to exec as it changes $[0], causing all sort of problems
93957 # (the dirname of $[0] is not the place where we might find the
93958 # original and so on. Autoconf is especially sensible to this).
93959 . ./$as_me.lineno
93960 # Exit status is that of the last command.
93961 exit
93965 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
93966 *c*,-n*) ECHO_N= ECHO_C='
93967 ' ECHO_T=' ' ;;
93968 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
93969 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
93970 esac
93972 if expr a : '\(a\)' >/dev/null 2>&1; then
93973 as_expr=expr
93974 else
93975 as_expr=false
93978 rm -f conf$$ conf$$.exe conf$$.file
93979 echo >conf$$.file
93980 if ln -s conf$$.file conf$$ 2>/dev/null; then
93981 # We could just check for DJGPP; but this test a) works b) is more generic
93982 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
93983 if test -f conf$$.exe; then
93984 # Don't use ln at all; we don't have any links
93985 as_ln_s='cp -p'
93986 else
93987 as_ln_s='ln -s'
93989 elif ln conf$$.file conf$$ 2>/dev/null; then
93990 as_ln_s=ln
93991 else
93992 as_ln_s='cp -p'
93994 rm -f conf$$ conf$$.exe conf$$.file
93996 if mkdir -p . 2>/dev/null; then
93997 as_mkdir_p=:
93998 else
93999 test -d ./-p && rmdir ./-p
94000 as_mkdir_p=false
94003 as_executable_p="test -f"
94005 # Sed expression to map a string onto a valid CPP name.
94006 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
94008 # Sed expression to map a string onto a valid variable name.
94009 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
94012 # IFS
94013 # We need space, tab and new line, in precisely that order.
94014 as_nl='
94016 IFS=" $as_nl"
94018 # CDPATH.
94019 $as_unset CDPATH
94021 exec 6>&1
94023 # Open the log real soon, to keep \$[0] and so on meaningful, and to
94024 # report actual input values of CONFIG_FILES etc. instead of their
94025 # values after options handling. Logging --version etc. is OK.
94026 exec 5>>config.log
94028 echo
94029 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
94030 ## Running $as_me. ##
94031 _ASBOX
94032 } >&5
94033 cat >&5 <<_CSEOF
94035 This file was extended by package-unused $as_me version-unused, which was
94036 generated by GNU Autoconf 2.59. Invocation command line was
94038 CONFIG_FILES = $CONFIG_FILES
94039 CONFIG_HEADERS = $CONFIG_HEADERS
94040 CONFIG_LINKS = $CONFIG_LINKS
94041 CONFIG_COMMANDS = $CONFIG_COMMANDS
94042 $ $0 $@
94044 _CSEOF
94045 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
94046 echo >&5
94047 _ACEOF
94049 # Files that config.status was made for.
94050 if test -n "$ac_config_files"; then
94051 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
94054 if test -n "$ac_config_headers"; then
94055 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
94058 if test -n "$ac_config_links"; then
94059 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
94062 if test -n "$ac_config_commands"; then
94063 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
94066 cat >>$CONFIG_STATUS <<\_ACEOF
94068 ac_cs_usage="\
94069 \`$as_me' instantiates files from templates according to the
94070 current configuration.
94072 Usage: $0 [OPTIONS] [FILE]...
94074 -h, --help print this help, then exit
94075 -V, --version print version number, then exit
94076 -q, --quiet do not print progress messages
94077 -d, --debug don't remove temporary files
94078 --recheck update $as_me by reconfiguring in the same conditions
94079 --file=FILE[:TEMPLATE]
94080 instantiate the configuration file FILE
94081 --header=FILE[:TEMPLATE]
94082 instantiate the configuration header FILE
94084 Configuration files:
94085 $config_files
94087 Configuration headers:
94088 $config_headers
94090 Configuration commands:
94091 $config_commands
94093 Report bugs to <bug-autoconf@gnu.org>."
94094 _ACEOF
94096 cat >>$CONFIG_STATUS <<_ACEOF
94097 ac_cs_version="\\
94098 package-unused config.status version-unused
94099 configured by $0, generated by GNU Autoconf 2.59,
94100 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
94102 Copyright (C) 2003 Free Software Foundation, Inc.
94103 This config.status script is free software; the Free Software Foundation
94104 gives unlimited permission to copy, distribute and modify it."
94105 srcdir=$srcdir
94106 INSTALL="$INSTALL"
94107 _ACEOF
94109 cat >>$CONFIG_STATUS <<\_ACEOF
94110 # If no file are specified by the user, then we need to provide default
94111 # value. By we need to know if files were specified by the user.
94112 ac_need_defaults=:
94113 while test $# != 0
94115 case $1 in
94116 --*=*)
94117 ac_option=`expr "x$1" : 'x\([^=]*\)='`
94118 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
94119 ac_shift=:
94122 ac_option=$1
94123 ac_optarg=$2
94124 ac_shift=shift
94126 *) # This is not an option, so the user has probably given explicit
94127 # arguments.
94128 ac_option=$1
94129 ac_need_defaults=false;;
94130 esac
94132 case $ac_option in
94133 # Handling of the options.
94134 _ACEOF
94135 cat >>$CONFIG_STATUS <<\_ACEOF
94136 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
94137 ac_cs_recheck=: ;;
94138 --version | --vers* | -V )
94139 echo "$ac_cs_version"; exit 0 ;;
94140 --he | --h)
94141 # Conflict between --help and --header
94142 { { echo "$as_me:$LINENO: error: ambiguous option: $1
94143 Try \`$0 --help' for more information." >&5
94144 echo "$as_me: error: ambiguous option: $1
94145 Try \`$0 --help' for more information." >&2;}
94146 { (exit 1); exit 1; }; };;
94147 --help | --hel | -h )
94148 echo "$ac_cs_usage"; exit 0 ;;
94149 --debug | --d* | -d )
94150 debug=: ;;
94151 --file | --fil | --fi | --f )
94152 $ac_shift
94153 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
94154 ac_need_defaults=false;;
94155 --header | --heade | --head | --hea )
94156 $ac_shift
94157 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
94158 ac_need_defaults=false;;
94159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
94160 | -silent | --silent | --silen | --sile | --sil | --si | --s)
94161 ac_cs_silent=: ;;
94163 # This is an error.
94164 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
94165 Try \`$0 --help' for more information." >&5
94166 echo "$as_me: error: unrecognized option: $1
94167 Try \`$0 --help' for more information." >&2;}
94168 { (exit 1); exit 1; }; } ;;
94170 *) ac_config_targets="$ac_config_targets $1" ;;
94172 esac
94173 shift
94174 done
94176 ac_configure_extra_args=
94178 if $ac_cs_silent; then
94179 exec 6>/dev/null
94180 ac_configure_extra_args="$ac_configure_extra_args --silent"
94183 _ACEOF
94184 cat >>$CONFIG_STATUS <<_ACEOF
94185 if \$ac_cs_recheck; then
94186 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
94187 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
94190 _ACEOF
94192 cat >>$CONFIG_STATUS <<_ACEOF
94194 # INIT-COMMANDS section.
94198 srcdir="$srcdir"
94199 host="$host"
94200 target="$target"
94201 with_multisubdir="$with_multisubdir"
94202 with_multisrctop="$with_multisrctop"
94203 with_target_subdir="$with_target_subdir"
94204 ac_configure_args="${multilib_arg} ${ac_configure_args}"
94205 multi_basedir="$multi_basedir"
94206 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
94207 CC="$CC"
94210 # The HP-UX ksh and POSIX shell print the target directory to stdout
94211 # if CDPATH is set.
94212 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
94214 sed_quote_subst='$sed_quote_subst'
94215 double_quote_subst='$double_quote_subst'
94216 delay_variable_subst='$delay_variable_subst'
94217 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
94218 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
94219 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
94220 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
94221 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
94222 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
94223 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
94224 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
94225 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
94226 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
94227 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
94228 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
94229 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
94230 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
94231 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
94232 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
94233 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
94234 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
94235 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
94236 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
94237 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
94238 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
94239 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
94240 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
94241 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
94242 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
94243 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
94244 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94245 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
94246 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
94247 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
94248 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94249 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
94250 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
94251 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94252 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94253 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94254 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
94255 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
94256 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
94257 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
94258 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
94259 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
94260 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"`'
94261 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
94262 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
94263 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
94264 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
94265 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
94266 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
94267 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
94268 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
94269 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
94270 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
94271 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
94272 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94273 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94274 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
94275 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
94276 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94277 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94278 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
94279 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94280 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94281 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94282 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94283 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94284 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94285 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
94286 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94287 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
94288 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
94289 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
94290 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
94291 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
94292 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
94293 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
94294 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94295 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
94296 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
94297 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
94298 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
94299 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
94300 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94301 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94302 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
94303 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94304 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
94305 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
94306 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
94307 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
94308 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
94309 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94310 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
94311 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
94312 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94313 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
94314 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
94315 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94316 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94317 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
94318 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
94319 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
94320 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94321 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
94322 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
94323 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
94324 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
94325 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
94326 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
94327 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
94328 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94329 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
94330 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
94331 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
94332 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
94333 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94334 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94335 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94336 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94337 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94338 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94339 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94340 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94341 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94342 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94343 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94344 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94345 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94346 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94347 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94348 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94349 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94350 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94351 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94352 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94353 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94354 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94355 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94356 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94357 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94358 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94359 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94360 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94361 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94362 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94363 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94364 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94365 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94366 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94367 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94368 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94369 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94370 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94371 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94372 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94373 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94374 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94375 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94376 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94377 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94378 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
94380 LTCC='$LTCC'
94381 LTCFLAGS='$LTCFLAGS'
94382 compiler='$compiler_DEFAULT'
94384 # Quote evaled strings.
94385 for var in SED \
94386 GREP \
94387 EGREP \
94388 FGREP \
94389 LD \
94390 NM \
94391 LN_S \
94392 lt_SP2NL \
94393 lt_NL2SP \
94394 reload_flag \
94395 deplibs_check_method \
94396 file_magic_cmd \
94397 AR \
94398 AR_FLAGS \
94399 STRIP \
94400 RANLIB \
94401 CC \
94402 CFLAGS \
94403 compiler \
94404 lt_cv_sys_global_symbol_pipe \
94405 lt_cv_sys_global_symbol_to_cdecl \
94406 lt_cv_sys_global_symbol_to_c_name_address \
94407 SHELL \
94408 ECHO \
94409 lt_prog_compiler_no_builtin_flag \
94410 lt_prog_compiler_wl \
94411 lt_prog_compiler_pic \
94412 lt_prog_compiler_static \
94413 lt_cv_prog_compiler_c_o \
94414 need_locks \
94415 shrext_cmds \
94416 export_dynamic_flag_spec \
94417 whole_archive_flag_spec \
94418 compiler_needs_object \
94419 with_gnu_ld \
94420 allow_undefined_flag \
94421 no_undefined_flag \
94422 hardcode_libdir_flag_spec \
94423 hardcode_libdir_flag_spec_ld \
94424 hardcode_libdir_separator \
94425 fix_srcfile_path \
94426 exclude_expsyms \
94427 include_expsyms \
94428 file_list_spec \
94429 variables_saved_for_relink \
94430 libname_spec \
94431 library_names_spec \
94432 soname_spec \
94433 finish_eval \
94434 old_striplib \
94435 striplib \
94436 predep_objects \
94437 postdep_objects \
94438 predeps \
94439 postdeps \
94440 compiler_lib_search_path \
94441 LD_CXX \
94442 compiler_CXX \
94443 lt_prog_compiler_no_builtin_flag_CXX \
94444 lt_prog_compiler_wl_CXX \
94445 lt_prog_compiler_pic_CXX \
94446 lt_prog_compiler_static_CXX \
94447 lt_cv_prog_compiler_c_o_CXX \
94448 export_dynamic_flag_spec_CXX \
94449 whole_archive_flag_spec_CXX \
94450 compiler_needs_object_CXX \
94451 with_gnu_ld_CXX \
94452 allow_undefined_flag_CXX \
94453 no_undefined_flag_CXX \
94454 hardcode_libdir_flag_spec_CXX \
94455 hardcode_libdir_flag_spec_ld_CXX \
94456 hardcode_libdir_separator_CXX \
94457 fix_srcfile_path_CXX \
94458 exclude_expsyms_CXX \
94459 include_expsyms_CXX \
94460 file_list_spec_CXX \
94461 predep_objects_CXX \
94462 postdep_objects_CXX \
94463 predeps_CXX \
94464 postdeps_CXX \
94465 compiler_lib_search_path_CXX; do
94466 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94467 *[\\\\\\\`\\"\\\$]*)
94468 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
94471 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94473 esac
94474 done
94476 # Double-quote double-evaled strings.
94477 for var in reload_cmds \
94478 old_postinstall_cmds \
94479 old_postuninstall_cmds \
94480 old_archive_cmds \
94481 extract_expsyms_cmds \
94482 old_archive_from_new_cmds \
94483 old_archive_from_expsyms_cmds \
94484 archive_cmds \
94485 archive_expsym_cmds \
94486 module_cmds \
94487 module_expsym_cmds \
94488 export_symbols_cmds \
94489 prelink_cmds \
94490 postinstall_cmds \
94491 postuninstall_cmds \
94492 finish_cmds \
94493 sys_lib_search_path_spec \
94494 sys_lib_dlsearch_path_spec \
94495 old_archive_cmds_CXX \
94496 old_archive_from_new_cmds_CXX \
94497 old_archive_from_expsyms_cmds_CXX \
94498 archive_cmds_CXX \
94499 archive_expsym_cmds_CXX \
94500 module_cmds_CXX \
94501 module_expsym_cmds_CXX \
94502 export_symbols_cmds_CXX \
94503 prelink_cmds_CXX; do
94504 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
94505 *[\\\\\\\`\\"\\\$]*)
94506 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
94509 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
94511 esac
94512 done
94514 # Fix-up fallback echo if it was mangled by the above quoting rules.
94515 case \$lt_ECHO in
94516 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
94518 esac
94520 ac_aux_dir='$ac_aux_dir'
94521 xsi_shell='$xsi_shell'
94522 lt_shell_append='$lt_shell_append'
94524 # See if we are running on zsh, and set the options which allow our
94525 # commands through without removal of \ escapes INIT.
94526 if test -n "\${ZSH_VERSION+set}" ; then
94527 setopt NO_GLOB_SUBST
94531 PACKAGE='$PACKAGE'
94532 VERSION='$VERSION'
94533 TIMESTAMP='$TIMESTAMP'
94534 RM='$RM'
94535 ofile='$ofile'
94542 # Variables needed in config.status (file generation) which aren't already
94543 # passed by autoconf.
94544 SUBDIRS="$SUBDIRS"
94547 _ACEOF
94551 cat >>$CONFIG_STATUS <<\_ACEOF
94552 for ac_config_target in $ac_config_targets
94554 case "$ac_config_target" in
94555 # Handling of arguments.
94556 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
94557 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
94558 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
94559 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
94560 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
94561 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
94562 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
94563 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
94564 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
94565 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
94566 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
94567 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
94568 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
94569 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
94570 { (exit 1); exit 1; }; };;
94571 esac
94572 done
94574 # If the user did not use the arguments to specify the items to instantiate,
94575 # then the envvar interface is used. Set only those that are not.
94576 # We use the long form for the default assignment because of an extremely
94577 # bizarre bug on SunOS 4.1.3.
94578 if $ac_need_defaults; then
94579 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
94580 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
94581 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
94584 # Have a temporary directory for convenience. Make it in the build tree
94585 # simply because there is no reason to put it here, and in addition,
94586 # creating and moving files from /tmp can sometimes cause problems.
94587 # Create a temporary directory, and hook for its removal unless debugging.
94588 $debug ||
94590 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
94591 trap '{ (exit 1); exit 1; }' 1 2 13 15
94594 # Create a (secure) tmp directory for tmp files.
94597 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
94598 test -n "$tmp" && test -d "$tmp"
94599 } ||
94601 tmp=./confstat$$-$RANDOM
94602 (umask 077 && mkdir $tmp)
94603 } ||
94605 echo "$me: cannot create a temporary directory in ." >&2
94606 { (exit 1); exit 1; }
94609 _ACEOF
94611 cat >>$CONFIG_STATUS <<_ACEOF
94614 # CONFIG_FILES section.
94617 # No need to generate the scripts if there are no CONFIG_FILES.
94618 # This happens for instance when ./config.status config.h
94619 if test -n "\$CONFIG_FILES"; then
94620 # Protect against being on the right side of a sed subst in config.status.
94621 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
94622 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
94623 s,@SHELL@,$SHELL,;t t
94624 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
94625 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
94626 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
94627 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
94628 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
94629 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
94630 s,@exec_prefix@,$exec_prefix,;t t
94631 s,@prefix@,$prefix,;t t
94632 s,@program_transform_name@,$program_transform_name,;t t
94633 s,@bindir@,$bindir,;t t
94634 s,@sbindir@,$sbindir,;t t
94635 s,@libexecdir@,$libexecdir,;t t
94636 s,@datadir@,$datadir,;t t
94637 s,@sysconfdir@,$sysconfdir,;t t
94638 s,@sharedstatedir@,$sharedstatedir,;t t
94639 s,@localstatedir@,$localstatedir,;t t
94640 s,@libdir@,$libdir,;t t
94641 s,@includedir@,$includedir,;t t
94642 s,@oldincludedir@,$oldincludedir,;t t
94643 s,@infodir@,$infodir,;t t
94644 s,@mandir@,$mandir,;t t
94645 s,@build_alias@,$build_alias,;t t
94646 s,@host_alias@,$host_alias,;t t
94647 s,@target_alias@,$target_alias,;t t
94648 s,@DEFS@,$DEFS,;t t
94649 s,@ECHO_C@,$ECHO_C,;t t
94650 s,@ECHO_N@,$ECHO_N,;t t
94651 s,@ECHO_T@,$ECHO_T,;t t
94652 s,@LIBS@,$LIBS,;t t
94653 s,@libtool_VERSION@,$libtool_VERSION,;t t
94654 s,@multi_basedir@,$multi_basedir,;t t
94655 s,@build@,$build,;t t
94656 s,@build_cpu@,$build_cpu,;t t
94657 s,@build_vendor@,$build_vendor,;t t
94658 s,@build_os@,$build_os,;t t
94659 s,@host@,$host,;t t
94660 s,@host_cpu@,$host_cpu,;t t
94661 s,@host_vendor@,$host_vendor,;t t
94662 s,@host_os@,$host_os,;t t
94663 s,@target@,$target,;t t
94664 s,@target_cpu@,$target_cpu,;t t
94665 s,@target_vendor@,$target_vendor,;t t
94666 s,@target_os@,$target_os,;t t
94667 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
94668 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
94669 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
94670 s,@CYGPATH_W@,$CYGPATH_W,;t t
94671 s,@PACKAGE@,$PACKAGE,;t t
94672 s,@VERSION@,$VERSION,;t t
94673 s,@ACLOCAL@,$ACLOCAL,;t t
94674 s,@AUTOCONF@,$AUTOCONF,;t t
94675 s,@AUTOMAKE@,$AUTOMAKE,;t t
94676 s,@AUTOHEADER@,$AUTOHEADER,;t t
94677 s,@MAKEINFO@,$MAKEINFO,;t t
94678 s,@install_sh@,$install_sh,;t t
94679 s,@STRIP@,$STRIP,;t t
94680 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
94681 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
94682 s,@mkdir_p@,$mkdir_p,;t t
94683 s,@AWK@,$AWK,;t t
94684 s,@SET_MAKE@,$SET_MAKE,;t t
94685 s,@am__leading_dot@,$am__leading_dot,;t t
94686 s,@AMTAR@,$AMTAR,;t t
94687 s,@am__tar@,$am__tar,;t t
94688 s,@am__untar@,$am__untar,;t t
94689 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
94690 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
94691 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
94692 s,@CC@,$CC,;t t
94693 s,@ac_ct_CC@,$ac_ct_CC,;t t
94694 s,@EXEEXT@,$EXEEXT,;t t
94695 s,@OBJEXT@,$OBJEXT,;t t
94696 s,@CXX@,$CXX,;t t
94697 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
94698 s,@CFLAGS@,$CFLAGS,;t t
94699 s,@CXXFLAGS@,$CXXFLAGS,;t t
94700 s,@LN_S@,$LN_S,;t t
94701 s,@AS@,$AS,;t t
94702 s,@ac_ct_AS@,$ac_ct_AS,;t t
94703 s,@AR@,$AR,;t t
94704 s,@ac_ct_AR@,$ac_ct_AR,;t t
94705 s,@RANLIB@,$RANLIB,;t t
94706 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
94707 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
94708 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
94709 s,@MAINT@,$MAINT,;t t
94710 s,@CPP@,$CPP,;t t
94711 s,@CPPFLAGS@,$CPPFLAGS,;t t
94712 s,@EGREP@,$EGREP,;t t
94713 s,@LIBTOOL@,$LIBTOOL,;t t
94714 s,@SED@,$SED,;t t
94715 s,@FGREP@,$FGREP,;t t
94716 s,@GREP@,$GREP,;t t
94717 s,@LD@,$LD,;t t
94718 s,@DUMPBIN@,$DUMPBIN,;t t
94719 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
94720 s,@NM@,$NM,;t t
94721 s,@lt_ECHO@,$lt_ECHO,;t t
94722 s,@LDFLAGS@,$LDFLAGS,;t t
94723 s,@CXXCPP@,$CXXCPP,;t t
94724 s,@enable_shared@,$enable_shared,;t t
94725 s,@enable_static@,$enable_static,;t t
94726 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
94727 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
94728 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
94729 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
94730 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
94731 s,@CSTDIO_H@,$CSTDIO_H,;t t
94732 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
94733 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
94734 s,@check_msgfmt@,$check_msgfmt,;t t
94735 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
94736 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
94737 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
94738 s,@USE_NLS@,$USE_NLS,;t t
94739 s,@CLOCALE_H@,$CLOCALE_H,;t t
94740 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
94741 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
94742 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
94743 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
94744 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
94745 s,@CMONEY_CC@,$CMONEY_CC,;t t
94746 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
94747 s,@CTIME_H@,$CTIME_H,;t t
94748 s,@CTIME_CC@,$CTIME_CC,;t t
94749 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
94750 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
94751 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
94752 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
94753 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
94754 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
94755 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
94756 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
94757 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
94758 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
94759 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
94760 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
94761 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
94762 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
94763 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
94764 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
94765 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
94766 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
94767 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
94768 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
94769 s,@WERROR@,$WERROR,;t t
94770 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
94771 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
94772 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
94773 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
94774 s,@LIBICONV@,$LIBICONV,;t t
94775 s,@LTLIBICONV@,$LTLIBICONV,;t t
94776 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
94777 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
94778 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
94779 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
94780 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
94781 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
94782 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
94783 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
94784 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
94785 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
94786 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
94787 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
94788 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
94789 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
94790 s,@baseline_dir@,$baseline_dir,;t t
94791 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
94792 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
94793 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
94794 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
94795 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
94796 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
94797 s,@gxx_include_dir@,$gxx_include_dir,;t t
94798 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
94799 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
94800 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
94801 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
94802 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
94803 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
94804 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
94805 s,@LIBOBJS@,$LIBOBJS,;t t
94806 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
94807 CEOF
94809 _ACEOF
94811 cat >>$CONFIG_STATUS <<\_ACEOF
94812 # Split the substitutions into bite-sized pieces for seds with
94813 # small command number limits, like on Digital OSF/1 and HP-UX.
94814 ac_max_sed_lines=48
94815 ac_sed_frag=1 # Number of current file.
94816 ac_beg=1 # First line for current file.
94817 ac_end=$ac_max_sed_lines # Line after last line for current file.
94818 ac_more_lines=:
94819 ac_sed_cmds=
94820 while $ac_more_lines; do
94821 if test $ac_beg -gt 1; then
94822 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94823 else
94824 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
94826 if test ! -s $tmp/subs.frag; then
94827 ac_more_lines=false
94828 else
94829 # The purpose of the label and of the branching condition is to
94830 # speed up the sed processing (if there are no `@' at all, there
94831 # is no need to browse any of the substitutions).
94832 # These are the two extra sed commands mentioned above.
94833 (echo ':t
94834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
94835 if test -z "$ac_sed_cmds"; then
94836 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
94837 else
94838 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
94840 ac_sed_frag=`expr $ac_sed_frag + 1`
94841 ac_beg=$ac_end
94842 ac_end=`expr $ac_end + $ac_max_sed_lines`
94844 done
94845 if test -z "$ac_sed_cmds"; then
94846 ac_sed_cmds=cat
94848 fi # test -n "$CONFIG_FILES"
94850 _ACEOF
94851 cat >>$CONFIG_STATUS <<\_ACEOF
94852 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
94853 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
94854 case $ac_file in
94855 - | *:- | *:-:* ) # input from stdin
94856 cat >$tmp/stdin
94857 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94858 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94859 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
94860 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
94861 * ) ac_file_in=$ac_file.in ;;
94862 esac
94864 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
94865 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
94866 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94867 X"$ac_file" : 'X\(//\)[^/]' \| \
94868 X"$ac_file" : 'X\(//\)$' \| \
94869 X"$ac_file" : 'X\(/\)' \| \
94870 . : '\(.\)' 2>/dev/null ||
94871 echo X"$ac_file" |
94872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94874 /^X\(\/\/\)$/{ s//\1/; q; }
94875 /^X\(\/\).*/{ s//\1/; q; }
94876 s/.*/./; q'`
94877 { if $as_mkdir_p; then
94878 mkdir -p "$ac_dir"
94879 else
94880 as_dir="$ac_dir"
94881 as_dirs=
94882 while test ! -d "$as_dir"; do
94883 as_dirs="$as_dir $as_dirs"
94884 as_dir=`(dirname "$as_dir") 2>/dev/null ||
94885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
94886 X"$as_dir" : 'X\(//\)[^/]' \| \
94887 X"$as_dir" : 'X\(//\)$' \| \
94888 X"$as_dir" : 'X\(/\)' \| \
94889 . : '\(.\)' 2>/dev/null ||
94890 echo X"$as_dir" |
94891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
94892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
94893 /^X\(\/\/\)$/{ s//\1/; q; }
94894 /^X\(\/\).*/{ s//\1/; q; }
94895 s/.*/./; q'`
94896 done
94897 test ! -n "$as_dirs" || mkdir $as_dirs
94898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
94899 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
94900 { (exit 1); exit 1; }; }; }
94902 ac_builddir=.
94904 if test "$ac_dir" != .; then
94905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
94906 # A "../" for each directory in $ac_dir_suffix.
94907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
94908 else
94909 ac_dir_suffix= ac_top_builddir=
94912 case $srcdir in
94913 .) # No --srcdir option. We are building in place.
94914 ac_srcdir=.
94915 if test -z "$ac_top_builddir"; then
94916 ac_top_srcdir=.
94917 else
94918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
94919 fi ;;
94920 [\\/]* | ?:[\\/]* ) # Absolute path.
94921 ac_srcdir=$srcdir$ac_dir_suffix;
94922 ac_top_srcdir=$srcdir ;;
94923 *) # Relative path.
94924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
94925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
94926 esac
94928 # Do not use `cd foo && pwd` to compute absolute paths, because
94929 # the directories may not exist.
94930 case `pwd` in
94931 .) ac_abs_builddir="$ac_dir";;
94933 case "$ac_dir" in
94934 .) ac_abs_builddir=`pwd`;;
94935 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
94936 *) ac_abs_builddir=`pwd`/"$ac_dir";;
94937 esac;;
94938 esac
94939 case $ac_abs_builddir in
94940 .) ac_abs_top_builddir=${ac_top_builddir}.;;
94942 case ${ac_top_builddir}. in
94943 .) ac_abs_top_builddir=$ac_abs_builddir;;
94944 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
94945 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
94946 esac;;
94947 esac
94948 case $ac_abs_builddir in
94949 .) ac_abs_srcdir=$ac_srcdir;;
94951 case $ac_srcdir in
94952 .) ac_abs_srcdir=$ac_abs_builddir;;
94953 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
94954 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
94955 esac;;
94956 esac
94957 case $ac_abs_builddir in
94958 .) ac_abs_top_srcdir=$ac_top_srcdir;;
94960 case $ac_top_srcdir in
94961 .) ac_abs_top_srcdir=$ac_abs_builddir;;
94962 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
94963 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
94964 esac;;
94965 esac
94968 case $INSTALL in
94969 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
94970 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
94971 esac
94973 if test x"$ac_file" != x-; then
94974 { echo "$as_me:$LINENO: creating $ac_file" >&5
94975 echo "$as_me: creating $ac_file" >&6;}
94976 rm -f "$ac_file"
94978 # Let's still pretend it is `configure' which instantiates (i.e., don't
94979 # use $as_me), people would be surprised to read:
94980 # /* config.h. Generated by config.status. */
94981 if test x"$ac_file" = x-; then
94982 configure_input=
94983 else
94984 configure_input="$ac_file. "
94986 configure_input=$configure_input"Generated from `echo $ac_file_in |
94987 sed 's,.*/,,'` by configure."
94989 # First look for the input files in the build tree, otherwise in the
94990 # src tree.
94991 ac_file_inputs=`IFS=:
94992 for f in $ac_file_in; do
94993 case $f in
94994 -) echo $tmp/stdin ;;
94995 [\\/$]*)
94996 # Absolute (can't be DOS-style, as IFS=:)
94997 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
94998 echo "$as_me: error: cannot find input file: $f" >&2;}
94999 { (exit 1); exit 1; }; }
95000 echo "$f";;
95001 *) # Relative
95002 if test -f "$f"; then
95003 # Build tree
95004 echo "$f"
95005 elif test -f "$srcdir/$f"; then
95006 # Source tree
95007 echo "$srcdir/$f"
95008 else
95009 # /dev/null tree
95010 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95011 echo "$as_me: error: cannot find input file: $f" >&2;}
95012 { (exit 1); exit 1; }; }
95013 fi;;
95014 esac
95015 done` || { (exit 1); exit 1; }
95016 _ACEOF
95017 cat >>$CONFIG_STATUS <<_ACEOF
95018 sed "$ac_vpsub
95019 $extrasub
95020 _ACEOF
95021 cat >>$CONFIG_STATUS <<\_ACEOF
95023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95024 s,@configure_input@,$configure_input,;t t
95025 s,@srcdir@,$ac_srcdir,;t t
95026 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95027 s,@top_srcdir@,$ac_top_srcdir,;t t
95028 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95029 s,@builddir@,$ac_builddir,;t t
95030 s,@abs_builddir@,$ac_abs_builddir,;t t
95031 s,@top_builddir@,$ac_top_builddir,;t t
95032 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95033 s,@INSTALL@,$ac_INSTALL,;t t
95034 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95035 rm -f $tmp/stdin
95036 if test x"$ac_file" != x-; then
95037 mv $tmp/out $ac_file
95038 else
95039 cat $tmp/out
95040 rm -f $tmp/out
95043 # Run the commands associated with the file.
95044 case $ac_file in
95045 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95046 esac
95047 done
95048 _ACEOF
95049 cat >>$CONFIG_STATUS <<\_ACEOF
95052 # CONFIG_HEADER section.
95055 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95056 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95058 # ac_d sets the value in "#define NAME VALUE" lines.
95059 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95060 ac_dB='[ ].*$,\1#\2'
95061 ac_dC=' '
95062 ac_dD=',;t'
95063 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95064 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95065 ac_uB='$,\1#\2define\3'
95066 ac_uC=' '
95067 ac_uD=',;t'
95069 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95070 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95071 case $ac_file in
95072 - | *:- | *:-:* ) # input from stdin
95073 cat >$tmp/stdin
95074 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95075 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95076 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95077 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95078 * ) ac_file_in=$ac_file.in ;;
95079 esac
95081 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95082 echo "$as_me: creating $ac_file" >&6;}
95084 # First look for the input files in the build tree, otherwise in the
95085 # src tree.
95086 ac_file_inputs=`IFS=:
95087 for f in $ac_file_in; do
95088 case $f in
95089 -) echo $tmp/stdin ;;
95090 [\\/$]*)
95091 # Absolute (can't be DOS-style, as IFS=:)
95092 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95093 echo "$as_me: error: cannot find input file: $f" >&2;}
95094 { (exit 1); exit 1; }; }
95095 # Do quote $f, to prevent DOS paths from being IFS'd.
95096 echo "$f";;
95097 *) # Relative
95098 if test -f "$f"; then
95099 # Build tree
95100 echo "$f"
95101 elif test -f "$srcdir/$f"; then
95102 # Source tree
95103 echo "$srcdir/$f"
95104 else
95105 # /dev/null tree
95106 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95107 echo "$as_me: error: cannot find input file: $f" >&2;}
95108 { (exit 1); exit 1; }; }
95109 fi;;
95110 esac
95111 done` || { (exit 1); exit 1; }
95112 # Remove the trailing spaces.
95113 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
95115 _ACEOF
95117 # Transform confdefs.h into two sed scripts, `conftest.defines' and
95118 # `conftest.undefs', that substitutes the proper values into
95119 # config.h.in to produce config.h. The first handles `#define'
95120 # templates, and the second `#undef' templates.
95121 # And first: Protect against being on the right side of a sed subst in
95122 # config.status. Protect against being in an unquoted here document
95123 # in config.status.
95124 rm -f conftest.defines conftest.undefs
95125 # Using a here document instead of a string reduces the quoting nightmare.
95126 # Putting comments in sed scripts is not portable.
95128 # `end' is used to avoid that the second main sed command (meant for
95129 # 0-ary CPP macros) applies to n-ary macro definitions.
95130 # See the Autoconf documentation for `clear'.
95131 cat >confdef2sed.sed <<\_ACEOF
95132 s/[\\&,]/\\&/g
95133 s,[\\$`],\\&,g
95134 t clear
95135 : clear
95136 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
95137 t end
95138 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
95139 : end
95140 _ACEOF
95141 # If some macros were called several times there might be several times
95142 # the same #defines, which is useless. Nevertheless, we may not want to
95143 # sort them, since we want the *last* AC-DEFINE to be honored.
95144 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
95145 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
95146 rm -f confdef2sed.sed
95148 # This sed command replaces #undef with comments. This is necessary, for
95149 # example, in the case of _POSIX_SOURCE, which is predefined and required
95150 # on some systems where configure will not decide to define it.
95151 cat >>conftest.undefs <<\_ACEOF
95152 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
95153 _ACEOF
95155 # Break up conftest.defines because some shells have a limit on the size
95156 # of here documents, and old seds have small limits too (100 cmds).
95157 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
95158 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
95159 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
95160 echo ' :' >>$CONFIG_STATUS
95161 rm -f conftest.tail
95162 while grep . conftest.defines >/dev/null
95164 # Write a limited-size here document to $tmp/defines.sed.
95165 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
95166 # Speed up: don't consider the non `#define' lines.
95167 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
95168 # Work around the forget-to-reset-the-flag bug.
95169 echo 't clr' >>$CONFIG_STATUS
95170 echo ': clr' >>$CONFIG_STATUS
95171 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
95172 echo 'CEOF
95173 sed -f $tmp/defines.sed $tmp/in >$tmp/out
95174 rm -f $tmp/in
95175 mv $tmp/out $tmp/in
95176 ' >>$CONFIG_STATUS
95177 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
95178 rm -f conftest.defines
95179 mv conftest.tail conftest.defines
95180 done
95181 rm -f conftest.defines
95182 echo ' fi # grep' >>$CONFIG_STATUS
95183 echo >>$CONFIG_STATUS
95185 # Break up conftest.undefs because some shells have a limit on the size
95186 # of here documents, and old seds have small limits too (100 cmds).
95187 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
95188 rm -f conftest.tail
95189 while grep . conftest.undefs >/dev/null
95191 # Write a limited-size here document to $tmp/undefs.sed.
95192 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
95193 # Speed up: don't consider the non `#undef'
95194 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
95195 # Work around the forget-to-reset-the-flag bug.
95196 echo 't clr' >>$CONFIG_STATUS
95197 echo ': clr' >>$CONFIG_STATUS
95198 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
95199 echo 'CEOF
95200 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
95201 rm -f $tmp/in
95202 mv $tmp/out $tmp/in
95203 ' >>$CONFIG_STATUS
95204 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
95205 rm -f conftest.undefs
95206 mv conftest.tail conftest.undefs
95207 done
95208 rm -f conftest.undefs
95210 cat >>$CONFIG_STATUS <<\_ACEOF
95211 # Let's still pretend it is `configure' which instantiates (i.e., don't
95212 # use $as_me), people would be surprised to read:
95213 # /* config.h. Generated by config.status. */
95214 if test x"$ac_file" = x-; then
95215 echo "/* Generated by configure. */" >$tmp/config.h
95216 else
95217 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
95219 cat $tmp/in >>$tmp/config.h
95220 rm -f $tmp/in
95221 if test x"$ac_file" != x-; then
95222 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
95223 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
95224 echo "$as_me: $ac_file is unchanged" >&6;}
95225 else
95226 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95228 X"$ac_file" : 'X\(//\)[^/]' \| \
95229 X"$ac_file" : 'X\(//\)$' \| \
95230 X"$ac_file" : 'X\(/\)' \| \
95231 . : '\(.\)' 2>/dev/null ||
95232 echo X"$ac_file" |
95233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95235 /^X\(\/\/\)$/{ s//\1/; q; }
95236 /^X\(\/\).*/{ s//\1/; q; }
95237 s/.*/./; q'`
95238 { if $as_mkdir_p; then
95239 mkdir -p "$ac_dir"
95240 else
95241 as_dir="$ac_dir"
95242 as_dirs=
95243 while test ! -d "$as_dir"; do
95244 as_dirs="$as_dir $as_dirs"
95245 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95247 X"$as_dir" : 'X\(//\)[^/]' \| \
95248 X"$as_dir" : 'X\(//\)$' \| \
95249 X"$as_dir" : 'X\(/\)' \| \
95250 . : '\(.\)' 2>/dev/null ||
95251 echo X"$as_dir" |
95252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95254 /^X\(\/\/\)$/{ s//\1/; q; }
95255 /^X\(\/\).*/{ s//\1/; q; }
95256 s/.*/./; q'`
95257 done
95258 test ! -n "$as_dirs" || mkdir $as_dirs
95259 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95261 { (exit 1); exit 1; }; }; }
95263 rm -f $ac_file
95264 mv $tmp/config.h $ac_file
95266 else
95267 cat $tmp/config.h
95268 rm -f $tmp/config.h
95270 # Compute $ac_file's index in $config_headers.
95271 _am_stamp_count=1
95272 for _am_header in $config_headers :; do
95273 case $_am_header in
95274 $ac_file | $ac_file:* )
95275 break ;;
95277 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
95278 esac
95279 done
95280 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
95281 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95282 X$ac_file : 'X\(//\)[^/]' \| \
95283 X$ac_file : 'X\(//\)$' \| \
95284 X$ac_file : 'X\(/\)' \| \
95285 . : '\(.\)' 2>/dev/null ||
95286 echo X$ac_file |
95287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95288 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95289 /^X\(\/\/\)$/{ s//\1/; q; }
95290 /^X\(\/\).*/{ s//\1/; q; }
95291 s/.*/./; q'`/stamp-h$_am_stamp_count
95292 done
95293 _ACEOF
95294 cat >>$CONFIG_STATUS <<\_ACEOF
95297 # CONFIG_COMMANDS section.
95299 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
95300 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
95301 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
95302 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
95303 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95304 X"$ac_dest" : 'X\(//\)[^/]' \| \
95305 X"$ac_dest" : 'X\(//\)$' \| \
95306 X"$ac_dest" : 'X\(/\)' \| \
95307 . : '\(.\)' 2>/dev/null ||
95308 echo X"$ac_dest" |
95309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95311 /^X\(\/\/\)$/{ s//\1/; q; }
95312 /^X\(\/\).*/{ s//\1/; q; }
95313 s/.*/./; q'`
95314 { if $as_mkdir_p; then
95315 mkdir -p "$ac_dir"
95316 else
95317 as_dir="$ac_dir"
95318 as_dirs=
95319 while test ! -d "$as_dir"; do
95320 as_dirs="$as_dir $as_dirs"
95321 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95323 X"$as_dir" : 'X\(//\)[^/]' \| \
95324 X"$as_dir" : 'X\(//\)$' \| \
95325 X"$as_dir" : 'X\(/\)' \| \
95326 . : '\(.\)' 2>/dev/null ||
95327 echo X"$as_dir" |
95328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95330 /^X\(\/\/\)$/{ s//\1/; q; }
95331 /^X\(\/\).*/{ s//\1/; q; }
95332 s/.*/./; q'`
95333 done
95334 test ! -n "$as_dirs" || mkdir $as_dirs
95335 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95336 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95337 { (exit 1); exit 1; }; }; }
95339 ac_builddir=.
95341 if test "$ac_dir" != .; then
95342 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95343 # A "../" for each directory in $ac_dir_suffix.
95344 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95345 else
95346 ac_dir_suffix= ac_top_builddir=
95349 case $srcdir in
95350 .) # No --srcdir option. We are building in place.
95351 ac_srcdir=.
95352 if test -z "$ac_top_builddir"; then
95353 ac_top_srcdir=.
95354 else
95355 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95356 fi ;;
95357 [\\/]* | ?:[\\/]* ) # Absolute path.
95358 ac_srcdir=$srcdir$ac_dir_suffix;
95359 ac_top_srcdir=$srcdir ;;
95360 *) # Relative path.
95361 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95362 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95363 esac
95365 # Do not use `cd foo && pwd` to compute absolute paths, because
95366 # the directories may not exist.
95367 case `pwd` in
95368 .) ac_abs_builddir="$ac_dir";;
95370 case "$ac_dir" in
95371 .) ac_abs_builddir=`pwd`;;
95372 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95373 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95374 esac;;
95375 esac
95376 case $ac_abs_builddir in
95377 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95379 case ${ac_top_builddir}. in
95380 .) ac_abs_top_builddir=$ac_abs_builddir;;
95381 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95382 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95383 esac;;
95384 esac
95385 case $ac_abs_builddir in
95386 .) ac_abs_srcdir=$ac_srcdir;;
95388 case $ac_srcdir in
95389 .) ac_abs_srcdir=$ac_abs_builddir;;
95390 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95391 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95392 esac;;
95393 esac
95394 case $ac_abs_builddir in
95395 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95397 case $ac_top_srcdir in
95398 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95399 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95400 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95401 esac;;
95402 esac
95405 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
95406 echo "$as_me: executing $ac_dest commands" >&6;}
95407 case $ac_dest in
95408 default-1 )
95409 # Only add multilib support code if we just rebuilt the top-level
95410 # Makefile.
95411 case " $CONFIG_FILES " in
95412 *" Makefile "*)
95413 ac_file=Makefile . ${multi_basedir}/config-ml.in
95415 esac ;;
95416 libtool )
95418 # See if we are running on zsh, and set the options which allow our
95419 # commands through without removal of \ escapes.
95420 if test -n "${ZSH_VERSION+set}" ; then
95421 setopt NO_GLOB_SUBST
95424 cfgfile="${ofile}T"
95425 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
95426 $RM "$cfgfile"
95428 cat <<_LT_EOF >> "$cfgfile"
95429 #! $SHELL
95431 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
95432 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
95433 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
95434 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
95436 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
95437 # 2006, 2007 Free Software Foundation, Inc.
95439 # This file is part of GNU Libtool:
95440 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
95442 # This program is free software; you can redistribute it and/or modify
95443 # it under the terms of the GNU General Public License as published by
95444 # the Free Software Foundation; either version 2 of the License, or
95445 # (at your option) any later version.
95447 # This program is distributed in the hope that it will be useful, but
95448 # WITHOUT ANY WARRANTY; without even the implied warranty of
95449 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
95450 # General Public License for more details.
95452 # You should have received a copy of the GNU General Public License
95453 # along with this program; if not, a copy can be downloaded from
95454 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
95455 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
95456 # MA 02110-1301, USA.
95458 # As a special exception to the GNU General Public License, if you
95459 # distribute this file as part of a program that contains a
95460 # configuration script generated by Autoconf, you may include it under
95461 # the same distribution terms that you use for the rest of that program.
95464 # The names of the tagged configurations supported by this script.
95465 available_tags="CXX "
95467 # ### BEGIN LIBTOOL CONFIG
95469 # Which release of libtool.m4 was used?
95470 macro_version=$macro_version
95471 macro_revision=$macro_revision
95473 # Whether or not to build shared libraries.
95474 build_libtool_libs=$enable_shared
95476 # Whether or not to build static libraries.
95477 build_old_libs=$enable_static
95479 # What type of objects to build.
95480 pic_mode=$pic_mode
95482 # Whether or not to optimize for fast installation.
95483 fast_install=$enable_fast_install
95485 # The host system.
95486 host_alias=$host_alias
95487 host=$host
95488 host_os=$host_os
95490 # The build system.
95491 build_alias=$build_alias
95492 build=$build
95493 build_os=$build_os
95495 # A sed program that does not truncate output.
95496 SED=$lt_SED
95498 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
95499 Xsed="\$SED -e 1s/^X//"
95501 # A grep program that handles long lines.
95502 GREP=$lt_GREP
95504 # An ERE matcher.
95505 EGREP=$lt_EGREP
95507 # A literal string matcher.
95508 FGREP=$lt_FGREP
95510 # A BSD- or MS-compatible name lister.
95511 NM=$lt_NM
95513 # Whether we need soft or hard links.
95514 LN_S=$lt_LN_S
95516 # What is the maximum length of a command?
95517 max_cmd_len=$max_cmd_len
95519 # Object file suffix (normally "o").
95520 objext=$ac_objext
95522 # Executable file suffix (normally "").
95523 exeext=$exeext
95525 # whether the shell understands "unset".
95526 lt_unset=$lt_unset
95528 # turn spaces into newlines.
95529 SP2NL=$lt_lt_SP2NL
95531 # turn newlines into spaces.
95532 NL2SP=$lt_lt_NL2SP
95534 # How to create reloadable object files.
95535 reload_flag=$lt_reload_flag
95536 reload_cmds=$lt_reload_cmds
95538 # Method to check whether dependent libraries are shared objects.
95539 deplibs_check_method=$lt_deplibs_check_method
95541 # Command to use when deplibs_check_method == "file_magic".
95542 file_magic_cmd=$lt_file_magic_cmd
95544 # The archiver.
95545 AR=$lt_AR
95546 AR_FLAGS=$lt_AR_FLAGS
95548 # A symbol stripping program.
95549 STRIP=$lt_STRIP
95551 # Commands used to install an old-style archive.
95552 RANLIB=$lt_RANLIB
95553 old_postinstall_cmds=$lt_old_postinstall_cmds
95554 old_postuninstall_cmds=$lt_old_postuninstall_cmds
95556 # A C compiler.
95557 LTCC=$lt_CC
95559 # LTCC compiler flags.
95560 LTCFLAGS=$lt_CFLAGS
95562 # Take the output of nm and produce a listing of raw symbols and C names.
95563 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
95565 # Transform the output of nm in a proper C declaration.
95566 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
95568 # Transform the output of nm in a C name address pair.
95569 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
95571 # The name of the directory that contains temporary libtool files.
95572 objdir=$objdir
95574 # Shell to use when invoking shell scripts.
95575 SHELL=$lt_SHELL
95577 # An echo program that does not interpret backslashes.
95578 ECHO=$lt_ECHO
95580 # Used to examine libraries when file_magic_cmd begins with "file".
95581 MAGIC_CMD=$MAGIC_CMD
95583 # Must we lock files when doing compilation?
95584 need_locks=$lt_need_locks
95586 # Old archive suffix (normally "a").
95587 libext=$libext
95589 # Shared library suffix (normally ".so").
95590 shrext_cmds=$lt_shrext_cmds
95592 # The commands to extract the exported symbol list from a shared archive.
95593 extract_expsyms_cmds=$lt_extract_expsyms_cmds
95595 # Variables whose values should be saved in libtool wrapper scripts and
95596 # restored at link time.
95597 variables_saved_for_relink=$lt_variables_saved_for_relink
95599 # Do we need the "lib" prefix for modules?
95600 need_lib_prefix=$need_lib_prefix
95602 # Do we need a version for libraries?
95603 need_version=$need_version
95605 # Library versioning type.
95606 version_type=$version_type
95608 # Shared library runtime path variable.
95609 runpath_var=$runpath_var
95611 # Shared library path variable.
95612 shlibpath_var=$shlibpath_var
95614 # Is shlibpath searched before the hard-coded library search path?
95615 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
95617 # Format of library name prefix.
95618 libname_spec=$lt_libname_spec
95620 # List of archive names. First name is the real one, the rest are links.
95621 # The last name is the one that the linker finds with -lNAME
95622 library_names_spec=$lt_library_names_spec
95624 # The coded name of the library, if different from the real name.
95625 soname_spec=$lt_soname_spec
95627 # Command to use after installation of a shared archive.
95628 postinstall_cmds=$lt_postinstall_cmds
95630 # Command to use after uninstallation of a shared archive.
95631 postuninstall_cmds=$lt_postuninstall_cmds
95633 # Commands used to finish a libtool library installation in a directory.
95634 finish_cmds=$lt_finish_cmds
95636 # As "finish_cmds", except a single script fragment to be evaled but
95637 # not shown.
95638 finish_eval=$lt_finish_eval
95640 # Whether we should hardcode library paths into libraries.
95641 hardcode_into_libs=$hardcode_into_libs
95643 # Compile-time system search path for libraries.
95644 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
95646 # Run-time system search path for libraries.
95647 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
95649 # Whether dlopen is supported.
95650 dlopen_support=$enable_dlopen
95652 # Whether dlopen of programs is supported.
95653 dlopen_self=$enable_dlopen_self
95655 # Whether dlopen of statically linked programs is supported.
95656 dlopen_self_static=$enable_dlopen_self_static
95658 # Commands to strip libraries.
95659 old_striplib=$lt_old_striplib
95660 striplib=$lt_striplib
95663 # The linker used to build libraries.
95664 LD=$lt_LD
95666 # Commands used to build an old-style archive.
95667 old_archive_cmds=$lt_old_archive_cmds
95669 # A language specific compiler.
95670 CC=$lt_compiler
95672 # Is the compiler the GNU compiler?
95673 with_gcc=$GCC
95675 # Compiler flag to turn off builtin functions.
95676 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
95678 # How to pass a linker flag through the compiler.
95679 wl=$lt_lt_prog_compiler_wl
95681 # Additional compiler flags for building library objects.
95682 pic_flag=$lt_lt_prog_compiler_pic
95684 # Compiler flag to prevent dynamic linking.
95685 link_static_flag=$lt_lt_prog_compiler_static
95687 # Does compiler simultaneously support -c and -o options?
95688 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
95690 # Whether or not to add -lc for building shared libraries.
95691 build_libtool_need_lc=$archive_cmds_need_lc
95693 # Whether or not to disallow shared libs when runtime libs are static.
95694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
95696 # Compiler flag to allow reflexive dlopens.
95697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
95699 # Compiler flag to generate shared objects directly from archives.
95700 whole_archive_flag_spec=$lt_whole_archive_flag_spec
95702 # Whether the compiler copes with passing no objects directly.
95703 compiler_needs_object=$lt_compiler_needs_object
95705 # Create an old-style archive from a shared archive.
95706 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
95708 # Create a temporary old-style archive to link instead of a shared archive.
95709 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
95711 # Commands used to build a shared archive.
95712 archive_cmds=$lt_archive_cmds
95713 archive_expsym_cmds=$lt_archive_expsym_cmds
95715 # Commands used to build a loadable module if different from building
95716 # a shared archive.
95717 module_cmds=$lt_module_cmds
95718 module_expsym_cmds=$lt_module_expsym_cmds
95720 # Whether we are building with GNU ld or not.
95721 with_gnu_ld=$lt_with_gnu_ld
95723 # Flag that allows shared libraries with undefined symbols to be built.
95724 allow_undefined_flag=$lt_allow_undefined_flag
95726 # Flag that enforces no undefined symbols.
95727 no_undefined_flag=$lt_no_undefined_flag
95729 # Flag to hardcode \$libdir into a binary during linking.
95730 # This must work even if \$libdir does not exist
95731 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
95733 # If ld is used when linking, flag to hardcode \$libdir into a binary
95734 # during linking. This must work even if \$libdir does not exist.
95735 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
95737 # Whether we need a single "-rpath" flag with a separated argument.
95738 hardcode_libdir_separator=$lt_hardcode_libdir_separator
95740 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95741 # DIR into the resulting binary.
95742 hardcode_direct=$hardcode_direct
95744 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
95745 # DIR into the resulting binary and the resulting library dependency is
95746 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
95747 # library is relocated.
95748 hardcode_direct_absolute=$hardcode_direct_absolute
95750 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
95751 # into the resulting binary.
95752 hardcode_minus_L=$hardcode_minus_L
95754 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
95755 # into the resulting binary.
95756 hardcode_shlibpath_var=$hardcode_shlibpath_var
95758 # Set to "yes" if building a shared library automatically hardcodes DIR
95759 # into the library and all subsequent libraries and executables linked
95760 # against it.
95761 hardcode_automatic=$hardcode_automatic
95763 # Set to yes if linker adds runtime paths of dependent libraries
95764 # to runtime path list.
95765 inherit_rpath=$inherit_rpath
95767 # Whether libtool must link a program against all its dependency libraries.
95768 link_all_deplibs=$link_all_deplibs
95770 # Fix the shell variable \$srcfile for the compiler.
95771 fix_srcfile_path=$lt_fix_srcfile_path
95773 # Set to "yes" if exported symbols are required.
95774 always_export_symbols=$always_export_symbols
95776 # The commands to list exported symbols.
95777 export_symbols_cmds=$lt_export_symbols_cmds
95779 # Symbols that should not be listed in the preloaded symbols.
95780 exclude_expsyms=$lt_exclude_expsyms
95782 # Symbols that must always be exported.
95783 include_expsyms=$lt_include_expsyms
95785 # Commands necessary for linking programs (against libraries) with templates.
95786 prelink_cmds=$lt_prelink_cmds
95788 # Specify filename containing input files.
95789 file_list_spec=$lt_file_list_spec
95791 # How to hardcode a shared library path into an executable.
95792 hardcode_action=$hardcode_action
95794 # Dependencies to place before and after the objects being linked to
95795 # create a shared library.
95796 predep_objects=$lt_predep_objects
95797 postdep_objects=$lt_postdep_objects
95798 predeps=$lt_predeps
95799 postdeps=$lt_postdeps
95801 # The library search path used internally by the compiler when linking
95802 # a shared library.
95803 compiler_lib_search_path=$lt_compiler_lib_search_path
95805 # ### END LIBTOOL CONFIG
95807 _LT_EOF
95809 case $host_os in
95810 aix3*)
95811 cat <<\_LT_EOF >> "$cfgfile"
95812 # AIX sometimes has problems with the GCC collect2 program. For some
95813 # reason, if we set the COLLECT_NAMES environment variable, the problems
95814 # vanish in a puff of smoke.
95815 if test "X${COLLECT_NAMES+set}" != Xset; then
95816 COLLECT_NAMES=
95817 export COLLECT_NAMES
95819 _LT_EOF
95821 esac
95824 ltmain="$ac_aux_dir/ltmain.sh"
95827 # We use sed instead of cat because bash on DJGPP gets confused if
95828 # if finds mixed CR/LF and LF-only lines. Since sed operates in
95829 # text mode, it properly converts lines to CR/LF. This bash problem
95830 # is reportedly fixed, but why not run on old versions too?
95831 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
95832 || (rm -f "$cfgfile"; exit 1)
95834 case $xsi_shell in
95835 yes)
95836 cat << \_LT_EOF >> "$cfgfile"
95837 # func_dirname file append nondir_replacement
95838 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95839 # otherwise set result to NONDIR_REPLACEMENT.
95840 func_dirname ()
95842 case ${1} in
95843 */*) func_dirname_result="${1%/*}${2}" ;;
95844 * ) func_dirname_result="${3}" ;;
95845 esac
95848 # func_basename file
95849 func_basename ()
95851 func_basename_result="${1##*/}"
95854 # func_stripname prefix suffix name
95855 # strip PREFIX and SUFFIX off of NAME.
95856 # PREFIX and SUFFIX must not contain globbing or regex special
95857 # characters, hashes, percent signs, but SUFFIX may contain a leading
95858 # dot (in which case that matches only a dot).
95859 func_stripname ()
95861 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
95862 # positional parameters, so assign one to ordinary parameter first.
95863 func_stripname_result=${3}
95864 func_stripname_result=${func_stripname_result#"${1}"}
95865 func_stripname_result=${func_stripname_result%"${2}"}
95868 # func_opt_split
95869 func_opt_split ()
95871 func_opt_split_opt=${1%%=*}
95872 func_opt_split_arg=${1#*=}
95875 # func_lo2o object
95876 func_lo2o ()
95878 case ${1} in
95879 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
95880 *) func_lo2o_result=${1} ;;
95881 esac
95883 _LT_EOF
95885 *) # Bourne compatible functions.
95886 cat << \_LT_EOF >> "$cfgfile"
95887 # func_dirname file append nondir_replacement
95888 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
95889 # otherwise set result to NONDIR_REPLACEMENT.
95890 func_dirname ()
95892 # Extract subdirectory from the argument.
95893 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
95894 if test "X$func_dirname_result" = "X${1}"; then
95895 func_dirname_result="${3}"
95896 else
95897 func_dirname_result="$func_dirname_result${2}"
95901 # func_basename file
95902 func_basename ()
95904 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
95907 # func_stripname prefix suffix name
95908 # strip PREFIX and SUFFIX off of NAME.
95909 # PREFIX and SUFFIX must not contain globbing or regex special
95910 # characters, hashes, percent signs, but SUFFIX may contain a leading
95911 # dot (in which case that matches only a dot).
95912 # func_strip_suffix prefix name
95913 func_stripname ()
95915 case ${2} in
95916 .*) func_stripname_result=`$ECHO "X${3}" \
95917 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
95918 *) func_stripname_result=`$ECHO "X${3}" \
95919 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
95920 esac
95923 # sed scripts:
95924 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
95925 my_sed_long_arg='1s/^-[^=]*=//'
95927 # func_opt_split
95928 func_opt_split ()
95930 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
95931 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
95934 # func_lo2o object
95935 func_lo2o ()
95937 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
95939 _LT_EOF
95940 esac
95942 case $lt_shell_append in
95943 yes)
95944 cat << \_LT_EOF >> "$cfgfile"
95946 # func_append var value
95947 # Append VALUE to the end of shell variable VAR.
95948 func_append ()
95950 eval "$1+=\$2"
95952 _LT_EOF
95955 cat << \_LT_EOF >> "$cfgfile"
95957 # func_append var value
95958 # Append VALUE to the end of shell variable VAR.
95959 func_append ()
95961 eval "$1=\$$1\$2"
95963 _LT_EOF
95965 esac
95968 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
95969 || (rm -f "$cfgfile"; exit 1)
95971 mv -f "$cfgfile" "$ofile" ||
95972 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
95973 chmod +x "$ofile"
95976 cat <<_LT_EOF >> "$ofile"
95978 # ### BEGIN LIBTOOL TAG CONFIG: CXX
95980 # The linker used to build libraries.
95981 LD=$lt_LD_CXX
95983 # Commands used to build an old-style archive.
95984 old_archive_cmds=$lt_old_archive_cmds_CXX
95986 # A language specific compiler.
95987 CC=$lt_compiler_CXX
95989 # Is the compiler the GNU compiler?
95990 with_gcc=$GCC_CXX
95992 # Compiler flag to turn off builtin functions.
95993 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
95995 # How to pass a linker flag through the compiler.
95996 wl=$lt_lt_prog_compiler_wl_CXX
95998 # Additional compiler flags for building library objects.
95999 pic_flag=$lt_lt_prog_compiler_pic_CXX
96001 # Compiler flag to prevent dynamic linking.
96002 link_static_flag=$lt_lt_prog_compiler_static_CXX
96004 # Does compiler simultaneously support -c and -o options?
96005 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
96007 # Whether or not to add -lc for building shared libraries.
96008 build_libtool_need_lc=$archive_cmds_need_lc_CXX
96010 # Whether or not to disallow shared libs when runtime libs are static.
96011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
96013 # Compiler flag to allow reflexive dlopens.
96014 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
96016 # Compiler flag to generate shared objects directly from archives.
96017 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
96019 # Whether the compiler copes with passing no objects directly.
96020 compiler_needs_object=$lt_compiler_needs_object_CXX
96022 # Create an old-style archive from a shared archive.
96023 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
96025 # Create a temporary old-style archive to link instead of a shared archive.
96026 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
96028 # Commands used to build a shared archive.
96029 archive_cmds=$lt_archive_cmds_CXX
96030 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
96032 # Commands used to build a loadable module if different from building
96033 # a shared archive.
96034 module_cmds=$lt_module_cmds_CXX
96035 module_expsym_cmds=$lt_module_expsym_cmds_CXX
96037 # Whether we are building with GNU ld or not.
96038 with_gnu_ld=$lt_with_gnu_ld_CXX
96040 # Flag that allows shared libraries with undefined symbols to be built.
96041 allow_undefined_flag=$lt_allow_undefined_flag_CXX
96043 # Flag that enforces no undefined symbols.
96044 no_undefined_flag=$lt_no_undefined_flag_CXX
96046 # Flag to hardcode \$libdir into a binary during linking.
96047 # This must work even if \$libdir does not exist
96048 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
96050 # If ld is used when linking, flag to hardcode \$libdir into a binary
96051 # during linking. This must work even if \$libdir does not exist.
96052 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
96054 # Whether we need a single "-rpath" flag with a separated argument.
96055 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
96057 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96058 # DIR into the resulting binary.
96059 hardcode_direct=$hardcode_direct_CXX
96061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
96062 # DIR into the resulting binary and the resulting library dependency is
96063 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
96064 # library is relocated.
96065 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
96067 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
96068 # into the resulting binary.
96069 hardcode_minus_L=$hardcode_minus_L_CXX
96071 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
96072 # into the resulting binary.
96073 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
96075 # Set to "yes" if building a shared library automatically hardcodes DIR
96076 # into the library and all subsequent libraries and executables linked
96077 # against it.
96078 hardcode_automatic=$hardcode_automatic_CXX
96080 # Set to yes if linker adds runtime paths of dependent libraries
96081 # to runtime path list.
96082 inherit_rpath=$inherit_rpath_CXX
96084 # Whether libtool must link a program against all its dependency libraries.
96085 link_all_deplibs=$link_all_deplibs_CXX
96087 # Fix the shell variable \$srcfile for the compiler.
96088 fix_srcfile_path=$lt_fix_srcfile_path_CXX
96090 # Set to "yes" if exported symbols are required.
96091 always_export_symbols=$always_export_symbols_CXX
96093 # The commands to list exported symbols.
96094 export_symbols_cmds=$lt_export_symbols_cmds_CXX
96096 # Symbols that should not be listed in the preloaded symbols.
96097 exclude_expsyms=$lt_exclude_expsyms_CXX
96099 # Symbols that must always be exported.
96100 include_expsyms=$lt_include_expsyms_CXX
96102 # Commands necessary for linking programs (against libraries) with templates.
96103 prelink_cmds=$lt_prelink_cmds_CXX
96105 # Specify filename containing input files.
96106 file_list_spec=$lt_file_list_spec_CXX
96108 # How to hardcode a shared library path into an executable.
96109 hardcode_action=$hardcode_action_CXX
96111 # Dependencies to place before and after the objects being linked to
96112 # create a shared library.
96113 predep_objects=$lt_predep_objects_CXX
96114 postdep_objects=$lt_postdep_objects_CXX
96115 predeps=$lt_predeps_CXX
96116 postdeps=$lt_postdeps_CXX
96118 # The library search path used internally by the compiler when linking
96119 # a shared library.
96120 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
96122 # ### END LIBTOOL TAG CONFIG: CXX
96123 _LT_EOF
96126 default ) if test -n "$CONFIG_FILES"; then
96127 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96128 # that multilib installs will end up installed in the correct place.
96129 # The testsuite needs it for multilib-aware ABI baseline files.
96130 # To work around this not being passed down from config-ml.in ->
96131 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96132 # append it here. Only modify Makefiles that have just been created.
96134 # Also, get rid of this simulated-VPATH thing that automake does.
96135 cat > vpsed << \_EOF
96136 s!`test -f '$<' || echo '$(srcdir)/'`!!
96137 _EOF
96138 for i in $SUBDIRS; do
96139 case $CONFIG_FILES in
96140 *${i}/Makefile*)
96141 #echo "Adding MULTISUBDIR to $i/Makefile"
96142 sed -f vpsed $i/Makefile > tmp
96143 grep '^MULTISUBDIR =' Makefile >> tmp
96144 mv tmp $i/Makefile
96146 esac
96147 done
96148 rm vpsed
96150 (cd include && ${MAKE-make})
96152 esac
96153 done
96154 _ACEOF
96156 cat >>$CONFIG_STATUS <<\_ACEOF
96158 { (exit 0); exit 0; }
96159 _ACEOF
96160 chmod +x $CONFIG_STATUS
96161 ac_clean_files=$ac_clean_files_save
96164 # configure is writing to config.log, and then calls config.status.
96165 # config.status does its own redirection, appending to config.log.
96166 # Unfortunately, on DOS this fails, as config.log is still kept open
96167 # by configure, so config.status won't be able to write to it; its
96168 # output is simply discarded. So we exec the FD to /dev/null,
96169 # effectively closing config.log, so it can be properly (re)opened and
96170 # appended to by config.status. When coming back to configure, we
96171 # need to make the FD available again.
96172 if test "$no_create" != yes; then
96173 ac_cs_success=:
96174 ac_config_status_args=
96175 test "$silent" = yes &&
96176 ac_config_status_args="$ac_config_status_args --quiet"
96177 exec 5>/dev/null
96178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96179 exec 5>>config.log
96180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96181 # would make configure fail if this is the last instruction.
96182 $ac_cs_success || { (exit 1); exit 1; }